diff --git a/examples/typescript-us-core/README.md b/examples/typescript-us-core/README.md index 6b2c6d528..13de17e44 100644 --- a/examples/typescript-us-core/README.md +++ b/examples/typescript-us-core/README.md @@ -6,7 +6,7 @@ US Core FHIR profile generation with type-safe profile wrapper classes. This example demonstrates how to generate TypeScript types for the HL7 US Core Implementation Guide, including generated profile classes that provide a fluent API for working with extensions and slices. It includes: -- Full US Core 8.0.1 type definitions +- US Core 8.0.1 type definitions (tree-shaken to Patient, Blood Pressure, and Body Weight) - Profile wrapper classes for type-safe extension handling - Automatic discriminator application for slices - Flat API for complex extensions (race, ethnicity, etc.) @@ -26,6 +26,15 @@ This will output to `./examples/typescript-us-core/fhir-types/` Edit `generate.ts` to customize: ```typescript +.typeSchema({ + treeShake: { + "hl7.fhir.us.core": { + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient": {}, + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-blood-pressure": {}, + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-body-weight": {}, + }, + }, +}) .typescript({ withDebugComment: false, // Include generation metadata generateProfile: true, // Generate profile wrapper classes @@ -33,6 +42,8 @@ Edit `generate.ts` to customize: }) ``` +Tree shaking keeps only the specified profiles and their transitive dependencies, significantly reducing the generated output. + ## Using Profile Classes ### US Core Patient with Extensions @@ -167,10 +178,10 @@ typescript-us-core/ ├── multi-profile.test.ts # Profile tests ├── tsconfig.json # TypeScript config ├── fhir-types/ # Generated types (after generation) -│ ├── hl7-fhir-r4-core/ # FHIR R4 core resources +│ ├── hl7-fhir-r4-core/ # FHIR R4 core types (tree-shaken dependencies) │ ├── hl7-fhir-us-core/ # US Core profiles -│ │ └── profiles/ # Profile wrapper classes -│ └── index.ts # Main exports +│ │ └── profiles/ # Profile wrapper classes (Patient, BP, BodyWeight) +│ └── profile-helpers.ts # Runtime helpers for profile classes └── type-tree.yaml # Dependency tree (debug output) ``` diff --git a/examples/typescript-us-core/fhir-types/README.md b/examples/typescript-us-core/fhir-types/README.md new file mode 100644 index 000000000..f1c6fa652 --- /dev/null +++ b/examples/typescript-us-core/fhir-types/README.md @@ -0,0 +1,5594 @@ +# IR Report + +## Skipped Packages + +- hl7.fhir.uv.extensions.r4 +- hl7.terminology.r4 +- hl7.fhir.r5.core +- hl7.terminology.r5 +- hl7.fhir.uv.extensions +- hl7.terminology +- hl7.fhir.uv.smart-app-launch +- hl7.fhir.r4.examples +- hl7.fhir.uv.sdc +- us.nlm.vsac +- us.cdc.phinvads + +## Package: `hl7.fhir.r4.core` + +### Skipped Canonicals + +- `http://fhir-registry.smarthealthit.org/StructureDefinition/capabilities` +- `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/11179-permitted-value-conceptmap` +- `http://hl7.org/fhir/StructureDefinition/11179-permitted-value-valueset` +- `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/Definition` +- `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/DiagnosticReport-geneticsAnalysis` +- `http://hl7.org/fhir/StructureDefinition/DiagnosticReport-geneticsAssessedCondition` +- `http://hl7.org/fhir/StructureDefinition/DiagnosticReport-geneticsFamilyMemberHistory` +- `http://hl7.org/fhir/StructureDefinition/DiagnosticReport-geneticsReferences` +- `http://hl7.org/fhir/StructureDefinition/DocumentManifest` +- `http://hl7.org/fhir/StructureDefinition/DocumentReference` +- `http://hl7.org/fhir/StructureDefinition/EffectEvidenceSynthesis` +- `http://hl7.org/fhir/StructureDefinition/ElementDefinition` +- `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/Event` +- `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/FiveWs` +- `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/MarketingStatus` +- `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/MetadataResource` +- `http://hl7.org/fhir/StructureDefinition/MolecularSequence` +- `http://hl7.org/fhir/StructureDefinition/MoneyQuantity` +- `http://hl7.org/fhir/StructureDefinition/NamingSystem` +- `http://hl7.org/fhir/StructureDefinition/NutritionOrder` +- `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/PaymentNotice` +- `http://hl7.org/fhir/StructureDefinition/PaymentReconciliation` +- `http://hl7.org/fhir/StructureDefinition/Person` +- `http://hl7.org/fhir/StructureDefinition/PlanDefinition` +- `http://hl7.org/fhir/StructureDefinition/Population` +- `http://hl7.org/fhir/StructureDefinition/Practitioner` +- `http://hl7.org/fhir/StructureDefinition/PractitionerRole` +- `http://hl7.org/fhir/StructureDefinition/Procedure` +- `http://hl7.org/fhir/StructureDefinition/ProdCharacteristic` +- `http://hl7.org/fhir/StructureDefinition/ProductShelfLife` +- `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/Request` +- `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/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/SimpleQuantity` +- `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/SubstanceAmount` +- `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` +- `http://hl7.org/fhir/StructureDefinition/actualgroup` +- `http://hl7.org/fhir/StructureDefinition/allergyintolerance-assertedDate` +- `http://hl7.org/fhir/StructureDefinition/allergyintolerance-certainty` +- `http://hl7.org/fhir/StructureDefinition/allergyintolerance-duration` +- `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/auditevent-Accession` +- `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-MPPS` +- `http://hl7.org/fhir/StructureDefinition/auditevent-NumberOfInstances` +- `http://hl7.org/fhir/StructureDefinition/auditevent-ParticipantObjectContainsStudy` +- `http://hl7.org/fhir/StructureDefinition/auditevent-SOPClass` +- `http://hl7.org/fhir/StructureDefinition/bmi` +- `http://hl7.org/fhir/StructureDefinition/bodySite` +- `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/capabilitystatement-expectation` +- `http://hl7.org/fhir/StructureDefinition/capabilitystatement-prohibited` +- `http://hl7.org/fhir/StructureDefinition/capabilitystatement-search-parameter-combination` +- `http://hl7.org/fhir/StructureDefinition/capabilitystatement-supported-system` +- `http://hl7.org/fhir/StructureDefinition/capabilitystatement-websocket` +- `http://hl7.org/fhir/StructureDefinition/careplan-activity-title` +- `http://hl7.org/fhir/StructureDefinition/catalog` +- `http://hl7.org/fhir/StructureDefinition/cdshooksguidanceresponse` +- `http://hl7.org/fhir/StructureDefinition/cdshooksrequestgroup` +- `http://hl7.org/fhir/StructureDefinition/cdshooksserviceplandefinition` +- `http://hl7.org/fhir/StructureDefinition/cholesterol` +- `http://hl7.org/fhir/StructureDefinition/clinicaldocument` +- `http://hl7.org/fhir/StructureDefinition/codesystem-alternate` +- `http://hl7.org/fhir/StructureDefinition/codesystem-author` +- `http://hl7.org/fhir/StructureDefinition/codesystem-concept-comments` +- `http://hl7.org/fhir/StructureDefinition/codesystem-conceptOrder` +- `http://hl7.org/fhir/StructureDefinition/codesystem-effectiveDate` +- `http://hl7.org/fhir/StructureDefinition/codesystem-expirationDate` +- `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/codesystem-replacedby` +- `http://hl7.org/fhir/StructureDefinition/codesystem-sourceReference` +- `http://hl7.org/fhir/StructureDefinition/codesystem-trusted-expansion` +- `http://hl7.org/fhir/StructureDefinition/codesystem-usage` +- `http://hl7.org/fhir/StructureDefinition/codesystem-warning` +- `http://hl7.org/fhir/StructureDefinition/codesystem-workflowStatus` +- `http://hl7.org/fhir/StructureDefinition/coding-sctdescid` +- `http://hl7.org/fhir/StructureDefinition/communication-media` +- `http://hl7.org/fhir/StructureDefinition/communicationrequest-initiatingLocation` +- `http://hl7.org/fhir/StructureDefinition/composition-clinicaldocument-otherConfidentiality` +- `http://hl7.org/fhir/StructureDefinition/composition-clinicaldocument-versionNumber` +- `http://hl7.org/fhir/StructureDefinition/composition-section-subject` +- `http://hl7.org/fhir/StructureDefinition/computableplandefinition` +- `http://hl7.org/fhir/StructureDefinition/concept-bidirectional` +- `http://hl7.org/fhir/StructureDefinition/condition-assertedDate` +- `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-ruledOut` +- `http://hl7.org/fhir/StructureDefinition/consent-NotificationEndpoint` +- `http://hl7.org/fhir/StructureDefinition/consent-Transcriber` +- `http://hl7.org/fhir/StructureDefinition/consent-Witness` +- `http://hl7.org/fhir/StructureDefinition/consent-location` +- `http://hl7.org/fhir/StructureDefinition/contactpoint-area` +- `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/cqf-calculatedValue` +- `http://hl7.org/fhir/StructureDefinition/cqf-cdsHooksEndpoint` +- `http://hl7.org/fhir/StructureDefinition/cqf-citation` +- `http://hl7.org/fhir/StructureDefinition/cqf-encounterClass` +- `http://hl7.org/fhir/StructureDefinition/cqf-encounterType` +- `http://hl7.org/fhir/StructureDefinition/cqf-expression` +- `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-library` +- `http://hl7.org/fhir/StructureDefinition/cqf-measureInfo` +- `http://hl7.org/fhir/StructureDefinition/cqf-qualityOfEvidence` +- `http://hl7.org/fhir/StructureDefinition/cqf-questionnaire` +- `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/cqf-relativeDateTime` +- `http://hl7.org/fhir/StructureDefinition/cqf-strengthOfRecommendation` +- `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/cqllibrary` +- `http://hl7.org/fhir/StructureDefinition/cqm-ValidityPeriod` +- `http://hl7.org/fhir/StructureDefinition/data-absent-reason` +- `http://hl7.org/fhir/StructureDefinition/designNote` +- `http://hl7.org/fhir/StructureDefinition/device-implantStatus` +- `http://hl7.org/fhir/StructureDefinition/devicemetricobservation` +- `http://hl7.org/fhir/StructureDefinition/devicerequest-patientInstruction` +- `http://hl7.org/fhir/StructureDefinition/diagnosticReport-addendumOf` +- `http://hl7.org/fhir/StructureDefinition/diagnosticReport-extends` +- `http://hl7.org/fhir/StructureDefinition/diagnosticReport-locationPerformed` +- `http://hl7.org/fhir/StructureDefinition/diagnosticReport-replaces` +- `http://hl7.org/fhir/StructureDefinition/diagnosticReport-risk` +- `http://hl7.org/fhir/StructureDefinition/diagnosticReport-summaryOf` +- `http://hl7.org/fhir/StructureDefinition/diagnosticreport-genetics` +- `http://hl7.org/fhir/StructureDefinition/display` +- `http://hl7.org/fhir/StructureDefinition/ehrsrle-auditevent` +- `http://hl7.org/fhir/StructureDefinition/ehrsrle-provenance` +- `http://hl7.org/fhir/StructureDefinition/elementdefinition-allowedUnits` +- `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/elementdefinition-de` +- `http://hl7.org/fhir/StructureDefinition/elementdefinition-equivalence` +- `http://hl7.org/fhir/StructureDefinition/elementdefinition-identifier` +- `http://hl7.org/fhir/StructureDefinition/elementdefinition-inheritedExtensibleValueSet` +- `http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding` +- `http://hl7.org/fhir/StructureDefinition/elementdefinition-maxValueSet` +- `http://hl7.org/fhir/StructureDefinition/elementdefinition-minValueSet` +- `http://hl7.org/fhir/StructureDefinition/elementdefinition-namespace` +- `http://hl7.org/fhir/StructureDefinition/elementdefinition-profile-element` +- `http://hl7.org/fhir/StructureDefinition/elementdefinition-question` +- `http://hl7.org/fhir/StructureDefinition/elementdefinition-selector` +- `http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable` +- `http://hl7.org/fhir/StructureDefinition/encounter-associatedEncounter` +- `http://hl7.org/fhir/StructureDefinition/encounter-modeOfArrival` +- `http://hl7.org/fhir/StructureDefinition/encounter-reasonCancelled` +- `http://hl7.org/fhir/StructureDefinition/entryFormat` +- `http://hl7.org/fhir/StructureDefinition/event-basedOn` +- `http://hl7.org/fhir/StructureDefinition/event-eventHistory` +- `http://hl7.org/fhir/StructureDefinition/event-location` +- `http://hl7.org/fhir/StructureDefinition/event-partOf` +- `http://hl7.org/fhir/StructureDefinition/event-performerFunction` +- `http://hl7.org/fhir/StructureDefinition/event-statusReason` +- `http://hl7.org/fhir/StructureDefinition/example-composition` +- `http://hl7.org/fhir/StructureDefinition/example-section-library` +- `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/family-member-history-genetics-sibling` +- `http://hl7.org/fhir/StructureDefinition/familymemberhistory-abatement` +- `http://hl7.org/fhir/StructureDefinition/familymemberhistory-genetic` +- `http://hl7.org/fhir/StructureDefinition/familymemberhistory-patient-record` +- `http://hl7.org/fhir/StructureDefinition/familymemberhistory-severity` +- `http://hl7.org/fhir/StructureDefinition/familymemberhistory-type` +- `http://hl7.org/fhir/StructureDefinition/flag-detail` +- `http://hl7.org/fhir/StructureDefinition/flag-priority` +- `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/groupdefinition` +- `http://hl7.org/fhir/StructureDefinition/hdlcholesterol` +- `http://hl7.org/fhir/StructureDefinition/headcircum` +- `http://hl7.org/fhir/StructureDefinition/heartrate` +- `http://hl7.org/fhir/StructureDefinition/hla-genotyping-results-allele-database` +- `http://hl7.org/fhir/StructureDefinition/hla-genotyping-results-glstring` +- `http://hl7.org/fhir/StructureDefinition/hla-genotyping-results-haploid` +- `http://hl7.org/fhir/StructureDefinition/hla-genotyping-results-method` +- `http://hl7.org/fhir/StructureDefinition/hlaresult` +- `http://hl7.org/fhir/StructureDefinition/http-response-header` +- `http://hl7.org/fhir/StructureDefinition/humanname-assembly-order` +- `http://hl7.org/fhir/StructureDefinition/humanname-fathers-family` +- `http://hl7.org/fhir/StructureDefinition/humanname-mothers-family` +- `http://hl7.org/fhir/StructureDefinition/humanname-own-name` +- `http://hl7.org/fhir/StructureDefinition/humanname-own-prefix` +- `http://hl7.org/fhir/StructureDefinition/humanname-partner-name` +- `http://hl7.org/fhir/StructureDefinition/humanname-partner-prefix` +- `http://hl7.org/fhir/StructureDefinition/identifier-validDate` +- `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/iso21090-EN-qualifier` +- `http://hl7.org/fhir/StructureDefinition/iso21090-EN-representation` +- `http://hl7.org/fhir/StructureDefinition/iso21090-EN-use` +- `http://hl7.org/fhir/StructureDefinition/iso21090-PQ-translation` +- `http://hl7.org/fhir/StructureDefinition/iso21090-SC-coding` +- `http://hl7.org/fhir/StructureDefinition/iso21090-TEL-address` +- `http://hl7.org/fhir/StructureDefinition/iso21090-nullFlavor` +- `http://hl7.org/fhir/StructureDefinition/iso21090-preferred` +- `http://hl7.org/fhir/StructureDefinition/iso21090-uncertainty` +- `http://hl7.org/fhir/StructureDefinition/iso21090-uncertaintyType` +- `http://hl7.org/fhir/StructureDefinition/language` +- `http://hl7.org/fhir/StructureDefinition/ldlcholesterol` +- `http://hl7.org/fhir/StructureDefinition/lipidprofile` +- `http://hl7.org/fhir/StructureDefinition/list-changeBase` +- `http://hl7.org/fhir/StructureDefinition/location-boundary-geojson` +- `http://hl7.org/fhir/StructureDefinition/location-distance` +- `http://hl7.org/fhir/StructureDefinition/match-grade` +- `http://hl7.org/fhir/StructureDefinition/maxDecimalPlaces` +- `http://hl7.org/fhir/StructureDefinition/maxSize` +- `http://hl7.org/fhir/StructureDefinition/maxValue` +- `http://hl7.org/fhir/StructureDefinition/messageheader-response-request` +- `http://hl7.org/fhir/StructureDefinition/mimeType` +- `http://hl7.org/fhir/StructureDefinition/minLength` +- `http://hl7.org/fhir/StructureDefinition/minValue` +- `http://hl7.org/fhir/StructureDefinition/narrativeLink` +- `http://hl7.org/fhir/StructureDefinition/nutritionorder-adaptiveFeedingDevice` +- `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-genetics` +- `http://hl7.org/fhir/StructureDefinition/observation-geneticsAllele` +- `http://hl7.org/fhir/StructureDefinition/observation-geneticsAminoAcidChange` +- `http://hl7.org/fhir/StructureDefinition/observation-geneticsAncestry` +- `http://hl7.org/fhir/StructureDefinition/observation-geneticsCopyNumberEvent` +- `http://hl7.org/fhir/StructureDefinition/observation-geneticsDNARegionName` +- `http://hl7.org/fhir/StructureDefinition/observation-geneticsGene` +- `http://hl7.org/fhir/StructureDefinition/observation-geneticsGenomicSourceClass` +- `http://hl7.org/fhir/StructureDefinition/observation-geneticsInterpretation` +- `http://hl7.org/fhir/StructureDefinition/observation-geneticsPhaseSet` +- `http://hl7.org/fhir/StructureDefinition/observation-geneticsVariant` +- `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/openEHR-administration` +- `http://hl7.org/fhir/StructureDefinition/openEHR-careplan` +- `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/openEHR-test` +- `http://hl7.org/fhir/StructureDefinition/operationdefinition-allowed-type` +- `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-source` +- `http://hl7.org/fhir/StructureDefinition/ordinalValue` +- `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/oxygensat` +- `http://hl7.org/fhir/StructureDefinition/parameters-fullUrl` +- `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-cadavericDonor` +- `http://hl7.org/fhir/StructureDefinition/patient-citizenship` +- `http://hl7.org/fhir/StructureDefinition/patient-congregation` +- `http://hl7.org/fhir/StructureDefinition/patient-disability` +- `http://hl7.org/fhir/StructureDefinition/patient-genderIdentity` +- `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-nationality` +- `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/picoelement` +- `http://hl7.org/fhir/StructureDefinition/practitioner-animalSpecies` +- `http://hl7.org/fhir/StructureDefinition/practitionerrole-primaryInd` +- `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/procedure-incisionDateTime` +- `http://hl7.org/fhir/StructureDefinition/procedure-method` +- `http://hl7.org/fhir/StructureDefinition/procedure-progressStatus` +- `http://hl7.org/fhir/StructureDefinition/procedure-schedule` +- `http://hl7.org/fhir/StructureDefinition/procedure-targetBodyStructure` +- `http://hl7.org/fhir/StructureDefinition/provenance-relevant-history` +- `http://hl7.org/fhir/StructureDefinition/quantity-precision` +- `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-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-referenceFilter` +- `http://hl7.org/fhir/StructureDefinition/questionnaire-referenceProfile` +- `http://hl7.org/fhir/StructureDefinition/questionnaire-referenceResource` +- `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/questionnaire-unit` +- `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/questionnaireresponse-author` +- `http://hl7.org/fhir/StructureDefinition/questionnaireresponse-completionMode` +- `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/regex` +- `http://hl7.org/fhir/StructureDefinition/relative-date` +- `http://hl7.org/fhir/StructureDefinition/rendered-value` +- `http://hl7.org/fhir/StructureDefinition/rendering-markdown` +- `http://hl7.org/fhir/StructureDefinition/rendering-style` +- `http://hl7.org/fhir/StructureDefinition/rendering-styleSensitive` +- `http://hl7.org/fhir/StructureDefinition/rendering-xhtml` +- `http://hl7.org/fhir/StructureDefinition/replaces` +- `http://hl7.org/fhir/StructureDefinition/request-doNotPerform` +- `http://hl7.org/fhir/StructureDefinition/request-insurance` +- `http://hl7.org/fhir/StructureDefinition/request-performerOrder` +- `http://hl7.org/fhir/StructureDefinition/request-relevantHistory` +- `http://hl7.org/fhir/StructureDefinition/request-replaces` +- `http://hl7.org/fhir/StructureDefinition/request-statusReason` +- `http://hl7.org/fhir/StructureDefinition/resource-approvalDate` +- `http://hl7.org/fhir/StructureDefinition/resource-effectivePeriod` +- `http://hl7.org/fhir/StructureDefinition/resource-lastReviewDate` +- `http://hl7.org/fhir/StructureDefinition/resource-pertainsToGoal` +- `http://hl7.org/fhir/StructureDefinition/resprate` +- `http://hl7.org/fhir/StructureDefinition/servicerequest-genetics` +- `http://hl7.org/fhir/StructureDefinition/servicerequest-geneticsItem` +- `http://hl7.org/fhir/StructureDefinition/servicerequest-precondition` +- `http://hl7.org/fhir/StructureDefinition/servicerequest-questionnaireRequest` +- `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/specimen-collectionPriority` +- `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/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-dependencies` +- `http://hl7.org/fhir/StructureDefinition/structuredefinition-display-hint` +- `http://hl7.org/fhir/StructureDefinition/structuredefinition-explicit-type-name` +- `http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type` +- `http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm` +- `http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm-no-warnings` +- `http://hl7.org/fhir/StructureDefinition/structuredefinition-hierarchy` +- `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-summary` +- `http://hl7.org/fhir/StructureDefinition/structuredefinition-table-name` +- `http://hl7.org/fhir/StructureDefinition/structuredefinition-template-status` +- `http://hl7.org/fhir/StructureDefinition/structuredefinition-wg` +- `http://hl7.org/fhir/StructureDefinition/structuredefinition-xml-no-order` +- `http://hl7.org/fhir/StructureDefinition/synthesis` +- `http://hl7.org/fhir/StructureDefinition/task-candidateList` +- `http://hl7.org/fhir/StructureDefinition/task-replaces` +- `http://hl7.org/fhir/StructureDefinition/timing-dayOfMonth` +- `http://hl7.org/fhir/StructureDefinition/timing-daysOfCycle` +- `http://hl7.org/fhir/StructureDefinition/timing-exact` +- `http://hl7.org/fhir/StructureDefinition/translation` +- `http://hl7.org/fhir/StructureDefinition/triglyceride` +- `http://hl7.org/fhir/StructureDefinition/tz-code` +- `http://hl7.org/fhir/StructureDefinition/tz-offset` +- `http://hl7.org/fhir/StructureDefinition/usagecontext-group` +- `http://hl7.org/fhir/StructureDefinition/valueset-activityStatusDate` +- `http://hl7.org/fhir/StructureDefinition/valueset-author` +- `http://hl7.org/fhir/StructureDefinition/valueset-authoritativeSource` +- `http://hl7.org/fhir/StructureDefinition/valueset-caseSensitive` +- `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-effectiveDate` +- `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/valueset-expirationDate` +- `http://hl7.org/fhir/StructureDefinition/valueset-expression` +- `http://hl7.org/fhir/StructureDefinition/valueset-extensible` +- `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-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-steward` +- `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-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/valueset-workflowStatus` +- `http://hl7.org/fhir/StructureDefinition/variable` +- `http://hl7.org/fhir/StructureDefinition/vitalspanel` +- `http://hl7.org/fhir/StructureDefinition/workflow-episodeOfCare` +- `http://hl7.org/fhir/StructureDefinition/workflow-instantiatesCanonical` +- `http://hl7.org/fhir/StructureDefinition/workflow-instantiatesUri` +- `http://hl7.org/fhir/StructureDefinition/workflow-reasonCode` +- `http://hl7.org/fhir/StructureDefinition/workflow-reasonReference` +- `http://hl7.org/fhir/StructureDefinition/workflow-relatedArtifact` +- `http://hl7.org/fhir/StructureDefinition/workflow-researchStudy` +- `http://hl7.org/fhir/StructureDefinition/workflow-supportingInfo` +- `http://hl7.org/fhir/ValueSet/FHIR-version` +- `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/all-languages` +- `http://hl7.org/fhir/ValueSet/all-time-units` +- `http://hl7.org/fhir/ValueSet/all-types` +- `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/allergy-intolerance-criticality` +- `http://hl7.org/fhir/ValueSet/allergy-intolerance-type` +- `http://hl7.org/fhir/ValueSet/allergyintolerance-clinical` +- `http://hl7.org/fhir/ValueSet/allergyintolerance-code` +- `http://hl7.org/fhir/ValueSet/allergyintolerance-verification` +- `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/concept-property-type` +- `http://hl7.org/fhir/ValueSet/concept-subsumption-outcome` +- `http://hl7.org/fhir/ValueSet/conceptmap-unmapped-mode` +- `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/conditional-delete-status` +- `http://hl7.org/fhir/ValueSet/conditional-read-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/contact-point-system` +- `http://hl7.org/fhir/ValueSet/contact-point-use` +- `http://hl7.org/fhir/ValueSet/contactentity-type` +- `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/coverage-financial-exception` +- `http://hl7.org/fhir/ValueSet/coverage-selfpay` +- `http://hl7.org/fhir/ValueSet/coverage-type` +- `http://hl7.org/fhir/ValueSet/coverageeligibilityresponse-ex-auth-support` +- `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/data-types` +- `http://hl7.org/fhir/ValueSet/dataelement-sdcobjectclass` +- `http://hl7.org/fhir/ValueSet/dataelement-sdcobjectclassproperty` +- `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/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/devicemetric-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/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/ex-payee-resource-type` +- `http://hl7.org/fhir/ValueSet/ex-paymenttype` +- `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/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/expansion-parameter-source` +- `http://hl7.org/fhir/ValueSet/expansion-processing-rule` +- `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/extension-context-type` +- `http://hl7.org/fhir/ValueSet/feeding-device` +- `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/link-type` +- `http://hl7.org/fhir/ValueSet/linkage-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/medication-form-codes` +- `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/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/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/message-events` +- `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/messageheader-response-request` +- `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/participant-role` +- `http://hl7.org/fhir/ValueSet/participantrequired` +- `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/questionnaire-usage-mode` +- `http://hl7.org/fhir/ValueSet/questionnaireresponse-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/ref-sequences` +- `http://hl7.org/fhir/ValueSet/reference-handling-policy` +- `http://hl7.org/fhir/ValueSet/reference-version-rules` +- `http://hl7.org/fhir/ValueSet/referencerange-appliesto` +- `http://hl7.org/fhir/ValueSet/referencerange-meaning` +- `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/relation-type` +- `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-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/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/sequenceontology` +- `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/service-type` +- `http://hl7.org/fhir/ValueSet/service-uscls` +- `http://hl7.org/fhir/ValueSet/servicerequest-category` +- `http://hl7.org/fhir/ValueSet/servicerequest-orderdetail` +- `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/supply-item` +- `http://hl7.org/fhir/ValueSet/supplydelivery-status` +- `http://hl7.org/fhir/ValueSet/supplydelivery-type` +- `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://hl7.org/fhir/ValueSet/vaccine-code` +- `http://hl7.org/fhir/ValueSet/variable-type` +- `http://hl7.org/fhir/ValueSet/variant-state` +- `http://hl7.org/fhir/ValueSet/variants` +- `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` +- `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-ActUSPrivacyLaw` +- `http://terminology.hl7.org/ValueSet/v3-ActUncertainty` +- `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-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-GTSAbbreviation` +- `http://terminology.hl7.org/ValueSet/v3-GenderStatus` +- `http://terminology.hl7.org/ValueSet/v3-GeneralPurposeOfUse` +- `http://terminology.hl7.org/ValueSet/v3-HL7ContextConductionStyle` +- `http://terminology.hl7.org/ValueSet/v3-HL7StandardVersionCode` +- `http://terminology.hl7.org/ValueSet/v3-HL7UpdateMode` +- `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-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-PersonDisabilityType` +- `http://terminology.hl7.org/ValueSet/v3-PersonalRelationshipRoleType` +- `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-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-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-employmentStatusODH` +- `http://terminology.hl7.org/ValueSet/v3-hl7ApprovalStatus` +- `http://terminology.hl7.org/ValueSet/v3-hl7CMETAttribution` +- `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-hl7V3Conformance` +- `http://terminology.hl7.org/ValueSet/v3-hl7VoteResolution` +- `http://terminology.hl7.org/ValueSet/v3-orderableDrugForm` +- `http://terminology.hl7.org/ValueSet/v3-policyHolderRole` +- `http://terminology.hl7.org/ValueSet/v3-styleType` +- `http://terminology.hl7.org/ValueSet/v3-substanceAdminSubstitution` +- `http://terminology.hl7.org/ValueSet/v3-triggerEventID` +- `http://terminology.hl7.org/ValueSet/v3-xBasicConfidentialityKind` + +## Package: `hl7.fhir.us.core` + +### Skipped Canonicals + +- `http://hl7.org/fhir/us/core/StructureDefinition/head-occipital-frontal-circumference-percentile` +- `http://hl7.org/fhir/us/core/StructureDefinition/head-occipital-frontal-circumference-percentile#code_binding` +- `http://hl7.org/fhir/us/core/StructureDefinition/pediatric-bmi-for-age` +- `http://hl7.org/fhir/us/core/StructureDefinition/pediatric-bmi-for-age#code_binding` +- `http://hl7.org/fhir/us/core/StructureDefinition/pediatric-weight-for-height` +- `http://hl7.org/fhir/us/core/StructureDefinition/pediatric-weight-for-height#code_binding` +- `http://hl7.org/fhir/us/core/StructureDefinition/us-core-adi-documentreference` +- `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` +- `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-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-bmi#code_binding` +- `http://hl7.org/fhir/us/core/StructureDefinition/us-core-body-height` +- `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` +- `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` +- `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` +- `http://hl7.org/fhir/us/core/StructureDefinition/us-core-care-experience-preference#category_binding` +- `http://hl7.org/fhir/us/core/StructureDefinition/us-core-careplan` +- `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` +- `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` +- `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` +- `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` +- `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` +- `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` +- `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-direct` +- `http://hl7.org/fhir/us/core/StructureDefinition/us-core-documentreference` +- `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` +- `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-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-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` +- `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` +- `http://hl7.org/fhir/us/core/StructureDefinition/us-core-heart-rate#code_binding` +- `http://hl7.org/fhir/us/core/StructureDefinition/us-core-immunization` +- `http://hl7.org/fhir/us/core/StructureDefinition/us-core-immunization#statusReason_binding` +- `http://hl7.org/fhir/us/core/StructureDefinition/us-core-immunization#status_binding` +- `http://hl7.org/fhir/us/core/StructureDefinition/us-core-immunization#vaccineCode_binding` +- `http://hl7.org/fhir/us/core/StructureDefinition/us-core-implantable-device` +- `http://hl7.org/fhir/us/core/StructureDefinition/us-core-implantable-device#type_binding` +- `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-location` +- `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-medication` +- `http://hl7.org/fhir/us/core/StructureDefinition/us-core-medication#code_binding` +- `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-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-medicationrequest` +- `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` +- `http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-adi-documentation#category_binding` +- `http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-clinical-result` +- `http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab` +- `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-observation-occupation` +- `http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-occupation#valueCodeableConcept_binding` +- `http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-pregnancyintent` +- `http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-pregnancyintent#valueCodeableConcept_binding` +- `http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-pregnancystatus` +- `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` +- `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` +- `http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-sexual-orientation#status_binding` +- `http://hl7.org/fhir/us/core/StructureDefinition/us-core-organization` +- `http://hl7.org/fhir/us/core/StructureDefinition/us-core-organization#address.state_binding` +- `http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient` +- `http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient#address.state_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/us-core-practitioner` +- `http://hl7.org/fhir/us/core/StructureDefinition/us-core-practitioner#address.state_binding` +- `http://hl7.org/fhir/us/core/StructureDefinition/us-core-practitionerrole` +- `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` +- `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` +- `http://hl7.org/fhir/us/core/StructureDefinition/us-core-provenance#agent.type_binding` +- `http://hl7.org/fhir/us/core/StructureDefinition/us-core-pulse-oximetry` +- `http://hl7.org/fhir/us/core/StructureDefinition/us-core-pulse-oximetry#code_binding` +- `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-relatedperson#relationship_binding` +- `http://hl7.org/fhir/us/core/StructureDefinition/us-core-respiratory-rate` +- `http://hl7.org/fhir/us/core/StructureDefinition/us-core-respiratory-rate#code_binding` +- `http://hl7.org/fhir/us/core/StructureDefinition/us-core-servicerequest` +- `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-sex` +- `http://hl7.org/fhir/us/core/StructureDefinition/us-core-simple-observation` +- `http://hl7.org/fhir/us/core/StructureDefinition/us-core-simple-observation#category_binding` +- `http://hl7.org/fhir/us/core/StructureDefinition/us-core-smokingstatus` +- `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` +- `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` +- `http://hl7.org/fhir/us/core/StructureDefinition/us-core-treatment-intervention-preference#category_binding` +- `http://hl7.org/fhir/us/core/StructureDefinition/us-core-tribal-affiliation` +- `http://hl7.org/fhir/us/core/StructureDefinition/uscdi-requirement` +- `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` + +## Package: `shared` + +### Skipped Canonicals + +- `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:AdditionalMonitoring` +- `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: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: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:BiologicallyDerivedProductDispensPerformerFunction` +- `urn:fhir:binding:BiologicallyDerivedProductDispenseMatchStatus` +- `urn:fhir:binding:BiologicallyDerivedProductDispenseOriginRelationship` +- `urn:fhir:binding:BiologicallyDerivedProductDispenseStatus` +- `urn:fhir:binding:BiologicallyDerivedProductProcedure` +- `urn:fhir:binding:BiologicallyDerivedProductPropertyTypeCodes` +- `urn:fhir:binding:BiologicallyDerivedProductStatus` +- `urn:fhir:binding:BiologicallyDerivedProductStorageScale` +- `urn:fhir:binding:BodyLengthUnits` +- `urn:fhir:binding:BodyStructureCode` +- `urn:fhir:binding:BodyStructureQualifier` +- `urn:fhir:binding:BodyTempUnits` +- `urn:fhir:binding:BodyWeightUnits` +- `urn:fhir:binding:BundleType` +- `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: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: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:ConceptMapRelationship` +- `urn:fhir:binding:ConceptMapmapAttributeType` +- `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:ConditionalDeleteStatus` +- `urn:fhir:binding:ConditionalReadStatus` +- `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: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: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:DICOMMediaType` +- `urn:fhir:binding:DatesType` +- `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: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: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: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: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:ExtensionContextType` +- `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:FHIRSubstanceStatus` +- `urn:fhir:binding:FHIRTypes` +- `urn:fhir:binding:FHIRVersion` +- `urn:fhir:binding:FamilialRelationship` +- `urn:fhir:binding:FamilyHistoryAbsentReason` +- `urn:fhir:binding:FamilyHistoryReason` +- `urn:fhir:binding:FamilyHistoryStatus` +- `urn:fhir:binding:FamilyMemberHistoryParticipantFunction` +- `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:HTTPVerb` +- `urn:fhir:binding:HandlingConditionSet` +- `urn:fhir:binding:HumanRefSeqNCBIBuildId` +- `urn:fhir:binding:IANATimezone` +- `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:LDLCodes` +- `urn:fhir:binding:LL1040-6` +- `urn:fhir:binding:LL2938-0` +- `urn:fhir:binding:LL5323-2` +- `urn:fhir:binding:LOINC LL379-9 answerlist` +- `urn:fhir:binding:Laterality` +- `urn:fhir:binding:LegalStatusOfSupply` +- `urn:fhir:binding:LibraryType` +- `urn:fhir:binding:LinkageType` +- `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:LocationCharacteristic` +- `urn:fhir:binding:LocationForm` +- `urn:fhir:binding:LocationMode` +- `urn:fhir:binding:LocationStatus` +- `urn:fhir:binding:LocationType` +- `urn:fhir:binding:Manifestation` +- `urn:fhir:binding:ManifestationOrSymptom` +- `urn:fhir:binding:ManufacturedDoseForm` +- `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:MedicationAdministrationNegationReason` +- `urn:fhir:binding:MedicationAdministrationPerformerFunction` +- `urn:fhir:binding:MedicationAdministrationReason` +- `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:MessageSignificanceCategory` +- `urn:fhir:binding:MessageTransport` +- `urn:fhir:binding:MethodCode` +- `urn:fhir:binding:MetricType` +- `urn:fhir:binding:MetricUnit` +- `urn:fhir:binding:MissingReason` +- `urn:fhir:binding:Modifiers` +- `urn:fhir:binding:NameLanguage` +- `urn:fhir:binding:NameType` +- `urn:fhir:binding:NamingSystemIdentifierSystemType` +- `urn:fhir:binding:NamingSystemIdentifierType` +- `urn:fhir:binding:NamingSystemType` +- `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:ObservationDataType` +- `urn:fhir:binding:ObservationRangeAppliesTo` +- `urn:fhir:binding:ObservationRangeCategory` +- `urn:fhir:binding:ObservationReferenceRangeNormalValue` +- `urn:fhir:binding:ObservationUnit` +- `urn:fhir:binding:OperationKind` +- `urn:fhir:binding:OperationParameterScope` +- `urn:fhir:binding:OperationParameterUse` +- `urn:fhir:binding:OperationalStatus` +- `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:PackageMaterial` +- `urn:fhir:binding:PackageType` +- `urn:fhir:binding:PackagingType` +- `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: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:ProcessPriority` +- `urn:fhir:binding:ProcessingActivityAction` +- `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:Qualification` +- `urn:fhir:binding:QualityOfEvidenceRating` +- `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:ReferenceHandlingPolicy` +- `urn:fhir:binding:ReferenceVersionRules` +- `urn:fhir:binding:ReferencedItemCategory` +- `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:RelatedArtifactTypeExpanded` +- `urn:fhir:binding:RelatedClaimRelationship` +- `urn:fhir:binding:Relationship` +- `urn:fhir:binding:RemittanceOutcome` +- `urn:fhir:binding:ReportRelationshipType` +- `urn:fhir:binding:ReportSectionType` +- `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:SNOMEDCTCharacteristicCodes` +- `urn:fhir:binding:SNOMEDCTRouteCodes` +- `urn:fhir:binding:SNOMEDCTSubstanceCodes` +- `urn:fhir:binding:SPDXLicense` +- `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: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:SlicingRules` +- `urn:fhir:binding:SlotStatus` +- `urn:fhir:binding:SourceMaterialGenus` +- `urn:fhir:binding:SourceMaterialPart` +- `urn:fhir:binding:SourceMaterialSpecies` +- `urn:fhir:binding:SourceMaterialType` +- `urn:fhir:binding:SpecialMeasures` +- `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: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: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: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:TestingDestination` +- `urn:fhir:binding:TextureModifiedFoodType` +- `urn:fhir:binding:TextureModifier` +- `urn:fhir:binding:Therapy` +- `urn:fhir:binding:TherapyRelationshipType` +- `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:TypeDerivationRule` +- `urn:fhir:binding:TypeRestfulInteraction` +- `urn:fhir:binding:UCUMUnits` +- `urn:fhir:binding:UDIEntryType` +- `urn:fhir:binding:UndesirablEffectFrequency` +- `urn:fhir:binding:UndesirableEffectClassification` +- `urn:fhir:binding:UndesirableEffectSymptom` +- `urn:fhir:binding:UnitOfPresentation` +- `urn:fhir:binding:Units` +- `urn:fhir:binding:UnmappedConceptMapRelationship` +- `urn:fhir:binding:Use` +- `urn:fhir:binding:VaccineCode` +- `urn:fhir:binding:VaccineFundingProgram` +- `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:VitalSignsUnits` +- `urn:fhir:binding:WarningType` +- `urn:fhir:binding:WeekOfMonth` +- `urn:fhir:binding:WorkflowStatus` +- `urn:fhir:binding:XPathUsageType` +- `urn:fhir:binding:appointment-type` +- `urn:fhir:binding:bodyLandmarkOrientationClockFacePosition` +- `urn:fhir:binding:bodyLandmarkOrientationLandmarkDescription` +- `urn:fhir:binding:bodyLandmarkOrientationSurfaceOrientation` +- `urn:fhir:binding:can-push-updates` +- `urn:fhir:binding:cancelation-reason` +- `urn:fhir:binding:cancellation-reason` +- `urn:fhir:binding:chromosome-human` +- `urn:fhir:binding:communication-method` +- `urn:fhir:binding:condition-code` +- `urn:fhir:binding:endpoint-contype` +- `urn:fhir:binding:endpoint-environment-type` +- `urn:fhir:binding:failure-action` +- `urn:fhir:binding:messageheader-response-request` +- `urn:fhir:binding:need` +- `urn:fhir:binding:orientationType` +- `urn:fhir:binding:primary-source-type` +- `urn:fhir:binding:push-type-available` +- `urn:fhir:binding:qualityMethod` +- `urn:fhir:binding:qualityStandardSequence` +- `urn:fhir:binding:qualityType` +- `urn:fhir:binding:reason-code` +- `urn:fhir:binding:reason-use` +- `urn:fhir:binding:repositoryType` +- `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:sopClass` +- `urn:fhir:binding:specialty` +- `urn:fhir:binding:status` +- `urn:fhir:binding:strandType` +- `urn:fhir:binding:v3Act` +- `urn:fhir:binding:validation-process` +- `urn:fhir:binding:validation-status` +- `urn:fhir:binding:validation-type` + +## Schema Collisions + +The following canonicals have multiple schema versions with different content. +To inspect collision versions, export TypeSchemas using `.introspection({ typeSchemas: 'path' })` +and check `/collisions//1.json, 2.json, ...` files. + +### `shared` + +- `urn:fhir:binding:AccidentType` (2 versions) + - Version 1: Claim (hl7.fhir.r4.core#4.0.1), ExplanationOfBenefit (hl7.fhir.r4.core#4.0.1), Claim (hl7.fhir.r4.core#4.0.1), ExplanationOfBenefit (hl7.fhir.r4.core#4.0.1), Claim (hl7.fhir.r4.core#4.0.1), ExplanationOfBenefit (hl7.fhir.r4.core#4.0.1), Claim (hl7.fhir.r5.core#5.0.0), ExplanationOfBenefit (hl7.fhir.r5.core#5.0.0), Claim (hl7.fhir.r5.core#5.0.0), ExplanationOfBenefit (hl7.fhir.r5.core#5.0.0), Claim (hl7.fhir.r5.core#5.0.0), ExplanationOfBenefit (hl7.fhir.r5.core#5.0.0), Claim (hl7.fhir.r4.core#4.0.1), ExplanationOfBenefit (hl7.fhir.r4.core#4.0.1), Claim (hl7.fhir.r4.core#4.0.1), ExplanationOfBenefit (hl7.fhir.r4.core#4.0.1), Claim (hl7.fhir.r4.core#4.0.1), ExplanationOfBenefit (hl7.fhir.r4.core#4.0.1), Claim (hl7.fhir.r4.core#4.0.1), ExplanationOfBenefit (hl7.fhir.r4.core#4.0.1), Claim (hl7.fhir.r4.core#4.0.1), ExplanationOfBenefit (hl7.fhir.r4.core#4.0.1), Claim (hl7.fhir.r4.core#4.0.1), ExplanationOfBenefit (hl7.fhir.r4.core#4.0.1), Claim (hl7.fhir.r4.core#4.0.1), ExplanationOfBenefit (hl7.fhir.r4.core#4.0.1) + - Version 2: Claim (hl7.fhir.r4.examples#4.0.1), ExplanationOfBenefit (hl7.fhir.r4.examples#4.0.1) +- `urn:fhir:binding:AccountStatus` (3 versions) + - Version 1: Account (hl7.fhir.r4.core#4.0.1), Account (hl7.fhir.r4.core#4.0.1), Account (hl7.fhir.r4.core#4.0.1), Account (hl7.fhir.r4.core#4.0.1), Account (hl7.fhir.r4.core#4.0.1), Account (hl7.fhir.r4.core#4.0.1), Account (hl7.fhir.r4.core#4.0.1), Account (hl7.fhir.r4.core#4.0.1), Account (hl7.fhir.r4.core#4.0.1), Account (hl7.fhir.r4.core#4.0.1) + - Version 2: Account (hl7.fhir.r5.core#5.0.0), Account (hl7.fhir.r5.core#5.0.0), Account (hl7.fhir.r5.core#5.0.0) + - Version 3: Account (hl7.fhir.r4.examples#4.0.1) +- `urn:fhir:binding:AccountType` (3 versions) + - Version 1: Account (hl7.fhir.r4.core#4.0.1), Account (hl7.fhir.r4.core#4.0.1), Account (hl7.fhir.r4.core#4.0.1), Account (hl7.fhir.r4.core#4.0.1), Account (hl7.fhir.r4.core#4.0.1), Account (hl7.fhir.r4.core#4.0.1), Account (hl7.fhir.r4.core#4.0.1), Account (hl7.fhir.r4.core#4.0.1), Account (hl7.fhir.r4.core#4.0.1), Account (hl7.fhir.r4.core#4.0.1) + - Version 2: Account (hl7.fhir.r5.core#5.0.0), Account (hl7.fhir.r5.core#5.0.0), Account (hl7.fhir.r5.core#5.0.0) + - Version 3: Account (hl7.fhir.r4.examples#4.0.1) +- `urn:fhir:binding:ActionCardinalityBehavior` (3 versions) + - Version 1: PlanDefinition (hl7.fhir.r4.core#4.0.1), RequestGroup (hl7.fhir.r4.core#4.0.1), PlanDefinition (hl7.fhir.r4.core#4.0.1), RequestGroup (hl7.fhir.r4.core#4.0.1), PlanDefinition (hl7.fhir.r4.core#4.0.1), RequestGroup (hl7.fhir.r4.core#4.0.1), PlanDefinition (hl7.fhir.r4.core#4.0.1), RequestGroup (hl7.fhir.r4.core#4.0.1), PlanDefinition (hl7.fhir.r4.core#4.0.1), RequestGroup (hl7.fhir.r4.core#4.0.1), PlanDefinition (hl7.fhir.r4.core#4.0.1), RequestGroup (hl7.fhir.r4.core#4.0.1), PlanDefinition (hl7.fhir.r4.core#4.0.1), RequestGroup (hl7.fhir.r4.core#4.0.1), PlanDefinition (hl7.fhir.r4.core#4.0.1), RequestGroup (hl7.fhir.r4.core#4.0.1), PlanDefinition (hl7.fhir.r4.core#4.0.1), RequestGroup (hl7.fhir.r4.core#4.0.1), PlanDefinition (hl7.fhir.r4.core#4.0.1), RequestGroup (hl7.fhir.r4.core#4.0.1) + - Version 2: PlanDefinition (hl7.fhir.r5.core#5.0.0), RequestOrchestration (hl7.fhir.r5.core#5.0.0), PlanDefinition (hl7.fhir.r5.core#5.0.0), RequestOrchestration (hl7.fhir.r5.core#5.0.0), PlanDefinition (hl7.fhir.r5.core#5.0.0), RequestOrchestration (hl7.fhir.r5.core#5.0.0), RequestOrchestration (hl7.fhir.r5.core#5.0.0), RequestOrchestration (hl7.fhir.r5.core#5.0.0) + - Version 3: PlanDefinition (hl7.fhir.r4.examples#4.0.1), RequestGroup (hl7.fhir.r4.examples#4.0.1) +- `urn:fhir:binding:ActionConditionKind` (3 versions) + - Version 1: PlanDefinition (hl7.fhir.r4.core#4.0.1), RequestGroup (hl7.fhir.r4.core#4.0.1), PlanDefinition (hl7.fhir.r4.core#4.0.1), RequestGroup (hl7.fhir.r4.core#4.0.1), PlanDefinition (hl7.fhir.r4.core#4.0.1), RequestGroup (hl7.fhir.r4.core#4.0.1), PlanDefinition (hl7.fhir.r4.core#4.0.1), RequestGroup (hl7.fhir.r4.core#4.0.1), PlanDefinition (hl7.fhir.r4.core#4.0.1), RequestGroup (hl7.fhir.r4.core#4.0.1), PlanDefinition (hl7.fhir.r4.core#4.0.1), RequestGroup (hl7.fhir.r4.core#4.0.1), PlanDefinition (hl7.fhir.r4.core#4.0.1), RequestGroup (hl7.fhir.r4.core#4.0.1), PlanDefinition (hl7.fhir.r4.core#4.0.1), RequestGroup (hl7.fhir.r4.core#4.0.1), PlanDefinition (hl7.fhir.r4.core#4.0.1), RequestGroup (hl7.fhir.r4.core#4.0.1), PlanDefinition (hl7.fhir.r4.core#4.0.1), RequestGroup (hl7.fhir.r4.core#4.0.1) + - Version 2: PlanDefinition (hl7.fhir.r5.core#5.0.0), RequestOrchestration (hl7.fhir.r5.core#5.0.0), PlanDefinition (hl7.fhir.r5.core#5.0.0), RequestOrchestration (hl7.fhir.r5.core#5.0.0), PlanDefinition (hl7.fhir.r5.core#5.0.0), RequestOrchestration (hl7.fhir.r5.core#5.0.0), RequestOrchestration (hl7.fhir.r5.core#5.0.0), RequestOrchestration (hl7.fhir.r5.core#5.0.0) + - Version 3: PlanDefinition (hl7.fhir.r4.examples#4.0.1), RequestGroup (hl7.fhir.r4.examples#4.0.1) +- `urn:fhir:binding:ActionGroupingBehavior` (3 versions) + - Version 1: PlanDefinition (hl7.fhir.r4.core#4.0.1), RequestGroup (hl7.fhir.r4.core#4.0.1), PlanDefinition (hl7.fhir.r4.core#4.0.1), RequestGroup (hl7.fhir.r4.core#4.0.1), PlanDefinition (hl7.fhir.r4.core#4.0.1), RequestGroup (hl7.fhir.r4.core#4.0.1), PlanDefinition (hl7.fhir.r4.core#4.0.1), RequestGroup (hl7.fhir.r4.core#4.0.1), PlanDefinition (hl7.fhir.r4.core#4.0.1), RequestGroup (hl7.fhir.r4.core#4.0.1), PlanDefinition (hl7.fhir.r4.core#4.0.1), RequestGroup (hl7.fhir.r4.core#4.0.1), PlanDefinition (hl7.fhir.r4.core#4.0.1), RequestGroup (hl7.fhir.r4.core#4.0.1), PlanDefinition (hl7.fhir.r4.core#4.0.1), RequestGroup (hl7.fhir.r4.core#4.0.1), PlanDefinition (hl7.fhir.r4.core#4.0.1), RequestGroup (hl7.fhir.r4.core#4.0.1), PlanDefinition (hl7.fhir.r4.core#4.0.1), RequestGroup (hl7.fhir.r4.core#4.0.1) + - Version 2: PlanDefinition (hl7.fhir.r5.core#5.0.0), RequestOrchestration (hl7.fhir.r5.core#5.0.0), PlanDefinition (hl7.fhir.r5.core#5.0.0), RequestOrchestration (hl7.fhir.r5.core#5.0.0), PlanDefinition (hl7.fhir.r5.core#5.0.0), RequestOrchestration (hl7.fhir.r5.core#5.0.0), RequestOrchestration (hl7.fhir.r5.core#5.0.0), RequestOrchestration (hl7.fhir.r5.core#5.0.0) + - Version 3: PlanDefinition (hl7.fhir.r4.examples#4.0.1), RequestGroup (hl7.fhir.r4.examples#4.0.1) +- `urn:fhir:binding:ActionParticipantRole` (3 versions) + - Version 1: PlanDefinition (hl7.fhir.r4.core#4.0.1), PlanDefinition (hl7.fhir.r4.core#4.0.1), PlanDefinition (hl7.fhir.r4.core#4.0.1), PlanDefinition (hl7.fhir.r4.core#4.0.1), PlanDefinition (hl7.fhir.r4.core#4.0.1), PlanDefinition (hl7.fhir.r4.core#4.0.1), PlanDefinition (hl7.fhir.r4.core#4.0.1), PlanDefinition (hl7.fhir.r4.core#4.0.1), PlanDefinition (hl7.fhir.r4.core#4.0.1), PlanDefinition (hl7.fhir.r4.core#4.0.1) + - Version 2: PlanDefinition (hl7.fhir.r5.core#5.0.0), PlanDefinition (hl7.fhir.r5.core#5.0.0), PlanDefinition (hl7.fhir.r5.core#5.0.0) + - Version 3: PlanDefinition (hl7.fhir.r4.examples#4.0.1) +- `urn:fhir:binding:ActionParticipantType` (2 versions) + - Version 1: PlanDefinition (hl7.fhir.r4.core#4.0.1), PlanDefinition (hl7.fhir.r4.core#4.0.1), PlanDefinition (hl7.fhir.r4.core#4.0.1), PlanDefinition (hl7.fhir.r4.core#4.0.1), PlanDefinition (hl7.fhir.r4.core#4.0.1), PlanDefinition (hl7.fhir.r4.core#4.0.1), PlanDefinition (hl7.fhir.r4.core#4.0.1), PlanDefinition (hl7.fhir.r4.core#4.0.1), PlanDefinition (hl7.fhir.r4.core#4.0.1), PlanDefinition (hl7.fhir.r4.core#4.0.1) + - Version 2: PlanDefinition (hl7.fhir.r4.examples#4.0.1) +- `urn:fhir:binding:ActionPrecheckBehavior` (3 versions) + - Version 1: PlanDefinition (hl7.fhir.r4.core#4.0.1), RequestGroup (hl7.fhir.r4.core#4.0.1), PlanDefinition (hl7.fhir.r4.core#4.0.1), RequestGroup (hl7.fhir.r4.core#4.0.1), PlanDefinition (hl7.fhir.r4.core#4.0.1), RequestGroup (hl7.fhir.r4.core#4.0.1), PlanDefinition (hl7.fhir.r4.core#4.0.1), RequestGroup (hl7.fhir.r4.core#4.0.1), PlanDefinition (hl7.fhir.r4.core#4.0.1), RequestGroup (hl7.fhir.r4.core#4.0.1), PlanDefinition (hl7.fhir.r4.core#4.0.1), RequestGroup (hl7.fhir.r4.core#4.0.1), PlanDefinition (hl7.fhir.r4.core#4.0.1), RequestGroup (hl7.fhir.r4.core#4.0.1), PlanDefinition (hl7.fhir.r4.core#4.0.1), RequestGroup (hl7.fhir.r4.core#4.0.1), PlanDefinition (hl7.fhir.r4.core#4.0.1), RequestGroup (hl7.fhir.r4.core#4.0.1), PlanDefinition (hl7.fhir.r4.core#4.0.1), RequestGroup (hl7.fhir.r4.core#4.0.1) + - Version 2: PlanDefinition (hl7.fhir.r5.core#5.0.0), RequestOrchestration (hl7.fhir.r5.core#5.0.0), PlanDefinition (hl7.fhir.r5.core#5.0.0), RequestOrchestration (hl7.fhir.r5.core#5.0.0), PlanDefinition (hl7.fhir.r5.core#5.0.0), RequestOrchestration (hl7.fhir.r5.core#5.0.0), RequestOrchestration (hl7.fhir.r5.core#5.0.0), RequestOrchestration (hl7.fhir.r5.core#5.0.0) + - Version 3: PlanDefinition (hl7.fhir.r4.examples#4.0.1), RequestGroup (hl7.fhir.r4.examples#4.0.1) +- `urn:fhir:binding:ActionRelationshipType` (3 versions) + - Version 1: PlanDefinition (hl7.fhir.r4.core#4.0.1), RequestGroup (hl7.fhir.r4.core#4.0.1), PlanDefinition (hl7.fhir.r4.core#4.0.1), RequestGroup (hl7.fhir.r4.core#4.0.1), PlanDefinition (hl7.fhir.r4.core#4.0.1), RequestGroup (hl7.fhir.r4.core#4.0.1), PlanDefinition (hl7.fhir.r4.core#4.0.1), RequestGroup (hl7.fhir.r4.core#4.0.1), PlanDefinition (hl7.fhir.r4.core#4.0.1), RequestGroup (hl7.fhir.r4.core#4.0.1), PlanDefinition (hl7.fhir.r4.core#4.0.1), RequestGroup (hl7.fhir.r4.core#4.0.1), PlanDefinition (hl7.fhir.r4.core#4.0.1), RequestGroup (hl7.fhir.r4.core#4.0.1), PlanDefinition (hl7.fhir.r4.core#4.0.1), RequestGroup (hl7.fhir.r4.core#4.0.1), PlanDefinition (hl7.fhir.r4.core#4.0.1), RequestGroup (hl7.fhir.r4.core#4.0.1), PlanDefinition (hl7.fhir.r4.core#4.0.1), RequestGroup (hl7.fhir.r4.core#4.0.1) + - Version 2: PlanDefinition (hl7.fhir.r5.core#5.0.0), RequestOrchestration (hl7.fhir.r5.core#5.0.0), PlanDefinition (hl7.fhir.r5.core#5.0.0), RequestOrchestration (hl7.fhir.r5.core#5.0.0), PlanDefinition (hl7.fhir.r5.core#5.0.0), RequestOrchestration (hl7.fhir.r5.core#5.0.0), RequestOrchestration (hl7.fhir.r5.core#5.0.0), RequestOrchestration (hl7.fhir.r5.core#5.0.0) + - Version 3: PlanDefinition (hl7.fhir.r4.examples#4.0.1), RequestGroup (hl7.fhir.r4.examples#4.0.1) +- `urn:fhir:binding:ActionRequiredBehavior` (3 versions) + - Version 1: PlanDefinition (hl7.fhir.r4.core#4.0.1), RequestGroup (hl7.fhir.r4.core#4.0.1), PlanDefinition (hl7.fhir.r4.core#4.0.1), RequestGroup (hl7.fhir.r4.core#4.0.1), PlanDefinition (hl7.fhir.r4.core#4.0.1), RequestGroup (hl7.fhir.r4.core#4.0.1), PlanDefinition (hl7.fhir.r4.core#4.0.1), RequestGroup (hl7.fhir.r4.core#4.0.1), PlanDefinition (hl7.fhir.r4.core#4.0.1), RequestGroup (hl7.fhir.r4.core#4.0.1), PlanDefinition (hl7.fhir.r4.core#4.0.1), RequestGroup (hl7.fhir.r4.core#4.0.1), PlanDefinition (hl7.fhir.r4.core#4.0.1), RequestGroup (hl7.fhir.r4.core#4.0.1), PlanDefinition (hl7.fhir.r4.core#4.0.1), RequestGroup (hl7.fhir.r4.core#4.0.1), PlanDefinition (hl7.fhir.r4.core#4.0.1), RequestGroup (hl7.fhir.r4.core#4.0.1), PlanDefinition (hl7.fhir.r4.core#4.0.1), RequestGroup (hl7.fhir.r4.core#4.0.1) + - Version 2: PlanDefinition (hl7.fhir.r5.core#5.0.0), RequestOrchestration (hl7.fhir.r5.core#5.0.0), PlanDefinition (hl7.fhir.r5.core#5.0.0), RequestOrchestration (hl7.fhir.r5.core#5.0.0), PlanDefinition (hl7.fhir.r5.core#5.0.0), RequestOrchestration (hl7.fhir.r5.core#5.0.0), RequestOrchestration (hl7.fhir.r5.core#5.0.0), RequestOrchestration (hl7.fhir.r5.core#5.0.0) + - Version 3: PlanDefinition (hl7.fhir.r4.examples#4.0.1), RequestGroup (hl7.fhir.r4.examples#4.0.1) +- `urn:fhir:binding:ActionSelectionBehavior` (3 versions) + - Version 1: PlanDefinition (hl7.fhir.r4.core#4.0.1), cdshooksserviceplandefinition (hl7.fhir.r4.core#4.0.1), cdshooksrequestgroup (hl7.fhir.r4.core#4.0.1), RequestGroup (hl7.fhir.r4.core#4.0.1), PlanDefinition (hl7.fhir.r4.core#4.0.1), cdshooksserviceplandefinition (hl7.fhir.r4.core#4.0.1), cdshooksrequestgroup (hl7.fhir.r4.core#4.0.1), RequestGroup (hl7.fhir.r4.core#4.0.1), PlanDefinition (hl7.fhir.r4.core#4.0.1), cdshooksserviceplandefinition (hl7.fhir.r4.core#4.0.1), cdshooksrequestgroup (hl7.fhir.r4.core#4.0.1), RequestGroup (hl7.fhir.r4.core#4.0.1), PlanDefinition (hl7.fhir.r4.core#4.0.1), cdshooksserviceplandefinition (hl7.fhir.r4.core#4.0.1), cdshooksrequestgroup (hl7.fhir.r4.core#4.0.1), RequestGroup (hl7.fhir.r4.core#4.0.1), PlanDefinition (hl7.fhir.r4.core#4.0.1), cdshooksserviceplandefinition (hl7.fhir.r4.core#4.0.1), cdshooksrequestgroup (hl7.fhir.r4.core#4.0.1), RequestGroup (hl7.fhir.r4.core#4.0.1), PlanDefinition (hl7.fhir.r4.core#4.0.1), cdshooksserviceplandefinition (hl7.fhir.r4.core#4.0.1), cdshooksrequestgroup (hl7.fhir.r4.core#4.0.1), RequestGroup (hl7.fhir.r4.core#4.0.1), PlanDefinition (hl7.fhir.r4.core#4.0.1), cdshooksserviceplandefinition (hl7.fhir.r4.core#4.0.1), cdshooksrequestgroup (hl7.fhir.r4.core#4.0.1), RequestGroup (hl7.fhir.r4.core#4.0.1), PlanDefinition (hl7.fhir.r4.core#4.0.1), cdshooksserviceplandefinition (hl7.fhir.r4.core#4.0.1), cdshooksrequestgroup (hl7.fhir.r4.core#4.0.1), RequestGroup (hl7.fhir.r4.core#4.0.1), PlanDefinition (hl7.fhir.r4.core#4.0.1), cdshooksserviceplandefinition (hl7.fhir.r4.core#4.0.1), cdshooksrequestgroup (hl7.fhir.r4.core#4.0.1), RequestGroup (hl7.fhir.r4.core#4.0.1), PlanDefinition (hl7.fhir.r4.core#4.0.1), cdshooksserviceplandefinition (hl7.fhir.r4.core#4.0.1), cdshooksrequestgroup (hl7.fhir.r4.core#4.0.1), RequestGroup (hl7.fhir.r4.core#4.0.1) + - Version 2: cdshooksrequestorchestration (hl7.fhir.r5.core#5.0.0), PlanDefinition (hl7.fhir.r5.core#5.0.0), RequestOrchestration (hl7.fhir.r5.core#5.0.0), cdshooksserviceplandefinition (hl7.fhir.r5.core#5.0.0), cdshooksrequestorchestration (hl7.fhir.r5.core#5.0.0), PlanDefinition (hl7.fhir.r5.core#5.0.0), RequestOrchestration (hl7.fhir.r5.core#5.0.0), cdshooksserviceplandefinition (hl7.fhir.r5.core#5.0.0), cdshooksrequestorchestration (hl7.fhir.r5.core#5.0.0), PlanDefinition (hl7.fhir.r5.core#5.0.0), RequestOrchestration (hl7.fhir.r5.core#5.0.0), cdshooksserviceplandefinition (hl7.fhir.r5.core#5.0.0), cdshooksrequestorchestration (hl7.fhir.r5.core#5.0.0), RequestOrchestration (hl7.fhir.r5.core#5.0.0), cdshooksrequestorchestration (hl7.fhir.r5.core#5.0.0), RequestOrchestration (hl7.fhir.r5.core#5.0.0) + - Version 3: PlanDefinition (hl7.fhir.r4.examples#4.0.1), cdshooksserviceplandefinition (hl7.fhir.r4.examples#4.0.1), cdshooksrequestgroup (hl7.fhir.r4.examples#4.0.1), RequestGroup (hl7.fhir.r4.examples#4.0.1) +- `urn:fhir:binding:ActionType` (3 versions) + - Version 1: PlanDefinition (hl7.fhir.r4.core#4.0.1), cdshooksserviceplandefinition (hl7.fhir.r4.core#4.0.1), cdshooksrequestgroup (hl7.fhir.r4.core#4.0.1), RequestGroup (hl7.fhir.r4.core#4.0.1), PlanDefinition (hl7.fhir.r4.core#4.0.1), cdshooksserviceplandefinition (hl7.fhir.r4.core#4.0.1), cdshooksrequestgroup (hl7.fhir.r4.core#4.0.1), RequestGroup (hl7.fhir.r4.core#4.0.1), PlanDefinition (hl7.fhir.r4.core#4.0.1), cdshooksserviceplandefinition (hl7.fhir.r4.core#4.0.1), cdshooksrequestgroup (hl7.fhir.r4.core#4.0.1), RequestGroup (hl7.fhir.r4.core#4.0.1), PlanDefinition (hl7.fhir.r4.core#4.0.1), cdshooksserviceplandefinition (hl7.fhir.r4.core#4.0.1), cdshooksrequestgroup (hl7.fhir.r4.core#4.0.1), RequestGroup (hl7.fhir.r4.core#4.0.1), PlanDefinition (hl7.fhir.r4.core#4.0.1), cdshooksserviceplandefinition (hl7.fhir.r4.core#4.0.1), cdshooksrequestgroup (hl7.fhir.r4.core#4.0.1), RequestGroup (hl7.fhir.r4.core#4.0.1), PlanDefinition (hl7.fhir.r4.core#4.0.1), cdshooksserviceplandefinition (hl7.fhir.r4.core#4.0.1), cdshooksrequestgroup (hl7.fhir.r4.core#4.0.1), RequestGroup (hl7.fhir.r4.core#4.0.1), PlanDefinition (hl7.fhir.r4.core#4.0.1), cdshooksserviceplandefinition (hl7.fhir.r4.core#4.0.1), cdshooksrequestgroup (hl7.fhir.r4.core#4.0.1), RequestGroup (hl7.fhir.r4.core#4.0.1), PlanDefinition (hl7.fhir.r4.core#4.0.1), cdshooksserviceplandefinition (hl7.fhir.r4.core#4.0.1), cdshooksrequestgroup (hl7.fhir.r4.core#4.0.1), RequestGroup (hl7.fhir.r4.core#4.0.1), PlanDefinition (hl7.fhir.r4.core#4.0.1), cdshooksserviceplandefinition (hl7.fhir.r4.core#4.0.1), cdshooksrequestgroup (hl7.fhir.r4.core#4.0.1), RequestGroup (hl7.fhir.r4.core#4.0.1), PlanDefinition (hl7.fhir.r4.core#4.0.1), cdshooksserviceplandefinition (hl7.fhir.r4.core#4.0.1), cdshooksrequestgroup (hl7.fhir.r4.core#4.0.1), RequestGroup (hl7.fhir.r4.core#4.0.1) + - Version 2: cdshooksrequestorchestration (hl7.fhir.r5.core#5.0.0), PlanDefinition (hl7.fhir.r5.core#5.0.0), RequestOrchestration (hl7.fhir.r5.core#5.0.0), cdshooksserviceplandefinition (hl7.fhir.r5.core#5.0.0), cdshooksrequestorchestration (hl7.fhir.r5.core#5.0.0), PlanDefinition (hl7.fhir.r5.core#5.0.0), RequestOrchestration (hl7.fhir.r5.core#5.0.0), cdshooksserviceplandefinition (hl7.fhir.r5.core#5.0.0), cdshooksrequestorchestration (hl7.fhir.r5.core#5.0.0), PlanDefinition (hl7.fhir.r5.core#5.0.0), RequestOrchestration (hl7.fhir.r5.core#5.0.0), cdshooksserviceplandefinition (hl7.fhir.r5.core#5.0.0), cdshooksrequestorchestration (hl7.fhir.r5.core#5.0.0), RequestOrchestration (hl7.fhir.r5.core#5.0.0), cdshooksrequestorchestration (hl7.fhir.r5.core#5.0.0), RequestOrchestration (hl7.fhir.r5.core#5.0.0) + - Version 3: PlanDefinition (hl7.fhir.r4.examples#4.0.1), cdshooksserviceplandefinition (hl7.fhir.r4.examples#4.0.1), cdshooksrequestgroup (hl7.fhir.r4.examples#4.0.1), RequestGroup (hl7.fhir.r4.examples#4.0.1) +- `urn:fhir:binding:ActivityDefinitionKind` (3 versions) + - Version 1: ActivityDefinition (hl7.fhir.r4.core#4.0.1), ActivityDefinition (hl7.fhir.r4.core#4.0.1), ActivityDefinition (hl7.fhir.r4.core#4.0.1), ActivityDefinition (hl7.fhir.r4.core#4.0.1), ActivityDefinition (hl7.fhir.r4.core#4.0.1), ActivityDefinition (hl7.fhir.r4.core#4.0.1), ActivityDefinition (hl7.fhir.r4.core#4.0.1), ActivityDefinition (hl7.fhir.r4.core#4.0.1), ActivityDefinition (hl7.fhir.r4.core#4.0.1), ActivityDefinition (hl7.fhir.r4.core#4.0.1) + - Version 2: ActivityDefinition (hl7.fhir.r5.core#5.0.0), ActivityDefinition (hl7.fhir.r5.core#5.0.0), ActivityDefinition (hl7.fhir.r5.core#5.0.0) + - Version 3: ActivityDefinition (hl7.fhir.r4.examples#4.0.1) +- `urn:fhir:binding:ActivityDefinitionType` (3 versions) + - Version 1: ActivityDefinition (hl7.fhir.r4.core#4.0.1), ActivityDefinition (hl7.fhir.r4.core#4.0.1), ActivityDefinition (hl7.fhir.r4.core#4.0.1), ActivityDefinition (hl7.fhir.r4.core#4.0.1), ActivityDefinition (hl7.fhir.r4.core#4.0.1), ActivityDefinition (hl7.fhir.r4.core#4.0.1), ActivityDefinition (hl7.fhir.r4.core#4.0.1), ActivityDefinition (hl7.fhir.r4.core#4.0.1), ActivityDefinition (hl7.fhir.r4.core#4.0.1), ActivityDefinition (hl7.fhir.r4.core#4.0.1) + - Version 2: ActivityDefinition (hl7.fhir.r5.core#5.0.0), ActivityDefinition (hl7.fhir.r5.core#5.0.0), ActivityDefinition (hl7.fhir.r5.core#5.0.0) + - Version 3: ActivityDefinition (hl7.fhir.r4.examples#4.0.1) +- `urn:fhir:binding:ActivityParticipantRole` (3 versions) + - Version 1: ActivityDefinition (hl7.fhir.r4.core#4.0.1), ActivityDefinition (hl7.fhir.r4.core#4.0.1), ActivityDefinition (hl7.fhir.r4.core#4.0.1), ActivityDefinition (hl7.fhir.r4.core#4.0.1), ActivityDefinition (hl7.fhir.r4.core#4.0.1), ActivityDefinition (hl7.fhir.r4.core#4.0.1), ActivityDefinition (hl7.fhir.r4.core#4.0.1), ActivityDefinition (hl7.fhir.r4.core#4.0.1), ActivityDefinition (hl7.fhir.r4.core#4.0.1), ActivityDefinition (hl7.fhir.r4.core#4.0.1) + - Version 2: RequestOrchestration (hl7.fhir.r5.core#5.0.0), ActivityDefinition (hl7.fhir.r5.core#5.0.0), RequestOrchestration (hl7.fhir.r5.core#5.0.0), ActivityDefinition (hl7.fhir.r5.core#5.0.0), RequestOrchestration (hl7.fhir.r5.core#5.0.0), ActivityDefinition (hl7.fhir.r5.core#5.0.0), RequestOrchestration (hl7.fhir.r5.core#5.0.0), RequestOrchestration (hl7.fhir.r5.core#5.0.0) + - Version 3: ActivityDefinition (hl7.fhir.r4.examples#4.0.1) +- `urn:fhir:binding:ActivityParticipantType` (3 versions) + - Version 1: PlanDefinition (hl7.fhir.r5.core#5.0.0), RequestOrchestration (hl7.fhir.r5.core#5.0.0), ActivityDefinition (hl7.fhir.r5.core#5.0.0), PlanDefinition (hl7.fhir.r5.core#5.0.0), RequestOrchestration (hl7.fhir.r5.core#5.0.0), ActivityDefinition (hl7.fhir.r5.core#5.0.0), PlanDefinition (hl7.fhir.r5.core#5.0.0), RequestOrchestration (hl7.fhir.r5.core#5.0.0), ActivityDefinition (hl7.fhir.r5.core#5.0.0), RequestOrchestration (hl7.fhir.r5.core#5.0.0), RequestOrchestration (hl7.fhir.r5.core#5.0.0) + - Version 2: ActivityDefinition (hl7.fhir.r4.core#4.0.1), ActivityDefinition (hl7.fhir.r4.core#4.0.1), ActivityDefinition (hl7.fhir.r4.core#4.0.1), ActivityDefinition (hl7.fhir.r4.core#4.0.1), ActivityDefinition (hl7.fhir.r4.core#4.0.1), ActivityDefinition (hl7.fhir.r4.core#4.0.1), ActivityDefinition (hl7.fhir.r4.core#4.0.1), ActivityDefinition (hl7.fhir.r4.core#4.0.1), ActivityDefinition (hl7.fhir.r4.core#4.0.1), ActivityDefinition (hl7.fhir.r4.core#4.0.1) + - Version 3: ActivityDefinition (hl7.fhir.r4.examples#4.0.1) +- `urn:fhir:binding:AdditionalInstruction` (3 versions) + - Version 1: Dosage (hl7.fhir.r4.core#4.0.1), Dosage (hl7.fhir.r4.core#4.0.1), Dosage (hl7.fhir.r4.core#4.0.1), Dosage (hl7.fhir.r4.core#4.0.1), Dosage (hl7.fhir.r4.core#4.0.1), Dosage (hl7.fhir.r4.core#4.0.1), Dosage (hl7.fhir.r4.core#4.0.1), Dosage (hl7.fhir.r4.core#4.0.1), Dosage (hl7.fhir.r4.core#4.0.1), Dosage (hl7.fhir.r4.core#4.0.1) + - Version 2: Dosage (hl7.fhir.r5.core#5.0.0), Dosage (hl7.fhir.r5.core#5.0.0), Dosage (hl7.fhir.r5.core#5.0.0) + - Version 3: Dosage (hl7.fhir.r4.examples#4.0.1) +- `urn:fhir:binding:AddressType` (3 versions) + - Version 1: Address (hl7.fhir.r4.core#4.0.1), Address (hl7.fhir.r4.core#4.0.1), Address (hl7.fhir.r4.core#4.0.1), Address (hl7.fhir.r4.core#4.0.1), Address (hl7.fhir.r4.core#4.0.1), Address (hl7.fhir.r4.core#4.0.1), Address (hl7.fhir.r4.core#4.0.1), Address (hl7.fhir.r4.core#4.0.1), Address (hl7.fhir.r4.core#4.0.1), Address (hl7.fhir.r4.core#4.0.1) + - Version 2: Address (hl7.fhir.r5.core#5.0.0), Address (hl7.fhir.r5.core#5.0.0), Address (hl7.fhir.r5.core#5.0.0) + - Version 3: Address (hl7.fhir.r4.examples#4.0.1) +- `urn:fhir:binding:AddressUse` (3 versions) + - Version 1: Address (hl7.fhir.r4.core#4.0.1), Address (hl7.fhir.r4.core#4.0.1), Address (hl7.fhir.r4.core#4.0.1), Address (hl7.fhir.r4.core#4.0.1), Address (hl7.fhir.r4.core#4.0.1), Address (hl7.fhir.r4.core#4.0.1), Address (hl7.fhir.r4.core#4.0.1), Address (hl7.fhir.r4.core#4.0.1), Address (hl7.fhir.r4.core#4.0.1), Address (hl7.fhir.r4.core#4.0.1) + - Version 2: Address (hl7.fhir.r5.core#5.0.0), Address (hl7.fhir.r5.core#5.0.0), Address (hl7.fhir.r5.core#5.0.0) + - Version 3: Address (hl7.fhir.r4.examples#4.0.1) +- `urn:fhir:binding:Adjudication` (3 versions) + - Version 1: ClaimResponse (hl7.fhir.r4.core#4.0.1), ExplanationOfBenefit (hl7.fhir.r4.core#4.0.1), ClaimResponse (hl7.fhir.r4.core#4.0.1), ExplanationOfBenefit (hl7.fhir.r4.core#4.0.1), ClaimResponse (hl7.fhir.r4.core#4.0.1), ExplanationOfBenefit (hl7.fhir.r4.core#4.0.1), ClaimResponse (hl7.fhir.r4.core#4.0.1), ExplanationOfBenefit (hl7.fhir.r4.core#4.0.1), ClaimResponse (hl7.fhir.r4.core#4.0.1), ExplanationOfBenefit (hl7.fhir.r4.core#4.0.1), ClaimResponse (hl7.fhir.r4.core#4.0.1), ExplanationOfBenefit (hl7.fhir.r4.core#4.0.1), ClaimResponse (hl7.fhir.r4.core#4.0.1), ExplanationOfBenefit (hl7.fhir.r4.core#4.0.1), ClaimResponse (hl7.fhir.r4.core#4.0.1), ExplanationOfBenefit (hl7.fhir.r4.core#4.0.1), ClaimResponse (hl7.fhir.r4.core#4.0.1), ExplanationOfBenefit (hl7.fhir.r4.core#4.0.1), ClaimResponse (hl7.fhir.r4.core#4.0.1), ExplanationOfBenefit (hl7.fhir.r4.core#4.0.1) + - Version 2: ClaimResponse (hl7.fhir.r5.core#5.0.0), ExplanationOfBenefit (hl7.fhir.r5.core#5.0.0), ClaimResponse (hl7.fhir.r5.core#5.0.0), ExplanationOfBenefit (hl7.fhir.r5.core#5.0.0), ClaimResponse (hl7.fhir.r5.core#5.0.0), ExplanationOfBenefit (hl7.fhir.r5.core#5.0.0) + - Version 3: ClaimResponse (hl7.fhir.r4.examples#4.0.1), ExplanationOfBenefit (hl7.fhir.r4.examples#4.0.1) +- `urn:fhir:binding:AdjudicationError` (3 versions) + - Version 1: ClaimResponse (hl7.fhir.r4.core#4.0.1), CoverageEligibilityResponse (hl7.fhir.r4.core#4.0.1), ClaimResponse (hl7.fhir.r4.core#4.0.1), CoverageEligibilityResponse (hl7.fhir.r4.core#4.0.1), ClaimResponse (hl7.fhir.r4.core#4.0.1), CoverageEligibilityResponse (hl7.fhir.r4.core#4.0.1), ClaimResponse (hl7.fhir.r4.core#4.0.1), CoverageEligibilityResponse (hl7.fhir.r4.core#4.0.1), ClaimResponse (hl7.fhir.r4.core#4.0.1), CoverageEligibilityResponse (hl7.fhir.r4.core#4.0.1), ClaimResponse (hl7.fhir.r4.core#4.0.1), CoverageEligibilityResponse (hl7.fhir.r4.core#4.0.1), ClaimResponse (hl7.fhir.r4.core#4.0.1), CoverageEligibilityResponse (hl7.fhir.r4.core#4.0.1), ClaimResponse (hl7.fhir.r4.core#4.0.1), CoverageEligibilityResponse (hl7.fhir.r4.core#4.0.1), ClaimResponse (hl7.fhir.r4.core#4.0.1), CoverageEligibilityResponse (hl7.fhir.r4.core#4.0.1), ClaimResponse (hl7.fhir.r4.core#4.0.1), CoverageEligibilityResponse (hl7.fhir.r4.core#4.0.1) + - Version 2: ClaimResponse (hl7.fhir.r5.core#5.0.0), CoverageEligibilityResponse (hl7.fhir.r5.core#5.0.0), ClaimResponse (hl7.fhir.r5.core#5.0.0), CoverageEligibilityResponse (hl7.fhir.r5.core#5.0.0), ClaimResponse (hl7.fhir.r5.core#5.0.0), CoverageEligibilityResponse (hl7.fhir.r5.core#5.0.0) + - Version 3: ClaimResponse (hl7.fhir.r4.examples#4.0.1), CoverageEligibilityResponse (hl7.fhir.r4.examples#4.0.1) +- `urn:fhir:binding:AdjudicationReason` (3 versions) + - Version 1: ClaimResponse (hl7.fhir.r4.core#4.0.1), ExplanationOfBenefit (hl7.fhir.r4.core#4.0.1), ClaimResponse (hl7.fhir.r4.core#4.0.1), ExplanationOfBenefit (hl7.fhir.r4.core#4.0.1), ClaimResponse (hl7.fhir.r4.core#4.0.1), ExplanationOfBenefit (hl7.fhir.r4.core#4.0.1), ClaimResponse (hl7.fhir.r4.core#4.0.1), ExplanationOfBenefit (hl7.fhir.r4.core#4.0.1), ClaimResponse (hl7.fhir.r4.core#4.0.1), ExplanationOfBenefit (hl7.fhir.r4.core#4.0.1), ClaimResponse (hl7.fhir.r4.core#4.0.1), ExplanationOfBenefit (hl7.fhir.r4.core#4.0.1), ClaimResponse (hl7.fhir.r4.core#4.0.1), ExplanationOfBenefit (hl7.fhir.r4.core#4.0.1), ClaimResponse (hl7.fhir.r4.core#4.0.1), ExplanationOfBenefit (hl7.fhir.r4.core#4.0.1), ClaimResponse (hl7.fhir.r4.core#4.0.1), ExplanationOfBenefit (hl7.fhir.r4.core#4.0.1), ClaimResponse (hl7.fhir.r4.core#4.0.1), ExplanationOfBenefit (hl7.fhir.r4.core#4.0.1) + - Version 2: ClaimResponse (hl7.fhir.r5.core#5.0.0), ExplanationOfBenefit (hl7.fhir.r5.core#5.0.0), ClaimResponse (hl7.fhir.r5.core#5.0.0), ExplanationOfBenefit (hl7.fhir.r5.core#5.0.0), ClaimResponse (hl7.fhir.r5.core#5.0.0), ExplanationOfBenefit (hl7.fhir.r5.core#5.0.0) + - Version 3: ClaimResponse (hl7.fhir.r4.examples#4.0.1), ExplanationOfBenefit (hl7.fhir.r4.examples#4.0.1) +- `urn:fhir:binding:AdjunctDiagnosis` (3 versions) + - Version 1: lipidprofile (hl7.fhir.r4.core#4.0.1), DiagnosticReport (hl7.fhir.r4.core#4.0.1), diagnosticreport-genetics (hl7.fhir.r4.core#4.0.1), lipidprofile (hl7.fhir.r4.core#4.0.1), DiagnosticReport (hl7.fhir.r4.core#4.0.1), diagnosticreport-genetics (hl7.fhir.r4.core#4.0.1), lipidprofile (hl7.fhir.r4.core#4.0.1), DiagnosticReport (hl7.fhir.r4.core#4.0.1), diagnosticreport-genetics (hl7.fhir.r4.core#4.0.1), lipidprofile (hl7.fhir.r4.core#4.0.1), DiagnosticReport (hl7.fhir.r4.core#4.0.1), diagnosticreport-genetics (hl7.fhir.r4.core#4.0.1), lipidprofile (hl7.fhir.r4.core#4.0.1), DiagnosticReport (hl7.fhir.r4.core#4.0.1), diagnosticreport-genetics (hl7.fhir.r4.core#4.0.1), lipidprofile (hl7.fhir.r4.core#4.0.1), DiagnosticReport (hl7.fhir.r4.core#4.0.1), diagnosticreport-genetics (hl7.fhir.r4.core#4.0.1), lipidprofile (hl7.fhir.r4.core#4.0.1), DiagnosticReport (hl7.fhir.r4.core#4.0.1), diagnosticreport-genetics (hl7.fhir.r4.core#4.0.1), lipidprofile (hl7.fhir.r4.core#4.0.1), DiagnosticReport (hl7.fhir.r4.core#4.0.1), diagnosticreport-genetics (hl7.fhir.r4.core#4.0.1), lipidprofile (hl7.fhir.r4.core#4.0.1), DiagnosticReport (hl7.fhir.r4.core#4.0.1), diagnosticreport-genetics (hl7.fhir.r4.core#4.0.1), lipidprofile (hl7.fhir.r4.core#4.0.1), DiagnosticReport (hl7.fhir.r4.core#4.0.1), diagnosticreport-genetics (hl7.fhir.r4.core#4.0.1) + - Version 2: lipidprofile (hl7.fhir.r5.core#5.0.0), DiagnosticReport (hl7.fhir.r5.core#5.0.0), lipidprofile (hl7.fhir.r5.core#5.0.0), DiagnosticReport (hl7.fhir.r5.core#5.0.0), lipidprofile (hl7.fhir.r5.core#5.0.0), DiagnosticReport (hl7.fhir.r5.core#5.0.0) + - Version 3: lipidprofile (hl7.fhir.r4.examples#4.0.1), DiagnosticReport (hl7.fhir.r4.examples#4.0.1), diagnosticreport-genetics (hl7.fhir.r4.examples#4.0.1) +- `urn:fhir:binding:AdministrativeGender` (3 versions) + - Version 1: ObservationDefinition (hl7.fhir.r4.core#4.0.1), RelatedPerson (hl7.fhir.r4.core#4.0.1), Practitioner (hl7.fhir.r4.core#4.0.1), Patient (hl7.fhir.r4.core#4.0.1), Person (hl7.fhir.r4.core#4.0.1), ObservationDefinition (hl7.fhir.r4.core#4.0.1), RelatedPerson (hl7.fhir.r4.core#4.0.1), Practitioner (hl7.fhir.r4.core#4.0.1), Patient (hl7.fhir.r4.core#4.0.1), Person (hl7.fhir.r4.core#4.0.1), ObservationDefinition (hl7.fhir.r4.core#4.0.1), RelatedPerson (hl7.fhir.r4.core#4.0.1), Practitioner (hl7.fhir.r4.core#4.0.1), Patient (hl7.fhir.r4.core#4.0.1), Person (hl7.fhir.r4.core#4.0.1), ObservationDefinition (hl7.fhir.r4.core#4.0.1), RelatedPerson (hl7.fhir.r4.core#4.0.1), Practitioner (hl7.fhir.r4.core#4.0.1), Patient (hl7.fhir.r4.core#4.0.1), Person (hl7.fhir.r4.core#4.0.1), ObservationDefinition (hl7.fhir.r4.core#4.0.1), RelatedPerson (hl7.fhir.r4.core#4.0.1), Practitioner (hl7.fhir.r4.core#4.0.1), Patient (hl7.fhir.r4.core#4.0.1), Person (hl7.fhir.r4.core#4.0.1), ObservationDefinition (hl7.fhir.r4.core#4.0.1), RelatedPerson (hl7.fhir.r4.core#4.0.1), Practitioner (hl7.fhir.r4.core#4.0.1), Patient (hl7.fhir.r4.core#4.0.1), Person (hl7.fhir.r4.core#4.0.1), ObservationDefinition (hl7.fhir.r4.core#4.0.1), RelatedPerson (hl7.fhir.r4.core#4.0.1), Practitioner (hl7.fhir.r4.core#4.0.1), Patient (hl7.fhir.r4.core#4.0.1), Person (hl7.fhir.r4.core#4.0.1), ObservationDefinition (hl7.fhir.r4.core#4.0.1), RelatedPerson (hl7.fhir.r4.core#4.0.1), Practitioner (hl7.fhir.r4.core#4.0.1), Patient (hl7.fhir.r4.core#4.0.1), Person (hl7.fhir.r4.core#4.0.1), ObservationDefinition (hl7.fhir.r4.core#4.0.1), RelatedPerson (hl7.fhir.r4.core#4.0.1), Practitioner (hl7.fhir.r4.core#4.0.1), Patient (hl7.fhir.r4.core#4.0.1), Person (hl7.fhir.r4.core#4.0.1), ObservationDefinition (hl7.fhir.r4.core#4.0.1), RelatedPerson (hl7.fhir.r4.core#4.0.1), Practitioner (hl7.fhir.r4.core#4.0.1), Patient (hl7.fhir.r4.core#4.0.1), Person (hl7.fhir.r4.core#4.0.1) + - Version 2: ObservationDefinition (hl7.fhir.r5.core#5.0.0), RelatedPerson (hl7.fhir.r5.core#5.0.0), Practitioner (hl7.fhir.r5.core#5.0.0), Patient (hl7.fhir.r5.core#5.0.0), Person (hl7.fhir.r5.core#5.0.0), ObservationDefinition (hl7.fhir.r5.core#5.0.0), RelatedPerson (hl7.fhir.r5.core#5.0.0), Practitioner (hl7.fhir.r5.core#5.0.0), Patient (hl7.fhir.r5.core#5.0.0), Person (hl7.fhir.r5.core#5.0.0), ObservationDefinition (hl7.fhir.r5.core#5.0.0), RelatedPerson (hl7.fhir.r5.core#5.0.0), Practitioner (hl7.fhir.r5.core#5.0.0), Patient (hl7.fhir.r5.core#5.0.0), Person (hl7.fhir.r5.core#5.0.0) + - Version 3: ObservationDefinition (hl7.fhir.r4.examples#4.0.1), RelatedPerson (hl7.fhir.r4.examples#4.0.1), Practitioner (hl7.fhir.r4.examples#4.0.1), Patient (hl7.fhir.r4.examples#4.0.1), Person (hl7.fhir.r4.examples#4.0.1) +- `urn:fhir:binding:AdmitSource` (3 versions) + - Version 1: Encounter (hl7.fhir.r4.core#4.0.1), Encounter (hl7.fhir.r4.core#4.0.1), Encounter (hl7.fhir.r4.core#4.0.1), Encounter (hl7.fhir.r4.core#4.0.1), Encounter (hl7.fhir.r4.core#4.0.1), Encounter (hl7.fhir.r4.core#4.0.1), Encounter (hl7.fhir.r4.core#4.0.1), Encounter (hl7.fhir.r4.core#4.0.1), Encounter (hl7.fhir.r4.core#4.0.1), Encounter (hl7.fhir.r4.core#4.0.1) + - Version 2: Encounter (hl7.fhir.r5.core#5.0.0), Encounter (hl7.fhir.r5.core#5.0.0), Encounter (hl7.fhir.r5.core#5.0.0) + - Version 3: Encounter (hl7.fhir.r4.examples#4.0.1) +- `urn:fhir:binding:AdverseEventActuality` (3 versions) + - Version 1: AdverseEvent (hl7.fhir.r4.core#4.0.1), AdverseEvent (hl7.fhir.r4.core#4.0.1), AdverseEvent (hl7.fhir.r4.core#4.0.1), AdverseEvent (hl7.fhir.r4.core#4.0.1), AdverseEvent (hl7.fhir.r4.core#4.0.1), AdverseEvent (hl7.fhir.r4.core#4.0.1), AdverseEvent (hl7.fhir.r4.core#4.0.1), AdverseEvent (hl7.fhir.r4.core#4.0.1), AdverseEvent (hl7.fhir.r4.core#4.0.1), AdverseEvent (hl7.fhir.r4.core#4.0.1) + - Version 2: AdverseEvent (hl7.fhir.r5.core#5.0.0), AdverseEvent (hl7.fhir.r5.core#5.0.0), AdverseEvent (hl7.fhir.r5.core#5.0.0) + - Version 3: AdverseEvent (hl7.fhir.r4.examples#4.0.1) +- `urn:fhir:binding:AdverseEventCategory` (3 versions) + - Version 1: AdverseEvent (hl7.fhir.r4.core#4.0.1), AdverseEvent (hl7.fhir.r4.core#4.0.1), AdverseEvent (hl7.fhir.r4.core#4.0.1), AdverseEvent (hl7.fhir.r4.core#4.0.1), AdverseEvent (hl7.fhir.r4.core#4.0.1), AdverseEvent (hl7.fhir.r4.core#4.0.1), AdverseEvent (hl7.fhir.r4.core#4.0.1), AdverseEvent (hl7.fhir.r4.core#4.0.1), AdverseEvent (hl7.fhir.r4.core#4.0.1), AdverseEvent (hl7.fhir.r4.core#4.0.1) + - Version 2: AdverseEvent (hl7.fhir.r5.core#5.0.0), AdverseEvent (hl7.fhir.r5.core#5.0.0), AdverseEvent (hl7.fhir.r5.core#5.0.0) + - Version 3: AdverseEvent (hl7.fhir.r4.examples#4.0.1) +- `urn:fhir:binding:AdverseEventCausalityAssessment` (3 versions) + - Version 1: AdverseEvent (hl7.fhir.r4.core#4.0.1), AdverseEvent (hl7.fhir.r4.core#4.0.1), AdverseEvent (hl7.fhir.r4.core#4.0.1), AdverseEvent (hl7.fhir.r4.core#4.0.1), AdverseEvent (hl7.fhir.r4.core#4.0.1), AdverseEvent (hl7.fhir.r4.core#4.0.1), AdverseEvent (hl7.fhir.r4.core#4.0.1), AdverseEvent (hl7.fhir.r4.core#4.0.1), AdverseEvent (hl7.fhir.r4.core#4.0.1), AdverseEvent (hl7.fhir.r4.core#4.0.1) + - Version 2: AdverseEvent (hl7.fhir.r5.core#5.0.0), AdverseEvent (hl7.fhir.r5.core#5.0.0), AdverseEvent (hl7.fhir.r5.core#5.0.0) + - Version 3: AdverseEvent (hl7.fhir.r4.examples#4.0.1) +- `urn:fhir:binding:AdverseEventCausalityMethod` (3 versions) + - Version 1: AdverseEvent (hl7.fhir.r4.core#4.0.1), AdverseEvent (hl7.fhir.r4.core#4.0.1), AdverseEvent (hl7.fhir.r4.core#4.0.1), AdverseEvent (hl7.fhir.r4.core#4.0.1), AdverseEvent (hl7.fhir.r4.core#4.0.1), AdverseEvent (hl7.fhir.r4.core#4.0.1), AdverseEvent (hl7.fhir.r4.core#4.0.1), AdverseEvent (hl7.fhir.r4.core#4.0.1), AdverseEvent (hl7.fhir.r4.core#4.0.1), AdverseEvent (hl7.fhir.r4.core#4.0.1) + - Version 2: AdverseEvent (hl7.fhir.r5.core#5.0.0), AdverseEvent (hl7.fhir.r5.core#5.0.0), AdverseEvent (hl7.fhir.r5.core#5.0.0) + - Version 3: AdverseEvent (hl7.fhir.r4.examples#4.0.1) +- `urn:fhir:binding:AdverseEventOutcome` (3 versions) + - Version 1: AdverseEvent (hl7.fhir.r4.core#4.0.1), AdverseEvent (hl7.fhir.r4.core#4.0.1), AdverseEvent (hl7.fhir.r4.core#4.0.1), AdverseEvent (hl7.fhir.r4.core#4.0.1), AdverseEvent (hl7.fhir.r4.core#4.0.1), AdverseEvent (hl7.fhir.r4.core#4.0.1), AdverseEvent (hl7.fhir.r4.core#4.0.1), AdverseEvent (hl7.fhir.r4.core#4.0.1), AdverseEvent (hl7.fhir.r4.core#4.0.1), AdverseEvent (hl7.fhir.r4.core#4.0.1) + - Version 2: AdverseEvent (hl7.fhir.r5.core#5.0.0), AdverseEvent (hl7.fhir.r5.core#5.0.0), AdverseEvent (hl7.fhir.r5.core#5.0.0) + - Version 3: AdverseEvent (hl7.fhir.r4.examples#4.0.1) +- `urn:fhir:binding:AdverseEventSeriousness` (3 versions) + - Version 1: AdverseEvent (hl7.fhir.r4.core#4.0.1), AdverseEvent (hl7.fhir.r4.core#4.0.1), AdverseEvent (hl7.fhir.r4.core#4.0.1), AdverseEvent (hl7.fhir.r4.core#4.0.1), AdverseEvent (hl7.fhir.r4.core#4.0.1), AdverseEvent (hl7.fhir.r4.core#4.0.1), AdverseEvent (hl7.fhir.r4.core#4.0.1), AdverseEvent (hl7.fhir.r4.core#4.0.1), AdverseEvent (hl7.fhir.r4.core#4.0.1), AdverseEvent (hl7.fhir.r4.core#4.0.1) + - Version 2: AdverseEvent (hl7.fhir.r5.core#5.0.0), AdverseEvent (hl7.fhir.r5.core#5.0.0), AdverseEvent (hl7.fhir.r5.core#5.0.0) + - Version 3: AdverseEvent (hl7.fhir.r4.examples#4.0.1) +- `urn:fhir:binding:AdverseEventSeverity` (2 versions) + - Version 1: AdverseEvent (hl7.fhir.r4.core#4.0.1), AdverseEvent (hl7.fhir.r4.core#4.0.1), AdverseEvent (hl7.fhir.r4.core#4.0.1), AdverseEvent (hl7.fhir.r4.core#4.0.1), AdverseEvent (hl7.fhir.r4.core#4.0.1), AdverseEvent (hl7.fhir.r4.core#4.0.1), AdverseEvent (hl7.fhir.r4.core#4.0.1), AdverseEvent (hl7.fhir.r4.core#4.0.1), AdverseEvent (hl7.fhir.r4.core#4.0.1), AdverseEvent (hl7.fhir.r4.core#4.0.1) + - Version 2: AdverseEvent (hl7.fhir.r4.examples#4.0.1) +- `urn:fhir:binding:AdverseEventType` (3 versions) + - Version 1: AdverseEvent (hl7.fhir.r4.core#4.0.1), AdverseEvent (hl7.fhir.r4.core#4.0.1), AdverseEvent (hl7.fhir.r4.core#4.0.1), AdverseEvent (hl7.fhir.r4.core#4.0.1), AdverseEvent (hl7.fhir.r4.core#4.0.1), AdverseEvent (hl7.fhir.r4.core#4.0.1), AdverseEvent (hl7.fhir.r4.core#4.0.1), AdverseEvent (hl7.fhir.r4.core#4.0.1), AdverseEvent (hl7.fhir.r4.core#4.0.1), AdverseEvent (hl7.fhir.r4.core#4.0.1) + - Version 2: AdverseEvent (hl7.fhir.r5.core#5.0.0), AdverseEvent (hl7.fhir.r5.core#5.0.0), AdverseEvent (hl7.fhir.r5.core#5.0.0) + - Version 3: AdverseEvent (hl7.fhir.r4.examples#4.0.1) +- `urn:fhir:binding:AggregationMode` (3 versions) + - Version 1: ElementDefinition (hl7.fhir.r4.core#4.0.1), elementdefinition-de (hl7.fhir.r4.core#4.0.1), ElementDefinition (hl7.fhir.r4.core#4.0.1), elementdefinition-de (hl7.fhir.r4.core#4.0.1), ElementDefinition (hl7.fhir.r4.core#4.0.1), elementdefinition-de (hl7.fhir.r4.core#4.0.1), ElementDefinition (hl7.fhir.r4.core#4.0.1), elementdefinition-de (hl7.fhir.r4.core#4.0.1), ElementDefinition (hl7.fhir.r4.core#4.0.1), elementdefinition-de (hl7.fhir.r4.core#4.0.1), ElementDefinition (hl7.fhir.r4.core#4.0.1), elementdefinition-de (hl7.fhir.r4.core#4.0.1), ElementDefinition (hl7.fhir.r4.core#4.0.1), elementdefinition-de (hl7.fhir.r4.core#4.0.1), ElementDefinition (hl7.fhir.r4.core#4.0.1), elementdefinition-de (hl7.fhir.r4.core#4.0.1), ElementDefinition (hl7.fhir.r4.core#4.0.1), elementdefinition-de (hl7.fhir.r4.core#4.0.1), ElementDefinition (hl7.fhir.r4.core#4.0.1), elementdefinition-de (hl7.fhir.r4.core#4.0.1) + - Version 2: ElementDefinition (hl7.fhir.r5.core#5.0.0), elementdefinition-de (hl7.fhir.r5.core#5.0.0), ElementDefinition (hl7.fhir.r5.core#5.0.0), elementdefinition-de (hl7.fhir.r5.core#5.0.0), ElementDefinition (hl7.fhir.r5.core#5.0.0), elementdefinition-de (hl7.fhir.r5.core#5.0.0) + - Version 3: ElementDefinition (hl7.fhir.r4.examples#4.0.1), elementdefinition-de (hl7.fhir.r4.examples#4.0.1) +- `urn:fhir:binding:AllergyIntoleranceCategory` (3 versions) + - Version 1: AllergyIntolerance (hl7.fhir.r4.core#4.0.1), AllergyIntolerance (hl7.fhir.r4.core#4.0.1), AllergyIntolerance (hl7.fhir.r4.core#4.0.1), AllergyIntolerance (hl7.fhir.r4.core#4.0.1), AllergyIntolerance (hl7.fhir.r4.core#4.0.1), AllergyIntolerance (hl7.fhir.r4.core#4.0.1), AllergyIntolerance (hl7.fhir.r4.core#4.0.1), AllergyIntolerance (hl7.fhir.r4.core#4.0.1), AllergyIntolerance (hl7.fhir.r4.core#4.0.1), AllergyIntolerance (hl7.fhir.r4.core#4.0.1) + - Version 2: AllergyIntolerance (hl7.fhir.r5.core#5.0.0), AllergyIntolerance (hl7.fhir.r5.core#5.0.0), AllergyIntolerance (hl7.fhir.r5.core#5.0.0) + - Version 3: AllergyIntolerance (hl7.fhir.r4.examples#4.0.1) +- `urn:fhir:binding:AllergyIntoleranceClinicalStatus` (3 versions) + - Version 1: AllergyIntolerance (hl7.fhir.r4.core#4.0.1), AllergyIntolerance (hl7.fhir.r4.core#4.0.1), AllergyIntolerance (hl7.fhir.r4.core#4.0.1), AllergyIntolerance (hl7.fhir.r4.core#4.0.1), AllergyIntolerance (hl7.fhir.r4.core#4.0.1), AllergyIntolerance (hl7.fhir.r4.core#4.0.1), AllergyIntolerance (hl7.fhir.r4.core#4.0.1), AllergyIntolerance (hl7.fhir.r4.core#4.0.1), AllergyIntolerance (hl7.fhir.r4.core#4.0.1), AllergyIntolerance (hl7.fhir.r4.core#4.0.1) + - Version 2: AllergyIntolerance (hl7.fhir.r5.core#5.0.0), AllergyIntolerance (hl7.fhir.r5.core#5.0.0), AllergyIntolerance (hl7.fhir.r5.core#5.0.0) + - Version 3: AllergyIntolerance (hl7.fhir.r4.examples#4.0.1) +- `urn:fhir:binding:AllergyIntoleranceCode` (3 versions) + - Version 1: AllergyIntolerance (hl7.fhir.r4.core#4.0.1), AllergyIntolerance (hl7.fhir.r4.core#4.0.1), AllergyIntolerance (hl7.fhir.r4.core#4.0.1), AllergyIntolerance (hl7.fhir.r4.core#4.0.1), AllergyIntolerance (hl7.fhir.r4.core#4.0.1), AllergyIntolerance (hl7.fhir.r4.core#4.0.1), AllergyIntolerance (hl7.fhir.r4.core#4.0.1), AllergyIntolerance (hl7.fhir.r4.core#4.0.1), AllergyIntolerance (hl7.fhir.r4.core#4.0.1), AllergyIntolerance (hl7.fhir.r4.core#4.0.1) + - Version 2: AllergyIntolerance (hl7.fhir.r5.core#5.0.0), AllergyIntolerance (hl7.fhir.r5.core#5.0.0), AllergyIntolerance (hl7.fhir.r5.core#5.0.0) + - Version 3: AllergyIntolerance (hl7.fhir.r4.examples#4.0.1) +- `urn:fhir:binding:AllergyIntoleranceCriticality` (3 versions) + - Version 1: AllergyIntolerance (hl7.fhir.r4.core#4.0.1), AllergyIntolerance (hl7.fhir.r4.core#4.0.1), AllergyIntolerance (hl7.fhir.r4.core#4.0.1), AllergyIntolerance (hl7.fhir.r4.core#4.0.1), AllergyIntolerance (hl7.fhir.r4.core#4.0.1), AllergyIntolerance (hl7.fhir.r4.core#4.0.1), AllergyIntolerance (hl7.fhir.r4.core#4.0.1), AllergyIntolerance (hl7.fhir.r4.core#4.0.1), AllergyIntolerance (hl7.fhir.r4.core#4.0.1), AllergyIntolerance (hl7.fhir.r4.core#4.0.1) + - Version 2: AllergyIntolerance (hl7.fhir.r5.core#5.0.0), AllergyIntolerance (hl7.fhir.r5.core#5.0.0), AllergyIntolerance (hl7.fhir.r5.core#5.0.0) + - Version 3: AllergyIntolerance (hl7.fhir.r4.examples#4.0.1) +- `urn:fhir:binding:AllergyIntoleranceSeverity` (3 versions) + - Version 1: AllergyIntolerance (hl7.fhir.r4.core#4.0.1), AllergyIntolerance (hl7.fhir.r4.core#4.0.1), AllergyIntolerance (hl7.fhir.r4.core#4.0.1), AllergyIntolerance (hl7.fhir.r4.core#4.0.1), AllergyIntolerance (hl7.fhir.r4.core#4.0.1), AllergyIntolerance (hl7.fhir.r4.core#4.0.1), AllergyIntolerance (hl7.fhir.r4.core#4.0.1), AllergyIntolerance (hl7.fhir.r4.core#4.0.1), AllergyIntolerance (hl7.fhir.r4.core#4.0.1), AllergyIntolerance (hl7.fhir.r4.core#4.0.1) + - Version 2: AllergyIntolerance (hl7.fhir.r5.core#5.0.0), AllergyIntolerance (hl7.fhir.r5.core#5.0.0), AllergyIntolerance (hl7.fhir.r5.core#5.0.0) + - Version 3: AllergyIntolerance (hl7.fhir.r4.examples#4.0.1) +- `urn:fhir:binding:AllergyIntoleranceType` (3 versions) + - Version 1: AllergyIntolerance (hl7.fhir.r4.core#4.0.1), AllergyIntolerance (hl7.fhir.r4.core#4.0.1), AllergyIntolerance (hl7.fhir.r4.core#4.0.1), AllergyIntolerance (hl7.fhir.r4.core#4.0.1), AllergyIntolerance (hl7.fhir.r4.core#4.0.1), AllergyIntolerance (hl7.fhir.r4.core#4.0.1), AllergyIntolerance (hl7.fhir.r4.core#4.0.1), AllergyIntolerance (hl7.fhir.r4.core#4.0.1), AllergyIntolerance (hl7.fhir.r4.core#4.0.1), AllergyIntolerance (hl7.fhir.r4.core#4.0.1) + - Version 2: AllergyIntolerance (hl7.fhir.r5.core#5.0.0), AllergyIntolerance (hl7.fhir.r5.core#5.0.0), AllergyIntolerance (hl7.fhir.r5.core#5.0.0) + - Version 3: AllergyIntolerance (hl7.fhir.r4.examples#4.0.1) +- `urn:fhir:binding:AllergyIntoleranceVerificationStatus` (3 versions) + - Version 1: AllergyIntolerance (hl7.fhir.r4.core#4.0.1), AllergyIntolerance (hl7.fhir.r4.core#4.0.1), AllergyIntolerance (hl7.fhir.r4.core#4.0.1), AllergyIntolerance (hl7.fhir.r4.core#4.0.1), AllergyIntolerance (hl7.fhir.r4.core#4.0.1), AllergyIntolerance (hl7.fhir.r4.core#4.0.1), AllergyIntolerance (hl7.fhir.r4.core#4.0.1), AllergyIntolerance (hl7.fhir.r4.core#4.0.1), AllergyIntolerance (hl7.fhir.r4.core#4.0.1), AllergyIntolerance (hl7.fhir.r4.core#4.0.1) + - Version 2: AllergyIntolerance (hl7.fhir.r5.core#5.0.0), AllergyIntolerance (hl7.fhir.r5.core#5.0.0), AllergyIntolerance (hl7.fhir.r5.core#5.0.0) + - Version 3: AllergyIntolerance (hl7.fhir.r4.examples#4.0.1) +- `urn:fhir:binding:appointment-type` (2 versions) + - Version 1: Appointment (hl7.fhir.r4.core#4.0.1), Slot (hl7.fhir.r4.core#4.0.1), Appointment (hl7.fhir.r4.core#4.0.1), Slot (hl7.fhir.r4.core#4.0.1), Appointment (hl7.fhir.r4.core#4.0.1), Slot (hl7.fhir.r4.core#4.0.1), Appointment (hl7.fhir.r5.core#5.0.0), Slot (hl7.fhir.r5.core#5.0.0), Appointment (hl7.fhir.r5.core#5.0.0), Slot (hl7.fhir.r5.core#5.0.0), Appointment (hl7.fhir.r5.core#5.0.0), Slot (hl7.fhir.r5.core#5.0.0), Appointment (hl7.fhir.r4.core#4.0.1), Slot (hl7.fhir.r4.core#4.0.1), Appointment (hl7.fhir.r4.core#4.0.1), Slot (hl7.fhir.r4.core#4.0.1), Appointment (hl7.fhir.r4.core#4.0.1), Slot (hl7.fhir.r4.core#4.0.1), Appointment (hl7.fhir.r4.core#4.0.1), Slot (hl7.fhir.r4.core#4.0.1), Appointment (hl7.fhir.r4.core#4.0.1), Slot (hl7.fhir.r4.core#4.0.1), Appointment (hl7.fhir.r4.core#4.0.1), Slot (hl7.fhir.r4.core#4.0.1), Appointment (hl7.fhir.r4.core#4.0.1), Slot (hl7.fhir.r4.core#4.0.1) + - Version 2: Appointment (hl7.fhir.r4.examples#4.0.1), Slot (hl7.fhir.r4.examples#4.0.1) +- `urn:fhir:binding:AppointmentStatus` (3 versions) + - Version 1: Appointment (hl7.fhir.r4.core#4.0.1), Appointment (hl7.fhir.r4.core#4.0.1), Appointment (hl7.fhir.r4.core#4.0.1), Appointment (hl7.fhir.r4.core#4.0.1), Appointment (hl7.fhir.r4.core#4.0.1), Appointment (hl7.fhir.r4.core#4.0.1), Appointment (hl7.fhir.r4.core#4.0.1), Appointment (hl7.fhir.r4.core#4.0.1), Appointment (hl7.fhir.r4.core#4.0.1), Appointment (hl7.fhir.r4.core#4.0.1) + - Version 2: Appointment (hl7.fhir.r5.core#5.0.0), Appointment (hl7.fhir.r5.core#5.0.0), Appointment (hl7.fhir.r5.core#5.0.0) + - Version 3: Appointment (hl7.fhir.r4.examples#4.0.1) +- `urn:fhir:binding:ApptReason` (3 versions) + - Version 1: Appointment (hl7.fhir.r4.core#4.0.1), Appointment (hl7.fhir.r4.core#4.0.1), Appointment (hl7.fhir.r4.core#4.0.1), Appointment (hl7.fhir.r4.core#4.0.1), Appointment (hl7.fhir.r4.core#4.0.1), Appointment (hl7.fhir.r4.core#4.0.1), Appointment (hl7.fhir.r4.core#4.0.1), Appointment (hl7.fhir.r4.core#4.0.1), Appointment (hl7.fhir.r4.core#4.0.1), Appointment (hl7.fhir.r4.core#4.0.1) + - Version 2: Appointment (hl7.fhir.r5.core#5.0.0), Appointment (hl7.fhir.r5.core#5.0.0), Appointment (hl7.fhir.r5.core#5.0.0) + - Version 3: Appointment (hl7.fhir.r4.examples#4.0.1) +- `urn:fhir:binding:Arrangements` (3 versions) + - Version 1: Encounter (hl7.fhir.r4.core#4.0.1), Encounter (hl7.fhir.r4.core#4.0.1), Encounter (hl7.fhir.r4.core#4.0.1), Encounter (hl7.fhir.r4.core#4.0.1), Encounter (hl7.fhir.r4.core#4.0.1), Encounter (hl7.fhir.r4.core#4.0.1), Encounter (hl7.fhir.r4.core#4.0.1), Encounter (hl7.fhir.r4.core#4.0.1), Encounter (hl7.fhir.r4.core#4.0.1), Encounter (hl7.fhir.r4.core#4.0.1) + - Version 2: Encounter (hl7.fhir.r5.core#5.0.0), Encounter (hl7.fhir.r5.core#5.0.0), Encounter (hl7.fhir.r5.core#5.0.0) + - Version 3: Encounter (hl7.fhir.r4.examples#4.0.1) +- `urn:fhir:binding:AssertionDirectionType` (3 versions) + - Version 1: TestScript (hl7.fhir.r4.core#4.0.1), TestScript (hl7.fhir.r4.core#4.0.1), TestScript (hl7.fhir.r4.core#4.0.1), TestScript (hl7.fhir.r4.core#4.0.1), TestScript (hl7.fhir.r4.core#4.0.1), TestScript (hl7.fhir.r4.core#4.0.1), TestScript (hl7.fhir.r4.core#4.0.1), TestScript (hl7.fhir.r4.core#4.0.1), TestScript (hl7.fhir.r4.core#4.0.1), TestScript (hl7.fhir.r4.core#4.0.1) + - Version 2: TestScript (hl7.fhir.r5.core#5.0.0), TestScript (hl7.fhir.r5.core#5.0.0), TestScript (hl7.fhir.r5.core#5.0.0) + - Version 3: TestScript (hl7.fhir.r4.examples#4.0.1) +- `urn:fhir:binding:AssertionOperatorType` (3 versions) + - Version 1: TestScript (hl7.fhir.r4.core#4.0.1), TestScript (hl7.fhir.r4.core#4.0.1), TestScript (hl7.fhir.r4.core#4.0.1), TestScript (hl7.fhir.r4.core#4.0.1), TestScript (hl7.fhir.r4.core#4.0.1), TestScript (hl7.fhir.r4.core#4.0.1), TestScript (hl7.fhir.r4.core#4.0.1), TestScript (hl7.fhir.r4.core#4.0.1), TestScript (hl7.fhir.r4.core#4.0.1), TestScript (hl7.fhir.r4.core#4.0.1) + - Version 2: TestScript (hl7.fhir.r5.core#5.0.0), TestScript (hl7.fhir.r5.core#5.0.0), TestScript (hl7.fhir.r5.core#5.0.0) + - Version 3: TestScript (hl7.fhir.r4.examples#4.0.1) +- `urn:fhir:binding:AssertionResponseTypes` (3 versions) + - Version 1: TestScript (hl7.fhir.r4.core#4.0.1), TestScript (hl7.fhir.r4.core#4.0.1), TestScript (hl7.fhir.r4.core#4.0.1), TestScript (hl7.fhir.r4.core#4.0.1), TestScript (hl7.fhir.r4.core#4.0.1), TestScript (hl7.fhir.r4.core#4.0.1), TestScript (hl7.fhir.r4.core#4.0.1), TestScript (hl7.fhir.r4.core#4.0.1), TestScript (hl7.fhir.r4.core#4.0.1), TestScript (hl7.fhir.r4.core#4.0.1) + - Version 2: TestScript (hl7.fhir.r5.core#5.0.0), TestScript (hl7.fhir.r5.core#5.0.0), TestScript (hl7.fhir.r5.core#5.0.0) + - Version 3: TestScript (hl7.fhir.r4.examples#4.0.1) +- `urn:fhir:binding:AssetAvailabilityType` (3 versions) + - Version 1: Contract (hl7.fhir.r4.core#4.0.1), Contract (hl7.fhir.r4.core#4.0.1), Contract (hl7.fhir.r4.core#4.0.1), Contract (hl7.fhir.r4.core#4.0.1), Contract (hl7.fhir.r4.core#4.0.1), Contract (hl7.fhir.r4.core#4.0.1), Contract (hl7.fhir.r4.core#4.0.1), Contract (hl7.fhir.r4.core#4.0.1), Contract (hl7.fhir.r4.core#4.0.1), Contract (hl7.fhir.r4.core#4.0.1) + - Version 2: Contract (hl7.fhir.r5.core#5.0.0), Contract (hl7.fhir.r5.core#5.0.0), Contract (hl7.fhir.r5.core#5.0.0) + - Version 3: Contract (hl7.fhir.r4.examples#4.0.1) +- `urn:fhir:binding:AuditAgentRole` (3 versions) + - Version 1: AuditEvent (hl7.fhir.r4.core#4.0.1), ehrsrle-auditevent (hl7.fhir.r4.core#4.0.1), AuditEvent (hl7.fhir.r4.core#4.0.1), ehrsrle-auditevent (hl7.fhir.r4.core#4.0.1), AuditEvent (hl7.fhir.r4.core#4.0.1), ehrsrle-auditevent (hl7.fhir.r4.core#4.0.1), AuditEvent (hl7.fhir.r4.core#4.0.1), ehrsrle-auditevent (hl7.fhir.r4.core#4.0.1), AuditEvent (hl7.fhir.r4.core#4.0.1), ehrsrle-auditevent (hl7.fhir.r4.core#4.0.1), AuditEvent (hl7.fhir.r4.core#4.0.1), ehrsrle-auditevent (hl7.fhir.r4.core#4.0.1), AuditEvent (hl7.fhir.r4.core#4.0.1), ehrsrle-auditevent (hl7.fhir.r4.core#4.0.1), AuditEvent (hl7.fhir.r4.core#4.0.1), ehrsrle-auditevent (hl7.fhir.r4.core#4.0.1), AuditEvent (hl7.fhir.r4.core#4.0.1), ehrsrle-auditevent (hl7.fhir.r4.core#4.0.1), AuditEvent (hl7.fhir.r4.core#4.0.1), ehrsrle-auditevent (hl7.fhir.r4.core#4.0.1) + - Version 2: AuditEvent (hl7.fhir.r5.core#5.0.0), AuditEvent (hl7.fhir.r5.core#5.0.0), AuditEvent (hl7.fhir.r5.core#5.0.0) + - Version 3: AuditEvent (hl7.fhir.r4.examples#4.0.1), ehrsrle-auditevent (hl7.fhir.r4.examples#4.0.1) +- `urn:fhir:binding:AuditAgentType` (3 versions) + - Version 1: AuditEvent (hl7.fhir.r4.core#4.0.1), AuditEvent (hl7.fhir.r4.core#4.0.1), AuditEvent (hl7.fhir.r4.core#4.0.1), AuditEvent (hl7.fhir.r4.core#4.0.1), AuditEvent (hl7.fhir.r4.core#4.0.1), AuditEvent (hl7.fhir.r4.core#4.0.1), AuditEvent (hl7.fhir.r4.core#4.0.1), AuditEvent (hl7.fhir.r4.core#4.0.1), AuditEvent (hl7.fhir.r4.core#4.0.1), AuditEvent (hl7.fhir.r4.core#4.0.1) + - Version 2: AuditEvent (hl7.fhir.r5.core#5.0.0), AuditEvent (hl7.fhir.r5.core#5.0.0), AuditEvent (hl7.fhir.r5.core#5.0.0) + - Version 3: AuditEvent (hl7.fhir.r4.examples#4.0.1) +- `urn:fhir:binding:AuditEventAction` (3 versions) + - Version 1: AuditEvent (hl7.fhir.r4.core#4.0.1), ehrsrle-auditevent (hl7.fhir.r4.core#4.0.1), AuditEvent (hl7.fhir.r4.core#4.0.1), ehrsrle-auditevent (hl7.fhir.r4.core#4.0.1), AuditEvent (hl7.fhir.r4.core#4.0.1), ehrsrle-auditevent (hl7.fhir.r4.core#4.0.1), AuditEvent (hl7.fhir.r4.core#4.0.1), ehrsrle-auditevent (hl7.fhir.r4.core#4.0.1), AuditEvent (hl7.fhir.r4.core#4.0.1), ehrsrle-auditevent (hl7.fhir.r4.core#4.0.1), AuditEvent (hl7.fhir.r4.core#4.0.1), ehrsrle-auditevent (hl7.fhir.r4.core#4.0.1), AuditEvent (hl7.fhir.r4.core#4.0.1), ehrsrle-auditevent (hl7.fhir.r4.core#4.0.1), AuditEvent (hl7.fhir.r4.core#4.0.1), ehrsrle-auditevent (hl7.fhir.r4.core#4.0.1), AuditEvent (hl7.fhir.r4.core#4.0.1), ehrsrle-auditevent (hl7.fhir.r4.core#4.0.1), AuditEvent (hl7.fhir.r4.core#4.0.1), ehrsrle-auditevent (hl7.fhir.r4.core#4.0.1) + - Version 2: AuditEvent (hl7.fhir.r5.core#5.0.0), AuditEvent (hl7.fhir.r5.core#5.0.0), AuditEvent (hl7.fhir.r5.core#5.0.0) + - Version 3: AuditEvent (hl7.fhir.r4.examples#4.0.1), ehrsrle-auditevent (hl7.fhir.r4.examples#4.0.1) +- `urn:fhir:binding:AuditEventAgentNetworkType` (2 versions) + - Version 1: AuditEvent (hl7.fhir.r4.core#4.0.1), ehrsrle-auditevent (hl7.fhir.r4.core#4.0.1), AuditEvent (hl7.fhir.r4.core#4.0.1), ehrsrle-auditevent (hl7.fhir.r4.core#4.0.1), AuditEvent (hl7.fhir.r4.core#4.0.1), ehrsrle-auditevent (hl7.fhir.r4.core#4.0.1), AuditEvent (hl7.fhir.r4.core#4.0.1), ehrsrle-auditevent (hl7.fhir.r4.core#4.0.1), AuditEvent (hl7.fhir.r4.core#4.0.1), ehrsrle-auditevent (hl7.fhir.r4.core#4.0.1), AuditEvent (hl7.fhir.r4.core#4.0.1), ehrsrle-auditevent (hl7.fhir.r4.core#4.0.1), AuditEvent (hl7.fhir.r4.core#4.0.1), ehrsrle-auditevent (hl7.fhir.r4.core#4.0.1), AuditEvent (hl7.fhir.r4.core#4.0.1), ehrsrle-auditevent (hl7.fhir.r4.core#4.0.1), AuditEvent (hl7.fhir.r4.core#4.0.1), ehrsrle-auditevent (hl7.fhir.r4.core#4.0.1), AuditEvent (hl7.fhir.r4.core#4.0.1), ehrsrle-auditevent (hl7.fhir.r4.core#4.0.1) + - Version 2: AuditEvent (hl7.fhir.r4.examples#4.0.1), ehrsrle-auditevent (hl7.fhir.r4.examples#4.0.1) +- `urn:fhir:binding:AuditEventEntityLifecycle` (2 versions) + - Version 1: AuditEvent (hl7.fhir.r4.core#4.0.1), ehrsrle-auditevent (hl7.fhir.r4.core#4.0.1), AuditEvent (hl7.fhir.r4.core#4.0.1), ehrsrle-auditevent (hl7.fhir.r4.core#4.0.1), AuditEvent (hl7.fhir.r4.core#4.0.1), ehrsrle-auditevent (hl7.fhir.r4.core#4.0.1), AuditEvent (hl7.fhir.r4.core#4.0.1), ehrsrle-auditevent (hl7.fhir.r4.core#4.0.1), AuditEvent (hl7.fhir.r4.core#4.0.1), ehrsrle-auditevent (hl7.fhir.r4.core#4.0.1), AuditEvent (hl7.fhir.r4.core#4.0.1), ehrsrle-auditevent (hl7.fhir.r4.core#4.0.1), AuditEvent (hl7.fhir.r4.core#4.0.1), ehrsrle-auditevent (hl7.fhir.r4.core#4.0.1), AuditEvent (hl7.fhir.r4.core#4.0.1), ehrsrle-auditevent (hl7.fhir.r4.core#4.0.1), AuditEvent (hl7.fhir.r4.core#4.0.1), ehrsrle-auditevent (hl7.fhir.r4.core#4.0.1), AuditEvent (hl7.fhir.r4.core#4.0.1), ehrsrle-auditevent (hl7.fhir.r4.core#4.0.1) + - Version 2: AuditEvent (hl7.fhir.r4.examples#4.0.1), ehrsrle-auditevent (hl7.fhir.r4.examples#4.0.1) +- `urn:fhir:binding:AuditEventEntityRole` (3 versions) + - Version 1: AuditEvent (hl7.fhir.r4.core#4.0.1), ehrsrle-auditevent (hl7.fhir.r4.core#4.0.1), AuditEvent (hl7.fhir.r4.core#4.0.1), ehrsrle-auditevent (hl7.fhir.r4.core#4.0.1), AuditEvent (hl7.fhir.r4.core#4.0.1), ehrsrle-auditevent (hl7.fhir.r4.core#4.0.1), AuditEvent (hl7.fhir.r4.core#4.0.1), ehrsrle-auditevent (hl7.fhir.r4.core#4.0.1), AuditEvent (hl7.fhir.r4.core#4.0.1), ehrsrle-auditevent (hl7.fhir.r4.core#4.0.1), AuditEvent (hl7.fhir.r4.core#4.0.1), ehrsrle-auditevent (hl7.fhir.r4.core#4.0.1), AuditEvent (hl7.fhir.r4.core#4.0.1), ehrsrle-auditevent (hl7.fhir.r4.core#4.0.1), AuditEvent (hl7.fhir.r4.core#4.0.1), ehrsrle-auditevent (hl7.fhir.r4.core#4.0.1), AuditEvent (hl7.fhir.r4.core#4.0.1), ehrsrle-auditevent (hl7.fhir.r4.core#4.0.1), AuditEvent (hl7.fhir.r4.core#4.0.1), ehrsrle-auditevent (hl7.fhir.r4.core#4.0.1) + - Version 2: AuditEvent (hl7.fhir.r5.core#5.0.0), AuditEvent (hl7.fhir.r5.core#5.0.0), AuditEvent (hl7.fhir.r5.core#5.0.0) + - Version 3: AuditEvent (hl7.fhir.r4.examples#4.0.1), ehrsrle-auditevent (hl7.fhir.r4.examples#4.0.1) +- `urn:fhir:binding:AuditEventEntityType` (2 versions) + - Version 1: AuditEvent (hl7.fhir.r4.core#4.0.1), ehrsrle-auditevent (hl7.fhir.r4.core#4.0.1), AuditEvent (hl7.fhir.r4.core#4.0.1), ehrsrle-auditevent (hl7.fhir.r4.core#4.0.1), AuditEvent (hl7.fhir.r4.core#4.0.1), ehrsrle-auditevent (hl7.fhir.r4.core#4.0.1), AuditEvent (hl7.fhir.r4.core#4.0.1), ehrsrle-auditevent (hl7.fhir.r4.core#4.0.1), AuditEvent (hl7.fhir.r4.core#4.0.1), ehrsrle-auditevent (hl7.fhir.r4.core#4.0.1), AuditEvent (hl7.fhir.r4.core#4.0.1), ehrsrle-auditevent (hl7.fhir.r4.core#4.0.1), AuditEvent (hl7.fhir.r4.core#4.0.1), ehrsrle-auditevent (hl7.fhir.r4.core#4.0.1), AuditEvent (hl7.fhir.r4.core#4.0.1), ehrsrle-auditevent (hl7.fhir.r4.core#4.0.1), AuditEvent (hl7.fhir.r4.core#4.0.1), ehrsrle-auditevent (hl7.fhir.r4.core#4.0.1), AuditEvent (hl7.fhir.r4.core#4.0.1), ehrsrle-auditevent (hl7.fhir.r4.core#4.0.1) + - Version 2: AuditEvent (hl7.fhir.r4.examples#4.0.1), ehrsrle-auditevent (hl7.fhir.r4.examples#4.0.1) +- `urn:fhir:binding:AuditEventOutcome` (3 versions) + - Version 1: AuditEvent (hl7.fhir.r4.core#4.0.1), AuditEvent (hl7.fhir.r4.core#4.0.1), AuditEvent (hl7.fhir.r4.core#4.0.1), AuditEvent (hl7.fhir.r4.core#4.0.1), AuditEvent (hl7.fhir.r4.core#4.0.1), AuditEvent (hl7.fhir.r4.core#4.0.1), AuditEvent (hl7.fhir.r4.core#4.0.1), AuditEvent (hl7.fhir.r4.core#4.0.1), AuditEvent (hl7.fhir.r4.core#4.0.1), AuditEvent (hl7.fhir.r4.core#4.0.1) + - Version 2: AuditEvent (hl7.fhir.r5.core#5.0.0), AuditEvent (hl7.fhir.r5.core#5.0.0), AuditEvent (hl7.fhir.r5.core#5.0.0) + - Version 3: AuditEvent (hl7.fhir.r4.examples#4.0.1) +- `urn:fhir:binding:AuditEventSourceType` (3 versions) + - Version 1: AuditEvent (hl7.fhir.r4.core#4.0.1), ehrsrle-auditevent (hl7.fhir.r4.core#4.0.1), AuditEvent (hl7.fhir.r4.core#4.0.1), ehrsrle-auditevent (hl7.fhir.r4.core#4.0.1), AuditEvent (hl7.fhir.r4.core#4.0.1), ehrsrle-auditevent (hl7.fhir.r4.core#4.0.1), AuditEvent (hl7.fhir.r4.core#4.0.1), ehrsrle-auditevent (hl7.fhir.r4.core#4.0.1), AuditEvent (hl7.fhir.r4.core#4.0.1), ehrsrle-auditevent (hl7.fhir.r4.core#4.0.1), AuditEvent (hl7.fhir.r4.core#4.0.1), ehrsrle-auditevent (hl7.fhir.r4.core#4.0.1), AuditEvent (hl7.fhir.r4.core#4.0.1), ehrsrle-auditevent (hl7.fhir.r4.core#4.0.1), AuditEvent (hl7.fhir.r4.core#4.0.1), ehrsrle-auditevent (hl7.fhir.r4.core#4.0.1), AuditEvent (hl7.fhir.r4.core#4.0.1), ehrsrle-auditevent (hl7.fhir.r4.core#4.0.1), AuditEvent (hl7.fhir.r4.core#4.0.1), ehrsrle-auditevent (hl7.fhir.r4.core#4.0.1) + - Version 2: AuditEvent (hl7.fhir.r5.core#5.0.0), AuditEvent (hl7.fhir.r5.core#5.0.0), AuditEvent (hl7.fhir.r5.core#5.0.0) + - Version 3: AuditEvent (hl7.fhir.r4.examples#4.0.1), ehrsrle-auditevent (hl7.fhir.r4.examples#4.0.1) +- `urn:fhir:binding:AuditEventSubType` (3 versions) + - Version 1: AuditEvent (hl7.fhir.r4.core#4.0.1), ehrsrle-auditevent (hl7.fhir.r4.core#4.0.1), AuditEvent (hl7.fhir.r4.core#4.0.1), ehrsrle-auditevent (hl7.fhir.r4.core#4.0.1), AuditEvent (hl7.fhir.r4.core#4.0.1), ehrsrle-auditevent (hl7.fhir.r4.core#4.0.1), AuditEvent (hl7.fhir.r4.core#4.0.1), ehrsrle-auditevent (hl7.fhir.r4.core#4.0.1), AuditEvent (hl7.fhir.r4.core#4.0.1), ehrsrle-auditevent (hl7.fhir.r4.core#4.0.1), AuditEvent (hl7.fhir.r4.core#4.0.1), ehrsrle-auditevent (hl7.fhir.r4.core#4.0.1), AuditEvent (hl7.fhir.r4.core#4.0.1), ehrsrle-auditevent (hl7.fhir.r4.core#4.0.1), AuditEvent (hl7.fhir.r4.core#4.0.1), ehrsrle-auditevent (hl7.fhir.r4.core#4.0.1), AuditEvent (hl7.fhir.r4.core#4.0.1), ehrsrle-auditevent (hl7.fhir.r4.core#4.0.1), AuditEvent (hl7.fhir.r4.core#4.0.1), ehrsrle-auditevent (hl7.fhir.r4.core#4.0.1) + - Version 2: AuditEvent (hl7.fhir.r5.core#5.0.0), AuditEvent (hl7.fhir.r5.core#5.0.0), AuditEvent (hl7.fhir.r5.core#5.0.0) + - Version 3: AuditEvent (hl7.fhir.r4.examples#4.0.1), ehrsrle-auditevent (hl7.fhir.r4.examples#4.0.1) +- `urn:fhir:binding:AuditEventType` (3 versions) + - Version 1: AuditEvent (hl7.fhir.r4.core#4.0.1), ehrsrle-auditevent (hl7.fhir.r4.core#4.0.1), AuditEvent (hl7.fhir.r4.core#4.0.1), ehrsrle-auditevent (hl7.fhir.r4.core#4.0.1), AuditEvent (hl7.fhir.r4.core#4.0.1), ehrsrle-auditevent (hl7.fhir.r4.core#4.0.1), AuditEvent (hl7.fhir.r4.core#4.0.1), ehrsrle-auditevent (hl7.fhir.r4.core#4.0.1), AuditEvent (hl7.fhir.r4.core#4.0.1), ehrsrle-auditevent (hl7.fhir.r4.core#4.0.1), AuditEvent (hl7.fhir.r4.core#4.0.1), ehrsrle-auditevent (hl7.fhir.r4.core#4.0.1), AuditEvent (hl7.fhir.r4.core#4.0.1), ehrsrle-auditevent (hl7.fhir.r4.core#4.0.1), AuditEvent (hl7.fhir.r4.core#4.0.1), ehrsrle-auditevent (hl7.fhir.r4.core#4.0.1), AuditEvent (hl7.fhir.r4.core#4.0.1), ehrsrle-auditevent (hl7.fhir.r4.core#4.0.1), AuditEvent (hl7.fhir.r4.core#4.0.1), ehrsrle-auditevent (hl7.fhir.r4.core#4.0.1) + - Version 2: AuditEvent (hl7.fhir.r5.core#5.0.0), AuditEvent (hl7.fhir.r5.core#5.0.0), AuditEvent (hl7.fhir.r5.core#5.0.0) + - Version 3: AuditEvent (hl7.fhir.r4.examples#4.0.1), ehrsrle-auditevent (hl7.fhir.r4.examples#4.0.1) +- `urn:fhir:binding:AuditPurposeOfUse` (3 versions) + - Version 1: AuditEvent (hl7.fhir.r4.core#4.0.1), ehrsrle-auditevent (hl7.fhir.r4.core#4.0.1), AuditEvent (hl7.fhir.r4.core#4.0.1), ehrsrle-auditevent (hl7.fhir.r4.core#4.0.1), AuditEvent (hl7.fhir.r4.core#4.0.1), ehrsrle-auditevent (hl7.fhir.r4.core#4.0.1), AuditEvent (hl7.fhir.r4.core#4.0.1), ehrsrle-auditevent (hl7.fhir.r4.core#4.0.1), AuditEvent (hl7.fhir.r4.core#4.0.1), ehrsrle-auditevent (hl7.fhir.r4.core#4.0.1), AuditEvent (hl7.fhir.r4.core#4.0.1), ehrsrle-auditevent (hl7.fhir.r4.core#4.0.1), AuditEvent (hl7.fhir.r4.core#4.0.1), ehrsrle-auditevent (hl7.fhir.r4.core#4.0.1), AuditEvent (hl7.fhir.r4.core#4.0.1), ehrsrle-auditevent (hl7.fhir.r4.core#4.0.1), AuditEvent (hl7.fhir.r4.core#4.0.1), ehrsrle-auditevent (hl7.fhir.r4.core#4.0.1), AuditEvent (hl7.fhir.r4.core#4.0.1), ehrsrle-auditevent (hl7.fhir.r4.core#4.0.1) + - Version 2: AuditEvent (hl7.fhir.r5.core#5.0.0), AuditEvent (hl7.fhir.r5.core#5.0.0), AuditEvent (hl7.fhir.r5.core#5.0.0) + - Version 3: AuditEvent (hl7.fhir.r4.examples#4.0.1), ehrsrle-auditevent (hl7.fhir.r4.examples#4.0.1) +- `urn:fhir:binding:AuthSupporting` (3 versions) + - Version 1: CoverageEligibilityResponse (hl7.fhir.r4.core#4.0.1), CoverageEligibilityResponse (hl7.fhir.r4.core#4.0.1), CoverageEligibilityResponse (hl7.fhir.r4.core#4.0.1), CoverageEligibilityResponse (hl7.fhir.r4.core#4.0.1), CoverageEligibilityResponse (hl7.fhir.r4.core#4.0.1), CoverageEligibilityResponse (hl7.fhir.r4.core#4.0.1), CoverageEligibilityResponse (hl7.fhir.r4.core#4.0.1), CoverageEligibilityResponse (hl7.fhir.r4.core#4.0.1), CoverageEligibilityResponse (hl7.fhir.r4.core#4.0.1), CoverageEligibilityResponse (hl7.fhir.r4.core#4.0.1) + - Version 2: CoverageEligibilityResponse (hl7.fhir.r5.core#5.0.0), CoverageEligibilityResponse (hl7.fhir.r5.core#5.0.0), CoverageEligibilityResponse (hl7.fhir.r5.core#5.0.0) + - Version 3: CoverageEligibilityResponse (hl7.fhir.r4.examples#4.0.1) +- `urn:fhir:binding:BasicResourceType` (3 versions) + - Version 1: Basic (hl7.fhir.r4.core#4.0.1), Basic (hl7.fhir.r4.core#4.0.1), Basic (hl7.fhir.r4.core#4.0.1), Basic (hl7.fhir.r4.core#4.0.1), Basic (hl7.fhir.r4.core#4.0.1), smart-app-state-basic (hl7.fhir.uv.smart-app-launch#2.2.0), Basic (hl7.fhir.r4.core#4.0.1), Basic (hl7.fhir.r4.core#4.0.1), Basic (hl7.fhir.r4.core#4.0.1), Basic (hl7.fhir.r4.core#4.0.1), Basic (hl7.fhir.r4.core#4.0.1), smart-app-state-basic (hl7.fhir.uv.smart-app-launch#2.2.0) + - Version 2: Basic (hl7.fhir.r5.core#5.0.0), Basic (hl7.fhir.r5.core#5.0.0), Basic (hl7.fhir.r5.core#5.0.0) + - Version 3: Basic (hl7.fhir.r4.examples#4.0.1) +- `urn:fhir:binding:BenefitCategory` (3 versions) + - Version 1: CoverageEligibilityRequest (hl7.fhir.r4.core#4.0.1), Claim (hl7.fhir.r4.core#4.0.1), CoverageEligibilityResponse (hl7.fhir.r4.core#4.0.1), ExplanationOfBenefit (hl7.fhir.r4.core#4.0.1), CoverageEligibilityRequest (hl7.fhir.r4.core#4.0.1), Claim (hl7.fhir.r4.core#4.0.1), CoverageEligibilityResponse (hl7.fhir.r4.core#4.0.1), ExplanationOfBenefit (hl7.fhir.r4.core#4.0.1), CoverageEligibilityRequest (hl7.fhir.r4.core#4.0.1), Claim (hl7.fhir.r4.core#4.0.1), CoverageEligibilityResponse (hl7.fhir.r4.core#4.0.1), ExplanationOfBenefit (hl7.fhir.r4.core#4.0.1), CoverageEligibilityRequest (hl7.fhir.r4.core#4.0.1), Claim (hl7.fhir.r4.core#4.0.1), CoverageEligibilityResponse (hl7.fhir.r4.core#4.0.1), ExplanationOfBenefit (hl7.fhir.r4.core#4.0.1), CoverageEligibilityRequest (hl7.fhir.r4.core#4.0.1), Claim (hl7.fhir.r4.core#4.0.1), CoverageEligibilityResponse (hl7.fhir.r4.core#4.0.1), ExplanationOfBenefit (hl7.fhir.r4.core#4.0.1), CoverageEligibilityRequest (hl7.fhir.r4.core#4.0.1), Claim (hl7.fhir.r4.core#4.0.1), CoverageEligibilityResponse (hl7.fhir.r4.core#4.0.1), ExplanationOfBenefit (hl7.fhir.r4.core#4.0.1), CoverageEligibilityRequest (hl7.fhir.r4.core#4.0.1), Claim (hl7.fhir.r4.core#4.0.1), CoverageEligibilityResponse (hl7.fhir.r4.core#4.0.1), ExplanationOfBenefit (hl7.fhir.r4.core#4.0.1), CoverageEligibilityRequest (hl7.fhir.r4.core#4.0.1), Claim (hl7.fhir.r4.core#4.0.1), CoverageEligibilityResponse (hl7.fhir.r4.core#4.0.1), ExplanationOfBenefit (hl7.fhir.r4.core#4.0.1), CoverageEligibilityRequest (hl7.fhir.r4.core#4.0.1), Claim (hl7.fhir.r4.core#4.0.1), CoverageEligibilityResponse (hl7.fhir.r4.core#4.0.1), ExplanationOfBenefit (hl7.fhir.r4.core#4.0.1), CoverageEligibilityRequest (hl7.fhir.r4.core#4.0.1), Claim (hl7.fhir.r4.core#4.0.1), CoverageEligibilityResponse (hl7.fhir.r4.core#4.0.1), ExplanationOfBenefit (hl7.fhir.r4.core#4.0.1) + - Version 2: CoverageEligibilityRequest (hl7.fhir.r5.core#5.0.0), Claim (hl7.fhir.r5.core#5.0.0), Coverage (hl7.fhir.r5.core#5.0.0), CoverageEligibilityResponse (hl7.fhir.r5.core#5.0.0), ExplanationOfBenefit (hl7.fhir.r5.core#5.0.0), CoverageEligibilityRequest (hl7.fhir.r5.core#5.0.0), Claim (hl7.fhir.r5.core#5.0.0), Coverage (hl7.fhir.r5.core#5.0.0), CoverageEligibilityResponse (hl7.fhir.r5.core#5.0.0), ExplanationOfBenefit (hl7.fhir.r5.core#5.0.0), CoverageEligibilityRequest (hl7.fhir.r5.core#5.0.0), Claim (hl7.fhir.r5.core#5.0.0), Coverage (hl7.fhir.r5.core#5.0.0), CoverageEligibilityResponse (hl7.fhir.r5.core#5.0.0), ExplanationOfBenefit (hl7.fhir.r5.core#5.0.0) + - Version 3: CoverageEligibilityRequest (hl7.fhir.r4.examples#4.0.1), Claim (hl7.fhir.r4.examples#4.0.1), CoverageEligibilityResponse (hl7.fhir.r4.examples#4.0.1), ExplanationOfBenefit (hl7.fhir.r4.examples#4.0.1) +- `urn:fhir:binding:BenefitCostApplicability` (3 versions) + - Version 1: InsurancePlan (hl7.fhir.r4.core#4.0.1), InsurancePlan (hl7.fhir.r4.core#4.0.1), InsurancePlan (hl7.fhir.r4.core#4.0.1), InsurancePlan (hl7.fhir.r4.core#4.0.1), InsurancePlan (hl7.fhir.r4.core#4.0.1), InsurancePlan (hl7.fhir.r4.core#4.0.1), InsurancePlan (hl7.fhir.r4.core#4.0.1), InsurancePlan (hl7.fhir.r4.core#4.0.1), InsurancePlan (hl7.fhir.r4.core#4.0.1), InsurancePlan (hl7.fhir.r4.core#4.0.1) + - Version 2: InsurancePlan (hl7.fhir.r5.core#5.0.0), InsurancePlan (hl7.fhir.r5.core#5.0.0), InsurancePlan (hl7.fhir.r5.core#5.0.0) + - Version 3: InsurancePlan (hl7.fhir.r4.examples#4.0.1) +- `urn:fhir:binding:BenefitNetwork` (3 versions) + - Version 1: CoverageEligibilityResponse (hl7.fhir.r4.core#4.0.1), ExplanationOfBenefit (hl7.fhir.r4.core#4.0.1), CoverageEligibilityResponse (hl7.fhir.r4.core#4.0.1), ExplanationOfBenefit (hl7.fhir.r4.core#4.0.1), CoverageEligibilityResponse (hl7.fhir.r4.core#4.0.1), ExplanationOfBenefit (hl7.fhir.r4.core#4.0.1), CoverageEligibilityResponse (hl7.fhir.r4.core#4.0.1), ExplanationOfBenefit (hl7.fhir.r4.core#4.0.1), CoverageEligibilityResponse (hl7.fhir.r4.core#4.0.1), ExplanationOfBenefit (hl7.fhir.r4.core#4.0.1), CoverageEligibilityResponse (hl7.fhir.r4.core#4.0.1), ExplanationOfBenefit (hl7.fhir.r4.core#4.0.1), CoverageEligibilityResponse (hl7.fhir.r4.core#4.0.1), ExplanationOfBenefit (hl7.fhir.r4.core#4.0.1), CoverageEligibilityResponse (hl7.fhir.r4.core#4.0.1), ExplanationOfBenefit (hl7.fhir.r4.core#4.0.1), CoverageEligibilityResponse (hl7.fhir.r4.core#4.0.1), ExplanationOfBenefit (hl7.fhir.r4.core#4.0.1), CoverageEligibilityResponse (hl7.fhir.r4.core#4.0.1), ExplanationOfBenefit (hl7.fhir.r4.core#4.0.1) + - Version 2: Coverage (hl7.fhir.r5.core#5.0.0), CoverageEligibilityResponse (hl7.fhir.r5.core#5.0.0), ExplanationOfBenefit (hl7.fhir.r5.core#5.0.0), Coverage (hl7.fhir.r5.core#5.0.0), CoverageEligibilityResponse (hl7.fhir.r5.core#5.0.0), ExplanationOfBenefit (hl7.fhir.r5.core#5.0.0), Coverage (hl7.fhir.r5.core#5.0.0), CoverageEligibilityResponse (hl7.fhir.r5.core#5.0.0), ExplanationOfBenefit (hl7.fhir.r5.core#5.0.0) + - Version 3: CoverageEligibilityResponse (hl7.fhir.r4.examples#4.0.1), ExplanationOfBenefit (hl7.fhir.r4.examples#4.0.1) +- `urn:fhir:binding:BenefitTerm` (3 versions) + - Version 1: CoverageEligibilityResponse (hl7.fhir.r4.core#4.0.1), ExplanationOfBenefit (hl7.fhir.r4.core#4.0.1), CoverageEligibilityResponse (hl7.fhir.r4.core#4.0.1), ExplanationOfBenefit (hl7.fhir.r4.core#4.0.1), CoverageEligibilityResponse (hl7.fhir.r4.core#4.0.1), ExplanationOfBenefit (hl7.fhir.r4.core#4.0.1), CoverageEligibilityResponse (hl7.fhir.r4.core#4.0.1), ExplanationOfBenefit (hl7.fhir.r4.core#4.0.1), CoverageEligibilityResponse (hl7.fhir.r4.core#4.0.1), ExplanationOfBenefit (hl7.fhir.r4.core#4.0.1), CoverageEligibilityResponse (hl7.fhir.r4.core#4.0.1), ExplanationOfBenefit (hl7.fhir.r4.core#4.0.1), CoverageEligibilityResponse (hl7.fhir.r4.core#4.0.1), ExplanationOfBenefit (hl7.fhir.r4.core#4.0.1), CoverageEligibilityResponse (hl7.fhir.r4.core#4.0.1), ExplanationOfBenefit (hl7.fhir.r4.core#4.0.1), CoverageEligibilityResponse (hl7.fhir.r4.core#4.0.1), ExplanationOfBenefit (hl7.fhir.r4.core#4.0.1), CoverageEligibilityResponse (hl7.fhir.r4.core#4.0.1), ExplanationOfBenefit (hl7.fhir.r4.core#4.0.1) + - Version 2: Coverage (hl7.fhir.r5.core#5.0.0), CoverageEligibilityResponse (hl7.fhir.r5.core#5.0.0), ExplanationOfBenefit (hl7.fhir.r5.core#5.0.0), Coverage (hl7.fhir.r5.core#5.0.0), CoverageEligibilityResponse (hl7.fhir.r5.core#5.0.0), ExplanationOfBenefit (hl7.fhir.r5.core#5.0.0), Coverage (hl7.fhir.r5.core#5.0.0), CoverageEligibilityResponse (hl7.fhir.r5.core#5.0.0), ExplanationOfBenefit (hl7.fhir.r5.core#5.0.0) + - Version 3: CoverageEligibilityResponse (hl7.fhir.r4.examples#4.0.1), ExplanationOfBenefit (hl7.fhir.r4.examples#4.0.1) +- `urn:fhir:binding:BenefitType` (3 versions) + - Version 1: CoverageEligibilityResponse (hl7.fhir.r4.core#4.0.1), ExplanationOfBenefit (hl7.fhir.r4.core#4.0.1), CoverageEligibilityResponse (hl7.fhir.r4.core#4.0.1), ExplanationOfBenefit (hl7.fhir.r4.core#4.0.1), CoverageEligibilityResponse (hl7.fhir.r4.core#4.0.1), ExplanationOfBenefit (hl7.fhir.r4.core#4.0.1), CoverageEligibilityResponse (hl7.fhir.r4.core#4.0.1), ExplanationOfBenefit (hl7.fhir.r4.core#4.0.1), CoverageEligibilityResponse (hl7.fhir.r4.core#4.0.1), ExplanationOfBenefit (hl7.fhir.r4.core#4.0.1), CoverageEligibilityResponse (hl7.fhir.r4.core#4.0.1), ExplanationOfBenefit (hl7.fhir.r4.core#4.0.1), CoverageEligibilityResponse (hl7.fhir.r4.core#4.0.1), ExplanationOfBenefit (hl7.fhir.r4.core#4.0.1), CoverageEligibilityResponse (hl7.fhir.r4.core#4.0.1), ExplanationOfBenefit (hl7.fhir.r4.core#4.0.1), CoverageEligibilityResponse (hl7.fhir.r4.core#4.0.1), ExplanationOfBenefit (hl7.fhir.r4.core#4.0.1), CoverageEligibilityResponse (hl7.fhir.r4.core#4.0.1), ExplanationOfBenefit (hl7.fhir.r4.core#4.0.1) + - Version 2: CoverageEligibilityResponse (hl7.fhir.r5.core#5.0.0), ExplanationOfBenefit (hl7.fhir.r5.core#5.0.0), CoverageEligibilityResponse (hl7.fhir.r5.core#5.0.0), ExplanationOfBenefit (hl7.fhir.r5.core#5.0.0), CoverageEligibilityResponse (hl7.fhir.r5.core#5.0.0), ExplanationOfBenefit (hl7.fhir.r5.core#5.0.0) + - Version 3: CoverageEligibilityResponse (hl7.fhir.r4.examples#4.0.1), ExplanationOfBenefit (hl7.fhir.r4.examples#4.0.1) +- `urn:fhir:binding:BenefitUnit` (3 versions) + - Version 1: CoverageEligibilityResponse (hl7.fhir.r4.core#4.0.1), ExplanationOfBenefit (hl7.fhir.r4.core#4.0.1), CoverageEligibilityResponse (hl7.fhir.r4.core#4.0.1), ExplanationOfBenefit (hl7.fhir.r4.core#4.0.1), CoverageEligibilityResponse (hl7.fhir.r4.core#4.0.1), ExplanationOfBenefit (hl7.fhir.r4.core#4.0.1), CoverageEligibilityResponse (hl7.fhir.r4.core#4.0.1), ExplanationOfBenefit (hl7.fhir.r4.core#4.0.1), CoverageEligibilityResponse (hl7.fhir.r4.core#4.0.1), ExplanationOfBenefit (hl7.fhir.r4.core#4.0.1), CoverageEligibilityResponse (hl7.fhir.r4.core#4.0.1), ExplanationOfBenefit (hl7.fhir.r4.core#4.0.1), CoverageEligibilityResponse (hl7.fhir.r4.core#4.0.1), ExplanationOfBenefit (hl7.fhir.r4.core#4.0.1), CoverageEligibilityResponse (hl7.fhir.r4.core#4.0.1), ExplanationOfBenefit (hl7.fhir.r4.core#4.0.1), CoverageEligibilityResponse (hl7.fhir.r4.core#4.0.1), ExplanationOfBenefit (hl7.fhir.r4.core#4.0.1), CoverageEligibilityResponse (hl7.fhir.r4.core#4.0.1), ExplanationOfBenefit (hl7.fhir.r4.core#4.0.1) + - Version 2: Coverage (hl7.fhir.r5.core#5.0.0), CoverageEligibilityResponse (hl7.fhir.r5.core#5.0.0), ExplanationOfBenefit (hl7.fhir.r5.core#5.0.0), Coverage (hl7.fhir.r5.core#5.0.0), CoverageEligibilityResponse (hl7.fhir.r5.core#5.0.0), ExplanationOfBenefit (hl7.fhir.r5.core#5.0.0), Coverage (hl7.fhir.r5.core#5.0.0), CoverageEligibilityResponse (hl7.fhir.r5.core#5.0.0), ExplanationOfBenefit (hl7.fhir.r5.core#5.0.0) + - Version 3: CoverageEligibilityResponse (hl7.fhir.r4.examples#4.0.1), ExplanationOfBenefit (hl7.fhir.r4.examples#4.0.1) +- `urn:fhir:binding:BindingStrength` (3 versions) + - Version 1: OperationDefinition (hl7.fhir.r4.core#4.0.1), ElementDefinition (hl7.fhir.r4.core#4.0.1), OperationDefinition (hl7.fhir.r4.core#4.0.1), ElementDefinition (hl7.fhir.r4.core#4.0.1), OperationDefinition (hl7.fhir.r4.core#4.0.1), ElementDefinition (hl7.fhir.r4.core#4.0.1), OperationDefinition (hl7.fhir.r4.core#4.0.1), ElementDefinition (hl7.fhir.r4.core#4.0.1), OperationDefinition (hl7.fhir.r4.core#4.0.1), ElementDefinition (hl7.fhir.r4.core#4.0.1), OperationDefinition (hl7.fhir.r4.core#4.0.1), ElementDefinition (hl7.fhir.r4.core#4.0.1), OperationDefinition (hl7.fhir.r4.core#4.0.1), ElementDefinition (hl7.fhir.r4.core#4.0.1), OperationDefinition (hl7.fhir.r4.core#4.0.1), ElementDefinition (hl7.fhir.r4.core#4.0.1), OperationDefinition (hl7.fhir.r4.core#4.0.1), ElementDefinition (hl7.fhir.r4.core#4.0.1), OperationDefinition (hl7.fhir.r4.core#4.0.1), ElementDefinition (hl7.fhir.r4.core#4.0.1) + - Version 2: OperationDefinition (hl7.fhir.r5.core#5.0.0), ElementDefinition (hl7.fhir.r5.core#5.0.0), OperationDefinition (hl7.fhir.r5.core#5.0.0), ElementDefinition (hl7.fhir.r5.core#5.0.0), OperationDefinition (hl7.fhir.r5.core#5.0.0), ElementDefinition (hl7.fhir.r5.core#5.0.0) + - Version 3: OperationDefinition (hl7.fhir.r4.examples#4.0.1), ElementDefinition (hl7.fhir.r4.examples#4.0.1) +- `urn:fhir:binding:BiologicallyDerivedProductCategory` (3 versions) + - Version 1: BiologicallyDerivedProduct (hl7.fhir.r4.core#4.0.1), BiologicallyDerivedProduct (hl7.fhir.r4.core#4.0.1), BiologicallyDerivedProduct (hl7.fhir.r4.core#4.0.1), BiologicallyDerivedProduct (hl7.fhir.r4.core#4.0.1), BiologicallyDerivedProduct (hl7.fhir.r4.core#4.0.1), BiologicallyDerivedProduct (hl7.fhir.r4.core#4.0.1), BiologicallyDerivedProduct (hl7.fhir.r4.core#4.0.1), BiologicallyDerivedProduct (hl7.fhir.r4.core#4.0.1), BiologicallyDerivedProduct (hl7.fhir.r4.core#4.0.1), BiologicallyDerivedProduct (hl7.fhir.r4.core#4.0.1) + - Version 2: BiologicallyDerivedProduct (hl7.fhir.r5.core#5.0.0), BiologicallyDerivedProduct (hl7.fhir.r5.core#5.0.0), BiologicallyDerivedProduct (hl7.fhir.r5.core#5.0.0) + - Version 3: BiologicallyDerivedProduct (hl7.fhir.r4.examples#4.0.1) +- `urn:fhir:binding:BiologicallyDerivedProductProcedure` (2 versions) + - Version 1: BiologicallyDerivedProduct (hl7.fhir.r4.core#4.0.1), BiologicallyDerivedProduct (hl7.fhir.r4.core#4.0.1), BiologicallyDerivedProduct (hl7.fhir.r4.core#4.0.1), BiologicallyDerivedProduct (hl7.fhir.r4.core#4.0.1), BiologicallyDerivedProduct (hl7.fhir.r4.core#4.0.1), BiologicallyDerivedProduct (hl7.fhir.r4.core#4.0.1), BiologicallyDerivedProduct (hl7.fhir.r4.core#4.0.1), BiologicallyDerivedProduct (hl7.fhir.r4.core#4.0.1), BiologicallyDerivedProduct (hl7.fhir.r4.core#4.0.1), BiologicallyDerivedProduct (hl7.fhir.r4.core#4.0.1) + - Version 2: BiologicallyDerivedProduct (hl7.fhir.r4.examples#4.0.1) +- `urn:fhir:binding:BiologicallyDerivedProductStatus` (3 versions) + - Version 1: BiologicallyDerivedProduct (hl7.fhir.r4.core#4.0.1), BiologicallyDerivedProduct (hl7.fhir.r4.core#4.0.1), BiologicallyDerivedProduct (hl7.fhir.r4.core#4.0.1), BiologicallyDerivedProduct (hl7.fhir.r4.core#4.0.1), BiologicallyDerivedProduct (hl7.fhir.r4.core#4.0.1), BiologicallyDerivedProduct (hl7.fhir.r4.core#4.0.1), BiologicallyDerivedProduct (hl7.fhir.r4.core#4.0.1), BiologicallyDerivedProduct (hl7.fhir.r4.core#4.0.1), BiologicallyDerivedProduct (hl7.fhir.r4.core#4.0.1), BiologicallyDerivedProduct (hl7.fhir.r4.core#4.0.1) + - Version 2: BiologicallyDerivedProduct (hl7.fhir.r5.core#5.0.0), BiologicallyDerivedProduct (hl7.fhir.r5.core#5.0.0), BiologicallyDerivedProduct (hl7.fhir.r5.core#5.0.0) + - Version 3: BiologicallyDerivedProduct (hl7.fhir.r4.examples#4.0.1) +- `urn:fhir:binding:BiologicallyDerivedProductStorageScale` (2 versions) + - Version 1: BiologicallyDerivedProduct (hl7.fhir.r4.core#4.0.1), BiologicallyDerivedProduct (hl7.fhir.r4.core#4.0.1), BiologicallyDerivedProduct (hl7.fhir.r4.core#4.0.1), BiologicallyDerivedProduct (hl7.fhir.r4.core#4.0.1), BiologicallyDerivedProduct (hl7.fhir.r4.core#4.0.1), BiologicallyDerivedProduct (hl7.fhir.r4.core#4.0.1), BiologicallyDerivedProduct (hl7.fhir.r4.core#4.0.1), BiologicallyDerivedProduct (hl7.fhir.r4.core#4.0.1), BiologicallyDerivedProduct (hl7.fhir.r4.core#4.0.1), BiologicallyDerivedProduct (hl7.fhir.r4.core#4.0.1) + - Version 2: BiologicallyDerivedProduct (hl7.fhir.r4.examples#4.0.1) +- `urn:fhir:binding:BodyLengthUnits` (3 versions) + - Version 1: headcircum (hl7.fhir.r4.core#4.0.1), bodyheight (hl7.fhir.r4.core#4.0.1), headcircum (hl7.fhir.r4.core#4.0.1), bodyheight (hl7.fhir.r4.core#4.0.1), headcircum (hl7.fhir.r4.core#4.0.1), bodyheight (hl7.fhir.r4.core#4.0.1), headcircum (hl7.fhir.r4.core#4.0.1), bodyheight (hl7.fhir.r4.core#4.0.1), headcircum (hl7.fhir.r4.core#4.0.1), bodyheight (hl7.fhir.r4.core#4.0.1), headcircum (hl7.fhir.r4.core#4.0.1), bodyheight (hl7.fhir.r4.core#4.0.1), headcircum (hl7.fhir.r4.core#4.0.1), bodyheight (hl7.fhir.r4.core#4.0.1), headcircum (hl7.fhir.r4.core#4.0.1), bodyheight (hl7.fhir.r4.core#4.0.1), headcircum (hl7.fhir.r4.core#4.0.1), bodyheight (hl7.fhir.r4.core#4.0.1), headcircum (hl7.fhir.r4.core#4.0.1), bodyheight (hl7.fhir.r4.core#4.0.1) + - Version 2: headcircum (hl7.fhir.r5.core#5.0.0), bodyheight (hl7.fhir.r5.core#5.0.0), headcircum (hl7.fhir.r5.core#5.0.0), bodyheight (hl7.fhir.r5.core#5.0.0), headcircum (hl7.fhir.r5.core#5.0.0), bodyheight (hl7.fhir.r5.core#5.0.0) + - Version 3: headcircum (hl7.fhir.r4.examples#4.0.1), bodyheight (hl7.fhir.r4.examples#4.0.1) +- `urn:fhir:binding:BodySite` (3 versions) + - Version 1: Observation (hl7.fhir.r4.core#4.0.1), Specimen (hl7.fhir.r4.core#4.0.1), ImagingStudy (hl7.fhir.r4.core#4.0.1), ServiceRequest (hl7.fhir.r4.core#4.0.1), ChargeItem (hl7.fhir.r4.core#4.0.1), devicemetricobservation (hl7.fhir.r4.core#4.0.1), Procedure (hl7.fhir.r4.core#4.0.1), ActivityDefinition (hl7.fhir.r4.core#4.0.1), BodyStructure (hl7.fhir.r4.core#4.0.1), Condition (hl7.fhir.r4.core#4.0.1), DeviceUseStatement (hl7.fhir.r4.core#4.0.1), Media (hl7.fhir.r4.core#4.0.1), Observation (hl7.fhir.r4.core#4.0.1), Specimen (hl7.fhir.r4.core#4.0.1), ImagingStudy (hl7.fhir.r4.core#4.0.1), ServiceRequest (hl7.fhir.r4.core#4.0.1), ChargeItem (hl7.fhir.r4.core#4.0.1), devicemetricobservation (hl7.fhir.r4.core#4.0.1), Procedure (hl7.fhir.r4.core#4.0.1), ActivityDefinition (hl7.fhir.r4.core#4.0.1), BodyStructure (hl7.fhir.r4.core#4.0.1), Condition (hl7.fhir.r4.core#4.0.1), DeviceUseStatement (hl7.fhir.r4.core#4.0.1), Media (hl7.fhir.r4.core#4.0.1), Observation (hl7.fhir.r4.core#4.0.1), Specimen (hl7.fhir.r4.core#4.0.1), ImagingStudy (hl7.fhir.r4.core#4.0.1), ServiceRequest (hl7.fhir.r4.core#4.0.1), ChargeItem (hl7.fhir.r4.core#4.0.1), devicemetricobservation (hl7.fhir.r4.core#4.0.1), Procedure (hl7.fhir.r4.core#4.0.1), ActivityDefinition (hl7.fhir.r4.core#4.0.1), BodyStructure (hl7.fhir.r4.core#4.0.1), Condition (hl7.fhir.r4.core#4.0.1), DeviceUseStatement (hl7.fhir.r4.core#4.0.1), Media (hl7.fhir.r4.core#4.0.1), Observation (hl7.fhir.r4.core#4.0.1), Specimen (hl7.fhir.r4.core#4.0.1), ImagingStudy (hl7.fhir.r4.core#4.0.1), ServiceRequest (hl7.fhir.r4.core#4.0.1), ChargeItem (hl7.fhir.r4.core#4.0.1), devicemetricobservation (hl7.fhir.r4.core#4.0.1), Procedure (hl7.fhir.r4.core#4.0.1), ActivityDefinition (hl7.fhir.r4.core#4.0.1), BodyStructure (hl7.fhir.r4.core#4.0.1), Condition (hl7.fhir.r4.core#4.0.1), DeviceUseStatement (hl7.fhir.r4.core#4.0.1), Media (hl7.fhir.r4.core#4.0.1), Observation (hl7.fhir.r4.core#4.0.1), Specimen (hl7.fhir.r4.core#4.0.1), ImagingStudy (hl7.fhir.r4.core#4.0.1), ServiceRequest (hl7.fhir.r4.core#4.0.1), ChargeItem (hl7.fhir.r4.core#4.0.1), devicemetricobservation (hl7.fhir.r4.core#4.0.1), Procedure (hl7.fhir.r4.core#4.0.1), ActivityDefinition (hl7.fhir.r4.core#4.0.1), BodyStructure (hl7.fhir.r4.core#4.0.1), Condition (hl7.fhir.r4.core#4.0.1), DeviceUseStatement (hl7.fhir.r4.core#4.0.1), Media (hl7.fhir.r4.core#4.0.1), Observation (hl7.fhir.r4.core#4.0.1), Specimen (hl7.fhir.r4.core#4.0.1), ImagingStudy (hl7.fhir.r4.core#4.0.1), ServiceRequest (hl7.fhir.r4.core#4.0.1), ChargeItem (hl7.fhir.r4.core#4.0.1), devicemetricobservation (hl7.fhir.r4.core#4.0.1), Procedure (hl7.fhir.r4.core#4.0.1), ActivityDefinition (hl7.fhir.r4.core#4.0.1), BodyStructure (hl7.fhir.r4.core#4.0.1), Condition (hl7.fhir.r4.core#4.0.1), DeviceUseStatement (hl7.fhir.r4.core#4.0.1), Media (hl7.fhir.r4.core#4.0.1), Observation (hl7.fhir.r4.core#4.0.1), Specimen (hl7.fhir.r4.core#4.0.1), ImagingStudy (hl7.fhir.r4.core#4.0.1), ServiceRequest (hl7.fhir.r4.core#4.0.1), ChargeItem (hl7.fhir.r4.core#4.0.1), devicemetricobservation (hl7.fhir.r4.core#4.0.1), Procedure (hl7.fhir.r4.core#4.0.1), ActivityDefinition (hl7.fhir.r4.core#4.0.1), BodyStructure (hl7.fhir.r4.core#4.0.1), Condition (hl7.fhir.r4.core#4.0.1), DeviceUseStatement (hl7.fhir.r4.core#4.0.1), Media (hl7.fhir.r4.core#4.0.1), Observation (hl7.fhir.r4.core#4.0.1), Specimen (hl7.fhir.r4.core#4.0.1), ImagingStudy (hl7.fhir.r4.core#4.0.1), ServiceRequest (hl7.fhir.r4.core#4.0.1), ChargeItem (hl7.fhir.r4.core#4.0.1), devicemetricobservation (hl7.fhir.r4.core#4.0.1), Procedure (hl7.fhir.r4.core#4.0.1), ActivityDefinition (hl7.fhir.r4.core#4.0.1), BodyStructure (hl7.fhir.r4.core#4.0.1), Condition (hl7.fhir.r4.core#4.0.1), DeviceUseStatement (hl7.fhir.r4.core#4.0.1), Media (hl7.fhir.r4.core#4.0.1), Observation (hl7.fhir.r4.core#4.0.1), Specimen (hl7.fhir.r4.core#4.0.1), ImagingStudy (hl7.fhir.r4.core#4.0.1), ServiceRequest (hl7.fhir.r4.core#4.0.1), ChargeItem (hl7.fhir.r4.core#4.0.1), devicemetricobservation (hl7.fhir.r4.core#4.0.1), Procedure (hl7.fhir.r4.core#4.0.1), ActivityDefinition (hl7.fhir.r4.core#4.0.1), BodyStructure (hl7.fhir.r4.core#4.0.1), Condition (hl7.fhir.r4.core#4.0.1), DeviceUseStatement (hl7.fhir.r4.core#4.0.1), Media (hl7.fhir.r4.core#4.0.1), Observation (hl7.fhir.r4.core#4.0.1), Specimen (hl7.fhir.r4.core#4.0.1), ImagingStudy (hl7.fhir.r4.core#4.0.1), ServiceRequest (hl7.fhir.r4.core#4.0.1), ChargeItem (hl7.fhir.r4.core#4.0.1), devicemetricobservation (hl7.fhir.r4.core#4.0.1), Procedure (hl7.fhir.r4.core#4.0.1), ActivityDefinition (hl7.fhir.r4.core#4.0.1), BodyStructure (hl7.fhir.r4.core#4.0.1), Condition (hl7.fhir.r4.core#4.0.1), DeviceUseStatement (hl7.fhir.r4.core#4.0.1), Media (hl7.fhir.r4.core#4.0.1) + - Version 2: Observation (hl7.fhir.r5.core#5.0.0), Specimen (hl7.fhir.r5.core#5.0.0), ImagingStudy (hl7.fhir.r5.core#5.0.0), ServiceRequest (hl7.fhir.r5.core#5.0.0), ImagingSelection (hl7.fhir.r5.core#5.0.0), DeviceUsage (hl7.fhir.r5.core#5.0.0), DocumentReference (hl7.fhir.r5.core#5.0.0), ChargeItem (hl7.fhir.r5.core#5.0.0), devicemetricobservation (hl7.fhir.r5.core#5.0.0), Procedure (hl7.fhir.r5.core#5.0.0), ActivityDefinition (hl7.fhir.r5.core#5.0.0), BodyStructure (hl7.fhir.r5.core#5.0.0), ConditionDefinition (hl7.fhir.r5.core#5.0.0), Condition (hl7.fhir.r5.core#5.0.0), Observation (hl7.fhir.r5.core#5.0.0), Specimen (hl7.fhir.r5.core#5.0.0), ImagingStudy (hl7.fhir.r5.core#5.0.0), ServiceRequest (hl7.fhir.r5.core#5.0.0), ImagingSelection (hl7.fhir.r5.core#5.0.0), DeviceUsage (hl7.fhir.r5.core#5.0.0), DocumentReference (hl7.fhir.r5.core#5.0.0), ChargeItem (hl7.fhir.r5.core#5.0.0), devicemetricobservation (hl7.fhir.r5.core#5.0.0), Procedure (hl7.fhir.r5.core#5.0.0), ActivityDefinition (hl7.fhir.r5.core#5.0.0), BodyStructure (hl7.fhir.r5.core#5.0.0), ConditionDefinition (hl7.fhir.r5.core#5.0.0), Condition (hl7.fhir.r5.core#5.0.0), Observation (hl7.fhir.r5.core#5.0.0), Specimen (hl7.fhir.r5.core#5.0.0), ImagingStudy (hl7.fhir.r5.core#5.0.0), ServiceRequest (hl7.fhir.r5.core#5.0.0), ImagingSelection (hl7.fhir.r5.core#5.0.0), DeviceUsage (hl7.fhir.r5.core#5.0.0), DocumentReference (hl7.fhir.r5.core#5.0.0), ChargeItem (hl7.fhir.r5.core#5.0.0), devicemetricobservation (hl7.fhir.r5.core#5.0.0), Procedure (hl7.fhir.r5.core#5.0.0), ActivityDefinition (hl7.fhir.r5.core#5.0.0), BodyStructure (hl7.fhir.r5.core#5.0.0), ConditionDefinition (hl7.fhir.r5.core#5.0.0), Condition (hl7.fhir.r5.core#5.0.0), ImagingSelection (hl7.fhir.r5.core#5.0.0), DeviceUsage (hl7.fhir.r5.core#5.0.0), ConditionDefinition (hl7.fhir.r5.core#5.0.0), ImagingSelection (hl7.fhir.r5.core#5.0.0), DeviceUsage (hl7.fhir.r5.core#5.0.0), ConditionDefinition (hl7.fhir.r5.core#5.0.0) + - Version 3: Observation (hl7.fhir.r4.examples#4.0.1), Specimen (hl7.fhir.r4.examples#4.0.1), ImagingStudy (hl7.fhir.r4.examples#4.0.1), ServiceRequest (hl7.fhir.r4.examples#4.0.1), ChargeItem (hl7.fhir.r4.examples#4.0.1), devicemetricobservation (hl7.fhir.r4.examples#4.0.1), Procedure (hl7.fhir.r4.examples#4.0.1), ActivityDefinition (hl7.fhir.r4.examples#4.0.1), BodyStructure (hl7.fhir.r4.examples#4.0.1), Condition (hl7.fhir.r4.examples#4.0.1), DeviceUseStatement (hl7.fhir.r4.examples#4.0.1), Media (hl7.fhir.r4.examples#4.0.1) +- `urn:fhir:binding:BodyStructureCode` (3 versions) + - Version 1: BodyStructure (hl7.fhir.r4.core#4.0.1), BodyStructure (hl7.fhir.r4.core#4.0.1), BodyStructure (hl7.fhir.r4.core#4.0.1), BodyStructure (hl7.fhir.r4.core#4.0.1), BodyStructure (hl7.fhir.r4.core#4.0.1), BodyStructure (hl7.fhir.r4.core#4.0.1), BodyStructure (hl7.fhir.r4.core#4.0.1), BodyStructure (hl7.fhir.r4.core#4.0.1), BodyStructure (hl7.fhir.r4.core#4.0.1), BodyStructure (hl7.fhir.r4.core#4.0.1) + - Version 2: BodyStructure (hl7.fhir.r5.core#5.0.0), BodyStructure (hl7.fhir.r5.core#5.0.0), BodyStructure (hl7.fhir.r5.core#5.0.0) + - Version 3: BodyStructure (hl7.fhir.r4.examples#4.0.1) +- `urn:fhir:binding:BodyStructureQualifier` (3 versions) + - Version 1: BodyStructure (hl7.fhir.r4.core#4.0.1), BodyStructure (hl7.fhir.r4.core#4.0.1), BodyStructure (hl7.fhir.r4.core#4.0.1), BodyStructure (hl7.fhir.r4.core#4.0.1), BodyStructure (hl7.fhir.r4.core#4.0.1), BodyStructure (hl7.fhir.r4.core#4.0.1), BodyStructure (hl7.fhir.r4.core#4.0.1), BodyStructure (hl7.fhir.r4.core#4.0.1), BodyStructure (hl7.fhir.r4.core#4.0.1), BodyStructure (hl7.fhir.r4.core#4.0.1) + - Version 2: BodyStructure (hl7.fhir.r5.core#5.0.0), BodyStructure (hl7.fhir.r5.core#5.0.0), BodyStructure (hl7.fhir.r5.core#5.0.0) + - Version 3: BodyStructure (hl7.fhir.r4.examples#4.0.1) +- `urn:fhir:binding:BodyTempUnits` (3 versions) + - Version 1: bodytemp (hl7.fhir.r4.core#4.0.1), bodytemp (hl7.fhir.r4.core#4.0.1), bodytemp (hl7.fhir.r4.core#4.0.1), bodytemp (hl7.fhir.r4.core#4.0.1), bodytemp (hl7.fhir.r4.core#4.0.1), bodytemp (hl7.fhir.r4.core#4.0.1), bodytemp (hl7.fhir.r4.core#4.0.1), bodytemp (hl7.fhir.r4.core#4.0.1), bodytemp (hl7.fhir.r4.core#4.0.1), bodytemp (hl7.fhir.r4.core#4.0.1) + - Version 2: bodytemp (hl7.fhir.r5.core#5.0.0), bodytemp (hl7.fhir.r5.core#5.0.0), bodytemp (hl7.fhir.r5.core#5.0.0) + - Version 3: bodytemp (hl7.fhir.r4.examples#4.0.1) +- `urn:fhir:binding:BodyWeightUnits` (3 versions) + - Version 1: bodyweight (hl7.fhir.r4.core#4.0.1), bodyweight (hl7.fhir.r4.core#4.0.1), bodyweight (hl7.fhir.r4.core#4.0.1), bodyweight (hl7.fhir.r4.core#4.0.1), bodyweight (hl7.fhir.r4.core#4.0.1), bodyweight (hl7.fhir.r4.core#4.0.1), bodyweight (hl7.fhir.r4.core#4.0.1), bodyweight (hl7.fhir.r4.core#4.0.1), bodyweight (hl7.fhir.r4.core#4.0.1), bodyweight (hl7.fhir.r4.core#4.0.1) + - Version 2: bodyweight (hl7.fhir.r5.core#5.0.0), bodyweight (hl7.fhir.r5.core#5.0.0), bodyweight (hl7.fhir.r5.core#5.0.0) + - Version 3: bodyweight (hl7.fhir.r4.examples#4.0.1) +- `urn:fhir:binding:BundleType` (3 versions) + - Version 1: transaction-bundle (hl7.fhir.r5.core#5.0.0), search-set-bundle (hl7.fhir.r5.core#5.0.0), document-bundle (hl7.fhir.r5.core#5.0.0), transaction-response-bundle (hl7.fhir.r5.core#5.0.0), batch-bundle (hl7.fhir.r5.core#5.0.0), Bundle (hl7.fhir.r5.core#5.0.0), batch-response-bundle (hl7.fhir.r5.core#5.0.0), subscription-notification-bundle (hl7.fhir.r5.core#5.0.0), history-bundle (hl7.fhir.r5.core#5.0.0), transaction-bundle (hl7.fhir.r5.core#5.0.0), search-set-bundle (hl7.fhir.r5.core#5.0.0), document-bundle (hl7.fhir.r5.core#5.0.0), transaction-response-bundle (hl7.fhir.r5.core#5.0.0), batch-bundle (hl7.fhir.r5.core#5.0.0), Bundle (hl7.fhir.r5.core#5.0.0), batch-response-bundle (hl7.fhir.r5.core#5.0.0), subscription-notification-bundle (hl7.fhir.r5.core#5.0.0), history-bundle (hl7.fhir.r5.core#5.0.0), transaction-bundle (hl7.fhir.r5.core#5.0.0), search-set-bundle (hl7.fhir.r5.core#5.0.0), document-bundle (hl7.fhir.r5.core#5.0.0), transaction-response-bundle (hl7.fhir.r5.core#5.0.0), batch-bundle (hl7.fhir.r5.core#5.0.0), Bundle (hl7.fhir.r5.core#5.0.0), batch-response-bundle (hl7.fhir.r5.core#5.0.0), subscription-notification-bundle (hl7.fhir.r5.core#5.0.0), history-bundle (hl7.fhir.r5.core#5.0.0), transaction-bundle (hl7.fhir.r5.core#5.0.0), search-set-bundle (hl7.fhir.r5.core#5.0.0), document-bundle (hl7.fhir.r5.core#5.0.0), transaction-response-bundle (hl7.fhir.r5.core#5.0.0), batch-bundle (hl7.fhir.r5.core#5.0.0), batch-response-bundle (hl7.fhir.r5.core#5.0.0), subscription-notification-bundle (hl7.fhir.r5.core#5.0.0), history-bundle (hl7.fhir.r5.core#5.0.0), transaction-bundle (hl7.fhir.r5.core#5.0.0), search-set-bundle (hl7.fhir.r5.core#5.0.0), document-bundle (hl7.fhir.r5.core#5.0.0), transaction-response-bundle (hl7.fhir.r5.core#5.0.0), batch-bundle (hl7.fhir.r5.core#5.0.0), batch-response-bundle (hl7.fhir.r5.core#5.0.0), subscription-notification-bundle (hl7.fhir.r5.core#5.0.0), history-bundle (hl7.fhir.r5.core#5.0.0) + - Version 2: Bundle (hl7.fhir.r4.core#4.0.1), Bundle (hl7.fhir.r4.core#4.0.1), Bundle (hl7.fhir.r4.core#4.0.1), Bundle (hl7.fhir.r4.core#4.0.1), Bundle (hl7.fhir.r4.core#4.0.1), user-access-brands-bundle (hl7.fhir.uv.smart-app-launch#2.2.0), Bundle (hl7.fhir.r4.core#4.0.1), Bundle (hl7.fhir.r4.core#4.0.1), Bundle (hl7.fhir.r4.core#4.0.1), Bundle (hl7.fhir.r4.core#4.0.1), Bundle (hl7.fhir.r4.core#4.0.1), user-access-brands-bundle (hl7.fhir.uv.smart-app-launch#2.2.0) + - Version 3: Bundle (hl7.fhir.r4.examples#4.0.1) +- `urn:fhir:binding:can-push-updates` (3 versions) + - Version 1: VerificationResult (hl7.fhir.r4.core#4.0.1), VerificationResult (hl7.fhir.r4.core#4.0.1), VerificationResult (hl7.fhir.r4.core#4.0.1), VerificationResult (hl7.fhir.r4.core#4.0.1), VerificationResult (hl7.fhir.r4.core#4.0.1), VerificationResult (hl7.fhir.r4.core#4.0.1), VerificationResult (hl7.fhir.r4.core#4.0.1), VerificationResult (hl7.fhir.r4.core#4.0.1), VerificationResult (hl7.fhir.r4.core#4.0.1), VerificationResult (hl7.fhir.r4.core#4.0.1) + - Version 2: VerificationResult (hl7.fhir.r5.core#5.0.0), VerificationResult (hl7.fhir.r5.core#5.0.0), VerificationResult (hl7.fhir.r5.core#5.0.0) + - Version 3: VerificationResult (hl7.fhir.r4.examples#4.0.1) +- `urn:fhir:binding:cancelation-reason` (2 versions) + - Version 1: Appointment (hl7.fhir.r4.core#4.0.1), Appointment (hl7.fhir.r4.core#4.0.1), Appointment (hl7.fhir.r4.core#4.0.1), Appointment (hl7.fhir.r4.core#4.0.1), Appointment (hl7.fhir.r4.core#4.0.1), Appointment (hl7.fhir.r4.core#4.0.1), Appointment (hl7.fhir.r4.core#4.0.1), Appointment (hl7.fhir.r4.core#4.0.1), Appointment (hl7.fhir.r4.core#4.0.1), Appointment (hl7.fhir.r4.core#4.0.1) + - Version 2: Appointment (hl7.fhir.r4.examples#4.0.1) +- `urn:fhir:binding:CapabilityStatementKind` (3 versions) + - Version 1: CapabilityStatement (hl7.fhir.r4.core#4.0.1), TerminologyCapabilities (hl7.fhir.r4.core#4.0.1), CapabilityStatement (hl7.fhir.r4.core#4.0.1), TerminologyCapabilities (hl7.fhir.r4.core#4.0.1), CapabilityStatement (hl7.fhir.r4.core#4.0.1), TerminologyCapabilities (hl7.fhir.r4.core#4.0.1), CapabilityStatement (hl7.fhir.r4.core#4.0.1), TerminologyCapabilities (hl7.fhir.r4.core#4.0.1), CapabilityStatement (hl7.fhir.r4.core#4.0.1), TerminologyCapabilities (hl7.fhir.r4.core#4.0.1), CapabilityStatement (hl7.fhir.r4.core#4.0.1), TerminologyCapabilities (hl7.fhir.r4.core#4.0.1), CapabilityStatement (hl7.fhir.r4.core#4.0.1), TerminologyCapabilities (hl7.fhir.r4.core#4.0.1), CapabilityStatement (hl7.fhir.r4.core#4.0.1), TerminologyCapabilities (hl7.fhir.r4.core#4.0.1), CapabilityStatement (hl7.fhir.r4.core#4.0.1), TerminologyCapabilities (hl7.fhir.r4.core#4.0.1), CapabilityStatement (hl7.fhir.r4.core#4.0.1), TerminologyCapabilities (hl7.fhir.r4.core#4.0.1) + - Version 2: CapabilityStatement (hl7.fhir.r5.core#5.0.0), TerminologyCapabilities (hl7.fhir.r5.core#5.0.0), CapabilityStatement (hl7.fhir.r5.core#5.0.0), TerminologyCapabilities (hl7.fhir.r5.core#5.0.0), CapabilityStatement (hl7.fhir.r5.core#5.0.0), TerminologyCapabilities (hl7.fhir.r5.core#5.0.0) + - Version 3: CapabilityStatement (hl7.fhir.r4.examples#4.0.1), TerminologyCapabilities (hl7.fhir.r4.examples#4.0.1) +- `urn:fhir:binding:CarePlanActivityKind` (2 versions) + - Version 1: CarePlan (hl7.fhir.r4.core#4.0.1), CarePlan (hl7.fhir.r4.core#4.0.1), CarePlan (hl7.fhir.r4.core#4.0.1), CarePlan (hl7.fhir.r4.core#4.0.1), CarePlan (hl7.fhir.r4.core#4.0.1), CarePlan (hl7.fhir.r4.core#4.0.1), CarePlan (hl7.fhir.r4.core#4.0.1), CarePlan (hl7.fhir.r4.core#4.0.1), CarePlan (hl7.fhir.r4.core#4.0.1), CarePlan (hl7.fhir.r4.core#4.0.1) + - Version 2: CarePlan (hl7.fhir.r4.examples#4.0.1) +- `urn:fhir:binding:CarePlanActivityOutcome` (2 versions) + - Version 1: CarePlan (hl7.fhir.r4.core#4.0.1), CarePlan (hl7.fhir.r4.core#4.0.1), CarePlan (hl7.fhir.r4.core#4.0.1), CarePlan (hl7.fhir.r4.core#4.0.1), CarePlan (hl7.fhir.r4.core#4.0.1), CarePlan (hl7.fhir.r4.core#4.0.1), CarePlan (hl7.fhir.r4.core#4.0.1), CarePlan (hl7.fhir.r4.core#4.0.1), CarePlan (hl7.fhir.r4.core#4.0.1), CarePlan (hl7.fhir.r4.core#4.0.1) + - Version 2: CarePlan (hl7.fhir.r4.examples#4.0.1) +- `urn:fhir:binding:CarePlanActivityReason` (2 versions) + - Version 1: CarePlan (hl7.fhir.r4.core#4.0.1), CarePlan (hl7.fhir.r4.core#4.0.1), CarePlan (hl7.fhir.r4.core#4.0.1), CarePlan (hl7.fhir.r4.core#4.0.1), CarePlan (hl7.fhir.r4.core#4.0.1), CarePlan (hl7.fhir.r4.core#4.0.1), CarePlan (hl7.fhir.r4.core#4.0.1), CarePlan (hl7.fhir.r4.core#4.0.1), CarePlan (hl7.fhir.r4.core#4.0.1), CarePlan (hl7.fhir.r4.core#4.0.1) + - Version 2: CarePlan (hl7.fhir.r4.examples#4.0.1) +- `urn:fhir:binding:CarePlanActivityStatus` (2 versions) + - Version 1: CarePlan (hl7.fhir.r4.core#4.0.1), CarePlan (hl7.fhir.r4.core#4.0.1), CarePlan (hl7.fhir.r4.core#4.0.1), CarePlan (hl7.fhir.r4.core#4.0.1), CarePlan (hl7.fhir.r4.core#4.0.1), CarePlan (hl7.fhir.r4.core#4.0.1), CarePlan (hl7.fhir.r4.core#4.0.1), CarePlan (hl7.fhir.r4.core#4.0.1), CarePlan (hl7.fhir.r4.core#4.0.1), CarePlan (hl7.fhir.r4.core#4.0.1) + - Version 2: CarePlan (hl7.fhir.r4.examples#4.0.1) +- `urn:fhir:binding:CarePlanActivityType` (2 versions) + - Version 1: CarePlan (hl7.fhir.r4.core#4.0.1), CarePlan (hl7.fhir.r4.core#4.0.1), CarePlan (hl7.fhir.r4.core#4.0.1), CarePlan (hl7.fhir.r4.core#4.0.1), CarePlan (hl7.fhir.r4.core#4.0.1), CarePlan (hl7.fhir.r4.core#4.0.1), CarePlan (hl7.fhir.r4.core#4.0.1), CarePlan (hl7.fhir.r4.core#4.0.1), CarePlan (hl7.fhir.r4.core#4.0.1), CarePlan (hl7.fhir.r4.core#4.0.1) + - Version 2: CarePlan (hl7.fhir.r4.examples#4.0.1) +- `urn:fhir:binding:CarePlanCategory` (3 versions) + - Version 1: CarePlan (hl7.fhir.r4.core#4.0.1), CarePlan (hl7.fhir.r4.core#4.0.1), CarePlan (hl7.fhir.r4.core#4.0.1), CarePlan (hl7.fhir.r4.core#4.0.1), CarePlan (hl7.fhir.r4.core#4.0.1), CarePlan (hl7.fhir.r4.core#4.0.1), CarePlan (hl7.fhir.r4.core#4.0.1), CarePlan (hl7.fhir.r4.core#4.0.1), CarePlan (hl7.fhir.r4.core#4.0.1), us-core-careplan (hl7.fhir.us.core#8.0.1), CarePlan (hl7.fhir.r4.core#4.0.1) + - Version 2: CarePlan (hl7.fhir.r5.core#5.0.0), CarePlan (hl7.fhir.r5.core#5.0.0), CarePlan (hl7.fhir.r5.core#5.0.0) + - Version 3: CarePlan (hl7.fhir.r4.examples#4.0.1) +- `urn:fhir:binding:CarePlanIntent` (3 versions) + - Version 1: CarePlan (hl7.fhir.r4.core#4.0.1), CarePlan (hl7.fhir.r4.core#4.0.1), CarePlan (hl7.fhir.r4.core#4.0.1), CarePlan (hl7.fhir.r4.core#4.0.1), CarePlan (hl7.fhir.r4.core#4.0.1), CarePlan (hl7.fhir.r4.core#4.0.1), CarePlan (hl7.fhir.r4.core#4.0.1), CarePlan (hl7.fhir.r4.core#4.0.1), CarePlan (hl7.fhir.r4.core#4.0.1), CarePlan (hl7.fhir.r4.core#4.0.1) + - Version 2: CarePlan (hl7.fhir.r5.core#5.0.0), CarePlan (hl7.fhir.r5.core#5.0.0), CarePlan (hl7.fhir.r5.core#5.0.0) + - Version 3: CarePlan (hl7.fhir.r4.examples#4.0.1) +- `urn:fhir:binding:CarePlanStatus` (3 versions) + - Version 1: CarePlan (hl7.fhir.r4.core#4.0.1), CarePlan (hl7.fhir.r4.core#4.0.1), CarePlan (hl7.fhir.r4.core#4.0.1), CarePlan (hl7.fhir.r4.core#4.0.1), CarePlan (hl7.fhir.r4.core#4.0.1), CarePlan (hl7.fhir.r4.core#4.0.1), CarePlan (hl7.fhir.r4.core#4.0.1), CarePlan (hl7.fhir.r4.core#4.0.1), CarePlan (hl7.fhir.r4.core#4.0.1), CarePlan (hl7.fhir.r4.core#4.0.1) + - Version 2: CarePlan (hl7.fhir.r5.core#5.0.0), CarePlan (hl7.fhir.r5.core#5.0.0), CarePlan (hl7.fhir.r5.core#5.0.0) + - Version 3: CarePlan (hl7.fhir.r4.examples#4.0.1) +- `urn:fhir:binding:CareTeamCategory` (3 versions) + - Version 1: CareTeam (hl7.fhir.r4.core#4.0.1), CareTeam (hl7.fhir.r4.core#4.0.1), CareTeam (hl7.fhir.r4.core#4.0.1), CareTeam (hl7.fhir.r4.core#4.0.1), CareTeam (hl7.fhir.r4.core#4.0.1), CareTeam (hl7.fhir.r4.core#4.0.1), CareTeam (hl7.fhir.r4.core#4.0.1), CareTeam (hl7.fhir.r4.core#4.0.1), CareTeam (hl7.fhir.r4.core#4.0.1), CareTeam (hl7.fhir.r4.core#4.0.1) + - Version 2: CareTeam (hl7.fhir.r5.core#5.0.0), CareTeam (hl7.fhir.r5.core#5.0.0), CareTeam (hl7.fhir.r5.core#5.0.0) + - Version 3: CareTeam (hl7.fhir.r4.examples#4.0.1) +- `urn:fhir:binding:CareTeamParticipantRole` (3 versions) + - Version 1: CareTeam (hl7.fhir.r4.core#4.0.1), CareTeam (hl7.fhir.r4.core#4.0.1), CareTeam (hl7.fhir.r4.core#4.0.1), CareTeam (hl7.fhir.r4.core#4.0.1), CareTeam (hl7.fhir.r4.core#4.0.1), CareTeam (hl7.fhir.r4.core#4.0.1), CareTeam (hl7.fhir.r4.core#4.0.1), CareTeam (hl7.fhir.r4.core#4.0.1), CareTeam (hl7.fhir.r4.core#4.0.1), CareTeam (hl7.fhir.r4.core#4.0.1) + - Version 2: CareTeam (hl7.fhir.r5.core#5.0.0), CareTeam (hl7.fhir.r5.core#5.0.0), CareTeam (hl7.fhir.r5.core#5.0.0) + - Version 3: CareTeam (hl7.fhir.r4.examples#4.0.1) +- `urn:fhir:binding:CareTeamReason` (3 versions) + - Version 1: CareTeam (hl7.fhir.r4.core#4.0.1), CareTeam (hl7.fhir.r4.core#4.0.1), CareTeam (hl7.fhir.r4.core#4.0.1), CareTeam (hl7.fhir.r4.core#4.0.1), CareTeam (hl7.fhir.r4.core#4.0.1), CareTeam (hl7.fhir.r4.core#4.0.1), CareTeam (hl7.fhir.r4.core#4.0.1), CareTeam (hl7.fhir.r4.core#4.0.1), CareTeam (hl7.fhir.r4.core#4.0.1), CareTeam (hl7.fhir.r4.core#4.0.1) + - Version 2: CareTeam (hl7.fhir.r5.core#5.0.0), CareTeam (hl7.fhir.r5.core#5.0.0), CareTeam (hl7.fhir.r5.core#5.0.0) + - Version 3: CareTeam (hl7.fhir.r4.examples#4.0.1) +- `urn:fhir:binding:CareTeamRole` (3 versions) + - Version 1: Claim (hl7.fhir.r4.core#4.0.1), ExplanationOfBenefit (hl7.fhir.r4.core#4.0.1), Claim (hl7.fhir.r4.core#4.0.1), ExplanationOfBenefit (hl7.fhir.r4.core#4.0.1), Claim (hl7.fhir.r4.core#4.0.1), ExplanationOfBenefit (hl7.fhir.r4.core#4.0.1), Claim (hl7.fhir.r4.core#4.0.1), ExplanationOfBenefit (hl7.fhir.r4.core#4.0.1), Claim (hl7.fhir.r4.core#4.0.1), ExplanationOfBenefit (hl7.fhir.r4.core#4.0.1), Claim (hl7.fhir.r4.core#4.0.1), ExplanationOfBenefit (hl7.fhir.r4.core#4.0.1), Claim (hl7.fhir.r4.core#4.0.1), ExplanationOfBenefit (hl7.fhir.r4.core#4.0.1), Claim (hl7.fhir.r4.core#4.0.1), ExplanationOfBenefit (hl7.fhir.r4.core#4.0.1), Claim (hl7.fhir.r4.core#4.0.1), ExplanationOfBenefit (hl7.fhir.r4.core#4.0.1), Claim (hl7.fhir.r4.core#4.0.1), ExplanationOfBenefit (hl7.fhir.r4.core#4.0.1) + - Version 2: Claim (hl7.fhir.r5.core#5.0.0), ExplanationOfBenefit (hl7.fhir.r5.core#5.0.0), Claim (hl7.fhir.r5.core#5.0.0), ExplanationOfBenefit (hl7.fhir.r5.core#5.0.0), Claim (hl7.fhir.r5.core#5.0.0), ExplanationOfBenefit (hl7.fhir.r5.core#5.0.0) + - Version 3: Claim (hl7.fhir.r4.examples#4.0.1), ExplanationOfBenefit (hl7.fhir.r4.examples#4.0.1) +- `urn:fhir:binding:CareTeamStatus` (3 versions) + - Version 1: CareTeam (hl7.fhir.r4.core#4.0.1), CareTeam (hl7.fhir.r4.core#4.0.1), CareTeam (hl7.fhir.r4.core#4.0.1), CareTeam (hl7.fhir.r4.core#4.0.1), CareTeam (hl7.fhir.r4.core#4.0.1), CareTeam (hl7.fhir.r4.core#4.0.1), CareTeam (hl7.fhir.r4.core#4.0.1), CareTeam (hl7.fhir.r4.core#4.0.1), CareTeam (hl7.fhir.r4.core#4.0.1), CareTeam (hl7.fhir.r4.core#4.0.1) + - Version 2: CareTeam (hl7.fhir.r5.core#5.0.0), CareTeam (hl7.fhir.r5.core#5.0.0), CareTeam (hl7.fhir.r5.core#5.0.0) + - Version 3: CareTeam (hl7.fhir.r4.examples#4.0.1) +- `urn:fhir:binding:CatalogEntryRelationType` (2 versions) + - Version 1: CatalogEntry (hl7.fhir.r4.core#4.0.1), CatalogEntry (hl7.fhir.r4.core#4.0.1), CatalogEntry (hl7.fhir.r4.core#4.0.1), CatalogEntry (hl7.fhir.r4.core#4.0.1), CatalogEntry (hl7.fhir.r4.core#4.0.1), CatalogEntry (hl7.fhir.r4.core#4.0.1), CatalogEntry (hl7.fhir.r4.core#4.0.1), CatalogEntry (hl7.fhir.r4.core#4.0.1), CatalogEntry (hl7.fhir.r4.core#4.0.1), CatalogEntry (hl7.fhir.r4.core#4.0.1) + - Version 2: CatalogEntry (hl7.fhir.r4.examples#4.0.1) +- `urn:fhir:binding:CatalogType` (3 versions) + - Version 1: catalog (hl7.fhir.r4.core#4.0.1), catalog (hl7.fhir.r4.core#4.0.1), catalog (hl7.fhir.r4.core#4.0.1), catalog (hl7.fhir.r4.core#4.0.1), catalog (hl7.fhir.r4.core#4.0.1), catalog (hl7.fhir.r4.core#4.0.1), catalog (hl7.fhir.r4.core#4.0.1), catalog (hl7.fhir.r4.core#4.0.1), catalog (hl7.fhir.r4.core#4.0.1), catalog (hl7.fhir.r4.core#4.0.1) + - Version 2: catalog (hl7.fhir.r5.core#5.0.0), catalog (hl7.fhir.r5.core#5.0.0), catalog (hl7.fhir.r5.core#5.0.0) + - Version 3: catalog (hl7.fhir.r4.examples#4.0.1) +- `urn:fhir:binding:CertaintySubcomponentRating` (2 versions) + - Version 1: EffectEvidenceSynthesis (hl7.fhir.r4.core#4.0.1), RiskEvidenceSynthesis (hl7.fhir.r4.core#4.0.1), EffectEvidenceSynthesis (hl7.fhir.r4.core#4.0.1), RiskEvidenceSynthesis (hl7.fhir.r4.core#4.0.1), EffectEvidenceSynthesis (hl7.fhir.r4.core#4.0.1), RiskEvidenceSynthesis (hl7.fhir.r4.core#4.0.1), EffectEvidenceSynthesis (hl7.fhir.r4.core#4.0.1), RiskEvidenceSynthesis (hl7.fhir.r4.core#4.0.1), EffectEvidenceSynthesis (hl7.fhir.r4.core#4.0.1), RiskEvidenceSynthesis (hl7.fhir.r4.core#4.0.1), EffectEvidenceSynthesis (hl7.fhir.r4.core#4.0.1), RiskEvidenceSynthesis (hl7.fhir.r4.core#4.0.1), EffectEvidenceSynthesis (hl7.fhir.r4.core#4.0.1), RiskEvidenceSynthesis (hl7.fhir.r4.core#4.0.1), EffectEvidenceSynthesis (hl7.fhir.r4.core#4.0.1), RiskEvidenceSynthesis (hl7.fhir.r4.core#4.0.1), EffectEvidenceSynthesis (hl7.fhir.r4.core#4.0.1), RiskEvidenceSynthesis (hl7.fhir.r4.core#4.0.1), EffectEvidenceSynthesis (hl7.fhir.r4.core#4.0.1), RiskEvidenceSynthesis (hl7.fhir.r4.core#4.0.1) + - Version 2: EffectEvidenceSynthesis (hl7.fhir.r4.examples#4.0.1), RiskEvidenceSynthesis (hl7.fhir.r4.examples#4.0.1) +- `urn:fhir:binding:CertaintySubcomponentType` (2 versions) + - Version 1: EffectEvidenceSynthesis (hl7.fhir.r4.core#4.0.1), RiskEvidenceSynthesis (hl7.fhir.r4.core#4.0.1), EffectEvidenceSynthesis (hl7.fhir.r4.core#4.0.1), RiskEvidenceSynthesis (hl7.fhir.r4.core#4.0.1), EffectEvidenceSynthesis (hl7.fhir.r4.core#4.0.1), RiskEvidenceSynthesis (hl7.fhir.r4.core#4.0.1), EffectEvidenceSynthesis (hl7.fhir.r4.core#4.0.1), RiskEvidenceSynthesis (hl7.fhir.r4.core#4.0.1), EffectEvidenceSynthesis (hl7.fhir.r4.core#4.0.1), RiskEvidenceSynthesis (hl7.fhir.r4.core#4.0.1), EffectEvidenceSynthesis (hl7.fhir.r4.core#4.0.1), RiskEvidenceSynthesis (hl7.fhir.r4.core#4.0.1), EffectEvidenceSynthesis (hl7.fhir.r4.core#4.0.1), RiskEvidenceSynthesis (hl7.fhir.r4.core#4.0.1), EffectEvidenceSynthesis (hl7.fhir.r4.core#4.0.1), RiskEvidenceSynthesis (hl7.fhir.r4.core#4.0.1), EffectEvidenceSynthesis (hl7.fhir.r4.core#4.0.1), RiskEvidenceSynthesis (hl7.fhir.r4.core#4.0.1), EffectEvidenceSynthesis (hl7.fhir.r4.core#4.0.1), RiskEvidenceSynthesis (hl7.fhir.r4.core#4.0.1) + - Version 2: EffectEvidenceSynthesis (hl7.fhir.r4.examples#4.0.1), RiskEvidenceSynthesis (hl7.fhir.r4.examples#4.0.1) +- `urn:fhir:binding:ChargeItemCode` (3 versions) + - Version 1: ChargeItem (hl7.fhir.r4.core#4.0.1), ChargeItem (hl7.fhir.r4.core#4.0.1), ChargeItem (hl7.fhir.r4.core#4.0.1), ChargeItem (hl7.fhir.r4.core#4.0.1), ChargeItem (hl7.fhir.r4.core#4.0.1), ChargeItem (hl7.fhir.r4.core#4.0.1), ChargeItem (hl7.fhir.r4.core#4.0.1), ChargeItem (hl7.fhir.r4.core#4.0.1), ChargeItem (hl7.fhir.r4.core#4.0.1), ChargeItem (hl7.fhir.r4.core#4.0.1) + - Version 2: ChargeItem (hl7.fhir.r5.core#5.0.0), ChargeItem (hl7.fhir.r5.core#5.0.0), ChargeItem (hl7.fhir.r5.core#5.0.0) + - Version 3: ChargeItem (hl7.fhir.r4.examples#4.0.1) +- `urn:fhir:binding:ChargeItemDefinitionCode` (3 versions) + - Version 1: ChargeItemDefinition (hl7.fhir.r4.core#4.0.1), ChargeItemDefinition (hl7.fhir.r4.core#4.0.1), ChargeItemDefinition (hl7.fhir.r4.core#4.0.1), ChargeItemDefinition (hl7.fhir.r4.core#4.0.1), ChargeItemDefinition (hl7.fhir.r4.core#4.0.1), ChargeItemDefinition (hl7.fhir.r4.core#4.0.1), ChargeItemDefinition (hl7.fhir.r4.core#4.0.1), ChargeItemDefinition (hl7.fhir.r4.core#4.0.1), ChargeItemDefinition (hl7.fhir.r4.core#4.0.1), ChargeItemDefinition (hl7.fhir.r4.core#4.0.1) + - Version 2: ChargeItemDefinition (hl7.fhir.r5.core#5.0.0), ChargeItemDefinition (hl7.fhir.r5.core#5.0.0), ChargeItemDefinition (hl7.fhir.r5.core#5.0.0) + - Version 3: ChargeItemDefinition (hl7.fhir.r4.examples#4.0.1) +- `urn:fhir:binding:ChargeItemDefinitionPriceComponentType` (2 versions) + - Version 1: ChargeItemDefinition (hl7.fhir.r4.core#4.0.1), ChargeItemDefinition (hl7.fhir.r4.core#4.0.1), ChargeItemDefinition (hl7.fhir.r4.core#4.0.1), ChargeItemDefinition (hl7.fhir.r4.core#4.0.1), ChargeItemDefinition (hl7.fhir.r4.core#4.0.1), ChargeItemDefinition (hl7.fhir.r4.core#4.0.1), ChargeItemDefinition (hl7.fhir.r4.core#4.0.1), ChargeItemDefinition (hl7.fhir.r4.core#4.0.1), ChargeItemDefinition (hl7.fhir.r4.core#4.0.1), ChargeItemDefinition (hl7.fhir.r4.core#4.0.1) + - Version 2: ChargeItemDefinition (hl7.fhir.r4.examples#4.0.1) +- `urn:fhir:binding:ChargeItemPerformerFunction` (3 versions) + - Version 1: ChargeItem (hl7.fhir.r4.core#4.0.1), ChargeItem (hl7.fhir.r4.core#4.0.1), ChargeItem (hl7.fhir.r4.core#4.0.1), ChargeItem (hl7.fhir.r4.core#4.0.1), ChargeItem (hl7.fhir.r4.core#4.0.1), ChargeItem (hl7.fhir.r4.core#4.0.1), ChargeItem (hl7.fhir.r4.core#4.0.1), ChargeItem (hl7.fhir.r4.core#4.0.1), ChargeItem (hl7.fhir.r4.core#4.0.1), ChargeItem (hl7.fhir.r4.core#4.0.1) + - Version 2: ChargeItem (hl7.fhir.r5.core#5.0.0), ChargeItem (hl7.fhir.r5.core#5.0.0), ChargeItem (hl7.fhir.r5.core#5.0.0) + - Version 3: ChargeItem (hl7.fhir.r4.examples#4.0.1) +- `urn:fhir:binding:ChargeItemReason` (3 versions) + - Version 1: ChargeItem (hl7.fhir.r4.core#4.0.1), ChargeItem (hl7.fhir.r4.core#4.0.1), ChargeItem (hl7.fhir.r4.core#4.0.1), ChargeItem (hl7.fhir.r4.core#4.0.1), ChargeItem (hl7.fhir.r4.core#4.0.1), ChargeItem (hl7.fhir.r4.core#4.0.1), ChargeItem (hl7.fhir.r4.core#4.0.1), ChargeItem (hl7.fhir.r4.core#4.0.1), ChargeItem (hl7.fhir.r4.core#4.0.1), ChargeItem (hl7.fhir.r4.core#4.0.1) + - Version 2: ChargeItem (hl7.fhir.r5.core#5.0.0), ChargeItem (hl7.fhir.r5.core#5.0.0), ChargeItem (hl7.fhir.r5.core#5.0.0) + - Version 3: ChargeItem (hl7.fhir.r4.examples#4.0.1) +- `urn:fhir:binding:ChargeItemStatus` (3 versions) + - Version 1: ChargeItem (hl7.fhir.r4.core#4.0.1), ChargeItem (hl7.fhir.r4.core#4.0.1), ChargeItem (hl7.fhir.r4.core#4.0.1), ChargeItem (hl7.fhir.r4.core#4.0.1), ChargeItem (hl7.fhir.r4.core#4.0.1), ChargeItem (hl7.fhir.r4.core#4.0.1), ChargeItem (hl7.fhir.r4.core#4.0.1), ChargeItem (hl7.fhir.r4.core#4.0.1), ChargeItem (hl7.fhir.r4.core#4.0.1), ChargeItem (hl7.fhir.r4.core#4.0.1) + - Version 2: ChargeItem (hl7.fhir.r5.core#5.0.0), ChargeItem (hl7.fhir.r5.core#5.0.0), ChargeItem (hl7.fhir.r5.core#5.0.0) + - Version 3: ChargeItem (hl7.fhir.r4.examples#4.0.1) +- `urn:fhir:binding:chromosome-human` (2 versions) + - Version 1: MolecularSequence (hl7.fhir.r4.core#4.0.1), MolecularSequence (hl7.fhir.r4.core#4.0.1), MolecularSequence (hl7.fhir.r4.core#4.0.1), MolecularSequence (hl7.fhir.r4.core#4.0.1), MolecularSequence (hl7.fhir.r4.core#4.0.1), MolecularSequence (hl7.fhir.r4.core#4.0.1), MolecularSequence (hl7.fhir.r4.core#4.0.1), MolecularSequence (hl7.fhir.r4.core#4.0.1), MolecularSequence (hl7.fhir.r4.core#4.0.1), MolecularSequence (hl7.fhir.r4.core#4.0.1) + - Version 2: MolecularSequence (hl7.fhir.r4.examples#4.0.1) +- `urn:fhir:binding:ClaimResponseStatus` (3 versions) + - Version 1: ClaimResponse (hl7.fhir.r4.core#4.0.1), ClaimResponse (hl7.fhir.r4.core#4.0.1), ClaimResponse (hl7.fhir.r4.core#4.0.1), ClaimResponse (hl7.fhir.r4.core#4.0.1), ClaimResponse (hl7.fhir.r4.core#4.0.1), ClaimResponse (hl7.fhir.r4.core#4.0.1), ClaimResponse (hl7.fhir.r4.core#4.0.1), ClaimResponse (hl7.fhir.r4.core#4.0.1), ClaimResponse (hl7.fhir.r4.core#4.0.1), ClaimResponse (hl7.fhir.r4.core#4.0.1) + - Version 2: ClaimResponse (hl7.fhir.r5.core#5.0.0), ClaimResponse (hl7.fhir.r5.core#5.0.0), ClaimResponse (hl7.fhir.r5.core#5.0.0) + - Version 3: ClaimResponse (hl7.fhir.r4.examples#4.0.1) +- `urn:fhir:binding:ClaimStatus` (3 versions) + - Version 1: Claim (hl7.fhir.r4.core#4.0.1), Claim (hl7.fhir.r4.core#4.0.1), Claim (hl7.fhir.r4.core#4.0.1), Claim (hl7.fhir.r4.core#4.0.1), Claim (hl7.fhir.r4.core#4.0.1), Claim (hl7.fhir.r4.core#4.0.1), Claim (hl7.fhir.r4.core#4.0.1), Claim (hl7.fhir.r4.core#4.0.1), Claim (hl7.fhir.r4.core#4.0.1), Claim (hl7.fhir.r4.core#4.0.1) + - Version 2: Claim (hl7.fhir.r5.core#5.0.0), Claim (hl7.fhir.r5.core#5.0.0), Claim (hl7.fhir.r5.core#5.0.0) + - Version 3: Claim (hl7.fhir.r4.examples#4.0.1) +- `urn:fhir:binding:ClaimSubType` (3 versions) + - Version 1: Claim (hl7.fhir.r4.core#4.0.1), ClaimResponse (hl7.fhir.r4.core#4.0.1), ExplanationOfBenefit (hl7.fhir.r4.core#4.0.1), Claim (hl7.fhir.r4.core#4.0.1), ClaimResponse (hl7.fhir.r4.core#4.0.1), ExplanationOfBenefit (hl7.fhir.r4.core#4.0.1), Claim (hl7.fhir.r4.core#4.0.1), ClaimResponse (hl7.fhir.r4.core#4.0.1), ExplanationOfBenefit (hl7.fhir.r4.core#4.0.1), Claim (hl7.fhir.r4.core#4.0.1), ClaimResponse (hl7.fhir.r4.core#4.0.1), ExplanationOfBenefit (hl7.fhir.r4.core#4.0.1), Claim (hl7.fhir.r4.core#4.0.1), ClaimResponse (hl7.fhir.r4.core#4.0.1), ExplanationOfBenefit (hl7.fhir.r4.core#4.0.1), Claim (hl7.fhir.r4.core#4.0.1), ClaimResponse (hl7.fhir.r4.core#4.0.1), ExplanationOfBenefit (hl7.fhir.r4.core#4.0.1), Claim (hl7.fhir.r4.core#4.0.1), ClaimResponse (hl7.fhir.r4.core#4.0.1), ExplanationOfBenefit (hl7.fhir.r4.core#4.0.1), Claim (hl7.fhir.r4.core#4.0.1), ClaimResponse (hl7.fhir.r4.core#4.0.1), ExplanationOfBenefit (hl7.fhir.r4.core#4.0.1), Claim (hl7.fhir.r4.core#4.0.1), ClaimResponse (hl7.fhir.r4.core#4.0.1), ExplanationOfBenefit (hl7.fhir.r4.core#4.0.1), Claim (hl7.fhir.r4.core#4.0.1), ClaimResponse (hl7.fhir.r4.core#4.0.1), ExplanationOfBenefit (hl7.fhir.r4.core#4.0.1) + - Version 2: Claim (hl7.fhir.r5.core#5.0.0), ClaimResponse (hl7.fhir.r5.core#5.0.0), ExplanationOfBenefit (hl7.fhir.r5.core#5.0.0), Claim (hl7.fhir.r5.core#5.0.0), ClaimResponse (hl7.fhir.r5.core#5.0.0), ExplanationOfBenefit (hl7.fhir.r5.core#5.0.0), Claim (hl7.fhir.r5.core#5.0.0), ClaimResponse (hl7.fhir.r5.core#5.0.0), ExplanationOfBenefit (hl7.fhir.r5.core#5.0.0) + - Version 3: Claim (hl7.fhir.r4.examples#4.0.1), ClaimResponse (hl7.fhir.r4.examples#4.0.1), ExplanationOfBenefit (hl7.fhir.r4.examples#4.0.1) +- `urn:fhir:binding:ClaimType` (3 versions) + - Version 1: Claim (hl7.fhir.r4.core#4.0.1), ClaimResponse (hl7.fhir.r4.core#4.0.1), ExplanationOfBenefit (hl7.fhir.r4.core#4.0.1), Claim (hl7.fhir.r4.core#4.0.1), ClaimResponse (hl7.fhir.r4.core#4.0.1), ExplanationOfBenefit (hl7.fhir.r4.core#4.0.1), Claim (hl7.fhir.r4.core#4.0.1), ClaimResponse (hl7.fhir.r4.core#4.0.1), ExplanationOfBenefit (hl7.fhir.r4.core#4.0.1), Claim (hl7.fhir.r4.core#4.0.1), ClaimResponse (hl7.fhir.r4.core#4.0.1), ExplanationOfBenefit (hl7.fhir.r4.core#4.0.1), Claim (hl7.fhir.r4.core#4.0.1), ClaimResponse (hl7.fhir.r4.core#4.0.1), ExplanationOfBenefit (hl7.fhir.r4.core#4.0.1), Claim (hl7.fhir.r4.core#4.0.1), ClaimResponse (hl7.fhir.r4.core#4.0.1), ExplanationOfBenefit (hl7.fhir.r4.core#4.0.1), Claim (hl7.fhir.r4.core#4.0.1), ClaimResponse (hl7.fhir.r4.core#4.0.1), ExplanationOfBenefit (hl7.fhir.r4.core#4.0.1), Claim (hl7.fhir.r4.core#4.0.1), ClaimResponse (hl7.fhir.r4.core#4.0.1), ExplanationOfBenefit (hl7.fhir.r4.core#4.0.1), Claim (hl7.fhir.r4.core#4.0.1), ClaimResponse (hl7.fhir.r4.core#4.0.1), ExplanationOfBenefit (hl7.fhir.r4.core#4.0.1), Claim (hl7.fhir.r4.core#4.0.1), ClaimResponse (hl7.fhir.r4.core#4.0.1), ExplanationOfBenefit (hl7.fhir.r4.core#4.0.1) + - Version 2: Claim (hl7.fhir.r5.core#5.0.0), ClaimResponse (hl7.fhir.r5.core#5.0.0), ExplanationOfBenefit (hl7.fhir.r5.core#5.0.0), Claim (hl7.fhir.r5.core#5.0.0), ClaimResponse (hl7.fhir.r5.core#5.0.0), ExplanationOfBenefit (hl7.fhir.r5.core#5.0.0), Claim (hl7.fhir.r5.core#5.0.0), ClaimResponse (hl7.fhir.r5.core#5.0.0), ExplanationOfBenefit (hl7.fhir.r5.core#5.0.0) + - Version 3: Claim (hl7.fhir.r4.examples#4.0.1), ClaimResponse (hl7.fhir.r4.examples#4.0.1), ExplanationOfBenefit (hl7.fhir.r4.examples#4.0.1) +- `urn:fhir:binding:ClinicalImpressionPrognosis` (3 versions) + - Version 1: ClinicalImpression (hl7.fhir.r4.core#4.0.1), ClinicalImpression (hl7.fhir.r4.core#4.0.1), ClinicalImpression (hl7.fhir.r4.core#4.0.1), ClinicalImpression (hl7.fhir.r4.core#4.0.1), ClinicalImpression (hl7.fhir.r4.core#4.0.1), ClinicalImpression (hl7.fhir.r4.core#4.0.1), ClinicalImpression (hl7.fhir.r4.core#4.0.1), ClinicalImpression (hl7.fhir.r4.core#4.0.1), ClinicalImpression (hl7.fhir.r4.core#4.0.1), ClinicalImpression (hl7.fhir.r4.core#4.0.1) + - Version 2: ClinicalImpression (hl7.fhir.r5.core#5.0.0), ClinicalImpression (hl7.fhir.r5.core#5.0.0), ClinicalImpression (hl7.fhir.r5.core#5.0.0) + - Version 3: ClinicalImpression (hl7.fhir.r4.examples#4.0.1) +- `urn:fhir:binding:ClinicalImpressionStatus` (3 versions) + - Version 1: ClinicalImpression (hl7.fhir.r4.core#4.0.1), ClinicalImpression (hl7.fhir.r4.core#4.0.1), ClinicalImpression (hl7.fhir.r4.core#4.0.1), ClinicalImpression (hl7.fhir.r4.core#4.0.1), ClinicalImpression (hl7.fhir.r4.core#4.0.1), ClinicalImpression (hl7.fhir.r4.core#4.0.1), ClinicalImpression (hl7.fhir.r4.core#4.0.1), ClinicalImpression (hl7.fhir.r4.core#4.0.1), ClinicalImpression (hl7.fhir.r4.core#4.0.1), ClinicalImpression (hl7.fhir.r4.core#4.0.1) + - Version 2: ClinicalImpression (hl7.fhir.r5.core#5.0.0), ClinicalImpression (hl7.fhir.r5.core#5.0.0), ClinicalImpression (hl7.fhir.r5.core#5.0.0) + - Version 3: ClinicalImpression (hl7.fhir.r4.examples#4.0.1) +- `urn:fhir:binding:CodeSearchSupport` (3 versions) + - Version 1: TerminologyCapabilities (hl7.fhir.r4.core#4.0.1), TerminologyCapabilities (hl7.fhir.r4.core#4.0.1), TerminologyCapabilities (hl7.fhir.r4.core#4.0.1), TerminologyCapabilities (hl7.fhir.r4.core#4.0.1), TerminologyCapabilities (hl7.fhir.r4.core#4.0.1), TerminologyCapabilities (hl7.fhir.r4.core#4.0.1), TerminologyCapabilities (hl7.fhir.r4.core#4.0.1), TerminologyCapabilities (hl7.fhir.r4.core#4.0.1), TerminologyCapabilities (hl7.fhir.r4.core#4.0.1), TerminologyCapabilities (hl7.fhir.r4.core#4.0.1) + - Version 2: TerminologyCapabilities (hl7.fhir.r5.core#5.0.0), TerminologyCapabilities (hl7.fhir.r5.core#5.0.0), TerminologyCapabilities (hl7.fhir.r5.core#5.0.0) + - Version 3: TerminologyCapabilities (hl7.fhir.r4.examples#4.0.1) +- `urn:fhir:binding:CodeSystemContentMode` (3 versions) + - Version 1: CodeSystem (hl7.fhir.r4.core#4.0.1), CodeSystem (hl7.fhir.r4.core#4.0.1), CodeSystem (hl7.fhir.r4.core#4.0.1), CodeSystem (hl7.fhir.r4.core#4.0.1), CodeSystem (hl7.fhir.r4.core#4.0.1), CodeSystem (hl7.fhir.r4.core#4.0.1), CodeSystem (hl7.fhir.r4.core#4.0.1), sdc-codesystem (hl7.fhir.uv.sdc#3.0.0), CodeSystem (hl7.fhir.r4.core#4.0.1), CodeSystem (hl7.fhir.r4.core#4.0.1), CodeSystem (hl7.fhir.r4.core#4.0.1), sdc-codesystem (hl7.fhir.uv.sdc#3.0.0) + - Version 2: CodeSystem (hl7.fhir.r5.core#5.0.0), TerminologyCapabilities (hl7.fhir.r5.core#5.0.0), CodeSystem (hl7.fhir.r5.core#5.0.0), TerminologyCapabilities (hl7.fhir.r5.core#5.0.0), CodeSystem (hl7.fhir.r5.core#5.0.0), TerminologyCapabilities (hl7.fhir.r5.core#5.0.0) + - Version 3: CodeSystem (hl7.fhir.r4.examples#4.0.1) +- `urn:fhir:binding:CodeSystemHierarchyMeaning` (3 versions) + - Version 1: CodeSystem (hl7.fhir.r4.core#4.0.1), CodeSystem (hl7.fhir.r4.core#4.0.1), CodeSystem (hl7.fhir.r4.core#4.0.1), CodeSystem (hl7.fhir.r4.core#4.0.1), CodeSystem (hl7.fhir.r4.core#4.0.1), CodeSystem (hl7.fhir.r4.core#4.0.1), CodeSystem (hl7.fhir.r4.core#4.0.1), CodeSystem (hl7.fhir.r4.core#4.0.1), CodeSystem (hl7.fhir.r4.core#4.0.1), CodeSystem (hl7.fhir.r4.core#4.0.1) + - Version 2: CodeSystem (hl7.fhir.r5.core#5.0.0), CodeSystem (hl7.fhir.r5.core#5.0.0), CodeSystem (hl7.fhir.r5.core#5.0.0) + - Version 3: CodeSystem (hl7.fhir.r4.examples#4.0.1) +- `urn:fhir:binding:CollectedSpecimenType` (2 versions) + - Version 1: SpecimenDefinition (hl7.fhir.r4.core#4.0.1), SpecimenDefinition (hl7.fhir.r4.core#4.0.1), SpecimenDefinition (hl7.fhir.r4.core#4.0.1), SpecimenDefinition (hl7.fhir.r5.core#5.0.0), SpecimenDefinition (hl7.fhir.r5.core#5.0.0), SpecimenDefinition (hl7.fhir.r5.core#5.0.0), SpecimenDefinition (hl7.fhir.r4.core#4.0.1), SpecimenDefinition (hl7.fhir.r4.core#4.0.1), SpecimenDefinition (hl7.fhir.r4.core#4.0.1), SpecimenDefinition (hl7.fhir.r4.core#4.0.1), SpecimenDefinition (hl7.fhir.r4.core#4.0.1), SpecimenDefinition (hl7.fhir.r4.core#4.0.1), SpecimenDefinition (hl7.fhir.r4.core#4.0.1) + - Version 2: SpecimenDefinition (hl7.fhir.r4.examples#4.0.1) +- `urn:fhir:binding:communication-method` (3 versions) + - Version 1: VerificationResult (hl7.fhir.r4.core#4.0.1), VerificationResult (hl7.fhir.r4.core#4.0.1), VerificationResult (hl7.fhir.r4.core#4.0.1), VerificationResult (hl7.fhir.r4.core#4.0.1), VerificationResult (hl7.fhir.r4.core#4.0.1), VerificationResult (hl7.fhir.r4.core#4.0.1), VerificationResult (hl7.fhir.r4.core#4.0.1), VerificationResult (hl7.fhir.r4.core#4.0.1), VerificationResult (hl7.fhir.r4.core#4.0.1), VerificationResult (hl7.fhir.r4.core#4.0.1) + - Version 2: VerificationResult (hl7.fhir.r5.core#5.0.0), VerificationResult (hl7.fhir.r5.core#5.0.0), VerificationResult (hl7.fhir.r5.core#5.0.0) + - Version 3: VerificationResult (hl7.fhir.r4.examples#4.0.1) +- `urn:fhir:binding:CommunicationCategory` (3 versions) + - Version 1: Communication (hl7.fhir.r4.core#4.0.1), CommunicationRequest (hl7.fhir.r4.core#4.0.1), Communication (hl7.fhir.r4.core#4.0.1), CommunicationRequest (hl7.fhir.r4.core#4.0.1), Communication (hl7.fhir.r4.core#4.0.1), CommunicationRequest (hl7.fhir.r4.core#4.0.1), Communication (hl7.fhir.r4.core#4.0.1), CommunicationRequest (hl7.fhir.r4.core#4.0.1), Communication (hl7.fhir.r4.core#4.0.1), CommunicationRequest (hl7.fhir.r4.core#4.0.1), Communication (hl7.fhir.r4.core#4.0.1), CommunicationRequest (hl7.fhir.r4.core#4.0.1), Communication (hl7.fhir.r4.core#4.0.1), CommunicationRequest (hl7.fhir.r4.core#4.0.1), Communication (hl7.fhir.r4.core#4.0.1), CommunicationRequest (hl7.fhir.r4.core#4.0.1), Communication (hl7.fhir.r4.core#4.0.1), CommunicationRequest (hl7.fhir.r4.core#4.0.1), Communication (hl7.fhir.r4.core#4.0.1), CommunicationRequest (hl7.fhir.r4.core#4.0.1) + - Version 2: Communication (hl7.fhir.r5.core#5.0.0), CommunicationRequest (hl7.fhir.r5.core#5.0.0), Communication (hl7.fhir.r5.core#5.0.0), CommunicationRequest (hl7.fhir.r5.core#5.0.0), Communication (hl7.fhir.r5.core#5.0.0), CommunicationRequest (hl7.fhir.r5.core#5.0.0) + - Version 3: Communication (hl7.fhir.r4.examples#4.0.1), CommunicationRequest (hl7.fhir.r4.examples#4.0.1) +- `urn:fhir:binding:CommunicationMedium` (2 versions) + - Version 1: Communication (hl7.fhir.r4.core#4.0.1), CommunicationRequest (hl7.fhir.r4.core#4.0.1), Communication (hl7.fhir.r4.core#4.0.1), CommunicationRequest (hl7.fhir.r4.core#4.0.1), Communication (hl7.fhir.r4.core#4.0.1), CommunicationRequest (hl7.fhir.r4.core#4.0.1), Communication (hl7.fhir.r5.core#5.0.0), CommunicationRequest (hl7.fhir.r5.core#5.0.0), Communication (hl7.fhir.r5.core#5.0.0), CommunicationRequest (hl7.fhir.r5.core#5.0.0), Communication (hl7.fhir.r5.core#5.0.0), CommunicationRequest (hl7.fhir.r5.core#5.0.0), Communication (hl7.fhir.r4.core#4.0.1), CommunicationRequest (hl7.fhir.r4.core#4.0.1), Communication (hl7.fhir.r4.core#4.0.1), CommunicationRequest (hl7.fhir.r4.core#4.0.1), Communication (hl7.fhir.r4.core#4.0.1), CommunicationRequest (hl7.fhir.r4.core#4.0.1), Communication (hl7.fhir.r4.core#4.0.1), CommunicationRequest (hl7.fhir.r4.core#4.0.1), Communication (hl7.fhir.r4.core#4.0.1), CommunicationRequest (hl7.fhir.r4.core#4.0.1), Communication (hl7.fhir.r4.core#4.0.1), CommunicationRequest (hl7.fhir.r4.core#4.0.1), Communication (hl7.fhir.r4.core#4.0.1), CommunicationRequest (hl7.fhir.r4.core#4.0.1) + - Version 2: Communication (hl7.fhir.r4.examples#4.0.1), CommunicationRequest (hl7.fhir.r4.examples#4.0.1) +- `urn:fhir:binding:CommunicationNotDoneReason` (3 versions) + - Version 1: Communication (hl7.fhir.r4.core#4.0.1), Communication (hl7.fhir.r4.core#4.0.1), Communication (hl7.fhir.r4.core#4.0.1), Communication (hl7.fhir.r4.core#4.0.1), Communication (hl7.fhir.r4.core#4.0.1), Communication (hl7.fhir.r4.core#4.0.1), Communication (hl7.fhir.r4.core#4.0.1), Communication (hl7.fhir.r4.core#4.0.1), Communication (hl7.fhir.r4.core#4.0.1), Communication (hl7.fhir.r4.core#4.0.1) + - Version 2: Communication (hl7.fhir.r5.core#5.0.0), Communication (hl7.fhir.r5.core#5.0.0), Communication (hl7.fhir.r5.core#5.0.0) + - Version 3: Communication (hl7.fhir.r4.examples#4.0.1) +- `urn:fhir:binding:CommunicationPriority` (3 versions) + - Version 1: Communication (hl7.fhir.r4.core#4.0.1), CommunicationRequest (hl7.fhir.r4.core#4.0.1), Communication (hl7.fhir.r4.core#4.0.1), CommunicationRequest (hl7.fhir.r4.core#4.0.1), Communication (hl7.fhir.r4.core#4.0.1), CommunicationRequest (hl7.fhir.r4.core#4.0.1), Communication (hl7.fhir.r4.core#4.0.1), CommunicationRequest (hl7.fhir.r4.core#4.0.1), Communication (hl7.fhir.r4.core#4.0.1), CommunicationRequest (hl7.fhir.r4.core#4.0.1), Communication (hl7.fhir.r4.core#4.0.1), CommunicationRequest (hl7.fhir.r4.core#4.0.1), Communication (hl7.fhir.r4.core#4.0.1), CommunicationRequest (hl7.fhir.r4.core#4.0.1), Communication (hl7.fhir.r4.core#4.0.1), CommunicationRequest (hl7.fhir.r4.core#4.0.1), Communication (hl7.fhir.r4.core#4.0.1), CommunicationRequest (hl7.fhir.r4.core#4.0.1), Communication (hl7.fhir.r4.core#4.0.1), CommunicationRequest (hl7.fhir.r4.core#4.0.1) + - Version 2: Communication (hl7.fhir.r5.core#5.0.0), CommunicationRequest (hl7.fhir.r5.core#5.0.0), Communication (hl7.fhir.r5.core#5.0.0), CommunicationRequest (hl7.fhir.r5.core#5.0.0), Communication (hl7.fhir.r5.core#5.0.0), CommunicationRequest (hl7.fhir.r5.core#5.0.0) + - Version 3: Communication (hl7.fhir.r4.examples#4.0.1), CommunicationRequest (hl7.fhir.r4.examples#4.0.1) +- `urn:fhir:binding:CommunicationReason` (5 versions) + - Version 1: CommunicationRequest (hl7.fhir.r4.core#4.0.1), CommunicationRequest (hl7.fhir.r4.core#4.0.1), CommunicationRequest (hl7.fhir.r4.core#4.0.1), CommunicationRequest (hl7.fhir.r5.core#5.0.0), CommunicationRequest (hl7.fhir.r5.core#5.0.0), CommunicationRequest (hl7.fhir.r5.core#5.0.0), CommunicationRequest (hl7.fhir.r4.core#4.0.1), CommunicationRequest (hl7.fhir.r4.core#4.0.1), CommunicationRequest (hl7.fhir.r4.core#4.0.1), CommunicationRequest (hl7.fhir.r4.core#4.0.1), CommunicationRequest (hl7.fhir.r4.core#4.0.1), CommunicationRequest (hl7.fhir.r4.core#4.0.1), CommunicationRequest (hl7.fhir.r4.core#4.0.1) + - Version 2: Communication (hl7.fhir.r4.core#4.0.1), Communication (hl7.fhir.r4.core#4.0.1), Communication (hl7.fhir.r4.core#4.0.1), Communication (hl7.fhir.r4.core#4.0.1), Communication (hl7.fhir.r4.core#4.0.1), Communication (hl7.fhir.r4.core#4.0.1), Communication (hl7.fhir.r4.core#4.0.1), Communication (hl7.fhir.r4.core#4.0.1), Communication (hl7.fhir.r4.core#4.0.1), Communication (hl7.fhir.r4.core#4.0.1) + - Version 3: Communication (hl7.fhir.r5.core#5.0.0), Communication (hl7.fhir.r5.core#5.0.0), Communication (hl7.fhir.r5.core#5.0.0) + - Version 4: Communication (hl7.fhir.r4.examples#4.0.1) + - Version 5: CommunicationRequest (hl7.fhir.r4.examples#4.0.1) +- `urn:fhir:binding:CommunicationRequestStatus` (3 versions) + - Version 1: CommunicationRequest (hl7.fhir.r4.core#4.0.1), CommunicationRequest (hl7.fhir.r4.core#4.0.1), CommunicationRequest (hl7.fhir.r4.core#4.0.1), CommunicationRequest (hl7.fhir.r4.core#4.0.1), CommunicationRequest (hl7.fhir.r4.core#4.0.1), CommunicationRequest (hl7.fhir.r4.core#4.0.1), CommunicationRequest (hl7.fhir.r4.core#4.0.1), CommunicationRequest (hl7.fhir.r4.core#4.0.1), CommunicationRequest (hl7.fhir.r4.core#4.0.1), CommunicationRequest (hl7.fhir.r4.core#4.0.1) + - Version 2: CommunicationRequest (hl7.fhir.r5.core#5.0.0), CommunicationRequest (hl7.fhir.r5.core#5.0.0), CommunicationRequest (hl7.fhir.r5.core#5.0.0) + - Version 3: CommunicationRequest (hl7.fhir.r4.examples#4.0.1) +- `urn:fhir:binding:CommunicationStatus` (3 versions) + - Version 1: Communication (hl7.fhir.r4.core#4.0.1), Communication (hl7.fhir.r4.core#4.0.1), Communication (hl7.fhir.r4.core#4.0.1), Communication (hl7.fhir.r4.core#4.0.1), Communication (hl7.fhir.r4.core#4.0.1), Communication (hl7.fhir.r4.core#4.0.1), Communication (hl7.fhir.r4.core#4.0.1), Communication (hl7.fhir.r4.core#4.0.1), Communication (hl7.fhir.r4.core#4.0.1), Communication (hl7.fhir.r4.core#4.0.1) + - Version 2: Communication (hl7.fhir.r5.core#5.0.0), Communication (hl7.fhir.r5.core#5.0.0), Communication (hl7.fhir.r5.core#5.0.0) + - Version 3: Communication (hl7.fhir.r4.examples#4.0.1) +- `urn:fhir:binding:CommunicationTopic` (3 versions) + - Version 1: Communication (hl7.fhir.r4.core#4.0.1), Communication (hl7.fhir.r4.core#4.0.1), Communication (hl7.fhir.r4.core#4.0.1), Communication (hl7.fhir.r4.core#4.0.1), Communication (hl7.fhir.r4.core#4.0.1), Communication (hl7.fhir.r4.core#4.0.1), Communication (hl7.fhir.r4.core#4.0.1), Communication (hl7.fhir.r4.core#4.0.1), Communication (hl7.fhir.r4.core#4.0.1), Communication (hl7.fhir.r4.core#4.0.1) + - Version 2: Communication (hl7.fhir.r5.core#5.0.0), Communication (hl7.fhir.r5.core#5.0.0), Communication (hl7.fhir.r5.core#5.0.0) + - Version 3: Communication (hl7.fhir.r4.examples#4.0.1) +- `urn:fhir:binding:CompartmentCode` (3 versions) + - Version 1: GraphDefinition (hl7.fhir.r4.core#4.0.1), GraphDefinition (hl7.fhir.r4.core#4.0.1), GraphDefinition (hl7.fhir.r4.core#4.0.1), GraphDefinition (hl7.fhir.r4.core#4.0.1), GraphDefinition (hl7.fhir.r4.core#4.0.1), GraphDefinition (hl7.fhir.r4.core#4.0.1), GraphDefinition (hl7.fhir.r4.core#4.0.1), GraphDefinition (hl7.fhir.r4.core#4.0.1), GraphDefinition (hl7.fhir.r4.core#4.0.1), GraphDefinition (hl7.fhir.r4.core#4.0.1) + - Version 2: GraphDefinition (hl7.fhir.r5.core#5.0.0), GraphDefinition (hl7.fhir.r5.core#5.0.0), GraphDefinition (hl7.fhir.r5.core#5.0.0) + - Version 3: GraphDefinition (hl7.fhir.r4.examples#4.0.1) +- `urn:fhir:binding:CompartmentType` (3 versions) + - Version 1: CompartmentDefinition (hl7.fhir.r4.core#4.0.1), CompartmentDefinition (hl7.fhir.r4.core#4.0.1), CompartmentDefinition (hl7.fhir.r4.core#4.0.1), CompartmentDefinition (hl7.fhir.r4.core#4.0.1), CompartmentDefinition (hl7.fhir.r4.core#4.0.1), CompartmentDefinition (hl7.fhir.r4.core#4.0.1), CompartmentDefinition (hl7.fhir.r4.core#4.0.1), CompartmentDefinition (hl7.fhir.r4.core#4.0.1), CompartmentDefinition (hl7.fhir.r4.core#4.0.1), CompartmentDefinition (hl7.fhir.r4.core#4.0.1) + - Version 2: CompartmentDefinition (hl7.fhir.r5.core#5.0.0), CompartmentDefinition (hl7.fhir.r5.core#5.0.0), CompartmentDefinition (hl7.fhir.r5.core#5.0.0) + - Version 3: CompartmentDefinition (hl7.fhir.r4.examples#4.0.1) +- `urn:fhir:binding:CompositeMeasureScoring` (3 versions) + - Version 1: Measure (hl7.fhir.r4.core#4.0.1), Measure (hl7.fhir.r4.core#4.0.1), Measure (hl7.fhir.r4.core#4.0.1), Measure (hl7.fhir.r4.core#4.0.1), Measure (hl7.fhir.r4.core#4.0.1), Measure (hl7.fhir.r4.core#4.0.1), Measure (hl7.fhir.r4.core#4.0.1), Measure (hl7.fhir.r4.core#4.0.1), Measure (hl7.fhir.r4.core#4.0.1), Measure (hl7.fhir.r4.core#4.0.1) + - Version 2: Measure (hl7.fhir.r5.core#5.0.0), Measure (hl7.fhir.r5.core#5.0.0), Measure (hl7.fhir.r5.core#5.0.0) + - Version 3: Measure (hl7.fhir.r4.examples#4.0.1) +- `urn:fhir:binding:CompositionAttestationMode` (3 versions) + - Version 1: Composition (hl7.fhir.r4.core#4.0.1), Composition (hl7.fhir.r4.core#4.0.1), Composition (hl7.fhir.r4.core#4.0.1), Composition (hl7.fhir.r4.core#4.0.1), Composition (hl7.fhir.r4.core#4.0.1), Composition (hl7.fhir.r4.core#4.0.1), Composition (hl7.fhir.r4.core#4.0.1), Composition (hl7.fhir.r4.core#4.0.1), Composition (hl7.fhir.r4.core#4.0.1), Composition (hl7.fhir.r4.core#4.0.1) + - Version 2: Composition (hl7.fhir.r5.core#5.0.0), Composition (hl7.fhir.r5.core#5.0.0), Composition (hl7.fhir.r5.core#5.0.0) + - Version 3: Composition (hl7.fhir.r4.examples#4.0.1) +- `urn:fhir:binding:CompositionSectionType` (3 versions) + - Version 1: Composition (hl7.fhir.r4.core#4.0.1), Composition (hl7.fhir.r4.core#4.0.1), Composition (hl7.fhir.r4.core#4.0.1), Composition (hl7.fhir.r4.core#4.0.1), Composition (hl7.fhir.r4.core#4.0.1), Composition (hl7.fhir.r4.core#4.0.1), Composition (hl7.fhir.r4.core#4.0.1), Composition (hl7.fhir.r4.core#4.0.1), Composition (hl7.fhir.r4.core#4.0.1), Composition (hl7.fhir.r4.core#4.0.1) + - Version 2: Composition (hl7.fhir.r5.core#5.0.0), Composition (hl7.fhir.r5.core#5.0.0), Composition (hl7.fhir.r5.core#5.0.0) + - Version 3: Composition (hl7.fhir.r4.examples#4.0.1) +- `urn:fhir:binding:CompositionStatus` (3 versions) + - Version 1: Composition (hl7.fhir.r4.core#4.0.1), Composition (hl7.fhir.r4.core#4.0.1), Composition (hl7.fhir.r4.core#4.0.1), Composition (hl7.fhir.r4.core#4.0.1), Composition (hl7.fhir.r4.core#4.0.1), Composition (hl7.fhir.r4.core#4.0.1), Composition (hl7.fhir.r4.core#4.0.1), Composition (hl7.fhir.r4.core#4.0.1), Composition (hl7.fhir.r4.core#4.0.1), Composition (hl7.fhir.r4.core#4.0.1) + - Version 2: Composition (hl7.fhir.r5.core#5.0.0), Composition (hl7.fhir.r5.core#5.0.0), Composition (hl7.fhir.r5.core#5.0.0) + - Version 3: Composition (hl7.fhir.r4.examples#4.0.1) +- `urn:fhir:binding:ConceptDesignationUse` (3 versions) + - Version 1: ValueSet (hl7.fhir.r4.core#4.0.1), CodeSystem (hl7.fhir.r4.core#4.0.1), ValueSet (hl7.fhir.r4.core#4.0.1), CodeSystem (hl7.fhir.r4.core#4.0.1), ValueSet (hl7.fhir.r4.core#4.0.1), CodeSystem (hl7.fhir.r4.core#4.0.1), ValueSet (hl7.fhir.r4.core#4.0.1), CodeSystem (hl7.fhir.r4.core#4.0.1), ValueSet (hl7.fhir.r4.core#4.0.1), CodeSystem (hl7.fhir.r4.core#4.0.1), ValueSet (hl7.fhir.r4.core#4.0.1), CodeSystem (hl7.fhir.r4.core#4.0.1), ValueSet (hl7.fhir.r4.core#4.0.1), CodeSystem (hl7.fhir.r4.core#4.0.1), sdc-codesystem (hl7.fhir.uv.sdc#3.0.0), ValueSet (hl7.fhir.r4.core#4.0.1), CodeSystem (hl7.fhir.r4.core#4.0.1), ValueSet (hl7.fhir.r4.core#4.0.1), CodeSystem (hl7.fhir.r4.core#4.0.1), ValueSet (hl7.fhir.r4.core#4.0.1), CodeSystem (hl7.fhir.r4.core#4.0.1), sdc-codesystem (hl7.fhir.uv.sdc#3.0.0) + - Version 2: ValueSet (hl7.fhir.r5.core#5.0.0), CodeSystem (hl7.fhir.r5.core#5.0.0), ValueSet (hl7.fhir.r5.core#5.0.0), CodeSystem (hl7.fhir.r5.core#5.0.0), ValueSet (hl7.fhir.r5.core#5.0.0), CodeSystem (hl7.fhir.r5.core#5.0.0) + - Version 3: ValueSet (hl7.fhir.r4.examples#4.0.1), CodeSystem (hl7.fhir.r4.examples#4.0.1) +- `urn:fhir:binding:ConceptMapEquivalence` (2 versions) + - Version 1: ConceptMap (hl7.fhir.r4.core#4.0.1), ConceptMap (hl7.fhir.r4.core#4.0.1), ConceptMap (hl7.fhir.r4.core#4.0.1), ConceptMap (hl7.fhir.r4.core#4.0.1), ConceptMap (hl7.fhir.r4.core#4.0.1), ConceptMap (hl7.fhir.r4.core#4.0.1), ConceptMap (hl7.fhir.r4.core#4.0.1), ConceptMap (hl7.fhir.r4.core#4.0.1), ConceptMap (hl7.fhir.r4.core#4.0.1), ConceptMap (hl7.fhir.r4.core#4.0.1) + - Version 2: ConceptMap (hl7.fhir.r4.examples#4.0.1) +- `urn:fhir:binding:ConceptMapGroupUnmappedMode` (3 versions) + - Version 1: ConceptMap (hl7.fhir.r4.core#4.0.1), ConceptMap (hl7.fhir.r4.core#4.0.1), ConceptMap (hl7.fhir.r4.core#4.0.1), ConceptMap (hl7.fhir.r4.core#4.0.1), ConceptMap (hl7.fhir.r4.core#4.0.1), ConceptMap (hl7.fhir.r4.core#4.0.1), ConceptMap (hl7.fhir.r4.core#4.0.1), ConceptMap (hl7.fhir.r4.core#4.0.1), ConceptMap (hl7.fhir.r4.core#4.0.1), ConceptMap (hl7.fhir.r4.core#4.0.1) + - Version 2: ConceptMap (hl7.fhir.r5.core#5.0.0), ConceptMap (hl7.fhir.r5.core#5.0.0), ConceptMap (hl7.fhir.r5.core#5.0.0) + - Version 3: ConceptMap (hl7.fhir.r4.examples#4.0.1) +- `urn:fhir:binding:ConditionalDeleteStatus` (3 versions) + - Version 1: CapabilityStatement (hl7.fhir.r4.core#4.0.1), CapabilityStatement (hl7.fhir.r4.core#4.0.1), CapabilityStatement (hl7.fhir.r4.core#4.0.1), CapabilityStatement (hl7.fhir.r4.core#4.0.1), CapabilityStatement (hl7.fhir.r4.core#4.0.1), CapabilityStatement (hl7.fhir.r4.core#4.0.1), CapabilityStatement (hl7.fhir.r4.core#4.0.1), CapabilityStatement (hl7.fhir.r4.core#4.0.1), CapabilityStatement (hl7.fhir.r4.core#4.0.1), CapabilityStatement (hl7.fhir.r4.core#4.0.1) + - Version 2: CapabilityStatement (hl7.fhir.r5.core#5.0.0), CapabilityStatement (hl7.fhir.r5.core#5.0.0), CapabilityStatement (hl7.fhir.r5.core#5.0.0) + - Version 3: CapabilityStatement (hl7.fhir.r4.examples#4.0.1) +- `urn:fhir:binding:ConditionalReadStatus` (3 versions) + - Version 1: CapabilityStatement (hl7.fhir.r4.core#4.0.1), CapabilityStatement (hl7.fhir.r4.core#4.0.1), CapabilityStatement (hl7.fhir.r4.core#4.0.1), CapabilityStatement (hl7.fhir.r4.core#4.0.1), CapabilityStatement (hl7.fhir.r4.core#4.0.1), CapabilityStatement (hl7.fhir.r4.core#4.0.1), CapabilityStatement (hl7.fhir.r4.core#4.0.1), CapabilityStatement (hl7.fhir.r4.core#4.0.1), CapabilityStatement (hl7.fhir.r4.core#4.0.1), CapabilityStatement (hl7.fhir.r4.core#4.0.1) + - Version 2: CapabilityStatement (hl7.fhir.r5.core#5.0.0), CapabilityStatement (hl7.fhir.r5.core#5.0.0), CapabilityStatement (hl7.fhir.r5.core#5.0.0) + - Version 3: CapabilityStatement (hl7.fhir.r4.examples#4.0.1) +- `urn:fhir:binding:ConditionCategory` (3 versions) + - Version 1: Condition (hl7.fhir.r4.core#4.0.1), Condition (hl7.fhir.r4.core#4.0.1), Condition (hl7.fhir.r4.core#4.0.1), Condition (hl7.fhir.r4.core#4.0.1), Condition (hl7.fhir.r4.core#4.0.1), Condition (hl7.fhir.r4.core#4.0.1), Condition (hl7.fhir.r4.core#4.0.1), Condition (hl7.fhir.r4.core#4.0.1), Condition (hl7.fhir.r4.core#4.0.1), us-core-condition-encounter-diagnosis (hl7.fhir.us.core#8.0.1), us-core-condition-problems-health-concerns (hl7.fhir.us.core#8.0.1), Condition (hl7.fhir.r4.core#4.0.1) + - Version 2: Condition (hl7.fhir.r5.core#5.0.0), Condition (hl7.fhir.r5.core#5.0.0), Condition (hl7.fhir.r5.core#5.0.0) + - Version 3: Condition (hl7.fhir.r4.examples#4.0.1) +- `urn:fhir:binding:ConditionClinicalStatus` (3 versions) + - Version 1: Condition (hl7.fhir.r4.core#4.0.1), Condition (hl7.fhir.r4.core#4.0.1), Condition (hl7.fhir.r4.core#4.0.1), Condition (hl7.fhir.r4.core#4.0.1), Condition (hl7.fhir.r4.core#4.0.1), Condition (hl7.fhir.r4.core#4.0.1), Condition (hl7.fhir.r4.core#4.0.1), Condition (hl7.fhir.r4.core#4.0.1), Condition (hl7.fhir.r4.core#4.0.1), Condition (hl7.fhir.r4.core#4.0.1) + - Version 2: Condition (hl7.fhir.r5.core#5.0.0), Condition (hl7.fhir.r5.core#5.0.0), Condition (hl7.fhir.r5.core#5.0.0) + - Version 3: Condition (hl7.fhir.r4.examples#4.0.1) +- `urn:fhir:binding:ConditionCode` (3 versions) + - Version 1: FamilyMemberHistory (hl7.fhir.r4.core#4.0.1), ResearchStudy (hl7.fhir.r4.core#4.0.1), FamilyMemberHistory (hl7.fhir.r4.core#4.0.1), ResearchStudy (hl7.fhir.r4.core#4.0.1), FamilyMemberHistory (hl7.fhir.r4.core#4.0.1), ResearchStudy (hl7.fhir.r4.core#4.0.1), FamilyMemberHistory (hl7.fhir.r4.core#4.0.1), ResearchStudy (hl7.fhir.r4.core#4.0.1), FamilyMemberHistory (hl7.fhir.r4.core#4.0.1), ResearchStudy (hl7.fhir.r4.core#4.0.1), FamilyMemberHistory (hl7.fhir.r4.core#4.0.1), ResearchStudy (hl7.fhir.r4.core#4.0.1), FamilyMemberHistory (hl7.fhir.r4.core#4.0.1), ResearchStudy (hl7.fhir.r4.core#4.0.1), FamilyMemberHistory (hl7.fhir.r4.core#4.0.1), ResearchStudy (hl7.fhir.r4.core#4.0.1), FamilyMemberHistory (hl7.fhir.r4.core#4.0.1), ResearchStudy (hl7.fhir.r4.core#4.0.1), FamilyMemberHistory (hl7.fhir.r4.core#4.0.1), ResearchStudy (hl7.fhir.r4.core#4.0.1) + - Version 2: familymemberhistory-genetic (hl7.fhir.r5.core#5.0.0), FamilyMemberHistory (hl7.fhir.r5.core#5.0.0), ResearchStudy (hl7.fhir.r5.core#5.0.0), familymemberhistory-genetic (hl7.fhir.r5.core#5.0.0), FamilyMemberHistory (hl7.fhir.r5.core#5.0.0), ResearchStudy (hl7.fhir.r5.core#5.0.0), familymemberhistory-genetic (hl7.fhir.r5.core#5.0.0), FamilyMemberHistory (hl7.fhir.r5.core#5.0.0), ResearchStudy (hl7.fhir.r5.core#5.0.0) + - Version 3: FamilyMemberHistory (hl7.fhir.r4.examples#4.0.1), ResearchStudy (hl7.fhir.r4.examples#4.0.1) +- `urn:fhir:binding:ConditionKind` (3 versions) + - Version 1: ClinicalImpression (hl7.fhir.r4.core#4.0.1), Condition (hl7.fhir.r4.core#4.0.1), ClinicalImpression (hl7.fhir.r4.core#4.0.1), Condition (hl7.fhir.r4.core#4.0.1), ClinicalImpression (hl7.fhir.r4.core#4.0.1), Condition (hl7.fhir.r4.core#4.0.1), ClinicalImpression (hl7.fhir.r4.core#4.0.1), Condition (hl7.fhir.r4.core#4.0.1), ClinicalImpression (hl7.fhir.r4.core#4.0.1), Condition (hl7.fhir.r4.core#4.0.1), ClinicalImpression (hl7.fhir.r4.core#4.0.1), Condition (hl7.fhir.r4.core#4.0.1), ClinicalImpression (hl7.fhir.r4.core#4.0.1), Condition (hl7.fhir.r4.core#4.0.1), ClinicalImpression (hl7.fhir.r4.core#4.0.1), Condition (hl7.fhir.r4.core#4.0.1), ClinicalImpression (hl7.fhir.r4.core#4.0.1), Condition (hl7.fhir.r4.core#4.0.1), ClinicalImpression (hl7.fhir.r4.core#4.0.1), Condition (hl7.fhir.r4.core#4.0.1) + - Version 2: ClinicalImpression (hl7.fhir.r5.core#5.0.0), ConditionDefinition (hl7.fhir.r5.core#5.0.0), Condition (hl7.fhir.r5.core#5.0.0), ClinicalImpression (hl7.fhir.r5.core#5.0.0), ConditionDefinition (hl7.fhir.r5.core#5.0.0), Condition (hl7.fhir.r5.core#5.0.0), ClinicalImpression (hl7.fhir.r5.core#5.0.0), ConditionDefinition (hl7.fhir.r5.core#5.0.0), Condition (hl7.fhir.r5.core#5.0.0), ConditionDefinition (hl7.fhir.r5.core#5.0.0), ConditionDefinition (hl7.fhir.r5.core#5.0.0) + - Version 3: ClinicalImpression (hl7.fhir.r4.examples#4.0.1), Condition (hl7.fhir.r4.examples#4.0.1) +- `urn:fhir:binding:ConditionOutcome` (3 versions) + - Version 1: FamilyMemberHistory (hl7.fhir.r4.core#4.0.1), FamilyMemberHistory (hl7.fhir.r4.core#4.0.1), FamilyMemberHistory (hl7.fhir.r4.core#4.0.1), FamilyMemberHistory (hl7.fhir.r4.core#4.0.1), FamilyMemberHistory (hl7.fhir.r4.core#4.0.1), FamilyMemberHistory (hl7.fhir.r4.core#4.0.1), FamilyMemberHistory (hl7.fhir.r4.core#4.0.1), FamilyMemberHistory (hl7.fhir.r4.core#4.0.1), FamilyMemberHistory (hl7.fhir.r4.core#4.0.1), FamilyMemberHistory (hl7.fhir.r4.core#4.0.1) + - Version 2: familymemberhistory-genetic (hl7.fhir.r5.core#5.0.0), FamilyMemberHistory (hl7.fhir.r5.core#5.0.0), familymemberhistory-genetic (hl7.fhir.r5.core#5.0.0), FamilyMemberHistory (hl7.fhir.r5.core#5.0.0), familymemberhistory-genetic (hl7.fhir.r5.core#5.0.0), FamilyMemberHistory (hl7.fhir.r5.core#5.0.0) + - Version 3: FamilyMemberHistory (hl7.fhir.r4.examples#4.0.1) +- `urn:fhir:binding:ConditionSeverity` (3 versions) + - Version 1: Condition (hl7.fhir.r4.core#4.0.1), Condition (hl7.fhir.r4.core#4.0.1), Condition (hl7.fhir.r4.core#4.0.1), Condition (hl7.fhir.r4.core#4.0.1), Condition (hl7.fhir.r4.core#4.0.1), Condition (hl7.fhir.r4.core#4.0.1), Condition (hl7.fhir.r4.core#4.0.1), Condition (hl7.fhir.r4.core#4.0.1), Condition (hl7.fhir.r4.core#4.0.1), Condition (hl7.fhir.r4.core#4.0.1) + - Version 2: ConditionDefinition (hl7.fhir.r5.core#5.0.0), Condition (hl7.fhir.r5.core#5.0.0), ConditionDefinition (hl7.fhir.r5.core#5.0.0), Condition (hl7.fhir.r5.core#5.0.0), ConditionDefinition (hl7.fhir.r5.core#5.0.0), Condition (hl7.fhir.r5.core#5.0.0), ConditionDefinition (hl7.fhir.r5.core#5.0.0), ConditionDefinition (hl7.fhir.r5.core#5.0.0) + - Version 3: Condition (hl7.fhir.r4.examples#4.0.1) +- `urn:fhir:binding:ConditionStage` (3 versions) + - Version 1: Condition (hl7.fhir.r4.core#4.0.1), Condition (hl7.fhir.r4.core#4.0.1), Condition (hl7.fhir.r4.core#4.0.1), Condition (hl7.fhir.r4.core#4.0.1), Condition (hl7.fhir.r4.core#4.0.1), Condition (hl7.fhir.r4.core#4.0.1), Condition (hl7.fhir.r4.core#4.0.1), Condition (hl7.fhir.r4.core#4.0.1), Condition (hl7.fhir.r4.core#4.0.1), Condition (hl7.fhir.r4.core#4.0.1) + - Version 2: ConditionDefinition (hl7.fhir.r5.core#5.0.0), Condition (hl7.fhir.r5.core#5.0.0), ConditionDefinition (hl7.fhir.r5.core#5.0.0), Condition (hl7.fhir.r5.core#5.0.0), ConditionDefinition (hl7.fhir.r5.core#5.0.0), Condition (hl7.fhir.r5.core#5.0.0), ConditionDefinition (hl7.fhir.r5.core#5.0.0), ConditionDefinition (hl7.fhir.r5.core#5.0.0) + - Version 3: Condition (hl7.fhir.r4.examples#4.0.1) +- `urn:fhir:binding:ConditionStageType` (3 versions) + - Version 1: Condition (hl7.fhir.r4.core#4.0.1), Condition (hl7.fhir.r4.core#4.0.1), Condition (hl7.fhir.r4.core#4.0.1), Condition (hl7.fhir.r4.core#4.0.1), Condition (hl7.fhir.r4.core#4.0.1), Condition (hl7.fhir.r4.core#4.0.1), Condition (hl7.fhir.r4.core#4.0.1), Condition (hl7.fhir.r4.core#4.0.1), Condition (hl7.fhir.r4.core#4.0.1), Condition (hl7.fhir.r4.core#4.0.1) + - Version 2: Condition (hl7.fhir.r5.core#5.0.0), Condition (hl7.fhir.r5.core#5.0.0), Condition (hl7.fhir.r5.core#5.0.0) + - Version 3: Condition (hl7.fhir.r4.examples#4.0.1) +- `urn:fhir:binding:ConditionVerificationStatus` (3 versions) + - Version 1: Condition (hl7.fhir.r4.core#4.0.1), Condition (hl7.fhir.r4.core#4.0.1), Condition (hl7.fhir.r4.core#4.0.1), Condition (hl7.fhir.r4.core#4.0.1), Condition (hl7.fhir.r4.core#4.0.1), Condition (hl7.fhir.r4.core#4.0.1), Condition (hl7.fhir.r4.core#4.0.1), Condition (hl7.fhir.r4.core#4.0.1), Condition (hl7.fhir.r4.core#4.0.1), Condition (hl7.fhir.r4.core#4.0.1) + - Version 2: Condition (hl7.fhir.r5.core#5.0.0), Condition (hl7.fhir.r5.core#5.0.0), Condition (hl7.fhir.r5.core#5.0.0) + - Version 3: Condition (hl7.fhir.r4.examples#4.0.1) +- `urn:fhir:binding:ConsentAction` (3 versions) + - Version 1: Consent (hl7.fhir.r4.core#4.0.1), Consent (hl7.fhir.r4.core#4.0.1), Consent (hl7.fhir.r4.core#4.0.1), Consent (hl7.fhir.r4.core#4.0.1), Consent (hl7.fhir.r4.core#4.0.1), Consent (hl7.fhir.r4.core#4.0.1), Consent (hl7.fhir.r4.core#4.0.1), Consent (hl7.fhir.r4.core#4.0.1), Consent (hl7.fhir.r4.core#4.0.1), Consent (hl7.fhir.r4.core#4.0.1) + - Version 2: Consent (hl7.fhir.r5.core#5.0.0), Consent (hl7.fhir.r5.core#5.0.0), Consent (hl7.fhir.r5.core#5.0.0) + - Version 3: Consent (hl7.fhir.r4.examples#4.0.1) +- `urn:fhir:binding:ConsentActorRole` (3 versions) + - Version 1: Consent (hl7.fhir.r4.core#4.0.1), Consent (hl7.fhir.r4.core#4.0.1), Consent (hl7.fhir.r4.core#4.0.1), Consent (hl7.fhir.r4.core#4.0.1), Consent (hl7.fhir.r4.core#4.0.1), Consent (hl7.fhir.r4.core#4.0.1), Consent (hl7.fhir.r4.core#4.0.1), Consent (hl7.fhir.r4.core#4.0.1), Consent (hl7.fhir.r4.core#4.0.1), Consent (hl7.fhir.r4.core#4.0.1) + - Version 2: Consent (hl7.fhir.r5.core#5.0.0), Consent (hl7.fhir.r5.core#5.0.0), Consent (hl7.fhir.r5.core#5.0.0) + - Version 3: Consent (hl7.fhir.r4.examples#4.0.1) +- `urn:fhir:binding:ConsentCategory` (3 versions) + - Version 1: Consent (hl7.fhir.r4.core#4.0.1), Consent (hl7.fhir.r4.core#4.0.1), Consent (hl7.fhir.r4.core#4.0.1), Consent (hl7.fhir.r4.core#4.0.1), Consent (hl7.fhir.r4.core#4.0.1), Consent (hl7.fhir.r4.core#4.0.1), Consent (hl7.fhir.r4.core#4.0.1), Consent (hl7.fhir.r4.core#4.0.1), Consent (hl7.fhir.r4.core#4.0.1), Consent (hl7.fhir.r4.core#4.0.1) + - Version 2: Consent (hl7.fhir.r5.core#5.0.0), Consent (hl7.fhir.r5.core#5.0.0), Consent (hl7.fhir.r5.core#5.0.0) + - Version 3: Consent (hl7.fhir.r4.examples#4.0.1) +- `urn:fhir:binding:ConsentContentClass` (4 versions) + - Version 1: Contract (hl7.fhir.r4.core#4.0.1), Consent (hl7.fhir.r4.core#4.0.1), Contract (hl7.fhir.r4.core#4.0.1), Consent (hl7.fhir.r4.core#4.0.1), Contract (hl7.fhir.r4.core#4.0.1), Consent (hl7.fhir.r4.core#4.0.1), Contract (hl7.fhir.r4.core#4.0.1), Consent (hl7.fhir.r4.core#4.0.1), Contract (hl7.fhir.r4.core#4.0.1), Consent (hl7.fhir.r4.core#4.0.1), Contract (hl7.fhir.r4.core#4.0.1), Consent (hl7.fhir.r4.core#4.0.1), Contract (hl7.fhir.r4.core#4.0.1), Consent (hl7.fhir.r4.core#4.0.1), Contract (hl7.fhir.r4.core#4.0.1), Consent (hl7.fhir.r4.core#4.0.1), Contract (hl7.fhir.r4.core#4.0.1), Consent (hl7.fhir.r4.core#4.0.1), Contract (hl7.fhir.r4.core#4.0.1), Consent (hl7.fhir.r4.core#4.0.1) + - Version 2: Contract (hl7.fhir.r5.core#5.0.0), Contract (hl7.fhir.r5.core#5.0.0), Contract (hl7.fhir.r5.core#5.0.0) + - Version 3: Consent (hl7.fhir.r5.core#5.0.0), Consent (hl7.fhir.r5.core#5.0.0), Consent (hl7.fhir.r5.core#5.0.0) + - Version 4: Contract (hl7.fhir.r4.examples#4.0.1), Consent (hl7.fhir.r4.examples#4.0.1) +- `urn:fhir:binding:ConsentContentCode` (3 versions) + - Version 1: Consent (hl7.fhir.r4.core#4.0.1), Consent (hl7.fhir.r4.core#4.0.1), Consent (hl7.fhir.r4.core#4.0.1), Consent (hl7.fhir.r4.core#4.0.1), Consent (hl7.fhir.r4.core#4.0.1), Consent (hl7.fhir.r4.core#4.0.1), Consent (hl7.fhir.r4.core#4.0.1), Consent (hl7.fhir.r4.core#4.0.1), Consent (hl7.fhir.r4.core#4.0.1), Consent (hl7.fhir.r4.core#4.0.1) + - Version 2: Consent (hl7.fhir.r5.core#5.0.0), Consent (hl7.fhir.r5.core#5.0.0), Consent (hl7.fhir.r5.core#5.0.0) + - Version 3: Consent (hl7.fhir.r4.examples#4.0.1) +- `urn:fhir:binding:ConsentDataMeaning` (3 versions) + - Version 1: Consent (hl7.fhir.r4.core#4.0.1), Consent (hl7.fhir.r4.core#4.0.1), Consent (hl7.fhir.r4.core#4.0.1), Consent (hl7.fhir.r4.core#4.0.1), Consent (hl7.fhir.r4.core#4.0.1), Consent (hl7.fhir.r4.core#4.0.1), Consent (hl7.fhir.r4.core#4.0.1), Consent (hl7.fhir.r4.core#4.0.1), Consent (hl7.fhir.r4.core#4.0.1), Consent (hl7.fhir.r4.core#4.0.1) + - Version 2: Permission (hl7.fhir.r5.core#5.0.0), Consent (hl7.fhir.r5.core#5.0.0), Permission (hl7.fhir.r5.core#5.0.0), Consent (hl7.fhir.r5.core#5.0.0), Permission (hl7.fhir.r5.core#5.0.0), Consent (hl7.fhir.r5.core#5.0.0), Permission (hl7.fhir.r5.core#5.0.0), Permission (hl7.fhir.r5.core#5.0.0) + - Version 3: Consent (hl7.fhir.r4.examples#4.0.1) +- `urn:fhir:binding:ConsentPolicyRule` (2 versions) + - Version 1: Consent (hl7.fhir.r4.core#4.0.1), Consent (hl7.fhir.r4.core#4.0.1), Consent (hl7.fhir.r4.core#4.0.1), Consent (hl7.fhir.r4.core#4.0.1), Consent (hl7.fhir.r4.core#4.0.1), Consent (hl7.fhir.r4.core#4.0.1), Consent (hl7.fhir.r4.core#4.0.1), Consent (hl7.fhir.r4.core#4.0.1), Consent (hl7.fhir.r4.core#4.0.1), Consent (hl7.fhir.r4.core#4.0.1) + - Version 2: Consent (hl7.fhir.r4.examples#4.0.1) +- `urn:fhir:binding:ConsentProvisionType` (3 versions) + - Version 1: Consent (hl7.fhir.r4.core#4.0.1), Consent (hl7.fhir.r4.core#4.0.1), Consent (hl7.fhir.r4.core#4.0.1), Consent (hl7.fhir.r4.core#4.0.1), Consent (hl7.fhir.r4.core#4.0.1), Consent (hl7.fhir.r4.core#4.0.1), Consent (hl7.fhir.r4.core#4.0.1), Consent (hl7.fhir.r4.core#4.0.1), Consent (hl7.fhir.r4.core#4.0.1), Consent (hl7.fhir.r4.core#4.0.1) + - Version 2: Consent (hl7.fhir.r5.core#5.0.0), Consent (hl7.fhir.r5.core#5.0.0), Consent (hl7.fhir.r5.core#5.0.0) + - Version 3: Consent (hl7.fhir.r4.examples#4.0.1) +- `urn:fhir:binding:ConsentScope` (2 versions) + - Version 1: Consent (hl7.fhir.r4.core#4.0.1), Consent (hl7.fhir.r4.core#4.0.1), Consent (hl7.fhir.r4.core#4.0.1), Consent (hl7.fhir.r4.core#4.0.1), Consent (hl7.fhir.r4.core#4.0.1), Consent (hl7.fhir.r4.core#4.0.1), Consent (hl7.fhir.r4.core#4.0.1), Consent (hl7.fhir.r4.core#4.0.1), Consent (hl7.fhir.r4.core#4.0.1), Consent (hl7.fhir.r4.core#4.0.1) + - Version 2: Consent (hl7.fhir.r4.examples#4.0.1) +- `urn:fhir:binding:ConsentState` (3 versions) + - Version 1: Consent (hl7.fhir.r4.core#4.0.1), Consent (hl7.fhir.r4.core#4.0.1), Consent (hl7.fhir.r4.core#4.0.1), Consent (hl7.fhir.r4.core#4.0.1), Consent (hl7.fhir.r4.core#4.0.1), Consent (hl7.fhir.r4.core#4.0.1), Consent (hl7.fhir.r4.core#4.0.1), Consent (hl7.fhir.r4.core#4.0.1), Consent (hl7.fhir.r4.core#4.0.1), Consent (hl7.fhir.r4.core#4.0.1) + - Version 2: Consent (hl7.fhir.r5.core#5.0.0), Consent (hl7.fhir.r5.core#5.0.0), Consent (hl7.fhir.r5.core#5.0.0) + - Version 3: Consent (hl7.fhir.r4.examples#4.0.1) +- `urn:fhir:binding:ConstraintSeverity` (3 versions) + - Version 1: ElementDefinition (hl7.fhir.r4.core#4.0.1), ElementDefinition (hl7.fhir.r4.core#4.0.1), ElementDefinition (hl7.fhir.r4.core#4.0.1), ElementDefinition (hl7.fhir.r4.core#4.0.1), ElementDefinition (hl7.fhir.r4.core#4.0.1), ElementDefinition (hl7.fhir.r4.core#4.0.1), ElementDefinition (hl7.fhir.r4.core#4.0.1), ElementDefinition (hl7.fhir.r4.core#4.0.1), ElementDefinition (hl7.fhir.r4.core#4.0.1), ElementDefinition (hl7.fhir.r4.core#4.0.1) + - Version 2: ElementDefinition (hl7.fhir.r5.core#5.0.0), ElementDefinition (hl7.fhir.r5.core#5.0.0), ElementDefinition (hl7.fhir.r5.core#5.0.0) + - Version 3: ElementDefinition (hl7.fhir.r4.examples#4.0.1) +- `urn:fhir:binding:ContactPartyType` (2 versions) + - Version 1: InsurancePlan (hl7.fhir.r4.core#4.0.1), Organization (hl7.fhir.r4.core#4.0.1), InsurancePlan (hl7.fhir.r4.core#4.0.1), Organization (hl7.fhir.r4.core#4.0.1), InsurancePlan (hl7.fhir.r4.core#4.0.1), Organization (hl7.fhir.r4.core#4.0.1), InsurancePlan (hl7.fhir.r4.core#4.0.1), Organization (hl7.fhir.r4.core#4.0.1), InsurancePlan (hl7.fhir.r4.core#4.0.1), Organization (hl7.fhir.r4.core#4.0.1), InsurancePlan (hl7.fhir.r4.core#4.0.1), Organization (hl7.fhir.r4.core#4.0.1), InsurancePlan (hl7.fhir.r4.core#4.0.1), Organization (hl7.fhir.r4.core#4.0.1), InsurancePlan (hl7.fhir.r4.core#4.0.1), Organization (hl7.fhir.r4.core#4.0.1), InsurancePlan (hl7.fhir.r4.core#4.0.1), Organization (hl7.fhir.r4.core#4.0.1), InsurancePlan (hl7.fhir.r4.core#4.0.1), Organization (hl7.fhir.r4.core#4.0.1) + - Version 2: InsurancePlan (hl7.fhir.r4.examples#4.0.1), Organization (hl7.fhir.r4.examples#4.0.1) +- `urn:fhir:binding:ContactPointSystem` (3 versions) + - Version 1: ContactPoint (hl7.fhir.r4.core#4.0.1), ContactPoint (hl7.fhir.r4.core#4.0.1), ContactPoint (hl7.fhir.r4.core#4.0.1), ContactPoint (hl7.fhir.r4.core#4.0.1), ContactPoint (hl7.fhir.r4.core#4.0.1), ContactPoint (hl7.fhir.r4.core#4.0.1), ContactPoint (hl7.fhir.r4.core#4.0.1), ContactPoint (hl7.fhir.r4.core#4.0.1), ContactPoint (hl7.fhir.r4.core#4.0.1), ContactPoint (hl7.fhir.r4.core#4.0.1) + - Version 2: ContactPoint (hl7.fhir.r5.core#5.0.0), ContactPoint (hl7.fhir.r5.core#5.0.0), ContactPoint (hl7.fhir.r5.core#5.0.0) + - Version 3: ContactPoint (hl7.fhir.r4.examples#4.0.1) +- `urn:fhir:binding:ContactPointUse` (3 versions) + - Version 1: ContactPoint (hl7.fhir.r4.core#4.0.1), ContactPoint (hl7.fhir.r4.core#4.0.1), ContactPoint (hl7.fhir.r4.core#4.0.1), ContactPoint (hl7.fhir.r4.core#4.0.1), ContactPoint (hl7.fhir.r4.core#4.0.1), ContactPoint (hl7.fhir.r4.core#4.0.1), ContactPoint (hl7.fhir.r4.core#4.0.1), ContactPoint (hl7.fhir.r4.core#4.0.1), ContactPoint (hl7.fhir.r4.core#4.0.1), ContactPoint (hl7.fhir.r4.core#4.0.1) + - Version 2: ContactPoint (hl7.fhir.r5.core#5.0.0), ContactPoint (hl7.fhir.r5.core#5.0.0), ContactPoint (hl7.fhir.r5.core#5.0.0) + - Version 3: ContactPoint (hl7.fhir.r4.examples#4.0.1) +- `urn:fhir:binding:ContactRelationship` (3 versions) + - Version 1: Patient (hl7.fhir.r4.core#4.0.1), Patient (hl7.fhir.r4.core#4.0.1), Patient (hl7.fhir.r4.core#4.0.1), Patient (hl7.fhir.r4.core#4.0.1), Patient (hl7.fhir.r4.core#4.0.1), Patient (hl7.fhir.r4.core#4.0.1), Patient (hl7.fhir.r4.core#4.0.1), Patient (hl7.fhir.r4.core#4.0.1), Patient (hl7.fhir.r4.core#4.0.1), Patient (hl7.fhir.r4.core#4.0.1) + - Version 2: Patient (hl7.fhir.r5.core#5.0.0), Patient (hl7.fhir.r5.core#5.0.0), Patient (hl7.fhir.r5.core#5.0.0) + - Version 3: Patient (hl7.fhir.r4.examples#4.0.1) +- `urn:fhir:binding:ContainerCap` (3 versions) + - Version 1: SpecimenDefinition (hl7.fhir.r4.core#4.0.1), SpecimenDefinition (hl7.fhir.r4.core#4.0.1), SpecimenDefinition (hl7.fhir.r4.core#4.0.1), SpecimenDefinition (hl7.fhir.r4.core#4.0.1), SpecimenDefinition (hl7.fhir.r4.core#4.0.1), SpecimenDefinition (hl7.fhir.r4.core#4.0.1), SpecimenDefinition (hl7.fhir.r4.core#4.0.1), SpecimenDefinition (hl7.fhir.r4.core#4.0.1), SpecimenDefinition (hl7.fhir.r4.core#4.0.1), SpecimenDefinition (hl7.fhir.r4.core#4.0.1) + - Version 2: SpecimenDefinition (hl7.fhir.r5.core#5.0.0), SpecimenDefinition (hl7.fhir.r5.core#5.0.0), SpecimenDefinition (hl7.fhir.r5.core#5.0.0) + - Version 3: SpecimenDefinition (hl7.fhir.r4.examples#4.0.1) +- `urn:fhir:binding:ContainerMaterial` (3 versions) + - Version 1: SpecimenDefinition (hl7.fhir.r4.core#4.0.1), SpecimenDefinition (hl7.fhir.r4.core#4.0.1), SpecimenDefinition (hl7.fhir.r4.core#4.0.1), SpecimenDefinition (hl7.fhir.r4.core#4.0.1), SpecimenDefinition (hl7.fhir.r4.core#4.0.1), SpecimenDefinition (hl7.fhir.r4.core#4.0.1), SpecimenDefinition (hl7.fhir.r4.core#4.0.1), SpecimenDefinition (hl7.fhir.r4.core#4.0.1), SpecimenDefinition (hl7.fhir.r4.core#4.0.1), SpecimenDefinition (hl7.fhir.r4.core#4.0.1) + - Version 2: SpecimenDefinition (hl7.fhir.r5.core#5.0.0), SpecimenDefinition (hl7.fhir.r5.core#5.0.0), SpecimenDefinition (hl7.fhir.r5.core#5.0.0) + - Version 3: SpecimenDefinition (hl7.fhir.r4.examples#4.0.1) +- `urn:fhir:binding:ContainerType` (3 versions) + - Version 1: SpecimenDefinition (hl7.fhir.r4.core#4.0.1), SpecimenDefinition (hl7.fhir.r4.core#4.0.1), SpecimenDefinition (hl7.fhir.r4.core#4.0.1), SpecimenDefinition (hl7.fhir.r4.core#4.0.1), SpecimenDefinition (hl7.fhir.r4.core#4.0.1), SpecimenDefinition (hl7.fhir.r4.core#4.0.1), SpecimenDefinition (hl7.fhir.r4.core#4.0.1), SpecimenDefinition (hl7.fhir.r4.core#4.0.1), SpecimenDefinition (hl7.fhir.r4.core#4.0.1), SpecimenDefinition (hl7.fhir.r4.core#4.0.1) + - Version 2: SpecimenDefinition (hl7.fhir.r5.core#5.0.0), SpecimenDefinition (hl7.fhir.r5.core#5.0.0), SpecimenDefinition (hl7.fhir.r5.core#5.0.0) + - Version 3: SpecimenDefinition (hl7.fhir.r4.examples#4.0.1) +- `urn:fhir:binding:ContractAction` (3 versions) + - Version 1: Contract (hl7.fhir.r4.core#4.0.1), Contract (hl7.fhir.r4.core#4.0.1), Contract (hl7.fhir.r4.core#4.0.1), Contract (hl7.fhir.r4.core#4.0.1), Contract (hl7.fhir.r4.core#4.0.1), Contract (hl7.fhir.r4.core#4.0.1), Contract (hl7.fhir.r4.core#4.0.1), Contract (hl7.fhir.r4.core#4.0.1), Contract (hl7.fhir.r4.core#4.0.1), Contract (hl7.fhir.r4.core#4.0.1) + - Version 2: Contract (hl7.fhir.r5.core#5.0.0), Contract (hl7.fhir.r5.core#5.0.0), Contract (hl7.fhir.r5.core#5.0.0) + - Version 3: Contract (hl7.fhir.r4.examples#4.0.1) +- `urn:fhir:binding:ContractActionPerformerRole` (3 versions) + - Version 1: Contract (hl7.fhir.r4.core#4.0.1), Contract (hl7.fhir.r4.core#4.0.1), Contract (hl7.fhir.r4.core#4.0.1), Contract (hl7.fhir.r4.core#4.0.1), Contract (hl7.fhir.r4.core#4.0.1), Contract (hl7.fhir.r4.core#4.0.1), Contract (hl7.fhir.r4.core#4.0.1), Contract (hl7.fhir.r4.core#4.0.1), Contract (hl7.fhir.r4.core#4.0.1), Contract (hl7.fhir.r4.core#4.0.1) + - Version 2: Contract (hl7.fhir.r5.core#5.0.0), Contract (hl7.fhir.r5.core#5.0.0), Contract (hl7.fhir.r5.core#5.0.0) + - Version 3: Contract (hl7.fhir.r4.examples#4.0.1) +- `urn:fhir:binding:ContractActionPerformerType` (3 versions) + - Version 1: Contract (hl7.fhir.r4.core#4.0.1), Contract (hl7.fhir.r4.core#4.0.1), Contract (hl7.fhir.r4.core#4.0.1), Contract (hl7.fhir.r4.core#4.0.1), Contract (hl7.fhir.r4.core#4.0.1), Contract (hl7.fhir.r4.core#4.0.1), Contract (hl7.fhir.r4.core#4.0.1), Contract (hl7.fhir.r4.core#4.0.1), Contract (hl7.fhir.r4.core#4.0.1), Contract (hl7.fhir.r4.core#4.0.1) + - Version 2: Contract (hl7.fhir.r5.core#5.0.0), Contract (hl7.fhir.r5.core#5.0.0), Contract (hl7.fhir.r5.core#5.0.0) + - Version 3: Contract (hl7.fhir.r4.examples#4.0.1) +- `urn:fhir:binding:ContractActionReason` (2 versions) + - Version 1: Contract (hl7.fhir.r4.core#4.0.1), Contract (hl7.fhir.r4.core#4.0.1), Contract (hl7.fhir.r4.core#4.0.1), Contract (hl7.fhir.r5.core#5.0.0), Contract (hl7.fhir.r5.core#5.0.0), Contract (hl7.fhir.r5.core#5.0.0), Contract (hl7.fhir.r4.core#4.0.1), Contract (hl7.fhir.r4.core#4.0.1), Contract (hl7.fhir.r4.core#4.0.1), Contract (hl7.fhir.r4.core#4.0.1), Contract (hl7.fhir.r4.core#4.0.1), Contract (hl7.fhir.r4.core#4.0.1), Contract (hl7.fhir.r4.core#4.0.1) + - Version 2: Contract (hl7.fhir.r4.examples#4.0.1) +- `urn:fhir:binding:ContractActionStatus` (3 versions) + - Version 1: Contract (hl7.fhir.r4.core#4.0.1), Contract (hl7.fhir.r4.core#4.0.1), Contract (hl7.fhir.r4.core#4.0.1), Contract (hl7.fhir.r4.core#4.0.1), Contract (hl7.fhir.r4.core#4.0.1), Contract (hl7.fhir.r4.core#4.0.1), Contract (hl7.fhir.r4.core#4.0.1), Contract (hl7.fhir.r4.core#4.0.1), Contract (hl7.fhir.r4.core#4.0.1), Contract (hl7.fhir.r4.core#4.0.1) + - Version 2: Contract (hl7.fhir.r5.core#5.0.0), Contract (hl7.fhir.r5.core#5.0.0), Contract (hl7.fhir.r5.core#5.0.0) + - Version 3: Contract (hl7.fhir.r4.examples#4.0.1) +- `urn:fhir:binding:ContractActorRole` (3 versions) + - Version 1: Contract (hl7.fhir.r4.core#4.0.1), Contract (hl7.fhir.r4.core#4.0.1), Contract (hl7.fhir.r4.core#4.0.1), Contract (hl7.fhir.r4.core#4.0.1), Contract (hl7.fhir.r4.core#4.0.1), Contract (hl7.fhir.r4.core#4.0.1), Contract (hl7.fhir.r4.core#4.0.1), Contract (hl7.fhir.r4.core#4.0.1), Contract (hl7.fhir.r4.core#4.0.1), Contract (hl7.fhir.r4.core#4.0.1) + - Version 2: Contract (hl7.fhir.r5.core#5.0.0), Contract (hl7.fhir.r5.core#5.0.0), Contract (hl7.fhir.r5.core#5.0.0) + - Version 3: Contract (hl7.fhir.r4.examples#4.0.1) +- `urn:fhir:binding:ContractAssetContext` (3 versions) + - Version 1: Contract (hl7.fhir.r4.core#4.0.1), Contract (hl7.fhir.r4.core#4.0.1), Contract (hl7.fhir.r4.core#4.0.1), Contract (hl7.fhir.r4.core#4.0.1), Contract (hl7.fhir.r4.core#4.0.1), Contract (hl7.fhir.r4.core#4.0.1), Contract (hl7.fhir.r4.core#4.0.1), Contract (hl7.fhir.r4.core#4.0.1), Contract (hl7.fhir.r4.core#4.0.1), Contract (hl7.fhir.r4.core#4.0.1) + - Version 2: Contract (hl7.fhir.r5.core#5.0.0), Contract (hl7.fhir.r5.core#5.0.0), Contract (hl7.fhir.r5.core#5.0.0) + - Version 3: Contract (hl7.fhir.r4.examples#4.0.1) +- `urn:fhir:binding:ContractAssetScope` (3 versions) + - Version 1: Contract (hl7.fhir.r4.core#4.0.1), Contract (hl7.fhir.r4.core#4.0.1), Contract (hl7.fhir.r4.core#4.0.1), Contract (hl7.fhir.r4.core#4.0.1), Contract (hl7.fhir.r4.core#4.0.1), Contract (hl7.fhir.r4.core#4.0.1), Contract (hl7.fhir.r4.core#4.0.1), Contract (hl7.fhir.r4.core#4.0.1), Contract (hl7.fhir.r4.core#4.0.1), Contract (hl7.fhir.r4.core#4.0.1) + - Version 2: Contract (hl7.fhir.r5.core#5.0.0), Contract (hl7.fhir.r5.core#5.0.0), Contract (hl7.fhir.r5.core#5.0.0) + - Version 3: Contract (hl7.fhir.r4.examples#4.0.1) +- `urn:fhir:binding:ContractAssetSubtype` (3 versions) + - Version 1: Contract (hl7.fhir.r4.core#4.0.1), Contract (hl7.fhir.r4.core#4.0.1), Contract (hl7.fhir.r4.core#4.0.1), Contract (hl7.fhir.r4.core#4.0.1), Contract (hl7.fhir.r4.core#4.0.1), Contract (hl7.fhir.r4.core#4.0.1), Contract (hl7.fhir.r4.core#4.0.1), Contract (hl7.fhir.r4.core#4.0.1), Contract (hl7.fhir.r4.core#4.0.1), Contract (hl7.fhir.r4.core#4.0.1) + - Version 2: Contract (hl7.fhir.r5.core#5.0.0), Contract (hl7.fhir.r5.core#5.0.0), Contract (hl7.fhir.r5.core#5.0.0) + - Version 3: Contract (hl7.fhir.r4.examples#4.0.1) +- `urn:fhir:binding:ContractAssetType` (3 versions) + - Version 1: Contract (hl7.fhir.r4.core#4.0.1), Contract (hl7.fhir.r4.core#4.0.1), Contract (hl7.fhir.r4.core#4.0.1), Contract (hl7.fhir.r4.core#4.0.1), Contract (hl7.fhir.r4.core#4.0.1), Contract (hl7.fhir.r4.core#4.0.1), Contract (hl7.fhir.r4.core#4.0.1), Contract (hl7.fhir.r4.core#4.0.1), Contract (hl7.fhir.r4.core#4.0.1), Contract (hl7.fhir.r4.core#4.0.1) + - Version 2: Contract (hl7.fhir.r5.core#5.0.0), Contract (hl7.fhir.r5.core#5.0.0), Contract (hl7.fhir.r5.core#5.0.0) + - Version 3: Contract (hl7.fhir.r4.examples#4.0.1) +- `urn:fhir:binding:ContractContentDerivative` (3 versions) + - Version 1: Contract (hl7.fhir.r4.core#4.0.1), Contract (hl7.fhir.r4.core#4.0.1), Contract (hl7.fhir.r4.core#4.0.1), Contract (hl7.fhir.r4.core#4.0.1), Contract (hl7.fhir.r4.core#4.0.1), Contract (hl7.fhir.r4.core#4.0.1), Contract (hl7.fhir.r4.core#4.0.1), Contract (hl7.fhir.r4.core#4.0.1), Contract (hl7.fhir.r4.core#4.0.1), Contract (hl7.fhir.r4.core#4.0.1) + - Version 2: Contract (hl7.fhir.r5.core#5.0.0), Contract (hl7.fhir.r5.core#5.0.0), Contract (hl7.fhir.r5.core#5.0.0) + - Version 3: Contract (hl7.fhir.r4.examples#4.0.1) +- `urn:fhir:binding:ContractDecisionMode` (3 versions) + - Version 1: Contract (hl7.fhir.r4.core#4.0.1), Contract (hl7.fhir.r4.core#4.0.1), Contract (hl7.fhir.r4.core#4.0.1), Contract (hl7.fhir.r4.core#4.0.1), Contract (hl7.fhir.r4.core#4.0.1), Contract (hl7.fhir.r4.core#4.0.1), Contract (hl7.fhir.r4.core#4.0.1), Contract (hl7.fhir.r4.core#4.0.1), Contract (hl7.fhir.r4.core#4.0.1), Contract (hl7.fhir.r4.core#4.0.1) + - Version 2: Contract (hl7.fhir.r5.core#5.0.0), Contract (hl7.fhir.r5.core#5.0.0), Contract (hl7.fhir.r5.core#5.0.0) + - Version 3: Contract (hl7.fhir.r4.examples#4.0.1) +- `urn:fhir:binding:ContractDecisionType` (2 versions) + - Version 1: Contract (hl7.fhir.r4.core#4.0.1), Contract (hl7.fhir.r4.core#4.0.1), Contract (hl7.fhir.r4.core#4.0.1), Contract (hl7.fhir.r5.core#5.0.0), Contract (hl7.fhir.r5.core#5.0.0), Contract (hl7.fhir.r5.core#5.0.0), Contract (hl7.fhir.r4.core#4.0.1), Contract (hl7.fhir.r4.core#4.0.1), Contract (hl7.fhir.r4.core#4.0.1), Contract (hl7.fhir.r4.core#4.0.1), Contract (hl7.fhir.r4.core#4.0.1), Contract (hl7.fhir.r4.core#4.0.1), Contract (hl7.fhir.r4.core#4.0.1) + - Version 2: Contract (hl7.fhir.r4.examples#4.0.1) +- `urn:fhir:binding:ContractDefinitionSubtype` (3 versions) + - Version 1: Contract (hl7.fhir.r4.core#4.0.1), Contract (hl7.fhir.r4.core#4.0.1), Contract (hl7.fhir.r4.core#4.0.1), Contract (hl7.fhir.r4.core#4.0.1), Contract (hl7.fhir.r4.core#4.0.1), Contract (hl7.fhir.r4.core#4.0.1), Contract (hl7.fhir.r4.core#4.0.1), Contract (hl7.fhir.r4.core#4.0.1), Contract (hl7.fhir.r4.core#4.0.1), Contract (hl7.fhir.r4.core#4.0.1) + - Version 2: Contract (hl7.fhir.r5.core#5.0.0), Contract (hl7.fhir.r5.core#5.0.0), Contract (hl7.fhir.r5.core#5.0.0) + - Version 3: Contract (hl7.fhir.r4.examples#4.0.1) +- `urn:fhir:binding:ContractDefinitionType` (3 versions) + - Version 1: Contract (hl7.fhir.r4.core#4.0.1), Contract (hl7.fhir.r4.core#4.0.1), Contract (hl7.fhir.r4.core#4.0.1), Contract (hl7.fhir.r4.core#4.0.1), Contract (hl7.fhir.r4.core#4.0.1), Contract (hl7.fhir.r4.core#4.0.1), Contract (hl7.fhir.r4.core#4.0.1), Contract (hl7.fhir.r4.core#4.0.1), Contract (hl7.fhir.r4.core#4.0.1), Contract (hl7.fhir.r4.core#4.0.1) + - Version 2: Contract (hl7.fhir.r5.core#5.0.0), Contract (hl7.fhir.r5.core#5.0.0), Contract (hl7.fhir.r5.core#5.0.0) + - Version 3: Contract (hl7.fhir.r4.examples#4.0.1) +- `urn:fhir:binding:ContractExpiration` (3 versions) + - Version 1: Contract (hl7.fhir.r4.core#4.0.1), Contract (hl7.fhir.r4.core#4.0.1), Contract (hl7.fhir.r4.core#4.0.1), Contract (hl7.fhir.r4.core#4.0.1), Contract (hl7.fhir.r4.core#4.0.1), Contract (hl7.fhir.r4.core#4.0.1), Contract (hl7.fhir.r4.core#4.0.1), Contract (hl7.fhir.r4.core#4.0.1), Contract (hl7.fhir.r4.core#4.0.1), Contract (hl7.fhir.r4.core#4.0.1) + - Version 2: Contract (hl7.fhir.r5.core#5.0.0), Contract (hl7.fhir.r5.core#5.0.0), Contract (hl7.fhir.r5.core#5.0.0) + - Version 3: Contract (hl7.fhir.r4.examples#4.0.1) +- `urn:fhir:binding:ContractLegalState` (3 versions) + - Version 1: Contract (hl7.fhir.r4.core#4.0.1), Contract (hl7.fhir.r4.core#4.0.1), Contract (hl7.fhir.r4.core#4.0.1), Contract (hl7.fhir.r4.core#4.0.1), Contract (hl7.fhir.r4.core#4.0.1), Contract (hl7.fhir.r4.core#4.0.1), Contract (hl7.fhir.r4.core#4.0.1), Contract (hl7.fhir.r4.core#4.0.1), Contract (hl7.fhir.r4.core#4.0.1), Contract (hl7.fhir.r4.core#4.0.1) + - Version 2: Contract (hl7.fhir.r5.core#5.0.0), Contract (hl7.fhir.r5.core#5.0.0), Contract (hl7.fhir.r5.core#5.0.0) + - Version 3: Contract (hl7.fhir.r4.examples#4.0.1) +- `urn:fhir:binding:ContractPartyRole` (3 versions) + - Version 1: Contract (hl7.fhir.r4.core#4.0.1), Contract (hl7.fhir.r4.core#4.0.1), Contract (hl7.fhir.r4.core#4.0.1), Contract (hl7.fhir.r4.core#4.0.1), Contract (hl7.fhir.r4.core#4.0.1), Contract (hl7.fhir.r4.core#4.0.1), Contract (hl7.fhir.r4.core#4.0.1), Contract (hl7.fhir.r4.core#4.0.1), Contract (hl7.fhir.r4.core#4.0.1), Contract (hl7.fhir.r4.core#4.0.1) + - Version 2: Contract (hl7.fhir.r5.core#5.0.0), Contract (hl7.fhir.r5.core#5.0.0), Contract (hl7.fhir.r5.core#5.0.0) + - Version 3: Contract (hl7.fhir.r4.examples#4.0.1) +- `urn:fhir:binding:ContractPublicationStatus` (3 versions) + - Version 1: Contract (hl7.fhir.r4.core#4.0.1), Contract (hl7.fhir.r4.core#4.0.1), Contract (hl7.fhir.r4.core#4.0.1), Contract (hl7.fhir.r4.core#4.0.1), Contract (hl7.fhir.r4.core#4.0.1), Contract (hl7.fhir.r4.core#4.0.1), Contract (hl7.fhir.r4.core#4.0.1), Contract (hl7.fhir.r4.core#4.0.1), Contract (hl7.fhir.r4.core#4.0.1), Contract (hl7.fhir.r4.core#4.0.1) + - Version 2: Contract (hl7.fhir.r5.core#5.0.0), Contract (hl7.fhir.r5.core#5.0.0), Contract (hl7.fhir.r5.core#5.0.0) + - Version 3: Contract (hl7.fhir.r4.examples#4.0.1) +- `urn:fhir:binding:ContractScope` (3 versions) + - Version 1: Contract (hl7.fhir.r4.core#4.0.1), Contract (hl7.fhir.r4.core#4.0.1), Contract (hl7.fhir.r4.core#4.0.1), Contract (hl7.fhir.r4.core#4.0.1), Contract (hl7.fhir.r4.core#4.0.1), Contract (hl7.fhir.r4.core#4.0.1), Contract (hl7.fhir.r4.core#4.0.1), Contract (hl7.fhir.r4.core#4.0.1), Contract (hl7.fhir.r4.core#4.0.1), Contract (hl7.fhir.r4.core#4.0.1) + - Version 2: Contract (hl7.fhir.r5.core#5.0.0), Contract (hl7.fhir.r5.core#5.0.0), Contract (hl7.fhir.r5.core#5.0.0) + - Version 3: Contract (hl7.fhir.r4.examples#4.0.1) +- `urn:fhir:binding:ContractSecurityCategory` (3 versions) + - Version 1: Contract (hl7.fhir.r4.core#4.0.1), Contract (hl7.fhir.r4.core#4.0.1), Contract (hl7.fhir.r4.core#4.0.1), Contract (hl7.fhir.r4.core#4.0.1), Contract (hl7.fhir.r4.core#4.0.1), Contract (hl7.fhir.r4.core#4.0.1), Contract (hl7.fhir.r4.core#4.0.1), Contract (hl7.fhir.r4.core#4.0.1), Contract (hl7.fhir.r4.core#4.0.1), Contract (hl7.fhir.r4.core#4.0.1) + - Version 2: Contract (hl7.fhir.r5.core#5.0.0), Contract (hl7.fhir.r5.core#5.0.0), Contract (hl7.fhir.r5.core#5.0.0) + - Version 3: Contract (hl7.fhir.r4.examples#4.0.1) +- `urn:fhir:binding:ContractSecurityClassification` (3 versions) + - Version 1: Contract (hl7.fhir.r4.core#4.0.1), Contract (hl7.fhir.r4.core#4.0.1), Contract (hl7.fhir.r4.core#4.0.1), Contract (hl7.fhir.r4.core#4.0.1), Contract (hl7.fhir.r4.core#4.0.1), Contract (hl7.fhir.r4.core#4.0.1), Contract (hl7.fhir.r4.core#4.0.1), Contract (hl7.fhir.r4.core#4.0.1), Contract (hl7.fhir.r4.core#4.0.1), Contract (hl7.fhir.r4.core#4.0.1) + - Version 2: Contract (hl7.fhir.r5.core#5.0.0), Contract (hl7.fhir.r5.core#5.0.0), Contract (hl7.fhir.r5.core#5.0.0) + - Version 3: Contract (hl7.fhir.r4.examples#4.0.1) +- `urn:fhir:binding:ContractSecurityControl` (3 versions) + - Version 1: Contract (hl7.fhir.r4.core#4.0.1), Contract (hl7.fhir.r4.core#4.0.1), Contract (hl7.fhir.r4.core#4.0.1), Contract (hl7.fhir.r4.core#4.0.1), Contract (hl7.fhir.r4.core#4.0.1), Contract (hl7.fhir.r4.core#4.0.1), Contract (hl7.fhir.r4.core#4.0.1), Contract (hl7.fhir.r4.core#4.0.1), Contract (hl7.fhir.r4.core#4.0.1), Contract (hl7.fhir.r4.core#4.0.1) + - Version 2: Contract (hl7.fhir.r5.core#5.0.0), Contract (hl7.fhir.r5.core#5.0.0), Contract (hl7.fhir.r5.core#5.0.0) + - Version 3: Contract (hl7.fhir.r4.examples#4.0.1) +- `urn:fhir:binding:ContractSignerType` (3 versions) + - Version 1: Contract (hl7.fhir.r4.core#4.0.1), Contract (hl7.fhir.r4.core#4.0.1), Contract (hl7.fhir.r4.core#4.0.1), Contract (hl7.fhir.r4.core#4.0.1), Contract (hl7.fhir.r4.core#4.0.1), Contract (hl7.fhir.r4.core#4.0.1), Contract (hl7.fhir.r4.core#4.0.1), Contract (hl7.fhir.r4.core#4.0.1), Contract (hl7.fhir.r4.core#4.0.1), Contract (hl7.fhir.r4.core#4.0.1) + - Version 2: Contract (hl7.fhir.r5.core#5.0.0), Contract (hl7.fhir.r5.core#5.0.0), Contract (hl7.fhir.r5.core#5.0.0) + - Version 3: Contract (hl7.fhir.r4.examples#4.0.1) +- `urn:fhir:binding:ContractStatus` (3 versions) + - Version 1: Contract (hl7.fhir.r4.core#4.0.1), Contract (hl7.fhir.r4.core#4.0.1), Contract (hl7.fhir.r4.core#4.0.1), Contract (hl7.fhir.r4.core#4.0.1), Contract (hl7.fhir.r4.core#4.0.1), Contract (hl7.fhir.r4.core#4.0.1), Contract (hl7.fhir.r4.core#4.0.1), Contract (hl7.fhir.r4.core#4.0.1), Contract (hl7.fhir.r4.core#4.0.1), Contract (hl7.fhir.r4.core#4.0.1) + - Version 2: Contract (hl7.fhir.r5.core#5.0.0), Contract (hl7.fhir.r5.core#5.0.0), Contract (hl7.fhir.r5.core#5.0.0) + - Version 3: Contract (hl7.fhir.r4.examples#4.0.1) +- `urn:fhir:binding:ContractSubtype` (3 versions) + - Version 1: Contract (hl7.fhir.r4.core#4.0.1), Contract (hl7.fhir.r4.core#4.0.1), Contract (hl7.fhir.r4.core#4.0.1), Contract (hl7.fhir.r4.core#4.0.1), Contract (hl7.fhir.r4.core#4.0.1), Contract (hl7.fhir.r4.core#4.0.1), Contract (hl7.fhir.r4.core#4.0.1), Contract (hl7.fhir.r4.core#4.0.1), Contract (hl7.fhir.r4.core#4.0.1), Contract (hl7.fhir.r4.core#4.0.1) + - Version 2: Contract (hl7.fhir.r5.core#5.0.0), Contract (hl7.fhir.r5.core#5.0.0), Contract (hl7.fhir.r5.core#5.0.0) + - Version 3: Contract (hl7.fhir.r4.examples#4.0.1) +- `urn:fhir:binding:ContractTermSubType` (3 versions) + - Version 1: Contract (hl7.fhir.r4.core#4.0.1), Contract (hl7.fhir.r4.core#4.0.1), Contract (hl7.fhir.r4.core#4.0.1), Contract (hl7.fhir.r4.core#4.0.1), Contract (hl7.fhir.r4.core#4.0.1), Contract (hl7.fhir.r4.core#4.0.1), Contract (hl7.fhir.r4.core#4.0.1), Contract (hl7.fhir.r4.core#4.0.1), Contract (hl7.fhir.r4.core#4.0.1), Contract (hl7.fhir.r4.core#4.0.1) + - Version 2: Contract (hl7.fhir.r5.core#5.0.0), Contract (hl7.fhir.r5.core#5.0.0), Contract (hl7.fhir.r5.core#5.0.0) + - Version 3: Contract (hl7.fhir.r4.examples#4.0.1) +- `urn:fhir:binding:ContractTermType` (3 versions) + - Version 1: Contract (hl7.fhir.r4.core#4.0.1), Contract (hl7.fhir.r4.core#4.0.1), Contract (hl7.fhir.r4.core#4.0.1), Contract (hl7.fhir.r4.core#4.0.1), Contract (hl7.fhir.r4.core#4.0.1), Contract (hl7.fhir.r4.core#4.0.1), Contract (hl7.fhir.r4.core#4.0.1), Contract (hl7.fhir.r4.core#4.0.1), Contract (hl7.fhir.r4.core#4.0.1), Contract (hl7.fhir.r4.core#4.0.1) + - Version 2: Contract (hl7.fhir.r5.core#5.0.0), Contract (hl7.fhir.r5.core#5.0.0), Contract (hl7.fhir.r5.core#5.0.0) + - Version 3: Contract (hl7.fhir.r4.examples#4.0.1) +- `urn:fhir:binding:ContractType` (3 versions) + - Version 1: Contract (hl7.fhir.r4.core#4.0.1), Contract (hl7.fhir.r4.core#4.0.1), Contract (hl7.fhir.r4.core#4.0.1), Contract (hl7.fhir.r4.core#4.0.1), Contract (hl7.fhir.r4.core#4.0.1), Contract (hl7.fhir.r4.core#4.0.1), Contract (hl7.fhir.r4.core#4.0.1), Contract (hl7.fhir.r4.core#4.0.1), Contract (hl7.fhir.r4.core#4.0.1), Contract (hl7.fhir.r4.core#4.0.1) + - Version 2: Contract (hl7.fhir.r5.core#5.0.0), Contract (hl7.fhir.r5.core#5.0.0), Contract (hl7.fhir.r5.core#5.0.0) + - Version 3: Contract (hl7.fhir.r4.examples#4.0.1) +- `urn:fhir:binding:ContributorType` (3 versions) + - Version 1: Contributor (hl7.fhir.r4.core#4.0.1), Contributor (hl7.fhir.r4.core#4.0.1), Contributor (hl7.fhir.r4.core#4.0.1), Contributor (hl7.fhir.r4.core#4.0.1), Contributor (hl7.fhir.r4.core#4.0.1), Contributor (hl7.fhir.r4.core#4.0.1), Contributor (hl7.fhir.r4.core#4.0.1), Contributor (hl7.fhir.r4.core#4.0.1), Contributor (hl7.fhir.r4.core#4.0.1), Contributor (hl7.fhir.r4.core#4.0.1) + - Version 2: Contributor (hl7.fhir.r5.core#5.0.0), Contributor (hl7.fhir.r5.core#5.0.0), Contributor (hl7.fhir.r5.core#5.0.0) + - Version 3: Contributor (hl7.fhir.r4.examples#4.0.1) +- `urn:fhir:binding:CopayTypes` (3 versions) + - Version 1: Coverage (hl7.fhir.r4.core#4.0.1), Coverage (hl7.fhir.r4.core#4.0.1), Coverage (hl7.fhir.r4.core#4.0.1), Coverage (hl7.fhir.r4.core#4.0.1), Coverage (hl7.fhir.r4.core#4.0.1), Coverage (hl7.fhir.r4.core#4.0.1), Coverage (hl7.fhir.r4.core#4.0.1), Coverage (hl7.fhir.r4.core#4.0.1), Coverage (hl7.fhir.r4.core#4.0.1), Coverage (hl7.fhir.r4.core#4.0.1) + - Version 2: Coverage (hl7.fhir.r5.core#5.0.0), Coverage (hl7.fhir.r5.core#5.0.0), Coverage (hl7.fhir.r5.core#5.0.0) + - Version 3: Coverage (hl7.fhir.r4.examples#4.0.1) +- `urn:fhir:binding:Country` (2 versions) + - Version 1: Ingredient (hl7.fhir.r5.core#5.0.0), MedicinalProductDefinition (hl7.fhir.r5.core#5.0.0), Ingredient (hl7.fhir.r5.core#5.0.0), MedicinalProductDefinition (hl7.fhir.r5.core#5.0.0), Ingredient (hl7.fhir.r5.core#5.0.0), MedicinalProductDefinition (hl7.fhir.r5.core#5.0.0), Ingredient (hl7.fhir.r5.core#5.0.0), MedicinalProductDefinition (hl7.fhir.r5.core#5.0.0), Ingredient (hl7.fhir.r5.core#5.0.0), MedicinalProductDefinition (hl7.fhir.r5.core#5.0.0) + - Version 2: SubstanceDefinition (hl7.fhir.r5.core#5.0.0), SubstanceDefinition (hl7.fhir.r5.core#5.0.0), SubstanceDefinition (hl7.fhir.r5.core#5.0.0), SubstanceDefinition (hl7.fhir.r5.core#5.0.0), SubstanceDefinition (hl7.fhir.r5.core#5.0.0) +- `urn:fhir:binding:Courtesies` (3 versions) + - Version 1: Encounter (hl7.fhir.r4.core#4.0.1), Encounter (hl7.fhir.r4.core#4.0.1), Encounter (hl7.fhir.r4.core#4.0.1), Encounter (hl7.fhir.r4.core#4.0.1), Encounter (hl7.fhir.r4.core#4.0.1), Encounter (hl7.fhir.r4.core#4.0.1), Encounter (hl7.fhir.r4.core#4.0.1), Encounter (hl7.fhir.r4.core#4.0.1), Encounter (hl7.fhir.r4.core#4.0.1), Encounter (hl7.fhir.r4.core#4.0.1) + - Version 2: Encounter (hl7.fhir.r5.core#5.0.0), Encounter (hl7.fhir.r5.core#5.0.0), Encounter (hl7.fhir.r5.core#5.0.0) + - Version 3: Encounter (hl7.fhir.r4.examples#4.0.1) +- `urn:fhir:binding:CoverageClass` (3 versions) + - Version 1: Coverage (hl7.fhir.r4.core#4.0.1), Coverage (hl7.fhir.r4.core#4.0.1), Coverage (hl7.fhir.r4.core#4.0.1), Coverage (hl7.fhir.r4.core#4.0.1), Coverage (hl7.fhir.r4.core#4.0.1), Coverage (hl7.fhir.r4.core#4.0.1), Coverage (hl7.fhir.r4.core#4.0.1), Coverage (hl7.fhir.r4.core#4.0.1), Coverage (hl7.fhir.r4.core#4.0.1), Coverage (hl7.fhir.r4.core#4.0.1) + - Version 2: Coverage (hl7.fhir.r5.core#5.0.0), Coverage (hl7.fhir.r5.core#5.0.0), Coverage (hl7.fhir.r5.core#5.0.0) + - Version 3: Coverage (hl7.fhir.r4.examples#4.0.1) +- `urn:fhir:binding:CoverageFinancialException` (3 versions) + - Version 1: Coverage (hl7.fhir.r4.core#4.0.1), Coverage (hl7.fhir.r4.core#4.0.1), Coverage (hl7.fhir.r4.core#4.0.1), Coverage (hl7.fhir.r4.core#4.0.1), Coverage (hl7.fhir.r4.core#4.0.1), Coverage (hl7.fhir.r4.core#4.0.1), Coverage (hl7.fhir.r4.core#4.0.1), Coverage (hl7.fhir.r4.core#4.0.1), Coverage (hl7.fhir.r4.core#4.0.1), Coverage (hl7.fhir.r4.core#4.0.1) + - Version 2: Coverage (hl7.fhir.r5.core#5.0.0), Coverage (hl7.fhir.r5.core#5.0.0), Coverage (hl7.fhir.r5.core#5.0.0) + - Version 3: Coverage (hl7.fhir.r4.examples#4.0.1) +- `urn:fhir:binding:CoverageStatus` (3 versions) + - Version 1: Coverage (hl7.fhir.r4.core#4.0.1), Coverage (hl7.fhir.r4.core#4.0.1), Coverage (hl7.fhir.r4.core#4.0.1), Coverage (hl7.fhir.r4.core#4.0.1), Coverage (hl7.fhir.r4.core#4.0.1), Coverage (hl7.fhir.r4.core#4.0.1), Coverage (hl7.fhir.r4.core#4.0.1), Coverage (hl7.fhir.r4.core#4.0.1), Coverage (hl7.fhir.r4.core#4.0.1), us-core-coverage (hl7.fhir.us.core#8.0.1), Coverage (hl7.fhir.r4.core#4.0.1) + - Version 2: Coverage (hl7.fhir.r5.core#5.0.0), Coverage (hl7.fhir.r5.core#5.0.0), Coverage (hl7.fhir.r5.core#5.0.0) + - Version 3: Coverage (hl7.fhir.r4.examples#4.0.1) +- `urn:fhir:binding:CoverageType` (3 versions) + - Version 1: Coverage (hl7.fhir.r4.core#4.0.1), Coverage (hl7.fhir.r4.core#4.0.1), Coverage (hl7.fhir.r4.core#4.0.1), Coverage (hl7.fhir.r4.core#4.0.1), Coverage (hl7.fhir.r4.core#4.0.1), Coverage (hl7.fhir.r4.core#4.0.1), Coverage (hl7.fhir.r4.core#4.0.1), Coverage (hl7.fhir.r4.core#4.0.1), Coverage (hl7.fhir.r4.core#4.0.1), Coverage (hl7.fhir.r4.core#4.0.1) + - Version 2: Coverage (hl7.fhir.r5.core#5.0.0), Coverage (hl7.fhir.r5.core#5.0.0), Coverage (hl7.fhir.r5.core#5.0.0) + - Version 3: Coverage (hl7.fhir.r4.examples#4.0.1) +- `urn:fhir:binding:CurrencyCode` (3 versions) + - Version 1: Money (hl7.fhir.r4.core#4.0.1), Money (hl7.fhir.r4.core#4.0.1), Money (hl7.fhir.r4.core#4.0.1), Money (hl7.fhir.r4.core#4.0.1), Money (hl7.fhir.r4.core#4.0.1), Money (hl7.fhir.r4.core#4.0.1), Money (hl7.fhir.r4.core#4.0.1), Money (hl7.fhir.r4.core#4.0.1), Money (hl7.fhir.r4.core#4.0.1), Money (hl7.fhir.r4.core#4.0.1) + - Version 2: Money (hl7.fhir.r5.core#5.0.0), Money (hl7.fhir.r5.core#5.0.0), Money (hl7.fhir.r5.core#5.0.0) + - Version 3: Money (hl7.fhir.r4.examples#4.0.1) +- `urn:fhir:binding:DayOfWeek` (3 versions) + - Version 1: Timing (hl7.fhir.r4.core#4.0.1), Timing (hl7.fhir.r4.core#4.0.1), Timing (hl7.fhir.r4.core#4.0.1), Timing (hl7.fhir.r4.core#4.0.1), Timing (hl7.fhir.r4.core#4.0.1), Timing (hl7.fhir.r4.core#4.0.1), Timing (hl7.fhir.r4.core#4.0.1), Timing (hl7.fhir.r4.core#4.0.1), Timing (hl7.fhir.r4.core#4.0.1), Timing (hl7.fhir.r4.core#4.0.1) + - Version 2: Timing (hl7.fhir.r5.core#5.0.0), Timing (hl7.fhir.r5.core#5.0.0), Timing (hl7.fhir.r5.core#5.0.0) + - Version 3: Timing (hl7.fhir.r4.examples#4.0.1) +- `urn:fhir:binding:DaysOfWeek` (3 versions) + - Version 1: PractitionerRole (hl7.fhir.r4.core#4.0.1), HealthcareService (hl7.fhir.r4.core#4.0.1), Location (hl7.fhir.r4.core#4.0.1), PractitionerRole (hl7.fhir.r4.core#4.0.1), HealthcareService (hl7.fhir.r4.core#4.0.1), Location (hl7.fhir.r4.core#4.0.1), PractitionerRole (hl7.fhir.r4.core#4.0.1), HealthcareService (hl7.fhir.r4.core#4.0.1), Location (hl7.fhir.r4.core#4.0.1), PractitionerRole (hl7.fhir.r4.core#4.0.1), HealthcareService (hl7.fhir.r4.core#4.0.1), Location (hl7.fhir.r4.core#4.0.1), PractitionerRole (hl7.fhir.r4.core#4.0.1), HealthcareService (hl7.fhir.r4.core#4.0.1), Location (hl7.fhir.r4.core#4.0.1), PractitionerRole (hl7.fhir.r4.core#4.0.1), HealthcareService (hl7.fhir.r4.core#4.0.1), Location (hl7.fhir.r4.core#4.0.1), PractitionerRole (hl7.fhir.r4.core#4.0.1), HealthcareService (hl7.fhir.r4.core#4.0.1), Location (hl7.fhir.r4.core#4.0.1), PractitionerRole (hl7.fhir.r4.core#4.0.1), HealthcareService (hl7.fhir.r4.core#4.0.1), Location (hl7.fhir.r4.core#4.0.1), PractitionerRole (hl7.fhir.r4.core#4.0.1), HealthcareService (hl7.fhir.r4.core#4.0.1), Location (hl7.fhir.r4.core#4.0.1), PractitionerRole (hl7.fhir.r4.core#4.0.1), HealthcareService (hl7.fhir.r4.core#4.0.1), Location (hl7.fhir.r4.core#4.0.1) + - Version 2: Appointment (hl7.fhir.r5.core#5.0.0), Availability (hl7.fhir.r5.core#5.0.0), Appointment (hl7.fhir.r5.core#5.0.0), Availability (hl7.fhir.r5.core#5.0.0), Appointment (hl7.fhir.r5.core#5.0.0), Availability (hl7.fhir.r5.core#5.0.0), Availability (hl7.fhir.r5.core#5.0.0), Availability (hl7.fhir.r5.core#5.0.0) + - Version 3: PractitionerRole (hl7.fhir.r4.examples#4.0.1), HealthcareService (hl7.fhir.r4.examples#4.0.1), Location (hl7.fhir.r4.examples#4.0.1) +- `urn:fhir:binding:DefinitionTopic` (3 versions) + - Version 1: EventDefinition (hl7.fhir.r4.core#4.0.1), Measure (hl7.fhir.r4.core#4.0.1), Library (hl7.fhir.r4.core#4.0.1), PlanDefinition (hl7.fhir.r4.core#4.0.1), EvidenceVariable (hl7.fhir.r4.core#4.0.1), Evidence (hl7.fhir.r4.core#4.0.1), ActivityDefinition (hl7.fhir.r4.core#4.0.1), EffectEvidenceSynthesis (hl7.fhir.r4.core#4.0.1), ResearchDefinition (hl7.fhir.r4.core#4.0.1), ResearchElementDefinition (hl7.fhir.r4.core#4.0.1), RiskEvidenceSynthesis (hl7.fhir.r4.core#4.0.1), EventDefinition (hl7.fhir.r4.core#4.0.1), Measure (hl7.fhir.r4.core#4.0.1), Library (hl7.fhir.r4.core#4.0.1), PlanDefinition (hl7.fhir.r4.core#4.0.1), EvidenceVariable (hl7.fhir.r4.core#4.0.1), Evidence (hl7.fhir.r4.core#4.0.1), ActivityDefinition (hl7.fhir.r4.core#4.0.1), EffectEvidenceSynthesis (hl7.fhir.r4.core#4.0.1), ResearchDefinition (hl7.fhir.r4.core#4.0.1), ResearchElementDefinition (hl7.fhir.r4.core#4.0.1), RiskEvidenceSynthesis (hl7.fhir.r4.core#4.0.1), EventDefinition (hl7.fhir.r4.core#4.0.1), Measure (hl7.fhir.r4.core#4.0.1), Library (hl7.fhir.r4.core#4.0.1), PlanDefinition (hl7.fhir.r4.core#4.0.1), EvidenceVariable (hl7.fhir.r4.core#4.0.1), Evidence (hl7.fhir.r4.core#4.0.1), ActivityDefinition (hl7.fhir.r4.core#4.0.1), EffectEvidenceSynthesis (hl7.fhir.r4.core#4.0.1), ResearchDefinition (hl7.fhir.r4.core#4.0.1), ResearchElementDefinition (hl7.fhir.r4.core#4.0.1), RiskEvidenceSynthesis (hl7.fhir.r4.core#4.0.1), EventDefinition (hl7.fhir.r4.core#4.0.1), Measure (hl7.fhir.r4.core#4.0.1), Library (hl7.fhir.r4.core#4.0.1), PlanDefinition (hl7.fhir.r4.core#4.0.1), EvidenceVariable (hl7.fhir.r4.core#4.0.1), Evidence (hl7.fhir.r4.core#4.0.1), ActivityDefinition (hl7.fhir.r4.core#4.0.1), EffectEvidenceSynthesis (hl7.fhir.r4.core#4.0.1), ResearchDefinition (hl7.fhir.r4.core#4.0.1), ResearchElementDefinition (hl7.fhir.r4.core#4.0.1), RiskEvidenceSynthesis (hl7.fhir.r4.core#4.0.1), EventDefinition (hl7.fhir.r4.core#4.0.1), Measure (hl7.fhir.r4.core#4.0.1), Library (hl7.fhir.r4.core#4.0.1), PlanDefinition (hl7.fhir.r4.core#4.0.1), EvidenceVariable (hl7.fhir.r4.core#4.0.1), Evidence (hl7.fhir.r4.core#4.0.1), ActivityDefinition (hl7.fhir.r4.core#4.0.1), EffectEvidenceSynthesis (hl7.fhir.r4.core#4.0.1), ResearchDefinition (hl7.fhir.r4.core#4.0.1), ResearchElementDefinition (hl7.fhir.r4.core#4.0.1), RiskEvidenceSynthesis (hl7.fhir.r4.core#4.0.1), EventDefinition (hl7.fhir.r4.core#4.0.1), Measure (hl7.fhir.r4.core#4.0.1), Library (hl7.fhir.r4.core#4.0.1), PlanDefinition (hl7.fhir.r4.core#4.0.1), EvidenceVariable (hl7.fhir.r4.core#4.0.1), Evidence (hl7.fhir.r4.core#4.0.1), ActivityDefinition (hl7.fhir.r4.core#4.0.1), EffectEvidenceSynthesis (hl7.fhir.r4.core#4.0.1), ResearchDefinition (hl7.fhir.r4.core#4.0.1), ResearchElementDefinition (hl7.fhir.r4.core#4.0.1), RiskEvidenceSynthesis (hl7.fhir.r4.core#4.0.1), EventDefinition (hl7.fhir.r4.core#4.0.1), Measure (hl7.fhir.r4.core#4.0.1), Library (hl7.fhir.r4.core#4.0.1), PlanDefinition (hl7.fhir.r4.core#4.0.1), EvidenceVariable (hl7.fhir.r4.core#4.0.1), Evidence (hl7.fhir.r4.core#4.0.1), ActivityDefinition (hl7.fhir.r4.core#4.0.1), EffectEvidenceSynthesis (hl7.fhir.r4.core#4.0.1), ResearchDefinition (hl7.fhir.r4.core#4.0.1), ResearchElementDefinition (hl7.fhir.r4.core#4.0.1), RiskEvidenceSynthesis (hl7.fhir.r4.core#4.0.1), EventDefinition (hl7.fhir.r4.core#4.0.1), Measure (hl7.fhir.r4.core#4.0.1), Library (hl7.fhir.r4.core#4.0.1), PlanDefinition (hl7.fhir.r4.core#4.0.1), EvidenceVariable (hl7.fhir.r4.core#4.0.1), Evidence (hl7.fhir.r4.core#4.0.1), ActivityDefinition (hl7.fhir.r4.core#4.0.1), EffectEvidenceSynthesis (hl7.fhir.r4.core#4.0.1), ResearchDefinition (hl7.fhir.r4.core#4.0.1), ResearchElementDefinition (hl7.fhir.r4.core#4.0.1), RiskEvidenceSynthesis (hl7.fhir.r4.core#4.0.1), EventDefinition (hl7.fhir.r4.core#4.0.1), Measure (hl7.fhir.r4.core#4.0.1), Library (hl7.fhir.r4.core#4.0.1), PlanDefinition (hl7.fhir.r4.core#4.0.1), EvidenceVariable (hl7.fhir.r4.core#4.0.1), Evidence (hl7.fhir.r4.core#4.0.1), ActivityDefinition (hl7.fhir.r4.core#4.0.1), EffectEvidenceSynthesis (hl7.fhir.r4.core#4.0.1), ResearchDefinition (hl7.fhir.r4.core#4.0.1), ResearchElementDefinition (hl7.fhir.r4.core#4.0.1), RiskEvidenceSynthesis (hl7.fhir.r4.core#4.0.1), EventDefinition (hl7.fhir.r4.core#4.0.1), Measure (hl7.fhir.r4.core#4.0.1), Library (hl7.fhir.r4.core#4.0.1), PlanDefinition (hl7.fhir.r4.core#4.0.1), EvidenceVariable (hl7.fhir.r4.core#4.0.1), Evidence (hl7.fhir.r4.core#4.0.1), ActivityDefinition (hl7.fhir.r4.core#4.0.1), EffectEvidenceSynthesis (hl7.fhir.r4.core#4.0.1), ResearchDefinition (hl7.fhir.r4.core#4.0.1), ResearchElementDefinition (hl7.fhir.r4.core#4.0.1), RiskEvidenceSynthesis (hl7.fhir.r4.core#4.0.1) + - Version 2: EventDefinition (hl7.fhir.r5.core#5.0.0), Measure (hl7.fhir.r5.core#5.0.0), Library (hl7.fhir.r5.core#5.0.0), ValueSet (hl7.fhir.r5.core#5.0.0), publishablenamingsystem (hl7.fhir.r5.core#5.0.0), publishableconceptmap (hl7.fhir.r5.core#5.0.0), PlanDefinition (hl7.fhir.r5.core#5.0.0), CodeSystem (hl7.fhir.r5.core#5.0.0), publishablemeasure (hl7.fhir.r5.core#5.0.0), publishableplandefinition (hl7.fhir.r5.core#5.0.0), MetadataResource (hl7.fhir.r5.core#5.0.0), publishableactivitydefinition (hl7.fhir.r5.core#5.0.0), ActivityDefinition (hl7.fhir.r5.core#5.0.0), ConceptMap (hl7.fhir.r5.core#5.0.0), publishablelibrary (hl7.fhir.r5.core#5.0.0), publishablevalueset (hl7.fhir.r5.core#5.0.0), NamingSystem (hl7.fhir.r5.core#5.0.0), EventDefinition (hl7.fhir.r5.core#5.0.0), Measure (hl7.fhir.r5.core#5.0.0), Library (hl7.fhir.r5.core#5.0.0), ValueSet (hl7.fhir.r5.core#5.0.0), publishablenamingsystem (hl7.fhir.r5.core#5.0.0), publishableconceptmap (hl7.fhir.r5.core#5.0.0), PlanDefinition (hl7.fhir.r5.core#5.0.0), CodeSystem (hl7.fhir.r5.core#5.0.0), publishablemeasure (hl7.fhir.r5.core#5.0.0), publishableplandefinition (hl7.fhir.r5.core#5.0.0), MetadataResource (hl7.fhir.r5.core#5.0.0), publishableactivitydefinition (hl7.fhir.r5.core#5.0.0), ActivityDefinition (hl7.fhir.r5.core#5.0.0), ConceptMap (hl7.fhir.r5.core#5.0.0), publishablelibrary (hl7.fhir.r5.core#5.0.0), publishablevalueset (hl7.fhir.r5.core#5.0.0), NamingSystem (hl7.fhir.r5.core#5.0.0), EventDefinition (hl7.fhir.r5.core#5.0.0), Measure (hl7.fhir.r5.core#5.0.0), Library (hl7.fhir.r5.core#5.0.0), ValueSet (hl7.fhir.r5.core#5.0.0), publishablenamingsystem (hl7.fhir.r5.core#5.0.0), publishableconceptmap (hl7.fhir.r5.core#5.0.0), PlanDefinition (hl7.fhir.r5.core#5.0.0), CodeSystem (hl7.fhir.r5.core#5.0.0), publishablemeasure (hl7.fhir.r5.core#5.0.0), publishableplandefinition (hl7.fhir.r5.core#5.0.0), MetadataResource (hl7.fhir.r5.core#5.0.0), publishableactivitydefinition (hl7.fhir.r5.core#5.0.0), ActivityDefinition (hl7.fhir.r5.core#5.0.0), ConceptMap (hl7.fhir.r5.core#5.0.0), publishablelibrary (hl7.fhir.r5.core#5.0.0), publishablevalueset (hl7.fhir.r5.core#5.0.0), NamingSystem (hl7.fhir.r5.core#5.0.0), publishablenamingsystem (hl7.fhir.r5.core#5.0.0), publishableconceptmap (hl7.fhir.r5.core#5.0.0), publishablemeasure (hl7.fhir.r5.core#5.0.0), publishableplandefinition (hl7.fhir.r5.core#5.0.0), publishableactivitydefinition (hl7.fhir.r5.core#5.0.0), publishablelibrary (hl7.fhir.r5.core#5.0.0), publishablevalueset (hl7.fhir.r5.core#5.0.0), publishablenamingsystem (hl7.fhir.r5.core#5.0.0), publishableconceptmap (hl7.fhir.r5.core#5.0.0), publishablemeasure (hl7.fhir.r5.core#5.0.0), publishableplandefinition (hl7.fhir.r5.core#5.0.0), publishableactivitydefinition (hl7.fhir.r5.core#5.0.0), publishablelibrary (hl7.fhir.r5.core#5.0.0), publishablevalueset (hl7.fhir.r5.core#5.0.0) + - Version 3: EventDefinition (hl7.fhir.r4.examples#4.0.1), Measure (hl7.fhir.r4.examples#4.0.1), Library (hl7.fhir.r4.examples#4.0.1), PlanDefinition (hl7.fhir.r4.examples#4.0.1), EvidenceVariable (hl7.fhir.r4.examples#4.0.1), Evidence (hl7.fhir.r4.examples#4.0.1), ActivityDefinition (hl7.fhir.r4.examples#4.0.1), EffectEvidenceSynthesis (hl7.fhir.r4.examples#4.0.1), ResearchDefinition (hl7.fhir.r4.examples#4.0.1), ResearchElementDefinition (hl7.fhir.r4.examples#4.0.1), RiskEvidenceSynthesis (hl7.fhir.r4.examples#4.0.1) +- `urn:fhir:binding:DetectedIssueCategory` (3 versions) + - Version 1: DetectedIssue (hl7.fhir.r4.core#4.0.1), DetectedIssue (hl7.fhir.r4.core#4.0.1), DetectedIssue (hl7.fhir.r4.core#4.0.1), DetectedIssue (hl7.fhir.r4.core#4.0.1), DetectedIssue (hl7.fhir.r4.core#4.0.1), DetectedIssue (hl7.fhir.r4.core#4.0.1), DetectedIssue (hl7.fhir.r4.core#4.0.1), DetectedIssue (hl7.fhir.r4.core#4.0.1), DetectedIssue (hl7.fhir.r4.core#4.0.1), DetectedIssue (hl7.fhir.r4.core#4.0.1) + - Version 2: DetectedIssue (hl7.fhir.r5.core#5.0.0), DetectedIssue (hl7.fhir.r5.core#5.0.0), DetectedIssue (hl7.fhir.r5.core#5.0.0) + - Version 3: DetectedIssue (hl7.fhir.r4.examples#4.0.1) +- `urn:fhir:binding:DetectedIssueEvidenceCode` (3 versions) + - Version 1: DetectedIssue (hl7.fhir.r4.core#4.0.1), DetectedIssue (hl7.fhir.r4.core#4.0.1), DetectedIssue (hl7.fhir.r4.core#4.0.1), DetectedIssue (hl7.fhir.r4.core#4.0.1), DetectedIssue (hl7.fhir.r4.core#4.0.1), DetectedIssue (hl7.fhir.r4.core#4.0.1), DetectedIssue (hl7.fhir.r4.core#4.0.1), DetectedIssue (hl7.fhir.r4.core#4.0.1), DetectedIssue (hl7.fhir.r4.core#4.0.1), DetectedIssue (hl7.fhir.r4.core#4.0.1) + - Version 2: DetectedIssue (hl7.fhir.r5.core#5.0.0), DetectedIssue (hl7.fhir.r5.core#5.0.0), DetectedIssue (hl7.fhir.r5.core#5.0.0) + - Version 3: DetectedIssue (hl7.fhir.r4.examples#4.0.1) +- `urn:fhir:binding:DetectedIssueMitigationAction` (3 versions) + - Version 1: DetectedIssue (hl7.fhir.r4.core#4.0.1), DetectedIssue (hl7.fhir.r4.core#4.0.1), DetectedIssue (hl7.fhir.r4.core#4.0.1), DetectedIssue (hl7.fhir.r4.core#4.0.1), DetectedIssue (hl7.fhir.r4.core#4.0.1), DetectedIssue (hl7.fhir.r4.core#4.0.1), DetectedIssue (hl7.fhir.r4.core#4.0.1), DetectedIssue (hl7.fhir.r4.core#4.0.1), DetectedIssue (hl7.fhir.r4.core#4.0.1), DetectedIssue (hl7.fhir.r4.core#4.0.1) + - Version 2: DetectedIssue (hl7.fhir.r5.core#5.0.0), DetectedIssue (hl7.fhir.r5.core#5.0.0), DetectedIssue (hl7.fhir.r5.core#5.0.0) + - Version 3: DetectedIssue (hl7.fhir.r4.examples#4.0.1) +- `urn:fhir:binding:DetectedIssueSeverity` (3 versions) + - Version 1: DetectedIssue (hl7.fhir.r4.core#4.0.1), DetectedIssue (hl7.fhir.r4.core#4.0.1), DetectedIssue (hl7.fhir.r4.core#4.0.1), DetectedIssue (hl7.fhir.r4.core#4.0.1), DetectedIssue (hl7.fhir.r4.core#4.0.1), DetectedIssue (hl7.fhir.r4.core#4.0.1), DetectedIssue (hl7.fhir.r4.core#4.0.1), DetectedIssue (hl7.fhir.r4.core#4.0.1), DetectedIssue (hl7.fhir.r4.core#4.0.1), DetectedIssue (hl7.fhir.r4.core#4.0.1) + - Version 2: DetectedIssue (hl7.fhir.r5.core#5.0.0), DetectedIssue (hl7.fhir.r5.core#5.0.0), DetectedIssue (hl7.fhir.r5.core#5.0.0) + - Version 3: DetectedIssue (hl7.fhir.r4.examples#4.0.1) +- `urn:fhir:binding:DetectedIssueStatus` (3 versions) + - Version 1: DetectedIssue (hl7.fhir.r4.core#4.0.1), DetectedIssue (hl7.fhir.r4.core#4.0.1), DetectedIssue (hl7.fhir.r4.core#4.0.1), DetectedIssue (hl7.fhir.r4.core#4.0.1), DetectedIssue (hl7.fhir.r4.core#4.0.1), DetectedIssue (hl7.fhir.r4.core#4.0.1), DetectedIssue (hl7.fhir.r4.core#4.0.1), DetectedIssue (hl7.fhir.r4.core#4.0.1), DetectedIssue (hl7.fhir.r4.core#4.0.1), DetectedIssue (hl7.fhir.r4.core#4.0.1) + - Version 2: DetectedIssue (hl7.fhir.r5.core#5.0.0), DetectedIssue (hl7.fhir.r5.core#5.0.0), DetectedIssue (hl7.fhir.r5.core#5.0.0) + - Version 3: DetectedIssue (hl7.fhir.r4.examples#4.0.1) +- `urn:fhir:binding:DeviceActionKind` (3 versions) + - Version 1: Procedure (hl7.fhir.r4.core#4.0.1), Procedure (hl7.fhir.r4.core#4.0.1), Procedure (hl7.fhir.r4.core#4.0.1), Procedure (hl7.fhir.r4.core#4.0.1), Procedure (hl7.fhir.r4.core#4.0.1), Procedure (hl7.fhir.r4.core#4.0.1), Procedure (hl7.fhir.r4.core#4.0.1), Procedure (hl7.fhir.r4.core#4.0.1), Procedure (hl7.fhir.r4.core#4.0.1), Procedure (hl7.fhir.r4.core#4.0.1) + - Version 2: Procedure (hl7.fhir.r5.core#5.0.0), Procedure (hl7.fhir.r5.core#5.0.0), Procedure (hl7.fhir.r5.core#5.0.0) + - Version 3: Procedure (hl7.fhir.r4.examples#4.0.1) +- `urn:fhir:binding:DeviceKind` (3 versions) + - Version 1: DeviceDefinition (hl7.fhir.r4.core#4.0.1), DeviceDefinition (hl7.fhir.r4.core#4.0.1), DeviceDefinition (hl7.fhir.r4.core#4.0.1), DeviceDefinition (hl7.fhir.r4.core#4.0.1), DeviceDefinition (hl7.fhir.r4.core#4.0.1), DeviceDefinition (hl7.fhir.r4.core#4.0.1), DeviceDefinition (hl7.fhir.r4.core#4.0.1), DeviceDefinition (hl7.fhir.r4.core#4.0.1), DeviceDefinition (hl7.fhir.r4.core#4.0.1), DeviceDefinition (hl7.fhir.r4.core#4.0.1) + - Version 2: DeviceDefinition (hl7.fhir.r5.core#5.0.0), DeviceDefinition (hl7.fhir.r5.core#5.0.0), DeviceDefinition (hl7.fhir.r5.core#5.0.0) + - Version 3: DeviceDefinition (hl7.fhir.r4.examples#4.0.1) +- `urn:fhir:binding:DeviceMetricCalibrationState` (3 versions) + - Version 1: DeviceMetric (hl7.fhir.r4.core#4.0.1), DeviceMetric (hl7.fhir.r4.core#4.0.1), DeviceMetric (hl7.fhir.r4.core#4.0.1), DeviceMetric (hl7.fhir.r4.core#4.0.1), DeviceMetric (hl7.fhir.r4.core#4.0.1), DeviceMetric (hl7.fhir.r4.core#4.0.1), DeviceMetric (hl7.fhir.r4.core#4.0.1), DeviceMetric (hl7.fhir.r4.core#4.0.1), DeviceMetric (hl7.fhir.r4.core#4.0.1), DeviceMetric (hl7.fhir.r4.core#4.0.1) + - Version 2: DeviceMetric (hl7.fhir.r5.core#5.0.0), DeviceMetric (hl7.fhir.r5.core#5.0.0), DeviceMetric (hl7.fhir.r5.core#5.0.0) + - Version 3: DeviceMetric (hl7.fhir.r4.examples#4.0.1) +- `urn:fhir:binding:DeviceMetricCalibrationType` (3 versions) + - Version 1: DeviceMetric (hl7.fhir.r4.core#4.0.1), DeviceMetric (hl7.fhir.r4.core#4.0.1), DeviceMetric (hl7.fhir.r4.core#4.0.1), DeviceMetric (hl7.fhir.r4.core#4.0.1), DeviceMetric (hl7.fhir.r4.core#4.0.1), DeviceMetric (hl7.fhir.r4.core#4.0.1), DeviceMetric (hl7.fhir.r4.core#4.0.1), DeviceMetric (hl7.fhir.r4.core#4.0.1), DeviceMetric (hl7.fhir.r4.core#4.0.1), DeviceMetric (hl7.fhir.r4.core#4.0.1) + - Version 2: DeviceMetric (hl7.fhir.r5.core#5.0.0), DeviceMetric (hl7.fhir.r5.core#5.0.0), DeviceMetric (hl7.fhir.r5.core#5.0.0) + - Version 3: DeviceMetric (hl7.fhir.r4.examples#4.0.1) +- `urn:fhir:binding:DeviceMetricCategory` (3 versions) + - Version 1: DeviceMetric (hl7.fhir.r4.core#4.0.1), DeviceMetric (hl7.fhir.r4.core#4.0.1), DeviceMetric (hl7.fhir.r4.core#4.0.1), DeviceMetric (hl7.fhir.r4.core#4.0.1), DeviceMetric (hl7.fhir.r4.core#4.0.1), DeviceMetric (hl7.fhir.r4.core#4.0.1), DeviceMetric (hl7.fhir.r4.core#4.0.1), DeviceMetric (hl7.fhir.r4.core#4.0.1), DeviceMetric (hl7.fhir.r4.core#4.0.1), DeviceMetric (hl7.fhir.r4.core#4.0.1) + - Version 2: DeviceMetric (hl7.fhir.r5.core#5.0.0), DeviceMetric (hl7.fhir.r5.core#5.0.0), DeviceMetric (hl7.fhir.r5.core#5.0.0) + - Version 3: DeviceMetric (hl7.fhir.r4.examples#4.0.1) +- `urn:fhir:binding:DeviceMetricColor` (2 versions) + - Version 1: DeviceMetric (hl7.fhir.r4.core#4.0.1), DeviceMetric (hl7.fhir.r4.core#4.0.1), DeviceMetric (hl7.fhir.r4.core#4.0.1), DeviceMetric (hl7.fhir.r4.core#4.0.1), DeviceMetric (hl7.fhir.r4.core#4.0.1), DeviceMetric (hl7.fhir.r4.core#4.0.1), DeviceMetric (hl7.fhir.r4.core#4.0.1), DeviceMetric (hl7.fhir.r4.core#4.0.1), DeviceMetric (hl7.fhir.r4.core#4.0.1), DeviceMetric (hl7.fhir.r4.core#4.0.1) + - Version 2: DeviceMetric (hl7.fhir.r4.examples#4.0.1) +- `urn:fhir:binding:DeviceMetricOperationalStatus` (3 versions) + - Version 1: DeviceMetric (hl7.fhir.r4.core#4.0.1), DeviceMetric (hl7.fhir.r4.core#4.0.1), DeviceMetric (hl7.fhir.r4.core#4.0.1), DeviceMetric (hl7.fhir.r4.core#4.0.1), DeviceMetric (hl7.fhir.r4.core#4.0.1), DeviceMetric (hl7.fhir.r4.core#4.0.1), DeviceMetric (hl7.fhir.r4.core#4.0.1), DeviceMetric (hl7.fhir.r4.core#4.0.1), DeviceMetric (hl7.fhir.r4.core#4.0.1), DeviceMetric (hl7.fhir.r4.core#4.0.1) + - Version 2: DeviceMetric (hl7.fhir.r5.core#5.0.0), DeviceMetric (hl7.fhir.r5.core#5.0.0), DeviceMetric (hl7.fhir.r5.core#5.0.0) + - Version 3: DeviceMetric (hl7.fhir.r4.examples#4.0.1) +- `urn:fhir:binding:DeviceNameType` (3 versions) + - Version 1: DeviceDefinition (hl7.fhir.r4.core#4.0.1), Device (hl7.fhir.r4.core#4.0.1), DeviceDefinition (hl7.fhir.r4.core#4.0.1), Device (hl7.fhir.r4.core#4.0.1), DeviceDefinition (hl7.fhir.r4.core#4.0.1), Device (hl7.fhir.r4.core#4.0.1), DeviceDefinition (hl7.fhir.r4.core#4.0.1), Device (hl7.fhir.r4.core#4.0.1), DeviceDefinition (hl7.fhir.r4.core#4.0.1), Device (hl7.fhir.r4.core#4.0.1), DeviceDefinition (hl7.fhir.r4.core#4.0.1), Device (hl7.fhir.r4.core#4.0.1), DeviceDefinition (hl7.fhir.r4.core#4.0.1), Device (hl7.fhir.r4.core#4.0.1), DeviceDefinition (hl7.fhir.r4.core#4.0.1), Device (hl7.fhir.r4.core#4.0.1), DeviceDefinition (hl7.fhir.r4.core#4.0.1), Device (hl7.fhir.r4.core#4.0.1), DeviceDefinition (hl7.fhir.r4.core#4.0.1), Device (hl7.fhir.r4.core#4.0.1) + - Version 2: DeviceDefinition (hl7.fhir.r5.core#5.0.0), Device (hl7.fhir.r5.core#5.0.0), DeviceDefinition (hl7.fhir.r5.core#5.0.0), Device (hl7.fhir.r5.core#5.0.0), DeviceDefinition (hl7.fhir.r5.core#5.0.0), Device (hl7.fhir.r5.core#5.0.0) + - Version 3: DeviceDefinition (hl7.fhir.r4.examples#4.0.1), Device (hl7.fhir.r4.examples#4.0.1) +- `urn:fhir:binding:DeviceRequestParticipantRole` (2 versions) + - Version 1: DeviceRequest (hl7.fhir.r4.core#4.0.1), DeviceRequest (hl7.fhir.r4.core#4.0.1), DeviceRequest (hl7.fhir.r4.core#4.0.1), DeviceRequest (hl7.fhir.r4.core#4.0.1), DeviceRequest (hl7.fhir.r4.core#4.0.1), DeviceRequest (hl7.fhir.r4.core#4.0.1), DeviceRequest (hl7.fhir.r4.core#4.0.1), DeviceRequest (hl7.fhir.r4.core#4.0.1), DeviceRequest (hl7.fhir.r4.core#4.0.1), DeviceRequest (hl7.fhir.r4.core#4.0.1) + - Version 2: DeviceRequest (hl7.fhir.r4.examples#4.0.1) +- `urn:fhir:binding:DeviceRequestReason` (3 versions) + - Version 1: DeviceRequest (hl7.fhir.r4.core#4.0.1), DeviceRequest (hl7.fhir.r4.core#4.0.1), DeviceRequest (hl7.fhir.r4.core#4.0.1), DeviceRequest (hl7.fhir.r4.core#4.0.1), DeviceRequest (hl7.fhir.r4.core#4.0.1), DeviceRequest (hl7.fhir.r4.core#4.0.1), DeviceRequest (hl7.fhir.r4.core#4.0.1), DeviceRequest (hl7.fhir.r4.core#4.0.1), DeviceRequest (hl7.fhir.r4.core#4.0.1), DeviceRequest (hl7.fhir.r4.core#4.0.1) + - Version 2: DeviceRequest (hl7.fhir.r5.core#5.0.0), DeviceRequest (hl7.fhir.r5.core#5.0.0), DeviceRequest (hl7.fhir.r5.core#5.0.0) + - Version 3: DeviceRequest (hl7.fhir.r4.examples#4.0.1) +- `urn:fhir:binding:DeviceRequestStatus` (3 versions) + - Version 1: DeviceRequest (hl7.fhir.r4.core#4.0.1), DeviceRequest (hl7.fhir.r4.core#4.0.1), DeviceRequest (hl7.fhir.r4.core#4.0.1), DeviceRequest (hl7.fhir.r4.core#4.0.1), DeviceRequest (hl7.fhir.r4.core#4.0.1), DeviceRequest (hl7.fhir.r4.core#4.0.1), DeviceRequest (hl7.fhir.r4.core#4.0.1), DeviceRequest (hl7.fhir.r4.core#4.0.1), DeviceRequest (hl7.fhir.r4.core#4.0.1), DeviceRequest (hl7.fhir.r4.core#4.0.1) + - Version 2: DeviceRequest (hl7.fhir.r5.core#5.0.0), DeviceRequest (hl7.fhir.r5.core#5.0.0), DeviceRequest (hl7.fhir.r5.core#5.0.0) + - Version 3: DeviceRequest (hl7.fhir.r4.examples#4.0.1) +- `urn:fhir:binding:DeviceType` (3 versions) + - Version 1: Device (hl7.fhir.r4.core#4.0.1), Device (hl7.fhir.r4.core#4.0.1), Device (hl7.fhir.r4.core#4.0.1), Device (hl7.fhir.r4.core#4.0.1), Device (hl7.fhir.r4.core#4.0.1), Device (hl7.fhir.r4.core#4.0.1), Device (hl7.fhir.r4.core#4.0.1), Device (hl7.fhir.r4.core#4.0.1), Device (hl7.fhir.r4.core#4.0.1), Device (hl7.fhir.r4.core#4.0.1) + - Version 2: Device (hl7.fhir.r5.core#5.0.0), BodyStructure (hl7.fhir.r5.core#5.0.0), Device (hl7.fhir.r5.core#5.0.0), BodyStructure (hl7.fhir.r5.core#5.0.0), Device (hl7.fhir.r5.core#5.0.0), BodyStructure (hl7.fhir.r5.core#5.0.0) + - Version 3: Device (hl7.fhir.r4.examples#4.0.1) +- `urn:fhir:binding:DeviceUseStatementStatus` (2 versions) + - Version 1: DeviceUseStatement (hl7.fhir.r4.core#4.0.1), DeviceUseStatement (hl7.fhir.r4.core#4.0.1), DeviceUseStatement (hl7.fhir.r4.core#4.0.1), DeviceUseStatement (hl7.fhir.r4.core#4.0.1), DeviceUseStatement (hl7.fhir.r4.core#4.0.1), DeviceUseStatement (hl7.fhir.r4.core#4.0.1), DeviceUseStatement (hl7.fhir.r4.core#4.0.1), DeviceUseStatement (hl7.fhir.r4.core#4.0.1), DeviceUseStatement (hl7.fhir.r4.core#4.0.1), DeviceUseStatement (hl7.fhir.r4.core#4.0.1) + - Version 2: DeviceUseStatement (hl7.fhir.r4.examples#4.0.1) +- `urn:fhir:binding:DiagnosisOnAdmission` (3 versions) + - Version 1: Claim (hl7.fhir.r4.core#4.0.1), ExplanationOfBenefit (hl7.fhir.r4.core#4.0.1), Claim (hl7.fhir.r4.core#4.0.1), ExplanationOfBenefit (hl7.fhir.r4.core#4.0.1), Claim (hl7.fhir.r4.core#4.0.1), ExplanationOfBenefit (hl7.fhir.r4.core#4.0.1), Claim (hl7.fhir.r4.core#4.0.1), ExplanationOfBenefit (hl7.fhir.r4.core#4.0.1), Claim (hl7.fhir.r4.core#4.0.1), ExplanationOfBenefit (hl7.fhir.r4.core#4.0.1), Claim (hl7.fhir.r4.core#4.0.1), ExplanationOfBenefit (hl7.fhir.r4.core#4.0.1), Claim (hl7.fhir.r4.core#4.0.1), ExplanationOfBenefit (hl7.fhir.r4.core#4.0.1), Claim (hl7.fhir.r4.core#4.0.1), ExplanationOfBenefit (hl7.fhir.r4.core#4.0.1), Claim (hl7.fhir.r4.core#4.0.1), ExplanationOfBenefit (hl7.fhir.r4.core#4.0.1), Claim (hl7.fhir.r4.core#4.0.1), ExplanationOfBenefit (hl7.fhir.r4.core#4.0.1) + - Version 2: Claim (hl7.fhir.r5.core#5.0.0), ExplanationOfBenefit (hl7.fhir.r5.core#5.0.0), Claim (hl7.fhir.r5.core#5.0.0), ExplanationOfBenefit (hl7.fhir.r5.core#5.0.0), Claim (hl7.fhir.r5.core#5.0.0), ExplanationOfBenefit (hl7.fhir.r5.core#5.0.0) + - Version 3: Claim (hl7.fhir.r4.examples#4.0.1), ExplanationOfBenefit (hl7.fhir.r4.examples#4.0.1) +- `urn:fhir:binding:DiagnosisRelatedGroup` (3 versions) + - Version 1: Claim (hl7.fhir.r4.core#4.0.1), ExplanationOfBenefit (hl7.fhir.r4.core#4.0.1), Claim (hl7.fhir.r4.core#4.0.1), ExplanationOfBenefit (hl7.fhir.r4.core#4.0.1), Claim (hl7.fhir.r4.core#4.0.1), ExplanationOfBenefit (hl7.fhir.r4.core#4.0.1), Claim (hl7.fhir.r4.core#4.0.1), ExplanationOfBenefit (hl7.fhir.r4.core#4.0.1), Claim (hl7.fhir.r4.core#4.0.1), ExplanationOfBenefit (hl7.fhir.r4.core#4.0.1), Claim (hl7.fhir.r4.core#4.0.1), ExplanationOfBenefit (hl7.fhir.r4.core#4.0.1), Claim (hl7.fhir.r4.core#4.0.1), ExplanationOfBenefit (hl7.fhir.r4.core#4.0.1), Claim (hl7.fhir.r4.core#4.0.1), ExplanationOfBenefit (hl7.fhir.r4.core#4.0.1), Claim (hl7.fhir.r4.core#4.0.1), ExplanationOfBenefit (hl7.fhir.r4.core#4.0.1), Claim (hl7.fhir.r4.core#4.0.1), ExplanationOfBenefit (hl7.fhir.r4.core#4.0.1) + - Version 2: Claim (hl7.fhir.r5.core#5.0.0), ClaimResponse (hl7.fhir.r5.core#5.0.0), ExplanationOfBenefit (hl7.fhir.r5.core#5.0.0), Claim (hl7.fhir.r5.core#5.0.0), ClaimResponse (hl7.fhir.r5.core#5.0.0), ExplanationOfBenefit (hl7.fhir.r5.core#5.0.0), Claim (hl7.fhir.r5.core#5.0.0), ClaimResponse (hl7.fhir.r5.core#5.0.0), ExplanationOfBenefit (hl7.fhir.r5.core#5.0.0) + - Version 3: Claim (hl7.fhir.r4.examples#4.0.1), ExplanationOfBenefit (hl7.fhir.r4.examples#4.0.1) +- `urn:fhir:binding:DiagnosisRole` (2 versions) + - Version 1: EpisodeOfCare (hl7.fhir.r4.core#4.0.1), Encounter (hl7.fhir.r4.core#4.0.1), EpisodeOfCare (hl7.fhir.r4.core#4.0.1), Encounter (hl7.fhir.r4.core#4.0.1), EpisodeOfCare (hl7.fhir.r4.core#4.0.1), Encounter (hl7.fhir.r4.core#4.0.1), EpisodeOfCare (hl7.fhir.r4.core#4.0.1), Encounter (hl7.fhir.r4.core#4.0.1), EpisodeOfCare (hl7.fhir.r4.core#4.0.1), Encounter (hl7.fhir.r4.core#4.0.1), EpisodeOfCare (hl7.fhir.r4.core#4.0.1), Encounter (hl7.fhir.r4.core#4.0.1), EpisodeOfCare (hl7.fhir.r4.core#4.0.1), Encounter (hl7.fhir.r4.core#4.0.1), EpisodeOfCare (hl7.fhir.r4.core#4.0.1), Encounter (hl7.fhir.r4.core#4.0.1), EpisodeOfCare (hl7.fhir.r4.core#4.0.1), Encounter (hl7.fhir.r4.core#4.0.1), EpisodeOfCare (hl7.fhir.r4.core#4.0.1), Encounter (hl7.fhir.r4.core#4.0.1) + - Version 2: EpisodeOfCare (hl7.fhir.r4.examples#4.0.1), Encounter (hl7.fhir.r4.examples#4.0.1) +- `urn:fhir:binding:DiagnosisType` (3 versions) + - Version 1: Claim (hl7.fhir.r4.core#4.0.1), ExplanationOfBenefit (hl7.fhir.r4.core#4.0.1), Claim (hl7.fhir.r4.core#4.0.1), ExplanationOfBenefit (hl7.fhir.r4.core#4.0.1), Claim (hl7.fhir.r4.core#4.0.1), ExplanationOfBenefit (hl7.fhir.r4.core#4.0.1), Claim (hl7.fhir.r4.core#4.0.1), ExplanationOfBenefit (hl7.fhir.r4.core#4.0.1), Claim (hl7.fhir.r4.core#4.0.1), ExplanationOfBenefit (hl7.fhir.r4.core#4.0.1), Claim (hl7.fhir.r4.core#4.0.1), ExplanationOfBenefit (hl7.fhir.r4.core#4.0.1), Claim (hl7.fhir.r4.core#4.0.1), ExplanationOfBenefit (hl7.fhir.r4.core#4.0.1), Claim (hl7.fhir.r4.core#4.0.1), ExplanationOfBenefit (hl7.fhir.r4.core#4.0.1), Claim (hl7.fhir.r4.core#4.0.1), ExplanationOfBenefit (hl7.fhir.r4.core#4.0.1), Claim (hl7.fhir.r4.core#4.0.1), ExplanationOfBenefit (hl7.fhir.r4.core#4.0.1) + - Version 2: Claim (hl7.fhir.r5.core#5.0.0), ExplanationOfBenefit (hl7.fhir.r5.core#5.0.0), Claim (hl7.fhir.r5.core#5.0.0), ExplanationOfBenefit (hl7.fhir.r5.core#5.0.0), Claim (hl7.fhir.r5.core#5.0.0), ExplanationOfBenefit (hl7.fhir.r5.core#5.0.0) + - Version 3: Claim (hl7.fhir.r4.examples#4.0.1), ExplanationOfBenefit (hl7.fhir.r4.examples#4.0.1) +- `urn:fhir:binding:DiagnosticReportCodes` (3 versions) + - Version 1: lipidprofile (hl7.fhir.r4.core#4.0.1), DiagnosticReport (hl7.fhir.r4.core#4.0.1), lipidprofile (hl7.fhir.r4.core#4.0.1), DiagnosticReport (hl7.fhir.r4.core#4.0.1), lipidprofile (hl7.fhir.r4.core#4.0.1), DiagnosticReport (hl7.fhir.r4.core#4.0.1), lipidprofile (hl7.fhir.r4.core#4.0.1), DiagnosticReport (hl7.fhir.r4.core#4.0.1), lipidprofile (hl7.fhir.r4.core#4.0.1), DiagnosticReport (hl7.fhir.r4.core#4.0.1), lipidprofile (hl7.fhir.r4.core#4.0.1), DiagnosticReport (hl7.fhir.r4.core#4.0.1), lipidprofile (hl7.fhir.r4.core#4.0.1), DiagnosticReport (hl7.fhir.r4.core#4.0.1), lipidprofile (hl7.fhir.r4.core#4.0.1), DiagnosticReport (hl7.fhir.r4.core#4.0.1), lipidprofile (hl7.fhir.r4.core#4.0.1), DiagnosticReport (hl7.fhir.r4.core#4.0.1), lipidprofile (hl7.fhir.r4.core#4.0.1), DiagnosticReport (hl7.fhir.r4.core#4.0.1) + - Version 2: lipidprofile (hl7.fhir.r5.core#5.0.0), DiagnosticReport (hl7.fhir.r5.core#5.0.0), lipidprofile (hl7.fhir.r5.core#5.0.0), DiagnosticReport (hl7.fhir.r5.core#5.0.0), lipidprofile (hl7.fhir.r5.core#5.0.0), DiagnosticReport (hl7.fhir.r5.core#5.0.0) + - Version 3: lipidprofile (hl7.fhir.r4.examples#4.0.1), DiagnosticReport (hl7.fhir.r4.examples#4.0.1) +- `urn:fhir:binding:DiagnosticReportStatus` (3 versions) + - Version 1: DiagnosticReport (hl7.fhir.r4.core#4.0.1), DiagnosticReport (hl7.fhir.r4.core#4.0.1), DiagnosticReport (hl7.fhir.r4.core#4.0.1), DiagnosticReport (hl7.fhir.r4.core#4.0.1), DiagnosticReport (hl7.fhir.r4.core#4.0.1), DiagnosticReport (hl7.fhir.r4.core#4.0.1), DiagnosticReport (hl7.fhir.r4.core#4.0.1), DiagnosticReport (hl7.fhir.r4.core#4.0.1), DiagnosticReport (hl7.fhir.r4.core#4.0.1), DiagnosticReport (hl7.fhir.r4.core#4.0.1) + - Version 2: DiagnosticReport (hl7.fhir.r5.core#5.0.0), DiagnosticReport (hl7.fhir.r5.core#5.0.0), DiagnosticReport (hl7.fhir.r5.core#5.0.0) + - Version 3: DiagnosticReport (hl7.fhir.r4.examples#4.0.1) +- `urn:fhir:binding:DiagnosticServiceSection` (3 versions) + - Version 1: DiagnosticReport (hl7.fhir.r4.core#4.0.1), DiagnosticReport (hl7.fhir.r4.core#4.0.1), DiagnosticReport (hl7.fhir.r4.core#4.0.1), DiagnosticReport (hl7.fhir.r4.core#4.0.1), DiagnosticReport (hl7.fhir.r4.core#4.0.1), DiagnosticReport (hl7.fhir.r4.core#4.0.1), DiagnosticReport (hl7.fhir.r4.core#4.0.1), DiagnosticReport (hl7.fhir.r4.core#4.0.1), DiagnosticReport (hl7.fhir.r4.core#4.0.1), us-core-diagnosticreport-lab (hl7.fhir.us.core#8.0.1), us-core-diagnosticreport-note (hl7.fhir.us.core#8.0.1), DiagnosticReport (hl7.fhir.r4.core#4.0.1) + - Version 2: DiagnosticReport (hl7.fhir.r5.core#5.0.0), DiagnosticReport (hl7.fhir.r5.core#5.0.0), DiagnosticReport (hl7.fhir.r5.core#5.0.0) + - Version 3: DiagnosticReport (hl7.fhir.r4.examples#4.0.1) +- `urn:fhir:binding:DICOMMediaType` (2 versions) + - Version 1: AuditEvent (hl7.fhir.r4.core#4.0.1), AuditEvent (hl7.fhir.r4.core#4.0.1), AuditEvent (hl7.fhir.r4.core#4.0.1), AuditEvent (hl7.fhir.r4.core#4.0.1), AuditEvent (hl7.fhir.r4.core#4.0.1), AuditEvent (hl7.fhir.r4.core#4.0.1), AuditEvent (hl7.fhir.r4.core#4.0.1), AuditEvent (hl7.fhir.r4.core#4.0.1), AuditEvent (hl7.fhir.r4.core#4.0.1), AuditEvent (hl7.fhir.r4.core#4.0.1) + - Version 2: AuditEvent (hl7.fhir.r4.examples#4.0.1) +- `urn:fhir:binding:DischargeDisp` (3 versions) + - Version 1: Encounter (hl7.fhir.r4.core#4.0.1), Encounter (hl7.fhir.r4.core#4.0.1), Encounter (hl7.fhir.r4.core#4.0.1), Encounter (hl7.fhir.r4.core#4.0.1), Encounter (hl7.fhir.r4.core#4.0.1), Encounter (hl7.fhir.r4.core#4.0.1), Encounter (hl7.fhir.r4.core#4.0.1), Encounter (hl7.fhir.r4.core#4.0.1), Encounter (hl7.fhir.r4.core#4.0.1), Encounter (hl7.fhir.r4.core#4.0.1) + - Version 2: Encounter (hl7.fhir.r5.core#5.0.0), Encounter (hl7.fhir.r5.core#5.0.0), Encounter (hl7.fhir.r5.core#5.0.0) + - Version 3: Encounter (hl7.fhir.r4.examples#4.0.1) +- `urn:fhir:binding:DiscriminatorType` (3 versions) + - Version 1: ElementDefinition (hl7.fhir.r4.core#4.0.1), ElementDefinition (hl7.fhir.r4.core#4.0.1), ElementDefinition (hl7.fhir.r4.core#4.0.1), ElementDefinition (hl7.fhir.r4.core#4.0.1), ElementDefinition (hl7.fhir.r4.core#4.0.1), ElementDefinition (hl7.fhir.r4.core#4.0.1), ElementDefinition (hl7.fhir.r4.core#4.0.1), ElementDefinition (hl7.fhir.r4.core#4.0.1), ElementDefinition (hl7.fhir.r4.core#4.0.1), ElementDefinition (hl7.fhir.r4.core#4.0.1) + - Version 2: ElementDefinition (hl7.fhir.r5.core#5.0.0), ElementDefinition (hl7.fhir.r5.core#5.0.0), ElementDefinition (hl7.fhir.r5.core#5.0.0) + - Version 3: ElementDefinition (hl7.fhir.r4.examples#4.0.1) +- `urn:fhir:binding:DocumentC80Class` (2 versions) + - Version 1: DocumentReference (hl7.fhir.r4.core#4.0.1), DocumentReference (hl7.fhir.r4.core#4.0.1), DocumentReference (hl7.fhir.r4.core#4.0.1), DocumentReference (hl7.fhir.r4.core#4.0.1), DocumentReference (hl7.fhir.r4.core#4.0.1), DocumentReference (hl7.fhir.r4.core#4.0.1), DocumentReference (hl7.fhir.r4.core#4.0.1), DocumentReference (hl7.fhir.r4.core#4.0.1), DocumentReference (hl7.fhir.r4.core#4.0.1), us-core-adi-documentreference (hl7.fhir.us.core#8.0.1), us-core-documentreference (hl7.fhir.us.core#8.0.1), DocumentReference (hl7.fhir.r4.core#4.0.1) + - Version 2: DocumentReference (hl7.fhir.r4.examples#4.0.1) +- `urn:fhir:binding:DocumentC80FacilityType` (3 versions) + - Version 1: DocumentReference (hl7.fhir.r4.core#4.0.1), DocumentReference (hl7.fhir.r4.core#4.0.1), DocumentReference (hl7.fhir.r4.core#4.0.1), DocumentReference (hl7.fhir.r4.core#4.0.1), DocumentReference (hl7.fhir.r4.core#4.0.1), DocumentReference (hl7.fhir.r4.core#4.0.1), DocumentReference (hl7.fhir.r4.core#4.0.1), DocumentReference (hl7.fhir.r4.core#4.0.1), DocumentReference (hl7.fhir.r4.core#4.0.1), DocumentReference (hl7.fhir.r4.core#4.0.1) + - Version 2: DocumentReference (hl7.fhir.r5.core#5.0.0), DocumentReference (hl7.fhir.r5.core#5.0.0), DocumentReference (hl7.fhir.r5.core#5.0.0) + - Version 3: DocumentReference (hl7.fhir.r4.examples#4.0.1) +- `urn:fhir:binding:DocumentC80PracticeSetting` (3 versions) + - Version 1: DocumentReference (hl7.fhir.r4.core#4.0.1), DocumentReference (hl7.fhir.r4.core#4.0.1), DocumentReference (hl7.fhir.r4.core#4.0.1), DocumentReference (hl7.fhir.r4.core#4.0.1), DocumentReference (hl7.fhir.r4.core#4.0.1), DocumentReference (hl7.fhir.r4.core#4.0.1), DocumentReference (hl7.fhir.r4.core#4.0.1), DocumentReference (hl7.fhir.r4.core#4.0.1), DocumentReference (hl7.fhir.r4.core#4.0.1), DocumentReference (hl7.fhir.r4.core#4.0.1) + - Version 2: DocumentReference (hl7.fhir.r5.core#5.0.0), DocumentReference (hl7.fhir.r5.core#5.0.0), DocumentReference (hl7.fhir.r5.core#5.0.0) + - Version 3: DocumentReference (hl7.fhir.r4.examples#4.0.1) +- `urn:fhir:binding:DocumentC80Type` (2 versions) + - Version 1: DocumentReference (hl7.fhir.r4.core#4.0.1), DocumentReference (hl7.fhir.r4.core#4.0.1), DocumentReference (hl7.fhir.r4.core#4.0.1), DocumentReference (hl7.fhir.r4.core#4.0.1), DocumentReference (hl7.fhir.r4.core#4.0.1), DocumentReference (hl7.fhir.r4.core#4.0.1), DocumentReference (hl7.fhir.r4.core#4.0.1), DocumentReference (hl7.fhir.r4.core#4.0.1), DocumentReference (hl7.fhir.r4.core#4.0.1), DocumentReference (hl7.fhir.r4.core#4.0.1) + - Version 2: DocumentReference (hl7.fhir.r4.examples#4.0.1) +- `urn:fhir:binding:DocumentCategory` (3 versions) + - Version 1: Composition (hl7.fhir.r4.core#4.0.1), Composition (hl7.fhir.r4.core#4.0.1), Composition (hl7.fhir.r4.core#4.0.1), Composition (hl7.fhir.r4.core#4.0.1), Composition (hl7.fhir.r4.core#4.0.1), Composition (hl7.fhir.r4.core#4.0.1), Composition (hl7.fhir.r4.core#4.0.1), Composition (hl7.fhir.r4.core#4.0.1), Composition (hl7.fhir.r4.core#4.0.1), Composition (hl7.fhir.r4.core#4.0.1) + - Version 2: Composition (hl7.fhir.r5.core#5.0.0), Composition (hl7.fhir.r5.core#5.0.0), Composition (hl7.fhir.r5.core#5.0.0) + - Version 3: Composition (hl7.fhir.r4.examples#4.0.1) +- `urn:fhir:binding:DocumentConfidentiality` (2 versions) + - Version 1: Composition (hl7.fhir.r4.core#4.0.1), Composition (hl7.fhir.r4.core#4.0.1), Composition (hl7.fhir.r4.core#4.0.1), Composition (hl7.fhir.r4.core#4.0.1), Composition (hl7.fhir.r4.core#4.0.1), Composition (hl7.fhir.r4.core#4.0.1), Composition (hl7.fhir.r4.core#4.0.1), Composition (hl7.fhir.r4.core#4.0.1), Composition (hl7.fhir.r4.core#4.0.1), Composition (hl7.fhir.r4.core#4.0.1) + - Version 2: Composition (hl7.fhir.r4.examples#4.0.1) +- `urn:fhir:binding:DocumentEventType` (2 versions) + - Version 1: Composition (hl7.fhir.r4.core#4.0.1), DocumentReference (hl7.fhir.r4.core#4.0.1), Composition (hl7.fhir.r4.core#4.0.1), DocumentReference (hl7.fhir.r4.core#4.0.1), Composition (hl7.fhir.r4.core#4.0.1), DocumentReference (hl7.fhir.r4.core#4.0.1), Composition (hl7.fhir.r5.core#5.0.0), DocumentReference (hl7.fhir.r5.core#5.0.0), Composition (hl7.fhir.r5.core#5.0.0), DocumentReference (hl7.fhir.r5.core#5.0.0), Composition (hl7.fhir.r5.core#5.0.0), DocumentReference (hl7.fhir.r5.core#5.0.0), Composition (hl7.fhir.r4.core#4.0.1), DocumentReference (hl7.fhir.r4.core#4.0.1), Composition (hl7.fhir.r4.core#4.0.1), DocumentReference (hl7.fhir.r4.core#4.0.1), Composition (hl7.fhir.r4.core#4.0.1), DocumentReference (hl7.fhir.r4.core#4.0.1), Composition (hl7.fhir.r4.core#4.0.1), DocumentReference (hl7.fhir.r4.core#4.0.1), Composition (hl7.fhir.r4.core#4.0.1), DocumentReference (hl7.fhir.r4.core#4.0.1), Composition (hl7.fhir.r4.core#4.0.1), DocumentReference (hl7.fhir.r4.core#4.0.1), Composition (hl7.fhir.r4.core#4.0.1), DocumentReference (hl7.fhir.r4.core#4.0.1) + - Version 2: Composition (hl7.fhir.r4.examples#4.0.1), DocumentReference (hl7.fhir.r4.examples#4.0.1) +- `urn:fhir:binding:DocumentFormat` (2 versions) + - Version 1: DocumentReference (hl7.fhir.r4.core#4.0.1), DocumentReference (hl7.fhir.r4.core#4.0.1), DocumentReference (hl7.fhir.r4.core#4.0.1), DocumentReference (hl7.fhir.r4.core#4.0.1), DocumentReference (hl7.fhir.r4.core#4.0.1), DocumentReference (hl7.fhir.r4.core#4.0.1), DocumentReference (hl7.fhir.r4.core#4.0.1), DocumentReference (hl7.fhir.r4.core#4.0.1), DocumentReference (hl7.fhir.r4.core#4.0.1), DocumentReference (hl7.fhir.r4.core#4.0.1) + - Version 2: DocumentReference (hl7.fhir.r4.examples#4.0.1) +- `urn:fhir:binding:DocumentMode` (3 versions) + - Version 1: CapabilityStatement (hl7.fhir.r4.core#4.0.1), CapabilityStatement (hl7.fhir.r4.core#4.0.1), CapabilityStatement (hl7.fhir.r4.core#4.0.1), CapabilityStatement (hl7.fhir.r4.core#4.0.1), CapabilityStatement (hl7.fhir.r4.core#4.0.1), CapabilityStatement (hl7.fhir.r4.core#4.0.1), CapabilityStatement (hl7.fhir.r4.core#4.0.1), CapabilityStatement (hl7.fhir.r4.core#4.0.1), CapabilityStatement (hl7.fhir.r4.core#4.0.1), CapabilityStatement (hl7.fhir.r4.core#4.0.1) + - Version 2: CapabilityStatement (hl7.fhir.r5.core#5.0.0), CapabilityStatement (hl7.fhir.r5.core#5.0.0), CapabilityStatement (hl7.fhir.r5.core#5.0.0) + - Version 3: CapabilityStatement (hl7.fhir.r4.examples#4.0.1) +- `urn:fhir:binding:DocumentReferenceStatus` (3 versions) + - Version 1: DocumentReference (hl7.fhir.r4.core#4.0.1), DocumentManifest (hl7.fhir.r4.core#4.0.1), DocumentReference (hl7.fhir.r4.core#4.0.1), DocumentManifest (hl7.fhir.r4.core#4.0.1), DocumentReference (hl7.fhir.r4.core#4.0.1), DocumentManifest (hl7.fhir.r4.core#4.0.1), DocumentReference (hl7.fhir.r4.core#4.0.1), DocumentManifest (hl7.fhir.r4.core#4.0.1), DocumentReference (hl7.fhir.r4.core#4.0.1), DocumentManifest (hl7.fhir.r4.core#4.0.1), DocumentReference (hl7.fhir.r4.core#4.0.1), DocumentManifest (hl7.fhir.r4.core#4.0.1), DocumentReference (hl7.fhir.r4.core#4.0.1), DocumentManifest (hl7.fhir.r4.core#4.0.1), DocumentReference (hl7.fhir.r4.core#4.0.1), DocumentManifest (hl7.fhir.r4.core#4.0.1), DocumentReference (hl7.fhir.r4.core#4.0.1), DocumentManifest (hl7.fhir.r4.core#4.0.1), DocumentReference (hl7.fhir.r4.core#4.0.1), DocumentManifest (hl7.fhir.r4.core#4.0.1) + - Version 2: DocumentReference (hl7.fhir.r5.core#5.0.0), DocumentReference (hl7.fhir.r5.core#5.0.0), DocumentReference (hl7.fhir.r5.core#5.0.0) + - Version 3: DocumentReference (hl7.fhir.r4.examples#4.0.1), DocumentManifest (hl7.fhir.r4.examples#4.0.1) +- `urn:fhir:binding:DocumentRelationshipType` (3 versions) + - Version 1: Composition (hl7.fhir.r4.core#4.0.1), DocumentReference (hl7.fhir.r4.core#4.0.1), Composition (hl7.fhir.r4.core#4.0.1), DocumentReference (hl7.fhir.r4.core#4.0.1), Composition (hl7.fhir.r4.core#4.0.1), DocumentReference (hl7.fhir.r4.core#4.0.1), Composition (hl7.fhir.r4.core#4.0.1), DocumentReference (hl7.fhir.r4.core#4.0.1), Composition (hl7.fhir.r4.core#4.0.1), DocumentReference (hl7.fhir.r4.core#4.0.1), Composition (hl7.fhir.r4.core#4.0.1), DocumentReference (hl7.fhir.r4.core#4.0.1), Composition (hl7.fhir.r4.core#4.0.1), DocumentReference (hl7.fhir.r4.core#4.0.1), Composition (hl7.fhir.r4.core#4.0.1), DocumentReference (hl7.fhir.r4.core#4.0.1), Composition (hl7.fhir.r4.core#4.0.1), DocumentReference (hl7.fhir.r4.core#4.0.1), Composition (hl7.fhir.r4.core#4.0.1), DocumentReference (hl7.fhir.r4.core#4.0.1) + - Version 2: DocumentReference (hl7.fhir.r5.core#5.0.0), DocumentReference (hl7.fhir.r5.core#5.0.0), DocumentReference (hl7.fhir.r5.core#5.0.0) + - Version 3: Composition (hl7.fhir.r4.examples#4.0.1), DocumentReference (hl7.fhir.r4.examples#4.0.1) +- `urn:fhir:binding:DocumentType` (3 versions) + - Version 1: Composition (hl7.fhir.r4.core#4.0.1), catalog (hl7.fhir.r4.core#4.0.1), Composition (hl7.fhir.r4.core#4.0.1), catalog (hl7.fhir.r4.core#4.0.1), Composition (hl7.fhir.r4.core#4.0.1), catalog (hl7.fhir.r4.core#4.0.1), Composition (hl7.fhir.r4.core#4.0.1), catalog (hl7.fhir.r4.core#4.0.1), Composition (hl7.fhir.r4.core#4.0.1), catalog (hl7.fhir.r4.core#4.0.1), Composition (hl7.fhir.r4.core#4.0.1), catalog (hl7.fhir.r4.core#4.0.1), Composition (hl7.fhir.r4.core#4.0.1), catalog (hl7.fhir.r4.core#4.0.1), Composition (hl7.fhir.r4.core#4.0.1), catalog (hl7.fhir.r4.core#4.0.1), Composition (hl7.fhir.r4.core#4.0.1), catalog (hl7.fhir.r4.core#4.0.1), Composition (hl7.fhir.r4.core#4.0.1), catalog (hl7.fhir.r4.core#4.0.1) + - Version 2: Composition (hl7.fhir.r5.core#5.0.0), DocumentReference (hl7.fhir.r5.core#5.0.0), catalog (hl7.fhir.r5.core#5.0.0), Composition (hl7.fhir.r5.core#5.0.0), DocumentReference (hl7.fhir.r5.core#5.0.0), catalog (hl7.fhir.r5.core#5.0.0), Composition (hl7.fhir.r5.core#5.0.0), DocumentReference (hl7.fhir.r5.core#5.0.0), catalog (hl7.fhir.r5.core#5.0.0) + - Version 3: Composition (hl7.fhir.r4.examples#4.0.1), catalog (hl7.fhir.r4.examples#4.0.1) +- `urn:fhir:binding:DoseAndRateType` (3 versions) + - Version 1: Dosage (hl7.fhir.r4.core#4.0.1), Dosage (hl7.fhir.r4.core#4.0.1), Dosage (hl7.fhir.r4.core#4.0.1), Dosage (hl7.fhir.r4.core#4.0.1), Dosage (hl7.fhir.r4.core#4.0.1), Dosage (hl7.fhir.r4.core#4.0.1), Dosage (hl7.fhir.r4.core#4.0.1), Dosage (hl7.fhir.r4.core#4.0.1), Dosage (hl7.fhir.r4.core#4.0.1), Dosage (hl7.fhir.r4.core#4.0.1) + - Version 2: Dosage (hl7.fhir.r5.core#5.0.0), Dosage (hl7.fhir.r5.core#5.0.0), Dosage (hl7.fhir.r5.core#5.0.0) + - Version 3: Dosage (hl7.fhir.r4.examples#4.0.1) +- `urn:fhir:binding:EffectEstimateType` (2 versions) + - Version 1: EffectEvidenceSynthesis (hl7.fhir.r4.core#4.0.1), EffectEvidenceSynthesis (hl7.fhir.r4.core#4.0.1), EffectEvidenceSynthesis (hl7.fhir.r4.core#4.0.1), EffectEvidenceSynthesis (hl7.fhir.r4.core#4.0.1), EffectEvidenceSynthesis (hl7.fhir.r4.core#4.0.1), EffectEvidenceSynthesis (hl7.fhir.r4.core#4.0.1), EffectEvidenceSynthesis (hl7.fhir.r4.core#4.0.1), EffectEvidenceSynthesis (hl7.fhir.r4.core#4.0.1), EffectEvidenceSynthesis (hl7.fhir.r4.core#4.0.1), EffectEvidenceSynthesis (hl7.fhir.r4.core#4.0.1) + - Version 2: EffectEvidenceSynthesis (hl7.fhir.r4.examples#4.0.1) +- `urn:fhir:binding:ElementDefinitionCode` (3 versions) + - Version 1: ElementDefinition (hl7.fhir.r4.core#4.0.1), ElementDefinition (hl7.fhir.r4.core#4.0.1), ElementDefinition (hl7.fhir.r4.core#4.0.1), ElementDefinition (hl7.fhir.r4.core#4.0.1), ElementDefinition (hl7.fhir.r4.core#4.0.1), ElementDefinition (hl7.fhir.r4.core#4.0.1), ElementDefinition (hl7.fhir.r4.core#4.0.1), ElementDefinition (hl7.fhir.r4.core#4.0.1), ElementDefinition (hl7.fhir.r4.core#4.0.1), ElementDefinition (hl7.fhir.r4.core#4.0.1) + - Version 2: ElementDefinition (hl7.fhir.r5.core#5.0.0), ElementDefinition (hl7.fhir.r5.core#5.0.0), ElementDefinition (hl7.fhir.r5.core#5.0.0) + - Version 3: ElementDefinition (hl7.fhir.r4.examples#4.0.1) +- `urn:fhir:binding:EligibilityRequestPurpose` (3 versions) + - Version 1: CoverageEligibilityRequest (hl7.fhir.r4.core#4.0.1), CoverageEligibilityRequest (hl7.fhir.r4.core#4.0.1), CoverageEligibilityRequest (hl7.fhir.r4.core#4.0.1), CoverageEligibilityRequest (hl7.fhir.r4.core#4.0.1), CoverageEligibilityRequest (hl7.fhir.r4.core#4.0.1), CoverageEligibilityRequest (hl7.fhir.r4.core#4.0.1), CoverageEligibilityRequest (hl7.fhir.r4.core#4.0.1), CoverageEligibilityRequest (hl7.fhir.r4.core#4.0.1), CoverageEligibilityRequest (hl7.fhir.r4.core#4.0.1), CoverageEligibilityRequest (hl7.fhir.r4.core#4.0.1) + - Version 2: CoverageEligibilityRequest (hl7.fhir.r5.core#5.0.0), CoverageEligibilityRequest (hl7.fhir.r5.core#5.0.0), CoverageEligibilityRequest (hl7.fhir.r5.core#5.0.0) + - Version 3: CoverageEligibilityRequest (hl7.fhir.r4.examples#4.0.1) +- `urn:fhir:binding:EligibilityRequestStatus` (3 versions) + - Version 1: CoverageEligibilityRequest (hl7.fhir.r4.core#4.0.1), CoverageEligibilityRequest (hl7.fhir.r4.core#4.0.1), CoverageEligibilityRequest (hl7.fhir.r4.core#4.0.1), CoverageEligibilityRequest (hl7.fhir.r4.core#4.0.1), CoverageEligibilityRequest (hl7.fhir.r4.core#4.0.1), CoverageEligibilityRequest (hl7.fhir.r4.core#4.0.1), CoverageEligibilityRequest (hl7.fhir.r4.core#4.0.1), CoverageEligibilityRequest (hl7.fhir.r4.core#4.0.1), CoverageEligibilityRequest (hl7.fhir.r4.core#4.0.1), CoverageEligibilityRequest (hl7.fhir.r4.core#4.0.1) + - Version 2: CoverageEligibilityRequest (hl7.fhir.r5.core#5.0.0), CoverageEligibilityRequest (hl7.fhir.r5.core#5.0.0), CoverageEligibilityRequest (hl7.fhir.r5.core#5.0.0) + - Version 3: CoverageEligibilityRequest (hl7.fhir.r4.examples#4.0.1) +- `urn:fhir:binding:EligibilityResponsePurpose` (3 versions) + - Version 1: CoverageEligibilityResponse (hl7.fhir.r4.core#4.0.1), CoverageEligibilityResponse (hl7.fhir.r4.core#4.0.1), CoverageEligibilityResponse (hl7.fhir.r4.core#4.0.1), CoverageEligibilityResponse (hl7.fhir.r4.core#4.0.1), CoverageEligibilityResponse (hl7.fhir.r4.core#4.0.1), CoverageEligibilityResponse (hl7.fhir.r4.core#4.0.1), CoverageEligibilityResponse (hl7.fhir.r4.core#4.0.1), CoverageEligibilityResponse (hl7.fhir.r4.core#4.0.1), CoverageEligibilityResponse (hl7.fhir.r4.core#4.0.1), CoverageEligibilityResponse (hl7.fhir.r4.core#4.0.1) + - Version 2: CoverageEligibilityResponse (hl7.fhir.r5.core#5.0.0), CoverageEligibilityResponse (hl7.fhir.r5.core#5.0.0), CoverageEligibilityResponse (hl7.fhir.r5.core#5.0.0) + - Version 3: CoverageEligibilityResponse (hl7.fhir.r4.examples#4.0.1) +- `urn:fhir:binding:EligibilityResponseStatus` (3 versions) + - Version 1: CoverageEligibilityResponse (hl7.fhir.r4.core#4.0.1), CoverageEligibilityResponse (hl7.fhir.r4.core#4.0.1), CoverageEligibilityResponse (hl7.fhir.r4.core#4.0.1), CoverageEligibilityResponse (hl7.fhir.r4.core#4.0.1), CoverageEligibilityResponse (hl7.fhir.r4.core#4.0.1), CoverageEligibilityResponse (hl7.fhir.r4.core#4.0.1), CoverageEligibilityResponse (hl7.fhir.r4.core#4.0.1), CoverageEligibilityResponse (hl7.fhir.r4.core#4.0.1), CoverageEligibilityResponse (hl7.fhir.r4.core#4.0.1), CoverageEligibilityResponse (hl7.fhir.r4.core#4.0.1) + - Version 2: CoverageEligibilityResponse (hl7.fhir.r5.core#5.0.0), CoverageEligibilityResponse (hl7.fhir.r5.core#5.0.0), CoverageEligibilityResponse (hl7.fhir.r5.core#5.0.0) + - Version 3: CoverageEligibilityResponse (hl7.fhir.r4.examples#4.0.1) +- `urn:fhir:binding:EnableWhenBehavior` (3 versions) + - Version 1: Questionnaire (hl7.fhir.r4.core#4.0.1), Questionnaire (hl7.fhir.r4.core#4.0.1), Questionnaire (hl7.fhir.r4.core#4.0.1), Questionnaire (hl7.fhir.r4.core#4.0.1), Questionnaire (hl7.fhir.r4.core#4.0.1), Questionnaire (hl7.fhir.r4.core#4.0.1), Questionnaire (hl7.fhir.r4.core#4.0.1), sdc-questionnaire-behave (hl7.fhir.uv.sdc#3.0.0), Questionnaire (hl7.fhir.r4.core#4.0.1), Questionnaire (hl7.fhir.r4.core#4.0.1), Questionnaire (hl7.fhir.r4.core#4.0.1), sdc-questionnaire-behave (hl7.fhir.uv.sdc#3.0.0) + - Version 2: Questionnaire (hl7.fhir.r5.core#5.0.0), Questionnaire (hl7.fhir.r5.core#5.0.0), Questionnaire (hl7.fhir.r5.core#5.0.0) + - Version 3: Questionnaire (hl7.fhir.r4.examples#4.0.1) +- `urn:fhir:binding:EncounterClass` (4 versions) + - Version 1: Encounter (hl7.fhir.r4.core#4.0.1), Encounter (hl7.fhir.r4.core#4.0.1), Encounter (hl7.fhir.r4.core#4.0.1), EncounterHistory (hl7.fhir.r5.core#5.0.0), EncounterHistory (hl7.fhir.r5.core#5.0.0), EncounterHistory (hl7.fhir.r5.core#5.0.0), Encounter (hl7.fhir.r4.core#4.0.1), Encounter (hl7.fhir.r4.core#4.0.1), Encounter (hl7.fhir.r4.core#4.0.1), EncounterHistory (hl7.fhir.r5.core#5.0.0), Encounter (hl7.fhir.r4.core#4.0.1), Encounter (hl7.fhir.r4.core#4.0.1), Encounter (hl7.fhir.r4.core#4.0.1), us-core-encounter (hl7.fhir.us.core#8.0.1), Encounter (hl7.fhir.r4.core#4.0.1), EncounterHistory (hl7.fhir.r5.core#5.0.0) + - Version 2: Appointment (hl7.fhir.r5.core#5.0.0), Appointment (hl7.fhir.r5.core#5.0.0), Appointment (hl7.fhir.r5.core#5.0.0) + - Version 3: Encounter (hl7.fhir.r5.core#5.0.0), Encounter (hl7.fhir.r5.core#5.0.0), Encounter (hl7.fhir.r5.core#5.0.0) + - Version 4: Encounter (hl7.fhir.r4.examples#4.0.1) +- `urn:fhir:binding:EncounterLocationStatus` (3 versions) + - Version 1: Encounter (hl7.fhir.r4.core#4.0.1), Encounter (hl7.fhir.r4.core#4.0.1), Encounter (hl7.fhir.r4.core#4.0.1), Encounter (hl7.fhir.r4.core#4.0.1), Encounter (hl7.fhir.r4.core#4.0.1), Encounter (hl7.fhir.r4.core#4.0.1), Encounter (hl7.fhir.r4.core#4.0.1), Encounter (hl7.fhir.r4.core#4.0.1), Encounter (hl7.fhir.r4.core#4.0.1), Encounter (hl7.fhir.r4.core#4.0.1) + - Version 2: Encounter (hl7.fhir.r5.core#5.0.0), Encounter (hl7.fhir.r5.core#5.0.0), Encounter (hl7.fhir.r5.core#5.0.0) + - Version 3: Encounter (hl7.fhir.r4.examples#4.0.1) +- `urn:fhir:binding:EncounterReason` (3 versions) + - Version 1: Encounter (hl7.fhir.r4.core#4.0.1), Encounter (hl7.fhir.r4.core#4.0.1), Encounter (hl7.fhir.r4.core#4.0.1), Encounter (hl7.fhir.r4.core#4.0.1), Encounter (hl7.fhir.r4.core#4.0.1), Encounter (hl7.fhir.r4.core#4.0.1), Encounter (hl7.fhir.r4.core#4.0.1), Encounter (hl7.fhir.r4.core#4.0.1), Encounter (hl7.fhir.r4.core#4.0.1), us-core-encounter (hl7.fhir.us.core#8.0.1), Encounter (hl7.fhir.r4.core#4.0.1) + - Version 2: Encounter (hl7.fhir.r5.core#5.0.0), Encounter (hl7.fhir.r5.core#5.0.0), Encounter (hl7.fhir.r5.core#5.0.0) + - Version 3: Encounter (hl7.fhir.r4.examples#4.0.1) +- `urn:fhir:binding:EncounterServiceType` (3 versions) + - Version 1: Encounter (hl7.fhir.r4.core#4.0.1), Encounter (hl7.fhir.r4.core#4.0.1), Encounter (hl7.fhir.r4.core#4.0.1), Encounter (hl7.fhir.r4.core#4.0.1), Encounter (hl7.fhir.r4.core#4.0.1), Encounter (hl7.fhir.r4.core#4.0.1), Encounter (hl7.fhir.r4.core#4.0.1), Encounter (hl7.fhir.r4.core#4.0.1), Encounter (hl7.fhir.r4.core#4.0.1), Encounter (hl7.fhir.r4.core#4.0.1) + - Version 2: EncounterHistory (hl7.fhir.r5.core#5.0.0), Encounter (hl7.fhir.r5.core#5.0.0), EncounterHistory (hl7.fhir.r5.core#5.0.0), Encounter (hl7.fhir.r5.core#5.0.0), EncounterHistory (hl7.fhir.r5.core#5.0.0), Encounter (hl7.fhir.r5.core#5.0.0), EncounterHistory (hl7.fhir.r5.core#5.0.0), EncounterHistory (hl7.fhir.r5.core#5.0.0) + - Version 3: Encounter (hl7.fhir.r4.examples#4.0.1) +- `urn:fhir:binding:EncounterStatus` (3 versions) + - Version 1: Encounter (hl7.fhir.r4.core#4.0.1), Encounter (hl7.fhir.r4.core#4.0.1), Encounter (hl7.fhir.r4.core#4.0.1), Encounter (hl7.fhir.r4.core#4.0.1), Encounter (hl7.fhir.r4.core#4.0.1), Encounter (hl7.fhir.r4.core#4.0.1), Encounter (hl7.fhir.r4.core#4.0.1), Encounter (hl7.fhir.r4.core#4.0.1), Encounter (hl7.fhir.r4.core#4.0.1), us-core-encounter (hl7.fhir.us.core#8.0.1), Encounter (hl7.fhir.r4.core#4.0.1) + - Version 2: EncounterHistory (hl7.fhir.r5.core#5.0.0), Encounter (hl7.fhir.r5.core#5.0.0), EncounterHistory (hl7.fhir.r5.core#5.0.0), Encounter (hl7.fhir.r5.core#5.0.0), EncounterHistory (hl7.fhir.r5.core#5.0.0), Encounter (hl7.fhir.r5.core#5.0.0), EncounterHistory (hl7.fhir.r5.core#5.0.0), EncounterHistory (hl7.fhir.r5.core#5.0.0) + - Version 3: Encounter (hl7.fhir.r4.examples#4.0.1) +- `urn:fhir:binding:EncounterType` (3 versions) + - Version 1: Encounter (hl7.fhir.r4.core#4.0.1), Encounter (hl7.fhir.r4.core#4.0.1), Encounter (hl7.fhir.r4.core#4.0.1), Encounter (hl7.fhir.r4.core#4.0.1), Encounter (hl7.fhir.r4.core#4.0.1), Encounter (hl7.fhir.r4.core#4.0.1), Encounter (hl7.fhir.r4.core#4.0.1), Encounter (hl7.fhir.r4.core#4.0.1), Encounter (hl7.fhir.r4.core#4.0.1), Encounter (hl7.fhir.r4.core#4.0.1) + - Version 2: EncounterHistory (hl7.fhir.r5.core#5.0.0), Encounter (hl7.fhir.r5.core#5.0.0), EncounterHistory (hl7.fhir.r5.core#5.0.0), Encounter (hl7.fhir.r5.core#5.0.0), EncounterHistory (hl7.fhir.r5.core#5.0.0), Encounter (hl7.fhir.r5.core#5.0.0), EncounterHistory (hl7.fhir.r5.core#5.0.0), EncounterHistory (hl7.fhir.r5.core#5.0.0) + - Version 3: Encounter (hl7.fhir.r4.examples#4.0.1) +- `urn:fhir:binding:endpoint-contype` (3 versions) + - Version 1: Endpoint (hl7.fhir.r4.core#4.0.1), Endpoint (hl7.fhir.r4.core#4.0.1), Endpoint (hl7.fhir.r4.core#4.0.1), Endpoint (hl7.fhir.r4.core#4.0.1), Endpoint (hl7.fhir.r4.core#4.0.1), user-access-endpoint (hl7.fhir.uv.smart-app-launch#2.2.0), Endpoint (hl7.fhir.r4.core#4.0.1), Endpoint (hl7.fhir.r4.core#4.0.1), Endpoint (hl7.fhir.r4.core#4.0.1), Endpoint (hl7.fhir.r4.core#4.0.1), Endpoint (hl7.fhir.r4.core#4.0.1), user-access-endpoint (hl7.fhir.uv.smart-app-launch#2.2.0) + - Version 2: Endpoint (hl7.fhir.r5.core#5.0.0), Endpoint (hl7.fhir.r5.core#5.0.0), Endpoint (hl7.fhir.r5.core#5.0.0) + - Version 3: Endpoint (hl7.fhir.r4.examples#4.0.1) +- `urn:fhir:binding:EndpointStatus` (3 versions) + - Version 1: Endpoint (hl7.fhir.r4.core#4.0.1), Endpoint (hl7.fhir.r4.core#4.0.1), Endpoint (hl7.fhir.r4.core#4.0.1), Endpoint (hl7.fhir.r4.core#4.0.1), Endpoint (hl7.fhir.r4.core#4.0.1), user-access-endpoint (hl7.fhir.uv.smart-app-launch#2.2.0), Endpoint (hl7.fhir.r4.core#4.0.1), Endpoint (hl7.fhir.r4.core#4.0.1), Endpoint (hl7.fhir.r4.core#4.0.1), Endpoint (hl7.fhir.r4.core#4.0.1), Endpoint (hl7.fhir.r4.core#4.0.1), user-access-endpoint (hl7.fhir.uv.smart-app-launch#2.2.0) + - Version 2: Endpoint (hl7.fhir.r5.core#5.0.0), Endpoint (hl7.fhir.r5.core#5.0.0), Endpoint (hl7.fhir.r5.core#5.0.0) + - Version 3: Endpoint (hl7.fhir.r4.examples#4.0.1) +- `urn:fhir:binding:EnrollmentRequestStatus` (3 versions) + - Version 1: EnrollmentRequest (hl7.fhir.r4.core#4.0.1), EnrollmentRequest (hl7.fhir.r4.core#4.0.1), EnrollmentRequest (hl7.fhir.r4.core#4.0.1), EnrollmentRequest (hl7.fhir.r4.core#4.0.1), EnrollmentRequest (hl7.fhir.r4.core#4.0.1), EnrollmentRequest (hl7.fhir.r4.core#4.0.1), EnrollmentRequest (hl7.fhir.r4.core#4.0.1), EnrollmentRequest (hl7.fhir.r4.core#4.0.1), EnrollmentRequest (hl7.fhir.r4.core#4.0.1), EnrollmentRequest (hl7.fhir.r4.core#4.0.1) + - Version 2: EnrollmentRequest (hl7.fhir.r5.core#5.0.0), EnrollmentRequest (hl7.fhir.r5.core#5.0.0), EnrollmentRequest (hl7.fhir.r5.core#5.0.0) + - Version 3: EnrollmentRequest (hl7.fhir.r4.examples#4.0.1) +- `urn:fhir:binding:EnrollmentResponseStatus` (3 versions) + - Version 1: EnrollmentResponse (hl7.fhir.r4.core#4.0.1), EnrollmentResponse (hl7.fhir.r4.core#4.0.1), EnrollmentResponse (hl7.fhir.r4.core#4.0.1), EnrollmentResponse (hl7.fhir.r4.core#4.0.1), EnrollmentResponse (hl7.fhir.r4.core#4.0.1), EnrollmentResponse (hl7.fhir.r4.core#4.0.1), EnrollmentResponse (hl7.fhir.r4.core#4.0.1), EnrollmentResponse (hl7.fhir.r4.core#4.0.1), EnrollmentResponse (hl7.fhir.r4.core#4.0.1), EnrollmentResponse (hl7.fhir.r4.core#4.0.1) + - Version 2: EnrollmentResponse (hl7.fhir.r5.core#5.0.0), EnrollmentResponse (hl7.fhir.r5.core#5.0.0), EnrollmentResponse (hl7.fhir.r5.core#5.0.0) + - Version 3: EnrollmentResponse (hl7.fhir.r4.examples#4.0.1) +- `urn:fhir:binding:EnteralFormulaAdditiveType` (3 versions) + - Version 1: NutritionOrder (hl7.fhir.r4.core#4.0.1), NutritionOrder (hl7.fhir.r4.core#4.0.1), NutritionOrder (hl7.fhir.r4.core#4.0.1), NutritionOrder (hl7.fhir.r4.core#4.0.1), NutritionOrder (hl7.fhir.r4.core#4.0.1), NutritionOrder (hl7.fhir.r4.core#4.0.1), NutritionOrder (hl7.fhir.r4.core#4.0.1), NutritionOrder (hl7.fhir.r4.core#4.0.1), NutritionOrder (hl7.fhir.r4.core#4.0.1), NutritionOrder (hl7.fhir.r4.core#4.0.1) + - Version 2: NutritionOrder (hl7.fhir.r5.core#5.0.0), NutritionOrder (hl7.fhir.r5.core#5.0.0), NutritionOrder (hl7.fhir.r5.core#5.0.0) + - Version 3: NutritionOrder (hl7.fhir.r4.examples#4.0.1) +- `urn:fhir:binding:EnteralFormulaType` (3 versions) + - Version 1: NutritionOrder (hl7.fhir.r4.core#4.0.1), NutritionOrder (hl7.fhir.r4.core#4.0.1), NutritionOrder (hl7.fhir.r4.core#4.0.1), NutritionOrder (hl7.fhir.r4.core#4.0.1), NutritionOrder (hl7.fhir.r4.core#4.0.1), NutritionOrder (hl7.fhir.r4.core#4.0.1), NutritionOrder (hl7.fhir.r4.core#4.0.1), NutritionOrder (hl7.fhir.r4.core#4.0.1), NutritionOrder (hl7.fhir.r4.core#4.0.1), NutritionOrder (hl7.fhir.r4.core#4.0.1) + - Version 2: NutritionOrder (hl7.fhir.r5.core#5.0.0), NutritionOrder (hl7.fhir.r5.core#5.0.0), NutritionOrder (hl7.fhir.r5.core#5.0.0) + - Version 3: NutritionOrder (hl7.fhir.r4.examples#4.0.1) +- `urn:fhir:binding:EnteralRouteOfAdministration` (3 versions) + - Version 1: NutritionOrder (hl7.fhir.r4.core#4.0.1), NutritionOrder (hl7.fhir.r4.core#4.0.1), NutritionOrder (hl7.fhir.r4.core#4.0.1), NutritionOrder (hl7.fhir.r4.core#4.0.1), NutritionOrder (hl7.fhir.r4.core#4.0.1), NutritionOrder (hl7.fhir.r4.core#4.0.1), NutritionOrder (hl7.fhir.r4.core#4.0.1), NutritionOrder (hl7.fhir.r4.core#4.0.1), NutritionOrder (hl7.fhir.r4.core#4.0.1), NutritionOrder (hl7.fhir.r4.core#4.0.1) + - Version 2: NutritionOrder (hl7.fhir.r5.core#5.0.0), NutritionOrder (hl7.fhir.r5.core#5.0.0), NutritionOrder (hl7.fhir.r5.core#5.0.0) + - Version 3: NutritionOrder (hl7.fhir.r4.examples#4.0.1) +- `urn:fhir:binding:EpisodeOfCareStatus` (3 versions) + - Version 1: EpisodeOfCare (hl7.fhir.r4.core#4.0.1), EpisodeOfCare (hl7.fhir.r4.core#4.0.1), EpisodeOfCare (hl7.fhir.r4.core#4.0.1), EpisodeOfCare (hl7.fhir.r4.core#4.0.1), EpisodeOfCare (hl7.fhir.r4.core#4.0.1), EpisodeOfCare (hl7.fhir.r4.core#4.0.1), EpisodeOfCare (hl7.fhir.r4.core#4.0.1), EpisodeOfCare (hl7.fhir.r4.core#4.0.1), EpisodeOfCare (hl7.fhir.r4.core#4.0.1), EpisodeOfCare (hl7.fhir.r4.core#4.0.1) + - Version 2: EpisodeOfCare (hl7.fhir.r5.core#5.0.0), EpisodeOfCare (hl7.fhir.r5.core#5.0.0), EpisodeOfCare (hl7.fhir.r5.core#5.0.0) + - Version 3: EpisodeOfCare (hl7.fhir.r4.examples#4.0.1) +- `urn:fhir:binding:EpisodeOfCareType` (3 versions) + - Version 1: EpisodeOfCare (hl7.fhir.r4.core#4.0.1), EpisodeOfCare (hl7.fhir.r4.core#4.0.1), EpisodeOfCare (hl7.fhir.r4.core#4.0.1), EpisodeOfCare (hl7.fhir.r4.core#4.0.1), EpisodeOfCare (hl7.fhir.r4.core#4.0.1), EpisodeOfCare (hl7.fhir.r4.core#4.0.1), EpisodeOfCare (hl7.fhir.r4.core#4.0.1), EpisodeOfCare (hl7.fhir.r4.core#4.0.1), EpisodeOfCare (hl7.fhir.r4.core#4.0.1), EpisodeOfCare (hl7.fhir.r4.core#4.0.1) + - Version 2: EpisodeOfCare (hl7.fhir.r5.core#5.0.0), EpisodeOfCare (hl7.fhir.r5.core#5.0.0), EpisodeOfCare (hl7.fhir.r5.core#5.0.0) + - Version 3: EpisodeOfCare (hl7.fhir.r4.examples#4.0.1) +- `urn:fhir:binding:EvaluationDoseStatus` (3 versions) + - Version 1: ImmunizationEvaluation (hl7.fhir.r4.core#4.0.1), ImmunizationEvaluation (hl7.fhir.r4.core#4.0.1), ImmunizationEvaluation (hl7.fhir.r4.core#4.0.1), ImmunizationEvaluation (hl7.fhir.r4.core#4.0.1), ImmunizationEvaluation (hl7.fhir.r4.core#4.0.1), ImmunizationEvaluation (hl7.fhir.r4.core#4.0.1), ImmunizationEvaluation (hl7.fhir.r4.core#4.0.1), ImmunizationEvaluation (hl7.fhir.r4.core#4.0.1), ImmunizationEvaluation (hl7.fhir.r4.core#4.0.1), ImmunizationEvaluation (hl7.fhir.r4.core#4.0.1) + - Version 2: ImmunizationEvaluation (hl7.fhir.r5.core#5.0.0), ImmunizationEvaluation (hl7.fhir.r5.core#5.0.0), ImmunizationEvaluation (hl7.fhir.r5.core#5.0.0) + - Version 3: ImmunizationEvaluation (hl7.fhir.r4.examples#4.0.1) +- `urn:fhir:binding:EvaluationDoseStatusReason` (3 versions) + - Version 1: ImmunizationEvaluation (hl7.fhir.r4.core#4.0.1), ImmunizationEvaluation (hl7.fhir.r4.core#4.0.1), ImmunizationEvaluation (hl7.fhir.r4.core#4.0.1), ImmunizationEvaluation (hl7.fhir.r4.core#4.0.1), ImmunizationEvaluation (hl7.fhir.r4.core#4.0.1), ImmunizationEvaluation (hl7.fhir.r4.core#4.0.1), ImmunizationEvaluation (hl7.fhir.r4.core#4.0.1), ImmunizationEvaluation (hl7.fhir.r4.core#4.0.1), ImmunizationEvaluation (hl7.fhir.r4.core#4.0.1), ImmunizationEvaluation (hl7.fhir.r4.core#4.0.1) + - Version 2: ImmunizationEvaluation (hl7.fhir.r5.core#5.0.0), ImmunizationEvaluation (hl7.fhir.r5.core#5.0.0), ImmunizationEvaluation (hl7.fhir.r5.core#5.0.0) + - Version 3: ImmunizationEvaluation (hl7.fhir.r4.examples#4.0.1) +- `urn:fhir:binding:EvaluationTargetDisease` (3 versions) + - Version 1: ImmunizationEvaluation (hl7.fhir.r4.core#4.0.1), ImmunizationEvaluation (hl7.fhir.r4.core#4.0.1), ImmunizationEvaluation (hl7.fhir.r4.core#4.0.1), ImmunizationEvaluation (hl7.fhir.r4.core#4.0.1), ImmunizationEvaluation (hl7.fhir.r4.core#4.0.1), ImmunizationEvaluation (hl7.fhir.r4.core#4.0.1), ImmunizationEvaluation (hl7.fhir.r4.core#4.0.1), ImmunizationEvaluation (hl7.fhir.r4.core#4.0.1), ImmunizationEvaluation (hl7.fhir.r4.core#4.0.1), ImmunizationEvaluation (hl7.fhir.r4.core#4.0.1) + - Version 2: ImmunizationEvaluation (hl7.fhir.r5.core#5.0.0), ImmunizationEvaluation (hl7.fhir.r5.core#5.0.0), ImmunizationEvaluation (hl7.fhir.r5.core#5.0.0) + - Version 3: ImmunizationEvaluation (hl7.fhir.r4.examples#4.0.1) +- `urn:fhir:binding:EventCapabilityMode` (3 versions) + - Version 1: CapabilityStatement (hl7.fhir.r4.core#4.0.1), CapabilityStatement (hl7.fhir.r4.core#4.0.1), CapabilityStatement (hl7.fhir.r4.core#4.0.1), CapabilityStatement (hl7.fhir.r4.core#4.0.1), CapabilityStatement (hl7.fhir.r4.core#4.0.1), CapabilityStatement (hl7.fhir.r4.core#4.0.1), CapabilityStatement (hl7.fhir.r4.core#4.0.1), CapabilityStatement (hl7.fhir.r4.core#4.0.1), CapabilityStatement (hl7.fhir.r4.core#4.0.1), CapabilityStatement (hl7.fhir.r4.core#4.0.1) + - Version 2: CapabilityStatement (hl7.fhir.r5.core#5.0.0), CapabilityStatement (hl7.fhir.r5.core#5.0.0), CapabilityStatement (hl7.fhir.r5.core#5.0.0) + - Version 3: CapabilityStatement (hl7.fhir.r4.examples#4.0.1) +- `urn:fhir:binding:EventPerformerFunction` (3 versions) + - Version 1: ImagingStudy (hl7.fhir.r4.core#4.0.1), ImagingStudy (hl7.fhir.r4.core#4.0.1), ImagingStudy (hl7.fhir.r4.core#4.0.1), ImagingStudy (hl7.fhir.r4.core#4.0.1), ImagingStudy (hl7.fhir.r4.core#4.0.1), ImagingStudy (hl7.fhir.r4.core#4.0.1), ImagingStudy (hl7.fhir.r4.core#4.0.1), ImagingStudy (hl7.fhir.r4.core#4.0.1), ImagingStudy (hl7.fhir.r4.core#4.0.1), ImagingStudy (hl7.fhir.r4.core#4.0.1) + - Version 2: ImagingStudy (hl7.fhir.r5.core#5.0.0), ImagingSelection (hl7.fhir.r5.core#5.0.0), ImagingStudy (hl7.fhir.r5.core#5.0.0), ImagingSelection (hl7.fhir.r5.core#5.0.0), ImagingStudy (hl7.fhir.r5.core#5.0.0), ImagingSelection (hl7.fhir.r5.core#5.0.0), ImagingSelection (hl7.fhir.r5.core#5.0.0), ImagingSelection (hl7.fhir.r5.core#5.0.0) + - Version 3: ImagingStudy (hl7.fhir.r4.examples#4.0.1) +- `urn:fhir:binding:EventReason` (3 versions) + - Version 1: MessageHeader (hl7.fhir.r4.core#4.0.1), MessageHeader (hl7.fhir.r4.core#4.0.1), MessageHeader (hl7.fhir.r4.core#4.0.1), MessageHeader (hl7.fhir.r4.core#4.0.1), MessageHeader (hl7.fhir.r4.core#4.0.1), MessageHeader (hl7.fhir.r4.core#4.0.1), MessageHeader (hl7.fhir.r4.core#4.0.1), MessageHeader (hl7.fhir.r4.core#4.0.1), MessageHeader (hl7.fhir.r4.core#4.0.1), MessageHeader (hl7.fhir.r4.core#4.0.1) + - Version 2: MessageHeader (hl7.fhir.r5.core#5.0.0), MessageHeader (hl7.fhir.r5.core#5.0.0), MessageHeader (hl7.fhir.r5.core#5.0.0) + - Version 3: MessageHeader (hl7.fhir.r4.examples#4.0.1) +- `urn:fhir:binding:EventTiming` (3 versions) + - Version 1: Timing (hl7.fhir.r4.core#4.0.1), Timing (hl7.fhir.r4.core#4.0.1), Timing (hl7.fhir.r4.core#4.0.1), Timing (hl7.fhir.r4.core#4.0.1), Timing (hl7.fhir.r4.core#4.0.1), Timing (hl7.fhir.r4.core#4.0.1), Timing (hl7.fhir.r4.core#4.0.1), Timing (hl7.fhir.r4.core#4.0.1), Timing (hl7.fhir.r4.core#4.0.1), Timing (hl7.fhir.r4.core#4.0.1) + - Version 2: Timing (hl7.fhir.r5.core#5.0.0), Timing (hl7.fhir.r5.core#5.0.0), Timing (hl7.fhir.r5.core#5.0.0) + - Version 3: Timing (hl7.fhir.r4.examples#4.0.1) +- `urn:fhir:binding:EvidenceCertaintyRating` (2 versions) + - Version 1: ArtifactAssessment (hl7.fhir.r5.core#5.0.0), ArtifactAssessment (hl7.fhir.r5.core#5.0.0), ArtifactAssessment (hl7.fhir.r5.core#5.0.0), ArtifactAssessment (hl7.fhir.r5.core#5.0.0), ArtifactAssessment (hl7.fhir.r5.core#5.0.0) + - Version 2: Evidence (hl7.fhir.r5.core#5.0.0), Evidence (hl7.fhir.r5.core#5.0.0), Evidence (hl7.fhir.r5.core#5.0.0) +- `urn:fhir:binding:EvidenceCertaintyType` (2 versions) + - Version 1: ArtifactAssessment (hl7.fhir.r5.core#5.0.0), ArtifactAssessment (hl7.fhir.r5.core#5.0.0), ArtifactAssessment (hl7.fhir.r5.core#5.0.0), ArtifactAssessment (hl7.fhir.r5.core#5.0.0), ArtifactAssessment (hl7.fhir.r5.core#5.0.0) + - Version 2: Evidence (hl7.fhir.r5.core#5.0.0), Evidence (hl7.fhir.r5.core#5.0.0), Evidence (hl7.fhir.r5.core#5.0.0) +- `urn:fhir:binding:EvidenceVariableType` (2 versions) + - Version 1: EvidenceVariable (hl7.fhir.r4.core#4.0.1), picoelement (hl7.fhir.r4.core#4.0.1), EvidenceVariable (hl7.fhir.r4.core#4.0.1), picoelement (hl7.fhir.r4.core#4.0.1), EvidenceVariable (hl7.fhir.r4.core#4.0.1), picoelement (hl7.fhir.r4.core#4.0.1), EvidenceVariable (hl7.fhir.r4.core#4.0.1), picoelement (hl7.fhir.r4.core#4.0.1), EvidenceVariable (hl7.fhir.r4.core#4.0.1), picoelement (hl7.fhir.r4.core#4.0.1), EvidenceVariable (hl7.fhir.r4.core#4.0.1), picoelement (hl7.fhir.r4.core#4.0.1), EvidenceVariable (hl7.fhir.r4.core#4.0.1), picoelement (hl7.fhir.r4.core#4.0.1), EvidenceVariable (hl7.fhir.r4.core#4.0.1), picoelement (hl7.fhir.r4.core#4.0.1), EvidenceVariable (hl7.fhir.r4.core#4.0.1), picoelement (hl7.fhir.r4.core#4.0.1), EvidenceVariable (hl7.fhir.r4.core#4.0.1), picoelement (hl7.fhir.r4.core#4.0.1) + - Version 2: EvidenceVariable (hl7.fhir.r4.examples#4.0.1), picoelement (hl7.fhir.r4.examples#4.0.1) +- `urn:fhir:binding:EvidenceVariantState` (2 versions) + - Version 1: EffectEvidenceSynthesis (hl7.fhir.r4.core#4.0.1), EffectEvidenceSynthesis (hl7.fhir.r4.core#4.0.1), EffectEvidenceSynthesis (hl7.fhir.r4.core#4.0.1), EffectEvidenceSynthesis (hl7.fhir.r4.core#4.0.1), EffectEvidenceSynthesis (hl7.fhir.r4.core#4.0.1), EffectEvidenceSynthesis (hl7.fhir.r4.core#4.0.1), EffectEvidenceSynthesis (hl7.fhir.r4.core#4.0.1), EffectEvidenceSynthesis (hl7.fhir.r4.core#4.0.1), EffectEvidenceSynthesis (hl7.fhir.r4.core#4.0.1), EffectEvidenceSynthesis (hl7.fhir.r4.core#4.0.1) + - Version 2: EffectEvidenceSynthesis (hl7.fhir.r4.examples#4.0.1) +- `urn:fhir:binding:ExampleScenarioActorType` (3 versions) + - Version 1: ExampleScenario (hl7.fhir.r4.core#4.0.1), ExampleScenario (hl7.fhir.r4.core#4.0.1), ExampleScenario (hl7.fhir.r4.core#4.0.1), ExampleScenario (hl7.fhir.r4.core#4.0.1), ExampleScenario (hl7.fhir.r4.core#4.0.1), ExampleScenario (hl7.fhir.r4.core#4.0.1), ExampleScenario (hl7.fhir.r4.core#4.0.1), ExampleScenario (hl7.fhir.r4.core#4.0.1), ExampleScenario (hl7.fhir.r4.core#4.0.1), ExampleScenario (hl7.fhir.r4.core#4.0.1) + - Version 2: ActorDefinition (hl7.fhir.r5.core#5.0.0), ExampleScenario (hl7.fhir.r5.core#5.0.0), ActorDefinition (hl7.fhir.r5.core#5.0.0), ExampleScenario (hl7.fhir.r5.core#5.0.0), ActorDefinition (hl7.fhir.r5.core#5.0.0), ExampleScenario (hl7.fhir.r5.core#5.0.0), ActorDefinition (hl7.fhir.r5.core#5.0.0), ActorDefinition (hl7.fhir.r5.core#5.0.0) + - Version 3: ExampleScenario (hl7.fhir.r4.examples#4.0.1) +- `urn:fhir:binding:ExplanationOfBenefitStatus` (3 versions) + - Version 1: ExplanationOfBenefit (hl7.fhir.r4.core#4.0.1), ExplanationOfBenefit (hl7.fhir.r4.core#4.0.1), ExplanationOfBenefit (hl7.fhir.r4.core#4.0.1), ExplanationOfBenefit (hl7.fhir.r4.core#4.0.1), ExplanationOfBenefit (hl7.fhir.r4.core#4.0.1), ExplanationOfBenefit (hl7.fhir.r4.core#4.0.1), ExplanationOfBenefit (hl7.fhir.r4.core#4.0.1), ExplanationOfBenefit (hl7.fhir.r4.core#4.0.1), ExplanationOfBenefit (hl7.fhir.r4.core#4.0.1), ExplanationOfBenefit (hl7.fhir.r4.core#4.0.1) + - Version 2: ExplanationOfBenefit (hl7.fhir.r5.core#5.0.0), ExplanationOfBenefit (hl7.fhir.r5.core#5.0.0), ExplanationOfBenefit (hl7.fhir.r5.core#5.0.0) + - Version 3: ExplanationOfBenefit (hl7.fhir.r4.examples#4.0.1) +- `urn:fhir:binding:ExposureState` (2 versions) + - Version 1: EffectEvidenceSynthesis (hl7.fhir.r4.core#4.0.1), EffectEvidenceSynthesis (hl7.fhir.r4.core#4.0.1), EffectEvidenceSynthesis (hl7.fhir.r4.core#4.0.1), EffectEvidenceSynthesis (hl7.fhir.r4.core#4.0.1), EffectEvidenceSynthesis (hl7.fhir.r4.core#4.0.1), EffectEvidenceSynthesis (hl7.fhir.r4.core#4.0.1), EffectEvidenceSynthesis (hl7.fhir.r4.core#4.0.1), EffectEvidenceSynthesis (hl7.fhir.r4.core#4.0.1), EffectEvidenceSynthesis (hl7.fhir.r4.core#4.0.1), EffectEvidenceSynthesis (hl7.fhir.r4.core#4.0.1) + - Version 2: EffectEvidenceSynthesis (hl7.fhir.r4.examples#4.0.1) +- `urn:fhir:binding:ExpressionLanguage` (3 versions) + - Version 1: Expression (hl7.fhir.r4.core#4.0.1), Expression (hl7.fhir.r4.core#4.0.1), Expression (hl7.fhir.r4.core#4.0.1), Expression (hl7.fhir.r4.core#4.0.1), Expression (hl7.fhir.r4.core#4.0.1), Expression (hl7.fhir.r4.core#4.0.1), Expression (hl7.fhir.r4.core#4.0.1), Expression (hl7.fhir.r4.core#4.0.1), Expression (hl7.fhir.r4.core#4.0.1), Expression (hl7.fhir.r4.core#4.0.1) + - Version 2: Expression (hl7.fhir.r5.core#5.0.0), Expression (hl7.fhir.r5.core#5.0.0), Expression (hl7.fhir.r5.core#5.0.0) + - Version 3: Expression (hl7.fhir.r4.examples#4.0.1) +- `urn:fhir:binding:ExtensionContextType` (3 versions) + - Version 1: StructureDefinition (hl7.fhir.r4.core#4.0.1), StructureDefinition (hl7.fhir.r4.core#4.0.1), StructureDefinition (hl7.fhir.r4.core#4.0.1), StructureDefinition (hl7.fhir.r4.core#4.0.1), StructureDefinition (hl7.fhir.r4.core#4.0.1), StructureDefinition (hl7.fhir.r4.core#4.0.1), StructureDefinition (hl7.fhir.r4.core#4.0.1), StructureDefinition (hl7.fhir.r4.core#4.0.1), StructureDefinition (hl7.fhir.r4.core#4.0.1), StructureDefinition (hl7.fhir.r4.core#4.0.1) + - Version 2: StructureDefinition (hl7.fhir.r5.core#5.0.0), StructureDefinition (hl7.fhir.r5.core#5.0.0), StructureDefinition (hl7.fhir.r5.core#5.0.0) + - Version 3: StructureDefinition (hl7.fhir.r4.examples#4.0.1) +- `urn:fhir:binding:failure-action` (3 versions) + - Version 1: VerificationResult (hl7.fhir.r4.core#4.0.1), VerificationResult (hl7.fhir.r4.core#4.0.1), VerificationResult (hl7.fhir.r4.core#4.0.1), VerificationResult (hl7.fhir.r4.core#4.0.1), VerificationResult (hl7.fhir.r4.core#4.0.1), VerificationResult (hl7.fhir.r4.core#4.0.1), VerificationResult (hl7.fhir.r4.core#4.0.1), VerificationResult (hl7.fhir.r4.core#4.0.1), VerificationResult (hl7.fhir.r4.core#4.0.1), VerificationResult (hl7.fhir.r4.core#4.0.1) + - Version 2: VerificationResult (hl7.fhir.r5.core#5.0.0), VerificationResult (hl7.fhir.r5.core#5.0.0), VerificationResult (hl7.fhir.r5.core#5.0.0) + - Version 3: VerificationResult (hl7.fhir.r4.examples#4.0.1) +- `urn:fhir:binding:FamilialRelationship` (2 versions) + - Version 1: familymemberhistory-genetic (hl7.fhir.r4.core#4.0.1), FamilyMemberHistory (hl7.fhir.r4.core#4.0.1), familymemberhistory-genetic (hl7.fhir.r4.core#4.0.1), FamilyMemberHistory (hl7.fhir.r4.core#4.0.1), familymemberhistory-genetic (hl7.fhir.r4.core#4.0.1), FamilyMemberHistory (hl7.fhir.r4.core#4.0.1), familymemberhistory-genetic (hl7.fhir.r5.core#5.0.0), FamilyMemberHistory (hl7.fhir.r5.core#5.0.0), familymemberhistory-genetic (hl7.fhir.r5.core#5.0.0), FamilyMemberHistory (hl7.fhir.r5.core#5.0.0), familymemberhistory-genetic (hl7.fhir.r5.core#5.0.0), FamilyMemberHistory (hl7.fhir.r5.core#5.0.0), familymemberhistory-genetic (hl7.fhir.r4.core#4.0.1), FamilyMemberHistory (hl7.fhir.r4.core#4.0.1), familymemberhistory-genetic (hl7.fhir.r4.core#4.0.1), FamilyMemberHistory (hl7.fhir.r4.core#4.0.1), familymemberhistory-genetic (hl7.fhir.r4.core#4.0.1), FamilyMemberHistory (hl7.fhir.r4.core#4.0.1), familymemberhistory-genetic (hl7.fhir.r4.core#4.0.1), FamilyMemberHistory (hl7.fhir.r4.core#4.0.1), familymemberhistory-genetic (hl7.fhir.r4.core#4.0.1), FamilyMemberHistory (hl7.fhir.r4.core#4.0.1), familymemberhistory-genetic (hl7.fhir.r4.core#4.0.1), FamilyMemberHistory (hl7.fhir.r4.core#4.0.1), familymemberhistory-genetic (hl7.fhir.r4.core#4.0.1), FamilyMemberHistory (hl7.fhir.r4.core#4.0.1) + - Version 2: familymemberhistory-genetic (hl7.fhir.r4.examples#4.0.1), FamilyMemberHistory (hl7.fhir.r4.examples#4.0.1) +- `urn:fhir:binding:FamilyHistoryAbsentReason` (3 versions) + - Version 1: FamilyMemberHistory (hl7.fhir.r4.core#4.0.1), FamilyMemberHistory (hl7.fhir.r4.core#4.0.1), FamilyMemberHistory (hl7.fhir.r4.core#4.0.1), FamilyMemberHistory (hl7.fhir.r4.core#4.0.1), FamilyMemberHistory (hl7.fhir.r4.core#4.0.1), FamilyMemberHistory (hl7.fhir.r4.core#4.0.1), FamilyMemberHistory (hl7.fhir.r4.core#4.0.1), FamilyMemberHistory (hl7.fhir.r4.core#4.0.1), FamilyMemberHistory (hl7.fhir.r4.core#4.0.1), FamilyMemberHistory (hl7.fhir.r4.core#4.0.1) + - Version 2: FamilyMemberHistory (hl7.fhir.r5.core#5.0.0), FamilyMemberHistory (hl7.fhir.r5.core#5.0.0), FamilyMemberHistory (hl7.fhir.r5.core#5.0.0) + - Version 3: FamilyMemberHistory (hl7.fhir.r4.examples#4.0.1) +- `urn:fhir:binding:FamilyHistoryReason` (3 versions) + - Version 1: FamilyMemberHistory (hl7.fhir.r4.core#4.0.1), FamilyMemberHistory (hl7.fhir.r4.core#4.0.1), FamilyMemberHistory (hl7.fhir.r4.core#4.0.1), FamilyMemberHistory (hl7.fhir.r4.core#4.0.1), FamilyMemberHistory (hl7.fhir.r4.core#4.0.1), FamilyMemberHistory (hl7.fhir.r4.core#4.0.1), FamilyMemberHistory (hl7.fhir.r4.core#4.0.1), FamilyMemberHistory (hl7.fhir.r4.core#4.0.1), FamilyMemberHistory (hl7.fhir.r4.core#4.0.1), FamilyMemberHistory (hl7.fhir.r4.core#4.0.1) + - Version 2: FamilyMemberHistory (hl7.fhir.r5.core#5.0.0), FamilyMemberHistory (hl7.fhir.r5.core#5.0.0), FamilyMemberHistory (hl7.fhir.r5.core#5.0.0) + - Version 3: FamilyMemberHistory (hl7.fhir.r4.examples#4.0.1) +- `urn:fhir:binding:FamilyHistoryStatus` (3 versions) + - Version 1: FamilyMemberHistory (hl7.fhir.r4.core#4.0.1), FamilyMemberHistory (hl7.fhir.r4.core#4.0.1), FamilyMemberHistory (hl7.fhir.r4.core#4.0.1), FamilyMemberHistory (hl7.fhir.r4.core#4.0.1), FamilyMemberHistory (hl7.fhir.r4.core#4.0.1), FamilyMemberHistory (hl7.fhir.r4.core#4.0.1), FamilyMemberHistory (hl7.fhir.r4.core#4.0.1), FamilyMemberHistory (hl7.fhir.r4.core#4.0.1), FamilyMemberHistory (hl7.fhir.r4.core#4.0.1), FamilyMemberHistory (hl7.fhir.r4.core#4.0.1) + - Version 2: FamilyMemberHistory (hl7.fhir.r5.core#5.0.0), FamilyMemberHistory (hl7.fhir.r5.core#5.0.0), FamilyMemberHistory (hl7.fhir.r5.core#5.0.0) + - Version 3: FamilyMemberHistory (hl7.fhir.r4.examples#4.0.1) +- `urn:fhir:binding:FHIRAllTypes` (3 versions) + - Version 1: DataRequirement (hl7.fhir.r4.core#4.0.1), OperationDefinition (hl7.fhir.r4.core#4.0.1), ParameterDefinition (hl7.fhir.r4.core#4.0.1), DataRequirement (hl7.fhir.r4.core#4.0.1), OperationDefinition (hl7.fhir.r4.core#4.0.1), ParameterDefinition (hl7.fhir.r4.core#4.0.1), DataRequirement (hl7.fhir.r4.core#4.0.1), OperationDefinition (hl7.fhir.r4.core#4.0.1), ParameterDefinition (hl7.fhir.r4.core#4.0.1), DataRequirement (hl7.fhir.r4.core#4.0.1), OperationDefinition (hl7.fhir.r4.core#4.0.1), ParameterDefinition (hl7.fhir.r4.core#4.0.1), DataRequirement (hl7.fhir.r4.core#4.0.1), OperationDefinition (hl7.fhir.r4.core#4.0.1), ParameterDefinition (hl7.fhir.r4.core#4.0.1), DataRequirement (hl7.fhir.r4.core#4.0.1), OperationDefinition (hl7.fhir.r4.core#4.0.1), ParameterDefinition (hl7.fhir.r4.core#4.0.1), DataRequirement (hl7.fhir.r4.core#4.0.1), OperationDefinition (hl7.fhir.r4.core#4.0.1), ParameterDefinition (hl7.fhir.r4.core#4.0.1), DataRequirement (hl7.fhir.r4.core#4.0.1), OperationDefinition (hl7.fhir.r4.core#4.0.1), ParameterDefinition (hl7.fhir.r4.core#4.0.1), DataRequirement (hl7.fhir.r4.core#4.0.1), OperationDefinition (hl7.fhir.r4.core#4.0.1), ParameterDefinition (hl7.fhir.r4.core#4.0.1), DataRequirement (hl7.fhir.r4.core#4.0.1), OperationDefinition (hl7.fhir.r4.core#4.0.1), ParameterDefinition (hl7.fhir.r4.core#4.0.1) + - Version 2: OperationDefinition (hl7.fhir.r5.core#5.0.0), OperationDefinition (hl7.fhir.r5.core#5.0.0), OperationDefinition (hl7.fhir.r5.core#5.0.0) + - Version 3: DataRequirement (hl7.fhir.r4.examples#4.0.1), OperationDefinition (hl7.fhir.r4.examples#4.0.1), ParameterDefinition (hl7.fhir.r4.examples#4.0.1) +- `urn:fhir:binding:FHIRDefinedType` (2 versions) + - Version 1: TestScript (hl7.fhir.r4.core#4.0.1), TestScript (hl7.fhir.r4.core#4.0.1), TestScript (hl7.fhir.r4.core#4.0.1), TestScript (hl7.fhir.r4.core#4.0.1), TestScript (hl7.fhir.r4.core#4.0.1), TestScript (hl7.fhir.r4.core#4.0.1), TestScript (hl7.fhir.r4.core#4.0.1), TestScript (hl7.fhir.r4.core#4.0.1), TestScript (hl7.fhir.r4.core#4.0.1), TestScript (hl7.fhir.r4.core#4.0.1) + - Version 2: TestScript (hl7.fhir.r4.examples#4.0.1) +- `urn:fhir:binding:FHIRDefinedTypeExt` (2 versions) + - Version 1: ElementDefinition (hl7.fhir.r4.core#4.0.1), StructureDefinition (hl7.fhir.r4.core#4.0.1), ElementDefinition (hl7.fhir.r4.core#4.0.1), StructureDefinition (hl7.fhir.r4.core#4.0.1), ElementDefinition (hl7.fhir.r4.core#4.0.1), StructureDefinition (hl7.fhir.r4.core#4.0.1), ElementDefinition (hl7.fhir.r4.core#4.0.1), StructureDefinition (hl7.fhir.r4.core#4.0.1), ElementDefinition (hl7.fhir.r4.core#4.0.1), StructureDefinition (hl7.fhir.r4.core#4.0.1), ElementDefinition (hl7.fhir.r4.core#4.0.1), StructureDefinition (hl7.fhir.r4.core#4.0.1), ElementDefinition (hl7.fhir.r4.core#4.0.1), StructureDefinition (hl7.fhir.r4.core#4.0.1), ElementDefinition (hl7.fhir.r4.core#4.0.1), StructureDefinition (hl7.fhir.r4.core#4.0.1), ElementDefinition (hl7.fhir.r4.core#4.0.1), StructureDefinition (hl7.fhir.r4.core#4.0.1), ElementDefinition (hl7.fhir.r4.core#4.0.1), StructureDefinition (hl7.fhir.r4.core#4.0.1) + - Version 2: ElementDefinition (hl7.fhir.r4.examples#4.0.1), StructureDefinition (hl7.fhir.r4.examples#4.0.1) +- `urn:fhir:binding:FHIRDeviceStatus` (3 versions) + - Version 1: Device (hl7.fhir.r4.core#4.0.1), Device (hl7.fhir.r4.core#4.0.1), Device (hl7.fhir.r4.core#4.0.1), Device (hl7.fhir.r4.core#4.0.1), Device (hl7.fhir.r4.core#4.0.1), Device (hl7.fhir.r4.core#4.0.1), Device (hl7.fhir.r4.core#4.0.1), Device (hl7.fhir.r4.core#4.0.1), Device (hl7.fhir.r4.core#4.0.1), Device (hl7.fhir.r4.core#4.0.1) + - Version 2: Device (hl7.fhir.r5.core#5.0.0), Device (hl7.fhir.r5.core#5.0.0), Device (hl7.fhir.r5.core#5.0.0) + - Version 3: Device (hl7.fhir.r4.examples#4.0.1) +- `urn:fhir:binding:FHIRDeviceStatusReason` (2 versions) + - Version 1: Device (hl7.fhir.r4.core#4.0.1), Device (hl7.fhir.r4.core#4.0.1), Device (hl7.fhir.r4.core#4.0.1), Device (hl7.fhir.r4.core#4.0.1), Device (hl7.fhir.r4.core#4.0.1), Device (hl7.fhir.r4.core#4.0.1), Device (hl7.fhir.r4.core#4.0.1), Device (hl7.fhir.r4.core#4.0.1), Device (hl7.fhir.r4.core#4.0.1), Device (hl7.fhir.r4.core#4.0.1) + - Version 2: Device (hl7.fhir.r4.examples#4.0.1) +- `urn:fhir:binding:FHIRResourceType` (2 versions) + - Version 1: ExampleScenario (hl7.fhir.r4.core#4.0.1), ExampleScenario (hl7.fhir.r4.core#4.0.1), ExampleScenario (hl7.fhir.r4.core#4.0.1), ExampleScenario (hl7.fhir.r4.core#4.0.1), ExampleScenario (hl7.fhir.r4.core#4.0.1), ExampleScenario (hl7.fhir.r4.core#4.0.1), ExampleScenario (hl7.fhir.r4.core#4.0.1), ExampleScenario (hl7.fhir.r4.core#4.0.1), ExampleScenario (hl7.fhir.r4.core#4.0.1), ExampleScenario (hl7.fhir.r4.core#4.0.1) + - Version 2: ExampleScenario (hl7.fhir.r4.examples#4.0.1) +- `urn:fhir:binding:FHIRResourceTypeExt` (3 versions) + - Version 1: Reference (hl7.fhir.r4.core#4.0.1), Reference (hl7.fhir.r4.core#4.0.1), Reference (hl7.fhir.r4.core#4.0.1), Reference (hl7.fhir.r4.core#4.0.1), Reference (hl7.fhir.r4.core#4.0.1), Reference (hl7.fhir.r4.core#4.0.1), Reference (hl7.fhir.r4.core#4.0.1), Reference (hl7.fhir.r4.core#4.0.1), Reference (hl7.fhir.r4.core#4.0.1), Reference (hl7.fhir.r4.core#4.0.1) + - Version 2: Reference (hl7.fhir.r5.core#5.0.0), Reference (hl7.fhir.r5.core#5.0.0), Reference (hl7.fhir.r5.core#5.0.0) + - Version 3: Reference (hl7.fhir.r4.examples#4.0.1) +- `urn:fhir:binding:FHIRSubstanceStatus` (3 versions) + - Version 1: Substance (hl7.fhir.r4.core#4.0.1), Substance (hl7.fhir.r4.core#4.0.1), Substance (hl7.fhir.r4.core#4.0.1), Substance (hl7.fhir.r4.core#4.0.1), Substance (hl7.fhir.r4.core#4.0.1), Substance (hl7.fhir.r4.core#4.0.1), Substance (hl7.fhir.r4.core#4.0.1), Substance (hl7.fhir.r4.core#4.0.1), Substance (hl7.fhir.r4.core#4.0.1), Substance (hl7.fhir.r4.core#4.0.1) + - Version 2: Substance (hl7.fhir.r5.core#5.0.0), Substance (hl7.fhir.r5.core#5.0.0), Substance (hl7.fhir.r5.core#5.0.0) + - Version 3: Substance (hl7.fhir.r4.examples#4.0.1) +- `urn:fhir:binding:FHIRTypes` (4 versions) + - Version 1: OperationDefinition (hl7.fhir.r5.core#5.0.0), SearchParameter (hl7.fhir.r5.core#5.0.0), GraphDefinition (hl7.fhir.r5.core#5.0.0), OperationDefinition (hl7.fhir.r5.core#5.0.0), SearchParameter (hl7.fhir.r5.core#5.0.0), GraphDefinition (hl7.fhir.r5.core#5.0.0), OperationDefinition (hl7.fhir.r5.core#5.0.0), SearchParameter (hl7.fhir.r5.core#5.0.0), GraphDefinition (hl7.fhir.r5.core#5.0.0) + - Version 2: Subscription (hl7.fhir.r5.core#5.0.0), SubscriptionTopic (hl7.fhir.r5.core#5.0.0), Subscription (hl7.fhir.r5.core#5.0.0), SubscriptionTopic (hl7.fhir.r5.core#5.0.0), Subscription (hl7.fhir.r5.core#5.0.0), SubscriptionTopic (hl7.fhir.r5.core#5.0.0), SubscriptionTopic (hl7.fhir.r5.core#5.0.0), SubscriptionTopic (hl7.fhir.r5.core#5.0.0) + - Version 3: DataRequirement (hl7.fhir.r5.core#5.0.0), ParameterDefinition (hl7.fhir.r5.core#5.0.0), DataRequirement (hl7.fhir.r5.core#5.0.0), ParameterDefinition (hl7.fhir.r5.core#5.0.0), DataRequirement (hl7.fhir.r5.core#5.0.0), ParameterDefinition (hl7.fhir.r5.core#5.0.0) + - Version 4: StructureDefinition (hl7.fhir.r5.core#5.0.0), StructureDefinition (hl7.fhir.r5.core#5.0.0), StructureDefinition (hl7.fhir.r5.core#5.0.0) +- `urn:fhir:binding:FHIRVersion` (3 versions) + - Version 1: CapabilityStatement (hl7.fhir.r4.core#4.0.1), ImplementationGuide (hl7.fhir.r4.core#4.0.1), StructureDefinition (hl7.fhir.r4.core#4.0.1), CapabilityStatement (hl7.fhir.r4.core#4.0.1), ImplementationGuide (hl7.fhir.r4.core#4.0.1), StructureDefinition (hl7.fhir.r4.core#4.0.1), CapabilityStatement (hl7.fhir.r4.core#4.0.1), ImplementationGuide (hl7.fhir.r4.core#4.0.1), StructureDefinition (hl7.fhir.r4.core#4.0.1), CapabilityStatement (hl7.fhir.r4.core#4.0.1), ImplementationGuide (hl7.fhir.r4.core#4.0.1), StructureDefinition (hl7.fhir.r4.core#4.0.1), CapabilityStatement (hl7.fhir.r4.core#4.0.1), ImplementationGuide (hl7.fhir.r4.core#4.0.1), StructureDefinition (hl7.fhir.r4.core#4.0.1), CapabilityStatement (hl7.fhir.r4.core#4.0.1), ImplementationGuide (hl7.fhir.r4.core#4.0.1), StructureDefinition (hl7.fhir.r4.core#4.0.1), CapabilityStatement (hl7.fhir.r4.core#4.0.1), ImplementationGuide (hl7.fhir.r4.core#4.0.1), StructureDefinition (hl7.fhir.r4.core#4.0.1), CapabilityStatement (hl7.fhir.r4.core#4.0.1), ImplementationGuide (hl7.fhir.r4.core#4.0.1), StructureDefinition (hl7.fhir.r4.core#4.0.1), CapabilityStatement (hl7.fhir.r4.core#4.0.1), ImplementationGuide (hl7.fhir.r4.core#4.0.1), StructureDefinition (hl7.fhir.r4.core#4.0.1), CapabilityStatement (hl7.fhir.r4.core#4.0.1), ImplementationGuide (hl7.fhir.r4.core#4.0.1), StructureDefinition (hl7.fhir.r4.core#4.0.1) + - Version 2: CapabilityStatement (hl7.fhir.r5.core#5.0.0), ImplementationGuide (hl7.fhir.r5.core#5.0.0), StructureDefinition (hl7.fhir.r5.core#5.0.0), CapabilityStatement (hl7.fhir.r5.core#5.0.0), ImplementationGuide (hl7.fhir.r5.core#5.0.0), StructureDefinition (hl7.fhir.r5.core#5.0.0), CapabilityStatement (hl7.fhir.r5.core#5.0.0), ImplementationGuide (hl7.fhir.r5.core#5.0.0), StructureDefinition (hl7.fhir.r5.core#5.0.0) + - Version 3: CapabilityStatement (hl7.fhir.r4.examples#4.0.1), ImplementationGuide (hl7.fhir.r4.examples#4.0.1), StructureDefinition (hl7.fhir.r4.examples#4.0.1) +- `urn:fhir:binding:FilterOperator` (3 versions) + - Version 1: ValueSet (hl7.fhir.r4.core#4.0.1), CodeSystem (hl7.fhir.r4.core#4.0.1), ValueSet (hl7.fhir.r4.core#4.0.1), CodeSystem (hl7.fhir.r4.core#4.0.1), ValueSet (hl7.fhir.r4.core#4.0.1), CodeSystem (hl7.fhir.r4.core#4.0.1), ValueSet (hl7.fhir.r4.core#4.0.1), CodeSystem (hl7.fhir.r4.core#4.0.1), ValueSet (hl7.fhir.r4.core#4.0.1), CodeSystem (hl7.fhir.r4.core#4.0.1), ValueSet (hl7.fhir.r4.core#4.0.1), CodeSystem (hl7.fhir.r4.core#4.0.1), ValueSet (hl7.fhir.r4.core#4.0.1), CodeSystem (hl7.fhir.r4.core#4.0.1), sdc-valueset (hl7.fhir.uv.sdc#3.0.0), ValueSet (hl7.fhir.r4.core#4.0.1), CodeSystem (hl7.fhir.r4.core#4.0.1), ValueSet (hl7.fhir.r4.core#4.0.1), CodeSystem (hl7.fhir.r4.core#4.0.1), ValueSet (hl7.fhir.r4.core#4.0.1), CodeSystem (hl7.fhir.r4.core#4.0.1), sdc-valueset (hl7.fhir.uv.sdc#3.0.0) + - Version 2: ValueSet (hl7.fhir.r5.core#5.0.0), CodeSystem (hl7.fhir.r5.core#5.0.0), computablevalueset (hl7.fhir.r5.core#5.0.0), ValueSet (hl7.fhir.r5.core#5.0.0), CodeSystem (hl7.fhir.r5.core#5.0.0), computablevalueset (hl7.fhir.r5.core#5.0.0), ValueSet (hl7.fhir.r5.core#5.0.0), CodeSystem (hl7.fhir.r5.core#5.0.0), computablevalueset (hl7.fhir.r5.core#5.0.0), computablevalueset (hl7.fhir.r5.core#5.0.0), computablevalueset (hl7.fhir.r5.core#5.0.0) + - Version 3: ValueSet (hl7.fhir.r4.examples#4.0.1), CodeSystem (hl7.fhir.r4.examples#4.0.1) +- `urn:fhir:binding:FlagCategory` (3 versions) + - Version 1: Flag (hl7.fhir.r4.core#4.0.1), Flag (hl7.fhir.r4.core#4.0.1), Flag (hl7.fhir.r4.core#4.0.1), Flag (hl7.fhir.r4.core#4.0.1), Flag (hl7.fhir.r4.core#4.0.1), Flag (hl7.fhir.r4.core#4.0.1), Flag (hl7.fhir.r4.core#4.0.1), Flag (hl7.fhir.r4.core#4.0.1), Flag (hl7.fhir.r4.core#4.0.1), Flag (hl7.fhir.r4.core#4.0.1) + - Version 2: Flag (hl7.fhir.r5.core#5.0.0), Flag (hl7.fhir.r5.core#5.0.0), Flag (hl7.fhir.r5.core#5.0.0) + - Version 3: Flag (hl7.fhir.r4.examples#4.0.1) +- `urn:fhir:binding:FlagCode` (3 versions) + - Version 1: Flag (hl7.fhir.r4.core#4.0.1), Flag (hl7.fhir.r4.core#4.0.1), Flag (hl7.fhir.r4.core#4.0.1), Flag (hl7.fhir.r4.core#4.0.1), Flag (hl7.fhir.r4.core#4.0.1), Flag (hl7.fhir.r4.core#4.0.1), Flag (hl7.fhir.r4.core#4.0.1), Flag (hl7.fhir.r4.core#4.0.1), Flag (hl7.fhir.r4.core#4.0.1), Flag (hl7.fhir.r4.core#4.0.1) + - Version 2: Flag (hl7.fhir.r5.core#5.0.0), Flag (hl7.fhir.r5.core#5.0.0), Flag (hl7.fhir.r5.core#5.0.0) + - Version 3: Flag (hl7.fhir.r4.examples#4.0.1) +- `urn:fhir:binding:FlagStatus` (3 versions) + - Version 1: Flag (hl7.fhir.r4.core#4.0.1), Flag (hl7.fhir.r4.core#4.0.1), Flag (hl7.fhir.r4.core#4.0.1), Flag (hl7.fhir.r4.core#4.0.1), Flag (hl7.fhir.r4.core#4.0.1), Flag (hl7.fhir.r4.core#4.0.1), Flag (hl7.fhir.r4.core#4.0.1), Flag (hl7.fhir.r4.core#4.0.1), Flag (hl7.fhir.r4.core#4.0.1), Flag (hl7.fhir.r4.core#4.0.1) + - Version 2: Flag (hl7.fhir.r5.core#5.0.0), Flag (hl7.fhir.r5.core#5.0.0), Flag (hl7.fhir.r5.core#5.0.0) + - Version 3: Flag (hl7.fhir.r4.examples#4.0.1) +- `urn:fhir:binding:FluidConsistencyType` (3 versions) + - Version 1: NutritionOrder (hl7.fhir.r4.core#4.0.1), NutritionOrder (hl7.fhir.r4.core#4.0.1), NutritionOrder (hl7.fhir.r4.core#4.0.1), NutritionOrder (hl7.fhir.r4.core#4.0.1), NutritionOrder (hl7.fhir.r4.core#4.0.1), NutritionOrder (hl7.fhir.r4.core#4.0.1), NutritionOrder (hl7.fhir.r4.core#4.0.1), NutritionOrder (hl7.fhir.r4.core#4.0.1), NutritionOrder (hl7.fhir.r4.core#4.0.1), NutritionOrder (hl7.fhir.r4.core#4.0.1) + - Version 2: NutritionOrder (hl7.fhir.r5.core#5.0.0), NutritionOrder (hl7.fhir.r5.core#5.0.0), NutritionOrder (hl7.fhir.r5.core#5.0.0) + - Version 3: NutritionOrder (hl7.fhir.r4.examples#4.0.1) +- `urn:fhir:binding:FoodType` (4 versions) + - Version 1: NutritionOrder (hl7.fhir.r4.core#4.0.1), NutritionOrder (hl7.fhir.r4.core#4.0.1), NutritionOrder (hl7.fhir.r4.core#4.0.1), NutritionOrder (hl7.fhir.r4.core#4.0.1), NutritionOrder (hl7.fhir.r4.core#4.0.1), NutritionOrder (hl7.fhir.r4.core#4.0.1), NutritionOrder (hl7.fhir.r4.core#4.0.1), NutritionOrder (hl7.fhir.r4.core#4.0.1), NutritionOrder (hl7.fhir.r4.core#4.0.1), NutritionOrder (hl7.fhir.r4.core#4.0.1) + - Version 2: NutritionIntake (hl7.fhir.r5.core#5.0.0), NutritionIntake (hl7.fhir.r5.core#5.0.0), NutritionIntake (hl7.fhir.r5.core#5.0.0), NutritionIntake (hl7.fhir.r5.core#5.0.0), NutritionIntake (hl7.fhir.r5.core#5.0.0) + - Version 3: NutritionOrder (hl7.fhir.r5.core#5.0.0), NutritionOrder (hl7.fhir.r5.core#5.0.0), NutritionOrder (hl7.fhir.r5.core#5.0.0) + - Version 4: NutritionOrder (hl7.fhir.r4.examples#4.0.1) +- `urn:fhir:binding:Forms` (3 versions) + - Version 1: ClaimResponse (hl7.fhir.r4.core#4.0.1), PaymentReconciliation (hl7.fhir.r4.core#4.0.1), CoverageEligibilityResponse (hl7.fhir.r4.core#4.0.1), ExplanationOfBenefit (hl7.fhir.r4.core#4.0.1), ClaimResponse (hl7.fhir.r4.core#4.0.1), PaymentReconciliation (hl7.fhir.r4.core#4.0.1), CoverageEligibilityResponse (hl7.fhir.r4.core#4.0.1), ExplanationOfBenefit (hl7.fhir.r4.core#4.0.1), ClaimResponse (hl7.fhir.r4.core#4.0.1), PaymentReconciliation (hl7.fhir.r4.core#4.0.1), CoverageEligibilityResponse (hl7.fhir.r4.core#4.0.1), ExplanationOfBenefit (hl7.fhir.r4.core#4.0.1), ClaimResponse (hl7.fhir.r4.core#4.0.1), PaymentReconciliation (hl7.fhir.r4.core#4.0.1), CoverageEligibilityResponse (hl7.fhir.r4.core#4.0.1), ExplanationOfBenefit (hl7.fhir.r4.core#4.0.1), ClaimResponse (hl7.fhir.r4.core#4.0.1), PaymentReconciliation (hl7.fhir.r4.core#4.0.1), CoverageEligibilityResponse (hl7.fhir.r4.core#4.0.1), ExplanationOfBenefit (hl7.fhir.r4.core#4.0.1), ClaimResponse (hl7.fhir.r4.core#4.0.1), PaymentReconciliation (hl7.fhir.r4.core#4.0.1), CoverageEligibilityResponse (hl7.fhir.r4.core#4.0.1), ExplanationOfBenefit (hl7.fhir.r4.core#4.0.1), ClaimResponse (hl7.fhir.r4.core#4.0.1), PaymentReconciliation (hl7.fhir.r4.core#4.0.1), CoverageEligibilityResponse (hl7.fhir.r4.core#4.0.1), ExplanationOfBenefit (hl7.fhir.r4.core#4.0.1), ClaimResponse (hl7.fhir.r4.core#4.0.1), PaymentReconciliation (hl7.fhir.r4.core#4.0.1), CoverageEligibilityResponse (hl7.fhir.r4.core#4.0.1), ExplanationOfBenefit (hl7.fhir.r4.core#4.0.1), ClaimResponse (hl7.fhir.r4.core#4.0.1), PaymentReconciliation (hl7.fhir.r4.core#4.0.1), CoverageEligibilityResponse (hl7.fhir.r4.core#4.0.1), ExplanationOfBenefit (hl7.fhir.r4.core#4.0.1), ClaimResponse (hl7.fhir.r4.core#4.0.1), PaymentReconciliation (hl7.fhir.r4.core#4.0.1), CoverageEligibilityResponse (hl7.fhir.r4.core#4.0.1), ExplanationOfBenefit (hl7.fhir.r4.core#4.0.1) + - Version 2: ClaimResponse (hl7.fhir.r5.core#5.0.0), PaymentReconciliation (hl7.fhir.r5.core#5.0.0), CoverageEligibilityResponse (hl7.fhir.r5.core#5.0.0), ExplanationOfBenefit (hl7.fhir.r5.core#5.0.0), ClaimResponse (hl7.fhir.r5.core#5.0.0), PaymentReconciliation (hl7.fhir.r5.core#5.0.0), CoverageEligibilityResponse (hl7.fhir.r5.core#5.0.0), ExplanationOfBenefit (hl7.fhir.r5.core#5.0.0), ClaimResponse (hl7.fhir.r5.core#5.0.0), PaymentReconciliation (hl7.fhir.r5.core#5.0.0), CoverageEligibilityResponse (hl7.fhir.r5.core#5.0.0), ExplanationOfBenefit (hl7.fhir.r5.core#5.0.0) + - Version 3: ClaimResponse (hl7.fhir.r4.examples#4.0.1), PaymentReconciliation (hl7.fhir.r4.examples#4.0.1), CoverageEligibilityResponse (hl7.fhir.r4.examples#4.0.1), ExplanationOfBenefit (hl7.fhir.r4.examples#4.0.1) +- `urn:fhir:binding:FundingSource` (3 versions) + - Version 1: Immunization (hl7.fhir.r4.core#4.0.1), Immunization (hl7.fhir.r4.core#4.0.1), Immunization (hl7.fhir.r4.core#4.0.1), Immunization (hl7.fhir.r4.core#4.0.1), Immunization (hl7.fhir.r4.core#4.0.1), Immunization (hl7.fhir.r4.core#4.0.1), Immunization (hl7.fhir.r4.core#4.0.1), Immunization (hl7.fhir.r4.core#4.0.1), Immunization (hl7.fhir.r4.core#4.0.1), Immunization (hl7.fhir.r4.core#4.0.1) + - Version 2: Immunization (hl7.fhir.r5.core#5.0.0), Immunization (hl7.fhir.r5.core#5.0.0), Immunization (hl7.fhir.r5.core#5.0.0) + - Version 3: Immunization (hl7.fhir.r4.examples#4.0.1) +- `urn:fhir:binding:FundsReserve` (3 versions) + - Version 1: Claim (hl7.fhir.r4.core#4.0.1), ClaimResponse (hl7.fhir.r4.core#4.0.1), ExplanationOfBenefit (hl7.fhir.r4.core#4.0.1), Claim (hl7.fhir.r4.core#4.0.1), ClaimResponse (hl7.fhir.r4.core#4.0.1), ExplanationOfBenefit (hl7.fhir.r4.core#4.0.1), Claim (hl7.fhir.r4.core#4.0.1), ClaimResponse (hl7.fhir.r4.core#4.0.1), ExplanationOfBenefit (hl7.fhir.r4.core#4.0.1), Claim (hl7.fhir.r4.core#4.0.1), ClaimResponse (hl7.fhir.r4.core#4.0.1), ExplanationOfBenefit (hl7.fhir.r4.core#4.0.1), Claim (hl7.fhir.r4.core#4.0.1), ClaimResponse (hl7.fhir.r4.core#4.0.1), ExplanationOfBenefit (hl7.fhir.r4.core#4.0.1), Claim (hl7.fhir.r4.core#4.0.1), ClaimResponse (hl7.fhir.r4.core#4.0.1), ExplanationOfBenefit (hl7.fhir.r4.core#4.0.1), Claim (hl7.fhir.r4.core#4.0.1), ClaimResponse (hl7.fhir.r4.core#4.0.1), ExplanationOfBenefit (hl7.fhir.r4.core#4.0.1), Claim (hl7.fhir.r4.core#4.0.1), ClaimResponse (hl7.fhir.r4.core#4.0.1), ExplanationOfBenefit (hl7.fhir.r4.core#4.0.1), Claim (hl7.fhir.r4.core#4.0.1), ClaimResponse (hl7.fhir.r4.core#4.0.1), ExplanationOfBenefit (hl7.fhir.r4.core#4.0.1), Claim (hl7.fhir.r4.core#4.0.1), ClaimResponse (hl7.fhir.r4.core#4.0.1), ExplanationOfBenefit (hl7.fhir.r4.core#4.0.1) + - Version 2: Claim (hl7.fhir.r5.core#5.0.0), ClaimResponse (hl7.fhir.r5.core#5.0.0), ExplanationOfBenefit (hl7.fhir.r5.core#5.0.0), Claim (hl7.fhir.r5.core#5.0.0), ClaimResponse (hl7.fhir.r5.core#5.0.0), ExplanationOfBenefit (hl7.fhir.r5.core#5.0.0), Claim (hl7.fhir.r5.core#5.0.0), ClaimResponse (hl7.fhir.r5.core#5.0.0), ExplanationOfBenefit (hl7.fhir.r5.core#5.0.0) + - Version 3: Claim (hl7.fhir.r4.examples#4.0.1), ClaimResponse (hl7.fhir.r4.examples#4.0.1), ExplanationOfBenefit (hl7.fhir.r4.examples#4.0.1) +- `urn:fhir:binding:GoalAchievementStatus` (3 versions) + - Version 1: Goal (hl7.fhir.r4.core#4.0.1), Goal (hl7.fhir.r4.core#4.0.1), Goal (hl7.fhir.r4.core#4.0.1), Goal (hl7.fhir.r4.core#4.0.1), Goal (hl7.fhir.r4.core#4.0.1), Goal (hl7.fhir.r4.core#4.0.1), Goal (hl7.fhir.r4.core#4.0.1), Goal (hl7.fhir.r4.core#4.0.1), Goal (hl7.fhir.r4.core#4.0.1), Goal (hl7.fhir.r4.core#4.0.1) + - Version 2: Goal (hl7.fhir.r5.core#5.0.0), Goal (hl7.fhir.r5.core#5.0.0), Goal (hl7.fhir.r5.core#5.0.0) + - Version 3: Goal (hl7.fhir.r4.examples#4.0.1) +- `urn:fhir:binding:GoalAddresses` (3 versions) + - Version 1: PlanDefinition (hl7.fhir.r4.core#4.0.1), PlanDefinition (hl7.fhir.r4.core#4.0.1), PlanDefinition (hl7.fhir.r4.core#4.0.1), PlanDefinition (hl7.fhir.r4.core#4.0.1), PlanDefinition (hl7.fhir.r4.core#4.0.1), PlanDefinition (hl7.fhir.r4.core#4.0.1), PlanDefinition (hl7.fhir.r4.core#4.0.1), PlanDefinition (hl7.fhir.r4.core#4.0.1), PlanDefinition (hl7.fhir.r4.core#4.0.1), PlanDefinition (hl7.fhir.r4.core#4.0.1) + - Version 2: PlanDefinition (hl7.fhir.r5.core#5.0.0), PlanDefinition (hl7.fhir.r5.core#5.0.0), PlanDefinition (hl7.fhir.r5.core#5.0.0) + - Version 3: PlanDefinition (hl7.fhir.r4.examples#4.0.1) +- `urn:fhir:binding:GoalCategory` (3 versions) + - Version 1: Goal (hl7.fhir.r4.core#4.0.1), PlanDefinition (hl7.fhir.r4.core#4.0.1), Goal (hl7.fhir.r4.core#4.0.1), PlanDefinition (hl7.fhir.r4.core#4.0.1), Goal (hl7.fhir.r4.core#4.0.1), PlanDefinition (hl7.fhir.r4.core#4.0.1), Goal (hl7.fhir.r4.core#4.0.1), PlanDefinition (hl7.fhir.r4.core#4.0.1), Goal (hl7.fhir.r4.core#4.0.1), PlanDefinition (hl7.fhir.r4.core#4.0.1), Goal (hl7.fhir.r4.core#4.0.1), PlanDefinition (hl7.fhir.r4.core#4.0.1), Goal (hl7.fhir.r4.core#4.0.1), PlanDefinition (hl7.fhir.r4.core#4.0.1), Goal (hl7.fhir.r4.core#4.0.1), PlanDefinition (hl7.fhir.r4.core#4.0.1), Goal (hl7.fhir.r4.core#4.0.1), PlanDefinition (hl7.fhir.r4.core#4.0.1), Goal (hl7.fhir.r4.core#4.0.1), PlanDefinition (hl7.fhir.r4.core#4.0.1) + - Version 2: Goal (hl7.fhir.r5.core#5.0.0), PlanDefinition (hl7.fhir.r5.core#5.0.0), Goal (hl7.fhir.r5.core#5.0.0), PlanDefinition (hl7.fhir.r5.core#5.0.0), Goal (hl7.fhir.r5.core#5.0.0), PlanDefinition (hl7.fhir.r5.core#5.0.0) + - Version 3: Goal (hl7.fhir.r4.examples#4.0.1), PlanDefinition (hl7.fhir.r4.examples#4.0.1) +- `urn:fhir:binding:GoalDescription` (3 versions) + - Version 1: Goal (hl7.fhir.r4.core#4.0.1), PlanDefinition (hl7.fhir.r4.core#4.0.1), Goal (hl7.fhir.r4.core#4.0.1), PlanDefinition (hl7.fhir.r4.core#4.0.1), Goal (hl7.fhir.r4.core#4.0.1), PlanDefinition (hl7.fhir.r4.core#4.0.1), Goal (hl7.fhir.r4.core#4.0.1), PlanDefinition (hl7.fhir.r4.core#4.0.1), Goal (hl7.fhir.r4.core#4.0.1), PlanDefinition (hl7.fhir.r4.core#4.0.1), Goal (hl7.fhir.r4.core#4.0.1), PlanDefinition (hl7.fhir.r4.core#4.0.1), Goal (hl7.fhir.r4.core#4.0.1), PlanDefinition (hl7.fhir.r4.core#4.0.1), Goal (hl7.fhir.r4.core#4.0.1), PlanDefinition (hl7.fhir.r4.core#4.0.1), Goal (hl7.fhir.r4.core#4.0.1), PlanDefinition (hl7.fhir.r4.core#4.0.1), Goal (hl7.fhir.r4.core#4.0.1), PlanDefinition (hl7.fhir.r4.core#4.0.1) + - Version 2: Goal (hl7.fhir.r5.core#5.0.0), PlanDefinition (hl7.fhir.r5.core#5.0.0), Goal (hl7.fhir.r5.core#5.0.0), PlanDefinition (hl7.fhir.r5.core#5.0.0), Goal (hl7.fhir.r5.core#5.0.0), PlanDefinition (hl7.fhir.r5.core#5.0.0) + - Version 3: Goal (hl7.fhir.r4.examples#4.0.1), PlanDefinition (hl7.fhir.r4.examples#4.0.1) +- `urn:fhir:binding:GoalLifecycleStatus` (3 versions) + - Version 1: Goal (hl7.fhir.r4.core#4.0.1), Goal (hl7.fhir.r4.core#4.0.1), Goal (hl7.fhir.r4.core#4.0.1), Goal (hl7.fhir.r4.core#4.0.1), Goal (hl7.fhir.r4.core#4.0.1), Goal (hl7.fhir.r4.core#4.0.1), Goal (hl7.fhir.r4.core#4.0.1), Goal (hl7.fhir.r4.core#4.0.1), Goal (hl7.fhir.r4.core#4.0.1), Goal (hl7.fhir.r4.core#4.0.1) + - Version 2: Goal (hl7.fhir.r5.core#5.0.0), Goal (hl7.fhir.r5.core#5.0.0), Goal (hl7.fhir.r5.core#5.0.0) + - Version 3: Goal (hl7.fhir.r4.examples#4.0.1) +- `urn:fhir:binding:GoalOutcome` (3 versions) + - Version 1: Goal (hl7.fhir.r4.core#4.0.1), Goal (hl7.fhir.r4.core#4.0.1), Goal (hl7.fhir.r4.core#4.0.1), Goal (hl7.fhir.r4.core#4.0.1), Goal (hl7.fhir.r4.core#4.0.1), Goal (hl7.fhir.r4.core#4.0.1), Goal (hl7.fhir.r4.core#4.0.1), Goal (hl7.fhir.r4.core#4.0.1), Goal (hl7.fhir.r4.core#4.0.1), Goal (hl7.fhir.r4.core#4.0.1) + - Version 2: Goal (hl7.fhir.r5.core#5.0.0), Goal (hl7.fhir.r5.core#5.0.0), Goal (hl7.fhir.r5.core#5.0.0) + - Version 3: Goal (hl7.fhir.r4.examples#4.0.1) +- `urn:fhir:binding:GoalPriority` (3 versions) + - Version 1: Goal (hl7.fhir.r4.core#4.0.1), PlanDefinition (hl7.fhir.r4.core#4.0.1), Goal (hl7.fhir.r4.core#4.0.1), PlanDefinition (hl7.fhir.r4.core#4.0.1), Goal (hl7.fhir.r4.core#4.0.1), PlanDefinition (hl7.fhir.r4.core#4.0.1), Goal (hl7.fhir.r4.core#4.0.1), PlanDefinition (hl7.fhir.r4.core#4.0.1), Goal (hl7.fhir.r4.core#4.0.1), PlanDefinition (hl7.fhir.r4.core#4.0.1), Goal (hl7.fhir.r4.core#4.0.1), PlanDefinition (hl7.fhir.r4.core#4.0.1), Goal (hl7.fhir.r4.core#4.0.1), PlanDefinition (hl7.fhir.r4.core#4.0.1), Goal (hl7.fhir.r4.core#4.0.1), PlanDefinition (hl7.fhir.r4.core#4.0.1), Goal (hl7.fhir.r4.core#4.0.1), PlanDefinition (hl7.fhir.r4.core#4.0.1), Goal (hl7.fhir.r4.core#4.0.1), PlanDefinition (hl7.fhir.r4.core#4.0.1) + - Version 2: Goal (hl7.fhir.r5.core#5.0.0), PlanDefinition (hl7.fhir.r5.core#5.0.0), Goal (hl7.fhir.r5.core#5.0.0), PlanDefinition (hl7.fhir.r5.core#5.0.0), Goal (hl7.fhir.r5.core#5.0.0), PlanDefinition (hl7.fhir.r5.core#5.0.0) + - Version 3: Goal (hl7.fhir.r4.examples#4.0.1), PlanDefinition (hl7.fhir.r4.examples#4.0.1) +- `urn:fhir:binding:GoalStartEvent` (3 versions) + - Version 1: PlanDefinition (hl7.fhir.r4.core#4.0.1), PlanDefinition (hl7.fhir.r4.core#4.0.1), PlanDefinition (hl7.fhir.r4.core#4.0.1), PlanDefinition (hl7.fhir.r4.core#4.0.1), PlanDefinition (hl7.fhir.r4.core#4.0.1), PlanDefinition (hl7.fhir.r4.core#4.0.1), PlanDefinition (hl7.fhir.r4.core#4.0.1), PlanDefinition (hl7.fhir.r4.core#4.0.1), PlanDefinition (hl7.fhir.r4.core#4.0.1), PlanDefinition (hl7.fhir.r4.core#4.0.1) + - Version 2: PlanDefinition (hl7.fhir.r5.core#5.0.0), PlanDefinition (hl7.fhir.r5.core#5.0.0), PlanDefinition (hl7.fhir.r5.core#5.0.0) + - Version 3: PlanDefinition (hl7.fhir.r4.examples#4.0.1) +- `urn:fhir:binding:GoalTargetMeasure` (3 versions) + - Version 1: Goal (hl7.fhir.r4.core#4.0.1), PlanDefinition (hl7.fhir.r4.core#4.0.1), Goal (hl7.fhir.r4.core#4.0.1), PlanDefinition (hl7.fhir.r4.core#4.0.1), Goal (hl7.fhir.r4.core#4.0.1), PlanDefinition (hl7.fhir.r4.core#4.0.1), Goal (hl7.fhir.r4.core#4.0.1), PlanDefinition (hl7.fhir.r4.core#4.0.1), Goal (hl7.fhir.r4.core#4.0.1), PlanDefinition (hl7.fhir.r4.core#4.0.1), Goal (hl7.fhir.r4.core#4.0.1), PlanDefinition (hl7.fhir.r4.core#4.0.1), Goal (hl7.fhir.r4.core#4.0.1), PlanDefinition (hl7.fhir.r4.core#4.0.1), Goal (hl7.fhir.r4.core#4.0.1), PlanDefinition (hl7.fhir.r4.core#4.0.1), Goal (hl7.fhir.r4.core#4.0.1), PlanDefinition (hl7.fhir.r4.core#4.0.1), Goal (hl7.fhir.r4.core#4.0.1), PlanDefinition (hl7.fhir.r4.core#4.0.1) + - Version 2: Goal (hl7.fhir.r5.core#5.0.0), PlanDefinition (hl7.fhir.r5.core#5.0.0), Goal (hl7.fhir.r5.core#5.0.0), PlanDefinition (hl7.fhir.r5.core#5.0.0), Goal (hl7.fhir.r5.core#5.0.0), PlanDefinition (hl7.fhir.r5.core#5.0.0) + - Version 3: Goal (hl7.fhir.r4.examples#4.0.1), PlanDefinition (hl7.fhir.r4.examples#4.0.1) +- `urn:fhir:binding:GraphCompartmentRule` (3 versions) + - Version 1: GraphDefinition (hl7.fhir.r4.core#4.0.1), GraphDefinition (hl7.fhir.r4.core#4.0.1), GraphDefinition (hl7.fhir.r4.core#4.0.1), GraphDefinition (hl7.fhir.r4.core#4.0.1), GraphDefinition (hl7.fhir.r4.core#4.0.1), GraphDefinition (hl7.fhir.r4.core#4.0.1), GraphDefinition (hl7.fhir.r4.core#4.0.1), GraphDefinition (hl7.fhir.r4.core#4.0.1), GraphDefinition (hl7.fhir.r4.core#4.0.1), GraphDefinition (hl7.fhir.r4.core#4.0.1) + - Version 2: GraphDefinition (hl7.fhir.r5.core#5.0.0), GraphDefinition (hl7.fhir.r5.core#5.0.0), GraphDefinition (hl7.fhir.r5.core#5.0.0) + - Version 3: GraphDefinition (hl7.fhir.r4.examples#4.0.1) +- `urn:fhir:binding:GraphCompartmentUse` (3 versions) + - Version 1: GraphDefinition (hl7.fhir.r4.core#4.0.1), GraphDefinition (hl7.fhir.r4.core#4.0.1), GraphDefinition (hl7.fhir.r4.core#4.0.1), GraphDefinition (hl7.fhir.r4.core#4.0.1), GraphDefinition (hl7.fhir.r4.core#4.0.1), GraphDefinition (hl7.fhir.r4.core#4.0.1), GraphDefinition (hl7.fhir.r4.core#4.0.1), GraphDefinition (hl7.fhir.r4.core#4.0.1), GraphDefinition (hl7.fhir.r4.core#4.0.1), GraphDefinition (hl7.fhir.r4.core#4.0.1) + - Version 2: GraphDefinition (hl7.fhir.r5.core#5.0.0), GraphDefinition (hl7.fhir.r5.core#5.0.0), GraphDefinition (hl7.fhir.r5.core#5.0.0) + - Version 3: GraphDefinition (hl7.fhir.r4.examples#4.0.1) +- `urn:fhir:binding:GroupMeasure` (2 versions) + - Version 1: EvidenceVariable (hl7.fhir.r4.core#4.0.1), picoelement (hl7.fhir.r4.core#4.0.1), ResearchElementDefinition (hl7.fhir.r4.core#4.0.1), EvidenceVariable (hl7.fhir.r4.core#4.0.1), picoelement (hl7.fhir.r4.core#4.0.1), ResearchElementDefinition (hl7.fhir.r4.core#4.0.1), EvidenceVariable (hl7.fhir.r4.core#4.0.1), picoelement (hl7.fhir.r4.core#4.0.1), ResearchElementDefinition (hl7.fhir.r4.core#4.0.1), EvidenceVariable (hl7.fhir.r4.core#4.0.1), picoelement (hl7.fhir.r4.core#4.0.1), ResearchElementDefinition (hl7.fhir.r4.core#4.0.1), EvidenceVariable (hl7.fhir.r4.core#4.0.1), picoelement (hl7.fhir.r4.core#4.0.1), ResearchElementDefinition (hl7.fhir.r4.core#4.0.1), EvidenceVariable (hl7.fhir.r4.core#4.0.1), picoelement (hl7.fhir.r4.core#4.0.1), ResearchElementDefinition (hl7.fhir.r4.core#4.0.1), EvidenceVariable (hl7.fhir.r4.core#4.0.1), picoelement (hl7.fhir.r4.core#4.0.1), ResearchElementDefinition (hl7.fhir.r4.core#4.0.1), EvidenceVariable (hl7.fhir.r4.core#4.0.1), picoelement (hl7.fhir.r4.core#4.0.1), ResearchElementDefinition (hl7.fhir.r4.core#4.0.1), EvidenceVariable (hl7.fhir.r4.core#4.0.1), picoelement (hl7.fhir.r4.core#4.0.1), ResearchElementDefinition (hl7.fhir.r4.core#4.0.1), EvidenceVariable (hl7.fhir.r4.core#4.0.1), picoelement (hl7.fhir.r4.core#4.0.1), ResearchElementDefinition (hl7.fhir.r4.core#4.0.1) + - Version 2: EvidenceVariable (hl7.fhir.r4.examples#4.0.1), picoelement (hl7.fhir.r4.examples#4.0.1), ResearchElementDefinition (hl7.fhir.r4.examples#4.0.1) +- `urn:fhir:binding:GroupType` (3 versions) + - Version 1: Group (hl7.fhir.r4.core#4.0.1), Group (hl7.fhir.r4.core#4.0.1), Group (hl7.fhir.r4.core#4.0.1), Group (hl7.fhir.r4.core#4.0.1), Group (hl7.fhir.r4.core#4.0.1), Group (hl7.fhir.r4.core#4.0.1), Group (hl7.fhir.r4.core#4.0.1), Group (hl7.fhir.r4.core#4.0.1), Group (hl7.fhir.r4.core#4.0.1), Group (hl7.fhir.r4.core#4.0.1) + - Version 2: Group (hl7.fhir.r5.core#5.0.0), Group (hl7.fhir.r5.core#5.0.0), Group (hl7.fhir.r5.core#5.0.0) + - Version 3: Group (hl7.fhir.r4.examples#4.0.1) +- `urn:fhir:binding:GuidanceResponseStatus` (3 versions) + - Version 1: GuidanceResponse (hl7.fhir.r4.core#4.0.1), GuidanceResponse (hl7.fhir.r4.core#4.0.1), GuidanceResponse (hl7.fhir.r4.core#4.0.1), GuidanceResponse (hl7.fhir.r4.core#4.0.1), GuidanceResponse (hl7.fhir.r4.core#4.0.1), GuidanceResponse (hl7.fhir.r4.core#4.0.1), GuidanceResponse (hl7.fhir.r4.core#4.0.1), GuidanceResponse (hl7.fhir.r4.core#4.0.1), GuidanceResponse (hl7.fhir.r4.core#4.0.1), GuidanceResponse (hl7.fhir.r4.core#4.0.1) + - Version 2: GuidanceResponse (hl7.fhir.r5.core#5.0.0), GuidanceResponse (hl7.fhir.r5.core#5.0.0), GuidanceResponse (hl7.fhir.r5.core#5.0.0) + - Version 3: GuidanceResponse (hl7.fhir.r4.examples#4.0.1) +- `urn:fhir:binding:GuidePageGeneration` (3 versions) + - Version 1: ImplementationGuide (hl7.fhir.r4.core#4.0.1), ImplementationGuide (hl7.fhir.r4.core#4.0.1), ImplementationGuide (hl7.fhir.r4.core#4.0.1), ImplementationGuide (hl7.fhir.r4.core#4.0.1), ImplementationGuide (hl7.fhir.r4.core#4.0.1), ImplementationGuide (hl7.fhir.r4.core#4.0.1), ImplementationGuide (hl7.fhir.r4.core#4.0.1), ImplementationGuide (hl7.fhir.r4.core#4.0.1), ImplementationGuide (hl7.fhir.r4.core#4.0.1), ImplementationGuide (hl7.fhir.r4.core#4.0.1) + - Version 2: ImplementationGuide (hl7.fhir.r5.core#5.0.0), ImplementationGuide (hl7.fhir.r5.core#5.0.0), ImplementationGuide (hl7.fhir.r5.core#5.0.0) + - Version 3: ImplementationGuide (hl7.fhir.r4.examples#4.0.1) +- `urn:fhir:binding:GuideParameterCode` (2 versions) + - Version 1: ImplementationGuide (hl7.fhir.r4.core#4.0.1), ImplementationGuide (hl7.fhir.r4.core#4.0.1), ImplementationGuide (hl7.fhir.r4.core#4.0.1), ImplementationGuide (hl7.fhir.r4.core#4.0.1), ImplementationGuide (hl7.fhir.r4.core#4.0.1), ImplementationGuide (hl7.fhir.r4.core#4.0.1), ImplementationGuide (hl7.fhir.r4.core#4.0.1), ImplementationGuide (hl7.fhir.r4.core#4.0.1), ImplementationGuide (hl7.fhir.r4.core#4.0.1), ImplementationGuide (hl7.fhir.r4.core#4.0.1) + - Version 2: ImplementationGuide (hl7.fhir.r4.examples#4.0.1) +- `urn:fhir:binding:HandlingConditionSet` (3 versions) + - Version 1: SpecimenDefinition (hl7.fhir.r4.core#4.0.1), SpecimenDefinition (hl7.fhir.r4.core#4.0.1), SpecimenDefinition (hl7.fhir.r4.core#4.0.1), SpecimenDefinition (hl7.fhir.r4.core#4.0.1), SpecimenDefinition (hl7.fhir.r4.core#4.0.1), SpecimenDefinition (hl7.fhir.r4.core#4.0.1), SpecimenDefinition (hl7.fhir.r4.core#4.0.1), SpecimenDefinition (hl7.fhir.r4.core#4.0.1), SpecimenDefinition (hl7.fhir.r4.core#4.0.1), SpecimenDefinition (hl7.fhir.r4.core#4.0.1) + - Version 2: SpecimenDefinition (hl7.fhir.r5.core#5.0.0), SpecimenDefinition (hl7.fhir.r5.core#5.0.0), SpecimenDefinition (hl7.fhir.r5.core#5.0.0) + - Version 3: SpecimenDefinition (hl7.fhir.r4.examples#4.0.1) +- `urn:fhir:binding:HTTPVerb` (3 versions) + - Version 1: Bundle (hl7.fhir.r4.core#4.0.1), Bundle (hl7.fhir.r4.core#4.0.1), Bundle (hl7.fhir.r4.core#4.0.1), Bundle (hl7.fhir.r4.core#4.0.1), Bundle (hl7.fhir.r4.core#4.0.1), Bundle (hl7.fhir.r4.core#4.0.1), Bundle (hl7.fhir.r4.core#4.0.1), Bundle (hl7.fhir.r4.core#4.0.1), Bundle (hl7.fhir.r4.core#4.0.1), Bundle (hl7.fhir.r4.core#4.0.1) + - Version 2: Bundle (hl7.fhir.r5.core#5.0.0), Bundle (hl7.fhir.r5.core#5.0.0), Bundle (hl7.fhir.r5.core#5.0.0) + - Version 3: Bundle (hl7.fhir.r4.examples#4.0.1) +- `urn:fhir:binding:IdentifierType` (3 versions) + - Version 1: Identifier (hl7.fhir.r4.core#4.0.1), NamingSystem (hl7.fhir.r4.core#4.0.1), Identifier (hl7.fhir.r4.core#4.0.1), NamingSystem (hl7.fhir.r4.core#4.0.1), Identifier (hl7.fhir.r4.core#4.0.1), NamingSystem (hl7.fhir.r4.core#4.0.1), Identifier (hl7.fhir.r4.core#4.0.1), NamingSystem (hl7.fhir.r4.core#4.0.1), Identifier (hl7.fhir.r4.core#4.0.1), NamingSystem (hl7.fhir.r4.core#4.0.1), Identifier (hl7.fhir.r4.core#4.0.1), NamingSystem (hl7.fhir.r4.core#4.0.1), Identifier (hl7.fhir.r4.core#4.0.1), NamingSystem (hl7.fhir.r4.core#4.0.1), Identifier (hl7.fhir.r4.core#4.0.1), NamingSystem (hl7.fhir.r4.core#4.0.1), Identifier (hl7.fhir.r4.core#4.0.1), NamingSystem (hl7.fhir.r4.core#4.0.1), Identifier (hl7.fhir.r4.core#4.0.1), NamingSystem (hl7.fhir.r4.core#4.0.1) + - Version 2: Identifier (hl7.fhir.r5.core#5.0.0), Identifier (hl7.fhir.r5.core#5.0.0), Identifier (hl7.fhir.r5.core#5.0.0) + - Version 3: Identifier (hl7.fhir.r4.examples#4.0.1), NamingSystem (hl7.fhir.r4.examples#4.0.1) +- `urn:fhir:binding:IdentifierUse` (3 versions) + - Version 1: Identifier (hl7.fhir.r4.core#4.0.1), Identifier (hl7.fhir.r4.core#4.0.1), Identifier (hl7.fhir.r4.core#4.0.1), Identifier (hl7.fhir.r4.core#4.0.1), Identifier (hl7.fhir.r4.core#4.0.1), Identifier (hl7.fhir.r4.core#4.0.1), Identifier (hl7.fhir.r4.core#4.0.1), Identifier (hl7.fhir.r4.core#4.0.1), Identifier (hl7.fhir.r4.core#4.0.1), Identifier (hl7.fhir.r4.core#4.0.1) + - Version 2: Identifier (hl7.fhir.r5.core#5.0.0), Identifier (hl7.fhir.r5.core#5.0.0), Identifier (hl7.fhir.r5.core#5.0.0) + - Version 3: Identifier (hl7.fhir.r4.examples#4.0.1) +- `urn:fhir:binding:IdentityAssuranceLevel` (3 versions) + - Version 1: Person (hl7.fhir.r4.core#4.0.1), Person (hl7.fhir.r4.core#4.0.1), Person (hl7.fhir.r4.core#4.0.1), Person (hl7.fhir.r4.core#4.0.1), Person (hl7.fhir.r4.core#4.0.1), Person (hl7.fhir.r4.core#4.0.1), Person (hl7.fhir.r4.core#4.0.1), Person (hl7.fhir.r4.core#4.0.1), Person (hl7.fhir.r4.core#4.0.1), Person (hl7.fhir.r4.core#4.0.1) + - Version 2: Person (hl7.fhir.r5.core#5.0.0), Person (hl7.fhir.r5.core#5.0.0), Person (hl7.fhir.r5.core#5.0.0) + - Version 3: Person (hl7.fhir.r4.examples#4.0.1) +- `urn:fhir:binding:ImagingModality` (2 versions) + - Version 1: ImagingStudy (hl7.fhir.r4.core#4.0.1), ImagingStudy (hl7.fhir.r4.core#4.0.1), ImagingStudy (hl7.fhir.r4.core#4.0.1), ImagingStudy (hl7.fhir.r4.core#4.0.1), ImagingStudy (hl7.fhir.r4.core#4.0.1), ImagingStudy (hl7.fhir.r4.core#4.0.1), ImagingStudy (hl7.fhir.r4.core#4.0.1), ImagingStudy (hl7.fhir.r4.examples#4.0.1), ImagingStudy (hl7.fhir.r4.core#4.0.1), ImagingStudy (hl7.fhir.r4.core#4.0.1), ImagingStudy (hl7.fhir.r4.core#4.0.1) + - Version 2: ImagingStudy (hl7.fhir.r5.core#5.0.0), DocumentReference (hl7.fhir.r5.core#5.0.0), ImagingStudy (hl7.fhir.r5.core#5.0.0), DocumentReference (hl7.fhir.r5.core#5.0.0), ImagingStudy (hl7.fhir.r5.core#5.0.0), DocumentReference (hl7.fhir.r5.core#5.0.0) +- `urn:fhir:binding:ImagingProcedureCode` (2 versions) + - Version 1: ImagingStudy (hl7.fhir.r4.core#4.0.1), ImagingStudy (hl7.fhir.r4.core#4.0.1), ImagingStudy (hl7.fhir.r4.core#4.0.1), ImagingStudy (hl7.fhir.r4.core#4.0.1), ImagingStudy (hl7.fhir.r4.core#4.0.1), ImagingStudy (hl7.fhir.r4.core#4.0.1), ImagingStudy (hl7.fhir.r4.core#4.0.1), ImagingStudy (hl7.fhir.r4.examples#4.0.1), ImagingStudy (hl7.fhir.r4.core#4.0.1), ImagingStudy (hl7.fhir.r4.core#4.0.1), ImagingStudy (hl7.fhir.r4.core#4.0.1) + - Version 2: ImagingStudy (hl7.fhir.r5.core#5.0.0), ImagingStudy (hl7.fhir.r5.core#5.0.0), ImagingStudy (hl7.fhir.r5.core#5.0.0) +- `urn:fhir:binding:ImagingReason` (3 versions) + - Version 1: ImagingStudy (hl7.fhir.r4.core#4.0.1), ImagingStudy (hl7.fhir.r4.core#4.0.1), ImagingStudy (hl7.fhir.r4.core#4.0.1), ImagingStudy (hl7.fhir.r4.core#4.0.1), ImagingStudy (hl7.fhir.r4.core#4.0.1), ImagingStudy (hl7.fhir.r4.core#4.0.1), ImagingStudy (hl7.fhir.r4.core#4.0.1), ImagingStudy (hl7.fhir.r4.core#4.0.1), ImagingStudy (hl7.fhir.r4.core#4.0.1), ImagingStudy (hl7.fhir.r4.core#4.0.1) + - Version 2: ImagingStudy (hl7.fhir.r5.core#5.0.0), ImagingStudy (hl7.fhir.r5.core#5.0.0), ImagingStudy (hl7.fhir.r5.core#5.0.0) + - Version 3: ImagingStudy (hl7.fhir.r4.examples#4.0.1) +- `urn:fhir:binding:ImagingStudyStatus` (3 versions) + - Version 1: ImagingStudy (hl7.fhir.r4.core#4.0.1), ImagingStudy (hl7.fhir.r4.core#4.0.1), ImagingStudy (hl7.fhir.r4.core#4.0.1), ImagingStudy (hl7.fhir.r4.core#4.0.1), ImagingStudy (hl7.fhir.r4.core#4.0.1), ImagingStudy (hl7.fhir.r4.core#4.0.1), ImagingStudy (hl7.fhir.r4.core#4.0.1), ImagingStudy (hl7.fhir.r4.core#4.0.1), ImagingStudy (hl7.fhir.r4.core#4.0.1), ImagingStudy (hl7.fhir.r4.core#4.0.1) + - Version 2: ImagingStudy (hl7.fhir.r5.core#5.0.0), ImagingStudy (hl7.fhir.r5.core#5.0.0), ImagingStudy (hl7.fhir.r5.core#5.0.0) + - Version 3: ImagingStudy (hl7.fhir.r4.examples#4.0.1) +- `urn:fhir:binding:ImmunizationEvaluationStatus` (3 versions) + - Version 1: ImmunizationEvaluation (hl7.fhir.r4.core#4.0.1), ImmunizationEvaluation (hl7.fhir.r4.core#4.0.1), ImmunizationEvaluation (hl7.fhir.r4.core#4.0.1), ImmunizationEvaluation (hl7.fhir.r4.core#4.0.1), ImmunizationEvaluation (hl7.fhir.r4.core#4.0.1), ImmunizationEvaluation (hl7.fhir.r4.core#4.0.1), ImmunizationEvaluation (hl7.fhir.r4.core#4.0.1), ImmunizationEvaluation (hl7.fhir.r4.core#4.0.1), ImmunizationEvaluation (hl7.fhir.r4.core#4.0.1), ImmunizationEvaluation (hl7.fhir.r4.core#4.0.1) + - Version 2: ImmunizationEvaluation (hl7.fhir.r5.core#5.0.0), ImmunizationEvaluation (hl7.fhir.r5.core#5.0.0), ImmunizationEvaluation (hl7.fhir.r5.core#5.0.0) + - Version 3: ImmunizationEvaluation (hl7.fhir.r4.examples#4.0.1) +- `urn:fhir:binding:ImmunizationFunction` (3 versions) + - Version 1: Immunization (hl7.fhir.r4.core#4.0.1), Immunization (hl7.fhir.r4.core#4.0.1), Immunization (hl7.fhir.r4.core#4.0.1), Immunization (hl7.fhir.r4.core#4.0.1), Immunization (hl7.fhir.r4.core#4.0.1), Immunization (hl7.fhir.r4.core#4.0.1), Immunization (hl7.fhir.r4.core#4.0.1), Immunization (hl7.fhir.r4.core#4.0.1), Immunization (hl7.fhir.r4.core#4.0.1), Immunization (hl7.fhir.r4.core#4.0.1) + - Version 2: Immunization (hl7.fhir.r5.core#5.0.0), Immunization (hl7.fhir.r5.core#5.0.0), Immunization (hl7.fhir.r5.core#5.0.0) + - Version 3: Immunization (hl7.fhir.r4.examples#4.0.1) +- `urn:fhir:binding:ImmunizationReason` (3 versions) + - Version 1: Immunization (hl7.fhir.r4.core#4.0.1), Immunization (hl7.fhir.r4.core#4.0.1), Immunization (hl7.fhir.r4.core#4.0.1), Immunization (hl7.fhir.r4.core#4.0.1), Immunization (hl7.fhir.r4.core#4.0.1), Immunization (hl7.fhir.r4.core#4.0.1), Immunization (hl7.fhir.r4.core#4.0.1), Immunization (hl7.fhir.r4.core#4.0.1), Immunization (hl7.fhir.r4.core#4.0.1), Immunization (hl7.fhir.r4.core#4.0.1) + - Version 2: Immunization (hl7.fhir.r5.core#5.0.0), Immunization (hl7.fhir.r5.core#5.0.0), Immunization (hl7.fhir.r5.core#5.0.0) + - Version 3: Immunization (hl7.fhir.r4.examples#4.0.1) +- `urn:fhir:binding:ImmunizationRecommendationDateCriterion` (3 versions) + - Version 1: ImmunizationRecommendation (hl7.fhir.r4.core#4.0.1), ImmunizationRecommendation (hl7.fhir.r4.core#4.0.1), ImmunizationRecommendation (hl7.fhir.r4.core#4.0.1), ImmunizationRecommendation (hl7.fhir.r4.core#4.0.1), ImmunizationRecommendation (hl7.fhir.r4.core#4.0.1), ImmunizationRecommendation (hl7.fhir.r4.core#4.0.1), ImmunizationRecommendation (hl7.fhir.r4.core#4.0.1), ImmunizationRecommendation (hl7.fhir.r4.core#4.0.1), ImmunizationRecommendation (hl7.fhir.r4.core#4.0.1), ImmunizationRecommendation (hl7.fhir.r4.core#4.0.1) + - Version 2: ImmunizationRecommendation (hl7.fhir.r5.core#5.0.0), ImmunizationRecommendation (hl7.fhir.r5.core#5.0.0), ImmunizationRecommendation (hl7.fhir.r5.core#5.0.0) + - Version 3: ImmunizationRecommendation (hl7.fhir.r4.examples#4.0.1) +- `urn:fhir:binding:ImmunizationRecommendationReason` (3 versions) + - Version 1: ImmunizationRecommendation (hl7.fhir.r4.core#4.0.1), ImmunizationRecommendation (hl7.fhir.r4.core#4.0.1), ImmunizationRecommendation (hl7.fhir.r4.core#4.0.1), ImmunizationRecommendation (hl7.fhir.r4.core#4.0.1), ImmunizationRecommendation (hl7.fhir.r4.core#4.0.1), ImmunizationRecommendation (hl7.fhir.r4.core#4.0.1), ImmunizationRecommendation (hl7.fhir.r4.core#4.0.1), ImmunizationRecommendation (hl7.fhir.r4.core#4.0.1), ImmunizationRecommendation (hl7.fhir.r4.core#4.0.1), ImmunizationRecommendation (hl7.fhir.r4.core#4.0.1) + - Version 2: ImmunizationRecommendation (hl7.fhir.r5.core#5.0.0), ImmunizationRecommendation (hl7.fhir.r5.core#5.0.0), ImmunizationRecommendation (hl7.fhir.r5.core#5.0.0) + - Version 3: ImmunizationRecommendation (hl7.fhir.r4.examples#4.0.1) +- `urn:fhir:binding:ImmunizationRecommendationStatus` (3 versions) + - Version 1: ImmunizationRecommendation (hl7.fhir.r4.core#4.0.1), ImmunizationRecommendation (hl7.fhir.r4.core#4.0.1), ImmunizationRecommendation (hl7.fhir.r4.core#4.0.1), ImmunizationRecommendation (hl7.fhir.r4.core#4.0.1), ImmunizationRecommendation (hl7.fhir.r4.core#4.0.1), ImmunizationRecommendation (hl7.fhir.r4.core#4.0.1), ImmunizationRecommendation (hl7.fhir.r4.core#4.0.1), ImmunizationRecommendation (hl7.fhir.r4.core#4.0.1), ImmunizationRecommendation (hl7.fhir.r4.core#4.0.1), ImmunizationRecommendation (hl7.fhir.r4.core#4.0.1) + - Version 2: ImmunizationRecommendation (hl7.fhir.r5.core#5.0.0), ImmunizationRecommendation (hl7.fhir.r5.core#5.0.0), ImmunizationRecommendation (hl7.fhir.r5.core#5.0.0) + - Version 3: ImmunizationRecommendation (hl7.fhir.r4.examples#4.0.1) +- `urn:fhir:binding:ImmunizationReportOrigin` (3 versions) + - Version 1: Immunization (hl7.fhir.r4.core#4.0.1), Immunization (hl7.fhir.r4.core#4.0.1), Immunization (hl7.fhir.r4.core#4.0.1), Immunization (hl7.fhir.r4.core#4.0.1), Immunization (hl7.fhir.r4.core#4.0.1), Immunization (hl7.fhir.r4.core#4.0.1), Immunization (hl7.fhir.r4.core#4.0.1), Immunization (hl7.fhir.r4.core#4.0.1), Immunization (hl7.fhir.r4.core#4.0.1), Immunization (hl7.fhir.r4.core#4.0.1) + - Version 2: Immunization (hl7.fhir.r5.core#5.0.0), Immunization (hl7.fhir.r5.core#5.0.0), Immunization (hl7.fhir.r5.core#5.0.0) + - Version 3: Immunization (hl7.fhir.r4.examples#4.0.1) +- `urn:fhir:binding:ImmunizationRoute` (3 versions) + - Version 1: Immunization (hl7.fhir.r4.core#4.0.1), Immunization (hl7.fhir.r4.core#4.0.1), Immunization (hl7.fhir.r4.core#4.0.1), Immunization (hl7.fhir.r4.core#4.0.1), Immunization (hl7.fhir.r4.core#4.0.1), Immunization (hl7.fhir.r4.core#4.0.1), Immunization (hl7.fhir.r4.core#4.0.1), Immunization (hl7.fhir.r4.core#4.0.1), Immunization (hl7.fhir.r4.core#4.0.1), Immunization (hl7.fhir.r4.core#4.0.1) + - Version 2: Immunization (hl7.fhir.r5.core#5.0.0), Immunization (hl7.fhir.r5.core#5.0.0), Immunization (hl7.fhir.r5.core#5.0.0) + - Version 3: Immunization (hl7.fhir.r4.examples#4.0.1) +- `urn:fhir:binding:ImmunizationSite` (3 versions) + - Version 1: Immunization (hl7.fhir.r4.core#4.0.1), Immunization (hl7.fhir.r4.core#4.0.1), Immunization (hl7.fhir.r4.core#4.0.1), Immunization (hl7.fhir.r4.core#4.0.1), Immunization (hl7.fhir.r4.core#4.0.1), Immunization (hl7.fhir.r4.core#4.0.1), Immunization (hl7.fhir.r4.core#4.0.1), Immunization (hl7.fhir.r4.core#4.0.1), Immunization (hl7.fhir.r4.core#4.0.1), Immunization (hl7.fhir.r4.core#4.0.1) + - Version 2: Immunization (hl7.fhir.r5.core#5.0.0), Immunization (hl7.fhir.r5.core#5.0.0), Immunization (hl7.fhir.r5.core#5.0.0) + - Version 3: Immunization (hl7.fhir.r4.examples#4.0.1) +- `urn:fhir:binding:ImmunizationStatus` (3 versions) + - Version 1: Immunization (hl7.fhir.r4.core#4.0.1), Immunization (hl7.fhir.r4.core#4.0.1), Immunization (hl7.fhir.r4.core#4.0.1), Immunization (hl7.fhir.r4.core#4.0.1), Immunization (hl7.fhir.r4.core#4.0.1), Immunization (hl7.fhir.r4.core#4.0.1), Immunization (hl7.fhir.r4.core#4.0.1), Immunization (hl7.fhir.r4.core#4.0.1), Immunization (hl7.fhir.r4.core#4.0.1), Immunization (hl7.fhir.r4.core#4.0.1) + - Version 2: Immunization (hl7.fhir.r5.core#5.0.0), Immunization (hl7.fhir.r5.core#5.0.0), Immunization (hl7.fhir.r5.core#5.0.0) + - Version 3: Immunization (hl7.fhir.r4.examples#4.0.1) +- `urn:fhir:binding:ImmunizationStatusReason` (3 versions) + - Version 1: Immunization (hl7.fhir.r4.core#4.0.1), Immunization (hl7.fhir.r4.core#4.0.1), Immunization (hl7.fhir.r4.core#4.0.1), Immunization (hl7.fhir.r4.core#4.0.1), Immunization (hl7.fhir.r4.core#4.0.1), Immunization (hl7.fhir.r4.core#4.0.1), Immunization (hl7.fhir.r4.core#4.0.1), Immunization (hl7.fhir.r4.core#4.0.1), Immunization (hl7.fhir.r4.core#4.0.1), Immunization (hl7.fhir.r4.core#4.0.1) + - Version 2: Immunization (hl7.fhir.r5.core#5.0.0), Immunization (hl7.fhir.r5.core#5.0.0), Immunization (hl7.fhir.r5.core#5.0.0) + - Version 3: Immunization (hl7.fhir.r4.examples#4.0.1) +- `urn:fhir:binding:InformationCategory` (3 versions) + - Version 1: Claim (hl7.fhir.r4.core#4.0.1), ExplanationOfBenefit (hl7.fhir.r4.core#4.0.1), Claim (hl7.fhir.r4.core#4.0.1), ExplanationOfBenefit (hl7.fhir.r4.core#4.0.1), Claim (hl7.fhir.r4.core#4.0.1), ExplanationOfBenefit (hl7.fhir.r4.core#4.0.1), Claim (hl7.fhir.r4.core#4.0.1), ExplanationOfBenefit (hl7.fhir.r4.core#4.0.1), Claim (hl7.fhir.r4.core#4.0.1), ExplanationOfBenefit (hl7.fhir.r4.core#4.0.1), Claim (hl7.fhir.r4.core#4.0.1), ExplanationOfBenefit (hl7.fhir.r4.core#4.0.1), Claim (hl7.fhir.r4.core#4.0.1), ExplanationOfBenefit (hl7.fhir.r4.core#4.0.1), Claim (hl7.fhir.r4.core#4.0.1), ExplanationOfBenefit (hl7.fhir.r4.core#4.0.1), Claim (hl7.fhir.r4.core#4.0.1), ExplanationOfBenefit (hl7.fhir.r4.core#4.0.1), Claim (hl7.fhir.r4.core#4.0.1), ExplanationOfBenefit (hl7.fhir.r4.core#4.0.1) + - Version 2: Claim (hl7.fhir.r5.core#5.0.0), ExplanationOfBenefit (hl7.fhir.r5.core#5.0.0), Claim (hl7.fhir.r5.core#5.0.0), ExplanationOfBenefit (hl7.fhir.r5.core#5.0.0), Claim (hl7.fhir.r5.core#5.0.0), ExplanationOfBenefit (hl7.fhir.r5.core#5.0.0) + - Version 3: Claim (hl7.fhir.r4.examples#4.0.1), ExplanationOfBenefit (hl7.fhir.r4.examples#4.0.1) +- `urn:fhir:binding:InformationCode` (3 versions) + - Version 1: Claim (hl7.fhir.r4.core#4.0.1), ExplanationOfBenefit (hl7.fhir.r4.core#4.0.1), Claim (hl7.fhir.r4.core#4.0.1), ExplanationOfBenefit (hl7.fhir.r4.core#4.0.1), Claim (hl7.fhir.r4.core#4.0.1), ExplanationOfBenefit (hl7.fhir.r4.core#4.0.1), Claim (hl7.fhir.r4.core#4.0.1), ExplanationOfBenefit (hl7.fhir.r4.core#4.0.1), Claim (hl7.fhir.r4.core#4.0.1), ExplanationOfBenefit (hl7.fhir.r4.core#4.0.1), Claim (hl7.fhir.r4.core#4.0.1), ExplanationOfBenefit (hl7.fhir.r4.core#4.0.1), Claim (hl7.fhir.r4.core#4.0.1), ExplanationOfBenefit (hl7.fhir.r4.core#4.0.1), Claim (hl7.fhir.r4.core#4.0.1), ExplanationOfBenefit (hl7.fhir.r4.core#4.0.1), Claim (hl7.fhir.r4.core#4.0.1), ExplanationOfBenefit (hl7.fhir.r4.core#4.0.1), Claim (hl7.fhir.r4.core#4.0.1), ExplanationOfBenefit (hl7.fhir.r4.core#4.0.1) + - Version 2: Claim (hl7.fhir.r5.core#5.0.0), ExplanationOfBenefit (hl7.fhir.r5.core#5.0.0), Claim (hl7.fhir.r5.core#5.0.0), ExplanationOfBenefit (hl7.fhir.r5.core#5.0.0), Claim (hl7.fhir.r5.core#5.0.0), ExplanationOfBenefit (hl7.fhir.r5.core#5.0.0) + - Version 3: Claim (hl7.fhir.r4.examples#4.0.1), ExplanationOfBenefit (hl7.fhir.r4.examples#4.0.1) +- `urn:fhir:binding:InsurancePlanType` (3 versions) + - Version 1: InsurancePlan (hl7.fhir.r4.core#4.0.1), InsurancePlan (hl7.fhir.r4.core#4.0.1), InsurancePlan (hl7.fhir.r4.core#4.0.1), InsurancePlan (hl7.fhir.r4.core#4.0.1), InsurancePlan (hl7.fhir.r4.core#4.0.1), InsurancePlan (hl7.fhir.r4.core#4.0.1), InsurancePlan (hl7.fhir.r4.core#4.0.1), InsurancePlan (hl7.fhir.r4.core#4.0.1), InsurancePlan (hl7.fhir.r4.core#4.0.1), InsurancePlan (hl7.fhir.r4.core#4.0.1) + - Version 2: InsurancePlan (hl7.fhir.r5.core#5.0.0), InsurancePlan (hl7.fhir.r5.core#5.0.0), InsurancePlan (hl7.fhir.r5.core#5.0.0) + - Version 3: InsurancePlan (hl7.fhir.r4.examples#4.0.1) +- `urn:fhir:binding:IntendedSpecimenType` (2 versions) + - Version 1: SpecimenDefinition (hl7.fhir.r4.core#4.0.1), SpecimenDefinition (hl7.fhir.r4.core#4.0.1), SpecimenDefinition (hl7.fhir.r4.core#4.0.1), SpecimenDefinition (hl7.fhir.r5.core#5.0.0), SpecimenDefinition (hl7.fhir.r5.core#5.0.0), SpecimenDefinition (hl7.fhir.r5.core#5.0.0), SpecimenDefinition (hl7.fhir.r4.core#4.0.1), SpecimenDefinition (hl7.fhir.r4.core#4.0.1), SpecimenDefinition (hl7.fhir.r4.core#4.0.1), SpecimenDefinition (hl7.fhir.r4.core#4.0.1), SpecimenDefinition (hl7.fhir.r4.core#4.0.1), SpecimenDefinition (hl7.fhir.r4.core#4.0.1), SpecimenDefinition (hl7.fhir.r4.core#4.0.1) + - Version 2: SpecimenDefinition (hl7.fhir.r4.examples#4.0.1) +- `urn:fhir:binding:InvestigationGroupType` (2 versions) + - Version 1: ClinicalImpression (hl7.fhir.r4.core#4.0.1), ClinicalImpression (hl7.fhir.r4.core#4.0.1), ClinicalImpression (hl7.fhir.r4.core#4.0.1), ClinicalImpression (hl7.fhir.r4.core#4.0.1), ClinicalImpression (hl7.fhir.r4.core#4.0.1), ClinicalImpression (hl7.fhir.r4.core#4.0.1), ClinicalImpression (hl7.fhir.r4.core#4.0.1), ClinicalImpression (hl7.fhir.r4.core#4.0.1), ClinicalImpression (hl7.fhir.r4.core#4.0.1), ClinicalImpression (hl7.fhir.r4.core#4.0.1) + - Version 2: ClinicalImpression (hl7.fhir.r4.examples#4.0.1) +- `urn:fhir:binding:InvoicePriceComponentType` (2 versions) + - Version 1: Invoice (hl7.fhir.r4.core#4.0.1), Invoice (hl7.fhir.r4.core#4.0.1), Invoice (hl7.fhir.r4.core#4.0.1), Invoice (hl7.fhir.r4.core#4.0.1), Invoice (hl7.fhir.r4.core#4.0.1), Invoice (hl7.fhir.r4.core#4.0.1), Invoice (hl7.fhir.r4.core#4.0.1), Invoice (hl7.fhir.r4.core#4.0.1), Invoice (hl7.fhir.r4.core#4.0.1), Invoice (hl7.fhir.r4.core#4.0.1) + - Version 2: Invoice (hl7.fhir.r4.examples#4.0.1) +- `urn:fhir:binding:InvoiceStatus` (3 versions) + - Version 1: Invoice (hl7.fhir.r4.core#4.0.1), Invoice (hl7.fhir.r4.core#4.0.1), Invoice (hl7.fhir.r4.core#4.0.1), Invoice (hl7.fhir.r4.core#4.0.1), Invoice (hl7.fhir.r4.core#4.0.1), Invoice (hl7.fhir.r4.core#4.0.1), Invoice (hl7.fhir.r4.core#4.0.1), Invoice (hl7.fhir.r4.core#4.0.1), Invoice (hl7.fhir.r4.core#4.0.1), Invoice (hl7.fhir.r4.core#4.0.1) + - Version 2: Invoice (hl7.fhir.r5.core#5.0.0), Invoice (hl7.fhir.r5.core#5.0.0), Invoice (hl7.fhir.r5.core#5.0.0) + - Version 3: Invoice (hl7.fhir.r4.examples#4.0.1) +- `urn:fhir:binding:IssueDetails` (3 versions) + - Version 1: OperationOutcome (hl7.fhir.r4.core#4.0.1), OperationOutcome (hl7.fhir.r4.core#4.0.1), OperationOutcome (hl7.fhir.r4.core#4.0.1), OperationOutcome (hl7.fhir.r4.core#4.0.1), OperationOutcome (hl7.fhir.r4.core#4.0.1), OperationOutcome (hl7.fhir.r4.core#4.0.1), OperationOutcome (hl7.fhir.r4.core#4.0.1), OperationOutcome (hl7.fhir.r4.core#4.0.1), OperationOutcome (hl7.fhir.r4.core#4.0.1), OperationOutcome (hl7.fhir.r4.core#4.0.1) + - Version 2: OperationOutcome (hl7.fhir.r5.core#5.0.0), OperationOutcome (hl7.fhir.r5.core#5.0.0), OperationOutcome (hl7.fhir.r5.core#5.0.0) + - Version 3: OperationOutcome (hl7.fhir.r4.examples#4.0.1) +- `urn:fhir:binding:IssueSeverity` (3 versions) + - Version 1: OperationOutcome (hl7.fhir.r4.core#4.0.1), OperationOutcome (hl7.fhir.r4.core#4.0.1), OperationOutcome (hl7.fhir.r4.core#4.0.1), OperationOutcome (hl7.fhir.r4.core#4.0.1), OperationOutcome (hl7.fhir.r4.core#4.0.1), OperationOutcome (hl7.fhir.r4.core#4.0.1), OperationOutcome (hl7.fhir.r4.core#4.0.1), OperationOutcome (hl7.fhir.r4.core#4.0.1), OperationOutcome (hl7.fhir.r4.core#4.0.1), OperationOutcome (hl7.fhir.r4.core#4.0.1) + - Version 2: OperationOutcome (hl7.fhir.r5.core#5.0.0), OperationOutcome (hl7.fhir.r5.core#5.0.0), OperationOutcome (hl7.fhir.r5.core#5.0.0) + - Version 3: OperationOutcome (hl7.fhir.r4.examples#4.0.1) +- `urn:fhir:binding:IssueType` (3 versions) + - Version 1: OperationOutcome (hl7.fhir.r4.core#4.0.1), OperationOutcome (hl7.fhir.r4.core#4.0.1), OperationOutcome (hl7.fhir.r4.core#4.0.1), OperationOutcome (hl7.fhir.r4.core#4.0.1), OperationOutcome (hl7.fhir.r4.core#4.0.1), OperationOutcome (hl7.fhir.r4.core#4.0.1), OperationOutcome (hl7.fhir.r4.core#4.0.1), OperationOutcome (hl7.fhir.r4.core#4.0.1), OperationOutcome (hl7.fhir.r4.core#4.0.1), OperationOutcome (hl7.fhir.r4.core#4.0.1) + - Version 2: OperationOutcome (hl7.fhir.r5.core#5.0.0), OperationOutcome (hl7.fhir.r5.core#5.0.0), OperationOutcome (hl7.fhir.r5.core#5.0.0) + - Version 3: OperationOutcome (hl7.fhir.r4.examples#4.0.1) +- `urn:fhir:binding:Jurisdiction` (4 versions) + - Version 1: EventDefinition (hl7.fhir.r4.core#4.0.1), Measure (hl7.fhir.r4.core#4.0.1), Library (hl7.fhir.r4.core#4.0.1), ValueSet (hl7.fhir.r4.core#4.0.1), CapabilityStatement (hl7.fhir.r4.core#4.0.1), PlanDefinition (hl7.fhir.r4.core#4.0.1), CodeSystem (hl7.fhir.r4.core#4.0.1), EvidenceVariable (hl7.fhir.r4.core#4.0.1), shareablelibrary (hl7.fhir.r4.core#4.0.1), ImplementationGuide (hl7.fhir.r4.core#4.0.1), Evidence (hl7.fhir.r4.core#4.0.1), TerminologyCapabilities (hl7.fhir.r4.core#4.0.1), shareableplandefinition (hl7.fhir.r4.core#4.0.1), TestScript (hl7.fhir.r4.core#4.0.1), shareablemeasure (hl7.fhir.r4.core#4.0.1), OperationDefinition (hl7.fhir.r4.core#4.0.1), MetadataResource (hl7.fhir.r4.core#4.0.1), StructureDefinition (hl7.fhir.r4.core#4.0.1), shareableactivitydefinition (hl7.fhir.r4.core#4.0.1), StructureMap (hl7.fhir.r4.core#4.0.1), SearchParameter (hl7.fhir.r4.core#4.0.1), ResearchStudy (hl7.fhir.r4.core#4.0.1), ActivityDefinition (hl7.fhir.r4.core#4.0.1), ConceptMap (hl7.fhir.r4.core#4.0.1), ChargeItemDefinition (hl7.fhir.r4.core#4.0.1), MessageDefinition (hl7.fhir.r4.core#4.0.1), GraphDefinition (hl7.fhir.r4.core#4.0.1), ExampleScenario (hl7.fhir.r4.core#4.0.1), Questionnaire (hl7.fhir.r4.core#4.0.1), NamingSystem (hl7.fhir.r4.core#4.0.1), EffectEvidenceSynthesis (hl7.fhir.r4.core#4.0.1), ResearchDefinition (hl7.fhir.r4.core#4.0.1), ResearchElementDefinition (hl7.fhir.r4.core#4.0.1), RiskEvidenceSynthesis (hl7.fhir.r4.core#4.0.1), EventDefinition (hl7.fhir.r4.core#4.0.1), Measure (hl7.fhir.r4.core#4.0.1), Library (hl7.fhir.r4.core#4.0.1), ValueSet (hl7.fhir.r4.core#4.0.1), CapabilityStatement (hl7.fhir.r4.core#4.0.1), PlanDefinition (hl7.fhir.r4.core#4.0.1), CodeSystem (hl7.fhir.r4.core#4.0.1), EvidenceVariable (hl7.fhir.r4.core#4.0.1), shareablelibrary (hl7.fhir.r4.core#4.0.1), ImplementationGuide (hl7.fhir.r4.core#4.0.1), Evidence (hl7.fhir.r4.core#4.0.1), TerminologyCapabilities (hl7.fhir.r4.core#4.0.1), shareableplandefinition (hl7.fhir.r4.core#4.0.1), TestScript (hl7.fhir.r4.core#4.0.1), shareablemeasure (hl7.fhir.r4.core#4.0.1), OperationDefinition (hl7.fhir.r4.core#4.0.1), MetadataResource (hl7.fhir.r4.core#4.0.1), StructureDefinition (hl7.fhir.r4.core#4.0.1), shareableactivitydefinition (hl7.fhir.r4.core#4.0.1), StructureMap (hl7.fhir.r4.core#4.0.1), SearchParameter (hl7.fhir.r4.core#4.0.1), ResearchStudy (hl7.fhir.r4.core#4.0.1), ActivityDefinition (hl7.fhir.r4.core#4.0.1), ConceptMap (hl7.fhir.r4.core#4.0.1), ChargeItemDefinition (hl7.fhir.r4.core#4.0.1), MessageDefinition (hl7.fhir.r4.core#4.0.1), GraphDefinition (hl7.fhir.r4.core#4.0.1), ExampleScenario (hl7.fhir.r4.core#4.0.1), Questionnaire (hl7.fhir.r4.core#4.0.1), NamingSystem (hl7.fhir.r4.core#4.0.1), EffectEvidenceSynthesis (hl7.fhir.r4.core#4.0.1), ResearchDefinition (hl7.fhir.r4.core#4.0.1), ResearchElementDefinition (hl7.fhir.r4.core#4.0.1), RiskEvidenceSynthesis (hl7.fhir.r4.core#4.0.1), EventDefinition (hl7.fhir.r4.core#4.0.1), Measure (hl7.fhir.r4.core#4.0.1), Library (hl7.fhir.r4.core#4.0.1), ValueSet (hl7.fhir.r4.core#4.0.1), CapabilityStatement (hl7.fhir.r4.core#4.0.1), PlanDefinition (hl7.fhir.r4.core#4.0.1), CodeSystem (hl7.fhir.r4.core#4.0.1), EvidenceVariable (hl7.fhir.r4.core#4.0.1), shareablelibrary (hl7.fhir.r4.core#4.0.1), ImplementationGuide (hl7.fhir.r4.core#4.0.1), Evidence (hl7.fhir.r4.core#4.0.1), TerminologyCapabilities (hl7.fhir.r4.core#4.0.1), shareableplandefinition (hl7.fhir.r4.core#4.0.1), TestScript (hl7.fhir.r4.core#4.0.1), shareablemeasure (hl7.fhir.r4.core#4.0.1), OperationDefinition (hl7.fhir.r4.core#4.0.1), MetadataResource (hl7.fhir.r4.core#4.0.1), StructureDefinition (hl7.fhir.r4.core#4.0.1), shareableactivitydefinition (hl7.fhir.r4.core#4.0.1), StructureMap (hl7.fhir.r4.core#4.0.1), SearchParameter (hl7.fhir.r4.core#4.0.1), ResearchStudy (hl7.fhir.r4.core#4.0.1), ActivityDefinition (hl7.fhir.r4.core#4.0.1), ConceptMap (hl7.fhir.r4.core#4.0.1), ChargeItemDefinition (hl7.fhir.r4.core#4.0.1), MessageDefinition (hl7.fhir.r4.core#4.0.1), GraphDefinition (hl7.fhir.r4.core#4.0.1), ExampleScenario (hl7.fhir.r4.core#4.0.1), Questionnaire (hl7.fhir.r4.core#4.0.1), NamingSystem (hl7.fhir.r4.core#4.0.1), EffectEvidenceSynthesis (hl7.fhir.r4.core#4.0.1), ResearchDefinition (hl7.fhir.r4.core#4.0.1), ResearchElementDefinition (hl7.fhir.r4.core#4.0.1), RiskEvidenceSynthesis (hl7.fhir.r4.core#4.0.1), EventDefinition (hl7.fhir.r4.core#4.0.1), Measure (hl7.fhir.r4.core#4.0.1), Library (hl7.fhir.r4.core#4.0.1), ValueSet (hl7.fhir.r4.core#4.0.1), CapabilityStatement (hl7.fhir.r4.core#4.0.1), PlanDefinition (hl7.fhir.r4.core#4.0.1), CodeSystem (hl7.fhir.r4.core#4.0.1), EvidenceVariable (hl7.fhir.r4.core#4.0.1), shareablelibrary (hl7.fhir.r4.core#4.0.1), ImplementationGuide (hl7.fhir.r4.core#4.0.1), Evidence (hl7.fhir.r4.core#4.0.1), TerminologyCapabilities (hl7.fhir.r4.core#4.0.1), shareableplandefinition (hl7.fhir.r4.core#4.0.1), TestScript (hl7.fhir.r4.core#4.0.1), shareablemeasure (hl7.fhir.r4.core#4.0.1), OperationDefinition (hl7.fhir.r4.core#4.0.1), MetadataResource (hl7.fhir.r4.core#4.0.1), StructureDefinition (hl7.fhir.r4.core#4.0.1), shareableactivitydefinition (hl7.fhir.r4.core#4.0.1), StructureMap (hl7.fhir.r4.core#4.0.1), SearchParameter (hl7.fhir.r4.core#4.0.1), ResearchStudy (hl7.fhir.r4.core#4.0.1), ActivityDefinition (hl7.fhir.r4.core#4.0.1), ConceptMap (hl7.fhir.r4.core#4.0.1), ChargeItemDefinition (hl7.fhir.r4.core#4.0.1), MessageDefinition (hl7.fhir.r4.core#4.0.1), GraphDefinition (hl7.fhir.r4.core#4.0.1), ExampleScenario (hl7.fhir.r4.core#4.0.1), Questionnaire (hl7.fhir.r4.core#4.0.1), NamingSystem (hl7.fhir.r4.core#4.0.1), EffectEvidenceSynthesis (hl7.fhir.r4.core#4.0.1), ResearchDefinition (hl7.fhir.r4.core#4.0.1), ResearchElementDefinition (hl7.fhir.r4.core#4.0.1), RiskEvidenceSynthesis (hl7.fhir.r4.core#4.0.1), EventDefinition (hl7.fhir.r4.core#4.0.1), Measure (hl7.fhir.r4.core#4.0.1), Library (hl7.fhir.r4.core#4.0.1), ValueSet (hl7.fhir.r4.core#4.0.1), CapabilityStatement (hl7.fhir.r4.core#4.0.1), PlanDefinition (hl7.fhir.r4.core#4.0.1), CodeSystem (hl7.fhir.r4.core#4.0.1), EvidenceVariable (hl7.fhir.r4.core#4.0.1), shareablelibrary (hl7.fhir.r4.core#4.0.1), ImplementationGuide (hl7.fhir.r4.core#4.0.1), Evidence (hl7.fhir.r4.core#4.0.1), TerminologyCapabilities (hl7.fhir.r4.core#4.0.1), shareableplandefinition (hl7.fhir.r4.core#4.0.1), TestScript (hl7.fhir.r4.core#4.0.1), shareablemeasure (hl7.fhir.r4.core#4.0.1), OperationDefinition (hl7.fhir.r4.core#4.0.1), MetadataResource (hl7.fhir.r4.core#4.0.1), StructureDefinition (hl7.fhir.r4.core#4.0.1), shareableactivitydefinition (hl7.fhir.r4.core#4.0.1), StructureMap (hl7.fhir.r4.core#4.0.1), SearchParameter (hl7.fhir.r4.core#4.0.1), ResearchStudy (hl7.fhir.r4.core#4.0.1), ActivityDefinition (hl7.fhir.r4.core#4.0.1), ConceptMap (hl7.fhir.r4.core#4.0.1), ChargeItemDefinition (hl7.fhir.r4.core#4.0.1), MessageDefinition (hl7.fhir.r4.core#4.0.1), GraphDefinition (hl7.fhir.r4.core#4.0.1), ExampleScenario (hl7.fhir.r4.core#4.0.1), Questionnaire (hl7.fhir.r4.core#4.0.1), NamingSystem (hl7.fhir.r4.core#4.0.1), EffectEvidenceSynthesis (hl7.fhir.r4.core#4.0.1), ResearchDefinition (hl7.fhir.r4.core#4.0.1), ResearchElementDefinition (hl7.fhir.r4.core#4.0.1), RiskEvidenceSynthesis (hl7.fhir.r4.core#4.0.1), EventDefinition (hl7.fhir.r4.core#4.0.1), Measure (hl7.fhir.r4.core#4.0.1), Library (hl7.fhir.r4.core#4.0.1), ValueSet (hl7.fhir.r4.core#4.0.1), CapabilityStatement (hl7.fhir.r4.core#4.0.1), PlanDefinition (hl7.fhir.r4.core#4.0.1), CodeSystem (hl7.fhir.r4.core#4.0.1), EvidenceVariable (hl7.fhir.r4.core#4.0.1), shareablelibrary (hl7.fhir.r4.core#4.0.1), ImplementationGuide (hl7.fhir.r4.core#4.0.1), Evidence (hl7.fhir.r4.core#4.0.1), TerminologyCapabilities (hl7.fhir.r4.core#4.0.1), shareableplandefinition (hl7.fhir.r4.core#4.0.1), TestScript (hl7.fhir.r4.core#4.0.1), shareablemeasure (hl7.fhir.r4.core#4.0.1), OperationDefinition (hl7.fhir.r4.core#4.0.1), MetadataResource (hl7.fhir.r4.core#4.0.1), StructureDefinition (hl7.fhir.r4.core#4.0.1), shareableactivitydefinition (hl7.fhir.r4.core#4.0.1), StructureMap (hl7.fhir.r4.core#4.0.1), SearchParameter (hl7.fhir.r4.core#4.0.1), ResearchStudy (hl7.fhir.r4.core#4.0.1), ActivityDefinition (hl7.fhir.r4.core#4.0.1), ConceptMap (hl7.fhir.r4.core#4.0.1), ChargeItemDefinition (hl7.fhir.r4.core#4.0.1), MessageDefinition (hl7.fhir.r4.core#4.0.1), GraphDefinition (hl7.fhir.r4.core#4.0.1), ExampleScenario (hl7.fhir.r4.core#4.0.1), Questionnaire (hl7.fhir.r4.core#4.0.1), NamingSystem (hl7.fhir.r4.core#4.0.1), EffectEvidenceSynthesis (hl7.fhir.r4.core#4.0.1), ResearchDefinition (hl7.fhir.r4.core#4.0.1), ResearchElementDefinition (hl7.fhir.r4.core#4.0.1), RiskEvidenceSynthesis (hl7.fhir.r4.core#4.0.1), EventDefinition (hl7.fhir.r4.core#4.0.1), Measure (hl7.fhir.r4.core#4.0.1), Library (hl7.fhir.r4.core#4.0.1), ValueSet (hl7.fhir.r4.core#4.0.1), CapabilityStatement (hl7.fhir.r4.core#4.0.1), PlanDefinition (hl7.fhir.r4.core#4.0.1), CodeSystem (hl7.fhir.r4.core#4.0.1), EvidenceVariable (hl7.fhir.r4.core#4.0.1), shareablelibrary (hl7.fhir.r4.core#4.0.1), ImplementationGuide (hl7.fhir.r4.core#4.0.1), Evidence (hl7.fhir.r4.core#4.0.1), TerminologyCapabilities (hl7.fhir.r4.core#4.0.1), shareableplandefinition (hl7.fhir.r4.core#4.0.1), TestScript (hl7.fhir.r4.core#4.0.1), shareablemeasure (hl7.fhir.r4.core#4.0.1), OperationDefinition (hl7.fhir.r4.core#4.0.1), MetadataResource (hl7.fhir.r4.core#4.0.1), StructureDefinition (hl7.fhir.r4.core#4.0.1), shareableactivitydefinition (hl7.fhir.r4.core#4.0.1), StructureMap (hl7.fhir.r4.core#4.0.1), SearchParameter (hl7.fhir.r4.core#4.0.1), ResearchStudy (hl7.fhir.r4.core#4.0.1), ActivityDefinition (hl7.fhir.r4.core#4.0.1), ConceptMap (hl7.fhir.r4.core#4.0.1), ChargeItemDefinition (hl7.fhir.r4.core#4.0.1), MessageDefinition (hl7.fhir.r4.core#4.0.1), GraphDefinition (hl7.fhir.r4.core#4.0.1), ExampleScenario (hl7.fhir.r4.core#4.0.1), Questionnaire (hl7.fhir.r4.core#4.0.1), NamingSystem (hl7.fhir.r4.core#4.0.1), EffectEvidenceSynthesis (hl7.fhir.r4.core#4.0.1), ResearchDefinition (hl7.fhir.r4.core#4.0.1), ResearchElementDefinition (hl7.fhir.r4.core#4.0.1), RiskEvidenceSynthesis (hl7.fhir.r4.core#4.0.1), sdc-valueset (hl7.fhir.uv.sdc#3.0.0), sdc-codesystem (hl7.fhir.uv.sdc#3.0.0), sdc-questionnaire-search (hl7.fhir.uv.sdc#3.0.0), EventDefinition (hl7.fhir.r4.core#4.0.1), Measure (hl7.fhir.r4.core#4.0.1), Library (hl7.fhir.r4.core#4.0.1), ValueSet (hl7.fhir.r4.core#4.0.1), CapabilityStatement (hl7.fhir.r4.core#4.0.1), PlanDefinition (hl7.fhir.r4.core#4.0.1), CodeSystem (hl7.fhir.r4.core#4.0.1), EvidenceVariable (hl7.fhir.r4.core#4.0.1), shareablelibrary (hl7.fhir.r4.core#4.0.1), ImplementationGuide (hl7.fhir.r4.core#4.0.1), Evidence (hl7.fhir.r4.core#4.0.1), TerminologyCapabilities (hl7.fhir.r4.core#4.0.1), shareableplandefinition (hl7.fhir.r4.core#4.0.1), TestScript (hl7.fhir.r4.core#4.0.1), shareablemeasure (hl7.fhir.r4.core#4.0.1), OperationDefinition (hl7.fhir.r4.core#4.0.1), MetadataResource (hl7.fhir.r4.core#4.0.1), StructureDefinition (hl7.fhir.r4.core#4.0.1), shareableactivitydefinition (hl7.fhir.r4.core#4.0.1), StructureMap (hl7.fhir.r4.core#4.0.1), SearchParameter (hl7.fhir.r4.core#4.0.1), ResearchStudy (hl7.fhir.r4.core#4.0.1), ActivityDefinition (hl7.fhir.r4.core#4.0.1), ConceptMap (hl7.fhir.r4.core#4.0.1), ChargeItemDefinition (hl7.fhir.r4.core#4.0.1), MessageDefinition (hl7.fhir.r4.core#4.0.1), GraphDefinition (hl7.fhir.r4.core#4.0.1), ExampleScenario (hl7.fhir.r4.core#4.0.1), Questionnaire (hl7.fhir.r4.core#4.0.1), NamingSystem (hl7.fhir.r4.core#4.0.1), EffectEvidenceSynthesis (hl7.fhir.r4.core#4.0.1), ResearchDefinition (hl7.fhir.r4.core#4.0.1), ResearchElementDefinition (hl7.fhir.r4.core#4.0.1), RiskEvidenceSynthesis (hl7.fhir.r4.core#4.0.1), EventDefinition (hl7.fhir.r4.core#4.0.1), Measure (hl7.fhir.r4.core#4.0.1), Library (hl7.fhir.r4.core#4.0.1), ValueSet (hl7.fhir.r4.core#4.0.1), CapabilityStatement (hl7.fhir.r4.core#4.0.1), PlanDefinition (hl7.fhir.r4.core#4.0.1), CodeSystem (hl7.fhir.r4.core#4.0.1), EvidenceVariable (hl7.fhir.r4.core#4.0.1), shareablelibrary (hl7.fhir.r4.core#4.0.1), ImplementationGuide (hl7.fhir.r4.core#4.0.1), Evidence (hl7.fhir.r4.core#4.0.1), TerminologyCapabilities (hl7.fhir.r4.core#4.0.1), shareableplandefinition (hl7.fhir.r4.core#4.0.1), TestScript (hl7.fhir.r4.core#4.0.1), shareablemeasure (hl7.fhir.r4.core#4.0.1), OperationDefinition (hl7.fhir.r4.core#4.0.1), MetadataResource (hl7.fhir.r4.core#4.0.1), StructureDefinition (hl7.fhir.r4.core#4.0.1), shareableactivitydefinition (hl7.fhir.r4.core#4.0.1), StructureMap (hl7.fhir.r4.core#4.0.1), SearchParameter (hl7.fhir.r4.core#4.0.1), ResearchStudy (hl7.fhir.r4.core#4.0.1), ActivityDefinition (hl7.fhir.r4.core#4.0.1), ConceptMap (hl7.fhir.r4.core#4.0.1), ChargeItemDefinition (hl7.fhir.r4.core#4.0.1), MessageDefinition (hl7.fhir.r4.core#4.0.1), GraphDefinition (hl7.fhir.r4.core#4.0.1), ExampleScenario (hl7.fhir.r4.core#4.0.1), Questionnaire (hl7.fhir.r4.core#4.0.1), NamingSystem (hl7.fhir.r4.core#4.0.1), EffectEvidenceSynthesis (hl7.fhir.r4.core#4.0.1), ResearchDefinition (hl7.fhir.r4.core#4.0.1), ResearchElementDefinition (hl7.fhir.r4.core#4.0.1), RiskEvidenceSynthesis (hl7.fhir.r4.core#4.0.1), EventDefinition (hl7.fhir.r4.core#4.0.1), Measure (hl7.fhir.r4.core#4.0.1), Library (hl7.fhir.r4.core#4.0.1), ValueSet (hl7.fhir.r4.core#4.0.1), CapabilityStatement (hl7.fhir.r4.core#4.0.1), PlanDefinition (hl7.fhir.r4.core#4.0.1), CodeSystem (hl7.fhir.r4.core#4.0.1), EvidenceVariable (hl7.fhir.r4.core#4.0.1), shareablelibrary (hl7.fhir.r4.core#4.0.1), ImplementationGuide (hl7.fhir.r4.core#4.0.1), Evidence (hl7.fhir.r4.core#4.0.1), TerminologyCapabilities (hl7.fhir.r4.core#4.0.1), shareableplandefinition (hl7.fhir.r4.core#4.0.1), TestScript (hl7.fhir.r4.core#4.0.1), shareablemeasure (hl7.fhir.r4.core#4.0.1), OperationDefinition (hl7.fhir.r4.core#4.0.1), MetadataResource (hl7.fhir.r4.core#4.0.1), StructureDefinition (hl7.fhir.r4.core#4.0.1), shareableactivitydefinition (hl7.fhir.r4.core#4.0.1), StructureMap (hl7.fhir.r4.core#4.0.1), SearchParameter (hl7.fhir.r4.core#4.0.1), ResearchStudy (hl7.fhir.r4.core#4.0.1), ActivityDefinition (hl7.fhir.r4.core#4.0.1), ConceptMap (hl7.fhir.r4.core#4.0.1), ChargeItemDefinition (hl7.fhir.r4.core#4.0.1), MessageDefinition (hl7.fhir.r4.core#4.0.1), GraphDefinition (hl7.fhir.r4.core#4.0.1), ExampleScenario (hl7.fhir.r4.core#4.0.1), Questionnaire (hl7.fhir.r4.core#4.0.1), NamingSystem (hl7.fhir.r4.core#4.0.1), EffectEvidenceSynthesis (hl7.fhir.r4.core#4.0.1), ResearchDefinition (hl7.fhir.r4.core#4.0.1), ResearchElementDefinition (hl7.fhir.r4.core#4.0.1), RiskEvidenceSynthesis (hl7.fhir.r4.core#4.0.1), sdc-valueset (hl7.fhir.uv.sdc#3.0.0), sdc-codesystem (hl7.fhir.uv.sdc#3.0.0), sdc-questionnaire-search (hl7.fhir.uv.sdc#3.0.0) + - Version 2: EventDefinition (hl7.fhir.r5.core#5.0.0), Measure (hl7.fhir.r5.core#5.0.0), Library (hl7.fhir.r5.core#5.0.0), ValueSet (hl7.fhir.r5.core#5.0.0), CapabilityStatement (hl7.fhir.r5.core#5.0.0), publishablenamingsystem (hl7.fhir.r5.core#5.0.0), ObservationDefinition (hl7.fhir.r5.core#5.0.0), publishableconceptmap (hl7.fhir.r5.core#5.0.0), PlanDefinition (hl7.fhir.r5.core#5.0.0), CodeSystem (hl7.fhir.r5.core#5.0.0), publishablemeasure (hl7.fhir.r5.core#5.0.0), ImplementationGuide (hl7.fhir.r5.core#5.0.0), SpecimenDefinition (hl7.fhir.r5.core#5.0.0), TerminologyCapabilities (hl7.fhir.r5.core#5.0.0), TestScript (hl7.fhir.r5.core#5.0.0), TestPlan (hl7.fhir.r5.core#5.0.0), Citation (hl7.fhir.r5.core#5.0.0), publishableplandefinition (hl7.fhir.r5.core#5.0.0), Requirements (hl7.fhir.r5.core#5.0.0), OperationDefinition (hl7.fhir.r5.core#5.0.0), ActorDefinition (hl7.fhir.r5.core#5.0.0), publishableactivitydefinition (hl7.fhir.r5.core#5.0.0), StructureDefinition (hl7.fhir.r5.core#5.0.0), StructureMap (hl7.fhir.r5.core#5.0.0), SearchParameter (hl7.fhir.r5.core#5.0.0), ResearchStudy (hl7.fhir.r5.core#5.0.0), ActivityDefinition (hl7.fhir.r5.core#5.0.0), ConceptMap (hl7.fhir.r5.core#5.0.0), ChargeItemDefinition (hl7.fhir.r5.core#5.0.0), MessageDefinition (hl7.fhir.r5.core#5.0.0), publishablelibrary (hl7.fhir.r5.core#5.0.0), publishablevalueset (hl7.fhir.r5.core#5.0.0), GraphDefinition (hl7.fhir.r5.core#5.0.0), ExampleScenario (hl7.fhir.r5.core#5.0.0), ConditionDefinition (hl7.fhir.r5.core#5.0.0), CanonicalResource (hl7.fhir.r5.core#5.0.0), SubscriptionTopic (hl7.fhir.r5.core#5.0.0), Questionnaire (hl7.fhir.r5.core#5.0.0), NamingSystem (hl7.fhir.r5.core#5.0.0), EventDefinition (hl7.fhir.r5.core#5.0.0), Measure (hl7.fhir.r5.core#5.0.0), Library (hl7.fhir.r5.core#5.0.0), ValueSet (hl7.fhir.r5.core#5.0.0), CapabilityStatement (hl7.fhir.r5.core#5.0.0), publishablenamingsystem (hl7.fhir.r5.core#5.0.0), ObservationDefinition (hl7.fhir.r5.core#5.0.0), publishableconceptmap (hl7.fhir.r5.core#5.0.0), PlanDefinition (hl7.fhir.r5.core#5.0.0), CodeSystem (hl7.fhir.r5.core#5.0.0), publishablemeasure (hl7.fhir.r5.core#5.0.0), ImplementationGuide (hl7.fhir.r5.core#5.0.0), SpecimenDefinition (hl7.fhir.r5.core#5.0.0), TerminologyCapabilities (hl7.fhir.r5.core#5.0.0), TestScript (hl7.fhir.r5.core#5.0.0), TestPlan (hl7.fhir.r5.core#5.0.0), Citation (hl7.fhir.r5.core#5.0.0), publishableplandefinition (hl7.fhir.r5.core#5.0.0), Requirements (hl7.fhir.r5.core#5.0.0), OperationDefinition (hl7.fhir.r5.core#5.0.0), ActorDefinition (hl7.fhir.r5.core#5.0.0), publishableactivitydefinition (hl7.fhir.r5.core#5.0.0), StructureDefinition (hl7.fhir.r5.core#5.0.0), StructureMap (hl7.fhir.r5.core#5.0.0), SearchParameter (hl7.fhir.r5.core#5.0.0), ResearchStudy (hl7.fhir.r5.core#5.0.0), ActivityDefinition (hl7.fhir.r5.core#5.0.0), ConceptMap (hl7.fhir.r5.core#5.0.0), ChargeItemDefinition (hl7.fhir.r5.core#5.0.0), MessageDefinition (hl7.fhir.r5.core#5.0.0), publishablelibrary (hl7.fhir.r5.core#5.0.0), publishablevalueset (hl7.fhir.r5.core#5.0.0), GraphDefinition (hl7.fhir.r5.core#5.0.0), ExampleScenario (hl7.fhir.r5.core#5.0.0), ConditionDefinition (hl7.fhir.r5.core#5.0.0), CanonicalResource (hl7.fhir.r5.core#5.0.0), SubscriptionTopic (hl7.fhir.r5.core#5.0.0), Questionnaire (hl7.fhir.r5.core#5.0.0), NamingSystem (hl7.fhir.r5.core#5.0.0), EventDefinition (hl7.fhir.r5.core#5.0.0), Measure (hl7.fhir.r5.core#5.0.0), Library (hl7.fhir.r5.core#5.0.0), ValueSet (hl7.fhir.r5.core#5.0.0), CapabilityStatement (hl7.fhir.r5.core#5.0.0), publishablenamingsystem (hl7.fhir.r5.core#5.0.0), ObservationDefinition (hl7.fhir.r5.core#5.0.0), publishableconceptmap (hl7.fhir.r5.core#5.0.0), PlanDefinition (hl7.fhir.r5.core#5.0.0), CodeSystem (hl7.fhir.r5.core#5.0.0), publishablemeasure (hl7.fhir.r5.core#5.0.0), ImplementationGuide (hl7.fhir.r5.core#5.0.0), SpecimenDefinition (hl7.fhir.r5.core#5.0.0), TerminologyCapabilities (hl7.fhir.r5.core#5.0.0), TestScript (hl7.fhir.r5.core#5.0.0), TestPlan (hl7.fhir.r5.core#5.0.0), Citation (hl7.fhir.r5.core#5.0.0), publishableplandefinition (hl7.fhir.r5.core#5.0.0), Requirements (hl7.fhir.r5.core#5.0.0), OperationDefinition (hl7.fhir.r5.core#5.0.0), ActorDefinition (hl7.fhir.r5.core#5.0.0), publishableactivitydefinition (hl7.fhir.r5.core#5.0.0), StructureDefinition (hl7.fhir.r5.core#5.0.0), StructureMap (hl7.fhir.r5.core#5.0.0), SearchParameter (hl7.fhir.r5.core#5.0.0), ResearchStudy (hl7.fhir.r5.core#5.0.0), ActivityDefinition (hl7.fhir.r5.core#5.0.0), ConceptMap (hl7.fhir.r5.core#5.0.0), ChargeItemDefinition (hl7.fhir.r5.core#5.0.0), MessageDefinition (hl7.fhir.r5.core#5.0.0), publishablelibrary (hl7.fhir.r5.core#5.0.0), publishablevalueset (hl7.fhir.r5.core#5.0.0), GraphDefinition (hl7.fhir.r5.core#5.0.0), ExampleScenario (hl7.fhir.r5.core#5.0.0), ConditionDefinition (hl7.fhir.r5.core#5.0.0), CanonicalResource (hl7.fhir.r5.core#5.0.0), SubscriptionTopic (hl7.fhir.r5.core#5.0.0), Questionnaire (hl7.fhir.r5.core#5.0.0), NamingSystem (hl7.fhir.r5.core#5.0.0), publishablenamingsystem (hl7.fhir.r5.core#5.0.0), publishableconceptmap (hl7.fhir.r5.core#5.0.0), publishablemeasure (hl7.fhir.r5.core#5.0.0), TestPlan (hl7.fhir.r5.core#5.0.0), Citation (hl7.fhir.r5.core#5.0.0), publishableplandefinition (hl7.fhir.r5.core#5.0.0), Requirements (hl7.fhir.r5.core#5.0.0), ActorDefinition (hl7.fhir.r5.core#5.0.0), publishableactivitydefinition (hl7.fhir.r5.core#5.0.0), publishablelibrary (hl7.fhir.r5.core#5.0.0), publishablevalueset (hl7.fhir.r5.core#5.0.0), ConditionDefinition (hl7.fhir.r5.core#5.0.0), CanonicalResource (hl7.fhir.r5.core#5.0.0), SubscriptionTopic (hl7.fhir.r5.core#5.0.0), publishablenamingsystem (hl7.fhir.r5.core#5.0.0), publishableconceptmap (hl7.fhir.r5.core#5.0.0), publishablemeasure (hl7.fhir.r5.core#5.0.0), TestPlan (hl7.fhir.r5.core#5.0.0), Citation (hl7.fhir.r5.core#5.0.0), publishableplandefinition (hl7.fhir.r5.core#5.0.0), Requirements (hl7.fhir.r5.core#5.0.0), ActorDefinition (hl7.fhir.r5.core#5.0.0), publishableactivitydefinition (hl7.fhir.r5.core#5.0.0), publishablelibrary (hl7.fhir.r5.core#5.0.0), publishablevalueset (hl7.fhir.r5.core#5.0.0), ConditionDefinition (hl7.fhir.r5.core#5.0.0), CanonicalResource (hl7.fhir.r5.core#5.0.0), SubscriptionTopic (hl7.fhir.r5.core#5.0.0) + - Version 3: EventDefinition (hl7.fhir.r4.examples#4.0.1), Measure (hl7.fhir.r4.examples#4.0.1), Library (hl7.fhir.r4.examples#4.0.1), ValueSet (hl7.fhir.r4.examples#4.0.1), CapabilityStatement (hl7.fhir.r4.examples#4.0.1), PlanDefinition (hl7.fhir.r4.examples#4.0.1), CodeSystem (hl7.fhir.r4.examples#4.0.1), EvidenceVariable (hl7.fhir.r4.examples#4.0.1), shareablelibrary (hl7.fhir.r4.examples#4.0.1), ImplementationGuide (hl7.fhir.r4.examples#4.0.1), Evidence (hl7.fhir.r4.examples#4.0.1), TerminologyCapabilities (hl7.fhir.r4.examples#4.0.1), shareableplandefinition (hl7.fhir.r4.examples#4.0.1), TestScript (hl7.fhir.r4.examples#4.0.1), shareablemeasure (hl7.fhir.r4.examples#4.0.1), OperationDefinition (hl7.fhir.r4.examples#4.0.1), MetadataResource (hl7.fhir.r4.examples#4.0.1), StructureDefinition (hl7.fhir.r4.examples#4.0.1), shareableactivitydefinition (hl7.fhir.r4.examples#4.0.1), StructureMap (hl7.fhir.r4.examples#4.0.1), SearchParameter (hl7.fhir.r4.examples#4.0.1), ResearchStudy (hl7.fhir.r4.examples#4.0.1), ActivityDefinition (hl7.fhir.r4.examples#4.0.1), ConceptMap (hl7.fhir.r4.examples#4.0.1), ChargeItemDefinition (hl7.fhir.r4.examples#4.0.1), MessageDefinition (hl7.fhir.r4.examples#4.0.1), GraphDefinition (hl7.fhir.r4.examples#4.0.1), ExampleScenario (hl7.fhir.r4.examples#4.0.1), Questionnaire (hl7.fhir.r4.examples#4.0.1), NamingSystem (hl7.fhir.r4.examples#4.0.1), EffectEvidenceSynthesis (hl7.fhir.r4.examples#4.0.1), ResearchDefinition (hl7.fhir.r4.examples#4.0.1), ResearchElementDefinition (hl7.fhir.r4.examples#4.0.1), RiskEvidenceSynthesis (hl7.fhir.r4.examples#4.0.1) + - Version 4: MedicinalProductDefinition (hl7.fhir.r5.core#5.0.0), RegulatedAuthorization (hl7.fhir.r5.core#5.0.0), PackagedProductDefinition (hl7.fhir.r5.core#5.0.0), SubstanceDefinition (hl7.fhir.r5.core#5.0.0), MedicinalProductDefinition (hl7.fhir.r5.core#5.0.0), RegulatedAuthorization (hl7.fhir.r5.core#5.0.0), PackagedProductDefinition (hl7.fhir.r5.core#5.0.0), SubstanceDefinition (hl7.fhir.r5.core#5.0.0), MedicinalProductDefinition (hl7.fhir.r5.core#5.0.0), RegulatedAuthorization (hl7.fhir.r5.core#5.0.0), PackagedProductDefinition (hl7.fhir.r5.core#5.0.0), SubstanceDefinition (hl7.fhir.r5.core#5.0.0), MedicinalProductDefinition (hl7.fhir.r5.core#5.0.0), RegulatedAuthorization (hl7.fhir.r5.core#5.0.0), PackagedProductDefinition (hl7.fhir.r5.core#5.0.0), SubstanceDefinition (hl7.fhir.r5.core#5.0.0), MedicinalProductDefinition (hl7.fhir.r5.core#5.0.0), RegulatedAuthorization (hl7.fhir.r5.core#5.0.0), PackagedProductDefinition (hl7.fhir.r5.core#5.0.0), SubstanceDefinition (hl7.fhir.r5.core#5.0.0) +- `urn:fhir:binding:Language` (5 versions) + - Version 1: ValueSet (hl7.fhir.r4.core#4.0.1), Attachment (hl7.fhir.r4.core#4.0.1), CodeSystem (hl7.fhir.r4.core#4.0.1), Resource (hl7.fhir.r4.core#4.0.1), RelatedPerson (hl7.fhir.r4.core#4.0.1), ClaimResponse (hl7.fhir.r4.core#4.0.1), HealthcareService (hl7.fhir.r4.core#4.0.1), Practitioner (hl7.fhir.r4.core#4.0.1), Patient (hl7.fhir.r4.core#4.0.1), ExplanationOfBenefit (hl7.fhir.r4.core#4.0.1), ValueSet (hl7.fhir.r4.core#4.0.1), Attachment (hl7.fhir.r4.core#4.0.1), CodeSystem (hl7.fhir.r4.core#4.0.1), Resource (hl7.fhir.r4.core#4.0.1), RelatedPerson (hl7.fhir.r4.core#4.0.1), ClaimResponse (hl7.fhir.r4.core#4.0.1), HealthcareService (hl7.fhir.r4.core#4.0.1), Practitioner (hl7.fhir.r4.core#4.0.1), Patient (hl7.fhir.r4.core#4.0.1), ExplanationOfBenefit (hl7.fhir.r4.core#4.0.1), ValueSet (hl7.fhir.r4.core#4.0.1), Attachment (hl7.fhir.r4.core#4.0.1), CodeSystem (hl7.fhir.r4.core#4.0.1), Resource (hl7.fhir.r4.core#4.0.1), RelatedPerson (hl7.fhir.r4.core#4.0.1), ClaimResponse (hl7.fhir.r4.core#4.0.1), HealthcareService (hl7.fhir.r4.core#4.0.1), Practitioner (hl7.fhir.r4.core#4.0.1), Patient (hl7.fhir.r4.core#4.0.1), ExplanationOfBenefit (hl7.fhir.r4.core#4.0.1), ValueSet (hl7.fhir.r4.core#4.0.1), Attachment (hl7.fhir.r4.core#4.0.1), CodeSystem (hl7.fhir.r4.core#4.0.1), Resource (hl7.fhir.r4.core#4.0.1), RelatedPerson (hl7.fhir.r4.core#4.0.1), ClaimResponse (hl7.fhir.r4.core#4.0.1), HealthcareService (hl7.fhir.r4.core#4.0.1), Practitioner (hl7.fhir.r4.core#4.0.1), Patient (hl7.fhir.r4.core#4.0.1), ExplanationOfBenefit (hl7.fhir.r4.core#4.0.1), ValueSet (hl7.fhir.r4.core#4.0.1), Attachment (hl7.fhir.r4.core#4.0.1), CodeSystem (hl7.fhir.r4.core#4.0.1), Resource (hl7.fhir.r4.core#4.0.1), RelatedPerson (hl7.fhir.r4.core#4.0.1), ClaimResponse (hl7.fhir.r4.core#4.0.1), HealthcareService (hl7.fhir.r4.core#4.0.1), Practitioner (hl7.fhir.r4.core#4.0.1), Patient (hl7.fhir.r4.core#4.0.1), ExplanationOfBenefit (hl7.fhir.r4.core#4.0.1), ValueSet (hl7.fhir.r4.core#4.0.1), Attachment (hl7.fhir.r4.core#4.0.1), CodeSystem (hl7.fhir.r4.core#4.0.1), Resource (hl7.fhir.r4.core#4.0.1), RelatedPerson (hl7.fhir.r4.core#4.0.1), ClaimResponse (hl7.fhir.r4.core#4.0.1), HealthcareService (hl7.fhir.r4.core#4.0.1), Practitioner (hl7.fhir.r4.core#4.0.1), Patient (hl7.fhir.r4.core#4.0.1), ExplanationOfBenefit (hl7.fhir.r4.core#4.0.1), ValueSet (hl7.fhir.r4.core#4.0.1), Attachment (hl7.fhir.r4.core#4.0.1), CodeSystem (hl7.fhir.r4.core#4.0.1), Resource (hl7.fhir.r4.core#4.0.1), RelatedPerson (hl7.fhir.r4.core#4.0.1), ClaimResponse (hl7.fhir.r4.core#4.0.1), HealthcareService (hl7.fhir.r4.core#4.0.1), Practitioner (hl7.fhir.r4.core#4.0.1), Patient (hl7.fhir.r4.core#4.0.1), ExplanationOfBenefit (hl7.fhir.r4.core#4.0.1), sdc-codesystem (hl7.fhir.uv.sdc#3.0.0), ValueSet (hl7.fhir.r4.core#4.0.1), Attachment (hl7.fhir.r4.core#4.0.1), CodeSystem (hl7.fhir.r4.core#4.0.1), Resource (hl7.fhir.r4.core#4.0.1), RelatedPerson (hl7.fhir.r4.core#4.0.1), ClaimResponse (hl7.fhir.r4.core#4.0.1), HealthcareService (hl7.fhir.r4.core#4.0.1), Practitioner (hl7.fhir.r4.core#4.0.1), Patient (hl7.fhir.r4.core#4.0.1), ExplanationOfBenefit (hl7.fhir.r4.core#4.0.1), ValueSet (hl7.fhir.r4.core#4.0.1), Attachment (hl7.fhir.r4.core#4.0.1), CodeSystem (hl7.fhir.r4.core#4.0.1), Resource (hl7.fhir.r4.core#4.0.1), RelatedPerson (hl7.fhir.r4.core#4.0.1), ClaimResponse (hl7.fhir.r4.core#4.0.1), HealthcareService (hl7.fhir.r4.core#4.0.1), Practitioner (hl7.fhir.r4.core#4.0.1), Patient (hl7.fhir.r4.core#4.0.1), ExplanationOfBenefit (hl7.fhir.r4.core#4.0.1), ValueSet (hl7.fhir.r4.core#4.0.1), Attachment (hl7.fhir.r4.core#4.0.1), CodeSystem (hl7.fhir.r4.core#4.0.1), Resource (hl7.fhir.r4.core#4.0.1), RelatedPerson (hl7.fhir.r4.core#4.0.1), ClaimResponse (hl7.fhir.r4.core#4.0.1), HealthcareService (hl7.fhir.r4.core#4.0.1), Practitioner (hl7.fhir.r4.core#4.0.1), Patient (hl7.fhir.r4.core#4.0.1), ExplanationOfBenefit (hl7.fhir.r4.core#4.0.1), sdc-codesystem (hl7.fhir.uv.sdc#3.0.0) + - Version 2: ValueSet (hl7.fhir.r5.core#5.0.0), CapabilityStatement (hl7.fhir.r5.core#5.0.0), Attachment (hl7.fhir.r5.core#5.0.0), CodeSystem (hl7.fhir.r5.core#5.0.0), PractitionerRole (hl7.fhir.r5.core#5.0.0), Resource (hl7.fhir.r5.core#5.0.0), MedicinalProductDefinition (hl7.fhir.r5.core#5.0.0), RelatedPerson (hl7.fhir.r5.core#5.0.0), ClaimResponse (hl7.fhir.r5.core#5.0.0), HealthcareService (hl7.fhir.r5.core#5.0.0), Practitioner (hl7.fhir.r5.core#5.0.0), Patient (hl7.fhir.r5.core#5.0.0), SubstanceDefinition (hl7.fhir.r5.core#5.0.0), Person (hl7.fhir.r5.core#5.0.0), ExplanationOfBenefit (hl7.fhir.r5.core#5.0.0), ValueSet (hl7.fhir.r5.core#5.0.0), CapabilityStatement (hl7.fhir.r5.core#5.0.0), Attachment (hl7.fhir.r5.core#5.0.0), CodeSystem (hl7.fhir.r5.core#5.0.0), PractitionerRole (hl7.fhir.r5.core#5.0.0), Resource (hl7.fhir.r5.core#5.0.0), MedicinalProductDefinition (hl7.fhir.r5.core#5.0.0), RelatedPerson (hl7.fhir.r5.core#5.0.0), ClaimResponse (hl7.fhir.r5.core#5.0.0), HealthcareService (hl7.fhir.r5.core#5.0.0), Practitioner (hl7.fhir.r5.core#5.0.0), Patient (hl7.fhir.r5.core#5.0.0), SubstanceDefinition (hl7.fhir.r5.core#5.0.0), Person (hl7.fhir.r5.core#5.0.0), ExplanationOfBenefit (hl7.fhir.r5.core#5.0.0), ValueSet (hl7.fhir.r5.core#5.0.0), CapabilityStatement (hl7.fhir.r5.core#5.0.0), Attachment (hl7.fhir.r5.core#5.0.0), CodeSystem (hl7.fhir.r5.core#5.0.0), PractitionerRole (hl7.fhir.r5.core#5.0.0), Resource (hl7.fhir.r5.core#5.0.0), MedicinalProductDefinition (hl7.fhir.r5.core#5.0.0), RelatedPerson (hl7.fhir.r5.core#5.0.0), ClaimResponse (hl7.fhir.r5.core#5.0.0), HealthcareService (hl7.fhir.r5.core#5.0.0), Practitioner (hl7.fhir.r5.core#5.0.0), Patient (hl7.fhir.r5.core#5.0.0), SubstanceDefinition (hl7.fhir.r5.core#5.0.0), Person (hl7.fhir.r5.core#5.0.0), ExplanationOfBenefit (hl7.fhir.r5.core#5.0.0), MedicinalProductDefinition (hl7.fhir.r5.core#5.0.0), SubstanceDefinition (hl7.fhir.r5.core#5.0.0), MedicinalProductDefinition (hl7.fhir.r5.core#5.0.0), SubstanceDefinition (hl7.fhir.r5.core#5.0.0) + - Version 3: ValueSet (hl7.fhir.r4.examples#4.0.1), Attachment (hl7.fhir.r4.examples#4.0.1), CodeSystem (hl7.fhir.r4.examples#4.0.1), Resource (hl7.fhir.r4.examples#4.0.1), RelatedPerson (hl7.fhir.r4.examples#4.0.1), ClaimResponse (hl7.fhir.r4.examples#4.0.1), HealthcareService (hl7.fhir.r4.examples#4.0.1), Practitioner (hl7.fhir.r4.examples#4.0.1), Patient (hl7.fhir.r4.examples#4.0.1), ExplanationOfBenefit (hl7.fhir.r4.examples#4.0.1) + - Version 4: Citation (hl7.fhir.r5.core#5.0.0), Citation (hl7.fhir.r5.core#5.0.0), Citation (hl7.fhir.r5.core#5.0.0), Citation (hl7.fhir.r5.core#5.0.0), Citation (hl7.fhir.r5.core#5.0.0) + - Version 5: TerminologyCapabilities (hl7.fhir.r5.core#5.0.0), TerminologyCapabilities (hl7.fhir.r5.core#5.0.0), TerminologyCapabilities (hl7.fhir.r5.core#5.0.0) +- `urn:fhir:binding:Laterality` (3 versions) + - Version 1: ImagingStudy (hl7.fhir.r4.core#4.0.1), ImagingStudy (hl7.fhir.r4.core#4.0.1), ImagingStudy (hl7.fhir.r4.core#4.0.1), ImagingStudy (hl7.fhir.r4.core#4.0.1), ImagingStudy (hl7.fhir.r4.core#4.0.1), ImagingStudy (hl7.fhir.r4.core#4.0.1), ImagingStudy (hl7.fhir.r4.core#4.0.1), ImagingStudy (hl7.fhir.r4.core#4.0.1), ImagingStudy (hl7.fhir.r4.core#4.0.1), ImagingStudy (hl7.fhir.r4.core#4.0.1) + - Version 2: ImagingStudy (hl7.fhir.r5.core#5.0.0), ImagingStudy (hl7.fhir.r5.core#5.0.0), ImagingStudy (hl7.fhir.r5.core#5.0.0) + - Version 3: ImagingStudy (hl7.fhir.r4.examples#4.0.1) +- `urn:fhir:binding:LDLCodes` (3 versions) + - Version 1: ldlcholesterol (hl7.fhir.r4.core#4.0.1), ldlcholesterol (hl7.fhir.r4.core#4.0.1), ldlcholesterol (hl7.fhir.r4.core#4.0.1), ldlcholesterol (hl7.fhir.r4.core#4.0.1), ldlcholesterol (hl7.fhir.r4.core#4.0.1), ldlcholesterol (hl7.fhir.r4.core#4.0.1), ldlcholesterol (hl7.fhir.r4.core#4.0.1), ldlcholesterol (hl7.fhir.r4.core#4.0.1), ldlcholesterol (hl7.fhir.r4.core#4.0.1), ldlcholesterol (hl7.fhir.r4.core#4.0.1) + - Version 2: ldlcholesterol (hl7.fhir.r5.core#5.0.0), ldlcholesterol (hl7.fhir.r5.core#5.0.0), ldlcholesterol (hl7.fhir.r5.core#5.0.0) + - Version 3: ldlcholesterol (hl7.fhir.r4.examples#4.0.1) +- `urn:fhir:binding:LibraryType` (3 versions) + - Version 1: Library (hl7.fhir.r5.core#5.0.0), modelinfolibrary (hl7.fhir.r5.core#5.0.0), moduledefinitionlibrary (hl7.fhir.r5.core#5.0.0), logiclibrary (hl7.fhir.r5.core#5.0.0), publishablelibrary (hl7.fhir.r5.core#5.0.0), Library (hl7.fhir.r5.core#5.0.0), modelinfolibrary (hl7.fhir.r5.core#5.0.0), moduledefinitionlibrary (hl7.fhir.r5.core#5.0.0), logiclibrary (hl7.fhir.r5.core#5.0.0), publishablelibrary (hl7.fhir.r5.core#5.0.0), Library (hl7.fhir.r5.core#5.0.0), modelinfolibrary (hl7.fhir.r5.core#5.0.0), moduledefinitionlibrary (hl7.fhir.r5.core#5.0.0), logiclibrary (hl7.fhir.r5.core#5.0.0), publishablelibrary (hl7.fhir.r5.core#5.0.0), modelinfolibrary (hl7.fhir.r5.core#5.0.0), moduledefinitionlibrary (hl7.fhir.r5.core#5.0.0), logiclibrary (hl7.fhir.r5.core#5.0.0), publishablelibrary (hl7.fhir.r5.core#5.0.0), modelinfolibrary (hl7.fhir.r5.core#5.0.0), moduledefinitionlibrary (hl7.fhir.r5.core#5.0.0), logiclibrary (hl7.fhir.r5.core#5.0.0), publishablelibrary (hl7.fhir.r5.core#5.0.0) + - Version 2: cqllibrary (hl7.fhir.r4.core#4.0.1), Library (hl7.fhir.r4.core#4.0.1), cqllibrary (hl7.fhir.r4.core#4.0.1), Library (hl7.fhir.r4.core#4.0.1), cqllibrary (hl7.fhir.r4.core#4.0.1), Library (hl7.fhir.r4.core#4.0.1), cqllibrary (hl7.fhir.r4.core#4.0.1), Library (hl7.fhir.r4.core#4.0.1), cqllibrary (hl7.fhir.r4.core#4.0.1), Library (hl7.fhir.r4.core#4.0.1), cqllibrary (hl7.fhir.r4.core#4.0.1), Library (hl7.fhir.r4.core#4.0.1), cqllibrary (hl7.fhir.r4.core#4.0.1), Library (hl7.fhir.r4.core#4.0.1), cqllibrary (hl7.fhir.r4.core#4.0.1), Library (hl7.fhir.r4.core#4.0.1), cqllibrary (hl7.fhir.r4.core#4.0.1), Library (hl7.fhir.r4.core#4.0.1), cqllibrary (hl7.fhir.r4.core#4.0.1), Library (hl7.fhir.r4.core#4.0.1) + - Version 3: cqllibrary (hl7.fhir.r4.examples#4.0.1), Library (hl7.fhir.r4.examples#4.0.1) +- `urn:fhir:binding:LinkageType` (3 versions) + - Version 1: Linkage (hl7.fhir.r4.core#4.0.1), Linkage (hl7.fhir.r4.core#4.0.1), Linkage (hl7.fhir.r4.core#4.0.1), Linkage (hl7.fhir.r4.core#4.0.1), Linkage (hl7.fhir.r4.core#4.0.1), Linkage (hl7.fhir.r4.core#4.0.1), Linkage (hl7.fhir.r4.core#4.0.1), Linkage (hl7.fhir.r4.core#4.0.1), Linkage (hl7.fhir.r4.core#4.0.1), Linkage (hl7.fhir.r4.core#4.0.1) + - Version 2: Linkage (hl7.fhir.r5.core#5.0.0), Linkage (hl7.fhir.r5.core#5.0.0), Linkage (hl7.fhir.r5.core#5.0.0) + - Version 3: Linkage (hl7.fhir.r4.examples#4.0.1) +- `urn:fhir:binding:LinkType` (3 versions) + - Version 1: Patient (hl7.fhir.r4.core#4.0.1), Patient (hl7.fhir.r4.core#4.0.1), Patient (hl7.fhir.r4.core#4.0.1), Patient (hl7.fhir.r4.core#4.0.1), Patient (hl7.fhir.r4.core#4.0.1), Patient (hl7.fhir.r4.core#4.0.1), Patient (hl7.fhir.r4.core#4.0.1), Patient (hl7.fhir.r4.core#4.0.1), Patient (hl7.fhir.r4.core#4.0.1), Patient (hl7.fhir.r4.core#4.0.1) + - Version 2: Patient (hl7.fhir.r5.core#5.0.0), Patient (hl7.fhir.r5.core#5.0.0), Patient (hl7.fhir.r5.core#5.0.0) + - Version 3: Patient (hl7.fhir.r4.examples#4.0.1) +- `urn:fhir:binding:ListEmptyReason` (3 versions) + - Version 1: List (hl7.fhir.r4.core#4.0.1), List (hl7.fhir.r4.core#4.0.1), List (hl7.fhir.r4.core#4.0.1), List (hl7.fhir.r4.core#4.0.1), List (hl7.fhir.r4.core#4.0.1), List (hl7.fhir.r4.core#4.0.1), List (hl7.fhir.r4.core#4.0.1), List (hl7.fhir.r4.core#4.0.1), List (hl7.fhir.r4.core#4.0.1), List (hl7.fhir.r4.core#4.0.1) + - Version 2: List (hl7.fhir.r5.core#5.0.0), List (hl7.fhir.r5.core#5.0.0), List (hl7.fhir.r5.core#5.0.0) + - Version 3: List (hl7.fhir.r4.examples#4.0.1) +- `urn:fhir:binding:ListItemFlag` (3 versions) + - Version 1: List (hl7.fhir.r4.core#4.0.1), List (hl7.fhir.r4.core#4.0.1), List (hl7.fhir.r4.core#4.0.1), List (hl7.fhir.r4.core#4.0.1), List (hl7.fhir.r4.core#4.0.1), List (hl7.fhir.r4.core#4.0.1), List (hl7.fhir.r4.core#4.0.1), List (hl7.fhir.r4.core#4.0.1), List (hl7.fhir.r4.core#4.0.1), List (hl7.fhir.r4.core#4.0.1) + - Version 2: List (hl7.fhir.r5.core#5.0.0), List (hl7.fhir.r5.core#5.0.0), List (hl7.fhir.r5.core#5.0.0) + - Version 3: List (hl7.fhir.r4.examples#4.0.1) +- `urn:fhir:binding:ListMode` (3 versions) + - Version 1: List (hl7.fhir.r4.core#4.0.1), List (hl7.fhir.r4.core#4.0.1), List (hl7.fhir.r4.core#4.0.1), List (hl7.fhir.r4.core#4.0.1), List (hl7.fhir.r4.core#4.0.1), List (hl7.fhir.r4.core#4.0.1), List (hl7.fhir.r4.core#4.0.1), List (hl7.fhir.r4.core#4.0.1), List (hl7.fhir.r4.core#4.0.1), List (hl7.fhir.r4.core#4.0.1) + - Version 2: List (hl7.fhir.r5.core#5.0.0), List (hl7.fhir.r5.core#5.0.0), List (hl7.fhir.r5.core#5.0.0) + - Version 3: List (hl7.fhir.r4.examples#4.0.1) +- `urn:fhir:binding:ListOrder` (3 versions) + - Version 1: List (hl7.fhir.r4.core#4.0.1), List (hl7.fhir.r4.core#4.0.1), List (hl7.fhir.r4.core#4.0.1), List (hl7.fhir.r4.core#4.0.1), List (hl7.fhir.r4.core#4.0.1), List (hl7.fhir.r4.core#4.0.1), List (hl7.fhir.r4.core#4.0.1), List (hl7.fhir.r4.core#4.0.1), List (hl7.fhir.r4.core#4.0.1), List (hl7.fhir.r4.core#4.0.1) + - Version 2: List (hl7.fhir.r5.core#5.0.0), List (hl7.fhir.r5.core#5.0.0), List (hl7.fhir.r5.core#5.0.0) + - Version 3: List (hl7.fhir.r4.examples#4.0.1) +- `urn:fhir:binding:ListPurpose` (3 versions) + - Version 1: List (hl7.fhir.r4.core#4.0.1), List (hl7.fhir.r4.core#4.0.1), List (hl7.fhir.r4.core#4.0.1), List (hl7.fhir.r4.core#4.0.1), List (hl7.fhir.r4.core#4.0.1), List (hl7.fhir.r4.core#4.0.1), List (hl7.fhir.r4.core#4.0.1), List (hl7.fhir.r4.core#4.0.1), List (hl7.fhir.r4.core#4.0.1), List (hl7.fhir.r4.core#4.0.1) + - Version 2: List (hl7.fhir.r5.core#5.0.0), List (hl7.fhir.r5.core#5.0.0), List (hl7.fhir.r5.core#5.0.0) + - Version 3: List (hl7.fhir.r4.examples#4.0.1) +- `urn:fhir:binding:ListStatus` (3 versions) + - Version 1: List (hl7.fhir.r4.core#4.0.1), List (hl7.fhir.r4.core#4.0.1), List (hl7.fhir.r4.core#4.0.1), List (hl7.fhir.r4.core#4.0.1), List (hl7.fhir.r4.core#4.0.1), List (hl7.fhir.r4.core#4.0.1), List (hl7.fhir.r4.core#4.0.1), List (hl7.fhir.r4.core#4.0.1), List (hl7.fhir.r4.core#4.0.1), List (hl7.fhir.r4.core#4.0.1) + - Version 2: List (hl7.fhir.r5.core#5.0.0), List (hl7.fhir.r5.core#5.0.0), List (hl7.fhir.r5.core#5.0.0) + - Version 3: List (hl7.fhir.r4.examples#4.0.1) +- `urn:fhir:binding:LocationMode` (3 versions) + - Version 1: Location (hl7.fhir.r4.core#4.0.1), Location (hl7.fhir.r4.core#4.0.1), Location (hl7.fhir.r4.core#4.0.1), Location (hl7.fhir.r4.core#4.0.1), Location (hl7.fhir.r4.core#4.0.1), Location (hl7.fhir.r4.core#4.0.1), Location (hl7.fhir.r4.core#4.0.1), Location (hl7.fhir.r4.core#4.0.1), Location (hl7.fhir.r4.core#4.0.1), Location (hl7.fhir.r4.core#4.0.1) + - Version 2: Location (hl7.fhir.r5.core#5.0.0), Location (hl7.fhir.r5.core#5.0.0), Location (hl7.fhir.r5.core#5.0.0) + - Version 3: Location (hl7.fhir.r4.examples#4.0.1) +- `urn:fhir:binding:LocationStatus` (3 versions) + - Version 1: Location (hl7.fhir.r4.core#4.0.1), Location (hl7.fhir.r4.core#4.0.1), Location (hl7.fhir.r4.core#4.0.1), Location (hl7.fhir.r4.core#4.0.1), Location (hl7.fhir.r4.core#4.0.1), Location (hl7.fhir.r4.core#4.0.1), Location (hl7.fhir.r4.core#4.0.1), Location (hl7.fhir.r4.core#4.0.1), Location (hl7.fhir.r4.core#4.0.1), us-core-location (hl7.fhir.us.core#8.0.1), Location (hl7.fhir.r4.core#4.0.1) + - Version 2: Location (hl7.fhir.r5.core#5.0.0), Location (hl7.fhir.r5.core#5.0.0), Location (hl7.fhir.r5.core#5.0.0) + - Version 3: Location (hl7.fhir.r4.examples#4.0.1) +- `urn:fhir:binding:LocationType` (2 versions) + - Version 1: Location (hl7.fhir.r4.core#4.0.1), Location (hl7.fhir.r4.core#4.0.1), Location (hl7.fhir.r4.core#4.0.1), Location (hl7.fhir.r5.core#5.0.0), Location (hl7.fhir.r5.core#5.0.0), Location (hl7.fhir.r5.core#5.0.0), Location (hl7.fhir.r4.core#4.0.1), Location (hl7.fhir.r4.core#4.0.1), Location (hl7.fhir.r4.core#4.0.1), Location (hl7.fhir.r4.core#4.0.1), Location (hl7.fhir.r4.core#4.0.1), Location (hl7.fhir.r4.core#4.0.1), Location (hl7.fhir.r4.core#4.0.1) + - Version 2: Location (hl7.fhir.r4.examples#4.0.1) +- `urn:fhir:binding:Manifestation` (3 versions) + - Version 1: AllergyIntolerance (hl7.fhir.r4.core#4.0.1), AllergyIntolerance (hl7.fhir.r4.core#4.0.1), AllergyIntolerance (hl7.fhir.r4.core#4.0.1), AllergyIntolerance (hl7.fhir.r4.core#4.0.1), AllergyIntolerance (hl7.fhir.r4.core#4.0.1), AllergyIntolerance (hl7.fhir.r4.core#4.0.1), AllergyIntolerance (hl7.fhir.r4.core#4.0.1), AllergyIntolerance (hl7.fhir.r4.core#4.0.1), AllergyIntolerance (hl7.fhir.r4.core#4.0.1), AllergyIntolerance (hl7.fhir.r4.core#4.0.1) + - Version 2: AllergyIntolerance (hl7.fhir.r5.core#5.0.0), AllergyIntolerance (hl7.fhir.r5.core#5.0.0), AllergyIntolerance (hl7.fhir.r5.core#5.0.0) + - Version 3: AllergyIntolerance (hl7.fhir.r4.examples#4.0.1) +- `urn:fhir:binding:ManifestationOrSymptom` (3 versions) + - Version 1: Condition (hl7.fhir.r4.core#4.0.1), Condition (hl7.fhir.r4.core#4.0.1), Condition (hl7.fhir.r4.core#4.0.1), Condition (hl7.fhir.r4.core#4.0.1), Condition (hl7.fhir.r4.core#4.0.1), Condition (hl7.fhir.r4.core#4.0.1), Condition (hl7.fhir.r4.core#4.0.1), Condition (hl7.fhir.r4.core#4.0.1), Condition (hl7.fhir.r4.core#4.0.1), Condition (hl7.fhir.r4.core#4.0.1) + - Version 2: Condition (hl7.fhir.r5.core#5.0.0), Condition (hl7.fhir.r5.core#5.0.0), Condition (hl7.fhir.r5.core#5.0.0) + - Version 3: Condition (hl7.fhir.r4.examples#4.0.1) +- `urn:fhir:binding:MaritalStatus` (3 versions) + - Version 1: Patient (hl7.fhir.r4.core#4.0.1), Patient (hl7.fhir.r4.core#4.0.1), Patient (hl7.fhir.r4.core#4.0.1), Patient (hl7.fhir.r4.core#4.0.1), Patient (hl7.fhir.r4.core#4.0.1), Patient (hl7.fhir.r4.core#4.0.1), Patient (hl7.fhir.r4.core#4.0.1), Patient (hl7.fhir.r4.core#4.0.1), Patient (hl7.fhir.r4.core#4.0.1), Patient (hl7.fhir.r4.core#4.0.1) + - Version 2: Patient (hl7.fhir.r5.core#5.0.0), Person (hl7.fhir.r5.core#5.0.0), Patient (hl7.fhir.r5.core#5.0.0), Person (hl7.fhir.r5.core#5.0.0), Patient (hl7.fhir.r5.core#5.0.0), Person (hl7.fhir.r5.core#5.0.0) + - Version 3: Patient (hl7.fhir.r4.examples#4.0.1) +- `urn:fhir:binding:MeasureDataUsage` (3 versions) + - Version 1: Measure (hl7.fhir.r4.core#4.0.1), Measure (hl7.fhir.r4.core#4.0.1), Measure (hl7.fhir.r4.core#4.0.1), Measure (hl7.fhir.r4.core#4.0.1), Measure (hl7.fhir.r4.core#4.0.1), Measure (hl7.fhir.r4.core#4.0.1), Measure (hl7.fhir.r4.core#4.0.1), Measure (hl7.fhir.r4.core#4.0.1), Measure (hl7.fhir.r4.core#4.0.1), Measure (hl7.fhir.r4.core#4.0.1) + - Version 2: Measure (hl7.fhir.r5.core#5.0.0), Measure (hl7.fhir.r5.core#5.0.0), Measure (hl7.fhir.r5.core#5.0.0) + - Version 3: Measure (hl7.fhir.r4.examples#4.0.1) +- `urn:fhir:binding:MeasureImprovementNotation` (3 versions) + - Version 1: Measure (hl7.fhir.r4.core#4.0.1), MeasureReport (hl7.fhir.r4.core#4.0.1), Measure (hl7.fhir.r4.core#4.0.1), MeasureReport (hl7.fhir.r4.core#4.0.1), Measure (hl7.fhir.r4.core#4.0.1), MeasureReport (hl7.fhir.r4.core#4.0.1), Measure (hl7.fhir.r4.core#4.0.1), MeasureReport (hl7.fhir.r4.core#4.0.1), Measure (hl7.fhir.r4.core#4.0.1), MeasureReport (hl7.fhir.r4.core#4.0.1), Measure (hl7.fhir.r4.core#4.0.1), MeasureReport (hl7.fhir.r4.core#4.0.1), Measure (hl7.fhir.r4.core#4.0.1), MeasureReport (hl7.fhir.r4.core#4.0.1), Measure (hl7.fhir.r4.core#4.0.1), MeasureReport (hl7.fhir.r4.core#4.0.1), Measure (hl7.fhir.r4.core#4.0.1), MeasureReport (hl7.fhir.r4.core#4.0.1), Measure (hl7.fhir.r4.core#4.0.1), MeasureReport (hl7.fhir.r4.core#4.0.1) + - Version 2: Measure (hl7.fhir.r5.core#5.0.0), MeasureReport (hl7.fhir.r5.core#5.0.0), Measure (hl7.fhir.r5.core#5.0.0), MeasureReport (hl7.fhir.r5.core#5.0.0), Measure (hl7.fhir.r5.core#5.0.0), MeasureReport (hl7.fhir.r5.core#5.0.0) + - Version 3: Measure (hl7.fhir.r4.examples#4.0.1), MeasureReport (hl7.fhir.r4.examples#4.0.1) +- `urn:fhir:binding:MeasurePopulation` (3 versions) + - Version 1: MeasureReport (hl7.fhir.r4.core#4.0.1), MeasureReport (hl7.fhir.r4.core#4.0.1), MeasureReport (hl7.fhir.r4.core#4.0.1), MeasureReport (hl7.fhir.r4.core#4.0.1), MeasureReport (hl7.fhir.r4.core#4.0.1), MeasureReport (hl7.fhir.r4.core#4.0.1), MeasureReport (hl7.fhir.r4.core#4.0.1), MeasureReport (hl7.fhir.r4.core#4.0.1), MeasureReport (hl7.fhir.r4.core#4.0.1), MeasureReport (hl7.fhir.r4.core#4.0.1) + - Version 2: MeasureReport (hl7.fhir.r5.core#5.0.0), MeasureReport (hl7.fhir.r5.core#5.0.0), MeasureReport (hl7.fhir.r5.core#5.0.0) + - Version 3: MeasureReport (hl7.fhir.r4.examples#4.0.1) +- `urn:fhir:binding:MeasurePopulationType` (3 versions) + - Version 1: Measure (hl7.fhir.r4.core#4.0.1), Measure (hl7.fhir.r4.core#4.0.1), Measure (hl7.fhir.r4.core#4.0.1), Measure (hl7.fhir.r4.core#4.0.1), Measure (hl7.fhir.r4.core#4.0.1), Measure (hl7.fhir.r4.core#4.0.1), Measure (hl7.fhir.r4.core#4.0.1), Measure (hl7.fhir.r4.core#4.0.1), Measure (hl7.fhir.r4.core#4.0.1), Measure (hl7.fhir.r4.core#4.0.1) + - Version 2: Measure (hl7.fhir.r5.core#5.0.0), Measure (hl7.fhir.r5.core#5.0.0), Measure (hl7.fhir.r5.core#5.0.0) + - Version 3: Measure (hl7.fhir.r4.examples#4.0.1) +- `urn:fhir:binding:MeasureReportStatus` (3 versions) + - Version 1: MeasureReport (hl7.fhir.r4.core#4.0.1), MeasureReport (hl7.fhir.r4.core#4.0.1), MeasureReport (hl7.fhir.r4.core#4.0.1), MeasureReport (hl7.fhir.r4.core#4.0.1), MeasureReport (hl7.fhir.r4.core#4.0.1), MeasureReport (hl7.fhir.r4.core#4.0.1), MeasureReport (hl7.fhir.r4.core#4.0.1), MeasureReport (hl7.fhir.r4.core#4.0.1), MeasureReport (hl7.fhir.r4.core#4.0.1), MeasureReport (hl7.fhir.r4.core#4.0.1) + - Version 2: MeasureReport (hl7.fhir.r5.core#5.0.0), MeasureReport (hl7.fhir.r5.core#5.0.0), MeasureReport (hl7.fhir.r5.core#5.0.0) + - Version 3: MeasureReport (hl7.fhir.r4.examples#4.0.1) +- `urn:fhir:binding:MeasureReportType` (3 versions) + - Version 1: MeasureReport (hl7.fhir.r4.core#4.0.1), MeasureReport (hl7.fhir.r4.core#4.0.1), MeasureReport (hl7.fhir.r4.core#4.0.1), MeasureReport (hl7.fhir.r4.core#4.0.1), MeasureReport (hl7.fhir.r4.core#4.0.1), MeasureReport (hl7.fhir.r4.core#4.0.1), MeasureReport (hl7.fhir.r4.core#4.0.1), MeasureReport (hl7.fhir.r4.core#4.0.1), MeasureReport (hl7.fhir.r4.core#4.0.1), MeasureReport (hl7.fhir.r4.core#4.0.1) + - Version 2: MeasureReport (hl7.fhir.r5.core#5.0.0), MeasureReport (hl7.fhir.r5.core#5.0.0), MeasureReport (hl7.fhir.r5.core#5.0.0) + - Version 3: MeasureReport (hl7.fhir.r4.examples#4.0.1) +- `urn:fhir:binding:MeasureScoring` (3 versions) + - Version 1: Measure (hl7.fhir.r4.core#4.0.1), Measure (hl7.fhir.r4.core#4.0.1), Measure (hl7.fhir.r4.core#4.0.1), Measure (hl7.fhir.r4.core#4.0.1), Measure (hl7.fhir.r4.core#4.0.1), Measure (hl7.fhir.r4.core#4.0.1), Measure (hl7.fhir.r4.core#4.0.1), Measure (hl7.fhir.r4.core#4.0.1), Measure (hl7.fhir.r4.core#4.0.1), Measure (hl7.fhir.r4.core#4.0.1) + - Version 2: Measure (hl7.fhir.r5.core#5.0.0), MeasureReport (hl7.fhir.r5.core#5.0.0), Measure (hl7.fhir.r5.core#5.0.0), MeasureReport (hl7.fhir.r5.core#5.0.0), Measure (hl7.fhir.r5.core#5.0.0), MeasureReport (hl7.fhir.r5.core#5.0.0) + - Version 3: Measure (hl7.fhir.r4.examples#4.0.1) +- `urn:fhir:binding:MeasureType` (3 versions) + - Version 1: Measure (hl7.fhir.r4.core#4.0.1), Measure (hl7.fhir.r4.core#4.0.1), Measure (hl7.fhir.r4.core#4.0.1), Measure (hl7.fhir.r4.core#4.0.1), Measure (hl7.fhir.r4.core#4.0.1), Measure (hl7.fhir.r4.core#4.0.1), Measure (hl7.fhir.r4.core#4.0.1), Measure (hl7.fhir.r4.core#4.0.1), Measure (hl7.fhir.r4.core#4.0.1), Measure (hl7.fhir.r4.core#4.0.1) + - Version 2: Measure (hl7.fhir.r5.core#5.0.0), Measure (hl7.fhir.r5.core#5.0.0), Measure (hl7.fhir.r5.core#5.0.0) + - Version 3: Measure (hl7.fhir.r4.examples#4.0.1) +- `urn:fhir:binding:MediaModality` (2 versions) + - Version 1: Media (hl7.fhir.r4.core#4.0.1), Media (hl7.fhir.r4.core#4.0.1), Media (hl7.fhir.r4.core#4.0.1), Media (hl7.fhir.r4.core#4.0.1), Media (hl7.fhir.r4.core#4.0.1), Media (hl7.fhir.r4.core#4.0.1), Media (hl7.fhir.r4.core#4.0.1), Media (hl7.fhir.r4.core#4.0.1), Media (hl7.fhir.r4.core#4.0.1), Media (hl7.fhir.r4.core#4.0.1) + - Version 2: Media (hl7.fhir.r4.examples#4.0.1) +- `urn:fhir:binding:MediaReason` (2 versions) + - Version 1: Media (hl7.fhir.r4.core#4.0.1), Media (hl7.fhir.r4.core#4.0.1), Media (hl7.fhir.r4.core#4.0.1), Media (hl7.fhir.r4.core#4.0.1), Media (hl7.fhir.r4.core#4.0.1), Media (hl7.fhir.r4.core#4.0.1), Media (hl7.fhir.r4.core#4.0.1), Media (hl7.fhir.r4.core#4.0.1), Media (hl7.fhir.r4.core#4.0.1), Media (hl7.fhir.r4.core#4.0.1) + - Version 2: Media (hl7.fhir.r4.examples#4.0.1) +- `urn:fhir:binding:MediaStatus` (2 versions) + - Version 1: Media (hl7.fhir.r4.core#4.0.1), Media (hl7.fhir.r4.core#4.0.1), Media (hl7.fhir.r4.core#4.0.1), Media (hl7.fhir.r4.core#4.0.1), Media (hl7.fhir.r4.core#4.0.1), Media (hl7.fhir.r4.core#4.0.1), Media (hl7.fhir.r4.core#4.0.1), Media (hl7.fhir.r4.core#4.0.1), Media (hl7.fhir.r4.core#4.0.1), Media (hl7.fhir.r4.core#4.0.1) + - Version 2: Media (hl7.fhir.r4.examples#4.0.1) +- `urn:fhir:binding:MediaType` (2 versions) + - Version 1: Media (hl7.fhir.r4.core#4.0.1), Media (hl7.fhir.r4.core#4.0.1), Media (hl7.fhir.r4.core#4.0.1), Media (hl7.fhir.r4.core#4.0.1), Media (hl7.fhir.r4.core#4.0.1), Media (hl7.fhir.r4.core#4.0.1), Media (hl7.fhir.r4.core#4.0.1), Media (hl7.fhir.r4.core#4.0.1), Media (hl7.fhir.r4.core#4.0.1), Media (hl7.fhir.r4.core#4.0.1) + - Version 2: Media (hl7.fhir.r4.examples#4.0.1) +- `urn:fhir:binding:MediaView` (2 versions) + - Version 1: Media (hl7.fhir.r4.core#4.0.1), Media (hl7.fhir.r4.core#4.0.1), Media (hl7.fhir.r4.core#4.0.1), Media (hl7.fhir.r4.core#4.0.1), Media (hl7.fhir.r4.core#4.0.1), Media (hl7.fhir.r4.core#4.0.1), Media (hl7.fhir.r4.core#4.0.1), Media (hl7.fhir.r4.core#4.0.1), Media (hl7.fhir.r4.core#4.0.1), Media (hl7.fhir.r4.core#4.0.1) + - Version 2: Media (hl7.fhir.r4.examples#4.0.1) +- `urn:fhir:binding:MedicationAdministrationCategory` (2 versions) + - Version 1: MedicationAdministration (hl7.fhir.r4.core#4.0.1), MedicationAdministration (hl7.fhir.r4.core#4.0.1), MedicationAdministration (hl7.fhir.r4.core#4.0.1), MedicationAdministration (hl7.fhir.r4.core#4.0.1), MedicationAdministration (hl7.fhir.r4.core#4.0.1), MedicationAdministration (hl7.fhir.r4.core#4.0.1), MedicationAdministration (hl7.fhir.r4.core#4.0.1), MedicationAdministration (hl7.fhir.r4.core#4.0.1), MedicationAdministration (hl7.fhir.r4.core#4.0.1), MedicationAdministration (hl7.fhir.r4.core#4.0.1) + - Version 2: MedicationAdministration (hl7.fhir.r4.examples#4.0.1) +- `urn:fhir:binding:MedicationAdministrationMethod` (3 versions) + - Version 1: Dosage (hl7.fhir.r4.core#4.0.1), MedicationAdministration (hl7.fhir.r4.core#4.0.1), Dosage (hl7.fhir.r4.core#4.0.1), MedicationAdministration (hl7.fhir.r4.core#4.0.1), Dosage (hl7.fhir.r4.core#4.0.1), MedicationAdministration (hl7.fhir.r4.core#4.0.1), Dosage (hl7.fhir.r4.core#4.0.1), MedicationAdministration (hl7.fhir.r4.core#4.0.1), Dosage (hl7.fhir.r4.core#4.0.1), MedicationAdministration (hl7.fhir.r4.core#4.0.1), Dosage (hl7.fhir.r4.core#4.0.1), MedicationAdministration (hl7.fhir.r4.core#4.0.1), Dosage (hl7.fhir.r4.core#4.0.1), MedicationAdministration (hl7.fhir.r4.core#4.0.1), Dosage (hl7.fhir.r4.core#4.0.1), MedicationAdministration (hl7.fhir.r4.core#4.0.1), Dosage (hl7.fhir.r4.core#4.0.1), MedicationAdministration (hl7.fhir.r4.core#4.0.1), Dosage (hl7.fhir.r4.core#4.0.1), MedicationAdministration (hl7.fhir.r4.core#4.0.1) + - Version 2: Dosage (hl7.fhir.r5.core#5.0.0), MedicationAdministration (hl7.fhir.r5.core#5.0.0), Dosage (hl7.fhir.r5.core#5.0.0), MedicationAdministration (hl7.fhir.r5.core#5.0.0), Dosage (hl7.fhir.r5.core#5.0.0), MedicationAdministration (hl7.fhir.r5.core#5.0.0) + - Version 3: Dosage (hl7.fhir.r4.examples#4.0.1), MedicationAdministration (hl7.fhir.r4.examples#4.0.1) +- `urn:fhir:binding:MedicationAdministrationNegationReason` (3 versions) + - Version 1: MedicationAdministration (hl7.fhir.r4.core#4.0.1), MedicationAdministration (hl7.fhir.r4.core#4.0.1), MedicationAdministration (hl7.fhir.r4.core#4.0.1), MedicationAdministration (hl7.fhir.r4.core#4.0.1), MedicationAdministration (hl7.fhir.r4.core#4.0.1), MedicationAdministration (hl7.fhir.r4.core#4.0.1), MedicationAdministration (hl7.fhir.r4.core#4.0.1), MedicationAdministration (hl7.fhir.r4.core#4.0.1), MedicationAdministration (hl7.fhir.r4.core#4.0.1), MedicationAdministration (hl7.fhir.r4.core#4.0.1) + - Version 2: MedicationAdministration (hl7.fhir.r5.core#5.0.0), MedicationAdministration (hl7.fhir.r5.core#5.0.0), MedicationAdministration (hl7.fhir.r5.core#5.0.0) + - Version 3: MedicationAdministration (hl7.fhir.r4.examples#4.0.1) +- `urn:fhir:binding:MedicationAdministrationPerformerFunction` (3 versions) + - Version 1: MedicationAdministration (hl7.fhir.r4.core#4.0.1), MedicationAdministration (hl7.fhir.r4.core#4.0.1), MedicationAdministration (hl7.fhir.r4.core#4.0.1), MedicationAdministration (hl7.fhir.r4.core#4.0.1), MedicationAdministration (hl7.fhir.r4.core#4.0.1), MedicationAdministration (hl7.fhir.r4.core#4.0.1), MedicationAdministration (hl7.fhir.r4.core#4.0.1), MedicationAdministration (hl7.fhir.r4.core#4.0.1), MedicationAdministration (hl7.fhir.r4.core#4.0.1), MedicationAdministration (hl7.fhir.r4.core#4.0.1) + - Version 2: MedicationAdministration (hl7.fhir.r5.core#5.0.0), MedicationAdministration (hl7.fhir.r5.core#5.0.0), MedicationAdministration (hl7.fhir.r5.core#5.0.0) + - Version 3: MedicationAdministration (hl7.fhir.r4.examples#4.0.1) +- `urn:fhir:binding:MedicationAdministrationReason` (3 versions) + - Version 1: MedicationAdministration (hl7.fhir.r4.core#4.0.1), MedicationAdministration (hl7.fhir.r4.core#4.0.1), MedicationAdministration (hl7.fhir.r4.core#4.0.1), MedicationAdministration (hl7.fhir.r4.core#4.0.1), MedicationAdministration (hl7.fhir.r4.core#4.0.1), MedicationAdministration (hl7.fhir.r4.core#4.0.1), MedicationAdministration (hl7.fhir.r4.core#4.0.1), MedicationAdministration (hl7.fhir.r4.core#4.0.1), MedicationAdministration (hl7.fhir.r4.core#4.0.1), MedicationAdministration (hl7.fhir.r4.core#4.0.1) + - Version 2: MedicationAdministration (hl7.fhir.r5.core#5.0.0), MedicationAdministration (hl7.fhir.r5.core#5.0.0), MedicationAdministration (hl7.fhir.r5.core#5.0.0) + - Version 3: MedicationAdministration (hl7.fhir.r4.examples#4.0.1) +- `urn:fhir:binding:MedicationAdministrationSite` (3 versions) + - Version 1: Dosage (hl7.fhir.r4.core#4.0.1), MedicationAdministration (hl7.fhir.r4.core#4.0.1), Dosage (hl7.fhir.r4.core#4.0.1), MedicationAdministration (hl7.fhir.r4.core#4.0.1), Dosage (hl7.fhir.r4.core#4.0.1), MedicationAdministration (hl7.fhir.r4.core#4.0.1), Dosage (hl7.fhir.r4.core#4.0.1), MedicationAdministration (hl7.fhir.r4.core#4.0.1), Dosage (hl7.fhir.r4.core#4.0.1), MedicationAdministration (hl7.fhir.r4.core#4.0.1), Dosage (hl7.fhir.r4.core#4.0.1), MedicationAdministration (hl7.fhir.r4.core#4.0.1), Dosage (hl7.fhir.r4.core#4.0.1), MedicationAdministration (hl7.fhir.r4.core#4.0.1), Dosage (hl7.fhir.r4.core#4.0.1), MedicationAdministration (hl7.fhir.r4.core#4.0.1), Dosage (hl7.fhir.r4.core#4.0.1), MedicationAdministration (hl7.fhir.r4.core#4.0.1), Dosage (hl7.fhir.r4.core#4.0.1), MedicationAdministration (hl7.fhir.r4.core#4.0.1) + - Version 2: Dosage (hl7.fhir.r5.core#5.0.0), MedicationAdministration (hl7.fhir.r5.core#5.0.0), Dosage (hl7.fhir.r5.core#5.0.0), MedicationAdministration (hl7.fhir.r5.core#5.0.0), Dosage (hl7.fhir.r5.core#5.0.0), MedicationAdministration (hl7.fhir.r5.core#5.0.0) + - Version 3: Dosage (hl7.fhir.r4.examples#4.0.1), MedicationAdministration (hl7.fhir.r4.examples#4.0.1) +- `urn:fhir:binding:MedicationAdministrationStatus` (3 versions) + - Version 1: MedicationAdministration (hl7.fhir.r4.core#4.0.1), MedicationAdministration (hl7.fhir.r4.core#4.0.1), MedicationAdministration (hl7.fhir.r4.core#4.0.1), MedicationAdministration (hl7.fhir.r4.core#4.0.1), MedicationAdministration (hl7.fhir.r4.core#4.0.1), MedicationAdministration (hl7.fhir.r4.core#4.0.1), MedicationAdministration (hl7.fhir.r4.core#4.0.1), MedicationAdministration (hl7.fhir.r4.core#4.0.1), MedicationAdministration (hl7.fhir.r4.core#4.0.1), MedicationAdministration (hl7.fhir.r4.core#4.0.1) + - Version 2: MedicationAdministration (hl7.fhir.r5.core#5.0.0), MedicationAdministration (hl7.fhir.r5.core#5.0.0), MedicationAdministration (hl7.fhir.r5.core#5.0.0) + - Version 3: MedicationAdministration (hl7.fhir.r4.examples#4.0.1) +- `urn:fhir:binding:MedicationCharacteristic` (3 versions) + - Version 1: MedicationKnowledge (hl7.fhir.r4.core#4.0.1), MedicationKnowledge (hl7.fhir.r4.core#4.0.1), MedicationKnowledge (hl7.fhir.r4.core#4.0.1), MedicationKnowledge (hl7.fhir.r4.core#4.0.1), MedicationKnowledge (hl7.fhir.r4.core#4.0.1), MedicationKnowledge (hl7.fhir.r4.core#4.0.1), MedicationKnowledge (hl7.fhir.r4.core#4.0.1), MedicationKnowledge (hl7.fhir.r4.core#4.0.1), MedicationKnowledge (hl7.fhir.r4.core#4.0.1), MedicationKnowledge (hl7.fhir.r4.core#4.0.1) + - Version 2: MedicationKnowledge (hl7.fhir.r5.core#5.0.0), MedicationKnowledge (hl7.fhir.r5.core#5.0.0), MedicationKnowledge (hl7.fhir.r5.core#5.0.0) + - Version 3: MedicationKnowledge (hl7.fhir.r4.examples#4.0.1) +- `urn:fhir:binding:MedicationDispenseCategory` (2 versions) + - Version 1: MedicationDispense (hl7.fhir.r4.core#4.0.1), MedicationDispense (hl7.fhir.r4.core#4.0.1), MedicationDispense (hl7.fhir.r4.core#4.0.1), MedicationDispense (hl7.fhir.r4.core#4.0.1), MedicationDispense (hl7.fhir.r4.core#4.0.1), MedicationDispense (hl7.fhir.r4.core#4.0.1), MedicationDispense (hl7.fhir.r4.core#4.0.1), MedicationDispense (hl7.fhir.r4.core#4.0.1), MedicationDispense (hl7.fhir.r4.core#4.0.1), MedicationDispense (hl7.fhir.r4.core#4.0.1) + - Version 2: MedicationDispense (hl7.fhir.r4.examples#4.0.1) +- `urn:fhir:binding:MedicationDispensePerformerFunction` (3 versions) + - Version 1: MedicationDispense (hl7.fhir.r4.core#4.0.1), MedicationDispense (hl7.fhir.r4.core#4.0.1), MedicationDispense (hl7.fhir.r4.core#4.0.1), MedicationDispense (hl7.fhir.r4.core#4.0.1), MedicationDispense (hl7.fhir.r4.core#4.0.1), MedicationDispense (hl7.fhir.r4.core#4.0.1), MedicationDispense (hl7.fhir.r4.core#4.0.1), MedicationDispense (hl7.fhir.r4.core#4.0.1), MedicationDispense (hl7.fhir.r4.core#4.0.1), MedicationDispense (hl7.fhir.r4.core#4.0.1) + - Version 2: MedicationDispense (hl7.fhir.r5.core#5.0.0), MedicationDispense (hl7.fhir.r5.core#5.0.0), MedicationDispense (hl7.fhir.r5.core#5.0.0) + - Version 3: MedicationDispense (hl7.fhir.r4.examples#4.0.1) +- `urn:fhir:binding:MedicationDispenseStatus` (3 versions) + - Version 1: MedicationDispense (hl7.fhir.r4.core#4.0.1), MedicationDispense (hl7.fhir.r4.core#4.0.1), MedicationDispense (hl7.fhir.r4.core#4.0.1), MedicationDispense (hl7.fhir.r4.core#4.0.1), MedicationDispense (hl7.fhir.r4.core#4.0.1), MedicationDispense (hl7.fhir.r4.core#4.0.1), MedicationDispense (hl7.fhir.r4.core#4.0.1), MedicationDispense (hl7.fhir.r4.core#4.0.1), MedicationDispense (hl7.fhir.r4.core#4.0.1), us-core-medicationdispense (hl7.fhir.us.core#8.0.1), MedicationDispense (hl7.fhir.r4.core#4.0.1) + - Version 2: MedicationDispense (hl7.fhir.r5.core#5.0.0), MedicationDispense (hl7.fhir.r5.core#5.0.0), MedicationDispense (hl7.fhir.r5.core#5.0.0) + - Version 3: MedicationDispense (hl7.fhir.r4.examples#4.0.1) +- `urn:fhir:binding:MedicationDispenseType` (2 versions) + - Version 1: MedicationDispense (hl7.fhir.r4.core#4.0.1), MedicationDispense (hl7.fhir.r4.core#4.0.1), MedicationDispense (hl7.fhir.r4.core#4.0.1), MedicationDispense (hl7.fhir.r5.core#5.0.0), MedicationDispense (hl7.fhir.r5.core#5.0.0), MedicationDispense (hl7.fhir.r5.core#5.0.0), MedicationDispense (hl7.fhir.r4.core#4.0.1), MedicationDispense (hl7.fhir.r4.core#4.0.1), MedicationDispense (hl7.fhir.r4.core#4.0.1), MedicationDispense (hl7.fhir.r4.core#4.0.1), MedicationDispense (hl7.fhir.r4.core#4.0.1), MedicationDispense (hl7.fhir.r4.core#4.0.1), MedicationDispense (hl7.fhir.r4.core#4.0.1) + - Version 2: MedicationDispense (hl7.fhir.r4.examples#4.0.1) +- `urn:fhir:binding:MedicationForm` (3 versions) + - Version 1: MedicationKnowledge (hl7.fhir.r4.core#4.0.1), Medication (hl7.fhir.r4.core#4.0.1), MedicationKnowledge (hl7.fhir.r4.core#4.0.1), Medication (hl7.fhir.r4.core#4.0.1), MedicationKnowledge (hl7.fhir.r4.core#4.0.1), Medication (hl7.fhir.r4.core#4.0.1), MedicationKnowledge (hl7.fhir.r4.core#4.0.1), Medication (hl7.fhir.r4.core#4.0.1), MedicationKnowledge (hl7.fhir.r4.core#4.0.1), Medication (hl7.fhir.r4.core#4.0.1), MedicationKnowledge (hl7.fhir.r4.core#4.0.1), Medication (hl7.fhir.r4.core#4.0.1), MedicationKnowledge (hl7.fhir.r4.core#4.0.1), Medication (hl7.fhir.r4.core#4.0.1), MedicationKnowledge (hl7.fhir.r4.core#4.0.1), Medication (hl7.fhir.r4.core#4.0.1), MedicationKnowledge (hl7.fhir.r4.core#4.0.1), Medication (hl7.fhir.r4.core#4.0.1), MedicationKnowledge (hl7.fhir.r4.core#4.0.1), Medication (hl7.fhir.r4.core#4.0.1) + - Version 2: MedicationKnowledge (hl7.fhir.r5.core#5.0.0), Medication (hl7.fhir.r5.core#5.0.0), MedicationKnowledge (hl7.fhir.r5.core#5.0.0), Medication (hl7.fhir.r5.core#5.0.0), MedicationKnowledge (hl7.fhir.r5.core#5.0.0), Medication (hl7.fhir.r5.core#5.0.0) + - Version 3: MedicationKnowledge (hl7.fhir.r4.examples#4.0.1), Medication (hl7.fhir.r4.examples#4.0.1) +- `urn:fhir:binding:MedicationFormalRepresentation` (3 versions) + - Version 1: MedicationKnowledge (hl7.fhir.r4.core#4.0.1), Medication (hl7.fhir.r4.core#4.0.1), MedicationKnowledge (hl7.fhir.r4.core#4.0.1), Medication (hl7.fhir.r4.core#4.0.1), MedicationKnowledge (hl7.fhir.r4.core#4.0.1), Medication (hl7.fhir.r4.core#4.0.1), MedicationKnowledge (hl7.fhir.r4.core#4.0.1), Medication (hl7.fhir.r4.core#4.0.1), MedicationKnowledge (hl7.fhir.r4.core#4.0.1), Medication (hl7.fhir.r4.core#4.0.1), MedicationKnowledge (hl7.fhir.r4.core#4.0.1), Medication (hl7.fhir.r4.core#4.0.1), MedicationKnowledge (hl7.fhir.r4.core#4.0.1), Medication (hl7.fhir.r4.core#4.0.1), MedicationKnowledge (hl7.fhir.r4.core#4.0.1), Medication (hl7.fhir.r4.core#4.0.1), MedicationKnowledge (hl7.fhir.r4.core#4.0.1), Medication (hl7.fhir.r4.core#4.0.1), MedicationKnowledge (hl7.fhir.r4.core#4.0.1), Medication (hl7.fhir.r4.core#4.0.1) + - Version 2: MedicationKnowledge (hl7.fhir.r5.core#5.0.0), MedicinalProductDefinition (hl7.fhir.r5.core#5.0.0), Medication (hl7.fhir.r5.core#5.0.0), MedicationKnowledge (hl7.fhir.r5.core#5.0.0), MedicinalProductDefinition (hl7.fhir.r5.core#5.0.0), Medication (hl7.fhir.r5.core#5.0.0), MedicationKnowledge (hl7.fhir.r5.core#5.0.0), MedicinalProductDefinition (hl7.fhir.r5.core#5.0.0), Medication (hl7.fhir.r5.core#5.0.0), MedicinalProductDefinition (hl7.fhir.r5.core#5.0.0), MedicinalProductDefinition (hl7.fhir.r5.core#5.0.0) + - Version 3: MedicationKnowledge (hl7.fhir.r4.examples#4.0.1), Medication (hl7.fhir.r4.examples#4.0.1) +- `urn:fhir:binding:MedicationIntendedSubstitutionReason` (2 versions) + - Version 1: MedicationRequest (hl7.fhir.r4.core#4.0.1), MedicationDispense (hl7.fhir.r4.core#4.0.1), MedicationRequest (hl7.fhir.r4.core#4.0.1), MedicationDispense (hl7.fhir.r4.core#4.0.1), MedicationRequest (hl7.fhir.r4.core#4.0.1), MedicationDispense (hl7.fhir.r4.core#4.0.1), MedicationRequest (hl7.fhir.r5.core#5.0.0), MedicationDispense (hl7.fhir.r5.core#5.0.0), MedicationRequest (hl7.fhir.r5.core#5.0.0), MedicationDispense (hl7.fhir.r5.core#5.0.0), MedicationRequest (hl7.fhir.r5.core#5.0.0), MedicationDispense (hl7.fhir.r5.core#5.0.0), MedicationRequest (hl7.fhir.r4.core#4.0.1), MedicationDispense (hl7.fhir.r4.core#4.0.1), MedicationRequest (hl7.fhir.r4.core#4.0.1), MedicationDispense (hl7.fhir.r4.core#4.0.1), MedicationRequest (hl7.fhir.r4.core#4.0.1), MedicationDispense (hl7.fhir.r4.core#4.0.1), MedicationRequest (hl7.fhir.r4.core#4.0.1), MedicationDispense (hl7.fhir.r4.core#4.0.1), MedicationRequest (hl7.fhir.r4.core#4.0.1), MedicationDispense (hl7.fhir.r4.core#4.0.1), MedicationRequest (hl7.fhir.r4.core#4.0.1), MedicationDispense (hl7.fhir.r4.core#4.0.1), MedicationRequest (hl7.fhir.r4.core#4.0.1), MedicationDispense (hl7.fhir.r4.core#4.0.1) + - Version 2: MedicationRequest (hl7.fhir.r4.examples#4.0.1), MedicationDispense (hl7.fhir.r4.examples#4.0.1) +- `urn:fhir:binding:MedicationIntendedSubstitutionType` (2 versions) + - Version 1: MedicationDispense (hl7.fhir.r4.core#4.0.1), MedicationDispense (hl7.fhir.r4.core#4.0.1), MedicationDispense (hl7.fhir.r4.core#4.0.1), MedicationDispense (hl7.fhir.r5.core#5.0.0), MedicationDispense (hl7.fhir.r5.core#5.0.0), MedicationDispense (hl7.fhir.r5.core#5.0.0), MedicationDispense (hl7.fhir.r4.core#4.0.1), MedicationDispense (hl7.fhir.r4.core#4.0.1), MedicationDispense (hl7.fhir.r4.core#4.0.1), MedicationDispense (hl7.fhir.r4.core#4.0.1), MedicationDispense (hl7.fhir.r4.core#4.0.1), MedicationDispense (hl7.fhir.r4.core#4.0.1), MedicationDispense (hl7.fhir.r4.core#4.0.1) + - Version 2: MedicationDispense (hl7.fhir.r4.examples#4.0.1) +- `urn:fhir:binding:MedicationKnowledgeStatus` (3 versions) + - Version 1: MedicationKnowledge (hl7.fhir.r4.core#4.0.1), MedicationKnowledge (hl7.fhir.r4.core#4.0.1), MedicationKnowledge (hl7.fhir.r4.core#4.0.1), MedicationKnowledge (hl7.fhir.r4.core#4.0.1), MedicationKnowledge (hl7.fhir.r4.core#4.0.1), MedicationKnowledge (hl7.fhir.r4.core#4.0.1), MedicationKnowledge (hl7.fhir.r4.core#4.0.1), MedicationKnowledge (hl7.fhir.r4.core#4.0.1), MedicationKnowledge (hl7.fhir.r4.core#4.0.1), MedicationKnowledge (hl7.fhir.r4.core#4.0.1) + - Version 2: MedicationKnowledge (hl7.fhir.r5.core#5.0.0), MedicationKnowledge (hl7.fhir.r5.core#5.0.0), MedicationKnowledge (hl7.fhir.r5.core#5.0.0) + - Version 3: MedicationKnowledge (hl7.fhir.r4.examples#4.0.1) +- `urn:fhir:binding:MedicationPackageType` (2 versions) + - Version 1: MedicationKnowledge (hl7.fhir.r4.core#4.0.1), MedicationKnowledge (hl7.fhir.r4.core#4.0.1), MedicationKnowledge (hl7.fhir.r4.core#4.0.1), MedicationKnowledge (hl7.fhir.r4.core#4.0.1), MedicationKnowledge (hl7.fhir.r4.core#4.0.1), MedicationKnowledge (hl7.fhir.r4.core#4.0.1), MedicationKnowledge (hl7.fhir.r4.core#4.0.1), MedicationKnowledge (hl7.fhir.r4.core#4.0.1), MedicationKnowledge (hl7.fhir.r4.core#4.0.1), MedicationKnowledge (hl7.fhir.r4.core#4.0.1) + - Version 2: MedicationKnowledge (hl7.fhir.r4.examples#4.0.1) +- `urn:fhir:binding:MedicationReason` (3 versions) + - Version 1: MedicationStatement (hl7.fhir.r4.core#4.0.1), MedicationStatement (hl7.fhir.r4.core#4.0.1), MedicationStatement (hl7.fhir.r4.core#4.0.1), MedicationStatement (hl7.fhir.r4.core#4.0.1), MedicationStatement (hl7.fhir.r4.core#4.0.1), MedicationStatement (hl7.fhir.r4.core#4.0.1), MedicationStatement (hl7.fhir.r4.core#4.0.1), MedicationStatement (hl7.fhir.r4.core#4.0.1), MedicationStatement (hl7.fhir.r4.core#4.0.1), MedicationStatement (hl7.fhir.r4.core#4.0.1) + - Version 2: MedicationStatement (hl7.fhir.r5.core#5.0.0), MedicationStatement (hl7.fhir.r5.core#5.0.0), MedicationStatement (hl7.fhir.r5.core#5.0.0) + - Version 3: MedicationStatement (hl7.fhir.r4.examples#4.0.1) +- `urn:fhir:binding:MedicationRequestCategory` (3 versions) + - Version 1: MedicationRequest (hl7.fhir.r4.core#4.0.1), MedicationRequest (hl7.fhir.r4.core#4.0.1), MedicationRequest (hl7.fhir.r4.core#4.0.1), MedicationRequest (hl7.fhir.r4.core#4.0.1), MedicationRequest (hl7.fhir.r4.core#4.0.1), MedicationRequest (hl7.fhir.r4.core#4.0.1), MedicationRequest (hl7.fhir.r4.core#4.0.1), MedicationRequest (hl7.fhir.r4.core#4.0.1), MedicationRequest (hl7.fhir.r4.core#4.0.1), us-core-medicationrequest (hl7.fhir.us.core#8.0.1), MedicationRequest (hl7.fhir.r4.core#4.0.1) + - Version 2: ConditionDefinition (hl7.fhir.r5.core#5.0.0), ConditionDefinition (hl7.fhir.r5.core#5.0.0), ConditionDefinition (hl7.fhir.r5.core#5.0.0), ConditionDefinition (hl7.fhir.r5.core#5.0.0), ConditionDefinition (hl7.fhir.r5.core#5.0.0) + - Version 3: MedicationRequest (hl7.fhir.r4.examples#4.0.1) +- `urn:fhir:binding:MedicationRequestCourseOfTherapy` (3 versions) + - Version 1: MedicationRequest (hl7.fhir.r4.core#4.0.1), MedicationRequest (hl7.fhir.r4.core#4.0.1), MedicationRequest (hl7.fhir.r4.core#4.0.1), MedicationRequest (hl7.fhir.r4.core#4.0.1), MedicationRequest (hl7.fhir.r4.core#4.0.1), MedicationRequest (hl7.fhir.r4.core#4.0.1), MedicationRequest (hl7.fhir.r4.core#4.0.1), MedicationRequest (hl7.fhir.r4.core#4.0.1), MedicationRequest (hl7.fhir.r4.core#4.0.1), MedicationRequest (hl7.fhir.r4.core#4.0.1) + - Version 2: MedicationRequest (hl7.fhir.r5.core#5.0.0), MedicationRequest (hl7.fhir.r5.core#5.0.0), MedicationRequest (hl7.fhir.r5.core#5.0.0) + - Version 3: MedicationRequest (hl7.fhir.r4.examples#4.0.1) +- `urn:fhir:binding:MedicationRequestIntent` (3 versions) + - Version 1: MedicationRequest (hl7.fhir.r4.core#4.0.1), MedicationRequest (hl7.fhir.r4.core#4.0.1), MedicationRequest (hl7.fhir.r4.core#4.0.1), MedicationRequest (hl7.fhir.r4.core#4.0.1), MedicationRequest (hl7.fhir.r4.core#4.0.1), MedicationRequest (hl7.fhir.r4.core#4.0.1), MedicationRequest (hl7.fhir.r4.core#4.0.1), MedicationRequest (hl7.fhir.r4.core#4.0.1), MedicationRequest (hl7.fhir.r4.core#4.0.1), MedicationRequest (hl7.fhir.r4.core#4.0.1) + - Version 2: MedicationRequest (hl7.fhir.r5.core#5.0.0), MedicationRequest (hl7.fhir.r5.core#5.0.0), MedicationRequest (hl7.fhir.r5.core#5.0.0) + - Version 3: MedicationRequest (hl7.fhir.r4.examples#4.0.1) +- `urn:fhir:binding:MedicationRequestPerformerType` (3 versions) + - Version 1: MedicationRequest (hl7.fhir.r4.core#4.0.1), MedicationRequest (hl7.fhir.r4.core#4.0.1), MedicationRequest (hl7.fhir.r4.core#4.0.1), MedicationRequest (hl7.fhir.r4.core#4.0.1), MedicationRequest (hl7.fhir.r4.core#4.0.1), MedicationRequest (hl7.fhir.r4.core#4.0.1), MedicationRequest (hl7.fhir.r4.core#4.0.1), MedicationRequest (hl7.fhir.r4.core#4.0.1), MedicationRequest (hl7.fhir.r4.core#4.0.1), MedicationRequest (hl7.fhir.r4.core#4.0.1) + - Version 2: MedicationRequest (hl7.fhir.r5.core#5.0.0), MedicationRequest (hl7.fhir.r5.core#5.0.0), MedicationRequest (hl7.fhir.r5.core#5.0.0) + - Version 3: MedicationRequest (hl7.fhir.r4.examples#4.0.1) +- `urn:fhir:binding:MedicationRequestPriority` (3 versions) + - Version 1: MedicationRequest (hl7.fhir.r4.core#4.0.1), MedicationRequest (hl7.fhir.r4.core#4.0.1), MedicationRequest (hl7.fhir.r4.core#4.0.1), MedicationRequest (hl7.fhir.r4.core#4.0.1), MedicationRequest (hl7.fhir.r4.core#4.0.1), MedicationRequest (hl7.fhir.r4.core#4.0.1), MedicationRequest (hl7.fhir.r4.core#4.0.1), MedicationRequest (hl7.fhir.r4.core#4.0.1), MedicationRequest (hl7.fhir.r4.core#4.0.1), MedicationRequest (hl7.fhir.r4.core#4.0.1) + - Version 2: MedicationRequest (hl7.fhir.r5.core#5.0.0), MedicationRequest (hl7.fhir.r5.core#5.0.0), MedicationRequest (hl7.fhir.r5.core#5.0.0) + - Version 3: MedicationRequest (hl7.fhir.r4.examples#4.0.1) +- `urn:fhir:binding:MedicationRequestReason` (3 versions) + - Version 1: MedicationRequest (hl7.fhir.r4.core#4.0.1), MedicationRequest (hl7.fhir.r4.core#4.0.1), MedicationRequest (hl7.fhir.r4.core#4.0.1), MedicationRequest (hl7.fhir.r4.core#4.0.1), MedicationRequest (hl7.fhir.r4.core#4.0.1), MedicationRequest (hl7.fhir.r4.core#4.0.1), MedicationRequest (hl7.fhir.r4.core#4.0.1), MedicationRequest (hl7.fhir.r4.core#4.0.1), MedicationRequest (hl7.fhir.r4.core#4.0.1), MedicationRequest (hl7.fhir.r4.core#4.0.1) + - Version 2: MedicationRequest (hl7.fhir.r5.core#5.0.0), MedicationRequest (hl7.fhir.r5.core#5.0.0), MedicationRequest (hl7.fhir.r5.core#5.0.0) + - Version 3: MedicationRequest (hl7.fhir.r4.examples#4.0.1) +- `urn:fhir:binding:MedicationRequestStatus` (3 versions) + - Version 1: MedicationRequest (hl7.fhir.r4.core#4.0.1), MedicationRequest (hl7.fhir.r4.core#4.0.1), MedicationRequest (hl7.fhir.r4.core#4.0.1), MedicationRequest (hl7.fhir.r4.core#4.0.1), MedicationRequest (hl7.fhir.r4.core#4.0.1), MedicationRequest (hl7.fhir.r4.core#4.0.1), MedicationRequest (hl7.fhir.r4.core#4.0.1), MedicationRequest (hl7.fhir.r4.core#4.0.1), MedicationRequest (hl7.fhir.r4.core#4.0.1), MedicationRequest (hl7.fhir.r4.core#4.0.1) + - Version 2: MedicationRequest (hl7.fhir.r5.core#5.0.0), MedicationRequest (hl7.fhir.r5.core#5.0.0), MedicationRequest (hl7.fhir.r5.core#5.0.0) + - Version 3: MedicationRequest (hl7.fhir.r4.examples#4.0.1) +- `urn:fhir:binding:MedicationRequestStatusReason` (3 versions) + - Version 1: MedicationRequest (hl7.fhir.r4.core#4.0.1), MedicationRequest (hl7.fhir.r4.core#4.0.1), MedicationRequest (hl7.fhir.r4.core#4.0.1), MedicationRequest (hl7.fhir.r4.core#4.0.1), MedicationRequest (hl7.fhir.r4.core#4.0.1), MedicationRequest (hl7.fhir.r4.core#4.0.1), MedicationRequest (hl7.fhir.r4.core#4.0.1), MedicationRequest (hl7.fhir.r4.core#4.0.1), MedicationRequest (hl7.fhir.r4.core#4.0.1), MedicationRequest (hl7.fhir.r4.core#4.0.1) + - Version 2: MedicationRequest (hl7.fhir.r5.core#5.0.0), MedicationRequest (hl7.fhir.r5.core#5.0.0), MedicationRequest (hl7.fhir.r5.core#5.0.0) + - Version 3: MedicationRequest (hl7.fhir.r4.examples#4.0.1) +- `urn:fhir:binding:MedicationRoute` (3 versions) + - Version 1: MedicationKnowledge (hl7.fhir.r4.core#4.0.1), MedicationKnowledge (hl7.fhir.r4.core#4.0.1), MedicationKnowledge (hl7.fhir.r4.core#4.0.1), MedicationKnowledge (hl7.fhir.r4.core#4.0.1), MedicationKnowledge (hl7.fhir.r4.core#4.0.1), MedicationKnowledge (hl7.fhir.r4.core#4.0.1), MedicationKnowledge (hl7.fhir.r4.core#4.0.1), MedicationKnowledge (hl7.fhir.r4.core#4.0.1), MedicationKnowledge (hl7.fhir.r4.core#4.0.1), MedicationKnowledge (hl7.fhir.r4.core#4.0.1) + - Version 2: MedicationKnowledge (hl7.fhir.r5.core#5.0.0), MedicationKnowledge (hl7.fhir.r5.core#5.0.0), MedicationKnowledge (hl7.fhir.r5.core#5.0.0) + - Version 3: MedicationKnowledge (hl7.fhir.r4.examples#4.0.1) +- `urn:fhir:binding:MedicationStatementCategory` (2 versions) + - Version 1: MedicationStatement (hl7.fhir.r4.core#4.0.1), MedicationStatement (hl7.fhir.r4.core#4.0.1), MedicationStatement (hl7.fhir.r4.core#4.0.1), MedicationStatement (hl7.fhir.r4.core#4.0.1), MedicationStatement (hl7.fhir.r4.core#4.0.1), MedicationStatement (hl7.fhir.r4.core#4.0.1), MedicationStatement (hl7.fhir.r4.core#4.0.1), MedicationStatement (hl7.fhir.r4.core#4.0.1), MedicationStatement (hl7.fhir.r4.core#4.0.1), MedicationStatement (hl7.fhir.r4.core#4.0.1) + - Version 2: MedicationStatement (hl7.fhir.r4.examples#4.0.1) +- `urn:fhir:binding:MedicationStatementStatus` (3 versions) + - Version 1: MedicationStatement (hl7.fhir.r4.core#4.0.1), MedicationStatement (hl7.fhir.r4.core#4.0.1), MedicationStatement (hl7.fhir.r4.core#4.0.1), MedicationStatement (hl7.fhir.r4.core#4.0.1), MedicationStatement (hl7.fhir.r4.core#4.0.1), MedicationStatement (hl7.fhir.r4.core#4.0.1), MedicationStatement (hl7.fhir.r4.core#4.0.1), MedicationStatement (hl7.fhir.r4.core#4.0.1), MedicationStatement (hl7.fhir.r4.core#4.0.1), MedicationStatement (hl7.fhir.r4.core#4.0.1) + - Version 2: MedicationStatement (hl7.fhir.r5.core#5.0.0), MedicationStatement (hl7.fhir.r5.core#5.0.0), MedicationStatement (hl7.fhir.r5.core#5.0.0) + - Version 3: MedicationStatement (hl7.fhir.r4.examples#4.0.1) +- `urn:fhir:binding:MedicationStatementStatusReason` (3 versions) + - Version 1: MedicationStatement (hl7.fhir.r4.core#4.0.1), MedicationStatement (hl7.fhir.r4.core#4.0.1), MedicationStatement (hl7.fhir.r4.core#4.0.1), MedicationStatement (hl7.fhir.r4.core#4.0.1), MedicationStatement (hl7.fhir.r4.core#4.0.1), MedicationStatement (hl7.fhir.r4.core#4.0.1), MedicationStatement (hl7.fhir.r4.core#4.0.1), MedicationStatement (hl7.fhir.r4.core#4.0.1), MedicationStatement (hl7.fhir.r4.core#4.0.1), MedicationStatement (hl7.fhir.r4.core#4.0.1) + - Version 2: MedicationStatement (hl7.fhir.r5.core#5.0.0), MedicationStatement (hl7.fhir.r5.core#5.0.0), MedicationStatement (hl7.fhir.r5.core#5.0.0) + - Version 3: MedicationStatement (hl7.fhir.r4.examples#4.0.1) +- `urn:fhir:binding:MedicationStatus` (3 versions) + - Version 1: Medication (hl7.fhir.r4.core#4.0.1), Medication (hl7.fhir.r4.core#4.0.1), Medication (hl7.fhir.r4.core#4.0.1), Medication (hl7.fhir.r4.core#4.0.1), Medication (hl7.fhir.r4.core#4.0.1), Medication (hl7.fhir.r4.core#4.0.1), Medication (hl7.fhir.r4.core#4.0.1), Medication (hl7.fhir.r4.core#4.0.1), Medication (hl7.fhir.r4.core#4.0.1), Medication (hl7.fhir.r4.core#4.0.1) + - Version 2: Medication (hl7.fhir.r5.core#5.0.0), Medication (hl7.fhir.r5.core#5.0.0), Medication (hl7.fhir.r5.core#5.0.0) + - Version 3: Medication (hl7.fhir.r4.examples#4.0.1) +- `urn:fhir:binding:MedicinalProductType` (2 versions) + - Version 1: MedicinalProductDefinition (hl7.fhir.r5.core#5.0.0), MedicinalProductDefinition (hl7.fhir.r5.core#5.0.0), MedicinalProductDefinition (hl7.fhir.r5.core#5.0.0), MedicinalProductDefinition (hl7.fhir.r5.core#5.0.0), MedicinalProductDefinition (hl7.fhir.r5.core#5.0.0) + - Version 2: SubstanceDefinition (hl7.fhir.r5.core#5.0.0), SubstanceDefinition (hl7.fhir.r5.core#5.0.0), SubstanceDefinition (hl7.fhir.r5.core#5.0.0), SubstanceDefinition (hl7.fhir.r5.core#5.0.0), SubstanceDefinition (hl7.fhir.r5.core#5.0.0) +- `urn:fhir:binding:messageheader-response-request` (3 versions) + - Version 1: MessageDefinition (hl7.fhir.r4.core#4.0.1), MessageDefinition (hl7.fhir.r4.core#4.0.1), MessageDefinition (hl7.fhir.r4.core#4.0.1), MessageDefinition (hl7.fhir.r4.core#4.0.1), MessageDefinition (hl7.fhir.r4.core#4.0.1), MessageDefinition (hl7.fhir.r4.core#4.0.1), MessageDefinition (hl7.fhir.r4.core#4.0.1), MessageDefinition (hl7.fhir.r4.core#4.0.1), MessageDefinition (hl7.fhir.r4.core#4.0.1), MessageDefinition (hl7.fhir.r4.core#4.0.1) + - Version 2: MessageDefinition (hl7.fhir.r5.core#5.0.0), MessageDefinition (hl7.fhir.r5.core#5.0.0), MessageDefinition (hl7.fhir.r5.core#5.0.0) + - Version 3: MessageDefinition (hl7.fhir.r4.examples#4.0.1) +- `urn:fhir:binding:MessageSignificanceCategory` (3 versions) + - Version 1: MessageDefinition (hl7.fhir.r4.core#4.0.1), MessageDefinition (hl7.fhir.r4.core#4.0.1), MessageDefinition (hl7.fhir.r4.core#4.0.1), MessageDefinition (hl7.fhir.r4.core#4.0.1), MessageDefinition (hl7.fhir.r4.core#4.0.1), MessageDefinition (hl7.fhir.r4.core#4.0.1), MessageDefinition (hl7.fhir.r4.core#4.0.1), MessageDefinition (hl7.fhir.r4.core#4.0.1), MessageDefinition (hl7.fhir.r4.core#4.0.1), MessageDefinition (hl7.fhir.r4.core#4.0.1) + - Version 2: MessageDefinition (hl7.fhir.r5.core#5.0.0), MessageDefinition (hl7.fhir.r5.core#5.0.0), MessageDefinition (hl7.fhir.r5.core#5.0.0) + - Version 3: MessageDefinition (hl7.fhir.r4.examples#4.0.1) +- `urn:fhir:binding:MessageTransport` (3 versions) + - Version 1: CapabilityStatement (hl7.fhir.r4.core#4.0.1), CapabilityStatement (hl7.fhir.r4.core#4.0.1), CapabilityStatement (hl7.fhir.r4.core#4.0.1), CapabilityStatement (hl7.fhir.r4.core#4.0.1), CapabilityStatement (hl7.fhir.r4.core#4.0.1), CapabilityStatement (hl7.fhir.r4.core#4.0.1), CapabilityStatement (hl7.fhir.r4.core#4.0.1), CapabilityStatement (hl7.fhir.r4.core#4.0.1), CapabilityStatement (hl7.fhir.r4.core#4.0.1), CapabilityStatement (hl7.fhir.r4.core#4.0.1) + - Version 2: CapabilityStatement (hl7.fhir.r5.core#5.0.0), CapabilityStatement (hl7.fhir.r5.core#5.0.0), CapabilityStatement (hl7.fhir.r5.core#5.0.0) + - Version 3: CapabilityStatement (hl7.fhir.r4.examples#4.0.1) +- `urn:fhir:binding:MetricType` (3 versions) + - Version 1: DeviceMetric (hl7.fhir.r4.core#4.0.1), DeviceMetric (hl7.fhir.r4.core#4.0.1), DeviceMetric (hl7.fhir.r4.core#4.0.1), DeviceMetric (hl7.fhir.r4.core#4.0.1), DeviceMetric (hl7.fhir.r4.core#4.0.1), DeviceMetric (hl7.fhir.r4.core#4.0.1), DeviceMetric (hl7.fhir.r4.core#4.0.1), DeviceMetric (hl7.fhir.r4.core#4.0.1), DeviceMetric (hl7.fhir.r4.core#4.0.1), DeviceMetric (hl7.fhir.r4.core#4.0.1) + - Version 2: DeviceMetric (hl7.fhir.r5.core#5.0.0), DeviceMetric (hl7.fhir.r5.core#5.0.0), DeviceMetric (hl7.fhir.r5.core#5.0.0) + - Version 3: DeviceMetric (hl7.fhir.r4.examples#4.0.1) +- `urn:fhir:binding:MetricUnit` (3 versions) + - Version 1: DeviceMetric (hl7.fhir.r4.core#4.0.1), DeviceMetric (hl7.fhir.r4.core#4.0.1), DeviceMetric (hl7.fhir.r4.core#4.0.1), DeviceMetric (hl7.fhir.r4.core#4.0.1), DeviceMetric (hl7.fhir.r4.core#4.0.1), DeviceMetric (hl7.fhir.r4.core#4.0.1), DeviceMetric (hl7.fhir.r4.core#4.0.1), DeviceMetric (hl7.fhir.r4.core#4.0.1), DeviceMetric (hl7.fhir.r4.core#4.0.1), DeviceMetric (hl7.fhir.r4.core#4.0.1) + - Version 2: DeviceMetric (hl7.fhir.r5.core#5.0.0), DeviceMetric (hl7.fhir.r5.core#5.0.0), DeviceMetric (hl7.fhir.r5.core#5.0.0) + - Version 3: DeviceMetric (hl7.fhir.r4.examples#4.0.1) +- `urn:fhir:binding:MimeType` (3 versions) + - Version 1: Binary (hl7.fhir.r4.core#4.0.1), CapabilityStatement (hl7.fhir.r4.core#4.0.1), Attachment (hl7.fhir.r4.core#4.0.1), TestScript (hl7.fhir.r4.core#4.0.1), Signature (hl7.fhir.r4.core#4.0.1), Subscription (hl7.fhir.r4.core#4.0.1), ElementDefinition (hl7.fhir.r4.core#4.0.1), Endpoint (hl7.fhir.r4.core#4.0.1), Binary (hl7.fhir.r4.core#4.0.1), CapabilityStatement (hl7.fhir.r4.core#4.0.1), Attachment (hl7.fhir.r4.core#4.0.1), TestScript (hl7.fhir.r4.core#4.0.1), Signature (hl7.fhir.r4.core#4.0.1), Subscription (hl7.fhir.r4.core#4.0.1), ElementDefinition (hl7.fhir.r4.core#4.0.1), Endpoint (hl7.fhir.r4.core#4.0.1), Binary (hl7.fhir.r4.core#4.0.1), CapabilityStatement (hl7.fhir.r4.core#4.0.1), Attachment (hl7.fhir.r4.core#4.0.1), TestScript (hl7.fhir.r4.core#4.0.1), Signature (hl7.fhir.r4.core#4.0.1), Subscription (hl7.fhir.r4.core#4.0.1), ElementDefinition (hl7.fhir.r4.core#4.0.1), Endpoint (hl7.fhir.r4.core#4.0.1), Binary (hl7.fhir.r4.core#4.0.1), CapabilityStatement (hl7.fhir.r4.core#4.0.1), Attachment (hl7.fhir.r4.core#4.0.1), TestScript (hl7.fhir.r4.core#4.0.1), Signature (hl7.fhir.r4.core#4.0.1), Subscription (hl7.fhir.r4.core#4.0.1), ElementDefinition (hl7.fhir.r4.core#4.0.1), Endpoint (hl7.fhir.r4.core#4.0.1), Binary (hl7.fhir.r4.core#4.0.1), CapabilityStatement (hl7.fhir.r4.core#4.0.1), Attachment (hl7.fhir.r4.core#4.0.1), TestScript (hl7.fhir.r4.core#4.0.1), Signature (hl7.fhir.r4.core#4.0.1), Subscription (hl7.fhir.r4.core#4.0.1), ElementDefinition (hl7.fhir.r4.core#4.0.1), Endpoint (hl7.fhir.r4.core#4.0.1), Binary (hl7.fhir.r4.core#4.0.1), CapabilityStatement (hl7.fhir.r4.core#4.0.1), Attachment (hl7.fhir.r4.core#4.0.1), TestScript (hl7.fhir.r4.core#4.0.1), Signature (hl7.fhir.r4.core#4.0.1), Subscription (hl7.fhir.r4.core#4.0.1), ElementDefinition (hl7.fhir.r4.core#4.0.1), Endpoint (hl7.fhir.r4.core#4.0.1), Binary (hl7.fhir.r4.core#4.0.1), CapabilityStatement (hl7.fhir.r4.core#4.0.1), Attachment (hl7.fhir.r4.core#4.0.1), TestScript (hl7.fhir.r4.core#4.0.1), Signature (hl7.fhir.r4.core#4.0.1), Subscription (hl7.fhir.r4.core#4.0.1), ElementDefinition (hl7.fhir.r4.core#4.0.1), Endpoint (hl7.fhir.r4.core#4.0.1), Binary (hl7.fhir.r4.core#4.0.1), CapabilityStatement (hl7.fhir.r4.core#4.0.1), Attachment (hl7.fhir.r4.core#4.0.1), TestScript (hl7.fhir.r4.core#4.0.1), Signature (hl7.fhir.r4.core#4.0.1), Subscription (hl7.fhir.r4.core#4.0.1), ElementDefinition (hl7.fhir.r4.core#4.0.1), Endpoint (hl7.fhir.r4.core#4.0.1), Binary (hl7.fhir.r4.core#4.0.1), CapabilityStatement (hl7.fhir.r4.core#4.0.1), Attachment (hl7.fhir.r4.core#4.0.1), TestScript (hl7.fhir.r4.core#4.0.1), Signature (hl7.fhir.r4.core#4.0.1), Subscription (hl7.fhir.r4.core#4.0.1), ElementDefinition (hl7.fhir.r4.core#4.0.1), Endpoint (hl7.fhir.r4.core#4.0.1), Binary (hl7.fhir.r4.core#4.0.1), CapabilityStatement (hl7.fhir.r4.core#4.0.1), Attachment (hl7.fhir.r4.core#4.0.1), TestScript (hl7.fhir.r4.core#4.0.1), Signature (hl7.fhir.r4.core#4.0.1), Subscription (hl7.fhir.r4.core#4.0.1), ElementDefinition (hl7.fhir.r4.core#4.0.1), Endpoint (hl7.fhir.r4.core#4.0.1) + - Version 2: Binary (hl7.fhir.r5.core#5.0.0), CapabilityStatement (hl7.fhir.r5.core#5.0.0), Attachment (hl7.fhir.r5.core#5.0.0), TestScript (hl7.fhir.r5.core#5.0.0), Signature (hl7.fhir.r5.core#5.0.0), Subscription (hl7.fhir.r5.core#5.0.0), ElementDefinition (hl7.fhir.r5.core#5.0.0), Endpoint (hl7.fhir.r5.core#5.0.0), Binary (hl7.fhir.r5.core#5.0.0), CapabilityStatement (hl7.fhir.r5.core#5.0.0), Attachment (hl7.fhir.r5.core#5.0.0), TestScript (hl7.fhir.r5.core#5.0.0), Signature (hl7.fhir.r5.core#5.0.0), Subscription (hl7.fhir.r5.core#5.0.0), ElementDefinition (hl7.fhir.r5.core#5.0.0), Endpoint (hl7.fhir.r5.core#5.0.0), Binary (hl7.fhir.r5.core#5.0.0), CapabilityStatement (hl7.fhir.r5.core#5.0.0), Attachment (hl7.fhir.r5.core#5.0.0), TestScript (hl7.fhir.r5.core#5.0.0), Signature (hl7.fhir.r5.core#5.0.0), Subscription (hl7.fhir.r5.core#5.0.0), ElementDefinition (hl7.fhir.r5.core#5.0.0), Endpoint (hl7.fhir.r5.core#5.0.0) + - Version 3: Binary (hl7.fhir.r4.examples#4.0.1), CapabilityStatement (hl7.fhir.r4.examples#4.0.1), Attachment (hl7.fhir.r4.examples#4.0.1), TestScript (hl7.fhir.r4.examples#4.0.1), Signature (hl7.fhir.r4.examples#4.0.1), Subscription (hl7.fhir.r4.examples#4.0.1), ElementDefinition (hl7.fhir.r4.examples#4.0.1), Endpoint (hl7.fhir.r4.examples#4.0.1) +- `urn:fhir:binding:MissingReason` (3 versions) + - Version 1: Claim (hl7.fhir.r4.core#4.0.1), ExplanationOfBenefit (hl7.fhir.r4.core#4.0.1), Claim (hl7.fhir.r4.core#4.0.1), ExplanationOfBenefit (hl7.fhir.r4.core#4.0.1), Claim (hl7.fhir.r4.core#4.0.1), ExplanationOfBenefit (hl7.fhir.r4.core#4.0.1), Claim (hl7.fhir.r4.core#4.0.1), ExplanationOfBenefit (hl7.fhir.r4.core#4.0.1), Claim (hl7.fhir.r4.core#4.0.1), ExplanationOfBenefit (hl7.fhir.r4.core#4.0.1), Claim (hl7.fhir.r4.core#4.0.1), ExplanationOfBenefit (hl7.fhir.r4.core#4.0.1), Claim (hl7.fhir.r4.core#4.0.1), ExplanationOfBenefit (hl7.fhir.r4.core#4.0.1), Claim (hl7.fhir.r4.core#4.0.1), ExplanationOfBenefit (hl7.fhir.r4.core#4.0.1), Claim (hl7.fhir.r4.core#4.0.1), ExplanationOfBenefit (hl7.fhir.r4.core#4.0.1), Claim (hl7.fhir.r4.core#4.0.1), ExplanationOfBenefit (hl7.fhir.r4.core#4.0.1) + - Version 2: Claim (hl7.fhir.r5.core#5.0.0), ExplanationOfBenefit (hl7.fhir.r5.core#5.0.0), Claim (hl7.fhir.r5.core#5.0.0), ExplanationOfBenefit (hl7.fhir.r5.core#5.0.0), Claim (hl7.fhir.r5.core#5.0.0), ExplanationOfBenefit (hl7.fhir.r5.core#5.0.0) + - Version 3: Claim (hl7.fhir.r4.examples#4.0.1), ExplanationOfBenefit (hl7.fhir.r4.examples#4.0.1) +- `urn:fhir:binding:Modifiers` (3 versions) + - Version 1: CoverageEligibilityRequest (hl7.fhir.r4.core#4.0.1), Claim (hl7.fhir.r4.core#4.0.1), ClaimResponse (hl7.fhir.r4.core#4.0.1), CoverageEligibilityResponse (hl7.fhir.r4.core#4.0.1), ExplanationOfBenefit (hl7.fhir.r4.core#4.0.1), CoverageEligibilityRequest (hl7.fhir.r4.core#4.0.1), Claim (hl7.fhir.r4.core#4.0.1), ClaimResponse (hl7.fhir.r4.core#4.0.1), CoverageEligibilityResponse (hl7.fhir.r4.core#4.0.1), ExplanationOfBenefit (hl7.fhir.r4.core#4.0.1), CoverageEligibilityRequest (hl7.fhir.r4.core#4.0.1), Claim (hl7.fhir.r4.core#4.0.1), ClaimResponse (hl7.fhir.r4.core#4.0.1), CoverageEligibilityResponse (hl7.fhir.r4.core#4.0.1), ExplanationOfBenefit (hl7.fhir.r4.core#4.0.1), CoverageEligibilityRequest (hl7.fhir.r4.core#4.0.1), Claim (hl7.fhir.r4.core#4.0.1), ClaimResponse (hl7.fhir.r4.core#4.0.1), CoverageEligibilityResponse (hl7.fhir.r4.core#4.0.1), ExplanationOfBenefit (hl7.fhir.r4.core#4.0.1), CoverageEligibilityRequest (hl7.fhir.r4.core#4.0.1), Claim (hl7.fhir.r4.core#4.0.1), ClaimResponse (hl7.fhir.r4.core#4.0.1), CoverageEligibilityResponse (hl7.fhir.r4.core#4.0.1), ExplanationOfBenefit (hl7.fhir.r4.core#4.0.1), CoverageEligibilityRequest (hl7.fhir.r4.core#4.0.1), Claim (hl7.fhir.r4.core#4.0.1), ClaimResponse (hl7.fhir.r4.core#4.0.1), CoverageEligibilityResponse (hl7.fhir.r4.core#4.0.1), ExplanationOfBenefit (hl7.fhir.r4.core#4.0.1), CoverageEligibilityRequest (hl7.fhir.r4.core#4.0.1), Claim (hl7.fhir.r4.core#4.0.1), ClaimResponse (hl7.fhir.r4.core#4.0.1), CoverageEligibilityResponse (hl7.fhir.r4.core#4.0.1), ExplanationOfBenefit (hl7.fhir.r4.core#4.0.1), CoverageEligibilityRequest (hl7.fhir.r4.core#4.0.1), Claim (hl7.fhir.r4.core#4.0.1), ClaimResponse (hl7.fhir.r4.core#4.0.1), CoverageEligibilityResponse (hl7.fhir.r4.core#4.0.1), ExplanationOfBenefit (hl7.fhir.r4.core#4.0.1), CoverageEligibilityRequest (hl7.fhir.r4.core#4.0.1), Claim (hl7.fhir.r4.core#4.0.1), ClaimResponse (hl7.fhir.r4.core#4.0.1), CoverageEligibilityResponse (hl7.fhir.r4.core#4.0.1), ExplanationOfBenefit (hl7.fhir.r4.core#4.0.1), CoverageEligibilityRequest (hl7.fhir.r4.core#4.0.1), Claim (hl7.fhir.r4.core#4.0.1), ClaimResponse (hl7.fhir.r4.core#4.0.1), CoverageEligibilityResponse (hl7.fhir.r4.core#4.0.1), ExplanationOfBenefit (hl7.fhir.r4.core#4.0.1) + - Version 2: CoverageEligibilityRequest (hl7.fhir.r5.core#5.0.0), Claim (hl7.fhir.r5.core#5.0.0), ClaimResponse (hl7.fhir.r5.core#5.0.0), CoverageEligibilityResponse (hl7.fhir.r5.core#5.0.0), ExplanationOfBenefit (hl7.fhir.r5.core#5.0.0), CoverageEligibilityRequest (hl7.fhir.r5.core#5.0.0), Claim (hl7.fhir.r5.core#5.0.0), ClaimResponse (hl7.fhir.r5.core#5.0.0), CoverageEligibilityResponse (hl7.fhir.r5.core#5.0.0), ExplanationOfBenefit (hl7.fhir.r5.core#5.0.0), CoverageEligibilityRequest (hl7.fhir.r5.core#5.0.0), Claim (hl7.fhir.r5.core#5.0.0), ClaimResponse (hl7.fhir.r5.core#5.0.0), CoverageEligibilityResponse (hl7.fhir.r5.core#5.0.0), ExplanationOfBenefit (hl7.fhir.r5.core#5.0.0) + - Version 3: CoverageEligibilityRequest (hl7.fhir.r4.examples#4.0.1), Claim (hl7.fhir.r4.examples#4.0.1), ClaimResponse (hl7.fhir.r4.examples#4.0.1), CoverageEligibilityResponse (hl7.fhir.r4.examples#4.0.1), ExplanationOfBenefit (hl7.fhir.r4.examples#4.0.1) +- `urn:fhir:binding:NameUse` (3 versions) + - Version 1: HumanName (hl7.fhir.r4.core#4.0.1), HumanName (hl7.fhir.r4.core#4.0.1), HumanName (hl7.fhir.r4.core#4.0.1), HumanName (hl7.fhir.r4.core#4.0.1), HumanName (hl7.fhir.r4.core#4.0.1), HumanName (hl7.fhir.r4.core#4.0.1), HumanName (hl7.fhir.r4.core#4.0.1), HumanName (hl7.fhir.r4.core#4.0.1), HumanName (hl7.fhir.r4.core#4.0.1), HumanName (hl7.fhir.r4.core#4.0.1) + - Version 2: HumanName (hl7.fhir.r5.core#5.0.0), HumanName (hl7.fhir.r5.core#5.0.0), HumanName (hl7.fhir.r5.core#5.0.0) + - Version 3: HumanName (hl7.fhir.r4.examples#4.0.1) +- `urn:fhir:binding:NamingSystemIdentifierType` (3 versions) + - Version 1: NamingSystem (hl7.fhir.r4.core#4.0.1), NamingSystem (hl7.fhir.r4.core#4.0.1), NamingSystem (hl7.fhir.r4.core#4.0.1), NamingSystem (hl7.fhir.r4.core#4.0.1), NamingSystem (hl7.fhir.r4.core#4.0.1), NamingSystem (hl7.fhir.r4.core#4.0.1), NamingSystem (hl7.fhir.r4.core#4.0.1), NamingSystem (hl7.fhir.r4.core#4.0.1), NamingSystem (hl7.fhir.r4.core#4.0.1), NamingSystem (hl7.fhir.r4.core#4.0.1) + - Version 2: NamingSystem (hl7.fhir.r5.core#5.0.0), NamingSystem (hl7.fhir.r5.core#5.0.0), NamingSystem (hl7.fhir.r5.core#5.0.0) + - Version 3: NamingSystem (hl7.fhir.r4.examples#4.0.1) +- `urn:fhir:binding:NamingSystemType` (3 versions) + - Version 1: NamingSystem (hl7.fhir.r4.core#4.0.1), NamingSystem (hl7.fhir.r4.core#4.0.1), NamingSystem (hl7.fhir.r4.core#4.0.1), NamingSystem (hl7.fhir.r4.core#4.0.1), NamingSystem (hl7.fhir.r4.core#4.0.1), NamingSystem (hl7.fhir.r4.core#4.0.1), NamingSystem (hl7.fhir.r4.core#4.0.1), NamingSystem (hl7.fhir.r4.core#4.0.1), NamingSystem (hl7.fhir.r4.core#4.0.1), NamingSystem (hl7.fhir.r4.core#4.0.1) + - Version 2: NamingSystem (hl7.fhir.r5.core#5.0.0), NamingSystem (hl7.fhir.r5.core#5.0.0), NamingSystem (hl7.fhir.r5.core#5.0.0) + - Version 3: NamingSystem (hl7.fhir.r4.examples#4.0.1) +- `urn:fhir:binding:NarrativeStatus` (3 versions) + - Version 1: Narrative (hl7.fhir.r4.core#4.0.1), Narrative (hl7.fhir.r4.core#4.0.1), Narrative (hl7.fhir.r4.core#4.0.1), Narrative (hl7.fhir.r4.core#4.0.1), Narrative (hl7.fhir.r4.core#4.0.1), Narrative (hl7.fhir.r4.core#4.0.1), Narrative (hl7.fhir.r4.core#4.0.1), Narrative (hl7.fhir.r4.core#4.0.1), Narrative (hl7.fhir.r4.core#4.0.1), Narrative (hl7.fhir.r4.core#4.0.1) + - Version 2: Narrative (hl7.fhir.r5.core#5.0.0), Narrative (hl7.fhir.r5.core#5.0.0), Narrative (hl7.fhir.r5.core#5.0.0) + - Version 3: Narrative (hl7.fhir.r4.examples#4.0.1) +- `urn:fhir:binding:need` (3 versions) + - Version 1: VerificationResult (hl7.fhir.r4.core#4.0.1), VerificationResult (hl7.fhir.r4.core#4.0.1), VerificationResult (hl7.fhir.r4.core#4.0.1), VerificationResult (hl7.fhir.r4.core#4.0.1), VerificationResult (hl7.fhir.r4.core#4.0.1), VerificationResult (hl7.fhir.r4.core#4.0.1), VerificationResult (hl7.fhir.r4.core#4.0.1), VerificationResult (hl7.fhir.r4.core#4.0.1), VerificationResult (hl7.fhir.r4.core#4.0.1), VerificationResult (hl7.fhir.r4.core#4.0.1) + - Version 2: VerificationResult (hl7.fhir.r5.core#5.0.0), VerificationResult (hl7.fhir.r5.core#5.0.0), VerificationResult (hl7.fhir.r5.core#5.0.0) + - Version 3: VerificationResult (hl7.fhir.r4.examples#4.0.1) +- `urn:fhir:binding:NoteType` (4 versions) + - Version 1: ClaimResponse (hl7.fhir.r4.core#4.0.1), PaymentReconciliation (hl7.fhir.r4.core#4.0.1), ExplanationOfBenefit (hl7.fhir.r4.core#4.0.1), ClaimResponse (hl7.fhir.r4.core#4.0.1), PaymentReconciliation (hl7.fhir.r4.core#4.0.1), ExplanationOfBenefit (hl7.fhir.r4.core#4.0.1), ClaimResponse (hl7.fhir.r4.core#4.0.1), PaymentReconciliation (hl7.fhir.r4.core#4.0.1), ExplanationOfBenefit (hl7.fhir.r4.core#4.0.1), ClaimResponse (hl7.fhir.r4.core#4.0.1), PaymentReconciliation (hl7.fhir.r4.core#4.0.1), ExplanationOfBenefit (hl7.fhir.r4.core#4.0.1), ClaimResponse (hl7.fhir.r4.core#4.0.1), PaymentReconciliation (hl7.fhir.r4.core#4.0.1), ExplanationOfBenefit (hl7.fhir.r4.core#4.0.1), ClaimResponse (hl7.fhir.r4.core#4.0.1), PaymentReconciliation (hl7.fhir.r4.core#4.0.1), ExplanationOfBenefit (hl7.fhir.r4.core#4.0.1), ClaimResponse (hl7.fhir.r4.core#4.0.1), PaymentReconciliation (hl7.fhir.r4.core#4.0.1), ExplanationOfBenefit (hl7.fhir.r4.core#4.0.1), ClaimResponse (hl7.fhir.r4.core#4.0.1), PaymentReconciliation (hl7.fhir.r4.core#4.0.1), ExplanationOfBenefit (hl7.fhir.r4.core#4.0.1), ClaimResponse (hl7.fhir.r4.core#4.0.1), PaymentReconciliation (hl7.fhir.r4.core#4.0.1), ExplanationOfBenefit (hl7.fhir.r4.core#4.0.1), ClaimResponse (hl7.fhir.r4.core#4.0.1), PaymentReconciliation (hl7.fhir.r4.core#4.0.1), ExplanationOfBenefit (hl7.fhir.r4.core#4.0.1) + - Version 2: ClaimResponse (hl7.fhir.r5.core#5.0.0), ExplanationOfBenefit (hl7.fhir.r5.core#5.0.0), ClaimResponse (hl7.fhir.r5.core#5.0.0), ExplanationOfBenefit (hl7.fhir.r5.core#5.0.0), ClaimResponse (hl7.fhir.r5.core#5.0.0), ExplanationOfBenefit (hl7.fhir.r5.core#5.0.0) + - Version 3: PaymentReconciliation (hl7.fhir.r5.core#5.0.0), PaymentReconciliation (hl7.fhir.r5.core#5.0.0), PaymentReconciliation (hl7.fhir.r5.core#5.0.0) + - Version 4: ClaimResponse (hl7.fhir.r4.examples#4.0.1), PaymentReconciliation (hl7.fhir.r4.examples#4.0.1), ExplanationOfBenefit (hl7.fhir.r4.examples#4.0.1) +- `urn:fhir:binding:NutrientModifier` (3 versions) + - Version 1: NutritionOrder (hl7.fhir.r4.core#4.0.1), NutritionOrder (hl7.fhir.r4.core#4.0.1), NutritionOrder (hl7.fhir.r4.core#4.0.1), NutritionOrder (hl7.fhir.r4.core#4.0.1), NutritionOrder (hl7.fhir.r4.core#4.0.1), NutritionOrder (hl7.fhir.r4.core#4.0.1), NutritionOrder (hl7.fhir.r4.core#4.0.1), NutritionOrder (hl7.fhir.r4.core#4.0.1), NutritionOrder (hl7.fhir.r4.core#4.0.1), NutritionOrder (hl7.fhir.r4.core#4.0.1) + - Version 2: NutritionOrder (hl7.fhir.r5.core#5.0.0), NutritionOrder (hl7.fhir.r5.core#5.0.0), NutritionOrder (hl7.fhir.r5.core#5.0.0) + - Version 3: NutritionOrder (hl7.fhir.r4.examples#4.0.1) +- `urn:fhir:binding:NutritiionOrderIntent` (3 versions) + - Version 1: NutritionOrder (hl7.fhir.r4.core#4.0.1), NutritionOrder (hl7.fhir.r4.core#4.0.1), NutritionOrder (hl7.fhir.r4.core#4.0.1), NutritionOrder (hl7.fhir.r4.core#4.0.1), NutritionOrder (hl7.fhir.r4.core#4.0.1), NutritionOrder (hl7.fhir.r4.core#4.0.1), NutritionOrder (hl7.fhir.r4.core#4.0.1), NutritionOrder (hl7.fhir.r4.core#4.0.1), NutritionOrder (hl7.fhir.r4.core#4.0.1), NutritionOrder (hl7.fhir.r4.core#4.0.1) + - Version 2: NutritionOrder (hl7.fhir.r5.core#5.0.0), NutritionOrder (hl7.fhir.r5.core#5.0.0), NutritionOrder (hl7.fhir.r5.core#5.0.0) + - Version 3: NutritionOrder (hl7.fhir.r4.examples#4.0.1) +- `urn:fhir:binding:NutritionOrderStatus` (3 versions) + - Version 1: NutritionOrder (hl7.fhir.r4.core#4.0.1), NutritionOrder (hl7.fhir.r4.core#4.0.1), NutritionOrder (hl7.fhir.r4.core#4.0.1), NutritionOrder (hl7.fhir.r4.core#4.0.1), NutritionOrder (hl7.fhir.r4.core#4.0.1), NutritionOrder (hl7.fhir.r4.core#4.0.1), NutritionOrder (hl7.fhir.r4.core#4.0.1), NutritionOrder (hl7.fhir.r4.core#4.0.1), NutritionOrder (hl7.fhir.r4.core#4.0.1), NutritionOrder (hl7.fhir.r4.core#4.0.1) + - Version 2: NutritionOrder (hl7.fhir.r5.core#5.0.0), NutritionOrder (hl7.fhir.r5.core#5.0.0), NutritionOrder (hl7.fhir.r5.core#5.0.0) + - Version 3: NutritionOrder (hl7.fhir.r4.examples#4.0.1) +- `urn:fhir:binding:ObservationCategory` (6 versions) + - Version 1: Observation (hl7.fhir.r4.core#4.0.1), vitalsigns (hl7.fhir.r4.core#4.0.1), Observation (hl7.fhir.r4.core#4.0.1), vitalsigns (hl7.fhir.r4.core#4.0.1), Observation (hl7.fhir.r4.core#4.0.1), vitalsigns (hl7.fhir.r4.core#4.0.1), Observation (hl7.fhir.r4.core#4.0.1), vitalsigns (hl7.fhir.r4.core#4.0.1), Observation (hl7.fhir.r4.core#4.0.1), vitalsigns (hl7.fhir.r4.core#4.0.1), Observation (hl7.fhir.r4.core#4.0.1), vitalsigns (hl7.fhir.r4.core#4.0.1), Observation (hl7.fhir.r4.core#4.0.1), vitalsigns (hl7.fhir.r4.core#4.0.1), Observation (hl7.fhir.r4.core#4.0.1), vitalsigns (hl7.fhir.r4.core#4.0.1), Observation (hl7.fhir.r4.core#4.0.1), vitalsigns (hl7.fhir.r4.core#4.0.1), us-core-average-blood-pressure (hl7.fhir.us.core#8.0.1), us-core-observation-clinical-result (hl7.fhir.us.core#8.0.1), us-core-observation-lab (hl7.fhir.us.core#8.0.1), us-core-observation-occupation (hl7.fhir.us.core#8.0.1), us-core-observation-pregnancyintent (hl7.fhir.us.core#8.0.1), us-core-observation-pregnancystatus (hl7.fhir.us.core#8.0.1), us-core-observation-screening-assessment (hl7.fhir.us.core#8.0.1), us-core-smokingstatus (hl7.fhir.us.core#8.0.1), us-core-vital-signs (hl7.fhir.us.core#8.0.1), Observation (hl7.fhir.r4.core#4.0.1), vitalsigns (hl7.fhir.r4.core#4.0.1) + - Version 2: Observation (hl7.fhir.r5.core#5.0.0), vitalsigns (hl7.fhir.r5.core#5.0.0), ConditionDefinition (hl7.fhir.r5.core#5.0.0), Observation (hl7.fhir.r5.core#5.0.0), vitalsigns (hl7.fhir.r5.core#5.0.0), ConditionDefinition (hl7.fhir.r5.core#5.0.0), Observation (hl7.fhir.r5.core#5.0.0), vitalsigns (hl7.fhir.r5.core#5.0.0), ConditionDefinition (hl7.fhir.r5.core#5.0.0), ConditionDefinition (hl7.fhir.r5.core#5.0.0), ConditionDefinition (hl7.fhir.r5.core#5.0.0) + - Version 3: ObservationDefinition (hl7.fhir.r4.core#4.0.1), ObservationDefinition (hl7.fhir.r4.core#4.0.1), ObservationDefinition (hl7.fhir.r4.core#4.0.1), ObservationDefinition (hl7.fhir.r4.core#4.0.1), ObservationDefinition (hl7.fhir.r4.core#4.0.1), ObservationDefinition (hl7.fhir.r4.core#4.0.1), ObservationDefinition (hl7.fhir.r4.core#4.0.1), ObservationDefinition (hl7.fhir.r4.core#4.0.1), ObservationDefinition (hl7.fhir.r4.core#4.0.1), ObservationDefinition (hl7.fhir.r4.core#4.0.1) + - Version 4: ObservationDefinition (hl7.fhir.r5.core#5.0.0), ObservationDefinition (hl7.fhir.r5.core#5.0.0), ObservationDefinition (hl7.fhir.r5.core#5.0.0) + - Version 5: Observation (hl7.fhir.r4.examples#4.0.1), vitalsigns (hl7.fhir.r4.examples#4.0.1) + - Version 6: ObservationDefinition (hl7.fhir.r4.examples#4.0.1) +- `urn:fhir:binding:ObservationCode` (3 versions) + - Version 1: Observation (hl7.fhir.r4.core#4.0.1), triglyceride (hl7.fhir.r4.core#4.0.1), ObservationDefinition (hl7.fhir.r4.core#4.0.1), hdlcholesterol (hl7.fhir.r4.core#4.0.1), cholesterol (hl7.fhir.r4.core#4.0.1), devicemetricobservation (hl7.fhir.r4.core#4.0.1), Observation (hl7.fhir.r4.core#4.0.1), triglyceride (hl7.fhir.r4.core#4.0.1), ObservationDefinition (hl7.fhir.r4.core#4.0.1), hdlcholesterol (hl7.fhir.r4.core#4.0.1), cholesterol (hl7.fhir.r4.core#4.0.1), devicemetricobservation (hl7.fhir.r4.core#4.0.1), Observation (hl7.fhir.r4.core#4.0.1), triglyceride (hl7.fhir.r4.core#4.0.1), ObservationDefinition (hl7.fhir.r4.core#4.0.1), hdlcholesterol (hl7.fhir.r4.core#4.0.1), cholesterol (hl7.fhir.r4.core#4.0.1), devicemetricobservation (hl7.fhir.r4.core#4.0.1), Observation (hl7.fhir.r4.core#4.0.1), triglyceride (hl7.fhir.r4.core#4.0.1), ObservationDefinition (hl7.fhir.r4.core#4.0.1), hdlcholesterol (hl7.fhir.r4.core#4.0.1), cholesterol (hl7.fhir.r4.core#4.0.1), devicemetricobservation (hl7.fhir.r4.core#4.0.1), Observation (hl7.fhir.r4.core#4.0.1), triglyceride (hl7.fhir.r4.core#4.0.1), ObservationDefinition (hl7.fhir.r4.core#4.0.1), hdlcholesterol (hl7.fhir.r4.core#4.0.1), cholesterol (hl7.fhir.r4.core#4.0.1), devicemetricobservation (hl7.fhir.r4.core#4.0.1), Observation (hl7.fhir.r4.core#4.0.1), triglyceride (hl7.fhir.r4.core#4.0.1), ObservationDefinition (hl7.fhir.r4.core#4.0.1), hdlcholesterol (hl7.fhir.r4.core#4.0.1), cholesterol (hl7.fhir.r4.core#4.0.1), devicemetricobservation (hl7.fhir.r4.core#4.0.1), Observation (hl7.fhir.r4.core#4.0.1), triglyceride (hl7.fhir.r4.core#4.0.1), ObservationDefinition (hl7.fhir.r4.core#4.0.1), hdlcholesterol (hl7.fhir.r4.core#4.0.1), cholesterol (hl7.fhir.r4.core#4.0.1), devicemetricobservation (hl7.fhir.r4.core#4.0.1), Observation (hl7.fhir.r4.core#4.0.1), triglyceride (hl7.fhir.r4.core#4.0.1), ObservationDefinition (hl7.fhir.r4.core#4.0.1), hdlcholesterol (hl7.fhir.r4.core#4.0.1), cholesterol (hl7.fhir.r4.core#4.0.1), devicemetricobservation (hl7.fhir.r4.core#4.0.1), Observation (hl7.fhir.r4.core#4.0.1), triglyceride (hl7.fhir.r4.core#4.0.1), ObservationDefinition (hl7.fhir.r4.core#4.0.1), hdlcholesterol (hl7.fhir.r4.core#4.0.1), cholesterol (hl7.fhir.r4.core#4.0.1), devicemetricobservation (hl7.fhir.r4.core#4.0.1), us-core-average-blood-pressure (hl7.fhir.us.core#8.0.1), us-core-care-experience-preference (hl7.fhir.us.core#8.0.1), us-core-observation-adi-documentation (hl7.fhir.us.core#8.0.1), us-core-observation-clinical-result (hl7.fhir.us.core#8.0.1), us-core-observation-occupation (hl7.fhir.us.core#8.0.1), us-core-observation-pregnancyintent (hl7.fhir.us.core#8.0.1), us-core-observation-pregnancystatus (hl7.fhir.us.core#8.0.1), us-core-observation-sexual-orientation (hl7.fhir.us.core#8.0.1), us-core-simple-observation (hl7.fhir.us.core#8.0.1), us-core-treatment-intervention-preference (hl7.fhir.us.core#8.0.1), Observation (hl7.fhir.r4.core#4.0.1), triglyceride (hl7.fhir.r4.core#4.0.1), ObservationDefinition (hl7.fhir.r4.core#4.0.1), hdlcholesterol (hl7.fhir.r4.core#4.0.1), cholesterol (hl7.fhir.r4.core#4.0.1), devicemetricobservation (hl7.fhir.r4.core#4.0.1) + - Version 2: Observation (hl7.fhir.r5.core#5.0.0), triglyceride (hl7.fhir.r5.core#5.0.0), ObservationDefinition (hl7.fhir.r5.core#5.0.0), hdlcholesterol (hl7.fhir.r5.core#5.0.0), cholesterol (hl7.fhir.r5.core#5.0.0), devicemetricobservation (hl7.fhir.r5.core#5.0.0), ConditionDefinition (hl7.fhir.r5.core#5.0.0), Observation (hl7.fhir.r5.core#5.0.0), triglyceride (hl7.fhir.r5.core#5.0.0), ObservationDefinition (hl7.fhir.r5.core#5.0.0), hdlcholesterol (hl7.fhir.r5.core#5.0.0), cholesterol (hl7.fhir.r5.core#5.0.0), devicemetricobservation (hl7.fhir.r5.core#5.0.0), ConditionDefinition (hl7.fhir.r5.core#5.0.0), Observation (hl7.fhir.r5.core#5.0.0), triglyceride (hl7.fhir.r5.core#5.0.0), ObservationDefinition (hl7.fhir.r5.core#5.0.0), hdlcholesterol (hl7.fhir.r5.core#5.0.0), cholesterol (hl7.fhir.r5.core#5.0.0), devicemetricobservation (hl7.fhir.r5.core#5.0.0), ConditionDefinition (hl7.fhir.r5.core#5.0.0), ConditionDefinition (hl7.fhir.r5.core#5.0.0), ConditionDefinition (hl7.fhir.r5.core#5.0.0) + - Version 3: Observation (hl7.fhir.r4.examples#4.0.1), triglyceride (hl7.fhir.r4.examples#4.0.1), ObservationDefinition (hl7.fhir.r4.examples#4.0.1), hdlcholesterol (hl7.fhir.r4.examples#4.0.1), cholesterol (hl7.fhir.r4.examples#4.0.1), devicemetricobservation (hl7.fhir.r4.examples#4.0.1) +- `urn:fhir:binding:ObservationDataType` (3 versions) + - Version 1: ObservationDefinition (hl7.fhir.r4.core#4.0.1), ObservationDefinition (hl7.fhir.r4.core#4.0.1), ObservationDefinition (hl7.fhir.r4.core#4.0.1), ObservationDefinition (hl7.fhir.r4.core#4.0.1), ObservationDefinition (hl7.fhir.r4.core#4.0.1), ObservationDefinition (hl7.fhir.r4.core#4.0.1), ObservationDefinition (hl7.fhir.r4.core#4.0.1), ObservationDefinition (hl7.fhir.r4.core#4.0.1), ObservationDefinition (hl7.fhir.r4.core#4.0.1), ObservationDefinition (hl7.fhir.r4.core#4.0.1) + - Version 2: ObservationDefinition (hl7.fhir.r5.core#5.0.0), ObservationDefinition (hl7.fhir.r5.core#5.0.0), ObservationDefinition (hl7.fhir.r5.core#5.0.0) + - Version 3: ObservationDefinition (hl7.fhir.r4.examples#4.0.1) +- `urn:fhir:binding:ObservationInterpretation` (3 versions) + - Version 1: Observation (hl7.fhir.r4.core#4.0.1), triglyceride (hl7.fhir.r4.core#4.0.1), hdlcholesterol (hl7.fhir.r4.core#4.0.1), cholesterol (hl7.fhir.r4.core#4.0.1), devicemetricobservation (hl7.fhir.r4.core#4.0.1), ldlcholesterol (hl7.fhir.r4.core#4.0.1), Observation (hl7.fhir.r4.core#4.0.1), triglyceride (hl7.fhir.r4.core#4.0.1), hdlcholesterol (hl7.fhir.r4.core#4.0.1), cholesterol (hl7.fhir.r4.core#4.0.1), devicemetricobservation (hl7.fhir.r4.core#4.0.1), ldlcholesterol (hl7.fhir.r4.core#4.0.1), Observation (hl7.fhir.r4.core#4.0.1), triglyceride (hl7.fhir.r4.core#4.0.1), hdlcholesterol (hl7.fhir.r4.core#4.0.1), cholesterol (hl7.fhir.r4.core#4.0.1), devicemetricobservation (hl7.fhir.r4.core#4.0.1), ldlcholesterol (hl7.fhir.r4.core#4.0.1), Observation (hl7.fhir.r4.core#4.0.1), triglyceride (hl7.fhir.r4.core#4.0.1), hdlcholesterol (hl7.fhir.r4.core#4.0.1), cholesterol (hl7.fhir.r4.core#4.0.1), devicemetricobservation (hl7.fhir.r4.core#4.0.1), ldlcholesterol (hl7.fhir.r4.core#4.0.1), Observation (hl7.fhir.r4.core#4.0.1), triglyceride (hl7.fhir.r4.core#4.0.1), hdlcholesterol (hl7.fhir.r4.core#4.0.1), cholesterol (hl7.fhir.r4.core#4.0.1), devicemetricobservation (hl7.fhir.r4.core#4.0.1), ldlcholesterol (hl7.fhir.r4.core#4.0.1), Observation (hl7.fhir.r4.core#4.0.1), triglyceride (hl7.fhir.r4.core#4.0.1), hdlcholesterol (hl7.fhir.r4.core#4.0.1), cholesterol (hl7.fhir.r4.core#4.0.1), devicemetricobservation (hl7.fhir.r4.core#4.0.1), ldlcholesterol (hl7.fhir.r4.core#4.0.1), Observation (hl7.fhir.r4.core#4.0.1), triglyceride (hl7.fhir.r4.core#4.0.1), hdlcholesterol (hl7.fhir.r4.core#4.0.1), cholesterol (hl7.fhir.r4.core#4.0.1), devicemetricobservation (hl7.fhir.r4.core#4.0.1), ldlcholesterol (hl7.fhir.r4.core#4.0.1), Observation (hl7.fhir.r4.core#4.0.1), triglyceride (hl7.fhir.r4.core#4.0.1), hdlcholesterol (hl7.fhir.r4.core#4.0.1), cholesterol (hl7.fhir.r4.core#4.0.1), devicemetricobservation (hl7.fhir.r4.core#4.0.1), ldlcholesterol (hl7.fhir.r4.core#4.0.1), Observation (hl7.fhir.r4.core#4.0.1), triglyceride (hl7.fhir.r4.core#4.0.1), hdlcholesterol (hl7.fhir.r4.core#4.0.1), cholesterol (hl7.fhir.r4.core#4.0.1), devicemetricobservation (hl7.fhir.r4.core#4.0.1), ldlcholesterol (hl7.fhir.r4.core#4.0.1), Observation (hl7.fhir.r4.core#4.0.1), triglyceride (hl7.fhir.r4.core#4.0.1), hdlcholesterol (hl7.fhir.r4.core#4.0.1), cholesterol (hl7.fhir.r4.core#4.0.1), devicemetricobservation (hl7.fhir.r4.core#4.0.1), ldlcholesterol (hl7.fhir.r4.core#4.0.1) + - Version 2: Observation (hl7.fhir.r5.core#5.0.0), triglyceride (hl7.fhir.r5.core#5.0.0), hdlcholesterol (hl7.fhir.r5.core#5.0.0), cholesterol (hl7.fhir.r5.core#5.0.0), devicemetricobservation (hl7.fhir.r5.core#5.0.0), ldlcholesterol (hl7.fhir.r5.core#5.0.0), Observation (hl7.fhir.r5.core#5.0.0), triglyceride (hl7.fhir.r5.core#5.0.0), hdlcholesterol (hl7.fhir.r5.core#5.0.0), cholesterol (hl7.fhir.r5.core#5.0.0), devicemetricobservation (hl7.fhir.r5.core#5.0.0), ldlcholesterol (hl7.fhir.r5.core#5.0.0), Observation (hl7.fhir.r5.core#5.0.0), triglyceride (hl7.fhir.r5.core#5.0.0), hdlcholesterol (hl7.fhir.r5.core#5.0.0), cholesterol (hl7.fhir.r5.core#5.0.0), devicemetricobservation (hl7.fhir.r5.core#5.0.0), ldlcholesterol (hl7.fhir.r5.core#5.0.0) + - Version 3: Observation (hl7.fhir.r4.examples#4.0.1), triglyceride (hl7.fhir.r4.examples#4.0.1), hdlcholesterol (hl7.fhir.r4.examples#4.0.1), cholesterol (hl7.fhir.r4.examples#4.0.1), devicemetricobservation (hl7.fhir.r4.examples#4.0.1), ldlcholesterol (hl7.fhir.r4.examples#4.0.1) +- `urn:fhir:binding:ObservationMethod` (3 versions) + - Version 1: Observation (hl7.fhir.r4.core#4.0.1), ObservationDefinition (hl7.fhir.r4.core#4.0.1), devicemetricobservation (hl7.fhir.r4.core#4.0.1), Observation (hl7.fhir.r4.core#4.0.1), ObservationDefinition (hl7.fhir.r4.core#4.0.1), devicemetricobservation (hl7.fhir.r4.core#4.0.1), Observation (hl7.fhir.r4.core#4.0.1), ObservationDefinition (hl7.fhir.r4.core#4.0.1), devicemetricobservation (hl7.fhir.r4.core#4.0.1), Observation (hl7.fhir.r4.core#4.0.1), ObservationDefinition (hl7.fhir.r4.core#4.0.1), devicemetricobservation (hl7.fhir.r4.core#4.0.1), Observation (hl7.fhir.r4.core#4.0.1), ObservationDefinition (hl7.fhir.r4.core#4.0.1), devicemetricobservation (hl7.fhir.r4.core#4.0.1), Observation (hl7.fhir.r4.core#4.0.1), ObservationDefinition (hl7.fhir.r4.core#4.0.1), devicemetricobservation (hl7.fhir.r4.core#4.0.1), Observation (hl7.fhir.r4.core#4.0.1), ObservationDefinition (hl7.fhir.r4.core#4.0.1), devicemetricobservation (hl7.fhir.r4.core#4.0.1), Observation (hl7.fhir.r4.core#4.0.1), ObservationDefinition (hl7.fhir.r4.core#4.0.1), devicemetricobservation (hl7.fhir.r4.core#4.0.1), Observation (hl7.fhir.r4.core#4.0.1), ObservationDefinition (hl7.fhir.r4.core#4.0.1), devicemetricobservation (hl7.fhir.r4.core#4.0.1), Observation (hl7.fhir.r4.core#4.0.1), ObservationDefinition (hl7.fhir.r4.core#4.0.1), devicemetricobservation (hl7.fhir.r4.core#4.0.1) + - Version 2: Observation (hl7.fhir.r5.core#5.0.0), ObservationDefinition (hl7.fhir.r5.core#5.0.0), devicemetricobservation (hl7.fhir.r5.core#5.0.0), Observation (hl7.fhir.r5.core#5.0.0), ObservationDefinition (hl7.fhir.r5.core#5.0.0), devicemetricobservation (hl7.fhir.r5.core#5.0.0), Observation (hl7.fhir.r5.core#5.0.0), ObservationDefinition (hl7.fhir.r5.core#5.0.0), devicemetricobservation (hl7.fhir.r5.core#5.0.0) + - Version 3: Observation (hl7.fhir.r4.examples#4.0.1), ObservationDefinition (hl7.fhir.r4.examples#4.0.1), devicemetricobservation (hl7.fhir.r4.examples#4.0.1) +- `urn:fhir:binding:ObservationRangeAppliesTo` (3 versions) + - Version 1: ObservationDefinition (hl7.fhir.r4.core#4.0.1), ObservationDefinition (hl7.fhir.r4.core#4.0.1), ObservationDefinition (hl7.fhir.r4.core#4.0.1), ObservationDefinition (hl7.fhir.r4.core#4.0.1), ObservationDefinition (hl7.fhir.r4.core#4.0.1), ObservationDefinition (hl7.fhir.r4.core#4.0.1), ObservationDefinition (hl7.fhir.r4.core#4.0.1), ObservationDefinition (hl7.fhir.r4.core#4.0.1), ObservationDefinition (hl7.fhir.r4.core#4.0.1), ObservationDefinition (hl7.fhir.r4.core#4.0.1) + - Version 2: ObservationDefinition (hl7.fhir.r5.core#5.0.0), ObservationDefinition (hl7.fhir.r5.core#5.0.0), ObservationDefinition (hl7.fhir.r5.core#5.0.0) + - Version 3: ObservationDefinition (hl7.fhir.r4.examples#4.0.1) +- `urn:fhir:binding:ObservationRangeCategory` (3 versions) + - Version 1: ObservationDefinition (hl7.fhir.r4.core#4.0.1), ObservationDefinition (hl7.fhir.r4.core#4.0.1), ObservationDefinition (hl7.fhir.r4.core#4.0.1), ObservationDefinition (hl7.fhir.r4.core#4.0.1), ObservationDefinition (hl7.fhir.r4.core#4.0.1), ObservationDefinition (hl7.fhir.r4.core#4.0.1), ObservationDefinition (hl7.fhir.r4.core#4.0.1), ObservationDefinition (hl7.fhir.r4.core#4.0.1), ObservationDefinition (hl7.fhir.r4.core#4.0.1), ObservationDefinition (hl7.fhir.r4.core#4.0.1) + - Version 2: ObservationDefinition (hl7.fhir.r5.core#5.0.0), ObservationDefinition (hl7.fhir.r5.core#5.0.0), ObservationDefinition (hl7.fhir.r5.core#5.0.0) + - Version 3: ObservationDefinition (hl7.fhir.r4.examples#4.0.1) +- `urn:fhir:binding:ObservationRangeMeaning` (6 versions) + - Version 1: Observation (hl7.fhir.r4.core#4.0.1), triglyceride (hl7.fhir.r4.core#4.0.1), hdlcholesterol (hl7.fhir.r4.core#4.0.1), cholesterol (hl7.fhir.r4.core#4.0.1), ldlcholesterol (hl7.fhir.r4.core#4.0.1), Observation (hl7.fhir.r4.core#4.0.1), triglyceride (hl7.fhir.r4.core#4.0.1), hdlcholesterol (hl7.fhir.r4.core#4.0.1), cholesterol (hl7.fhir.r4.core#4.0.1), ldlcholesterol (hl7.fhir.r4.core#4.0.1), Observation (hl7.fhir.r4.core#4.0.1), triglyceride (hl7.fhir.r4.core#4.0.1), hdlcholesterol (hl7.fhir.r4.core#4.0.1), cholesterol (hl7.fhir.r4.core#4.0.1), ldlcholesterol (hl7.fhir.r4.core#4.0.1), Observation (hl7.fhir.r4.core#4.0.1), triglyceride (hl7.fhir.r4.core#4.0.1), hdlcholesterol (hl7.fhir.r4.core#4.0.1), cholesterol (hl7.fhir.r4.core#4.0.1), ldlcholesterol (hl7.fhir.r4.core#4.0.1), Observation (hl7.fhir.r4.core#4.0.1), triglyceride (hl7.fhir.r4.core#4.0.1), hdlcholesterol (hl7.fhir.r4.core#4.0.1), cholesterol (hl7.fhir.r4.core#4.0.1), ldlcholesterol (hl7.fhir.r4.core#4.0.1), Observation (hl7.fhir.r4.core#4.0.1), triglyceride (hl7.fhir.r4.core#4.0.1), hdlcholesterol (hl7.fhir.r4.core#4.0.1), cholesterol (hl7.fhir.r4.core#4.0.1), ldlcholesterol (hl7.fhir.r4.core#4.0.1), Observation (hl7.fhir.r4.core#4.0.1), triglyceride (hl7.fhir.r4.core#4.0.1), hdlcholesterol (hl7.fhir.r4.core#4.0.1), cholesterol (hl7.fhir.r4.core#4.0.1), ldlcholesterol (hl7.fhir.r4.core#4.0.1), Observation (hl7.fhir.r4.core#4.0.1), triglyceride (hl7.fhir.r4.core#4.0.1), hdlcholesterol (hl7.fhir.r4.core#4.0.1), cholesterol (hl7.fhir.r4.core#4.0.1), ldlcholesterol (hl7.fhir.r4.core#4.0.1), Observation (hl7.fhir.r4.core#4.0.1), triglyceride (hl7.fhir.r4.core#4.0.1), hdlcholesterol (hl7.fhir.r4.core#4.0.1), cholesterol (hl7.fhir.r4.core#4.0.1), ldlcholesterol (hl7.fhir.r4.core#4.0.1), Observation (hl7.fhir.r4.core#4.0.1), triglyceride (hl7.fhir.r4.core#4.0.1), hdlcholesterol (hl7.fhir.r4.core#4.0.1), cholesterol (hl7.fhir.r4.core#4.0.1), ldlcholesterol (hl7.fhir.r4.core#4.0.1) + - Version 2: Observation (hl7.fhir.r5.core#5.0.0), triglyceride (hl7.fhir.r5.core#5.0.0), hdlcholesterol (hl7.fhir.r5.core#5.0.0), cholesterol (hl7.fhir.r5.core#5.0.0), ldlcholesterol (hl7.fhir.r5.core#5.0.0), Observation (hl7.fhir.r5.core#5.0.0), triglyceride (hl7.fhir.r5.core#5.0.0), hdlcholesterol (hl7.fhir.r5.core#5.0.0), cholesterol (hl7.fhir.r5.core#5.0.0), ldlcholesterol (hl7.fhir.r5.core#5.0.0), Observation (hl7.fhir.r5.core#5.0.0), triglyceride (hl7.fhir.r5.core#5.0.0), hdlcholesterol (hl7.fhir.r5.core#5.0.0), cholesterol (hl7.fhir.r5.core#5.0.0), ldlcholesterol (hl7.fhir.r5.core#5.0.0) + - Version 3: ObservationDefinition (hl7.fhir.r4.core#4.0.1), ObservationDefinition (hl7.fhir.r4.core#4.0.1), ObservationDefinition (hl7.fhir.r4.core#4.0.1), ObservationDefinition (hl7.fhir.r4.core#4.0.1), ObservationDefinition (hl7.fhir.r4.core#4.0.1), ObservationDefinition (hl7.fhir.r4.core#4.0.1), ObservationDefinition (hl7.fhir.r4.core#4.0.1), ObservationDefinition (hl7.fhir.r4.core#4.0.1), ObservationDefinition (hl7.fhir.r4.core#4.0.1), ObservationDefinition (hl7.fhir.r4.core#4.0.1) + - Version 4: Observation (hl7.fhir.r4.examples#4.0.1), triglyceride (hl7.fhir.r4.examples#4.0.1), hdlcholesterol (hl7.fhir.r4.examples#4.0.1), cholesterol (hl7.fhir.r4.examples#4.0.1), ldlcholesterol (hl7.fhir.r4.examples#4.0.1) + - Version 5: ObservationDefinition (hl7.fhir.r5.core#5.0.0), ObservationDefinition (hl7.fhir.r5.core#5.0.0), ObservationDefinition (hl7.fhir.r5.core#5.0.0) + - Version 6: ObservationDefinition (hl7.fhir.r4.examples#4.0.1) +- `urn:fhir:binding:ObservationRangeType` (3 versions) + - Version 1: Observation (hl7.fhir.r4.core#4.0.1), triglyceride (hl7.fhir.r4.core#4.0.1), hdlcholesterol (hl7.fhir.r4.core#4.0.1), cholesterol (hl7.fhir.r4.core#4.0.1), ldlcholesterol (hl7.fhir.r4.core#4.0.1), Observation (hl7.fhir.r4.core#4.0.1), triglyceride (hl7.fhir.r4.core#4.0.1), hdlcholesterol (hl7.fhir.r4.core#4.0.1), cholesterol (hl7.fhir.r4.core#4.0.1), ldlcholesterol (hl7.fhir.r4.core#4.0.1), Observation (hl7.fhir.r4.core#4.0.1), triglyceride (hl7.fhir.r4.core#4.0.1), hdlcholesterol (hl7.fhir.r4.core#4.0.1), cholesterol (hl7.fhir.r4.core#4.0.1), ldlcholesterol (hl7.fhir.r4.core#4.0.1), Observation (hl7.fhir.r4.core#4.0.1), triglyceride (hl7.fhir.r4.core#4.0.1), hdlcholesterol (hl7.fhir.r4.core#4.0.1), cholesterol (hl7.fhir.r4.core#4.0.1), ldlcholesterol (hl7.fhir.r4.core#4.0.1), Observation (hl7.fhir.r4.core#4.0.1), triglyceride (hl7.fhir.r4.core#4.0.1), hdlcholesterol (hl7.fhir.r4.core#4.0.1), cholesterol (hl7.fhir.r4.core#4.0.1), ldlcholesterol (hl7.fhir.r4.core#4.0.1), Observation (hl7.fhir.r4.core#4.0.1), triglyceride (hl7.fhir.r4.core#4.0.1), hdlcholesterol (hl7.fhir.r4.core#4.0.1), cholesterol (hl7.fhir.r4.core#4.0.1), ldlcholesterol (hl7.fhir.r4.core#4.0.1), Observation (hl7.fhir.r4.core#4.0.1), triglyceride (hl7.fhir.r4.core#4.0.1), hdlcholesterol (hl7.fhir.r4.core#4.0.1), cholesterol (hl7.fhir.r4.core#4.0.1), ldlcholesterol (hl7.fhir.r4.core#4.0.1), Observation (hl7.fhir.r4.core#4.0.1), triglyceride (hl7.fhir.r4.core#4.0.1), hdlcholesterol (hl7.fhir.r4.core#4.0.1), cholesterol (hl7.fhir.r4.core#4.0.1), ldlcholesterol (hl7.fhir.r4.core#4.0.1), Observation (hl7.fhir.r4.core#4.0.1), triglyceride (hl7.fhir.r4.core#4.0.1), hdlcholesterol (hl7.fhir.r4.core#4.0.1), cholesterol (hl7.fhir.r4.core#4.0.1), ldlcholesterol (hl7.fhir.r4.core#4.0.1), Observation (hl7.fhir.r4.core#4.0.1), triglyceride (hl7.fhir.r4.core#4.0.1), hdlcholesterol (hl7.fhir.r4.core#4.0.1), cholesterol (hl7.fhir.r4.core#4.0.1), ldlcholesterol (hl7.fhir.r4.core#4.0.1) + - Version 2: Observation (hl7.fhir.r5.core#5.0.0), triglyceride (hl7.fhir.r5.core#5.0.0), hdlcholesterol (hl7.fhir.r5.core#5.0.0), cholesterol (hl7.fhir.r5.core#5.0.0), ldlcholesterol (hl7.fhir.r5.core#5.0.0), Observation (hl7.fhir.r5.core#5.0.0), triglyceride (hl7.fhir.r5.core#5.0.0), hdlcholesterol (hl7.fhir.r5.core#5.0.0), cholesterol (hl7.fhir.r5.core#5.0.0), ldlcholesterol (hl7.fhir.r5.core#5.0.0), Observation (hl7.fhir.r5.core#5.0.0), triglyceride (hl7.fhir.r5.core#5.0.0), hdlcholesterol (hl7.fhir.r5.core#5.0.0), cholesterol (hl7.fhir.r5.core#5.0.0), ldlcholesterol (hl7.fhir.r5.core#5.0.0) + - Version 3: Observation (hl7.fhir.r4.examples#4.0.1), triglyceride (hl7.fhir.r4.examples#4.0.1), hdlcholesterol (hl7.fhir.r4.examples#4.0.1), cholesterol (hl7.fhir.r4.examples#4.0.1), ldlcholesterol (hl7.fhir.r4.examples#4.0.1) +- `urn:fhir:binding:ObservationStatus` (3 versions) + - Version 1: Observation (hl7.fhir.r4.core#4.0.1), devicemetricobservation (hl7.fhir.r4.core#4.0.1), Observation (hl7.fhir.r4.core#4.0.1), devicemetricobservation (hl7.fhir.r4.core#4.0.1), Observation (hl7.fhir.r4.core#4.0.1), devicemetricobservation (hl7.fhir.r4.core#4.0.1), Observation (hl7.fhir.r4.core#4.0.1), devicemetricobservation (hl7.fhir.r4.core#4.0.1), Observation (hl7.fhir.r4.core#4.0.1), devicemetricobservation (hl7.fhir.r4.core#4.0.1), Observation (hl7.fhir.r4.core#4.0.1), devicemetricobservation (hl7.fhir.r4.core#4.0.1), Observation (hl7.fhir.r4.core#4.0.1), devicemetricobservation (hl7.fhir.r4.core#4.0.1), Observation (hl7.fhir.r4.core#4.0.1), devicemetricobservation (hl7.fhir.r4.core#4.0.1), Observation (hl7.fhir.r4.core#4.0.1), devicemetricobservation (hl7.fhir.r4.core#4.0.1), us-core-average-blood-pressure (hl7.fhir.us.core#8.0.1), us-core-care-experience-preference (hl7.fhir.us.core#8.0.1), us-core-observation-adi-documentation (hl7.fhir.us.core#8.0.1), us-core-observation-clinical-result (hl7.fhir.us.core#8.0.1), us-core-observation-occupation (hl7.fhir.us.core#8.0.1), us-core-observation-pregnancyintent (hl7.fhir.us.core#8.0.1), us-core-observation-pregnancystatus (hl7.fhir.us.core#8.0.1), us-core-observation-screening-assessment (hl7.fhir.us.core#8.0.1), us-core-simple-observation (hl7.fhir.us.core#8.0.1), us-core-treatment-intervention-preference (hl7.fhir.us.core#8.0.1), Observation (hl7.fhir.r4.core#4.0.1), devicemetricobservation (hl7.fhir.r4.core#4.0.1) + - Version 2: Observation (hl7.fhir.r5.core#5.0.0), devicemetricobservation (hl7.fhir.r5.core#5.0.0), Observation (hl7.fhir.r5.core#5.0.0), devicemetricobservation (hl7.fhir.r5.core#5.0.0), Observation (hl7.fhir.r5.core#5.0.0), devicemetricobservation (hl7.fhir.r5.core#5.0.0) + - Version 3: Observation (hl7.fhir.r4.examples#4.0.1), devicemetricobservation (hl7.fhir.r4.examples#4.0.1) +- `urn:fhir:binding:ObservationUnit` (3 versions) + - Version 1: ObservationDefinition (hl7.fhir.r4.core#4.0.1), ObservationDefinition (hl7.fhir.r4.core#4.0.1), ObservationDefinition (hl7.fhir.r4.core#4.0.1), ObservationDefinition (hl7.fhir.r4.core#4.0.1), ObservationDefinition (hl7.fhir.r4.core#4.0.1), ObservationDefinition (hl7.fhir.r4.core#4.0.1), ObservationDefinition (hl7.fhir.r4.core#4.0.1), ObservationDefinition (hl7.fhir.r4.core#4.0.1), ObservationDefinition (hl7.fhir.r4.core#4.0.1), ObservationDefinition (hl7.fhir.r4.core#4.0.1) + - Version 2: ObservationDefinition (hl7.fhir.r5.core#5.0.0), ObservationDefinition (hl7.fhir.r5.core#5.0.0), ObservationDefinition (hl7.fhir.r5.core#5.0.0) + - Version 3: ObservationDefinition (hl7.fhir.r4.examples#4.0.1) +- `urn:fhir:binding:ObservationValueAbsentReason` (3 versions) + - Version 1: Observation (hl7.fhir.r4.core#4.0.1), vitalsigns (hl7.fhir.r4.core#4.0.1), devicemetricobservation (hl7.fhir.r4.core#4.0.1), Observation (hl7.fhir.r4.core#4.0.1), vitalsigns (hl7.fhir.r4.core#4.0.1), devicemetricobservation (hl7.fhir.r4.core#4.0.1), Observation (hl7.fhir.r4.core#4.0.1), vitalsigns (hl7.fhir.r4.core#4.0.1), devicemetricobservation (hl7.fhir.r4.core#4.0.1), Observation (hl7.fhir.r4.core#4.0.1), vitalsigns (hl7.fhir.r4.core#4.0.1), devicemetricobservation (hl7.fhir.r4.core#4.0.1), Observation (hl7.fhir.r4.core#4.0.1), vitalsigns (hl7.fhir.r4.core#4.0.1), devicemetricobservation (hl7.fhir.r4.core#4.0.1), Observation (hl7.fhir.r4.core#4.0.1), vitalsigns (hl7.fhir.r4.core#4.0.1), devicemetricobservation (hl7.fhir.r4.core#4.0.1), Observation (hl7.fhir.r4.core#4.0.1), vitalsigns (hl7.fhir.r4.core#4.0.1), devicemetricobservation (hl7.fhir.r4.core#4.0.1), Observation (hl7.fhir.r4.core#4.0.1), vitalsigns (hl7.fhir.r4.core#4.0.1), devicemetricobservation (hl7.fhir.r4.core#4.0.1), Observation (hl7.fhir.r4.core#4.0.1), vitalsigns (hl7.fhir.r4.core#4.0.1), devicemetricobservation (hl7.fhir.r4.core#4.0.1), us-core-average-blood-pressure (hl7.fhir.us.core#8.0.1), us-core-observation-clinical-result (hl7.fhir.us.core#8.0.1), us-core-observation-screening-assessment (hl7.fhir.us.core#8.0.1), us-core-vital-signs (hl7.fhir.us.core#8.0.1), Observation (hl7.fhir.r4.core#4.0.1), vitalsigns (hl7.fhir.r4.core#4.0.1), devicemetricobservation (hl7.fhir.r4.core#4.0.1) + - Version 2: Observation (hl7.fhir.r5.core#5.0.0), vitalsigns (hl7.fhir.r5.core#5.0.0), devicemetricobservation (hl7.fhir.r5.core#5.0.0), Observation (hl7.fhir.r5.core#5.0.0), vitalsigns (hl7.fhir.r5.core#5.0.0), devicemetricobservation (hl7.fhir.r5.core#5.0.0), Observation (hl7.fhir.r5.core#5.0.0), vitalsigns (hl7.fhir.r5.core#5.0.0), devicemetricobservation (hl7.fhir.r5.core#5.0.0) + - Version 3: Observation (hl7.fhir.r4.examples#4.0.1), vitalsigns (hl7.fhir.r4.examples#4.0.1), devicemetricobservation (hl7.fhir.r4.examples#4.0.1) +- `urn:fhir:binding:OperationalStatus` (2 versions) + - Version 1: Location (hl7.fhir.r4.core#4.0.1), Location (hl7.fhir.r4.core#4.0.1), Location (hl7.fhir.r4.core#4.0.1), Location (hl7.fhir.r5.core#5.0.0), Location (hl7.fhir.r5.core#5.0.0), Location (hl7.fhir.r5.core#5.0.0), Location (hl7.fhir.r4.core#4.0.1), Location (hl7.fhir.r4.core#4.0.1), Location (hl7.fhir.r4.core#4.0.1), Location (hl7.fhir.r4.core#4.0.1), Location (hl7.fhir.r4.core#4.0.1), Location (hl7.fhir.r4.core#4.0.1), Location (hl7.fhir.r4.core#4.0.1) + - Version 2: Location (hl7.fhir.r4.examples#4.0.1) +- `urn:fhir:binding:OperationKind` (3 versions) + - Version 1: OperationDefinition (hl7.fhir.r4.core#4.0.1), OperationDefinition (hl7.fhir.r4.core#4.0.1), OperationDefinition (hl7.fhir.r4.core#4.0.1), OperationDefinition (hl7.fhir.r4.core#4.0.1), OperationDefinition (hl7.fhir.r4.core#4.0.1), OperationDefinition (hl7.fhir.r4.core#4.0.1), OperationDefinition (hl7.fhir.r4.core#4.0.1), OperationDefinition (hl7.fhir.r4.core#4.0.1), OperationDefinition (hl7.fhir.r4.core#4.0.1), OperationDefinition (hl7.fhir.r4.core#4.0.1) + - Version 2: OperationDefinition (hl7.fhir.r5.core#5.0.0), OperationDefinition (hl7.fhir.r5.core#5.0.0), OperationDefinition (hl7.fhir.r5.core#5.0.0) + - Version 3: OperationDefinition (hl7.fhir.r4.examples#4.0.1) +- `urn:fhir:binding:OperationParameterUse` (3 versions) + - Version 1: OperationDefinition (hl7.fhir.r4.core#4.0.1), OperationDefinition (hl7.fhir.r4.core#4.0.1), OperationDefinition (hl7.fhir.r4.core#4.0.1), OperationDefinition (hl7.fhir.r4.core#4.0.1), OperationDefinition (hl7.fhir.r4.core#4.0.1), OperationDefinition (hl7.fhir.r4.core#4.0.1), OperationDefinition (hl7.fhir.r4.core#4.0.1), OperationDefinition (hl7.fhir.r4.core#4.0.1), OperationDefinition (hl7.fhir.r4.core#4.0.1), OperationDefinition (hl7.fhir.r4.core#4.0.1) + - Version 2: OperationDefinition (hl7.fhir.r5.core#5.0.0), OperationDefinition (hl7.fhir.r5.core#5.0.0), OperationDefinition (hl7.fhir.r5.core#5.0.0) + - Version 3: OperationDefinition (hl7.fhir.r4.examples#4.0.1) +- `urn:fhir:binding:OralDiet` (3 versions) + - Version 1: NutritionOrder (hl7.fhir.r4.core#4.0.1), NutritionOrder (hl7.fhir.r4.core#4.0.1), NutritionOrder (hl7.fhir.r4.core#4.0.1), NutritionOrder (hl7.fhir.r4.core#4.0.1), NutritionOrder (hl7.fhir.r4.core#4.0.1), NutritionOrder (hl7.fhir.r4.core#4.0.1), NutritionOrder (hl7.fhir.r4.core#4.0.1), NutritionOrder (hl7.fhir.r4.core#4.0.1), NutritionOrder (hl7.fhir.r4.core#4.0.1), NutritionOrder (hl7.fhir.r4.core#4.0.1) + - Version 2: NutritionOrder (hl7.fhir.r5.core#5.0.0), NutritionOrder (hl7.fhir.r5.core#5.0.0), NutritionOrder (hl7.fhir.r5.core#5.0.0) + - Version 3: NutritionOrder (hl7.fhir.r4.examples#4.0.1) +- `urn:fhir:binding:OralSites` (3 versions) + - Version 1: Claim (hl7.fhir.r4.core#4.0.1), ClaimResponse (hl7.fhir.r4.core#4.0.1), ExplanationOfBenefit (hl7.fhir.r4.core#4.0.1), Claim (hl7.fhir.r4.core#4.0.1), ClaimResponse (hl7.fhir.r4.core#4.0.1), ExplanationOfBenefit (hl7.fhir.r4.core#4.0.1), Claim (hl7.fhir.r4.core#4.0.1), ClaimResponse (hl7.fhir.r4.core#4.0.1), ExplanationOfBenefit (hl7.fhir.r4.core#4.0.1), Claim (hl7.fhir.r4.core#4.0.1), ClaimResponse (hl7.fhir.r4.core#4.0.1), ExplanationOfBenefit (hl7.fhir.r4.core#4.0.1), Claim (hl7.fhir.r4.core#4.0.1), ClaimResponse (hl7.fhir.r4.core#4.0.1), ExplanationOfBenefit (hl7.fhir.r4.core#4.0.1), Claim (hl7.fhir.r4.core#4.0.1), ClaimResponse (hl7.fhir.r4.core#4.0.1), ExplanationOfBenefit (hl7.fhir.r4.core#4.0.1), Claim (hl7.fhir.r4.core#4.0.1), ClaimResponse (hl7.fhir.r4.core#4.0.1), ExplanationOfBenefit (hl7.fhir.r4.core#4.0.1), Claim (hl7.fhir.r4.core#4.0.1), ClaimResponse (hl7.fhir.r4.core#4.0.1), ExplanationOfBenefit (hl7.fhir.r4.core#4.0.1), Claim (hl7.fhir.r4.core#4.0.1), ClaimResponse (hl7.fhir.r4.core#4.0.1), ExplanationOfBenefit (hl7.fhir.r4.core#4.0.1), Claim (hl7.fhir.r4.core#4.0.1), ClaimResponse (hl7.fhir.r4.core#4.0.1), ExplanationOfBenefit (hl7.fhir.r4.core#4.0.1) + - Version 2: Claim (hl7.fhir.r5.core#5.0.0), ClaimResponse (hl7.fhir.r5.core#5.0.0), ExplanationOfBenefit (hl7.fhir.r5.core#5.0.0), Claim (hl7.fhir.r5.core#5.0.0), ClaimResponse (hl7.fhir.r5.core#5.0.0), ExplanationOfBenefit (hl7.fhir.r5.core#5.0.0), Claim (hl7.fhir.r5.core#5.0.0), ClaimResponse (hl7.fhir.r5.core#5.0.0), ExplanationOfBenefit (hl7.fhir.r5.core#5.0.0) + - Version 3: Claim (hl7.fhir.r4.examples#4.0.1), ClaimResponse (hl7.fhir.r4.examples#4.0.1), ExplanationOfBenefit (hl7.fhir.r4.examples#4.0.1) +- `urn:fhir:binding:OrderDetail` (2 versions) + - Version 1: ServiceRequest (hl7.fhir.r4.core#4.0.1), ServiceRequest (hl7.fhir.r4.core#4.0.1), ServiceRequest (hl7.fhir.r4.core#4.0.1), ServiceRequest (hl7.fhir.r4.core#4.0.1), ServiceRequest (hl7.fhir.r4.core#4.0.1), ServiceRequest (hl7.fhir.r4.core#4.0.1), ServiceRequest (hl7.fhir.r4.core#4.0.1), ServiceRequest (hl7.fhir.r4.core#4.0.1), ServiceRequest (hl7.fhir.r4.core#4.0.1), ServiceRequest (hl7.fhir.r4.core#4.0.1) + - Version 2: ServiceRequest (hl7.fhir.r4.examples#4.0.1) +- `urn:fhir:binding:OrganizationAffiliation` (3 versions) + - Version 1: OrganizationAffiliation (hl7.fhir.r4.core#4.0.1), OrganizationAffiliation (hl7.fhir.r4.core#4.0.1), OrganizationAffiliation (hl7.fhir.r4.core#4.0.1), OrganizationAffiliation (hl7.fhir.r4.core#4.0.1), OrganizationAffiliation (hl7.fhir.r4.core#4.0.1), OrganizationAffiliation (hl7.fhir.r4.core#4.0.1), OrganizationAffiliation (hl7.fhir.r4.core#4.0.1), OrganizationAffiliation (hl7.fhir.r4.core#4.0.1), OrganizationAffiliation (hl7.fhir.r4.core#4.0.1), OrganizationAffiliation (hl7.fhir.r4.core#4.0.1) + - Version 2: OrganizationAffiliation (hl7.fhir.r5.core#5.0.0), OrganizationAffiliation (hl7.fhir.r5.core#5.0.0), OrganizationAffiliation (hl7.fhir.r5.core#5.0.0) + - Version 3: OrganizationAffiliation (hl7.fhir.r4.examples#4.0.1) +- `urn:fhir:binding:OrganizationSpecialty` (3 versions) + - Version 1: OrganizationAffiliation (hl7.fhir.r4.core#4.0.1), OrganizationAffiliation (hl7.fhir.r4.core#4.0.1), OrganizationAffiliation (hl7.fhir.r4.core#4.0.1), OrganizationAffiliation (hl7.fhir.r4.core#4.0.1), OrganizationAffiliation (hl7.fhir.r4.core#4.0.1), OrganizationAffiliation (hl7.fhir.r4.core#4.0.1), OrganizationAffiliation (hl7.fhir.r4.core#4.0.1), OrganizationAffiliation (hl7.fhir.r4.core#4.0.1), OrganizationAffiliation (hl7.fhir.r4.core#4.0.1), OrganizationAffiliation (hl7.fhir.r4.core#4.0.1) + - Version 2: OrganizationAffiliation (hl7.fhir.r5.core#5.0.0), OrganizationAffiliation (hl7.fhir.r5.core#5.0.0), OrganizationAffiliation (hl7.fhir.r5.core#5.0.0) + - Version 3: OrganizationAffiliation (hl7.fhir.r4.examples#4.0.1) +- `urn:fhir:binding:OrganizationType` (3 versions) + - Version 1: Organization (hl7.fhir.r4.core#4.0.1), Organization (hl7.fhir.r4.core#4.0.1), Organization (hl7.fhir.r4.core#4.0.1), Organization (hl7.fhir.r4.core#4.0.1), Organization (hl7.fhir.r4.core#4.0.1), user-access-brand (hl7.fhir.uv.smart-app-launch#2.2.0), Organization (hl7.fhir.r4.core#4.0.1), Organization (hl7.fhir.r4.core#4.0.1), Organization (hl7.fhir.r4.core#4.0.1), Organization (hl7.fhir.r4.core#4.0.1), Organization (hl7.fhir.r4.core#4.0.1), user-access-brand (hl7.fhir.uv.smart-app-launch#2.2.0) + - Version 2: Organization (hl7.fhir.r5.core#5.0.0), Organization (hl7.fhir.r5.core#5.0.0), Organization (hl7.fhir.r5.core#5.0.0) + - Version 3: Organization (hl7.fhir.r4.examples#4.0.1) +- `urn:fhir:binding:orientationType` (3 versions) + - Version 1: MolecularSequence (hl7.fhir.r4.core#4.0.1), MolecularSequence (hl7.fhir.r4.core#4.0.1), MolecularSequence (hl7.fhir.r4.core#4.0.1), MolecularSequence (hl7.fhir.r4.core#4.0.1), MolecularSequence (hl7.fhir.r4.core#4.0.1), MolecularSequence (hl7.fhir.r4.core#4.0.1), MolecularSequence (hl7.fhir.r4.core#4.0.1), MolecularSequence (hl7.fhir.r4.core#4.0.1), MolecularSequence (hl7.fhir.r4.core#4.0.1), MolecularSequence (hl7.fhir.r4.core#4.0.1) + - Version 2: MolecularSequence (hl7.fhir.r5.core#5.0.0), MolecularSequence (hl7.fhir.r5.core#5.0.0), MolecularSequence (hl7.fhir.r5.core#5.0.0) + - Version 3: MolecularSequence (hl7.fhir.r4.examples#4.0.1) +- `urn:fhir:binding:ParameterUse` (3 versions) + - Version 1: ParameterDefinition (hl7.fhir.r4.core#4.0.1), ParameterDefinition (hl7.fhir.r4.core#4.0.1), ParameterDefinition (hl7.fhir.r4.core#4.0.1), ParameterDefinition (hl7.fhir.r4.core#4.0.1), ParameterDefinition (hl7.fhir.r4.core#4.0.1), ParameterDefinition (hl7.fhir.r4.core#4.0.1), ParameterDefinition (hl7.fhir.r4.core#4.0.1), ParameterDefinition (hl7.fhir.r4.core#4.0.1), ParameterDefinition (hl7.fhir.r4.core#4.0.1), ParameterDefinition (hl7.fhir.r4.core#4.0.1) + - Version 2: ParameterDefinition (hl7.fhir.r5.core#5.0.0), ParameterDefinition (hl7.fhir.r5.core#5.0.0), ParameterDefinition (hl7.fhir.r5.core#5.0.0) + - Version 3: ParameterDefinition (hl7.fhir.r4.examples#4.0.1) +- `urn:fhir:binding:ParticipantRequired` (2 versions) + - Version 1: Appointment (hl7.fhir.r4.core#4.0.1), Appointment (hl7.fhir.r4.core#4.0.1), Appointment (hl7.fhir.r4.core#4.0.1), Appointment (hl7.fhir.r4.core#4.0.1), Appointment (hl7.fhir.r4.core#4.0.1), Appointment (hl7.fhir.r4.core#4.0.1), Appointment (hl7.fhir.r4.core#4.0.1), Appointment (hl7.fhir.r4.core#4.0.1), Appointment (hl7.fhir.r4.core#4.0.1), Appointment (hl7.fhir.r4.core#4.0.1) + - Version 2: Appointment (hl7.fhir.r4.examples#4.0.1) +- `urn:fhir:binding:ParticipantStatus` (3 versions) + - Version 1: AppointmentResponse (hl7.fhir.r4.core#4.0.1), AppointmentResponse (hl7.fhir.r4.core#4.0.1), AppointmentResponse (hl7.fhir.r4.core#4.0.1), AppointmentResponse (hl7.fhir.r4.core#4.0.1), AppointmentResponse (hl7.fhir.r4.core#4.0.1), AppointmentResponse (hl7.fhir.r4.core#4.0.1), AppointmentResponse (hl7.fhir.r4.core#4.0.1), AppointmentResponse (hl7.fhir.r4.core#4.0.1), AppointmentResponse (hl7.fhir.r4.core#4.0.1), AppointmentResponse (hl7.fhir.r4.core#4.0.1) + - Version 2: AppointmentResponse (hl7.fhir.r5.core#5.0.0), AppointmentResponse (hl7.fhir.r5.core#5.0.0), AppointmentResponse (hl7.fhir.r5.core#5.0.0) + - Version 3: AppointmentResponse (hl7.fhir.r4.examples#4.0.1) +- `urn:fhir:binding:ParticipantType` (3 versions) + - Version 1: Appointment (hl7.fhir.r4.core#4.0.1), AppointmentResponse (hl7.fhir.r4.core#4.0.1), Encounter (hl7.fhir.r4.core#4.0.1), Appointment (hl7.fhir.r4.core#4.0.1), AppointmentResponse (hl7.fhir.r4.core#4.0.1), Encounter (hl7.fhir.r4.core#4.0.1), Appointment (hl7.fhir.r4.core#4.0.1), AppointmentResponse (hl7.fhir.r4.core#4.0.1), Encounter (hl7.fhir.r4.core#4.0.1), Appointment (hl7.fhir.r4.core#4.0.1), AppointmentResponse (hl7.fhir.r4.core#4.0.1), Encounter (hl7.fhir.r4.core#4.0.1), Appointment (hl7.fhir.r4.core#4.0.1), AppointmentResponse (hl7.fhir.r4.core#4.0.1), Encounter (hl7.fhir.r4.core#4.0.1), Appointment (hl7.fhir.r4.core#4.0.1), AppointmentResponse (hl7.fhir.r4.core#4.0.1), Encounter (hl7.fhir.r4.core#4.0.1), Appointment (hl7.fhir.r4.core#4.0.1), AppointmentResponse (hl7.fhir.r4.core#4.0.1), Encounter (hl7.fhir.r4.core#4.0.1), Appointment (hl7.fhir.r4.core#4.0.1), AppointmentResponse (hl7.fhir.r4.core#4.0.1), Encounter (hl7.fhir.r4.core#4.0.1), Appointment (hl7.fhir.r4.core#4.0.1), AppointmentResponse (hl7.fhir.r4.core#4.0.1), Encounter (hl7.fhir.r4.core#4.0.1), us-core-encounter (hl7.fhir.us.core#8.0.1), Appointment (hl7.fhir.r4.core#4.0.1), AppointmentResponse (hl7.fhir.r4.core#4.0.1), Encounter (hl7.fhir.r4.core#4.0.1) + - Version 2: Appointment (hl7.fhir.r5.core#5.0.0), AppointmentResponse (hl7.fhir.r5.core#5.0.0), Encounter (hl7.fhir.r5.core#5.0.0), Appointment (hl7.fhir.r5.core#5.0.0), AppointmentResponse (hl7.fhir.r5.core#5.0.0), Encounter (hl7.fhir.r5.core#5.0.0), Appointment (hl7.fhir.r5.core#5.0.0), AppointmentResponse (hl7.fhir.r5.core#5.0.0), Encounter (hl7.fhir.r5.core#5.0.0) + - Version 3: Appointment (hl7.fhir.r4.examples#4.0.1), AppointmentResponse (hl7.fhir.r4.examples#4.0.1), Encounter (hl7.fhir.r4.examples#4.0.1) +- `urn:fhir:binding:ParticipationStatus` (3 versions) + - Version 1: Appointment (hl7.fhir.r4.core#4.0.1), Appointment (hl7.fhir.r4.core#4.0.1), Appointment (hl7.fhir.r4.core#4.0.1), Appointment (hl7.fhir.r4.core#4.0.1), Appointment (hl7.fhir.r4.core#4.0.1), Appointment (hl7.fhir.r4.core#4.0.1), Appointment (hl7.fhir.r4.core#4.0.1), Appointment (hl7.fhir.r4.core#4.0.1), Appointment (hl7.fhir.r4.core#4.0.1), Appointment (hl7.fhir.r4.core#4.0.1) + - Version 2: Appointment (hl7.fhir.r5.core#5.0.0), Appointment (hl7.fhir.r5.core#5.0.0), Appointment (hl7.fhir.r5.core#5.0.0) + - Version 3: Appointment (hl7.fhir.r4.examples#4.0.1) +- `urn:fhir:binding:PatientDiet` (3 versions) + - Version 1: NutritionOrder (hl7.fhir.r4.core#4.0.1), Encounter (hl7.fhir.r4.core#4.0.1), NutritionOrder (hl7.fhir.r4.core#4.0.1), Encounter (hl7.fhir.r4.core#4.0.1), NutritionOrder (hl7.fhir.r4.core#4.0.1), Encounter (hl7.fhir.r4.core#4.0.1), NutritionOrder (hl7.fhir.r4.core#4.0.1), Encounter (hl7.fhir.r4.core#4.0.1), NutritionOrder (hl7.fhir.r4.core#4.0.1), Encounter (hl7.fhir.r4.core#4.0.1), NutritionOrder (hl7.fhir.r4.core#4.0.1), Encounter (hl7.fhir.r4.core#4.0.1), NutritionOrder (hl7.fhir.r4.core#4.0.1), Encounter (hl7.fhir.r4.core#4.0.1), NutritionOrder (hl7.fhir.r4.core#4.0.1), Encounter (hl7.fhir.r4.core#4.0.1), NutritionOrder (hl7.fhir.r4.core#4.0.1), Encounter (hl7.fhir.r4.core#4.0.1), NutritionOrder (hl7.fhir.r4.core#4.0.1), Encounter (hl7.fhir.r4.core#4.0.1) + - Version 2: NutritionOrder (hl7.fhir.r5.core#5.0.0), Encounter (hl7.fhir.r5.core#5.0.0), NutritionOrder (hl7.fhir.r5.core#5.0.0), Encounter (hl7.fhir.r5.core#5.0.0), NutritionOrder (hl7.fhir.r5.core#5.0.0), Encounter (hl7.fhir.r5.core#5.0.0) + - Version 3: NutritionOrder (hl7.fhir.r4.examples#4.0.1), Encounter (hl7.fhir.r4.examples#4.0.1) +- `urn:fhir:binding:PatientRelationshipType` (3 versions) + - Version 1: RelatedPerson (hl7.fhir.r4.core#4.0.1), RelatedPerson (hl7.fhir.r4.core#4.0.1), RelatedPerson (hl7.fhir.r4.core#4.0.1), RelatedPerson (hl7.fhir.r4.core#4.0.1), RelatedPerson (hl7.fhir.r4.core#4.0.1), RelatedPerson (hl7.fhir.r4.core#4.0.1), RelatedPerson (hl7.fhir.r4.core#4.0.1), RelatedPerson (hl7.fhir.r4.core#4.0.1), RelatedPerson (hl7.fhir.r4.core#4.0.1), RelatedPerson (hl7.fhir.r4.core#4.0.1) + - Version 2: RelatedPerson (hl7.fhir.r5.core#5.0.0), RelatedPerson (hl7.fhir.r5.core#5.0.0), RelatedPerson (hl7.fhir.r5.core#5.0.0) + - Version 3: RelatedPerson (hl7.fhir.r4.examples#4.0.1) +- `urn:fhir:binding:PayeeType` (3 versions) + - Version 1: Claim (hl7.fhir.r4.core#4.0.1), ClaimResponse (hl7.fhir.r4.core#4.0.1), ExplanationOfBenefit (hl7.fhir.r4.core#4.0.1), Claim (hl7.fhir.r4.core#4.0.1), ClaimResponse (hl7.fhir.r4.core#4.0.1), ExplanationOfBenefit (hl7.fhir.r4.core#4.0.1), Claim (hl7.fhir.r4.core#4.0.1), ClaimResponse (hl7.fhir.r4.core#4.0.1), ExplanationOfBenefit (hl7.fhir.r4.core#4.0.1), Claim (hl7.fhir.r4.core#4.0.1), ClaimResponse (hl7.fhir.r4.core#4.0.1), ExplanationOfBenefit (hl7.fhir.r4.core#4.0.1), Claim (hl7.fhir.r4.core#4.0.1), ClaimResponse (hl7.fhir.r4.core#4.0.1), ExplanationOfBenefit (hl7.fhir.r4.core#4.0.1), Claim (hl7.fhir.r4.core#4.0.1), ClaimResponse (hl7.fhir.r4.core#4.0.1), ExplanationOfBenefit (hl7.fhir.r4.core#4.0.1), Claim (hl7.fhir.r4.core#4.0.1), ClaimResponse (hl7.fhir.r4.core#4.0.1), ExplanationOfBenefit (hl7.fhir.r4.core#4.0.1), Claim (hl7.fhir.r4.core#4.0.1), ClaimResponse (hl7.fhir.r4.core#4.0.1), ExplanationOfBenefit (hl7.fhir.r4.core#4.0.1), Claim (hl7.fhir.r4.core#4.0.1), ClaimResponse (hl7.fhir.r4.core#4.0.1), ExplanationOfBenefit (hl7.fhir.r4.core#4.0.1), Claim (hl7.fhir.r4.core#4.0.1), ClaimResponse (hl7.fhir.r4.core#4.0.1), ExplanationOfBenefit (hl7.fhir.r4.core#4.0.1) + - Version 2: Claim (hl7.fhir.r5.core#5.0.0), ClaimResponse (hl7.fhir.r5.core#5.0.0), ExplanationOfBenefit (hl7.fhir.r5.core#5.0.0), Claim (hl7.fhir.r5.core#5.0.0), ClaimResponse (hl7.fhir.r5.core#5.0.0), ExplanationOfBenefit (hl7.fhir.r5.core#5.0.0), Claim (hl7.fhir.r5.core#5.0.0), ClaimResponse (hl7.fhir.r5.core#5.0.0), ExplanationOfBenefit (hl7.fhir.r5.core#5.0.0) + - Version 3: Claim (hl7.fhir.r4.examples#4.0.1), ClaimResponse (hl7.fhir.r4.examples#4.0.1), ExplanationOfBenefit (hl7.fhir.r4.examples#4.0.1) +- `urn:fhir:binding:PayloadType` (3 versions) + - Version 1: Endpoint (hl7.fhir.r4.core#4.0.1), Endpoint (hl7.fhir.r4.core#4.0.1), Endpoint (hl7.fhir.r4.core#4.0.1), Endpoint (hl7.fhir.r4.core#4.0.1), Endpoint (hl7.fhir.r4.core#4.0.1), user-access-endpoint (hl7.fhir.uv.smart-app-launch#2.2.0), Endpoint (hl7.fhir.r4.core#4.0.1), Endpoint (hl7.fhir.r4.core#4.0.1), Endpoint (hl7.fhir.r4.core#4.0.1), Endpoint (hl7.fhir.r4.core#4.0.1), Endpoint (hl7.fhir.r4.core#4.0.1), user-access-endpoint (hl7.fhir.uv.smart-app-launch#2.2.0) + - Version 2: Endpoint (hl7.fhir.r5.core#5.0.0), Endpoint (hl7.fhir.r5.core#5.0.0), Endpoint (hl7.fhir.r5.core#5.0.0) + - Version 3: Endpoint (hl7.fhir.r4.examples#4.0.1) +- `urn:fhir:binding:PaymentAdjustmentReason` (3 versions) + - Version 1: ClaimResponse (hl7.fhir.r4.core#4.0.1), ExplanationOfBenefit (hl7.fhir.r4.core#4.0.1), ClaimResponse (hl7.fhir.r4.core#4.0.1), ExplanationOfBenefit (hl7.fhir.r4.core#4.0.1), ClaimResponse (hl7.fhir.r4.core#4.0.1), ExplanationOfBenefit (hl7.fhir.r4.core#4.0.1), ClaimResponse (hl7.fhir.r4.core#4.0.1), ExplanationOfBenefit (hl7.fhir.r4.core#4.0.1), ClaimResponse (hl7.fhir.r4.core#4.0.1), ExplanationOfBenefit (hl7.fhir.r4.core#4.0.1), ClaimResponse (hl7.fhir.r4.core#4.0.1), ExplanationOfBenefit (hl7.fhir.r4.core#4.0.1), ClaimResponse (hl7.fhir.r4.core#4.0.1), ExplanationOfBenefit (hl7.fhir.r4.core#4.0.1), ClaimResponse (hl7.fhir.r4.core#4.0.1), ExplanationOfBenefit (hl7.fhir.r4.core#4.0.1), ClaimResponse (hl7.fhir.r4.core#4.0.1), ExplanationOfBenefit (hl7.fhir.r4.core#4.0.1), ClaimResponse (hl7.fhir.r4.core#4.0.1), ExplanationOfBenefit (hl7.fhir.r4.core#4.0.1) + - Version 2: ClaimResponse (hl7.fhir.r5.core#5.0.0), ExplanationOfBenefit (hl7.fhir.r5.core#5.0.0), ClaimResponse (hl7.fhir.r5.core#5.0.0), ExplanationOfBenefit (hl7.fhir.r5.core#5.0.0), ClaimResponse (hl7.fhir.r5.core#5.0.0), ExplanationOfBenefit (hl7.fhir.r5.core#5.0.0) + - Version 3: ClaimResponse (hl7.fhir.r4.examples#4.0.1), ExplanationOfBenefit (hl7.fhir.r4.examples#4.0.1) +- `urn:fhir:binding:PaymentNoticeStatus` (3 versions) + - Version 1: PaymentNotice (hl7.fhir.r4.core#4.0.1), PaymentNotice (hl7.fhir.r4.core#4.0.1), PaymentNotice (hl7.fhir.r4.core#4.0.1), PaymentNotice (hl7.fhir.r4.core#4.0.1), PaymentNotice (hl7.fhir.r4.core#4.0.1), PaymentNotice (hl7.fhir.r4.core#4.0.1), PaymentNotice (hl7.fhir.r4.core#4.0.1), PaymentNotice (hl7.fhir.r4.core#4.0.1), PaymentNotice (hl7.fhir.r4.core#4.0.1), PaymentNotice (hl7.fhir.r4.core#4.0.1) + - Version 2: PaymentNotice (hl7.fhir.r5.core#5.0.0), PaymentNotice (hl7.fhir.r5.core#5.0.0), PaymentNotice (hl7.fhir.r5.core#5.0.0) + - Version 3: PaymentNotice (hl7.fhir.r4.examples#4.0.1) +- `urn:fhir:binding:PaymentReconciliationStatus` (3 versions) + - Version 1: PaymentReconciliation (hl7.fhir.r4.core#4.0.1), PaymentReconciliation (hl7.fhir.r4.core#4.0.1), PaymentReconciliation (hl7.fhir.r4.core#4.0.1), PaymentReconciliation (hl7.fhir.r4.core#4.0.1), PaymentReconciliation (hl7.fhir.r4.core#4.0.1), PaymentReconciliation (hl7.fhir.r4.core#4.0.1), PaymentReconciliation (hl7.fhir.r4.core#4.0.1), PaymentReconciliation (hl7.fhir.r4.core#4.0.1), PaymentReconciliation (hl7.fhir.r4.core#4.0.1), PaymentReconciliation (hl7.fhir.r4.core#4.0.1) + - Version 2: PaymentReconciliation (hl7.fhir.r5.core#5.0.0), PaymentReconciliation (hl7.fhir.r5.core#5.0.0), PaymentReconciliation (hl7.fhir.r5.core#5.0.0) + - Version 3: PaymentReconciliation (hl7.fhir.r4.examples#4.0.1) +- `urn:fhir:binding:PaymentStatus` (3 versions) + - Version 1: PaymentNotice (hl7.fhir.r4.core#4.0.1), PaymentNotice (hl7.fhir.r4.core#4.0.1), PaymentNotice (hl7.fhir.r4.core#4.0.1), PaymentNotice (hl7.fhir.r4.core#4.0.1), PaymentNotice (hl7.fhir.r4.core#4.0.1), PaymentNotice (hl7.fhir.r4.core#4.0.1), PaymentNotice (hl7.fhir.r4.core#4.0.1), PaymentNotice (hl7.fhir.r4.core#4.0.1), PaymentNotice (hl7.fhir.r4.core#4.0.1), PaymentNotice (hl7.fhir.r4.core#4.0.1) + - Version 2: PaymentNotice (hl7.fhir.r5.core#5.0.0), PaymentNotice (hl7.fhir.r5.core#5.0.0), PaymentNotice (hl7.fhir.r5.core#5.0.0) + - Version 3: PaymentNotice (hl7.fhir.r4.examples#4.0.1) +- `urn:fhir:binding:PaymentType` (6 versions) + - Version 1: ClaimResponse (hl7.fhir.r4.core#4.0.1), ExplanationOfBenefit (hl7.fhir.r4.core#4.0.1), ClaimResponse (hl7.fhir.r4.core#4.0.1), ExplanationOfBenefit (hl7.fhir.r4.core#4.0.1), ClaimResponse (hl7.fhir.r4.core#4.0.1), ExplanationOfBenefit (hl7.fhir.r4.core#4.0.1), ClaimResponse (hl7.fhir.r4.core#4.0.1), ExplanationOfBenefit (hl7.fhir.r4.core#4.0.1), ClaimResponse (hl7.fhir.r4.core#4.0.1), ExplanationOfBenefit (hl7.fhir.r4.core#4.0.1), ClaimResponse (hl7.fhir.r4.core#4.0.1), ExplanationOfBenefit (hl7.fhir.r4.core#4.0.1), ClaimResponse (hl7.fhir.r4.core#4.0.1), ExplanationOfBenefit (hl7.fhir.r4.core#4.0.1), ClaimResponse (hl7.fhir.r4.core#4.0.1), ExplanationOfBenefit (hl7.fhir.r4.core#4.0.1), ClaimResponse (hl7.fhir.r4.core#4.0.1), ExplanationOfBenefit (hl7.fhir.r4.core#4.0.1), ClaimResponse (hl7.fhir.r4.core#4.0.1), ExplanationOfBenefit (hl7.fhir.r4.core#4.0.1) + - Version 2: PaymentReconciliation (hl7.fhir.r4.core#4.0.1), PaymentReconciliation (hl7.fhir.r4.core#4.0.1), PaymentReconciliation (hl7.fhir.r4.core#4.0.1), PaymentReconciliation (hl7.fhir.r4.core#4.0.1), PaymentReconciliation (hl7.fhir.r4.core#4.0.1), PaymentReconciliation (hl7.fhir.r4.core#4.0.1), PaymentReconciliation (hl7.fhir.r4.core#4.0.1), PaymentReconciliation (hl7.fhir.r4.core#4.0.1), PaymentReconciliation (hl7.fhir.r4.core#4.0.1), PaymentReconciliation (hl7.fhir.r4.core#4.0.1) + - Version 3: ClaimResponse (hl7.fhir.r5.core#5.0.0), ExplanationOfBenefit (hl7.fhir.r5.core#5.0.0), ClaimResponse (hl7.fhir.r5.core#5.0.0), ExplanationOfBenefit (hl7.fhir.r5.core#5.0.0), ClaimResponse (hl7.fhir.r5.core#5.0.0), ExplanationOfBenefit (hl7.fhir.r5.core#5.0.0) + - Version 4: PaymentReconciliation (hl7.fhir.r5.core#5.0.0), PaymentReconciliation (hl7.fhir.r5.core#5.0.0), PaymentReconciliation (hl7.fhir.r5.core#5.0.0) + - Version 5: ClaimResponse (hl7.fhir.r4.examples#4.0.1), ExplanationOfBenefit (hl7.fhir.r4.examples#4.0.1) + - Version 6: PaymentReconciliation (hl7.fhir.r4.examples#4.0.1) +- `urn:fhir:binding:PhysicalType` (2 versions) + - Version 1: Location (hl7.fhir.r4.core#4.0.1), Encounter (hl7.fhir.r4.core#4.0.1), Location (hl7.fhir.r4.core#4.0.1), Encounter (hl7.fhir.r4.core#4.0.1), Location (hl7.fhir.r4.core#4.0.1), Encounter (hl7.fhir.r4.core#4.0.1), Location (hl7.fhir.r4.core#4.0.1), Encounter (hl7.fhir.r4.core#4.0.1), Location (hl7.fhir.r4.core#4.0.1), Encounter (hl7.fhir.r4.core#4.0.1), Location (hl7.fhir.r4.core#4.0.1), Encounter (hl7.fhir.r4.core#4.0.1), Location (hl7.fhir.r4.core#4.0.1), Encounter (hl7.fhir.r4.core#4.0.1), Location (hl7.fhir.r4.core#4.0.1), Encounter (hl7.fhir.r4.core#4.0.1), Location (hl7.fhir.r4.core#4.0.1), Encounter (hl7.fhir.r4.core#4.0.1), Location (hl7.fhir.r4.core#4.0.1), Encounter (hl7.fhir.r4.core#4.0.1) + - Version 2: Location (hl7.fhir.r4.examples#4.0.1), Encounter (hl7.fhir.r4.examples#4.0.1) +- `urn:fhir:binding:PlanDefinitionType` (3 versions) + - Version 1: PlanDefinition (hl7.fhir.r4.core#4.0.1), PlanDefinition (hl7.fhir.r4.core#4.0.1), PlanDefinition (hl7.fhir.r4.core#4.0.1), PlanDefinition (hl7.fhir.r4.core#4.0.1), PlanDefinition (hl7.fhir.r4.core#4.0.1), PlanDefinition (hl7.fhir.r4.core#4.0.1), PlanDefinition (hl7.fhir.r4.core#4.0.1), PlanDefinition (hl7.fhir.r4.core#4.0.1), PlanDefinition (hl7.fhir.r4.core#4.0.1), PlanDefinition (hl7.fhir.r4.core#4.0.1) + - Version 2: PlanDefinition (hl7.fhir.r5.core#5.0.0), PlanDefinition (hl7.fhir.r5.core#5.0.0), PlanDefinition (hl7.fhir.r5.core#5.0.0) + - Version 3: PlanDefinition (hl7.fhir.r4.examples#4.0.1) +- `urn:fhir:binding:PractitionerRole` (3 versions) + - Version 1: PractitionerRole (hl7.fhir.r4.core#4.0.1), PractitionerRole (hl7.fhir.r4.core#4.0.1), PractitionerRole (hl7.fhir.r4.core#4.0.1), PractitionerRole (hl7.fhir.r4.core#4.0.1), PractitionerRole (hl7.fhir.r4.core#4.0.1), PractitionerRole (hl7.fhir.r4.core#4.0.1), PractitionerRole (hl7.fhir.r4.core#4.0.1), PractitionerRole (hl7.fhir.r4.core#4.0.1), PractitionerRole (hl7.fhir.r4.core#4.0.1), PractitionerRole (hl7.fhir.r4.core#4.0.1) + - Version 2: PractitionerRole (hl7.fhir.r5.core#5.0.0), PractitionerRole (hl7.fhir.r5.core#5.0.0), PractitionerRole (hl7.fhir.r5.core#5.0.0) + - Version 3: PractitionerRole (hl7.fhir.r4.examples#4.0.1) +- `urn:fhir:binding:PractitionerSpecialty` (3 versions) + - Version 1: PractitionerRole (hl7.fhir.r4.core#4.0.1), PractitionerRole (hl7.fhir.r4.core#4.0.1), PractitionerRole (hl7.fhir.r4.core#4.0.1), PractitionerRole (hl7.fhir.r4.core#4.0.1), PractitionerRole (hl7.fhir.r4.core#4.0.1), PractitionerRole (hl7.fhir.r4.core#4.0.1), PractitionerRole (hl7.fhir.r4.core#4.0.1), PractitionerRole (hl7.fhir.r4.core#4.0.1), PractitionerRole (hl7.fhir.r4.core#4.0.1), PractitionerRole (hl7.fhir.r4.core#4.0.1) + - Version 2: PractitionerRole (hl7.fhir.r5.core#5.0.0), PractitionerRole (hl7.fhir.r5.core#5.0.0), PractitionerRole (hl7.fhir.r5.core#5.0.0) + - Version 3: PractitionerRole (hl7.fhir.r4.examples#4.0.1) +- `urn:fhir:binding:PrecisionEstimateType` (2 versions) + - Version 1: EffectEvidenceSynthesis (hl7.fhir.r4.core#4.0.1), RiskEvidenceSynthesis (hl7.fhir.r4.core#4.0.1), EffectEvidenceSynthesis (hl7.fhir.r4.core#4.0.1), RiskEvidenceSynthesis (hl7.fhir.r4.core#4.0.1), EffectEvidenceSynthesis (hl7.fhir.r4.core#4.0.1), RiskEvidenceSynthesis (hl7.fhir.r4.core#4.0.1), EffectEvidenceSynthesis (hl7.fhir.r4.core#4.0.1), RiskEvidenceSynthesis (hl7.fhir.r4.core#4.0.1), EffectEvidenceSynthesis (hl7.fhir.r4.core#4.0.1), RiskEvidenceSynthesis (hl7.fhir.r4.core#4.0.1), EffectEvidenceSynthesis (hl7.fhir.r4.core#4.0.1), RiskEvidenceSynthesis (hl7.fhir.r4.core#4.0.1), EffectEvidenceSynthesis (hl7.fhir.r4.core#4.0.1), RiskEvidenceSynthesis (hl7.fhir.r4.core#4.0.1), EffectEvidenceSynthesis (hl7.fhir.r4.core#4.0.1), RiskEvidenceSynthesis (hl7.fhir.r4.core#4.0.1), EffectEvidenceSynthesis (hl7.fhir.r4.core#4.0.1), RiskEvidenceSynthesis (hl7.fhir.r4.core#4.0.1), EffectEvidenceSynthesis (hl7.fhir.r4.core#4.0.1), RiskEvidenceSynthesis (hl7.fhir.r4.core#4.0.1) + - Version 2: EffectEvidenceSynthesis (hl7.fhir.r4.examples#4.0.1), RiskEvidenceSynthesis (hl7.fhir.r4.examples#4.0.1) +- `urn:fhir:binding:PreparePatient` (3 versions) + - Version 1: SpecimenDefinition (hl7.fhir.r4.core#4.0.1), SpecimenDefinition (hl7.fhir.r4.core#4.0.1), SpecimenDefinition (hl7.fhir.r4.core#4.0.1), SpecimenDefinition (hl7.fhir.r4.core#4.0.1), SpecimenDefinition (hl7.fhir.r4.core#4.0.1), SpecimenDefinition (hl7.fhir.r4.core#4.0.1), SpecimenDefinition (hl7.fhir.r4.core#4.0.1), SpecimenDefinition (hl7.fhir.r4.core#4.0.1), SpecimenDefinition (hl7.fhir.r4.core#4.0.1), SpecimenDefinition (hl7.fhir.r4.core#4.0.1) + - Version 2: SpecimenDefinition (hl7.fhir.r5.core#5.0.0), SpecimenDefinition (hl7.fhir.r5.core#5.0.0), SpecimenDefinition (hl7.fhir.r5.core#5.0.0) + - Version 3: SpecimenDefinition (hl7.fhir.r4.examples#4.0.1) +- `urn:fhir:binding:primary-source-type` (3 versions) + - Version 1: VerificationResult (hl7.fhir.r4.core#4.0.1), VerificationResult (hl7.fhir.r4.core#4.0.1), VerificationResult (hl7.fhir.r4.core#4.0.1), VerificationResult (hl7.fhir.r4.core#4.0.1), VerificationResult (hl7.fhir.r4.core#4.0.1), VerificationResult (hl7.fhir.r4.core#4.0.1), VerificationResult (hl7.fhir.r4.core#4.0.1), VerificationResult (hl7.fhir.r4.core#4.0.1), VerificationResult (hl7.fhir.r4.core#4.0.1), VerificationResult (hl7.fhir.r4.core#4.0.1) + - Version 2: VerificationResult (hl7.fhir.r5.core#5.0.0), VerificationResult (hl7.fhir.r5.core#5.0.0), VerificationResult (hl7.fhir.r5.core#5.0.0) + - Version 3: VerificationResult (hl7.fhir.r4.examples#4.0.1) +- `urn:fhir:binding:Priority` (2 versions) + - Version 1: Encounter (hl7.fhir.r4.core#4.0.1), Encounter (hl7.fhir.r4.core#4.0.1), Encounter (hl7.fhir.r4.core#4.0.1), Appointment (hl7.fhir.r5.core#5.0.0), Encounter (hl7.fhir.r5.core#5.0.0), Appointment (hl7.fhir.r5.core#5.0.0), Encounter (hl7.fhir.r5.core#5.0.0), Appointment (hl7.fhir.r5.core#5.0.0), Encounter (hl7.fhir.r5.core#5.0.0), Encounter (hl7.fhir.r4.core#4.0.1), Encounter (hl7.fhir.r4.core#4.0.1), Encounter (hl7.fhir.r4.core#4.0.1), Encounter (hl7.fhir.r4.core#4.0.1), Encounter (hl7.fhir.r4.core#4.0.1), Encounter (hl7.fhir.r4.core#4.0.1), Encounter (hl7.fhir.r4.core#4.0.1) + - Version 2: Encounter (hl7.fhir.r4.examples#4.0.1) +- `urn:fhir:binding:ProcedureCategory` (3 versions) + - Version 1: Procedure (hl7.fhir.r4.core#4.0.1), Procedure (hl7.fhir.r4.core#4.0.1), Procedure (hl7.fhir.r4.core#4.0.1), Procedure (hl7.fhir.r4.core#4.0.1), Procedure (hl7.fhir.r4.core#4.0.1), Procedure (hl7.fhir.r4.core#4.0.1), Procedure (hl7.fhir.r4.core#4.0.1), Procedure (hl7.fhir.r4.core#4.0.1), Procedure (hl7.fhir.r4.core#4.0.1), Procedure (hl7.fhir.r4.core#4.0.1) + - Version 2: Procedure (hl7.fhir.r5.core#5.0.0), Procedure (hl7.fhir.r5.core#5.0.0), Procedure (hl7.fhir.r5.core#5.0.0) + - Version 3: Procedure (hl7.fhir.r4.examples#4.0.1) +- `urn:fhir:binding:ProcedureCode` (3 versions) + - Version 1: Procedure (hl7.fhir.r4.core#4.0.1), Procedure (hl7.fhir.r4.core#4.0.1), Procedure (hl7.fhir.r4.core#4.0.1), Procedure (hl7.fhir.r4.core#4.0.1), Procedure (hl7.fhir.r4.core#4.0.1), Procedure (hl7.fhir.r4.core#4.0.1), Procedure (hl7.fhir.r4.core#4.0.1), Procedure (hl7.fhir.r4.core#4.0.1), Procedure (hl7.fhir.r4.core#4.0.1), Procedure (hl7.fhir.r4.core#4.0.1) + - Version 2: FamilyMemberHistory (hl7.fhir.r5.core#5.0.0), Procedure (hl7.fhir.r5.core#5.0.0), FamilyMemberHistory (hl7.fhir.r5.core#5.0.0), Procedure (hl7.fhir.r5.core#5.0.0), FamilyMemberHistory (hl7.fhir.r5.core#5.0.0), Procedure (hl7.fhir.r5.core#5.0.0) + - Version 3: Procedure (hl7.fhir.r4.examples#4.0.1) +- `urn:fhir:binding:ProcedureComplication` (3 versions) + - Version 1: Procedure (hl7.fhir.r4.core#4.0.1), Procedure (hl7.fhir.r4.core#4.0.1), Procedure (hl7.fhir.r4.core#4.0.1), Procedure (hl7.fhir.r4.core#4.0.1), Procedure (hl7.fhir.r4.core#4.0.1), Procedure (hl7.fhir.r4.core#4.0.1), Procedure (hl7.fhir.r4.core#4.0.1), Procedure (hl7.fhir.r4.core#4.0.1), Procedure (hl7.fhir.r4.core#4.0.1), Procedure (hl7.fhir.r4.core#4.0.1) + - Version 2: Procedure (hl7.fhir.r5.core#5.0.0), Procedure (hl7.fhir.r5.core#5.0.0), Procedure (hl7.fhir.r5.core#5.0.0) + - Version 3: Procedure (hl7.fhir.r4.examples#4.0.1) +- `urn:fhir:binding:ProcedureFollowUp` (3 versions) + - Version 1: Procedure (hl7.fhir.r4.core#4.0.1), Procedure (hl7.fhir.r4.core#4.0.1), Procedure (hl7.fhir.r4.core#4.0.1), Procedure (hl7.fhir.r4.core#4.0.1), Procedure (hl7.fhir.r4.core#4.0.1), Procedure (hl7.fhir.r4.core#4.0.1), Procedure (hl7.fhir.r4.core#4.0.1), Procedure (hl7.fhir.r4.core#4.0.1), Procedure (hl7.fhir.r4.core#4.0.1), Procedure (hl7.fhir.r4.core#4.0.1) + - Version 2: Procedure (hl7.fhir.r5.core#5.0.0), Procedure (hl7.fhir.r5.core#5.0.0), Procedure (hl7.fhir.r5.core#5.0.0) + - Version 3: Procedure (hl7.fhir.r4.examples#4.0.1) +- `urn:fhir:binding:ProcedureNegationReason` (3 versions) + - Version 1: Procedure (hl7.fhir.r4.core#4.0.1), Procedure (hl7.fhir.r4.core#4.0.1), Procedure (hl7.fhir.r4.core#4.0.1), Procedure (hl7.fhir.r4.core#4.0.1), Procedure (hl7.fhir.r4.core#4.0.1), Procedure (hl7.fhir.r4.core#4.0.1), Procedure (hl7.fhir.r4.core#4.0.1), Procedure (hl7.fhir.r4.core#4.0.1), Procedure (hl7.fhir.r4.core#4.0.1), Procedure (hl7.fhir.r4.core#4.0.1) + - Version 2: Procedure (hl7.fhir.r5.core#5.0.0), Procedure (hl7.fhir.r5.core#5.0.0), Procedure (hl7.fhir.r5.core#5.0.0) + - Version 3: Procedure (hl7.fhir.r4.examples#4.0.1) +- `urn:fhir:binding:ProcedureOutcome` (4 versions) + - Version 1: Procedure (hl7.fhir.r4.core#4.0.1), Procedure (hl7.fhir.r4.core#4.0.1), Procedure (hl7.fhir.r4.core#4.0.1), Procedure (hl7.fhir.r4.core#4.0.1), Procedure (hl7.fhir.r4.core#4.0.1), Procedure (hl7.fhir.r4.core#4.0.1), Procedure (hl7.fhir.r4.core#4.0.1), Procedure (hl7.fhir.r4.core#4.0.1), Procedure (hl7.fhir.r4.core#4.0.1), Procedure (hl7.fhir.r4.core#4.0.1) + - Version 2: FamilyMemberHistory (hl7.fhir.r5.core#5.0.0), FamilyMemberHistory (hl7.fhir.r5.core#5.0.0), FamilyMemberHistory (hl7.fhir.r5.core#5.0.0) + - Version 3: Procedure (hl7.fhir.r5.core#5.0.0), Procedure (hl7.fhir.r5.core#5.0.0), Procedure (hl7.fhir.r5.core#5.0.0) + - Version 4: Procedure (hl7.fhir.r4.examples#4.0.1) +- `urn:fhir:binding:ProcedurePerformerRole` (3 versions) + - Version 1: Procedure (hl7.fhir.r4.core#4.0.1), Procedure (hl7.fhir.r4.core#4.0.1), Procedure (hl7.fhir.r4.core#4.0.1), Procedure (hl7.fhir.r4.core#4.0.1), Procedure (hl7.fhir.r4.core#4.0.1), Procedure (hl7.fhir.r4.core#4.0.1), Procedure (hl7.fhir.r4.core#4.0.1), Procedure (hl7.fhir.r4.core#4.0.1), Procedure (hl7.fhir.r4.core#4.0.1), Procedure (hl7.fhir.r4.core#4.0.1) + - Version 2: Procedure (hl7.fhir.r5.core#5.0.0), Procedure (hl7.fhir.r5.core#5.0.0), Procedure (hl7.fhir.r5.core#5.0.0) + - Version 3: Procedure (hl7.fhir.r4.examples#4.0.1) +- `urn:fhir:binding:ProcedureReason` (3 versions) + - Version 1: Procedure (hl7.fhir.r4.core#4.0.1), Procedure (hl7.fhir.r4.core#4.0.1), Procedure (hl7.fhir.r4.core#4.0.1), Procedure (hl7.fhir.r4.core#4.0.1), Procedure (hl7.fhir.r4.core#4.0.1), Procedure (hl7.fhir.r4.core#4.0.1), Procedure (hl7.fhir.r4.core#4.0.1), Procedure (hl7.fhir.r4.core#4.0.1), Procedure (hl7.fhir.r4.core#4.0.1), Procedure (hl7.fhir.r4.core#4.0.1) + - Version 2: Procedure (hl7.fhir.r5.core#5.0.0), Procedure (hl7.fhir.r5.core#5.0.0), Procedure (hl7.fhir.r5.core#5.0.0) + - Version 3: Procedure (hl7.fhir.r4.examples#4.0.1) +- `urn:fhir:binding:ProcedureStatus` (3 versions) + - Version 1: Procedure (hl7.fhir.r4.core#4.0.1), Procedure (hl7.fhir.r4.core#4.0.1), Procedure (hl7.fhir.r4.core#4.0.1), Procedure (hl7.fhir.r4.core#4.0.1), Procedure (hl7.fhir.r4.core#4.0.1), Procedure (hl7.fhir.r4.core#4.0.1), Procedure (hl7.fhir.r4.core#4.0.1), Procedure (hl7.fhir.r4.core#4.0.1), Procedure (hl7.fhir.r4.core#4.0.1), Procedure (hl7.fhir.r4.core#4.0.1) + - Version 2: Procedure (hl7.fhir.r5.core#5.0.0), Procedure (hl7.fhir.r5.core#5.0.0), Procedure (hl7.fhir.r5.core#5.0.0) + - Version 3: Procedure (hl7.fhir.r4.examples#4.0.1) +- `urn:fhir:binding:ProcedureType` (3 versions) + - Version 1: Claim (hl7.fhir.r4.core#4.0.1), ExplanationOfBenefit (hl7.fhir.r4.core#4.0.1), Claim (hl7.fhir.r4.core#4.0.1), ExplanationOfBenefit (hl7.fhir.r4.core#4.0.1), Claim (hl7.fhir.r4.core#4.0.1), ExplanationOfBenefit (hl7.fhir.r4.core#4.0.1), Claim (hl7.fhir.r4.core#4.0.1), ExplanationOfBenefit (hl7.fhir.r4.core#4.0.1), Claim (hl7.fhir.r4.core#4.0.1), ExplanationOfBenefit (hl7.fhir.r4.core#4.0.1), Claim (hl7.fhir.r4.core#4.0.1), ExplanationOfBenefit (hl7.fhir.r4.core#4.0.1), Claim (hl7.fhir.r4.core#4.0.1), ExplanationOfBenefit (hl7.fhir.r4.core#4.0.1), Claim (hl7.fhir.r4.core#4.0.1), ExplanationOfBenefit (hl7.fhir.r4.core#4.0.1), Claim (hl7.fhir.r4.core#4.0.1), ExplanationOfBenefit (hl7.fhir.r4.core#4.0.1), Claim (hl7.fhir.r4.core#4.0.1), ExplanationOfBenefit (hl7.fhir.r4.core#4.0.1) + - Version 2: Claim (hl7.fhir.r5.core#5.0.0), ExplanationOfBenefit (hl7.fhir.r5.core#5.0.0), Claim (hl7.fhir.r5.core#5.0.0), ExplanationOfBenefit (hl7.fhir.r5.core#5.0.0), Claim (hl7.fhir.r5.core#5.0.0), ExplanationOfBenefit (hl7.fhir.r5.core#5.0.0) + - Version 3: Claim (hl7.fhir.r4.examples#4.0.1), ExplanationOfBenefit (hl7.fhir.r4.examples#4.0.1) +- `urn:fhir:binding:ProcedureUsed` (3 versions) + - Version 1: Procedure (hl7.fhir.r4.core#4.0.1), Procedure (hl7.fhir.r4.core#4.0.1), Procedure (hl7.fhir.r4.core#4.0.1), Procedure (hl7.fhir.r4.core#4.0.1), Procedure (hl7.fhir.r4.core#4.0.1), Procedure (hl7.fhir.r4.core#4.0.1), Procedure (hl7.fhir.r4.core#4.0.1), Procedure (hl7.fhir.r4.core#4.0.1), Procedure (hl7.fhir.r4.core#4.0.1), Procedure (hl7.fhir.r4.core#4.0.1) + - Version 2: Procedure (hl7.fhir.r5.core#5.0.0), Procedure (hl7.fhir.r5.core#5.0.0), Procedure (hl7.fhir.r5.core#5.0.0) + - Version 3: Procedure (hl7.fhir.r4.examples#4.0.1) +- `urn:fhir:binding:ProcessPriority` (4 versions) + - Version 1: CoverageEligibilityRequest (hl7.fhir.r4.core#4.0.1), Claim (hl7.fhir.r4.core#4.0.1), CoverageEligibilityRequest (hl7.fhir.r4.core#4.0.1), Claim (hl7.fhir.r4.core#4.0.1), CoverageEligibilityRequest (hl7.fhir.r4.core#4.0.1), Claim (hl7.fhir.r4.core#4.0.1), CoverageEligibilityRequest (hl7.fhir.r4.core#4.0.1), Claim (hl7.fhir.r4.core#4.0.1), CoverageEligibilityRequest (hl7.fhir.r4.core#4.0.1), Claim (hl7.fhir.r4.core#4.0.1), CoverageEligibilityRequest (hl7.fhir.r4.core#4.0.1), Claim (hl7.fhir.r4.core#4.0.1), CoverageEligibilityRequest (hl7.fhir.r4.core#4.0.1), Claim (hl7.fhir.r4.core#4.0.1), CoverageEligibilityRequest (hl7.fhir.r4.core#4.0.1), Claim (hl7.fhir.r4.core#4.0.1), CoverageEligibilityRequest (hl7.fhir.r4.core#4.0.1), Claim (hl7.fhir.r4.core#4.0.1), CoverageEligibilityRequest (hl7.fhir.r4.core#4.0.1), Claim (hl7.fhir.r4.core#4.0.1) + - Version 2: ExplanationOfBenefit (hl7.fhir.r4.core#4.0.1), ExplanationOfBenefit (hl7.fhir.r4.core#4.0.1), ExplanationOfBenefit (hl7.fhir.r4.core#4.0.1), ExplanationOfBenefit (hl7.fhir.r4.core#4.0.1), ExplanationOfBenefit (hl7.fhir.r4.core#4.0.1), ExplanationOfBenefit (hl7.fhir.r4.core#4.0.1), ExplanationOfBenefit (hl7.fhir.r4.core#4.0.1), ExplanationOfBenefit (hl7.fhir.r4.examples#4.0.1), ExplanationOfBenefit (hl7.fhir.r4.core#4.0.1), ExplanationOfBenefit (hl7.fhir.r4.core#4.0.1), ExplanationOfBenefit (hl7.fhir.r4.core#4.0.1) + - Version 3: CoverageEligibilityRequest (hl7.fhir.r5.core#5.0.0), Claim (hl7.fhir.r5.core#5.0.0), ExplanationOfBenefit (hl7.fhir.r5.core#5.0.0), CoverageEligibilityRequest (hl7.fhir.r5.core#5.0.0), Claim (hl7.fhir.r5.core#5.0.0), ExplanationOfBenefit (hl7.fhir.r5.core#5.0.0), CoverageEligibilityRequest (hl7.fhir.r5.core#5.0.0), Claim (hl7.fhir.r5.core#5.0.0), ExplanationOfBenefit (hl7.fhir.r5.core#5.0.0) + - Version 4: CoverageEligibilityRequest (hl7.fhir.r4.examples#4.0.1), Claim (hl7.fhir.r4.examples#4.0.1) +- `urn:fhir:binding:Program` (3 versions) + - Version 1: HealthcareService (hl7.fhir.r4.core#4.0.1), HealthcareService (hl7.fhir.r4.core#4.0.1), HealthcareService (hl7.fhir.r4.core#4.0.1), HealthcareService (hl7.fhir.r4.core#4.0.1), HealthcareService (hl7.fhir.r4.core#4.0.1), HealthcareService (hl7.fhir.r4.core#4.0.1), HealthcareService (hl7.fhir.r4.core#4.0.1), HealthcareService (hl7.fhir.r4.core#4.0.1), HealthcareService (hl7.fhir.r4.core#4.0.1), HealthcareService (hl7.fhir.r4.core#4.0.1) + - Version 2: HealthcareService (hl7.fhir.r5.core#5.0.0), HealthcareService (hl7.fhir.r5.core#5.0.0), HealthcareService (hl7.fhir.r5.core#5.0.0) + - Version 3: HealthcareService (hl7.fhir.r4.examples#4.0.1) +- `urn:fhir:binding:ProgramCode` (3 versions) + - Version 1: Claim (hl7.fhir.r4.core#4.0.1), ClaimResponse (hl7.fhir.r4.core#4.0.1), ExplanationOfBenefit (hl7.fhir.r4.core#4.0.1), Claim (hl7.fhir.r4.core#4.0.1), ClaimResponse (hl7.fhir.r4.core#4.0.1), ExplanationOfBenefit (hl7.fhir.r4.core#4.0.1), Claim (hl7.fhir.r4.core#4.0.1), ClaimResponse (hl7.fhir.r4.core#4.0.1), ExplanationOfBenefit (hl7.fhir.r4.core#4.0.1), Claim (hl7.fhir.r4.core#4.0.1), ClaimResponse (hl7.fhir.r4.core#4.0.1), ExplanationOfBenefit (hl7.fhir.r4.core#4.0.1), Claim (hl7.fhir.r4.core#4.0.1), ClaimResponse (hl7.fhir.r4.core#4.0.1), ExplanationOfBenefit (hl7.fhir.r4.core#4.0.1), Claim (hl7.fhir.r4.core#4.0.1), ClaimResponse (hl7.fhir.r4.core#4.0.1), ExplanationOfBenefit (hl7.fhir.r4.core#4.0.1), Claim (hl7.fhir.r4.core#4.0.1), ClaimResponse (hl7.fhir.r4.core#4.0.1), ExplanationOfBenefit (hl7.fhir.r4.core#4.0.1), Claim (hl7.fhir.r4.core#4.0.1), ClaimResponse (hl7.fhir.r4.core#4.0.1), ExplanationOfBenefit (hl7.fhir.r4.core#4.0.1), Claim (hl7.fhir.r4.core#4.0.1), ClaimResponse (hl7.fhir.r4.core#4.0.1), ExplanationOfBenefit (hl7.fhir.r4.core#4.0.1), Claim (hl7.fhir.r4.core#4.0.1), ClaimResponse (hl7.fhir.r4.core#4.0.1), ExplanationOfBenefit (hl7.fhir.r4.core#4.0.1) + - Version 2: Claim (hl7.fhir.r5.core#5.0.0), ClaimResponse (hl7.fhir.r5.core#5.0.0), ExplanationOfBenefit (hl7.fhir.r5.core#5.0.0), Claim (hl7.fhir.r5.core#5.0.0), ClaimResponse (hl7.fhir.r5.core#5.0.0), ExplanationOfBenefit (hl7.fhir.r5.core#5.0.0), Claim (hl7.fhir.r5.core#5.0.0), ClaimResponse (hl7.fhir.r5.core#5.0.0), ExplanationOfBenefit (hl7.fhir.r5.core#5.0.0) + - Version 3: Claim (hl7.fhir.r4.examples#4.0.1), ClaimResponse (hl7.fhir.r4.examples#4.0.1), ExplanationOfBenefit (hl7.fhir.r4.examples#4.0.1) +- `urn:fhir:binding:ProgramEligibility` (3 versions) + - Version 1: Immunization (hl7.fhir.r4.core#4.0.1), Immunization (hl7.fhir.r4.core#4.0.1), Immunization (hl7.fhir.r4.core#4.0.1), Immunization (hl7.fhir.r4.core#4.0.1), Immunization (hl7.fhir.r4.core#4.0.1), Immunization (hl7.fhir.r4.core#4.0.1), Immunization (hl7.fhir.r4.core#4.0.1), Immunization (hl7.fhir.r4.core#4.0.1), Immunization (hl7.fhir.r4.core#4.0.1), Immunization (hl7.fhir.r4.core#4.0.1) + - Version 2: Immunization (hl7.fhir.r5.core#5.0.0), Immunization (hl7.fhir.r5.core#5.0.0), Immunization (hl7.fhir.r5.core#5.0.0) + - Version 3: Immunization (hl7.fhir.r4.examples#4.0.1) +- `urn:fhir:binding:PropertyRepresentation` (3 versions) + - Version 1: ElementDefinition (hl7.fhir.r4.core#4.0.1), elementdefinition-de (hl7.fhir.r4.core#4.0.1), ElementDefinition (hl7.fhir.r4.core#4.0.1), elementdefinition-de (hl7.fhir.r4.core#4.0.1), ElementDefinition (hl7.fhir.r4.core#4.0.1), elementdefinition-de (hl7.fhir.r4.core#4.0.1), ElementDefinition (hl7.fhir.r4.core#4.0.1), elementdefinition-de (hl7.fhir.r4.core#4.0.1), ElementDefinition (hl7.fhir.r4.core#4.0.1), elementdefinition-de (hl7.fhir.r4.core#4.0.1), ElementDefinition (hl7.fhir.r4.core#4.0.1), elementdefinition-de (hl7.fhir.r4.core#4.0.1), ElementDefinition (hl7.fhir.r4.core#4.0.1), elementdefinition-de (hl7.fhir.r4.core#4.0.1), ElementDefinition (hl7.fhir.r4.core#4.0.1), elementdefinition-de (hl7.fhir.r4.core#4.0.1), ElementDefinition (hl7.fhir.r4.core#4.0.1), elementdefinition-de (hl7.fhir.r4.core#4.0.1), ElementDefinition (hl7.fhir.r4.core#4.0.1), elementdefinition-de (hl7.fhir.r4.core#4.0.1) + - Version 2: ElementDefinition (hl7.fhir.r5.core#5.0.0), elementdefinition-de (hl7.fhir.r5.core#5.0.0), ElementDefinition (hl7.fhir.r5.core#5.0.0), elementdefinition-de (hl7.fhir.r5.core#5.0.0), ElementDefinition (hl7.fhir.r5.core#5.0.0), elementdefinition-de (hl7.fhir.r5.core#5.0.0) + - Version 3: ElementDefinition (hl7.fhir.r4.examples#4.0.1), elementdefinition-de (hl7.fhir.r4.examples#4.0.1) +- `urn:fhir:binding:PropertyType` (4 versions) + - Version 1: CodeSystem (hl7.fhir.r4.core#4.0.1), CodeSystem (hl7.fhir.r4.core#4.0.1), CodeSystem (hl7.fhir.r4.core#4.0.1), CodeSystem (hl7.fhir.r4.core#4.0.1), CodeSystem (hl7.fhir.r4.core#4.0.1), CodeSystem (hl7.fhir.r4.core#4.0.1), CodeSystem (hl7.fhir.r4.core#4.0.1), CodeSystem (hl7.fhir.r4.core#4.0.1), CodeSystem (hl7.fhir.r4.core#4.0.1), CodeSystem (hl7.fhir.r4.core#4.0.1) + - Version 2: CodeSystem (hl7.fhir.r5.core#5.0.0), CodeSystem (hl7.fhir.r5.core#5.0.0), CodeSystem (hl7.fhir.r5.core#5.0.0) + - Version 3: ConceptMap (hl7.fhir.r5.core#5.0.0), ConceptMap (hl7.fhir.r5.core#5.0.0), ConceptMap (hl7.fhir.r5.core#5.0.0) + - Version 4: CodeSystem (hl7.fhir.r4.examples#4.0.1) +- `urn:fhir:binding:ProvenanceActivity` (3 versions) + - Version 1: Provenance (hl7.fhir.r4.core#4.0.1), ehrsrle-provenance (hl7.fhir.r4.core#4.0.1), Provenance (hl7.fhir.r4.core#4.0.1), ehrsrle-provenance (hl7.fhir.r4.core#4.0.1), Provenance (hl7.fhir.r4.core#4.0.1), ehrsrle-provenance (hl7.fhir.r4.core#4.0.1), Provenance (hl7.fhir.r4.core#4.0.1), ehrsrle-provenance (hl7.fhir.r4.core#4.0.1), Provenance (hl7.fhir.r4.core#4.0.1), ehrsrle-provenance (hl7.fhir.r4.core#4.0.1), Provenance (hl7.fhir.r4.core#4.0.1), ehrsrle-provenance (hl7.fhir.r4.core#4.0.1), Provenance (hl7.fhir.r4.core#4.0.1), ehrsrle-provenance (hl7.fhir.r4.core#4.0.1), Provenance (hl7.fhir.r4.core#4.0.1), ehrsrle-provenance (hl7.fhir.r4.core#4.0.1), Provenance (hl7.fhir.r4.core#4.0.1), ehrsrle-provenance (hl7.fhir.r4.core#4.0.1), Provenance (hl7.fhir.r4.core#4.0.1), ehrsrle-provenance (hl7.fhir.r4.core#4.0.1) + - Version 2: Provenance (hl7.fhir.r5.core#5.0.0), Provenance (hl7.fhir.r5.core#5.0.0), Provenance (hl7.fhir.r5.core#5.0.0) + - Version 3: Provenance (hl7.fhir.r4.examples#4.0.1), ehrsrle-provenance (hl7.fhir.r4.examples#4.0.1) +- `urn:fhir:binding:ProvenanceAgentRole` (3 versions) + - Version 1: Provenance (hl7.fhir.r4.core#4.0.1), Provenance (hl7.fhir.r4.core#4.0.1), Provenance (hl7.fhir.r4.core#4.0.1), Provenance (hl7.fhir.r4.core#4.0.1), Provenance (hl7.fhir.r4.core#4.0.1), Provenance (hl7.fhir.r4.core#4.0.1), Provenance (hl7.fhir.r4.core#4.0.1), Provenance (hl7.fhir.r4.core#4.0.1), Provenance (hl7.fhir.r4.core#4.0.1), Provenance (hl7.fhir.r4.core#4.0.1) + - Version 2: Provenance (hl7.fhir.r5.core#5.0.0), Provenance (hl7.fhir.r5.core#5.0.0), Provenance (hl7.fhir.r5.core#5.0.0) + - Version 3: Provenance (hl7.fhir.r4.examples#4.0.1) +- `urn:fhir:binding:ProvenanceAgentType` (3 versions) + - Version 1: Provenance (hl7.fhir.r4.core#4.0.1), Provenance (hl7.fhir.r4.core#4.0.1), Provenance (hl7.fhir.r4.core#4.0.1), Provenance (hl7.fhir.r4.core#4.0.1), Provenance (hl7.fhir.r4.core#4.0.1), Provenance (hl7.fhir.r4.core#4.0.1), Provenance (hl7.fhir.r4.core#4.0.1), Provenance (hl7.fhir.r4.core#4.0.1), Provenance (hl7.fhir.r4.core#4.0.1), Provenance (hl7.fhir.r4.core#4.0.1) + - Version 2: Provenance (hl7.fhir.r5.core#5.0.0), Provenance (hl7.fhir.r5.core#5.0.0), Provenance (hl7.fhir.r5.core#5.0.0) + - Version 3: Provenance (hl7.fhir.r4.examples#4.0.1) +- `urn:fhir:binding:ProvenanceEntityRole` (3 versions) + - Version 1: Provenance (hl7.fhir.r4.core#4.0.1), Provenance (hl7.fhir.r4.core#4.0.1), Provenance (hl7.fhir.r4.core#4.0.1), Provenance (hl7.fhir.r4.core#4.0.1), Provenance (hl7.fhir.r4.core#4.0.1), Provenance (hl7.fhir.r4.core#4.0.1), Provenance (hl7.fhir.r4.core#4.0.1), Provenance (hl7.fhir.r4.core#4.0.1), Provenance (hl7.fhir.r4.core#4.0.1), Provenance (hl7.fhir.r4.core#4.0.1) + - Version 2: Provenance (hl7.fhir.r5.core#5.0.0), Provenance (hl7.fhir.r5.core#5.0.0), Provenance (hl7.fhir.r5.core#5.0.0) + - Version 3: Provenance (hl7.fhir.r4.examples#4.0.1) +- `urn:fhir:binding:ProvenanceHistoryAgentType` (3 versions) + - Version 1: provenance-relevant-history (hl7.fhir.r4.core#4.0.1), provenance-relevant-history (hl7.fhir.r4.core#4.0.1), provenance-relevant-history (hl7.fhir.r4.core#4.0.1), provenance-relevant-history (hl7.fhir.r4.core#4.0.1), provenance-relevant-history (hl7.fhir.r4.core#4.0.1), provenance-relevant-history (hl7.fhir.r4.core#4.0.1), provenance-relevant-history (hl7.fhir.r4.core#4.0.1), provenance-relevant-history (hl7.fhir.r4.core#4.0.1), provenance-relevant-history (hl7.fhir.r4.core#4.0.1), provenance-relevant-history (hl7.fhir.r4.core#4.0.1) + - Version 2: provenance-relevant-history (hl7.fhir.r5.core#5.0.0), provenance-relevant-history (hl7.fhir.r5.core#5.0.0), provenance-relevant-history (hl7.fhir.r5.core#5.0.0) + - Version 3: provenance-relevant-history (hl7.fhir.r4.examples#4.0.1) +- `urn:fhir:binding:ProvenanceHistoryRecordActivity` (3 versions) + - Version 1: provenance-relevant-history (hl7.fhir.r4.core#4.0.1), provenance-relevant-history (hl7.fhir.r4.core#4.0.1), provenance-relevant-history (hl7.fhir.r4.core#4.0.1), provenance-relevant-history (hl7.fhir.r4.core#4.0.1), provenance-relevant-history (hl7.fhir.r4.core#4.0.1), provenance-relevant-history (hl7.fhir.r4.core#4.0.1), provenance-relevant-history (hl7.fhir.r4.core#4.0.1), provenance-relevant-history (hl7.fhir.r4.core#4.0.1), provenance-relevant-history (hl7.fhir.r4.core#4.0.1), provenance-relevant-history (hl7.fhir.r4.core#4.0.1) + - Version 2: provenance-relevant-history (hl7.fhir.r5.core#5.0.0), provenance-relevant-history (hl7.fhir.r5.core#5.0.0), provenance-relevant-history (hl7.fhir.r5.core#5.0.0) + - Version 3: provenance-relevant-history (hl7.fhir.r4.examples#4.0.1) +- `urn:fhir:binding:ProvenanceReason` (3 versions) + - Version 1: Provenance (hl7.fhir.r4.core#4.0.1), provenance-relevant-history (hl7.fhir.r4.core#4.0.1), ehrsrle-provenance (hl7.fhir.r4.core#4.0.1), Provenance (hl7.fhir.r4.core#4.0.1), provenance-relevant-history (hl7.fhir.r4.core#4.0.1), ehrsrle-provenance (hl7.fhir.r4.core#4.0.1), Provenance (hl7.fhir.r4.core#4.0.1), provenance-relevant-history (hl7.fhir.r4.core#4.0.1), ehrsrle-provenance (hl7.fhir.r4.core#4.0.1), Provenance (hl7.fhir.r4.core#4.0.1), provenance-relevant-history (hl7.fhir.r4.core#4.0.1), ehrsrle-provenance (hl7.fhir.r4.core#4.0.1), Provenance (hl7.fhir.r4.core#4.0.1), provenance-relevant-history (hl7.fhir.r4.core#4.0.1), ehrsrle-provenance (hl7.fhir.r4.core#4.0.1), Provenance (hl7.fhir.r4.core#4.0.1), provenance-relevant-history (hl7.fhir.r4.core#4.0.1), ehrsrle-provenance (hl7.fhir.r4.core#4.0.1), Provenance (hl7.fhir.r4.core#4.0.1), provenance-relevant-history (hl7.fhir.r4.core#4.0.1), ehrsrle-provenance (hl7.fhir.r4.core#4.0.1), Provenance (hl7.fhir.r4.core#4.0.1), provenance-relevant-history (hl7.fhir.r4.core#4.0.1), ehrsrle-provenance (hl7.fhir.r4.core#4.0.1), Provenance (hl7.fhir.r4.core#4.0.1), provenance-relevant-history (hl7.fhir.r4.core#4.0.1), ehrsrle-provenance (hl7.fhir.r4.core#4.0.1), Provenance (hl7.fhir.r4.core#4.0.1), provenance-relevant-history (hl7.fhir.r4.core#4.0.1), ehrsrle-provenance (hl7.fhir.r4.core#4.0.1) + - Version 2: Provenance (hl7.fhir.r5.core#5.0.0), provenance-relevant-history (hl7.fhir.r5.core#5.0.0), Provenance (hl7.fhir.r5.core#5.0.0), provenance-relevant-history (hl7.fhir.r5.core#5.0.0), Provenance (hl7.fhir.r5.core#5.0.0), provenance-relevant-history (hl7.fhir.r5.core#5.0.0) + - Version 3: Provenance (hl7.fhir.r4.examples#4.0.1), provenance-relevant-history (hl7.fhir.r4.examples#4.0.1), ehrsrle-provenance (hl7.fhir.r4.examples#4.0.1) +- `urn:fhir:binding:ProviderQualification` (3 versions) + - Version 1: Claim (hl7.fhir.r4.core#4.0.1), ExplanationOfBenefit (hl7.fhir.r4.core#4.0.1), Claim (hl7.fhir.r4.core#4.0.1), ExplanationOfBenefit (hl7.fhir.r4.core#4.0.1), Claim (hl7.fhir.r4.core#4.0.1), ExplanationOfBenefit (hl7.fhir.r4.core#4.0.1), Claim (hl7.fhir.r4.core#4.0.1), ExplanationOfBenefit (hl7.fhir.r4.core#4.0.1), Claim (hl7.fhir.r4.core#4.0.1), ExplanationOfBenefit (hl7.fhir.r4.core#4.0.1), Claim (hl7.fhir.r4.core#4.0.1), ExplanationOfBenefit (hl7.fhir.r4.core#4.0.1), Claim (hl7.fhir.r4.core#4.0.1), ExplanationOfBenefit (hl7.fhir.r4.core#4.0.1), Claim (hl7.fhir.r4.core#4.0.1), ExplanationOfBenefit (hl7.fhir.r4.core#4.0.1), Claim (hl7.fhir.r4.core#4.0.1), ExplanationOfBenefit (hl7.fhir.r4.core#4.0.1), Claim (hl7.fhir.r4.core#4.0.1), ExplanationOfBenefit (hl7.fhir.r4.core#4.0.1) + - Version 2: Claim (hl7.fhir.r5.core#5.0.0), ExplanationOfBenefit (hl7.fhir.r5.core#5.0.0), Claim (hl7.fhir.r5.core#5.0.0), ExplanationOfBenefit (hl7.fhir.r5.core#5.0.0), Claim (hl7.fhir.r5.core#5.0.0), ExplanationOfBenefit (hl7.fhir.r5.core#5.0.0) + - Version 3: Claim (hl7.fhir.r4.examples#4.0.1), ExplanationOfBenefit (hl7.fhir.r4.examples#4.0.1) +- `urn:fhir:binding:PublicationStatus` (5 versions) + - Version 1: EventDefinition (hl7.fhir.r4.core#4.0.1), Measure (hl7.fhir.r4.core#4.0.1), Library (hl7.fhir.r4.core#4.0.1), ValueSet (hl7.fhir.r4.core#4.0.1), CapabilityStatement (hl7.fhir.r4.core#4.0.1), PlanDefinition (hl7.fhir.r4.core#4.0.1), CodeSystem (hl7.fhir.r4.core#4.0.1), InsurancePlan (hl7.fhir.r4.core#4.0.1), EvidenceVariable (hl7.fhir.r4.core#4.0.1), ImplementationGuide (hl7.fhir.r4.core#4.0.1), Evidence (hl7.fhir.r4.core#4.0.1), TerminologyCapabilities (hl7.fhir.r4.core#4.0.1), TestScript (hl7.fhir.r4.core#4.0.1), CompartmentDefinition (hl7.fhir.r4.core#4.0.1), OperationDefinition (hl7.fhir.r4.core#4.0.1), MetadataResource (hl7.fhir.r4.core#4.0.1), StructureDefinition (hl7.fhir.r4.core#4.0.1), StructureMap (hl7.fhir.r4.core#4.0.1), SearchParameter (hl7.fhir.r4.core#4.0.1), ActivityDefinition (hl7.fhir.r4.core#4.0.1), shareablecodesystem (hl7.fhir.r4.core#4.0.1), ConceptMap (hl7.fhir.r4.core#4.0.1), ChargeItemDefinition (hl7.fhir.r4.core#4.0.1), MessageDefinition (hl7.fhir.r4.core#4.0.1), GraphDefinition (hl7.fhir.r4.core#4.0.1), shareablevalueset (hl7.fhir.r4.core#4.0.1), ExampleScenario (hl7.fhir.r4.core#4.0.1), Questionnaire (hl7.fhir.r4.core#4.0.1), NamingSystem (hl7.fhir.r4.core#4.0.1), CatalogEntry (hl7.fhir.r4.core#4.0.1), EffectEvidenceSynthesis (hl7.fhir.r4.core#4.0.1), ResearchDefinition (hl7.fhir.r4.core#4.0.1), ResearchElementDefinition (hl7.fhir.r4.core#4.0.1), RiskEvidenceSynthesis (hl7.fhir.r4.core#4.0.1), synthesis (hl7.fhir.r4.core#4.0.1), EventDefinition (hl7.fhir.r4.core#4.0.1), Measure (hl7.fhir.r4.core#4.0.1), Library (hl7.fhir.r4.core#4.0.1), ValueSet (hl7.fhir.r4.core#4.0.1), CapabilityStatement (hl7.fhir.r4.core#4.0.1), PlanDefinition (hl7.fhir.r4.core#4.0.1), CodeSystem (hl7.fhir.r4.core#4.0.1), InsurancePlan (hl7.fhir.r4.core#4.0.1), EvidenceVariable (hl7.fhir.r4.core#4.0.1), ImplementationGuide (hl7.fhir.r4.core#4.0.1), Evidence (hl7.fhir.r4.core#4.0.1), TerminologyCapabilities (hl7.fhir.r4.core#4.0.1), TestScript (hl7.fhir.r4.core#4.0.1), CompartmentDefinition (hl7.fhir.r4.core#4.0.1), OperationDefinition (hl7.fhir.r4.core#4.0.1), MetadataResource (hl7.fhir.r4.core#4.0.1), StructureDefinition (hl7.fhir.r4.core#4.0.1), StructureMap (hl7.fhir.r4.core#4.0.1), SearchParameter (hl7.fhir.r4.core#4.0.1), ActivityDefinition (hl7.fhir.r4.core#4.0.1), shareablecodesystem (hl7.fhir.r4.core#4.0.1), ConceptMap (hl7.fhir.r4.core#4.0.1), ChargeItemDefinition (hl7.fhir.r4.core#4.0.1), MessageDefinition (hl7.fhir.r4.core#4.0.1), GraphDefinition (hl7.fhir.r4.core#4.0.1), shareablevalueset (hl7.fhir.r4.core#4.0.1), ExampleScenario (hl7.fhir.r4.core#4.0.1), Questionnaire (hl7.fhir.r4.core#4.0.1), NamingSystem (hl7.fhir.r4.core#4.0.1), CatalogEntry (hl7.fhir.r4.core#4.0.1), EffectEvidenceSynthesis (hl7.fhir.r4.core#4.0.1), ResearchDefinition (hl7.fhir.r4.core#4.0.1), ResearchElementDefinition (hl7.fhir.r4.core#4.0.1), RiskEvidenceSynthesis (hl7.fhir.r4.core#4.0.1), synthesis (hl7.fhir.r4.core#4.0.1), EventDefinition (hl7.fhir.r4.core#4.0.1), Measure (hl7.fhir.r4.core#4.0.1), Library (hl7.fhir.r4.core#4.0.1), ValueSet (hl7.fhir.r4.core#4.0.1), CapabilityStatement (hl7.fhir.r4.core#4.0.1), PlanDefinition (hl7.fhir.r4.core#4.0.1), CodeSystem (hl7.fhir.r4.core#4.0.1), InsurancePlan (hl7.fhir.r4.core#4.0.1), EvidenceVariable (hl7.fhir.r4.core#4.0.1), ImplementationGuide (hl7.fhir.r4.core#4.0.1), Evidence (hl7.fhir.r4.core#4.0.1), TerminologyCapabilities (hl7.fhir.r4.core#4.0.1), TestScript (hl7.fhir.r4.core#4.0.1), CompartmentDefinition (hl7.fhir.r4.core#4.0.1), OperationDefinition (hl7.fhir.r4.core#4.0.1), MetadataResource (hl7.fhir.r4.core#4.0.1), StructureDefinition (hl7.fhir.r4.core#4.0.1), StructureMap (hl7.fhir.r4.core#4.0.1), SearchParameter (hl7.fhir.r4.core#4.0.1), ActivityDefinition (hl7.fhir.r4.core#4.0.1), shareablecodesystem (hl7.fhir.r4.core#4.0.1), ConceptMap (hl7.fhir.r4.core#4.0.1), ChargeItemDefinition (hl7.fhir.r4.core#4.0.1), MessageDefinition (hl7.fhir.r4.core#4.0.1), GraphDefinition (hl7.fhir.r4.core#4.0.1), shareablevalueset (hl7.fhir.r4.core#4.0.1), ExampleScenario (hl7.fhir.r4.core#4.0.1), Questionnaire (hl7.fhir.r4.core#4.0.1), NamingSystem (hl7.fhir.r4.core#4.0.1), CatalogEntry (hl7.fhir.r4.core#4.0.1), EffectEvidenceSynthesis (hl7.fhir.r4.core#4.0.1), ResearchDefinition (hl7.fhir.r4.core#4.0.1), ResearchElementDefinition (hl7.fhir.r4.core#4.0.1), RiskEvidenceSynthesis (hl7.fhir.r4.core#4.0.1), synthesis (hl7.fhir.r4.core#4.0.1), EventDefinition (hl7.fhir.r4.core#4.0.1), Measure (hl7.fhir.r4.core#4.0.1), Library (hl7.fhir.r4.core#4.0.1), ValueSet (hl7.fhir.r4.core#4.0.1), CapabilityStatement (hl7.fhir.r4.core#4.0.1), PlanDefinition (hl7.fhir.r4.core#4.0.1), CodeSystem (hl7.fhir.r4.core#4.0.1), InsurancePlan (hl7.fhir.r4.core#4.0.1), EvidenceVariable (hl7.fhir.r4.core#4.0.1), ImplementationGuide (hl7.fhir.r4.core#4.0.1), Evidence (hl7.fhir.r4.core#4.0.1), TerminologyCapabilities (hl7.fhir.r4.core#4.0.1), TestScript (hl7.fhir.r4.core#4.0.1), CompartmentDefinition (hl7.fhir.r4.core#4.0.1), OperationDefinition (hl7.fhir.r4.core#4.0.1), MetadataResource (hl7.fhir.r4.core#4.0.1), StructureDefinition (hl7.fhir.r4.core#4.0.1), StructureMap (hl7.fhir.r4.core#4.0.1), SearchParameter (hl7.fhir.r4.core#4.0.1), ActivityDefinition (hl7.fhir.r4.core#4.0.1), shareablecodesystem (hl7.fhir.r4.core#4.0.1), ConceptMap (hl7.fhir.r4.core#4.0.1), ChargeItemDefinition (hl7.fhir.r4.core#4.0.1), MessageDefinition (hl7.fhir.r4.core#4.0.1), GraphDefinition (hl7.fhir.r4.core#4.0.1), shareablevalueset (hl7.fhir.r4.core#4.0.1), ExampleScenario (hl7.fhir.r4.core#4.0.1), Questionnaire (hl7.fhir.r4.core#4.0.1), NamingSystem (hl7.fhir.r4.core#4.0.1), CatalogEntry (hl7.fhir.r4.core#4.0.1), EffectEvidenceSynthesis (hl7.fhir.r4.core#4.0.1), ResearchDefinition (hl7.fhir.r4.core#4.0.1), ResearchElementDefinition (hl7.fhir.r4.core#4.0.1), RiskEvidenceSynthesis (hl7.fhir.r4.core#4.0.1), synthesis (hl7.fhir.r4.core#4.0.1), EventDefinition (hl7.fhir.r4.core#4.0.1), Measure (hl7.fhir.r4.core#4.0.1), Library (hl7.fhir.r4.core#4.0.1), ValueSet (hl7.fhir.r4.core#4.0.1), CapabilityStatement (hl7.fhir.r4.core#4.0.1), PlanDefinition (hl7.fhir.r4.core#4.0.1), CodeSystem (hl7.fhir.r4.core#4.0.1), InsurancePlan (hl7.fhir.r4.core#4.0.1), EvidenceVariable (hl7.fhir.r4.core#4.0.1), ImplementationGuide (hl7.fhir.r4.core#4.0.1), Evidence (hl7.fhir.r4.core#4.0.1), TerminologyCapabilities (hl7.fhir.r4.core#4.0.1), TestScript (hl7.fhir.r4.core#4.0.1), CompartmentDefinition (hl7.fhir.r4.core#4.0.1), OperationDefinition (hl7.fhir.r4.core#4.0.1), MetadataResource (hl7.fhir.r4.core#4.0.1), StructureDefinition (hl7.fhir.r4.core#4.0.1), StructureMap (hl7.fhir.r4.core#4.0.1), SearchParameter (hl7.fhir.r4.core#4.0.1), ActivityDefinition (hl7.fhir.r4.core#4.0.1), shareablecodesystem (hl7.fhir.r4.core#4.0.1), ConceptMap (hl7.fhir.r4.core#4.0.1), ChargeItemDefinition (hl7.fhir.r4.core#4.0.1), MessageDefinition (hl7.fhir.r4.core#4.0.1), GraphDefinition (hl7.fhir.r4.core#4.0.1), shareablevalueset (hl7.fhir.r4.core#4.0.1), ExampleScenario (hl7.fhir.r4.core#4.0.1), Questionnaire (hl7.fhir.r4.core#4.0.1), NamingSystem (hl7.fhir.r4.core#4.0.1), CatalogEntry (hl7.fhir.r4.core#4.0.1), EffectEvidenceSynthesis (hl7.fhir.r4.core#4.0.1), ResearchDefinition (hl7.fhir.r4.core#4.0.1), ResearchElementDefinition (hl7.fhir.r4.core#4.0.1), RiskEvidenceSynthesis (hl7.fhir.r4.core#4.0.1), synthesis (hl7.fhir.r4.core#4.0.1), EventDefinition (hl7.fhir.r4.core#4.0.1), Measure (hl7.fhir.r4.core#4.0.1), Library (hl7.fhir.r4.core#4.0.1), ValueSet (hl7.fhir.r4.core#4.0.1), CapabilityStatement (hl7.fhir.r4.core#4.0.1), PlanDefinition (hl7.fhir.r4.core#4.0.1), CodeSystem (hl7.fhir.r4.core#4.0.1), InsurancePlan (hl7.fhir.r4.core#4.0.1), EvidenceVariable (hl7.fhir.r4.core#4.0.1), ImplementationGuide (hl7.fhir.r4.core#4.0.1), Evidence (hl7.fhir.r4.core#4.0.1), TerminologyCapabilities (hl7.fhir.r4.core#4.0.1), TestScript (hl7.fhir.r4.core#4.0.1), CompartmentDefinition (hl7.fhir.r4.core#4.0.1), OperationDefinition (hl7.fhir.r4.core#4.0.1), MetadataResource (hl7.fhir.r4.core#4.0.1), StructureDefinition (hl7.fhir.r4.core#4.0.1), StructureMap (hl7.fhir.r4.core#4.0.1), SearchParameter (hl7.fhir.r4.core#4.0.1), ActivityDefinition (hl7.fhir.r4.core#4.0.1), shareablecodesystem (hl7.fhir.r4.core#4.0.1), ConceptMap (hl7.fhir.r4.core#4.0.1), ChargeItemDefinition (hl7.fhir.r4.core#4.0.1), MessageDefinition (hl7.fhir.r4.core#4.0.1), GraphDefinition (hl7.fhir.r4.core#4.0.1), shareablevalueset (hl7.fhir.r4.core#4.0.1), ExampleScenario (hl7.fhir.r4.core#4.0.1), Questionnaire (hl7.fhir.r4.core#4.0.1), NamingSystem (hl7.fhir.r4.core#4.0.1), CatalogEntry (hl7.fhir.r4.core#4.0.1), EffectEvidenceSynthesis (hl7.fhir.r4.core#4.0.1), ResearchDefinition (hl7.fhir.r4.core#4.0.1), ResearchElementDefinition (hl7.fhir.r4.core#4.0.1), RiskEvidenceSynthesis (hl7.fhir.r4.core#4.0.1), synthesis (hl7.fhir.r4.core#4.0.1), EventDefinition (hl7.fhir.r4.core#4.0.1), Measure (hl7.fhir.r4.core#4.0.1), Library (hl7.fhir.r4.core#4.0.1), ValueSet (hl7.fhir.r4.core#4.0.1), CapabilityStatement (hl7.fhir.r4.core#4.0.1), PlanDefinition (hl7.fhir.r4.core#4.0.1), CodeSystem (hl7.fhir.r4.core#4.0.1), InsurancePlan (hl7.fhir.r4.core#4.0.1), EvidenceVariable (hl7.fhir.r4.core#4.0.1), ImplementationGuide (hl7.fhir.r4.core#4.0.1), Evidence (hl7.fhir.r4.core#4.0.1), TerminologyCapabilities (hl7.fhir.r4.core#4.0.1), TestScript (hl7.fhir.r4.core#4.0.1), CompartmentDefinition (hl7.fhir.r4.core#4.0.1), OperationDefinition (hl7.fhir.r4.core#4.0.1), MetadataResource (hl7.fhir.r4.core#4.0.1), StructureDefinition (hl7.fhir.r4.core#4.0.1), StructureMap (hl7.fhir.r4.core#4.0.1), SearchParameter (hl7.fhir.r4.core#4.0.1), ActivityDefinition (hl7.fhir.r4.core#4.0.1), shareablecodesystem (hl7.fhir.r4.core#4.0.1), ConceptMap (hl7.fhir.r4.core#4.0.1), ChargeItemDefinition (hl7.fhir.r4.core#4.0.1), MessageDefinition (hl7.fhir.r4.core#4.0.1), GraphDefinition (hl7.fhir.r4.core#4.0.1), shareablevalueset (hl7.fhir.r4.core#4.0.1), ExampleScenario (hl7.fhir.r4.core#4.0.1), Questionnaire (hl7.fhir.r4.core#4.0.1), NamingSystem (hl7.fhir.r4.core#4.0.1), CatalogEntry (hl7.fhir.r4.core#4.0.1), EffectEvidenceSynthesis (hl7.fhir.r4.core#4.0.1), ResearchDefinition (hl7.fhir.r4.core#4.0.1), ResearchElementDefinition (hl7.fhir.r4.core#4.0.1), RiskEvidenceSynthesis (hl7.fhir.r4.core#4.0.1), synthesis (hl7.fhir.r4.core#4.0.1), sdc-valueset (hl7.fhir.uv.sdc#3.0.0), sdc-questionnaire-adapt (hl7.fhir.uv.sdc#3.0.0), sdc-codesystem (hl7.fhir.uv.sdc#3.0.0), sdc-questionnaire (hl7.fhir.uv.sdc#3.0.0), EventDefinition (hl7.fhir.r4.core#4.0.1), Measure (hl7.fhir.r4.core#4.0.1), Library (hl7.fhir.r4.core#4.0.1), ValueSet (hl7.fhir.r4.core#4.0.1), CapabilityStatement (hl7.fhir.r4.core#4.0.1), PlanDefinition (hl7.fhir.r4.core#4.0.1), CodeSystem (hl7.fhir.r4.core#4.0.1), InsurancePlan (hl7.fhir.r4.core#4.0.1), EvidenceVariable (hl7.fhir.r4.core#4.0.1), ImplementationGuide (hl7.fhir.r4.core#4.0.1), Evidence (hl7.fhir.r4.core#4.0.1), TerminologyCapabilities (hl7.fhir.r4.core#4.0.1), TestScript (hl7.fhir.r4.core#4.0.1), CompartmentDefinition (hl7.fhir.r4.core#4.0.1), OperationDefinition (hl7.fhir.r4.core#4.0.1), MetadataResource (hl7.fhir.r4.core#4.0.1), StructureDefinition (hl7.fhir.r4.core#4.0.1), StructureMap (hl7.fhir.r4.core#4.0.1), SearchParameter (hl7.fhir.r4.core#4.0.1), ActivityDefinition (hl7.fhir.r4.core#4.0.1), shareablecodesystem (hl7.fhir.r4.core#4.0.1), ConceptMap (hl7.fhir.r4.core#4.0.1), ChargeItemDefinition (hl7.fhir.r4.core#4.0.1), MessageDefinition (hl7.fhir.r4.core#4.0.1), GraphDefinition (hl7.fhir.r4.core#4.0.1), shareablevalueset (hl7.fhir.r4.core#4.0.1), ExampleScenario (hl7.fhir.r4.core#4.0.1), Questionnaire (hl7.fhir.r4.core#4.0.1), NamingSystem (hl7.fhir.r4.core#4.0.1), CatalogEntry (hl7.fhir.r4.core#4.0.1), EffectEvidenceSynthesis (hl7.fhir.r4.core#4.0.1), ResearchDefinition (hl7.fhir.r4.core#4.0.1), ResearchElementDefinition (hl7.fhir.r4.core#4.0.1), RiskEvidenceSynthesis (hl7.fhir.r4.core#4.0.1), synthesis (hl7.fhir.r4.core#4.0.1), EventDefinition (hl7.fhir.r4.core#4.0.1), Measure (hl7.fhir.r4.core#4.0.1), Library (hl7.fhir.r4.core#4.0.1), ValueSet (hl7.fhir.r4.core#4.0.1), CapabilityStatement (hl7.fhir.r4.core#4.0.1), PlanDefinition (hl7.fhir.r4.core#4.0.1), CodeSystem (hl7.fhir.r4.core#4.0.1), InsurancePlan (hl7.fhir.r4.core#4.0.1), EvidenceVariable (hl7.fhir.r4.core#4.0.1), ImplementationGuide (hl7.fhir.r4.core#4.0.1), Evidence (hl7.fhir.r4.core#4.0.1), TerminologyCapabilities (hl7.fhir.r4.core#4.0.1), TestScript (hl7.fhir.r4.core#4.0.1), CompartmentDefinition (hl7.fhir.r4.core#4.0.1), OperationDefinition (hl7.fhir.r4.core#4.0.1), MetadataResource (hl7.fhir.r4.core#4.0.1), StructureDefinition (hl7.fhir.r4.core#4.0.1), StructureMap (hl7.fhir.r4.core#4.0.1), SearchParameter (hl7.fhir.r4.core#4.0.1), ActivityDefinition (hl7.fhir.r4.core#4.0.1), shareablecodesystem (hl7.fhir.r4.core#4.0.1), ConceptMap (hl7.fhir.r4.core#4.0.1), ChargeItemDefinition (hl7.fhir.r4.core#4.0.1), MessageDefinition (hl7.fhir.r4.core#4.0.1), GraphDefinition (hl7.fhir.r4.core#4.0.1), shareablevalueset (hl7.fhir.r4.core#4.0.1), ExampleScenario (hl7.fhir.r4.core#4.0.1), Questionnaire (hl7.fhir.r4.core#4.0.1), NamingSystem (hl7.fhir.r4.core#4.0.1), CatalogEntry (hl7.fhir.r4.core#4.0.1), EffectEvidenceSynthesis (hl7.fhir.r4.core#4.0.1), ResearchDefinition (hl7.fhir.r4.core#4.0.1), ResearchElementDefinition (hl7.fhir.r4.core#4.0.1), RiskEvidenceSynthesis (hl7.fhir.r4.core#4.0.1), synthesis (hl7.fhir.r4.core#4.0.1), EventDefinition (hl7.fhir.r4.core#4.0.1), Measure (hl7.fhir.r4.core#4.0.1), Library (hl7.fhir.r4.core#4.0.1), ValueSet (hl7.fhir.r4.core#4.0.1), CapabilityStatement (hl7.fhir.r4.core#4.0.1), PlanDefinition (hl7.fhir.r4.core#4.0.1), CodeSystem (hl7.fhir.r4.core#4.0.1), InsurancePlan (hl7.fhir.r4.core#4.0.1), EvidenceVariable (hl7.fhir.r4.core#4.0.1), ImplementationGuide (hl7.fhir.r4.core#4.0.1), Evidence (hl7.fhir.r4.core#4.0.1), TerminologyCapabilities (hl7.fhir.r4.core#4.0.1), TestScript (hl7.fhir.r4.core#4.0.1), CompartmentDefinition (hl7.fhir.r4.core#4.0.1), OperationDefinition (hl7.fhir.r4.core#4.0.1), MetadataResource (hl7.fhir.r4.core#4.0.1), StructureDefinition (hl7.fhir.r4.core#4.0.1), StructureMap (hl7.fhir.r4.core#4.0.1), SearchParameter (hl7.fhir.r4.core#4.0.1), ActivityDefinition (hl7.fhir.r4.core#4.0.1), shareablecodesystem (hl7.fhir.r4.core#4.0.1), ConceptMap (hl7.fhir.r4.core#4.0.1), ChargeItemDefinition (hl7.fhir.r4.core#4.0.1), MessageDefinition (hl7.fhir.r4.core#4.0.1), GraphDefinition (hl7.fhir.r4.core#4.0.1), shareablevalueset (hl7.fhir.r4.core#4.0.1), ExampleScenario (hl7.fhir.r4.core#4.0.1), Questionnaire (hl7.fhir.r4.core#4.0.1), NamingSystem (hl7.fhir.r4.core#4.0.1), CatalogEntry (hl7.fhir.r4.core#4.0.1), EffectEvidenceSynthesis (hl7.fhir.r4.core#4.0.1), ResearchDefinition (hl7.fhir.r4.core#4.0.1), ResearchElementDefinition (hl7.fhir.r4.core#4.0.1), RiskEvidenceSynthesis (hl7.fhir.r4.core#4.0.1), synthesis (hl7.fhir.r4.core#4.0.1), sdc-valueset (hl7.fhir.uv.sdc#3.0.0), sdc-questionnaire-adapt (hl7.fhir.uv.sdc#3.0.0), sdc-codesystem (hl7.fhir.uv.sdc#3.0.0), sdc-questionnaire (hl7.fhir.uv.sdc#3.0.0) + - Version 2: EventDefinition (hl7.fhir.r5.core#5.0.0), Measure (hl7.fhir.r5.core#5.0.0), Ingredient (hl7.fhir.r5.core#5.0.0), Library (hl7.fhir.r5.core#5.0.0), ValueSet (hl7.fhir.r5.core#5.0.0), CapabilityStatement (hl7.fhir.r5.core#5.0.0), ObservationDefinition (hl7.fhir.r5.core#5.0.0), PlanDefinition (hl7.fhir.r5.core#5.0.0), CodeSystem (hl7.fhir.r5.core#5.0.0), InsurancePlan (hl7.fhir.r5.core#5.0.0), ResearchSubject (hl7.fhir.r5.core#5.0.0), EvidenceVariable (hl7.fhir.r5.core#5.0.0), shareablenamingsystem (hl7.fhir.r5.core#5.0.0), ImplementationGuide (hl7.fhir.r5.core#5.0.0), SpecimenDefinition (hl7.fhir.r5.core#5.0.0), Evidence (hl7.fhir.r5.core#5.0.0), TerminologyCapabilities (hl7.fhir.r5.core#5.0.0), TestScript (hl7.fhir.r5.core#5.0.0), CompartmentDefinition (hl7.fhir.r5.core#5.0.0), TestPlan (hl7.fhir.r5.core#5.0.0), Citation (hl7.fhir.r5.core#5.0.0), Requirements (hl7.fhir.r5.core#5.0.0), OperationDefinition (hl7.fhir.r5.core#5.0.0), ActorDefinition (hl7.fhir.r5.core#5.0.0), AdministrableProductDefinition (hl7.fhir.r5.core#5.0.0), StructureDefinition (hl7.fhir.r5.core#5.0.0), StructureMap (hl7.fhir.r5.core#5.0.0), SearchParameter (hl7.fhir.r5.core#5.0.0), ManufacturedItemDefinition (hl7.fhir.r5.core#5.0.0), ResearchStudy (hl7.fhir.r5.core#5.0.0), ActivityDefinition (hl7.fhir.r5.core#5.0.0), ConceptMap (hl7.fhir.r5.core#5.0.0), ChargeItemDefinition (hl7.fhir.r5.core#5.0.0), MessageDefinition (hl7.fhir.r5.core#5.0.0), shareableconceptmap (hl7.fhir.r5.core#5.0.0), EvidenceReport (hl7.fhir.r5.core#5.0.0), GraphDefinition (hl7.fhir.r5.core#5.0.0), shareablevalueset (hl7.fhir.r5.core#5.0.0), ExampleScenario (hl7.fhir.r5.core#5.0.0), ConditionDefinition (hl7.fhir.r5.core#5.0.0), CanonicalResource (hl7.fhir.r5.core#5.0.0), SubscriptionTopic (hl7.fhir.r5.core#5.0.0), Questionnaire (hl7.fhir.r5.core#5.0.0), NamingSystem (hl7.fhir.r5.core#5.0.0), EventDefinition (hl7.fhir.r5.core#5.0.0), Measure (hl7.fhir.r5.core#5.0.0), Ingredient (hl7.fhir.r5.core#5.0.0), Library (hl7.fhir.r5.core#5.0.0), ValueSet (hl7.fhir.r5.core#5.0.0), CapabilityStatement (hl7.fhir.r5.core#5.0.0), ObservationDefinition (hl7.fhir.r5.core#5.0.0), PlanDefinition (hl7.fhir.r5.core#5.0.0), CodeSystem (hl7.fhir.r5.core#5.0.0), InsurancePlan (hl7.fhir.r5.core#5.0.0), ResearchSubject (hl7.fhir.r5.core#5.0.0), EvidenceVariable (hl7.fhir.r5.core#5.0.0), shareablenamingsystem (hl7.fhir.r5.core#5.0.0), ImplementationGuide (hl7.fhir.r5.core#5.0.0), SpecimenDefinition (hl7.fhir.r5.core#5.0.0), Evidence (hl7.fhir.r5.core#5.0.0), TerminologyCapabilities (hl7.fhir.r5.core#5.0.0), TestScript (hl7.fhir.r5.core#5.0.0), CompartmentDefinition (hl7.fhir.r5.core#5.0.0), TestPlan (hl7.fhir.r5.core#5.0.0), Citation (hl7.fhir.r5.core#5.0.0), Requirements (hl7.fhir.r5.core#5.0.0), OperationDefinition (hl7.fhir.r5.core#5.0.0), ActorDefinition (hl7.fhir.r5.core#5.0.0), AdministrableProductDefinition (hl7.fhir.r5.core#5.0.0), StructureDefinition (hl7.fhir.r5.core#5.0.0), StructureMap (hl7.fhir.r5.core#5.0.0), SearchParameter (hl7.fhir.r5.core#5.0.0), ManufacturedItemDefinition (hl7.fhir.r5.core#5.0.0), ResearchStudy (hl7.fhir.r5.core#5.0.0), ActivityDefinition (hl7.fhir.r5.core#5.0.0), ConceptMap (hl7.fhir.r5.core#5.0.0), ChargeItemDefinition (hl7.fhir.r5.core#5.0.0), MessageDefinition (hl7.fhir.r5.core#5.0.0), shareableconceptmap (hl7.fhir.r5.core#5.0.0), EvidenceReport (hl7.fhir.r5.core#5.0.0), GraphDefinition (hl7.fhir.r5.core#5.0.0), shareablevalueset (hl7.fhir.r5.core#5.0.0), ExampleScenario (hl7.fhir.r5.core#5.0.0), ConditionDefinition (hl7.fhir.r5.core#5.0.0), CanonicalResource (hl7.fhir.r5.core#5.0.0), SubscriptionTopic (hl7.fhir.r5.core#5.0.0), Questionnaire (hl7.fhir.r5.core#5.0.0), NamingSystem (hl7.fhir.r5.core#5.0.0), EventDefinition (hl7.fhir.r5.core#5.0.0), Measure (hl7.fhir.r5.core#5.0.0), Ingredient (hl7.fhir.r5.core#5.0.0), Library (hl7.fhir.r5.core#5.0.0), ValueSet (hl7.fhir.r5.core#5.0.0), CapabilityStatement (hl7.fhir.r5.core#5.0.0), ObservationDefinition (hl7.fhir.r5.core#5.0.0), PlanDefinition (hl7.fhir.r5.core#5.0.0), CodeSystem (hl7.fhir.r5.core#5.0.0), InsurancePlan (hl7.fhir.r5.core#5.0.0), ResearchSubject (hl7.fhir.r5.core#5.0.0), EvidenceVariable (hl7.fhir.r5.core#5.0.0), shareablenamingsystem (hl7.fhir.r5.core#5.0.0), ImplementationGuide (hl7.fhir.r5.core#5.0.0), SpecimenDefinition (hl7.fhir.r5.core#5.0.0), Evidence (hl7.fhir.r5.core#5.0.0), TerminologyCapabilities (hl7.fhir.r5.core#5.0.0), TestScript (hl7.fhir.r5.core#5.0.0), CompartmentDefinition (hl7.fhir.r5.core#5.0.0), TestPlan (hl7.fhir.r5.core#5.0.0), Citation (hl7.fhir.r5.core#5.0.0), Requirements (hl7.fhir.r5.core#5.0.0), OperationDefinition (hl7.fhir.r5.core#5.0.0), ActorDefinition (hl7.fhir.r5.core#5.0.0), AdministrableProductDefinition (hl7.fhir.r5.core#5.0.0), StructureDefinition (hl7.fhir.r5.core#5.0.0), StructureMap (hl7.fhir.r5.core#5.0.0), SearchParameter (hl7.fhir.r5.core#5.0.0), ManufacturedItemDefinition (hl7.fhir.r5.core#5.0.0), ResearchStudy (hl7.fhir.r5.core#5.0.0), ActivityDefinition (hl7.fhir.r5.core#5.0.0), ConceptMap (hl7.fhir.r5.core#5.0.0), ChargeItemDefinition (hl7.fhir.r5.core#5.0.0), MessageDefinition (hl7.fhir.r5.core#5.0.0), shareableconceptmap (hl7.fhir.r5.core#5.0.0), EvidenceReport (hl7.fhir.r5.core#5.0.0), GraphDefinition (hl7.fhir.r5.core#5.0.0), shareablevalueset (hl7.fhir.r5.core#5.0.0), ExampleScenario (hl7.fhir.r5.core#5.0.0), ConditionDefinition (hl7.fhir.r5.core#5.0.0), CanonicalResource (hl7.fhir.r5.core#5.0.0), SubscriptionTopic (hl7.fhir.r5.core#5.0.0), Questionnaire (hl7.fhir.r5.core#5.0.0), NamingSystem (hl7.fhir.r5.core#5.0.0), Ingredient (hl7.fhir.r5.core#5.0.0), shareablenamingsystem (hl7.fhir.r5.core#5.0.0), TestPlan (hl7.fhir.r5.core#5.0.0), Citation (hl7.fhir.r5.core#5.0.0), Requirements (hl7.fhir.r5.core#5.0.0), ActorDefinition (hl7.fhir.r5.core#5.0.0), AdministrableProductDefinition (hl7.fhir.r5.core#5.0.0), ManufacturedItemDefinition (hl7.fhir.r5.core#5.0.0), shareableconceptmap (hl7.fhir.r5.core#5.0.0), EvidenceReport (hl7.fhir.r5.core#5.0.0), ConditionDefinition (hl7.fhir.r5.core#5.0.0), CanonicalResource (hl7.fhir.r5.core#5.0.0), SubscriptionTopic (hl7.fhir.r5.core#5.0.0), Ingredient (hl7.fhir.r5.core#5.0.0), shareablenamingsystem (hl7.fhir.r5.core#5.0.0), TestPlan (hl7.fhir.r5.core#5.0.0), Citation (hl7.fhir.r5.core#5.0.0), Requirements (hl7.fhir.r5.core#5.0.0), ActorDefinition (hl7.fhir.r5.core#5.0.0), AdministrableProductDefinition (hl7.fhir.r5.core#5.0.0), ManufacturedItemDefinition (hl7.fhir.r5.core#5.0.0), shareableconceptmap (hl7.fhir.r5.core#5.0.0), EvidenceReport (hl7.fhir.r5.core#5.0.0), ConditionDefinition (hl7.fhir.r5.core#5.0.0), CanonicalResource (hl7.fhir.r5.core#5.0.0), SubscriptionTopic (hl7.fhir.r5.core#5.0.0) + - Version 3: EventDefinition (hl7.fhir.r4.examples#4.0.1), Measure (hl7.fhir.r4.examples#4.0.1), Library (hl7.fhir.r4.examples#4.0.1), ValueSet (hl7.fhir.r4.examples#4.0.1), CapabilityStatement (hl7.fhir.r4.examples#4.0.1), PlanDefinition (hl7.fhir.r4.examples#4.0.1), CodeSystem (hl7.fhir.r4.examples#4.0.1), InsurancePlan (hl7.fhir.r4.examples#4.0.1), EvidenceVariable (hl7.fhir.r4.examples#4.0.1), ImplementationGuide (hl7.fhir.r4.examples#4.0.1), Evidence (hl7.fhir.r4.examples#4.0.1), TerminologyCapabilities (hl7.fhir.r4.examples#4.0.1), TestScript (hl7.fhir.r4.examples#4.0.1), CompartmentDefinition (hl7.fhir.r4.examples#4.0.1), OperationDefinition (hl7.fhir.r4.examples#4.0.1), MetadataResource (hl7.fhir.r4.examples#4.0.1), StructureDefinition (hl7.fhir.r4.examples#4.0.1), StructureMap (hl7.fhir.r4.examples#4.0.1), SearchParameter (hl7.fhir.r4.examples#4.0.1), ActivityDefinition (hl7.fhir.r4.examples#4.0.1), shareablecodesystem (hl7.fhir.r4.examples#4.0.1), ConceptMap (hl7.fhir.r4.examples#4.0.1), ChargeItemDefinition (hl7.fhir.r4.examples#4.0.1), MessageDefinition (hl7.fhir.r4.examples#4.0.1), GraphDefinition (hl7.fhir.r4.examples#4.0.1), shareablevalueset (hl7.fhir.r4.examples#4.0.1), ExampleScenario (hl7.fhir.r4.examples#4.0.1), Questionnaire (hl7.fhir.r4.examples#4.0.1), NamingSystem (hl7.fhir.r4.examples#4.0.1), CatalogEntry (hl7.fhir.r4.examples#4.0.1), EffectEvidenceSynthesis (hl7.fhir.r4.examples#4.0.1), ResearchDefinition (hl7.fhir.r4.examples#4.0.1), ResearchElementDefinition (hl7.fhir.r4.examples#4.0.1), RiskEvidenceSynthesis (hl7.fhir.r4.examples#4.0.1), synthesis (hl7.fhir.r4.examples#4.0.1) + - Version 4: MedicinalProductDefinition (hl7.fhir.r5.core#5.0.0), RegulatedAuthorization (hl7.fhir.r5.core#5.0.0), ClinicalUseDefinition (hl7.fhir.r5.core#5.0.0), PackagedProductDefinition (hl7.fhir.r5.core#5.0.0), SubstanceDefinition (hl7.fhir.r5.core#5.0.0), MedicinalProductDefinition (hl7.fhir.r5.core#5.0.0), RegulatedAuthorization (hl7.fhir.r5.core#5.0.0), ClinicalUseDefinition (hl7.fhir.r5.core#5.0.0), PackagedProductDefinition (hl7.fhir.r5.core#5.0.0), SubstanceDefinition (hl7.fhir.r5.core#5.0.0), MedicinalProductDefinition (hl7.fhir.r5.core#5.0.0), RegulatedAuthorization (hl7.fhir.r5.core#5.0.0), ClinicalUseDefinition (hl7.fhir.r5.core#5.0.0), PackagedProductDefinition (hl7.fhir.r5.core#5.0.0), SubstanceDefinition (hl7.fhir.r5.core#5.0.0), MedicinalProductDefinition (hl7.fhir.r5.core#5.0.0), RegulatedAuthorization (hl7.fhir.r5.core#5.0.0), ClinicalUseDefinition (hl7.fhir.r5.core#5.0.0), PackagedProductDefinition (hl7.fhir.r5.core#5.0.0), SubstanceDefinition (hl7.fhir.r5.core#5.0.0), MedicinalProductDefinition (hl7.fhir.r5.core#5.0.0), RegulatedAuthorization (hl7.fhir.r5.core#5.0.0), ClinicalUseDefinition (hl7.fhir.r5.core#5.0.0), PackagedProductDefinition (hl7.fhir.r5.core#5.0.0), SubstanceDefinition (hl7.fhir.r5.core#5.0.0) + - Version 5: Specimen (hl7.fhir.r5.core#5.0.0), Specimen (hl7.fhir.r5.core#5.0.0), Specimen (hl7.fhir.r5.core#5.0.0) +- `urn:fhir:binding:PurposeOfUse` (3 versions) + - Version 1: Consent (hl7.fhir.r4.core#4.0.1), Consent (hl7.fhir.r4.core#4.0.1), Consent (hl7.fhir.r4.core#4.0.1), Consent (hl7.fhir.r5.core#5.0.0), Consent (hl7.fhir.r5.core#5.0.0), Consent (hl7.fhir.r5.core#5.0.0), Consent (hl7.fhir.r4.core#4.0.1), Consent (hl7.fhir.r4.core#4.0.1), Consent (hl7.fhir.r4.core#4.0.1), Consent (hl7.fhir.r4.core#4.0.1), Consent (hl7.fhir.r4.core#4.0.1), Consent (hl7.fhir.r4.core#4.0.1), Consent (hl7.fhir.r4.core#4.0.1) + - Version 2: Permission (hl7.fhir.r5.core#5.0.0), Permission (hl7.fhir.r5.core#5.0.0), Permission (hl7.fhir.r5.core#5.0.0), Permission (hl7.fhir.r5.core#5.0.0), Permission (hl7.fhir.r5.core#5.0.0) + - Version 3: Consent (hl7.fhir.r4.examples#4.0.1) +- `urn:fhir:binding:push-type-available` (3 versions) + - Version 1: VerificationResult (hl7.fhir.r4.core#4.0.1), VerificationResult (hl7.fhir.r4.core#4.0.1), VerificationResult (hl7.fhir.r4.core#4.0.1), VerificationResult (hl7.fhir.r4.core#4.0.1), VerificationResult (hl7.fhir.r4.core#4.0.1), VerificationResult (hl7.fhir.r4.core#4.0.1), VerificationResult (hl7.fhir.r4.core#4.0.1), VerificationResult (hl7.fhir.r4.core#4.0.1), VerificationResult (hl7.fhir.r4.core#4.0.1), VerificationResult (hl7.fhir.r4.core#4.0.1) + - Version 2: VerificationResult (hl7.fhir.r5.core#5.0.0), VerificationResult (hl7.fhir.r5.core#5.0.0), VerificationResult (hl7.fhir.r5.core#5.0.0) + - Version 3: VerificationResult (hl7.fhir.r4.examples#4.0.1) +- `urn:fhir:binding:Qualification` (3 versions) + - Version 1: Practitioner (hl7.fhir.r4.core#4.0.1), Practitioner (hl7.fhir.r4.core#4.0.1), Practitioner (hl7.fhir.r4.core#4.0.1), Practitioner (hl7.fhir.r4.core#4.0.1), Practitioner (hl7.fhir.r4.core#4.0.1), Practitioner (hl7.fhir.r4.core#4.0.1), Practitioner (hl7.fhir.r4.core#4.0.1), Practitioner (hl7.fhir.r4.core#4.0.1), Practitioner (hl7.fhir.r4.core#4.0.1), Practitioner (hl7.fhir.r4.core#4.0.1) + - Version 2: Practitioner (hl7.fhir.r5.core#5.0.0), Practitioner (hl7.fhir.r5.core#5.0.0), Practitioner (hl7.fhir.r5.core#5.0.0) + - Version 3: Practitioner (hl7.fhir.r4.examples#4.0.1) +- `urn:fhir:binding:qualityMethod` (2 versions) + - Version 1: MolecularSequence (hl7.fhir.r4.core#4.0.1), MolecularSequence (hl7.fhir.r4.core#4.0.1), MolecularSequence (hl7.fhir.r4.core#4.0.1), MolecularSequence (hl7.fhir.r4.core#4.0.1), MolecularSequence (hl7.fhir.r4.core#4.0.1), MolecularSequence (hl7.fhir.r4.core#4.0.1), MolecularSequence (hl7.fhir.r4.core#4.0.1), MolecularSequence (hl7.fhir.r4.core#4.0.1), MolecularSequence (hl7.fhir.r4.core#4.0.1), MolecularSequence (hl7.fhir.r4.core#4.0.1) + - Version 2: MolecularSequence (hl7.fhir.r4.examples#4.0.1) +- `urn:fhir:binding:QualityOfEvidenceRating` (2 versions) + - Version 1: EffectEvidenceSynthesis (hl7.fhir.r4.core#4.0.1), RiskEvidenceSynthesis (hl7.fhir.r4.core#4.0.1), EffectEvidenceSynthesis (hl7.fhir.r4.core#4.0.1), RiskEvidenceSynthesis (hl7.fhir.r4.core#4.0.1), EffectEvidenceSynthesis (hl7.fhir.r4.core#4.0.1), RiskEvidenceSynthesis (hl7.fhir.r4.core#4.0.1), EffectEvidenceSynthesis (hl7.fhir.r4.core#4.0.1), RiskEvidenceSynthesis (hl7.fhir.r4.core#4.0.1), EffectEvidenceSynthesis (hl7.fhir.r4.core#4.0.1), RiskEvidenceSynthesis (hl7.fhir.r4.core#4.0.1), EffectEvidenceSynthesis (hl7.fhir.r4.core#4.0.1), RiskEvidenceSynthesis (hl7.fhir.r4.core#4.0.1), EffectEvidenceSynthesis (hl7.fhir.r4.core#4.0.1), RiskEvidenceSynthesis (hl7.fhir.r4.core#4.0.1), EffectEvidenceSynthesis (hl7.fhir.r4.core#4.0.1), RiskEvidenceSynthesis (hl7.fhir.r4.core#4.0.1), EffectEvidenceSynthesis (hl7.fhir.r4.core#4.0.1), RiskEvidenceSynthesis (hl7.fhir.r4.core#4.0.1), EffectEvidenceSynthesis (hl7.fhir.r4.core#4.0.1), RiskEvidenceSynthesis (hl7.fhir.r4.core#4.0.1) + - Version 2: EffectEvidenceSynthesis (hl7.fhir.r4.examples#4.0.1), RiskEvidenceSynthesis (hl7.fhir.r4.examples#4.0.1) +- `urn:fhir:binding:qualityStandardSequence` (2 versions) + - Version 1: MolecularSequence (hl7.fhir.r4.core#4.0.1), MolecularSequence (hl7.fhir.r4.core#4.0.1), MolecularSequence (hl7.fhir.r4.core#4.0.1), MolecularSequence (hl7.fhir.r4.core#4.0.1), MolecularSequence (hl7.fhir.r4.core#4.0.1), MolecularSequence (hl7.fhir.r4.core#4.0.1), MolecularSequence (hl7.fhir.r4.core#4.0.1), MolecularSequence (hl7.fhir.r4.core#4.0.1), MolecularSequence (hl7.fhir.r4.core#4.0.1), MolecularSequence (hl7.fhir.r4.core#4.0.1) + - Version 2: MolecularSequence (hl7.fhir.r4.examples#4.0.1) +- `urn:fhir:binding:qualityType` (2 versions) + - Version 1: MolecularSequence (hl7.fhir.r4.core#4.0.1), MolecularSequence (hl7.fhir.r4.core#4.0.1), MolecularSequence (hl7.fhir.r4.core#4.0.1), MolecularSequence (hl7.fhir.r4.core#4.0.1), MolecularSequence (hl7.fhir.r4.core#4.0.1), MolecularSequence (hl7.fhir.r4.core#4.0.1), MolecularSequence (hl7.fhir.r4.core#4.0.1), MolecularSequence (hl7.fhir.r4.core#4.0.1), MolecularSequence (hl7.fhir.r4.core#4.0.1), MolecularSequence (hl7.fhir.r4.core#4.0.1) + - Version 2: MolecularSequence (hl7.fhir.r4.examples#4.0.1) +- `urn:fhir:binding:QuantityComparator` (3 versions) + - Version 1: SimpleQuantity (hl7.fhir.r4.core#4.0.1), Quantity (hl7.fhir.r4.core#4.0.1), SimpleQuantity (hl7.fhir.r4.core#4.0.1), Quantity (hl7.fhir.r4.core#4.0.1), SimpleQuantity (hl7.fhir.r4.core#4.0.1), Quantity (hl7.fhir.r4.core#4.0.1), SimpleQuantity (hl7.fhir.r4.core#4.0.1), Quantity (hl7.fhir.r4.core#4.0.1), SimpleQuantity (hl7.fhir.r4.core#4.0.1), Quantity (hl7.fhir.r4.core#4.0.1), SimpleQuantity (hl7.fhir.r4.core#4.0.1), Quantity (hl7.fhir.r4.core#4.0.1), SimpleQuantity (hl7.fhir.r4.core#4.0.1), Quantity (hl7.fhir.r4.core#4.0.1), SimpleQuantity (hl7.fhir.r4.core#4.0.1), Quantity (hl7.fhir.r4.core#4.0.1), SimpleQuantity (hl7.fhir.r4.core#4.0.1), Quantity (hl7.fhir.r4.core#4.0.1), SimpleQuantity (hl7.fhir.r4.core#4.0.1), Quantity (hl7.fhir.r4.core#4.0.1) + - Version 2: SimpleQuantity (hl7.fhir.r5.core#5.0.0), Quantity (hl7.fhir.r5.core#5.0.0), SimpleQuantity (hl7.fhir.r5.core#5.0.0), Quantity (hl7.fhir.r5.core#5.0.0), SimpleQuantity (hl7.fhir.r5.core#5.0.0), Quantity (hl7.fhir.r5.core#5.0.0) + - Version 3: SimpleQuantity (hl7.fhir.r4.examples#4.0.1), Quantity (hl7.fhir.r4.examples#4.0.1) +- `urn:fhir:binding:QuestionnaireConcept` (3 versions) + - Version 1: Questionnaire (hl7.fhir.r4.core#4.0.1), Questionnaire (hl7.fhir.r4.core#4.0.1), Questionnaire (hl7.fhir.r4.core#4.0.1), Questionnaire (hl7.fhir.r4.core#4.0.1), Questionnaire (hl7.fhir.r4.core#4.0.1), Questionnaire (hl7.fhir.r4.core#4.0.1), Questionnaire (hl7.fhir.r4.core#4.0.1), sdc-questionnaire-pop-obsn (hl7.fhir.uv.sdc#3.0.0), sdc-questionnaire-extr-obsn (hl7.fhir.uv.sdc#3.0.0), sdc-questionnaire-search (hl7.fhir.uv.sdc#3.0.0), Questionnaire (hl7.fhir.r4.core#4.0.1), Questionnaire (hl7.fhir.r4.core#4.0.1), Questionnaire (hl7.fhir.r4.core#4.0.1), sdc-questionnaire-pop-obsn (hl7.fhir.uv.sdc#3.0.0), sdc-questionnaire-extr-obsn (hl7.fhir.uv.sdc#3.0.0), sdc-questionnaire-search (hl7.fhir.uv.sdc#3.0.0) + - Version 2: Questionnaire (hl7.fhir.r5.core#5.0.0), Questionnaire (hl7.fhir.r5.core#5.0.0), Questionnaire (hl7.fhir.r5.core#5.0.0) + - Version 3: Questionnaire (hl7.fhir.r4.examples#4.0.1) +- `urn:fhir:binding:QuestionnaireItemOperator` (3 versions) + - Version 1: Questionnaire (hl7.fhir.r4.core#4.0.1), Questionnaire (hl7.fhir.r4.core#4.0.1), Questionnaire (hl7.fhir.r4.core#4.0.1), Questionnaire (hl7.fhir.r4.core#4.0.1), Questionnaire (hl7.fhir.r4.core#4.0.1), Questionnaire (hl7.fhir.r4.core#4.0.1), Questionnaire (hl7.fhir.r4.core#4.0.1), sdc-questionnaire-behave (hl7.fhir.uv.sdc#3.0.0), Questionnaire (hl7.fhir.r4.core#4.0.1), Questionnaire (hl7.fhir.r4.core#4.0.1), Questionnaire (hl7.fhir.r4.core#4.0.1), sdc-questionnaire-behave (hl7.fhir.uv.sdc#3.0.0) + - Version 2: Questionnaire (hl7.fhir.r5.core#5.0.0), Questionnaire (hl7.fhir.r5.core#5.0.0), Questionnaire (hl7.fhir.r5.core#5.0.0) + - Version 3: Questionnaire (hl7.fhir.r4.examples#4.0.1) +- `urn:fhir:binding:QuestionnaireItemType` (3 versions) + - Version 1: Questionnaire (hl7.fhir.r4.core#4.0.1), Questionnaire (hl7.fhir.r4.core#4.0.1), Questionnaire (hl7.fhir.r4.core#4.0.1), Questionnaire (hl7.fhir.r4.core#4.0.1), Questionnaire (hl7.fhir.r4.core#4.0.1), Questionnaire (hl7.fhir.r4.core#4.0.1), Questionnaire (hl7.fhir.r4.core#4.0.1), sdc-questionnaire-adapt (hl7.fhir.uv.sdc#3.0.0), sdc-questionnaire (hl7.fhir.uv.sdc#3.0.0), Questionnaire (hl7.fhir.r4.core#4.0.1), Questionnaire (hl7.fhir.r4.core#4.0.1), Questionnaire (hl7.fhir.r4.core#4.0.1), sdc-questionnaire-adapt (hl7.fhir.uv.sdc#3.0.0), sdc-questionnaire (hl7.fhir.uv.sdc#3.0.0) + - Version 2: Questionnaire (hl7.fhir.r5.core#5.0.0), Questionnaire (hl7.fhir.r5.core#5.0.0), Questionnaire (hl7.fhir.r5.core#5.0.0) + - Version 3: Questionnaire (hl7.fhir.r4.examples#4.0.1) +- `urn:fhir:binding:QuestionnaireResponseStatus` (3 versions) + - Version 1: QuestionnaireResponse (hl7.fhir.r4.core#4.0.1), QuestionnaireResponse (hl7.fhir.r4.core#4.0.1), QuestionnaireResponse (hl7.fhir.r4.core#4.0.1), QuestionnaireResponse (hl7.fhir.r4.core#4.0.1), QuestionnaireResponse (hl7.fhir.r4.core#4.0.1), QuestionnaireResponse (hl7.fhir.r4.core#4.0.1), QuestionnaireResponse (hl7.fhir.r4.core#4.0.1), sdc-questionnaireresponse (hl7.fhir.uv.sdc#3.0.0), sdc-questionnaireresponse-adapt (hl7.fhir.uv.sdc#3.0.0), QuestionnaireResponse (hl7.fhir.r4.core#4.0.1), QuestionnaireResponse (hl7.fhir.r4.core#4.0.1), us-core-questionnaireresponse (hl7.fhir.us.core#8.0.1), QuestionnaireResponse (hl7.fhir.r4.core#4.0.1), sdc-questionnaireresponse (hl7.fhir.uv.sdc#3.0.0), sdc-questionnaireresponse-adapt (hl7.fhir.uv.sdc#3.0.0) + - Version 2: QuestionnaireResponse (hl7.fhir.r5.core#5.0.0), QuestionnaireResponse (hl7.fhir.r5.core#5.0.0), QuestionnaireResponse (hl7.fhir.r5.core#5.0.0) + - Version 3: QuestionnaireResponse (hl7.fhir.r4.examples#4.0.1) +- `urn:fhir:binding:ReAdmissionType` (2 versions) + - Version 1: Encounter (hl7.fhir.r4.core#4.0.1), Encounter (hl7.fhir.r4.core#4.0.1), Encounter (hl7.fhir.r4.core#4.0.1), Encounter (hl7.fhir.r5.core#5.0.0), Encounter (hl7.fhir.r5.core#5.0.0), Encounter (hl7.fhir.r5.core#5.0.0), Encounter (hl7.fhir.r4.core#4.0.1), Encounter (hl7.fhir.r4.core#4.0.1), Encounter (hl7.fhir.r4.core#4.0.1), Encounter (hl7.fhir.r4.core#4.0.1), Encounter (hl7.fhir.r4.core#4.0.1), Encounter (hl7.fhir.r4.core#4.0.1), Encounter (hl7.fhir.r4.core#4.0.1) + - Version 2: Encounter (hl7.fhir.r4.examples#4.0.1) +- `urn:fhir:binding:ReferenceHandlingPolicy` (3 versions) + - Version 1: CapabilityStatement (hl7.fhir.r4.core#4.0.1), CapabilityStatement (hl7.fhir.r4.core#4.0.1), CapabilityStatement (hl7.fhir.r4.core#4.0.1), CapabilityStatement (hl7.fhir.r4.core#4.0.1), CapabilityStatement (hl7.fhir.r4.core#4.0.1), CapabilityStatement (hl7.fhir.r4.core#4.0.1), CapabilityStatement (hl7.fhir.r4.core#4.0.1), CapabilityStatement (hl7.fhir.r4.core#4.0.1), CapabilityStatement (hl7.fhir.r4.core#4.0.1), CapabilityStatement (hl7.fhir.r4.core#4.0.1) + - Version 2: CapabilityStatement (hl7.fhir.r5.core#5.0.0), CapabilityStatement (hl7.fhir.r5.core#5.0.0), CapabilityStatement (hl7.fhir.r5.core#5.0.0) + - Version 3: CapabilityStatement (hl7.fhir.r4.examples#4.0.1) +- `urn:fhir:binding:ReferenceVersionRules` (3 versions) + - Version 1: ElementDefinition (hl7.fhir.r4.core#4.0.1), ElementDefinition (hl7.fhir.r4.core#4.0.1), ElementDefinition (hl7.fhir.r4.core#4.0.1), ElementDefinition (hl7.fhir.r4.core#4.0.1), ElementDefinition (hl7.fhir.r4.core#4.0.1), ElementDefinition (hl7.fhir.r4.core#4.0.1), ElementDefinition (hl7.fhir.r4.core#4.0.1), ElementDefinition (hl7.fhir.r4.core#4.0.1), ElementDefinition (hl7.fhir.r4.core#4.0.1), ElementDefinition (hl7.fhir.r4.core#4.0.1) + - Version 2: ElementDefinition (hl7.fhir.r5.core#5.0.0), ElementDefinition (hl7.fhir.r5.core#5.0.0), ElementDefinition (hl7.fhir.r5.core#5.0.0) + - Version 3: ElementDefinition (hl7.fhir.r4.examples#4.0.1) +- `urn:fhir:binding:ReferralMethod` (3 versions) + - Version 1: HealthcareService (hl7.fhir.r4.core#4.0.1), HealthcareService (hl7.fhir.r4.core#4.0.1), HealthcareService (hl7.fhir.r4.core#4.0.1), HealthcareService (hl7.fhir.r4.core#4.0.1), HealthcareService (hl7.fhir.r4.core#4.0.1), HealthcareService (hl7.fhir.r4.core#4.0.1), HealthcareService (hl7.fhir.r4.core#4.0.1), HealthcareService (hl7.fhir.r4.core#4.0.1), HealthcareService (hl7.fhir.r4.core#4.0.1), HealthcareService (hl7.fhir.r4.core#4.0.1) + - Version 2: HealthcareService (hl7.fhir.r5.core#5.0.0), HealthcareService (hl7.fhir.r5.core#5.0.0), HealthcareService (hl7.fhir.r5.core#5.0.0) + - Version 3: HealthcareService (hl7.fhir.r4.examples#4.0.1) +- `urn:fhir:binding:ReferredDocumentStatus` (3 versions) + - Version 1: DocumentReference (hl7.fhir.r4.core#4.0.1), DocumentReference (hl7.fhir.r4.core#4.0.1), DocumentReference (hl7.fhir.r4.core#4.0.1), DocumentReference (hl7.fhir.r4.core#4.0.1), DocumentReference (hl7.fhir.r4.core#4.0.1), DocumentReference (hl7.fhir.r4.core#4.0.1), DocumentReference (hl7.fhir.r4.core#4.0.1), DocumentReference (hl7.fhir.r4.core#4.0.1), DocumentReference (hl7.fhir.r4.core#4.0.1), DocumentReference (hl7.fhir.r4.core#4.0.1) + - Version 2: DocumentReference (hl7.fhir.r5.core#5.0.0), DocumentReference (hl7.fhir.r5.core#5.0.0), DocumentReference (hl7.fhir.r5.core#5.0.0) + - Version 3: DocumentReference (hl7.fhir.r4.examples#4.0.1) +- `urn:fhir:binding:RejectionCriterion` (3 versions) + - Version 1: SpecimenDefinition (hl7.fhir.r4.core#4.0.1), SpecimenDefinition (hl7.fhir.r4.core#4.0.1), SpecimenDefinition (hl7.fhir.r4.core#4.0.1), SpecimenDefinition (hl7.fhir.r4.core#4.0.1), SpecimenDefinition (hl7.fhir.r4.core#4.0.1), SpecimenDefinition (hl7.fhir.r4.core#4.0.1), SpecimenDefinition (hl7.fhir.r4.core#4.0.1), SpecimenDefinition (hl7.fhir.r4.core#4.0.1), SpecimenDefinition (hl7.fhir.r4.core#4.0.1), SpecimenDefinition (hl7.fhir.r4.core#4.0.1) + - Version 2: SpecimenDefinition (hl7.fhir.r5.core#5.0.0), SpecimenDefinition (hl7.fhir.r5.core#5.0.0), SpecimenDefinition (hl7.fhir.r5.core#5.0.0) + - Version 3: SpecimenDefinition (hl7.fhir.r4.examples#4.0.1) +- `urn:fhir:binding:RelatedArtifactType` (3 versions) + - Version 1: RelatedArtifact (hl7.fhir.r4.core#4.0.1), RelatedArtifact (hl7.fhir.r4.core#4.0.1), RelatedArtifact (hl7.fhir.r4.core#4.0.1), RelatedArtifact (hl7.fhir.r4.core#4.0.1), RelatedArtifact (hl7.fhir.r4.core#4.0.1), RelatedArtifact (hl7.fhir.r4.core#4.0.1), RelatedArtifact (hl7.fhir.r4.core#4.0.1), RelatedArtifact (hl7.fhir.r4.core#4.0.1), RelatedArtifact (hl7.fhir.r4.core#4.0.1), RelatedArtifact (hl7.fhir.r4.core#4.0.1) + - Version 2: RelatedArtifact (hl7.fhir.r5.core#5.0.0), RelatedArtifact (hl7.fhir.r5.core#5.0.0), RelatedArtifact (hl7.fhir.r5.core#5.0.0) + - Version 3: RelatedArtifact (hl7.fhir.r4.examples#4.0.1) +- `urn:fhir:binding:RelatedClaimRelationship` (3 versions) + - Version 1: Claim (hl7.fhir.r4.core#4.0.1), ExplanationOfBenefit (hl7.fhir.r4.core#4.0.1), Claim (hl7.fhir.r4.core#4.0.1), ExplanationOfBenefit (hl7.fhir.r4.core#4.0.1), Claim (hl7.fhir.r4.core#4.0.1), ExplanationOfBenefit (hl7.fhir.r4.core#4.0.1), Claim (hl7.fhir.r4.core#4.0.1), ExplanationOfBenefit (hl7.fhir.r4.core#4.0.1), Claim (hl7.fhir.r4.core#4.0.1), ExplanationOfBenefit (hl7.fhir.r4.core#4.0.1), Claim (hl7.fhir.r4.core#4.0.1), ExplanationOfBenefit (hl7.fhir.r4.core#4.0.1), Claim (hl7.fhir.r4.core#4.0.1), ExplanationOfBenefit (hl7.fhir.r4.core#4.0.1), Claim (hl7.fhir.r4.core#4.0.1), ExplanationOfBenefit (hl7.fhir.r4.core#4.0.1), Claim (hl7.fhir.r4.core#4.0.1), ExplanationOfBenefit (hl7.fhir.r4.core#4.0.1), Claim (hl7.fhir.r4.core#4.0.1), ExplanationOfBenefit (hl7.fhir.r4.core#4.0.1) + - Version 2: Claim (hl7.fhir.r5.core#5.0.0), ExplanationOfBenefit (hl7.fhir.r5.core#5.0.0), Claim (hl7.fhir.r5.core#5.0.0), ExplanationOfBenefit (hl7.fhir.r5.core#5.0.0), Claim (hl7.fhir.r5.core#5.0.0), ExplanationOfBenefit (hl7.fhir.r5.core#5.0.0) + - Version 3: Claim (hl7.fhir.r4.examples#4.0.1), ExplanationOfBenefit (hl7.fhir.r4.examples#4.0.1) +- `urn:fhir:binding:Relationship` (3 versions) + - Version 1: Coverage (hl7.fhir.r4.core#4.0.1), Coverage (hl7.fhir.r4.core#4.0.1), Coverage (hl7.fhir.r4.core#4.0.1), Coverage (hl7.fhir.r4.core#4.0.1), Coverage (hl7.fhir.r4.core#4.0.1), Coverage (hl7.fhir.r4.core#4.0.1), Coverage (hl7.fhir.r4.core#4.0.1), Coverage (hl7.fhir.r4.core#4.0.1), Coverage (hl7.fhir.r4.core#4.0.1), Coverage (hl7.fhir.r4.core#4.0.1) + - Version 2: Coverage (hl7.fhir.r5.core#5.0.0), Coverage (hl7.fhir.r5.core#5.0.0), Coverage (hl7.fhir.r5.core#5.0.0) + - Version 3: Coverage (hl7.fhir.r4.examples#4.0.1) +- `urn:fhir:binding:RemittanceOutcome` (3 versions) + - Version 1: EnrollmentResponse (hl7.fhir.r4.core#4.0.1), ClaimResponse (hl7.fhir.r4.core#4.0.1), PaymentReconciliation (hl7.fhir.r4.core#4.0.1), CoverageEligibilityResponse (hl7.fhir.r4.core#4.0.1), ExplanationOfBenefit (hl7.fhir.r4.core#4.0.1), EnrollmentResponse (hl7.fhir.r4.core#4.0.1), ClaimResponse (hl7.fhir.r4.core#4.0.1), PaymentReconciliation (hl7.fhir.r4.core#4.0.1), CoverageEligibilityResponse (hl7.fhir.r4.core#4.0.1), ExplanationOfBenefit (hl7.fhir.r4.core#4.0.1), EnrollmentResponse (hl7.fhir.r4.core#4.0.1), ClaimResponse (hl7.fhir.r4.core#4.0.1), PaymentReconciliation (hl7.fhir.r4.core#4.0.1), CoverageEligibilityResponse (hl7.fhir.r4.core#4.0.1), ExplanationOfBenefit (hl7.fhir.r4.core#4.0.1), EnrollmentResponse (hl7.fhir.r4.core#4.0.1), ClaimResponse (hl7.fhir.r4.core#4.0.1), PaymentReconciliation (hl7.fhir.r4.core#4.0.1), CoverageEligibilityResponse (hl7.fhir.r4.core#4.0.1), ExplanationOfBenefit (hl7.fhir.r4.core#4.0.1), EnrollmentResponse (hl7.fhir.r4.core#4.0.1), ClaimResponse (hl7.fhir.r4.core#4.0.1), PaymentReconciliation (hl7.fhir.r4.core#4.0.1), CoverageEligibilityResponse (hl7.fhir.r4.core#4.0.1), ExplanationOfBenefit (hl7.fhir.r4.core#4.0.1), EnrollmentResponse (hl7.fhir.r4.core#4.0.1), ClaimResponse (hl7.fhir.r4.core#4.0.1), PaymentReconciliation (hl7.fhir.r4.core#4.0.1), CoverageEligibilityResponse (hl7.fhir.r4.core#4.0.1), ExplanationOfBenefit (hl7.fhir.r4.core#4.0.1), EnrollmentResponse (hl7.fhir.r4.core#4.0.1), ClaimResponse (hl7.fhir.r4.core#4.0.1), PaymentReconciliation (hl7.fhir.r4.core#4.0.1), CoverageEligibilityResponse (hl7.fhir.r4.core#4.0.1), ExplanationOfBenefit (hl7.fhir.r4.core#4.0.1), EnrollmentResponse (hl7.fhir.r4.core#4.0.1), ClaimResponse (hl7.fhir.r4.core#4.0.1), PaymentReconciliation (hl7.fhir.r4.core#4.0.1), CoverageEligibilityResponse (hl7.fhir.r4.core#4.0.1), ExplanationOfBenefit (hl7.fhir.r4.core#4.0.1), EnrollmentResponse (hl7.fhir.r4.core#4.0.1), ClaimResponse (hl7.fhir.r4.core#4.0.1), PaymentReconciliation (hl7.fhir.r4.core#4.0.1), CoverageEligibilityResponse (hl7.fhir.r4.core#4.0.1), ExplanationOfBenefit (hl7.fhir.r4.core#4.0.1), EnrollmentResponse (hl7.fhir.r4.core#4.0.1), ClaimResponse (hl7.fhir.r4.core#4.0.1), PaymentReconciliation (hl7.fhir.r4.core#4.0.1), CoverageEligibilityResponse (hl7.fhir.r4.core#4.0.1), ExplanationOfBenefit (hl7.fhir.r4.core#4.0.1) + - Version 2: EnrollmentResponse (hl7.fhir.r4.examples#4.0.1), ClaimResponse (hl7.fhir.r4.examples#4.0.1), PaymentReconciliation (hl7.fhir.r4.examples#4.0.1), CoverageEligibilityResponse (hl7.fhir.r4.examples#4.0.1), ExplanationOfBenefit (hl7.fhir.r4.examples#4.0.1) + - Version 3: ClaimResponse (hl7.fhir.r5.core#5.0.0), ClaimResponse (hl7.fhir.r5.core#5.0.0), ClaimResponse (hl7.fhir.r5.core#5.0.0) +- `urn:fhir:binding:repositoryType` (2 versions) + - Version 1: MolecularSequence (hl7.fhir.r4.core#4.0.1), MolecularSequence (hl7.fhir.r4.core#4.0.1), MolecularSequence (hl7.fhir.r4.core#4.0.1), MolecularSequence (hl7.fhir.r4.core#4.0.1), MolecularSequence (hl7.fhir.r4.core#4.0.1), MolecularSequence (hl7.fhir.r4.core#4.0.1), MolecularSequence (hl7.fhir.r4.core#4.0.1), MolecularSequence (hl7.fhir.r4.core#4.0.1), MolecularSequence (hl7.fhir.r4.core#4.0.1), MolecularSequence (hl7.fhir.r4.core#4.0.1) + - Version 2: MolecularSequence (hl7.fhir.r4.examples#4.0.1) +- `urn:fhir:binding:RequestIntent` (3 versions) + - Version 1: ActivityDefinition (hl7.fhir.r4.core#4.0.1), DeviceRequest (hl7.fhir.r4.core#4.0.1), RequestGroup (hl7.fhir.r4.core#4.0.1), ActivityDefinition (hl7.fhir.r4.core#4.0.1), DeviceRequest (hl7.fhir.r4.core#4.0.1), RequestGroup (hl7.fhir.r4.core#4.0.1), ActivityDefinition (hl7.fhir.r4.core#4.0.1), DeviceRequest (hl7.fhir.r4.core#4.0.1), RequestGroup (hl7.fhir.r4.core#4.0.1), ActivityDefinition (hl7.fhir.r4.core#4.0.1), DeviceRequest (hl7.fhir.r4.core#4.0.1), RequestGroup (hl7.fhir.r4.core#4.0.1), ActivityDefinition (hl7.fhir.r4.core#4.0.1), DeviceRequest (hl7.fhir.r4.core#4.0.1), RequestGroup (hl7.fhir.r4.core#4.0.1), ActivityDefinition (hl7.fhir.r4.core#4.0.1), DeviceRequest (hl7.fhir.r4.core#4.0.1), RequestGroup (hl7.fhir.r4.core#4.0.1), ActivityDefinition (hl7.fhir.r4.core#4.0.1), DeviceRequest (hl7.fhir.r4.core#4.0.1), RequestGroup (hl7.fhir.r4.core#4.0.1), ActivityDefinition (hl7.fhir.r4.core#4.0.1), DeviceRequest (hl7.fhir.r4.core#4.0.1), RequestGroup (hl7.fhir.r4.core#4.0.1), ActivityDefinition (hl7.fhir.r4.core#4.0.1), DeviceRequest (hl7.fhir.r4.core#4.0.1), RequestGroup (hl7.fhir.r4.core#4.0.1), ActivityDefinition (hl7.fhir.r4.core#4.0.1), DeviceRequest (hl7.fhir.r4.core#4.0.1), RequestGroup (hl7.fhir.r4.core#4.0.1) + - Version 2: RequestOrchestration (hl7.fhir.r5.core#5.0.0), ActivityDefinition (hl7.fhir.r5.core#5.0.0), DeviceRequest (hl7.fhir.r5.core#5.0.0), RequestOrchestration (hl7.fhir.r5.core#5.0.0), ActivityDefinition (hl7.fhir.r5.core#5.0.0), DeviceRequest (hl7.fhir.r5.core#5.0.0), RequestOrchestration (hl7.fhir.r5.core#5.0.0), ActivityDefinition (hl7.fhir.r5.core#5.0.0), DeviceRequest (hl7.fhir.r5.core#5.0.0), RequestOrchestration (hl7.fhir.r5.core#5.0.0), RequestOrchestration (hl7.fhir.r5.core#5.0.0) + - Version 3: ActivityDefinition (hl7.fhir.r4.examples#4.0.1), DeviceRequest (hl7.fhir.r4.examples#4.0.1), RequestGroup (hl7.fhir.r4.examples#4.0.1) +- `urn:fhir:binding:RequestPriority` (3 versions) + - Version 1: PlanDefinition (hl7.fhir.r4.core#4.0.1), SupplyRequest (hl7.fhir.r4.core#4.0.1), cdshooksserviceplandefinition (hl7.fhir.r4.core#4.0.1), ActivityDefinition (hl7.fhir.r4.core#4.0.1), DeviceRequest (hl7.fhir.r4.core#4.0.1), cdshooksrequestgroup (hl7.fhir.r4.core#4.0.1), RequestGroup (hl7.fhir.r4.core#4.0.1), PlanDefinition (hl7.fhir.r4.core#4.0.1), SupplyRequest (hl7.fhir.r4.core#4.0.1), cdshooksserviceplandefinition (hl7.fhir.r4.core#4.0.1), ActivityDefinition (hl7.fhir.r4.core#4.0.1), DeviceRequest (hl7.fhir.r4.core#4.0.1), cdshooksrequestgroup (hl7.fhir.r4.core#4.0.1), RequestGroup (hl7.fhir.r4.core#4.0.1), PlanDefinition (hl7.fhir.r4.core#4.0.1), SupplyRequest (hl7.fhir.r4.core#4.0.1), cdshooksserviceplandefinition (hl7.fhir.r4.core#4.0.1), ActivityDefinition (hl7.fhir.r4.core#4.0.1), DeviceRequest (hl7.fhir.r4.core#4.0.1), cdshooksrequestgroup (hl7.fhir.r4.core#4.0.1), RequestGroup (hl7.fhir.r4.core#4.0.1), PlanDefinition (hl7.fhir.r4.core#4.0.1), SupplyRequest (hl7.fhir.r4.core#4.0.1), cdshooksserviceplandefinition (hl7.fhir.r4.core#4.0.1), ActivityDefinition (hl7.fhir.r4.core#4.0.1), DeviceRequest (hl7.fhir.r4.core#4.0.1), cdshooksrequestgroup (hl7.fhir.r4.core#4.0.1), RequestGroup (hl7.fhir.r4.core#4.0.1), PlanDefinition (hl7.fhir.r4.core#4.0.1), SupplyRequest (hl7.fhir.r4.core#4.0.1), cdshooksserviceplandefinition (hl7.fhir.r4.core#4.0.1), ActivityDefinition (hl7.fhir.r4.core#4.0.1), DeviceRequest (hl7.fhir.r4.core#4.0.1), cdshooksrequestgroup (hl7.fhir.r4.core#4.0.1), RequestGroup (hl7.fhir.r4.core#4.0.1), PlanDefinition (hl7.fhir.r4.core#4.0.1), SupplyRequest (hl7.fhir.r4.core#4.0.1), cdshooksserviceplandefinition (hl7.fhir.r4.core#4.0.1), ActivityDefinition (hl7.fhir.r4.core#4.0.1), DeviceRequest (hl7.fhir.r4.core#4.0.1), cdshooksrequestgroup (hl7.fhir.r4.core#4.0.1), RequestGroup (hl7.fhir.r4.core#4.0.1), PlanDefinition (hl7.fhir.r4.core#4.0.1), SupplyRequest (hl7.fhir.r4.core#4.0.1), cdshooksserviceplandefinition (hl7.fhir.r4.core#4.0.1), ActivityDefinition (hl7.fhir.r4.core#4.0.1), DeviceRequest (hl7.fhir.r4.core#4.0.1), cdshooksrequestgroup (hl7.fhir.r4.core#4.0.1), RequestGroup (hl7.fhir.r4.core#4.0.1), PlanDefinition (hl7.fhir.r4.core#4.0.1), SupplyRequest (hl7.fhir.r4.core#4.0.1), cdshooksserviceplandefinition (hl7.fhir.r4.core#4.0.1), ActivityDefinition (hl7.fhir.r4.core#4.0.1), DeviceRequest (hl7.fhir.r4.core#4.0.1), cdshooksrequestgroup (hl7.fhir.r4.core#4.0.1), RequestGroup (hl7.fhir.r4.core#4.0.1), PlanDefinition (hl7.fhir.r4.core#4.0.1), SupplyRequest (hl7.fhir.r4.core#4.0.1), cdshooksserviceplandefinition (hl7.fhir.r4.core#4.0.1), ActivityDefinition (hl7.fhir.r4.core#4.0.1), DeviceRequest (hl7.fhir.r4.core#4.0.1), cdshooksrequestgroup (hl7.fhir.r4.core#4.0.1), RequestGroup (hl7.fhir.r4.core#4.0.1), PlanDefinition (hl7.fhir.r4.core#4.0.1), SupplyRequest (hl7.fhir.r4.core#4.0.1), cdshooksserviceplandefinition (hl7.fhir.r4.core#4.0.1), ActivityDefinition (hl7.fhir.r4.core#4.0.1), DeviceRequest (hl7.fhir.r4.core#4.0.1), cdshooksrequestgroup (hl7.fhir.r4.core#4.0.1), RequestGroup (hl7.fhir.r4.core#4.0.1) + - Version 2: cdshooksrequestorchestration (hl7.fhir.r5.core#5.0.0), PlanDefinition (hl7.fhir.r5.core#5.0.0), RequestOrchestration (hl7.fhir.r5.core#5.0.0), SupplyRequest (hl7.fhir.r5.core#5.0.0), cdshooksserviceplandefinition (hl7.fhir.r5.core#5.0.0), ActivityDefinition (hl7.fhir.r5.core#5.0.0), DeviceRequest (hl7.fhir.r5.core#5.0.0), cdshooksrequestorchestration (hl7.fhir.r5.core#5.0.0), PlanDefinition (hl7.fhir.r5.core#5.0.0), RequestOrchestration (hl7.fhir.r5.core#5.0.0), SupplyRequest (hl7.fhir.r5.core#5.0.0), cdshooksserviceplandefinition (hl7.fhir.r5.core#5.0.0), ActivityDefinition (hl7.fhir.r5.core#5.0.0), DeviceRequest (hl7.fhir.r5.core#5.0.0), cdshooksrequestorchestration (hl7.fhir.r5.core#5.0.0), PlanDefinition (hl7.fhir.r5.core#5.0.0), RequestOrchestration (hl7.fhir.r5.core#5.0.0), SupplyRequest (hl7.fhir.r5.core#5.0.0), cdshooksserviceplandefinition (hl7.fhir.r5.core#5.0.0), ActivityDefinition (hl7.fhir.r5.core#5.0.0), DeviceRequest (hl7.fhir.r5.core#5.0.0), cdshooksrequestorchestration (hl7.fhir.r5.core#5.0.0), RequestOrchestration (hl7.fhir.r5.core#5.0.0), cdshooksrequestorchestration (hl7.fhir.r5.core#5.0.0), RequestOrchestration (hl7.fhir.r5.core#5.0.0) + - Version 3: PlanDefinition (hl7.fhir.r4.examples#4.0.1), SupplyRequest (hl7.fhir.r4.examples#4.0.1), cdshooksserviceplandefinition (hl7.fhir.r4.examples#4.0.1), ActivityDefinition (hl7.fhir.r4.examples#4.0.1), DeviceRequest (hl7.fhir.r4.examples#4.0.1), cdshooksrequestgroup (hl7.fhir.r4.examples#4.0.1), RequestGroup (hl7.fhir.r4.examples#4.0.1) +- `urn:fhir:binding:RequestStatus` (3 versions) + - Version 1: RequestGroup (hl7.fhir.r4.core#4.0.1), RequestGroup (hl7.fhir.r4.core#4.0.1), RequestGroup (hl7.fhir.r4.core#4.0.1), RequestGroup (hl7.fhir.r4.core#4.0.1), RequestGroup (hl7.fhir.r4.core#4.0.1), RequestGroup (hl7.fhir.r4.core#4.0.1), RequestGroup (hl7.fhir.r4.core#4.0.1), RequestGroup (hl7.fhir.r4.core#4.0.1), RequestGroup (hl7.fhir.r4.core#4.0.1), RequestGroup (hl7.fhir.r4.core#4.0.1) + - Version 2: RequestOrchestration (hl7.fhir.r5.core#5.0.0), RequestOrchestration (hl7.fhir.r5.core#5.0.0), RequestOrchestration (hl7.fhir.r5.core#5.0.0), RequestOrchestration (hl7.fhir.r5.core#5.0.0), RequestOrchestration (hl7.fhir.r5.core#5.0.0) + - Version 3: RequestGroup (hl7.fhir.r4.examples#4.0.1) +- `urn:fhir:binding:ResearchElementType` (2 versions) + - Version 1: ResearchElementDefinition (hl7.fhir.r4.core#4.0.1), ResearchElementDefinition (hl7.fhir.r4.core#4.0.1), ResearchElementDefinition (hl7.fhir.r4.core#4.0.1), ResearchElementDefinition (hl7.fhir.r4.core#4.0.1), ResearchElementDefinition (hl7.fhir.r4.core#4.0.1), ResearchElementDefinition (hl7.fhir.r4.core#4.0.1), ResearchElementDefinition (hl7.fhir.r4.core#4.0.1), ResearchElementDefinition (hl7.fhir.r4.core#4.0.1), ResearchElementDefinition (hl7.fhir.r4.core#4.0.1), ResearchElementDefinition (hl7.fhir.r4.core#4.0.1) + - Version 2: ResearchElementDefinition (hl7.fhir.r4.examples#4.0.1) +- `urn:fhir:binding:ResearchStudyObjectiveType` (3 versions) + - Version 1: ResearchStudy (hl7.fhir.r4.core#4.0.1), ResearchStudy (hl7.fhir.r4.core#4.0.1), ResearchStudy (hl7.fhir.r4.core#4.0.1), ResearchStudy (hl7.fhir.r4.core#4.0.1), ResearchStudy (hl7.fhir.r4.core#4.0.1), ResearchStudy (hl7.fhir.r4.core#4.0.1), ResearchStudy (hl7.fhir.r4.core#4.0.1), ResearchStudy (hl7.fhir.r4.core#4.0.1), ResearchStudy (hl7.fhir.r4.core#4.0.1), ResearchStudy (hl7.fhir.r4.core#4.0.1) + - Version 2: ResearchStudy (hl7.fhir.r5.core#5.0.0), ResearchStudy (hl7.fhir.r5.core#5.0.0), ResearchStudy (hl7.fhir.r5.core#5.0.0) + - Version 3: ResearchStudy (hl7.fhir.r4.examples#4.0.1) +- `urn:fhir:binding:ResearchStudyPhase` (3 versions) + - Version 1: ResearchStudy (hl7.fhir.r4.core#4.0.1), ResearchStudy (hl7.fhir.r4.core#4.0.1), ResearchStudy (hl7.fhir.r4.core#4.0.1), ResearchStudy (hl7.fhir.r4.core#4.0.1), ResearchStudy (hl7.fhir.r4.core#4.0.1), ResearchStudy (hl7.fhir.r4.core#4.0.1), ResearchStudy (hl7.fhir.r4.core#4.0.1), ResearchStudy (hl7.fhir.r4.core#4.0.1), ResearchStudy (hl7.fhir.r4.core#4.0.1), ResearchStudy (hl7.fhir.r4.core#4.0.1) + - Version 2: ResearchStudy (hl7.fhir.r5.core#5.0.0), ResearchStudy (hl7.fhir.r5.core#5.0.0), ResearchStudy (hl7.fhir.r5.core#5.0.0) + - Version 3: ResearchStudy (hl7.fhir.r4.examples#4.0.1) +- `urn:fhir:binding:ResearchStudyPrimaryPurposeType` (3 versions) + - Version 1: ResearchStudy (hl7.fhir.r4.core#4.0.1), ResearchStudy (hl7.fhir.r4.core#4.0.1), ResearchStudy (hl7.fhir.r4.core#4.0.1), ResearchStudy (hl7.fhir.r4.core#4.0.1), ResearchStudy (hl7.fhir.r4.core#4.0.1), ResearchStudy (hl7.fhir.r4.core#4.0.1), ResearchStudy (hl7.fhir.r4.core#4.0.1), ResearchStudy (hl7.fhir.r4.core#4.0.1), ResearchStudy (hl7.fhir.r4.core#4.0.1), ResearchStudy (hl7.fhir.r4.core#4.0.1) + - Version 2: ResearchStudy (hl7.fhir.r5.core#5.0.0), ResearchStudy (hl7.fhir.r5.core#5.0.0), ResearchStudy (hl7.fhir.r5.core#5.0.0) + - Version 3: ResearchStudy (hl7.fhir.r4.examples#4.0.1) +- `urn:fhir:binding:ResearchStudyReasonStopped` (3 versions) + - Version 1: ResearchStudy (hl7.fhir.r4.core#4.0.1), ResearchStudy (hl7.fhir.r4.core#4.0.1), ResearchStudy (hl7.fhir.r4.core#4.0.1), ResearchStudy (hl7.fhir.r4.core#4.0.1), ResearchStudy (hl7.fhir.r4.core#4.0.1), ResearchStudy (hl7.fhir.r4.core#4.0.1), ResearchStudy (hl7.fhir.r4.core#4.0.1), ResearchStudy (hl7.fhir.r4.core#4.0.1), ResearchStudy (hl7.fhir.r4.core#4.0.1), ResearchStudy (hl7.fhir.r4.core#4.0.1) + - Version 2: ResearchStudy (hl7.fhir.r5.core#5.0.0), ResearchStudy (hl7.fhir.r5.core#5.0.0), ResearchStudy (hl7.fhir.r5.core#5.0.0) + - Version 3: ResearchStudy (hl7.fhir.r4.examples#4.0.1) +- `urn:fhir:binding:ResearchStudyStatus` (2 versions) + - Version 1: ResearchStudy (hl7.fhir.r4.core#4.0.1), ResearchStudy (hl7.fhir.r4.core#4.0.1), ResearchStudy (hl7.fhir.r4.core#4.0.1), ResearchStudy (hl7.fhir.r4.core#4.0.1), ResearchStudy (hl7.fhir.r4.core#4.0.1), ResearchStudy (hl7.fhir.r4.core#4.0.1), ResearchStudy (hl7.fhir.r4.core#4.0.1), ResearchStudy (hl7.fhir.r4.core#4.0.1), ResearchStudy (hl7.fhir.r4.core#4.0.1), ResearchStudy (hl7.fhir.r4.core#4.0.1) + - Version 2: ResearchStudy (hl7.fhir.r4.examples#4.0.1) +- `urn:fhir:binding:ResearchSubjectStatus` (2 versions) + - Version 1: ResearchSubject (hl7.fhir.r4.core#4.0.1), ResearchSubject (hl7.fhir.r4.core#4.0.1), ResearchSubject (hl7.fhir.r4.core#4.0.1), ResearchSubject (hl7.fhir.r4.core#4.0.1), ResearchSubject (hl7.fhir.r4.core#4.0.1), ResearchSubject (hl7.fhir.r4.core#4.0.1), ResearchSubject (hl7.fhir.r4.core#4.0.1), ResearchSubject (hl7.fhir.r4.core#4.0.1), ResearchSubject (hl7.fhir.r4.core#4.0.1), ResearchSubject (hl7.fhir.r4.core#4.0.1) + - Version 2: ResearchSubject (hl7.fhir.r4.examples#4.0.1) +- `urn:fhir:binding:ResourceType` (3 versions) + - Version 1: CapabilityStatement (hl7.fhir.r4.core#4.0.1), ImplementationGuide (hl7.fhir.r4.core#4.0.1), CompartmentDefinition (hl7.fhir.r4.core#4.0.1), OperationDefinition (hl7.fhir.r4.core#4.0.1), SearchParameter (hl7.fhir.r4.core#4.0.1), MessageDefinition (hl7.fhir.r4.core#4.0.1), GraphDefinition (hl7.fhir.r4.core#4.0.1), Questionnaire (hl7.fhir.r4.core#4.0.1), CapabilityStatement (hl7.fhir.r4.core#4.0.1), ImplementationGuide (hl7.fhir.r4.core#4.0.1), CompartmentDefinition (hl7.fhir.r4.core#4.0.1), OperationDefinition (hl7.fhir.r4.core#4.0.1), SearchParameter (hl7.fhir.r4.core#4.0.1), MessageDefinition (hl7.fhir.r4.core#4.0.1), GraphDefinition (hl7.fhir.r4.core#4.0.1), Questionnaire (hl7.fhir.r4.core#4.0.1), CapabilityStatement (hl7.fhir.r4.core#4.0.1), ImplementationGuide (hl7.fhir.r4.core#4.0.1), CompartmentDefinition (hl7.fhir.r4.core#4.0.1), OperationDefinition (hl7.fhir.r4.core#4.0.1), SearchParameter (hl7.fhir.r4.core#4.0.1), MessageDefinition (hl7.fhir.r4.core#4.0.1), GraphDefinition (hl7.fhir.r4.core#4.0.1), Questionnaire (hl7.fhir.r4.core#4.0.1), CapabilityStatement (hl7.fhir.r4.core#4.0.1), ImplementationGuide (hl7.fhir.r4.core#4.0.1), CompartmentDefinition (hl7.fhir.r4.core#4.0.1), OperationDefinition (hl7.fhir.r4.core#4.0.1), SearchParameter (hl7.fhir.r4.core#4.0.1), MessageDefinition (hl7.fhir.r4.core#4.0.1), GraphDefinition (hl7.fhir.r4.core#4.0.1), Questionnaire (hl7.fhir.r4.core#4.0.1), CapabilityStatement (hl7.fhir.r4.core#4.0.1), ImplementationGuide (hl7.fhir.r4.core#4.0.1), CompartmentDefinition (hl7.fhir.r4.core#4.0.1), OperationDefinition (hl7.fhir.r4.core#4.0.1), SearchParameter (hl7.fhir.r4.core#4.0.1), MessageDefinition (hl7.fhir.r4.core#4.0.1), GraphDefinition (hl7.fhir.r4.core#4.0.1), Questionnaire (hl7.fhir.r4.core#4.0.1), CapabilityStatement (hl7.fhir.r4.core#4.0.1), ImplementationGuide (hl7.fhir.r4.core#4.0.1), CompartmentDefinition (hl7.fhir.r4.core#4.0.1), OperationDefinition (hl7.fhir.r4.core#4.0.1), SearchParameter (hl7.fhir.r4.core#4.0.1), MessageDefinition (hl7.fhir.r4.core#4.0.1), GraphDefinition (hl7.fhir.r4.core#4.0.1), Questionnaire (hl7.fhir.r4.core#4.0.1), CapabilityStatement (hl7.fhir.r4.core#4.0.1), ImplementationGuide (hl7.fhir.r4.core#4.0.1), CompartmentDefinition (hl7.fhir.r4.core#4.0.1), OperationDefinition (hl7.fhir.r4.core#4.0.1), SearchParameter (hl7.fhir.r4.core#4.0.1), MessageDefinition (hl7.fhir.r4.core#4.0.1), GraphDefinition (hl7.fhir.r4.core#4.0.1), Questionnaire (hl7.fhir.r4.core#4.0.1), sdc-questionnaire (hl7.fhir.uv.sdc#3.0.0), CapabilityStatement (hl7.fhir.r4.core#4.0.1), ImplementationGuide (hl7.fhir.r4.core#4.0.1), CompartmentDefinition (hl7.fhir.r4.core#4.0.1), OperationDefinition (hl7.fhir.r4.core#4.0.1), SearchParameter (hl7.fhir.r4.core#4.0.1), MessageDefinition (hl7.fhir.r4.core#4.0.1), GraphDefinition (hl7.fhir.r4.core#4.0.1), Questionnaire (hl7.fhir.r4.core#4.0.1), CapabilityStatement (hl7.fhir.r4.core#4.0.1), ImplementationGuide (hl7.fhir.r4.core#4.0.1), CompartmentDefinition (hl7.fhir.r4.core#4.0.1), OperationDefinition (hl7.fhir.r4.core#4.0.1), SearchParameter (hl7.fhir.r4.core#4.0.1), MessageDefinition (hl7.fhir.r4.core#4.0.1), GraphDefinition (hl7.fhir.r4.core#4.0.1), Questionnaire (hl7.fhir.r4.core#4.0.1), CapabilityStatement (hl7.fhir.r4.core#4.0.1), ImplementationGuide (hl7.fhir.r4.core#4.0.1), CompartmentDefinition (hl7.fhir.r4.core#4.0.1), OperationDefinition (hl7.fhir.r4.core#4.0.1), SearchParameter (hl7.fhir.r4.core#4.0.1), MessageDefinition (hl7.fhir.r4.core#4.0.1), GraphDefinition (hl7.fhir.r4.core#4.0.1), Questionnaire (hl7.fhir.r4.core#4.0.1), sdc-questionnaire (hl7.fhir.uv.sdc#3.0.0) + - Version 2: CapabilityStatement (hl7.fhir.r5.core#5.0.0), ImplementationGuide (hl7.fhir.r5.core#5.0.0), CompartmentDefinition (hl7.fhir.r5.core#5.0.0), MessageDefinition (hl7.fhir.r5.core#5.0.0), Questionnaire (hl7.fhir.r5.core#5.0.0), CapabilityStatement (hl7.fhir.r5.core#5.0.0), ImplementationGuide (hl7.fhir.r5.core#5.0.0), CompartmentDefinition (hl7.fhir.r5.core#5.0.0), MessageDefinition (hl7.fhir.r5.core#5.0.0), Questionnaire (hl7.fhir.r5.core#5.0.0), CapabilityStatement (hl7.fhir.r5.core#5.0.0), ImplementationGuide (hl7.fhir.r5.core#5.0.0), CompartmentDefinition (hl7.fhir.r5.core#5.0.0), MessageDefinition (hl7.fhir.r5.core#5.0.0), Questionnaire (hl7.fhir.r5.core#5.0.0) + - Version 3: CapabilityStatement (hl7.fhir.r4.examples#4.0.1), ImplementationGuide (hl7.fhir.r4.examples#4.0.1), CompartmentDefinition (hl7.fhir.r4.examples#4.0.1), OperationDefinition (hl7.fhir.r4.examples#4.0.1), SearchParameter (hl7.fhir.r4.examples#4.0.1), MessageDefinition (hl7.fhir.r4.examples#4.0.1), GraphDefinition (hl7.fhir.r4.examples#4.0.1), Questionnaire (hl7.fhir.r4.examples#4.0.1) +- `urn:fhir:binding:ResourceVersionPolicy` (3 versions) + - Version 1: CapabilityStatement (hl7.fhir.r4.core#4.0.1), CapabilityStatement (hl7.fhir.r4.core#4.0.1), CapabilityStatement (hl7.fhir.r4.core#4.0.1), CapabilityStatement (hl7.fhir.r4.core#4.0.1), CapabilityStatement (hl7.fhir.r4.core#4.0.1), CapabilityStatement (hl7.fhir.r4.core#4.0.1), CapabilityStatement (hl7.fhir.r4.core#4.0.1), CapabilityStatement (hl7.fhir.r4.core#4.0.1), CapabilityStatement (hl7.fhir.r4.core#4.0.1), CapabilityStatement (hl7.fhir.r4.core#4.0.1) + - Version 2: CapabilityStatement (hl7.fhir.r5.core#5.0.0), CapabilityStatement (hl7.fhir.r5.core#5.0.0), CapabilityStatement (hl7.fhir.r5.core#5.0.0) + - Version 3: CapabilityStatement (hl7.fhir.r4.examples#4.0.1) +- `urn:fhir:binding:ResponseType` (3 versions) + - Version 1: MessageHeader (hl7.fhir.r4.core#4.0.1), MessageHeader (hl7.fhir.r4.core#4.0.1), MessageHeader (hl7.fhir.r4.core#4.0.1), MessageHeader (hl7.fhir.r4.core#4.0.1), MessageHeader (hl7.fhir.r4.core#4.0.1), MessageHeader (hl7.fhir.r4.core#4.0.1), MessageHeader (hl7.fhir.r4.core#4.0.1), MessageHeader (hl7.fhir.r4.core#4.0.1), MessageHeader (hl7.fhir.r4.core#4.0.1), MessageHeader (hl7.fhir.r4.core#4.0.1) + - Version 2: MessageHeader (hl7.fhir.r5.core#5.0.0), MessageHeader (hl7.fhir.r5.core#5.0.0), MessageHeader (hl7.fhir.r5.core#5.0.0) + - Version 3: MessageHeader (hl7.fhir.r4.examples#4.0.1) +- `urn:fhir:binding:RestfulCapabilityMode` (3 versions) + - Version 1: CapabilityStatement (hl7.fhir.r4.core#4.0.1), CapabilityStatement (hl7.fhir.r4.core#4.0.1), CapabilityStatement (hl7.fhir.r4.core#4.0.1), CapabilityStatement (hl7.fhir.r4.core#4.0.1), CapabilityStatement (hl7.fhir.r4.core#4.0.1), CapabilityStatement (hl7.fhir.r4.core#4.0.1), CapabilityStatement (hl7.fhir.r4.core#4.0.1), CapabilityStatement (hl7.fhir.r4.core#4.0.1), CapabilityStatement (hl7.fhir.r4.core#4.0.1), CapabilityStatement (hl7.fhir.r4.core#4.0.1) + - Version 2: CapabilityStatement (hl7.fhir.r5.core#5.0.0), CapabilityStatement (hl7.fhir.r5.core#5.0.0), CapabilityStatement (hl7.fhir.r5.core#5.0.0) + - Version 3: CapabilityStatement (hl7.fhir.r4.examples#4.0.1) +- `urn:fhir:binding:RestfulSecurityService` (3 versions) + - Version 1: CapabilityStatement (hl7.fhir.r4.core#4.0.1), CapabilityStatement (hl7.fhir.r4.core#4.0.1), CapabilityStatement (hl7.fhir.r4.core#4.0.1), CapabilityStatement (hl7.fhir.r4.core#4.0.1), CapabilityStatement (hl7.fhir.r4.core#4.0.1), CapabilityStatement (hl7.fhir.r4.core#4.0.1), CapabilityStatement (hl7.fhir.r4.core#4.0.1), CapabilityStatement (hl7.fhir.r4.core#4.0.1), CapabilityStatement (hl7.fhir.r4.core#4.0.1), CapabilityStatement (hl7.fhir.r4.core#4.0.1) + - Version 2: CapabilityStatement (hl7.fhir.r5.core#5.0.0), CapabilityStatement (hl7.fhir.r5.core#5.0.0), CapabilityStatement (hl7.fhir.r5.core#5.0.0) + - Version 3: CapabilityStatement (hl7.fhir.r4.examples#4.0.1) +- `urn:fhir:binding:RevenueCenter` (3 versions) + - Version 1: Claim (hl7.fhir.r4.core#4.0.1), ExplanationOfBenefit (hl7.fhir.r4.core#4.0.1), Claim (hl7.fhir.r4.core#4.0.1), ExplanationOfBenefit (hl7.fhir.r4.core#4.0.1), Claim (hl7.fhir.r4.core#4.0.1), ExplanationOfBenefit (hl7.fhir.r4.core#4.0.1), Claim (hl7.fhir.r4.core#4.0.1), ExplanationOfBenefit (hl7.fhir.r4.core#4.0.1), Claim (hl7.fhir.r4.core#4.0.1), ExplanationOfBenefit (hl7.fhir.r4.core#4.0.1), Claim (hl7.fhir.r4.core#4.0.1), ExplanationOfBenefit (hl7.fhir.r4.core#4.0.1), Claim (hl7.fhir.r4.core#4.0.1), ExplanationOfBenefit (hl7.fhir.r4.core#4.0.1), Claim (hl7.fhir.r4.core#4.0.1), ExplanationOfBenefit (hl7.fhir.r4.core#4.0.1), Claim (hl7.fhir.r4.core#4.0.1), ExplanationOfBenefit (hl7.fhir.r4.core#4.0.1), Claim (hl7.fhir.r4.core#4.0.1), ExplanationOfBenefit (hl7.fhir.r4.core#4.0.1) + - Version 2: Claim (hl7.fhir.r5.core#5.0.0), ClaimResponse (hl7.fhir.r5.core#5.0.0), ExplanationOfBenefit (hl7.fhir.r5.core#5.0.0), Claim (hl7.fhir.r5.core#5.0.0), ClaimResponse (hl7.fhir.r5.core#5.0.0), ExplanationOfBenefit (hl7.fhir.r5.core#5.0.0), Claim (hl7.fhir.r5.core#5.0.0), ClaimResponse (hl7.fhir.r5.core#5.0.0), ExplanationOfBenefit (hl7.fhir.r5.core#5.0.0) + - Version 3: Claim (hl7.fhir.r4.examples#4.0.1), ExplanationOfBenefit (hl7.fhir.r4.examples#4.0.1) +- `urn:fhir:binding:RiskAssessmentProbability` (3 versions) + - Version 1: RiskAssessment (hl7.fhir.r4.core#4.0.1), RiskAssessment (hl7.fhir.r4.core#4.0.1), RiskAssessment (hl7.fhir.r4.core#4.0.1), RiskAssessment (hl7.fhir.r4.core#4.0.1), RiskAssessment (hl7.fhir.r4.core#4.0.1), RiskAssessment (hl7.fhir.r4.core#4.0.1), RiskAssessment (hl7.fhir.r4.core#4.0.1), RiskAssessment (hl7.fhir.r4.core#4.0.1), RiskAssessment (hl7.fhir.r4.core#4.0.1), RiskAssessment (hl7.fhir.r4.core#4.0.1) + - Version 2: RiskAssessment (hl7.fhir.r5.core#5.0.0), RiskAssessment (hl7.fhir.r5.core#5.0.0), RiskAssessment (hl7.fhir.r5.core#5.0.0) + - Version 3: RiskAssessment (hl7.fhir.r4.examples#4.0.1) +- `urn:fhir:binding:RiskAssessmentStatus` (3 versions) + - Version 1: RiskAssessment (hl7.fhir.r4.core#4.0.1), RiskAssessment (hl7.fhir.r4.core#4.0.1), RiskAssessment (hl7.fhir.r4.core#4.0.1), RiskAssessment (hl7.fhir.r4.core#4.0.1), RiskAssessment (hl7.fhir.r4.core#4.0.1), RiskAssessment (hl7.fhir.r4.core#4.0.1), RiskAssessment (hl7.fhir.r4.core#4.0.1), RiskAssessment (hl7.fhir.r4.core#4.0.1), RiskAssessment (hl7.fhir.r4.core#4.0.1), RiskAssessment (hl7.fhir.r4.core#4.0.1) + - Version 2: RiskAssessment (hl7.fhir.r5.core#5.0.0), RiskAssessment (hl7.fhir.r5.core#5.0.0), RiskAssessment (hl7.fhir.r5.core#5.0.0) + - Version 3: RiskAssessment (hl7.fhir.r4.examples#4.0.1) +- `urn:fhir:binding:RiskEstimateType` (2 versions) + - Version 1: RiskEvidenceSynthesis (hl7.fhir.r4.core#4.0.1), RiskEvidenceSynthesis (hl7.fhir.r4.core#4.0.1), RiskEvidenceSynthesis (hl7.fhir.r4.core#4.0.1), RiskEvidenceSynthesis (hl7.fhir.r4.core#4.0.1), RiskEvidenceSynthesis (hl7.fhir.r4.core#4.0.1), RiskEvidenceSynthesis (hl7.fhir.r4.core#4.0.1), RiskEvidenceSynthesis (hl7.fhir.r4.core#4.0.1), RiskEvidenceSynthesis (hl7.fhir.r4.core#4.0.1), RiskEvidenceSynthesis (hl7.fhir.r4.core#4.0.1), RiskEvidenceSynthesis (hl7.fhir.r4.core#4.0.1) + - Version 2: RiskEvidenceSynthesis (hl7.fhir.r4.examples#4.0.1) +- `urn:fhir:binding:RouteOfAdministration` (3 versions) + - Version 1: Dosage (hl7.fhir.r4.core#4.0.1), AllergyIntolerance (hl7.fhir.r4.core#4.0.1), MedicationAdministration (hl7.fhir.r4.core#4.0.1), Dosage (hl7.fhir.r4.core#4.0.1), AllergyIntolerance (hl7.fhir.r4.core#4.0.1), MedicationAdministration (hl7.fhir.r4.core#4.0.1), Dosage (hl7.fhir.r4.core#4.0.1), AllergyIntolerance (hl7.fhir.r4.core#4.0.1), MedicationAdministration (hl7.fhir.r4.core#4.0.1), Dosage (hl7.fhir.r4.core#4.0.1), AllergyIntolerance (hl7.fhir.r4.core#4.0.1), MedicationAdministration (hl7.fhir.r4.core#4.0.1), Dosage (hl7.fhir.r4.core#4.0.1), AllergyIntolerance (hl7.fhir.r4.core#4.0.1), MedicationAdministration (hl7.fhir.r4.core#4.0.1), Dosage (hl7.fhir.r4.core#4.0.1), AllergyIntolerance (hl7.fhir.r4.core#4.0.1), MedicationAdministration (hl7.fhir.r4.core#4.0.1), Dosage (hl7.fhir.r4.core#4.0.1), AllergyIntolerance (hl7.fhir.r4.core#4.0.1), MedicationAdministration (hl7.fhir.r4.core#4.0.1), Dosage (hl7.fhir.r4.core#4.0.1), AllergyIntolerance (hl7.fhir.r4.core#4.0.1), MedicationAdministration (hl7.fhir.r4.core#4.0.1), Dosage (hl7.fhir.r4.core#4.0.1), AllergyIntolerance (hl7.fhir.r4.core#4.0.1), MedicationAdministration (hl7.fhir.r4.core#4.0.1), Dosage (hl7.fhir.r4.core#4.0.1), AllergyIntolerance (hl7.fhir.r4.core#4.0.1), MedicationAdministration (hl7.fhir.r4.core#4.0.1) + - Version 2: Dosage (hl7.fhir.r5.core#5.0.0), AllergyIntolerance (hl7.fhir.r5.core#5.0.0), MedicationAdministration (hl7.fhir.r5.core#5.0.0), Dosage (hl7.fhir.r5.core#5.0.0), AllergyIntolerance (hl7.fhir.r5.core#5.0.0), MedicationAdministration (hl7.fhir.r5.core#5.0.0), Dosage (hl7.fhir.r5.core#5.0.0), AllergyIntolerance (hl7.fhir.r5.core#5.0.0), MedicationAdministration (hl7.fhir.r5.core#5.0.0) + - Version 3: Dosage (hl7.fhir.r4.examples#4.0.1), AllergyIntolerance (hl7.fhir.r4.examples#4.0.1), MedicationAdministration (hl7.fhir.r4.examples#4.0.1) +- `urn:fhir:binding:Safety` (3 versions) + - Version 1: DeviceDefinition (hl7.fhir.r4.core#4.0.1), DeviceDefinition (hl7.fhir.r4.core#4.0.1), DeviceDefinition (hl7.fhir.r4.core#4.0.1), DeviceDefinition (hl7.fhir.r4.core#4.0.1), DeviceDefinition (hl7.fhir.r4.core#4.0.1), DeviceDefinition (hl7.fhir.r4.core#4.0.1), DeviceDefinition (hl7.fhir.r4.core#4.0.1), DeviceDefinition (hl7.fhir.r4.core#4.0.1), DeviceDefinition (hl7.fhir.r4.core#4.0.1), DeviceDefinition (hl7.fhir.r4.core#4.0.1) + - Version 2: DeviceDefinition (hl7.fhir.r5.core#5.0.0), Device (hl7.fhir.r5.core#5.0.0), DeviceDefinition (hl7.fhir.r5.core#5.0.0), Device (hl7.fhir.r5.core#5.0.0), DeviceDefinition (hl7.fhir.r5.core#5.0.0), Device (hl7.fhir.r5.core#5.0.0) + - Version 3: DeviceDefinition (hl7.fhir.r4.examples#4.0.1) +- `urn:fhir:binding:SearchComparator` (3 versions) + - Version 1: Subscription (hl7.fhir.r5.core#5.0.0), SearchParameter (hl7.fhir.r5.core#5.0.0), SubscriptionTopic (hl7.fhir.r5.core#5.0.0), Subscription (hl7.fhir.r5.core#5.0.0), SearchParameter (hl7.fhir.r5.core#5.0.0), SubscriptionTopic (hl7.fhir.r5.core#5.0.0), Subscription (hl7.fhir.r5.core#5.0.0), SearchParameter (hl7.fhir.r5.core#5.0.0), SubscriptionTopic (hl7.fhir.r5.core#5.0.0), SubscriptionTopic (hl7.fhir.r5.core#5.0.0), SubscriptionTopic (hl7.fhir.r5.core#5.0.0) + - Version 2: SearchParameter (hl7.fhir.r4.core#4.0.1), SearchParameter (hl7.fhir.r4.core#4.0.1), SearchParameter (hl7.fhir.r4.core#4.0.1), SearchParameter (hl7.fhir.r4.core#4.0.1), SearchParameter (hl7.fhir.r4.core#4.0.1), SearchParameter (hl7.fhir.r4.core#4.0.1), SearchParameter (hl7.fhir.r4.core#4.0.1), SearchParameter (hl7.fhir.r4.core#4.0.1), SearchParameter (hl7.fhir.r4.core#4.0.1), SearchParameter (hl7.fhir.r4.core#4.0.1) + - Version 3: SearchParameter (hl7.fhir.r4.examples#4.0.1) +- `urn:fhir:binding:SearchEntryMode` (3 versions) + - Version 1: Bundle (hl7.fhir.r4.core#4.0.1), Bundle (hl7.fhir.r4.core#4.0.1), Bundle (hl7.fhir.r4.core#4.0.1), Bundle (hl7.fhir.r4.core#4.0.1), Bundle (hl7.fhir.r4.core#4.0.1), Bundle (hl7.fhir.r4.core#4.0.1), Bundle (hl7.fhir.r4.core#4.0.1), Bundle (hl7.fhir.r4.core#4.0.1), Bundle (hl7.fhir.r4.core#4.0.1), Bundle (hl7.fhir.r4.core#4.0.1) + - Version 2: Bundle (hl7.fhir.r5.core#5.0.0), Bundle (hl7.fhir.r5.core#5.0.0), Bundle (hl7.fhir.r5.core#5.0.0) + - Version 3: Bundle (hl7.fhir.r4.examples#4.0.1) +- `urn:fhir:binding:SearchModifierCode` (3 versions) + - Version 1: Subscription (hl7.fhir.r5.core#5.0.0), SearchParameter (hl7.fhir.r5.core#5.0.0), SubscriptionTopic (hl7.fhir.r5.core#5.0.0), Subscription (hl7.fhir.r5.core#5.0.0), SearchParameter (hl7.fhir.r5.core#5.0.0), SubscriptionTopic (hl7.fhir.r5.core#5.0.0), Subscription (hl7.fhir.r5.core#5.0.0), SearchParameter (hl7.fhir.r5.core#5.0.0), SubscriptionTopic (hl7.fhir.r5.core#5.0.0), SubscriptionTopic (hl7.fhir.r5.core#5.0.0), SubscriptionTopic (hl7.fhir.r5.core#5.0.0) + - Version 2: SearchParameter (hl7.fhir.r4.core#4.0.1), SearchParameter (hl7.fhir.r4.core#4.0.1), SearchParameter (hl7.fhir.r4.core#4.0.1), SearchParameter (hl7.fhir.r4.core#4.0.1), SearchParameter (hl7.fhir.r4.core#4.0.1), SearchParameter (hl7.fhir.r4.core#4.0.1), SearchParameter (hl7.fhir.r4.core#4.0.1), SearchParameter (hl7.fhir.r4.core#4.0.1), SearchParameter (hl7.fhir.r4.core#4.0.1), SearchParameter (hl7.fhir.r4.core#4.0.1) + - Version 3: SearchParameter (hl7.fhir.r4.examples#4.0.1) +- `urn:fhir:binding:SearchParamType` (3 versions) + - Version 1: CapabilityStatement (hl7.fhir.r4.core#4.0.1), OperationDefinition (hl7.fhir.r4.core#4.0.1), SearchParameter (hl7.fhir.r4.core#4.0.1), CapabilityStatement (hl7.fhir.r4.core#4.0.1), OperationDefinition (hl7.fhir.r4.core#4.0.1), SearchParameter (hl7.fhir.r4.core#4.0.1), CapabilityStatement (hl7.fhir.r4.core#4.0.1), OperationDefinition (hl7.fhir.r4.core#4.0.1), SearchParameter (hl7.fhir.r4.core#4.0.1), CapabilityStatement (hl7.fhir.r4.core#4.0.1), OperationDefinition (hl7.fhir.r4.core#4.0.1), SearchParameter (hl7.fhir.r4.core#4.0.1), CapabilityStatement (hl7.fhir.r4.core#4.0.1), OperationDefinition (hl7.fhir.r4.core#4.0.1), SearchParameter (hl7.fhir.r4.core#4.0.1), CapabilityStatement (hl7.fhir.r4.core#4.0.1), OperationDefinition (hl7.fhir.r4.core#4.0.1), SearchParameter (hl7.fhir.r4.core#4.0.1), CapabilityStatement (hl7.fhir.r4.core#4.0.1), OperationDefinition (hl7.fhir.r4.core#4.0.1), SearchParameter (hl7.fhir.r4.core#4.0.1), CapabilityStatement (hl7.fhir.r4.core#4.0.1), OperationDefinition (hl7.fhir.r4.core#4.0.1), SearchParameter (hl7.fhir.r4.core#4.0.1), CapabilityStatement (hl7.fhir.r4.core#4.0.1), OperationDefinition (hl7.fhir.r4.core#4.0.1), SearchParameter (hl7.fhir.r4.core#4.0.1), CapabilityStatement (hl7.fhir.r4.core#4.0.1), OperationDefinition (hl7.fhir.r4.core#4.0.1), SearchParameter (hl7.fhir.r4.core#4.0.1) + - Version 2: CapabilityStatement (hl7.fhir.r5.core#5.0.0), OperationDefinition (hl7.fhir.r5.core#5.0.0), SearchParameter (hl7.fhir.r5.core#5.0.0), CapabilityStatement (hl7.fhir.r5.core#5.0.0), OperationDefinition (hl7.fhir.r5.core#5.0.0), SearchParameter (hl7.fhir.r5.core#5.0.0), CapabilityStatement (hl7.fhir.r5.core#5.0.0), OperationDefinition (hl7.fhir.r5.core#5.0.0), SearchParameter (hl7.fhir.r5.core#5.0.0) + - Version 3: CapabilityStatement (hl7.fhir.r4.examples#4.0.1), OperationDefinition (hl7.fhir.r4.examples#4.0.1), SearchParameter (hl7.fhir.r4.examples#4.0.1) +- `urn:fhir:binding:SectionEmptyReason` (3 versions) + - Version 1: Composition (hl7.fhir.r4.core#4.0.1), Composition (hl7.fhir.r4.core#4.0.1), Composition (hl7.fhir.r4.core#4.0.1), Composition (hl7.fhir.r4.core#4.0.1), Composition (hl7.fhir.r4.core#4.0.1), Composition (hl7.fhir.r4.core#4.0.1), Composition (hl7.fhir.r4.core#4.0.1), Composition (hl7.fhir.r4.core#4.0.1), Composition (hl7.fhir.r4.core#4.0.1), Composition (hl7.fhir.r4.core#4.0.1) + - Version 2: Composition (hl7.fhir.r5.core#5.0.0), EvidenceReport (hl7.fhir.r5.core#5.0.0), Composition (hl7.fhir.r5.core#5.0.0), EvidenceReport (hl7.fhir.r5.core#5.0.0), Composition (hl7.fhir.r5.core#5.0.0), EvidenceReport (hl7.fhir.r5.core#5.0.0), EvidenceReport (hl7.fhir.r5.core#5.0.0), EvidenceReport (hl7.fhir.r5.core#5.0.0) + - Version 3: Composition (hl7.fhir.r4.examples#4.0.1) +- `urn:fhir:binding:SectionEntryOrder` (3 versions) + - Version 1: Composition (hl7.fhir.r4.core#4.0.1), Composition (hl7.fhir.r4.core#4.0.1), Composition (hl7.fhir.r4.core#4.0.1), Composition (hl7.fhir.r4.core#4.0.1), Composition (hl7.fhir.r4.core#4.0.1), Composition (hl7.fhir.r4.core#4.0.1), Composition (hl7.fhir.r4.core#4.0.1), Composition (hl7.fhir.r4.core#4.0.1), Composition (hl7.fhir.r4.core#4.0.1), Composition (hl7.fhir.r4.core#4.0.1) + - Version 2: Composition (hl7.fhir.r5.core#5.0.0), EvidenceReport (hl7.fhir.r5.core#5.0.0), Composition (hl7.fhir.r5.core#5.0.0), EvidenceReport (hl7.fhir.r5.core#5.0.0), Composition (hl7.fhir.r5.core#5.0.0), EvidenceReport (hl7.fhir.r5.core#5.0.0), EvidenceReport (hl7.fhir.r5.core#5.0.0), EvidenceReport (hl7.fhir.r5.core#5.0.0) + - Version 3: Composition (hl7.fhir.r4.examples#4.0.1) +- `urn:fhir:binding:SectionMode` (3 versions) + - Version 1: Composition (hl7.fhir.r4.core#4.0.1), Composition (hl7.fhir.r4.core#4.0.1), Composition (hl7.fhir.r4.core#4.0.1), Composition (hl7.fhir.r4.core#4.0.1), Composition (hl7.fhir.r4.core#4.0.1), Composition (hl7.fhir.r4.core#4.0.1), Composition (hl7.fhir.r4.core#4.0.1), Composition (hl7.fhir.r4.core#4.0.1), Composition (hl7.fhir.r4.core#4.0.1), Composition (hl7.fhir.r4.core#4.0.1) + - Version 2: EvidenceReport (hl7.fhir.r5.core#5.0.0), EvidenceReport (hl7.fhir.r5.core#5.0.0), EvidenceReport (hl7.fhir.r5.core#5.0.0), EvidenceReport (hl7.fhir.r5.core#5.0.0), EvidenceReport (hl7.fhir.r5.core#5.0.0) + - Version 3: Composition (hl7.fhir.r4.examples#4.0.1) +- `urn:fhir:binding:SecurityLabels` (4 versions) + - Version 1: AuditEvent (hl7.fhir.r4.core#4.0.1), Meta (hl7.fhir.r4.core#4.0.1), DocumentReference (hl7.fhir.r4.core#4.0.1), Consent (hl7.fhir.r4.core#4.0.1), ehrsrle-auditevent (hl7.fhir.r4.core#4.0.1), AuditEvent (hl7.fhir.r4.core#4.0.1), Meta (hl7.fhir.r4.core#4.0.1), DocumentReference (hl7.fhir.r4.core#4.0.1), Consent (hl7.fhir.r4.core#4.0.1), ehrsrle-auditevent (hl7.fhir.r4.core#4.0.1), AuditEvent (hl7.fhir.r4.core#4.0.1), Meta (hl7.fhir.r4.core#4.0.1), DocumentReference (hl7.fhir.r4.core#4.0.1), Consent (hl7.fhir.r4.core#4.0.1), ehrsrle-auditevent (hl7.fhir.r4.core#4.0.1), AuditEvent (hl7.fhir.r4.core#4.0.1), Meta (hl7.fhir.r4.core#4.0.1), DocumentReference (hl7.fhir.r4.core#4.0.1), Consent (hl7.fhir.r4.core#4.0.1), ehrsrle-auditevent (hl7.fhir.r4.core#4.0.1), AuditEvent (hl7.fhir.r4.core#4.0.1), Meta (hl7.fhir.r4.core#4.0.1), DocumentReference (hl7.fhir.r4.core#4.0.1), Consent (hl7.fhir.r4.core#4.0.1), ehrsrle-auditevent (hl7.fhir.r4.core#4.0.1), AuditEvent (hl7.fhir.r4.core#4.0.1), Meta (hl7.fhir.r4.core#4.0.1), DocumentReference (hl7.fhir.r4.core#4.0.1), Consent (hl7.fhir.r4.core#4.0.1), ehrsrle-auditevent (hl7.fhir.r4.core#4.0.1), AuditEvent (hl7.fhir.r4.core#4.0.1), Meta (hl7.fhir.r4.core#4.0.1), DocumentReference (hl7.fhir.r4.core#4.0.1), Consent (hl7.fhir.r4.core#4.0.1), ehrsrle-auditevent (hl7.fhir.r4.core#4.0.1), AuditEvent (hl7.fhir.r4.core#4.0.1), Meta (hl7.fhir.r4.core#4.0.1), DocumentReference (hl7.fhir.r4.core#4.0.1), Consent (hl7.fhir.r4.core#4.0.1), ehrsrle-auditevent (hl7.fhir.r4.core#4.0.1), AuditEvent (hl7.fhir.r4.core#4.0.1), Meta (hl7.fhir.r4.core#4.0.1), DocumentReference (hl7.fhir.r4.core#4.0.1), Consent (hl7.fhir.r4.core#4.0.1), ehrsrle-auditevent (hl7.fhir.r4.core#4.0.1), AuditEvent (hl7.fhir.r4.core#4.0.1), Meta (hl7.fhir.r4.core#4.0.1), DocumentReference (hl7.fhir.r4.core#4.0.1), Consent (hl7.fhir.r4.core#4.0.1), ehrsrle-auditevent (hl7.fhir.r4.core#4.0.1) + - Version 2: AuditEvent (hl7.fhir.r5.core#5.0.0), DocumentReference (hl7.fhir.r5.core#5.0.0), Consent (hl7.fhir.r5.core#5.0.0), AuditEvent (hl7.fhir.r5.core#5.0.0), DocumentReference (hl7.fhir.r5.core#5.0.0), Consent (hl7.fhir.r5.core#5.0.0), AuditEvent (hl7.fhir.r5.core#5.0.0), DocumentReference (hl7.fhir.r5.core#5.0.0), Consent (hl7.fhir.r5.core#5.0.0) + - Version 3: AuditEvent (hl7.fhir.r4.examples#4.0.1), Meta (hl7.fhir.r4.examples#4.0.1), DocumentReference (hl7.fhir.r4.examples#4.0.1), Consent (hl7.fhir.r4.examples#4.0.1), ehrsrle-auditevent (hl7.fhir.r4.examples#4.0.1) + - Version 4: Meta (hl7.fhir.r5.core#5.0.0), Meta (hl7.fhir.r5.core#5.0.0), Meta (hl7.fhir.r5.core#5.0.0) +- `urn:fhir:binding:sequenceReference` (2 versions) + - Version 1: MolecularSequence (hl7.fhir.r4.core#4.0.1), MolecularSequence (hl7.fhir.r4.core#4.0.1), MolecularSequence (hl7.fhir.r4.core#4.0.1), MolecularSequence (hl7.fhir.r4.core#4.0.1), MolecularSequence (hl7.fhir.r4.core#4.0.1), MolecularSequence (hl7.fhir.r4.core#4.0.1), MolecularSequence (hl7.fhir.r4.core#4.0.1), MolecularSequence (hl7.fhir.r4.core#4.0.1), MolecularSequence (hl7.fhir.r4.core#4.0.1), MolecularSequence (hl7.fhir.r4.core#4.0.1) + - Version 2: MolecularSequence (hl7.fhir.r4.examples#4.0.1) +- `urn:fhir:binding:sequenceType` (3 versions) + - Version 1: MolecularSequence (hl7.fhir.r4.core#4.0.1), MolecularSequence (hl7.fhir.r4.core#4.0.1), MolecularSequence (hl7.fhir.r4.core#4.0.1), MolecularSequence (hl7.fhir.r4.core#4.0.1), MolecularSequence (hl7.fhir.r4.core#4.0.1), MolecularSequence (hl7.fhir.r4.core#4.0.1), MolecularSequence (hl7.fhir.r4.core#4.0.1), MolecularSequence (hl7.fhir.r4.core#4.0.1), MolecularSequence (hl7.fhir.r4.core#4.0.1), MolecularSequence (hl7.fhir.r4.core#4.0.1) + - Version 2: MolecularSequence (hl7.fhir.r5.core#5.0.0), MolecularSequence (hl7.fhir.r5.core#5.0.0), MolecularSequence (hl7.fhir.r5.core#5.0.0) + - Version 3: MolecularSequence (hl7.fhir.r4.examples#4.0.1) +- `urn:fhir:binding:service-category` (3 versions) + - Version 1: Appointment (hl7.fhir.r4.core#4.0.1), Schedule (hl7.fhir.r4.core#4.0.1), HealthcareService (hl7.fhir.r4.core#4.0.1), Slot (hl7.fhir.r4.core#4.0.1), Appointment (hl7.fhir.r4.core#4.0.1), Schedule (hl7.fhir.r4.core#4.0.1), HealthcareService (hl7.fhir.r4.core#4.0.1), Slot (hl7.fhir.r4.core#4.0.1), Appointment (hl7.fhir.r4.core#4.0.1), Schedule (hl7.fhir.r4.core#4.0.1), HealthcareService (hl7.fhir.r4.core#4.0.1), Slot (hl7.fhir.r4.core#4.0.1), Appointment (hl7.fhir.r4.core#4.0.1), Schedule (hl7.fhir.r4.core#4.0.1), HealthcareService (hl7.fhir.r4.core#4.0.1), Slot (hl7.fhir.r4.core#4.0.1), Appointment (hl7.fhir.r4.core#4.0.1), Schedule (hl7.fhir.r4.core#4.0.1), HealthcareService (hl7.fhir.r4.core#4.0.1), Slot (hl7.fhir.r4.core#4.0.1), Appointment (hl7.fhir.r4.core#4.0.1), Schedule (hl7.fhir.r4.core#4.0.1), HealthcareService (hl7.fhir.r4.core#4.0.1), Slot (hl7.fhir.r4.core#4.0.1), Appointment (hl7.fhir.r4.core#4.0.1), Schedule (hl7.fhir.r4.core#4.0.1), HealthcareService (hl7.fhir.r4.core#4.0.1), Slot (hl7.fhir.r4.core#4.0.1), Appointment (hl7.fhir.r4.core#4.0.1), Schedule (hl7.fhir.r4.core#4.0.1), HealthcareService (hl7.fhir.r4.core#4.0.1), Slot (hl7.fhir.r4.core#4.0.1), Appointment (hl7.fhir.r4.core#4.0.1), Schedule (hl7.fhir.r4.core#4.0.1), HealthcareService (hl7.fhir.r4.core#4.0.1), Slot (hl7.fhir.r4.core#4.0.1), Appointment (hl7.fhir.r4.core#4.0.1), Schedule (hl7.fhir.r4.core#4.0.1), HealthcareService (hl7.fhir.r4.core#4.0.1), Slot (hl7.fhir.r4.core#4.0.1) + - Version 2: Appointment (hl7.fhir.r5.core#5.0.0), Schedule (hl7.fhir.r5.core#5.0.0), HealthcareService (hl7.fhir.r5.core#5.0.0), Slot (hl7.fhir.r5.core#5.0.0), Appointment (hl7.fhir.r5.core#5.0.0), Schedule (hl7.fhir.r5.core#5.0.0), HealthcareService (hl7.fhir.r5.core#5.0.0), Slot (hl7.fhir.r5.core#5.0.0), Appointment (hl7.fhir.r5.core#5.0.0), Schedule (hl7.fhir.r5.core#5.0.0), HealthcareService (hl7.fhir.r5.core#5.0.0), Slot (hl7.fhir.r5.core#5.0.0) + - Version 3: Appointment (hl7.fhir.r4.examples#4.0.1), Schedule (hl7.fhir.r4.examples#4.0.1), HealthcareService (hl7.fhir.r4.examples#4.0.1), Slot (hl7.fhir.r4.examples#4.0.1) +- `urn:fhir:binding:service-specialty` (3 versions) + - Version 1: HealthcareService (hl7.fhir.r4.core#4.0.1), HealthcareService (hl7.fhir.r4.core#4.0.1), HealthcareService (hl7.fhir.r4.core#4.0.1), HealthcareService (hl7.fhir.r4.core#4.0.1), HealthcareService (hl7.fhir.r4.core#4.0.1), HealthcareService (hl7.fhir.r4.core#4.0.1), HealthcareService (hl7.fhir.r4.core#4.0.1), HealthcareService (hl7.fhir.r4.core#4.0.1), HealthcareService (hl7.fhir.r4.core#4.0.1), HealthcareService (hl7.fhir.r4.core#4.0.1) + - Version 2: HealthcareService (hl7.fhir.r5.core#5.0.0), HealthcareService (hl7.fhir.r5.core#5.0.0), HealthcareService (hl7.fhir.r5.core#5.0.0) + - Version 3: HealthcareService (hl7.fhir.r4.examples#4.0.1) +- `urn:fhir:binding:service-type` (3 versions) + - Version 1: Appointment (hl7.fhir.r4.core#4.0.1), Schedule (hl7.fhir.r4.core#4.0.1), HealthcareService (hl7.fhir.r4.core#4.0.1), Slot (hl7.fhir.r4.core#4.0.1), Appointment (hl7.fhir.r4.core#4.0.1), Schedule (hl7.fhir.r4.core#4.0.1), HealthcareService (hl7.fhir.r4.core#4.0.1), Slot (hl7.fhir.r4.core#4.0.1), Appointment (hl7.fhir.r4.core#4.0.1), Schedule (hl7.fhir.r4.core#4.0.1), HealthcareService (hl7.fhir.r4.core#4.0.1), Slot (hl7.fhir.r4.core#4.0.1), Appointment (hl7.fhir.r4.core#4.0.1), Schedule (hl7.fhir.r4.core#4.0.1), HealthcareService (hl7.fhir.r4.core#4.0.1), Slot (hl7.fhir.r4.core#4.0.1), Appointment (hl7.fhir.r4.core#4.0.1), Schedule (hl7.fhir.r4.core#4.0.1), HealthcareService (hl7.fhir.r4.core#4.0.1), Slot (hl7.fhir.r4.core#4.0.1), Appointment (hl7.fhir.r4.core#4.0.1), Schedule (hl7.fhir.r4.core#4.0.1), HealthcareService (hl7.fhir.r4.core#4.0.1), Slot (hl7.fhir.r4.core#4.0.1), Appointment (hl7.fhir.r4.core#4.0.1), Schedule (hl7.fhir.r4.core#4.0.1), HealthcareService (hl7.fhir.r4.core#4.0.1), Slot (hl7.fhir.r4.core#4.0.1), Appointment (hl7.fhir.r4.core#4.0.1), Schedule (hl7.fhir.r4.core#4.0.1), HealthcareService (hl7.fhir.r4.core#4.0.1), Slot (hl7.fhir.r4.core#4.0.1), Appointment (hl7.fhir.r4.core#4.0.1), Schedule (hl7.fhir.r4.core#4.0.1), HealthcareService (hl7.fhir.r4.core#4.0.1), Slot (hl7.fhir.r4.core#4.0.1), Appointment (hl7.fhir.r4.core#4.0.1), Schedule (hl7.fhir.r4.core#4.0.1), HealthcareService (hl7.fhir.r4.core#4.0.1), Slot (hl7.fhir.r4.core#4.0.1) + - Version 2: Appointment (hl7.fhir.r5.core#5.0.0), Schedule (hl7.fhir.r5.core#5.0.0), HealthcareService (hl7.fhir.r5.core#5.0.0), Slot (hl7.fhir.r5.core#5.0.0), Appointment (hl7.fhir.r5.core#5.0.0), Schedule (hl7.fhir.r5.core#5.0.0), HealthcareService (hl7.fhir.r5.core#5.0.0), Slot (hl7.fhir.r5.core#5.0.0), Appointment (hl7.fhir.r5.core#5.0.0), Schedule (hl7.fhir.r5.core#5.0.0), HealthcareService (hl7.fhir.r5.core#5.0.0), Slot (hl7.fhir.r5.core#5.0.0) + - Version 3: Appointment (hl7.fhir.r4.examples#4.0.1), Schedule (hl7.fhir.r4.examples#4.0.1), HealthcareService (hl7.fhir.r4.examples#4.0.1), Slot (hl7.fhir.r4.examples#4.0.1) +- `urn:fhir:binding:ServiceProduct` (3 versions) + - Version 1: CoverageEligibilityRequest (hl7.fhir.r4.core#4.0.1), Claim (hl7.fhir.r4.core#4.0.1), ClaimResponse (hl7.fhir.r4.core#4.0.1), CoverageEligibilityResponse (hl7.fhir.r4.core#4.0.1), ExplanationOfBenefit (hl7.fhir.r4.core#4.0.1), CoverageEligibilityRequest (hl7.fhir.r4.core#4.0.1), Claim (hl7.fhir.r4.core#4.0.1), ClaimResponse (hl7.fhir.r4.core#4.0.1), CoverageEligibilityResponse (hl7.fhir.r4.core#4.0.1), ExplanationOfBenefit (hl7.fhir.r4.core#4.0.1), CoverageEligibilityRequest (hl7.fhir.r4.core#4.0.1), Claim (hl7.fhir.r4.core#4.0.1), ClaimResponse (hl7.fhir.r4.core#4.0.1), CoverageEligibilityResponse (hl7.fhir.r4.core#4.0.1), ExplanationOfBenefit (hl7.fhir.r4.core#4.0.1), CoverageEligibilityRequest (hl7.fhir.r4.core#4.0.1), Claim (hl7.fhir.r4.core#4.0.1), ClaimResponse (hl7.fhir.r4.core#4.0.1), CoverageEligibilityResponse (hl7.fhir.r4.core#4.0.1), ExplanationOfBenefit (hl7.fhir.r4.core#4.0.1), CoverageEligibilityRequest (hl7.fhir.r4.core#4.0.1), Claim (hl7.fhir.r4.core#4.0.1), ClaimResponse (hl7.fhir.r4.core#4.0.1), CoverageEligibilityResponse (hl7.fhir.r4.core#4.0.1), ExplanationOfBenefit (hl7.fhir.r4.core#4.0.1), CoverageEligibilityRequest (hl7.fhir.r4.core#4.0.1), Claim (hl7.fhir.r4.core#4.0.1), ClaimResponse (hl7.fhir.r4.core#4.0.1), CoverageEligibilityResponse (hl7.fhir.r4.core#4.0.1), ExplanationOfBenefit (hl7.fhir.r4.core#4.0.1), CoverageEligibilityRequest (hl7.fhir.r4.core#4.0.1), Claim (hl7.fhir.r4.core#4.0.1), ClaimResponse (hl7.fhir.r4.core#4.0.1), CoverageEligibilityResponse (hl7.fhir.r4.core#4.0.1), ExplanationOfBenefit (hl7.fhir.r4.core#4.0.1), CoverageEligibilityRequest (hl7.fhir.r4.core#4.0.1), Claim (hl7.fhir.r4.core#4.0.1), ClaimResponse (hl7.fhir.r4.core#4.0.1), CoverageEligibilityResponse (hl7.fhir.r4.core#4.0.1), ExplanationOfBenefit (hl7.fhir.r4.core#4.0.1), CoverageEligibilityRequest (hl7.fhir.r4.core#4.0.1), Claim (hl7.fhir.r4.core#4.0.1), ClaimResponse (hl7.fhir.r4.core#4.0.1), CoverageEligibilityResponse (hl7.fhir.r4.core#4.0.1), ExplanationOfBenefit (hl7.fhir.r4.core#4.0.1), CoverageEligibilityRequest (hl7.fhir.r4.core#4.0.1), Claim (hl7.fhir.r4.core#4.0.1), ClaimResponse (hl7.fhir.r4.core#4.0.1), CoverageEligibilityResponse (hl7.fhir.r4.core#4.0.1), ExplanationOfBenefit (hl7.fhir.r4.core#4.0.1) + - Version 2: CoverageEligibilityRequest (hl7.fhir.r5.core#5.0.0), Claim (hl7.fhir.r5.core#5.0.0), ClaimResponse (hl7.fhir.r5.core#5.0.0), CoverageEligibilityResponse (hl7.fhir.r5.core#5.0.0), ExplanationOfBenefit (hl7.fhir.r5.core#5.0.0), CoverageEligibilityRequest (hl7.fhir.r5.core#5.0.0), Claim (hl7.fhir.r5.core#5.0.0), ClaimResponse (hl7.fhir.r5.core#5.0.0), CoverageEligibilityResponse (hl7.fhir.r5.core#5.0.0), ExplanationOfBenefit (hl7.fhir.r5.core#5.0.0), CoverageEligibilityRequest (hl7.fhir.r5.core#5.0.0), Claim (hl7.fhir.r5.core#5.0.0), ClaimResponse (hl7.fhir.r5.core#5.0.0), CoverageEligibilityResponse (hl7.fhir.r5.core#5.0.0), ExplanationOfBenefit (hl7.fhir.r5.core#5.0.0) + - Version 3: CoverageEligibilityRequest (hl7.fhir.r4.examples#4.0.1), Claim (hl7.fhir.r4.examples#4.0.1), ClaimResponse (hl7.fhir.r4.examples#4.0.1), CoverageEligibilityResponse (hl7.fhir.r4.examples#4.0.1), ExplanationOfBenefit (hl7.fhir.r4.examples#4.0.1) +- `urn:fhir:binding:ServiceProvisionConditions` (3 versions) + - Version 1: HealthcareService (hl7.fhir.r4.core#4.0.1), HealthcareService (hl7.fhir.r4.core#4.0.1), HealthcareService (hl7.fhir.r4.core#4.0.1), HealthcareService (hl7.fhir.r4.core#4.0.1), HealthcareService (hl7.fhir.r4.core#4.0.1), HealthcareService (hl7.fhir.r4.core#4.0.1), HealthcareService (hl7.fhir.r4.core#4.0.1), HealthcareService (hl7.fhir.r4.core#4.0.1), HealthcareService (hl7.fhir.r4.core#4.0.1), HealthcareService (hl7.fhir.r4.core#4.0.1) + - Version 2: HealthcareService (hl7.fhir.r5.core#5.0.0), HealthcareService (hl7.fhir.r5.core#5.0.0), HealthcareService (hl7.fhir.r5.core#5.0.0) + - Version 3: HealthcareService (hl7.fhir.r4.examples#4.0.1) +- `urn:fhir:binding:ServiceRequestCategory` (3 versions) + - Version 1: ServiceRequest (hl7.fhir.r4.core#4.0.1), ServiceRequest (hl7.fhir.r4.core#4.0.1), ServiceRequest (hl7.fhir.r4.core#4.0.1), ServiceRequest (hl7.fhir.r4.core#4.0.1), ServiceRequest (hl7.fhir.r4.core#4.0.1), ServiceRequest (hl7.fhir.r4.core#4.0.1), ServiceRequest (hl7.fhir.r4.core#4.0.1), ServiceRequest (hl7.fhir.r4.core#4.0.1), ServiceRequest (hl7.fhir.r4.core#4.0.1), us-core-servicerequest (hl7.fhir.us.core#8.0.1), ServiceRequest (hl7.fhir.r4.core#4.0.1) + - Version 2: ServiceRequest (hl7.fhir.r5.core#5.0.0), ServiceRequest (hl7.fhir.r5.core#5.0.0), ServiceRequest (hl7.fhir.r5.core#5.0.0) + - Version 3: ServiceRequest (hl7.fhir.r4.examples#4.0.1) +- `urn:fhir:binding:ServiceRequestCode` (3 versions) + - Version 1: ServiceRequest (hl7.fhir.r4.core#4.0.1), ServiceRequest (hl7.fhir.r4.core#4.0.1), ServiceRequest (hl7.fhir.r4.core#4.0.1), ServiceRequest (hl7.fhir.r4.core#4.0.1), ServiceRequest (hl7.fhir.r4.core#4.0.1), ServiceRequest (hl7.fhir.r4.core#4.0.1), ServiceRequest (hl7.fhir.r4.core#4.0.1), sdc-servicerequest (hl7.fhir.uv.sdc#3.0.0), ServiceRequest (hl7.fhir.r4.core#4.0.1), ServiceRequest (hl7.fhir.r4.core#4.0.1), ServiceRequest (hl7.fhir.r4.core#4.0.1), sdc-servicerequest (hl7.fhir.uv.sdc#3.0.0) + - Version 2: ServiceRequest (hl7.fhir.r5.core#5.0.0), ServiceRequest (hl7.fhir.r5.core#5.0.0), ServiceRequest (hl7.fhir.r5.core#5.0.0) + - Version 3: ServiceRequest (hl7.fhir.r4.examples#4.0.1) +- `urn:fhir:binding:ServiceRequestIntent` (3 versions) + - Version 1: ServiceRequest (hl7.fhir.r4.core#4.0.1), ServiceRequest (hl7.fhir.r4.core#4.0.1), ServiceRequest (hl7.fhir.r4.core#4.0.1), ServiceRequest (hl7.fhir.r4.core#4.0.1), ServiceRequest (hl7.fhir.r4.core#4.0.1), ServiceRequest (hl7.fhir.r4.core#4.0.1), ServiceRequest (hl7.fhir.r4.core#4.0.1), sdc-servicerequest (hl7.fhir.uv.sdc#3.0.0), ServiceRequest (hl7.fhir.r4.core#4.0.1), ServiceRequest (hl7.fhir.r4.core#4.0.1), us-core-servicerequest (hl7.fhir.us.core#8.0.1), ServiceRequest (hl7.fhir.r4.core#4.0.1), sdc-servicerequest (hl7.fhir.uv.sdc#3.0.0) + - Version 2: ServiceRequest (hl7.fhir.r5.core#5.0.0), ServiceRequest (hl7.fhir.r5.core#5.0.0), ServiceRequest (hl7.fhir.r5.core#5.0.0) + - Version 3: ServiceRequest (hl7.fhir.r4.examples#4.0.1) +- `urn:fhir:binding:ServiceRequestLocation` (2 versions) + - Version 1: ServiceRequest (hl7.fhir.r4.core#4.0.1), ServiceRequest (hl7.fhir.r4.core#4.0.1), ServiceRequest (hl7.fhir.r4.core#4.0.1), ServiceRequest (hl7.fhir.r5.core#5.0.0), ServiceRequest (hl7.fhir.r5.core#5.0.0), ServiceRequest (hl7.fhir.r5.core#5.0.0), ServiceRequest (hl7.fhir.r4.core#4.0.1), ServiceRequest (hl7.fhir.r4.core#4.0.1), ServiceRequest (hl7.fhir.r4.core#4.0.1), ServiceRequest (hl7.fhir.r4.core#4.0.1), ServiceRequest (hl7.fhir.r4.core#4.0.1), ServiceRequest (hl7.fhir.r4.core#4.0.1), ServiceRequest (hl7.fhir.r4.core#4.0.1) + - Version 2: ServiceRequest (hl7.fhir.r4.examples#4.0.1) +- `urn:fhir:binding:ServiceRequestParticipantRole` (3 versions) + - Version 1: ServiceRequest (hl7.fhir.r4.core#4.0.1), ServiceRequest (hl7.fhir.r4.core#4.0.1), ServiceRequest (hl7.fhir.r4.core#4.0.1), ServiceRequest (hl7.fhir.r4.core#4.0.1), ServiceRequest (hl7.fhir.r4.core#4.0.1), ServiceRequest (hl7.fhir.r4.core#4.0.1), ServiceRequest (hl7.fhir.r4.core#4.0.1), ServiceRequest (hl7.fhir.r4.core#4.0.1), ServiceRequest (hl7.fhir.r4.core#4.0.1), ServiceRequest (hl7.fhir.r4.core#4.0.1) + - Version 2: ServiceRequest (hl7.fhir.r5.core#5.0.0), ServiceRequest (hl7.fhir.r5.core#5.0.0), ServiceRequest (hl7.fhir.r5.core#5.0.0) + - Version 3: ServiceRequest (hl7.fhir.r4.examples#4.0.1) +- `urn:fhir:binding:ServiceRequestPriority` (3 versions) + - Version 1: ServiceRequest (hl7.fhir.r4.core#4.0.1), ServiceRequest (hl7.fhir.r4.core#4.0.1), ServiceRequest (hl7.fhir.r4.core#4.0.1), ServiceRequest (hl7.fhir.r4.core#4.0.1), ServiceRequest (hl7.fhir.r4.core#4.0.1), ServiceRequest (hl7.fhir.r4.core#4.0.1), ServiceRequest (hl7.fhir.r4.core#4.0.1), ServiceRequest (hl7.fhir.r4.core#4.0.1), ServiceRequest (hl7.fhir.r4.core#4.0.1), ServiceRequest (hl7.fhir.r4.core#4.0.1) + - Version 2: ServiceRequest (hl7.fhir.r5.core#5.0.0), ServiceRequest (hl7.fhir.r5.core#5.0.0), ServiceRequest (hl7.fhir.r5.core#5.0.0) + - Version 3: ServiceRequest (hl7.fhir.r4.examples#4.0.1) +- `urn:fhir:binding:ServiceRequestReason` (3 versions) + - Version 1: ServiceRequest (hl7.fhir.r4.core#4.0.1), ServiceRequest (hl7.fhir.r4.core#4.0.1), ServiceRequest (hl7.fhir.r4.core#4.0.1), ServiceRequest (hl7.fhir.r4.core#4.0.1), ServiceRequest (hl7.fhir.r4.core#4.0.1), ServiceRequest (hl7.fhir.r4.core#4.0.1), ServiceRequest (hl7.fhir.r4.core#4.0.1), sdc-servicerequest (hl7.fhir.uv.sdc#3.0.0), ServiceRequest (hl7.fhir.r4.core#4.0.1), ServiceRequest (hl7.fhir.r4.core#4.0.1), ServiceRequest (hl7.fhir.r4.core#4.0.1), sdc-servicerequest (hl7.fhir.uv.sdc#3.0.0) + - Version 2: ServiceRequest (hl7.fhir.r5.core#5.0.0), ServiceRequest (hl7.fhir.r5.core#5.0.0), ServiceRequest (hl7.fhir.r5.core#5.0.0) + - Version 3: ServiceRequest (hl7.fhir.r4.examples#4.0.1) +- `urn:fhir:binding:ServiceRequestStatus` (3 versions) + - Version 1: ServiceRequest (hl7.fhir.r4.core#4.0.1), ServiceRequest (hl7.fhir.r4.core#4.0.1), ServiceRequest (hl7.fhir.r4.core#4.0.1), ServiceRequest (hl7.fhir.r4.core#4.0.1), ServiceRequest (hl7.fhir.r4.core#4.0.1), ServiceRequest (hl7.fhir.r4.core#4.0.1), ServiceRequest (hl7.fhir.r4.core#4.0.1), sdc-servicerequest (hl7.fhir.uv.sdc#3.0.0), ServiceRequest (hl7.fhir.r4.core#4.0.1), ServiceRequest (hl7.fhir.r4.core#4.0.1), us-core-servicerequest (hl7.fhir.us.core#8.0.1), ServiceRequest (hl7.fhir.r4.core#4.0.1), sdc-servicerequest (hl7.fhir.uv.sdc#3.0.0) + - Version 2: ServiceRequest (hl7.fhir.r5.core#5.0.0), ServiceRequest (hl7.fhir.r5.core#5.0.0), ServiceRequest (hl7.fhir.r5.core#5.0.0) + - Version 3: ServiceRequest (hl7.fhir.r4.examples#4.0.1) +- `urn:fhir:binding:Sex` (3 versions) + - Version 1: familymemberhistory-genetic (hl7.fhir.r4.core#4.0.1), FamilyMemberHistory (hl7.fhir.r4.core#4.0.1), familymemberhistory-genetic (hl7.fhir.r4.core#4.0.1), FamilyMemberHistory (hl7.fhir.r4.core#4.0.1), familymemberhistory-genetic (hl7.fhir.r4.core#4.0.1), FamilyMemberHistory (hl7.fhir.r4.core#4.0.1), familymemberhistory-genetic (hl7.fhir.r4.core#4.0.1), FamilyMemberHistory (hl7.fhir.r4.core#4.0.1), familymemberhistory-genetic (hl7.fhir.r4.core#4.0.1), FamilyMemberHistory (hl7.fhir.r4.core#4.0.1), familymemberhistory-genetic (hl7.fhir.r4.core#4.0.1), FamilyMemberHistory (hl7.fhir.r4.core#4.0.1), familymemberhistory-genetic (hl7.fhir.r4.core#4.0.1), FamilyMemberHistory (hl7.fhir.r4.core#4.0.1), familymemberhistory-genetic (hl7.fhir.r4.core#4.0.1), FamilyMemberHistory (hl7.fhir.r4.core#4.0.1), familymemberhistory-genetic (hl7.fhir.r4.core#4.0.1), FamilyMemberHistory (hl7.fhir.r4.core#4.0.1), familymemberhistory-genetic (hl7.fhir.r4.core#4.0.1), FamilyMemberHistory (hl7.fhir.r4.core#4.0.1) + - Version 2: familymemberhistory-genetic (hl7.fhir.r5.core#5.0.0), FamilyMemberHistory (hl7.fhir.r5.core#5.0.0), familymemberhistory-genetic (hl7.fhir.r5.core#5.0.0), FamilyMemberHistory (hl7.fhir.r5.core#5.0.0), familymemberhistory-genetic (hl7.fhir.r5.core#5.0.0), FamilyMemberHistory (hl7.fhir.r5.core#5.0.0) + - Version 3: familymemberhistory-genetic (hl7.fhir.r4.examples#4.0.1), FamilyMemberHistory (hl7.fhir.r4.examples#4.0.1) +- `urn:fhir:binding:SignatureType` (3 versions) + - Version 1: Signature (hl7.fhir.r4.core#4.0.1), Signature (hl7.fhir.r4.core#4.0.1), Signature (hl7.fhir.r4.core#4.0.1), Signature (hl7.fhir.r4.core#4.0.1), Signature (hl7.fhir.r4.core#4.0.1), Signature (hl7.fhir.r4.core#4.0.1), Signature (hl7.fhir.r4.core#4.0.1), Signature (hl7.fhir.r4.core#4.0.1), Signature (hl7.fhir.r4.core#4.0.1), Signature (hl7.fhir.r4.core#4.0.1) + - Version 2: Signature (hl7.fhir.r5.core#5.0.0), Signature (hl7.fhir.r5.core#5.0.0), Signature (hl7.fhir.r5.core#5.0.0) + - Version 3: Signature (hl7.fhir.r4.examples#4.0.1) +- `urn:fhir:binding:SlicingRules` (3 versions) + - Version 1: ElementDefinition (hl7.fhir.r4.core#4.0.1), ElementDefinition (hl7.fhir.r4.core#4.0.1), ElementDefinition (hl7.fhir.r4.core#4.0.1), ElementDefinition (hl7.fhir.r4.core#4.0.1), ElementDefinition (hl7.fhir.r4.core#4.0.1), ElementDefinition (hl7.fhir.r4.core#4.0.1), ElementDefinition (hl7.fhir.r4.core#4.0.1), ElementDefinition (hl7.fhir.r4.core#4.0.1), ElementDefinition (hl7.fhir.r4.core#4.0.1), ElementDefinition (hl7.fhir.r4.core#4.0.1) + - Version 2: ElementDefinition (hl7.fhir.r5.core#5.0.0), ElementDefinition (hl7.fhir.r5.core#5.0.0), ElementDefinition (hl7.fhir.r5.core#5.0.0) + - Version 3: ElementDefinition (hl7.fhir.r4.examples#4.0.1) +- `urn:fhir:binding:SlotStatus` (3 versions) + - Version 1: Slot (hl7.fhir.r4.core#4.0.1), Slot (hl7.fhir.r4.core#4.0.1), Slot (hl7.fhir.r4.core#4.0.1), Slot (hl7.fhir.r4.core#4.0.1), Slot (hl7.fhir.r4.core#4.0.1), Slot (hl7.fhir.r4.core#4.0.1), Slot (hl7.fhir.r4.core#4.0.1), Slot (hl7.fhir.r4.core#4.0.1), Slot (hl7.fhir.r4.core#4.0.1), Slot (hl7.fhir.r4.core#4.0.1) + - Version 2: Slot (hl7.fhir.r5.core#5.0.0), Slot (hl7.fhir.r5.core#5.0.0), Slot (hl7.fhir.r5.core#5.0.0) + - Version 3: Slot (hl7.fhir.r4.examples#4.0.1) +- `urn:fhir:binding:SortDirection` (3 versions) + - Version 1: DataRequirement (hl7.fhir.r4.core#4.0.1), DataRequirement (hl7.fhir.r4.core#4.0.1), DataRequirement (hl7.fhir.r4.core#4.0.1), DataRequirement (hl7.fhir.r4.core#4.0.1), DataRequirement (hl7.fhir.r4.core#4.0.1), DataRequirement (hl7.fhir.r4.core#4.0.1), DataRequirement (hl7.fhir.r4.core#4.0.1), DataRequirement (hl7.fhir.r4.core#4.0.1), DataRequirement (hl7.fhir.r4.core#4.0.1), DataRequirement (hl7.fhir.r4.core#4.0.1) + - Version 2: DataRequirement (hl7.fhir.r5.core#5.0.0), DataRequirement (hl7.fhir.r5.core#5.0.0), DataRequirement (hl7.fhir.r5.core#5.0.0) + - Version 3: DataRequirement (hl7.fhir.r4.examples#4.0.1) +- `urn:fhir:binding:SPDXLicense` (3 versions) + - Version 1: ImplementationGuide (hl7.fhir.r4.core#4.0.1), ImplementationGuide (hl7.fhir.r4.core#4.0.1), ImplementationGuide (hl7.fhir.r4.core#4.0.1), ImplementationGuide (hl7.fhir.r4.core#4.0.1), ImplementationGuide (hl7.fhir.r4.core#4.0.1), ImplementationGuide (hl7.fhir.r4.core#4.0.1), ImplementationGuide (hl7.fhir.r4.core#4.0.1), ImplementationGuide (hl7.fhir.r4.core#4.0.1), ImplementationGuide (hl7.fhir.r4.core#4.0.1), ImplementationGuide (hl7.fhir.r4.core#4.0.1) + - Version 2: ImplementationGuide (hl7.fhir.r5.core#5.0.0), ImplementationGuide (hl7.fhir.r5.core#5.0.0), ImplementationGuide (hl7.fhir.r5.core#5.0.0) + - Version 3: ImplementationGuide (hl7.fhir.r4.examples#4.0.1) +- `urn:fhir:binding:specialty` (3 versions) + - Version 1: Appointment (hl7.fhir.r4.core#4.0.1), Schedule (hl7.fhir.r4.core#4.0.1), Slot (hl7.fhir.r4.core#4.0.1), Appointment (hl7.fhir.r4.core#4.0.1), Schedule (hl7.fhir.r4.core#4.0.1), Slot (hl7.fhir.r4.core#4.0.1), Appointment (hl7.fhir.r4.core#4.0.1), Schedule (hl7.fhir.r4.core#4.0.1), Slot (hl7.fhir.r4.core#4.0.1), Appointment (hl7.fhir.r4.core#4.0.1), Schedule (hl7.fhir.r4.core#4.0.1), Slot (hl7.fhir.r4.core#4.0.1), Appointment (hl7.fhir.r4.core#4.0.1), Schedule (hl7.fhir.r4.core#4.0.1), Slot (hl7.fhir.r4.core#4.0.1), Appointment (hl7.fhir.r4.core#4.0.1), Schedule (hl7.fhir.r4.core#4.0.1), Slot (hl7.fhir.r4.core#4.0.1), Appointment (hl7.fhir.r4.core#4.0.1), Schedule (hl7.fhir.r4.core#4.0.1), Slot (hl7.fhir.r4.core#4.0.1), Appointment (hl7.fhir.r4.core#4.0.1), Schedule (hl7.fhir.r4.core#4.0.1), Slot (hl7.fhir.r4.core#4.0.1), Appointment (hl7.fhir.r4.core#4.0.1), Schedule (hl7.fhir.r4.core#4.0.1), Slot (hl7.fhir.r4.core#4.0.1), Appointment (hl7.fhir.r4.core#4.0.1), Schedule (hl7.fhir.r4.core#4.0.1), Slot (hl7.fhir.r4.core#4.0.1) + - Version 2: Appointment (hl7.fhir.r5.core#5.0.0), Schedule (hl7.fhir.r5.core#5.0.0), Slot (hl7.fhir.r5.core#5.0.0), Appointment (hl7.fhir.r5.core#5.0.0), Schedule (hl7.fhir.r5.core#5.0.0), Slot (hl7.fhir.r5.core#5.0.0), Appointment (hl7.fhir.r5.core#5.0.0), Schedule (hl7.fhir.r5.core#5.0.0), Slot (hl7.fhir.r5.core#5.0.0) + - Version 3: Appointment (hl7.fhir.r4.examples#4.0.1), Schedule (hl7.fhir.r4.examples#4.0.1), Slot (hl7.fhir.r4.examples#4.0.1) +- `urn:fhir:binding:SpecimenCollection` (3 versions) + - Version 1: SpecimenDefinition (hl7.fhir.r4.core#4.0.1), SpecimenDefinition (hl7.fhir.r4.core#4.0.1), SpecimenDefinition (hl7.fhir.r4.core#4.0.1), SpecimenDefinition (hl7.fhir.r4.core#4.0.1), SpecimenDefinition (hl7.fhir.r4.core#4.0.1), SpecimenDefinition (hl7.fhir.r4.core#4.0.1), SpecimenDefinition (hl7.fhir.r4.core#4.0.1), SpecimenDefinition (hl7.fhir.r4.core#4.0.1), SpecimenDefinition (hl7.fhir.r4.core#4.0.1), SpecimenDefinition (hl7.fhir.r4.core#4.0.1) + - Version 2: SpecimenDefinition (hl7.fhir.r5.core#5.0.0), SpecimenDefinition (hl7.fhir.r5.core#5.0.0), SpecimenDefinition (hl7.fhir.r5.core#5.0.0) + - Version 3: SpecimenDefinition (hl7.fhir.r4.examples#4.0.1) +- `urn:fhir:binding:SpecimenCollectionMethod` (3 versions) + - Version 1: Specimen (hl7.fhir.r4.core#4.0.1), Specimen (hl7.fhir.r4.core#4.0.1), Specimen (hl7.fhir.r4.core#4.0.1), Specimen (hl7.fhir.r4.core#4.0.1), Specimen (hl7.fhir.r4.core#4.0.1), Specimen (hl7.fhir.r4.core#4.0.1), Specimen (hl7.fhir.r4.core#4.0.1), Specimen (hl7.fhir.r4.core#4.0.1), Specimen (hl7.fhir.r4.core#4.0.1), Specimen (hl7.fhir.r4.core#4.0.1) + - Version 2: Specimen (hl7.fhir.r5.core#5.0.0), Specimen (hl7.fhir.r5.core#5.0.0), Specimen (hl7.fhir.r5.core#5.0.0) + - Version 3: Specimen (hl7.fhir.r4.examples#4.0.1) +- `urn:fhir:binding:SpecimenCondition` (2 versions) + - Version 1: Specimen (hl7.fhir.r4.core#4.0.1), Specimen (hl7.fhir.r4.core#4.0.1), Specimen (hl7.fhir.r4.core#4.0.1), Specimen (hl7.fhir.r5.core#5.0.0), Specimen (hl7.fhir.r5.core#5.0.0), Specimen (hl7.fhir.r5.core#5.0.0), Specimen (hl7.fhir.r4.core#4.0.1), Specimen (hl7.fhir.r4.core#4.0.1), Specimen (hl7.fhir.r4.core#4.0.1), Specimen (hl7.fhir.r4.core#4.0.1), Specimen (hl7.fhir.r4.core#4.0.1), Specimen (hl7.fhir.r4.core#4.0.1), Specimen (hl7.fhir.r4.core#4.0.1) + - Version 2: Specimen (hl7.fhir.r4.examples#4.0.1) +- `urn:fhir:binding:SpecimenContainedPreference` (3 versions) + - Version 1: SpecimenDefinition (hl7.fhir.r4.core#4.0.1), SpecimenDefinition (hl7.fhir.r4.core#4.0.1), SpecimenDefinition (hl7.fhir.r4.core#4.0.1), SpecimenDefinition (hl7.fhir.r4.core#4.0.1), SpecimenDefinition (hl7.fhir.r4.core#4.0.1), SpecimenDefinition (hl7.fhir.r4.core#4.0.1), SpecimenDefinition (hl7.fhir.r4.core#4.0.1), SpecimenDefinition (hl7.fhir.r4.core#4.0.1), SpecimenDefinition (hl7.fhir.r4.core#4.0.1), SpecimenDefinition (hl7.fhir.r4.core#4.0.1) + - Version 2: SpecimenDefinition (hl7.fhir.r5.core#5.0.0), SpecimenDefinition (hl7.fhir.r5.core#5.0.0), SpecimenDefinition (hl7.fhir.r5.core#5.0.0) + - Version 3: SpecimenDefinition (hl7.fhir.r4.examples#4.0.1) +- `urn:fhir:binding:SpecimenContainerType` (2 versions) + - Version 1: Specimen (hl7.fhir.r4.core#4.0.1), Specimen (hl7.fhir.r4.core#4.0.1), Specimen (hl7.fhir.r4.core#4.0.1), Specimen (hl7.fhir.r4.core#4.0.1), Specimen (hl7.fhir.r4.core#4.0.1), Specimen (hl7.fhir.r4.core#4.0.1), Specimen (hl7.fhir.r4.core#4.0.1), Specimen (hl7.fhir.r4.core#4.0.1), Specimen (hl7.fhir.r4.core#4.0.1), Specimen (hl7.fhir.r4.core#4.0.1) + - Version 2: Specimen (hl7.fhir.r4.examples#4.0.1) +- `urn:fhir:binding:SpecimenProcessingProcedure` (2 versions) + - Version 1: Specimen (hl7.fhir.r4.core#4.0.1), Specimen (hl7.fhir.r4.core#4.0.1), Specimen (hl7.fhir.r4.core#4.0.1), Specimen (hl7.fhir.r4.core#4.0.1), Specimen (hl7.fhir.r4.core#4.0.1), Specimen (hl7.fhir.r4.core#4.0.1), Specimen (hl7.fhir.r4.core#4.0.1), Specimen (hl7.fhir.r4.core#4.0.1), Specimen (hl7.fhir.r4.core#4.0.1), Specimen (hl7.fhir.r4.core#4.0.1) + - Version 2: Specimen (hl7.fhir.r4.examples#4.0.1) +- `urn:fhir:binding:SpecimenStatus` (3 versions) + - Version 1: Specimen (hl7.fhir.r4.core#4.0.1), Specimen (hl7.fhir.r4.core#4.0.1), Specimen (hl7.fhir.r4.core#4.0.1), Specimen (hl7.fhir.r4.core#4.0.1), Specimen (hl7.fhir.r4.core#4.0.1), Specimen (hl7.fhir.r4.core#4.0.1), Specimen (hl7.fhir.r4.core#4.0.1), Specimen (hl7.fhir.r4.core#4.0.1), Specimen (hl7.fhir.r4.core#4.0.1), Specimen (hl7.fhir.r4.core#4.0.1) + - Version 2: Specimen (hl7.fhir.r5.core#5.0.0), Specimen (hl7.fhir.r5.core#5.0.0), Specimen (hl7.fhir.r5.core#5.0.0) + - Version 3: Specimen (hl7.fhir.r4.examples#4.0.1) +- `urn:fhir:binding:SpecimenType` (2 versions) + - Version 1: Specimen (hl7.fhir.r4.core#4.0.1), Specimen (hl7.fhir.r4.core#4.0.1), Specimen (hl7.fhir.r4.core#4.0.1), Specimen (hl7.fhir.r5.core#5.0.0), Specimen (hl7.fhir.r5.core#5.0.0), Specimen (hl7.fhir.r5.core#5.0.0), Specimen (hl7.fhir.r4.core#4.0.1), Specimen (hl7.fhir.r4.core#4.0.1), Specimen (hl7.fhir.r4.core#4.0.1), Specimen (hl7.fhir.r4.core#4.0.1), Specimen (hl7.fhir.r4.core#4.0.1), Specimen (hl7.fhir.r4.core#4.0.1), Specimen (hl7.fhir.r4.core#4.0.1) + - Version 2: Specimen (hl7.fhir.r4.examples#4.0.1) +- `urn:fhir:binding:status` (3 versions) + - Version 1: VerificationResult (hl7.fhir.r4.core#4.0.1), VerificationResult (hl7.fhir.r4.core#4.0.1), VerificationResult (hl7.fhir.r4.core#4.0.1), VerificationResult (hl7.fhir.r4.core#4.0.1), VerificationResult (hl7.fhir.r4.core#4.0.1), VerificationResult (hl7.fhir.r4.core#4.0.1), VerificationResult (hl7.fhir.r4.core#4.0.1), VerificationResult (hl7.fhir.r4.core#4.0.1), VerificationResult (hl7.fhir.r4.core#4.0.1), VerificationResult (hl7.fhir.r4.core#4.0.1) + - Version 2: VerificationResult (hl7.fhir.r5.core#5.0.0), VerificationResult (hl7.fhir.r5.core#5.0.0), VerificationResult (hl7.fhir.r5.core#5.0.0) + - Version 3: VerificationResult (hl7.fhir.r4.examples#4.0.1) +- `urn:fhir:binding:Status` (3 versions) + - Version 1: vitalsigns (hl7.fhir.r4.core#4.0.1), vitalsigns (hl7.fhir.r4.core#4.0.1), vitalsigns (hl7.fhir.r4.core#4.0.1), vitalsigns (hl7.fhir.r4.core#4.0.1), vitalsigns (hl7.fhir.r4.core#4.0.1), vitalsigns (hl7.fhir.r4.core#4.0.1), vitalsigns (hl7.fhir.r4.core#4.0.1), vitalsigns (hl7.fhir.r4.core#4.0.1), vitalsigns (hl7.fhir.r4.core#4.0.1), us-core-vital-signs (hl7.fhir.us.core#8.0.1), vitalsigns (hl7.fhir.r4.core#4.0.1) + - Version 2: vitalsigns (hl7.fhir.r5.core#5.0.0), vitalsigns (hl7.fhir.r5.core#5.0.0), vitalsigns (hl7.fhir.r5.core#5.0.0) + - Version 3: vitalsigns (hl7.fhir.r4.examples#4.0.1) +- `urn:fhir:binding:strandType` (3 versions) + - Version 1: MolecularSequence (hl7.fhir.r4.core#4.0.1), MolecularSequence (hl7.fhir.r4.core#4.0.1), MolecularSequence (hl7.fhir.r4.core#4.0.1), MolecularSequence (hl7.fhir.r4.core#4.0.1), MolecularSequence (hl7.fhir.r4.core#4.0.1), MolecularSequence (hl7.fhir.r4.core#4.0.1), MolecularSequence (hl7.fhir.r4.core#4.0.1), MolecularSequence (hl7.fhir.r4.core#4.0.1), MolecularSequence (hl7.fhir.r4.core#4.0.1), MolecularSequence (hl7.fhir.r4.core#4.0.1) + - Version 2: MolecularSequence (hl7.fhir.r5.core#5.0.0), MolecularSequence (hl7.fhir.r5.core#5.0.0), MolecularSequence (hl7.fhir.r5.core#5.0.0) + - Version 3: MolecularSequence (hl7.fhir.r4.examples#4.0.1) +- `urn:fhir:binding:StructureDefinitionKeyword` (3 versions) + - Version 1: StructureDefinition (hl7.fhir.r4.core#4.0.1), StructureDefinition (hl7.fhir.r4.core#4.0.1), StructureDefinition (hl7.fhir.r4.core#4.0.1), StructureDefinition (hl7.fhir.r4.core#4.0.1), StructureDefinition (hl7.fhir.r4.core#4.0.1), StructureDefinition (hl7.fhir.r4.core#4.0.1), StructureDefinition (hl7.fhir.r4.core#4.0.1), StructureDefinition (hl7.fhir.r4.core#4.0.1), StructureDefinition (hl7.fhir.r4.core#4.0.1), StructureDefinition (hl7.fhir.r4.core#4.0.1) + - Version 2: StructureDefinition (hl7.fhir.r5.core#5.0.0), StructureDefinition (hl7.fhir.r5.core#5.0.0), StructureDefinition (hl7.fhir.r5.core#5.0.0) + - Version 3: StructureDefinition (hl7.fhir.r4.examples#4.0.1) +- `urn:fhir:binding:StructureDefinitionKind` (3 versions) + - Version 1: StructureDefinition (hl7.fhir.r4.core#4.0.1), StructureDefinition (hl7.fhir.r4.core#4.0.1), StructureDefinition (hl7.fhir.r4.core#4.0.1), StructureDefinition (hl7.fhir.r4.core#4.0.1), StructureDefinition (hl7.fhir.r4.core#4.0.1), StructureDefinition (hl7.fhir.r4.core#4.0.1), StructureDefinition (hl7.fhir.r4.core#4.0.1), StructureDefinition (hl7.fhir.r4.core#4.0.1), StructureDefinition (hl7.fhir.r4.core#4.0.1), StructureDefinition (hl7.fhir.r4.core#4.0.1) + - Version 2: StructureDefinition (hl7.fhir.r5.core#5.0.0), StructureDefinition (hl7.fhir.r5.core#5.0.0), StructureDefinition (hl7.fhir.r5.core#5.0.0) + - Version 3: StructureDefinition (hl7.fhir.r4.examples#4.0.1) +- `urn:fhir:binding:StructureMapContextType` (2 versions) + - Version 1: StructureMap (hl7.fhir.r4.core#4.0.1), StructureMap (hl7.fhir.r4.core#4.0.1), StructureMap (hl7.fhir.r4.core#4.0.1), StructureMap (hl7.fhir.r4.core#4.0.1), StructureMap (hl7.fhir.r4.core#4.0.1), StructureMap (hl7.fhir.r4.core#4.0.1), StructureMap (hl7.fhir.r4.core#4.0.1), StructureMap (hl7.fhir.r4.core#4.0.1), StructureMap (hl7.fhir.r4.core#4.0.1), StructureMap (hl7.fhir.r4.core#4.0.1) + - Version 2: StructureMap (hl7.fhir.r4.examples#4.0.1) +- `urn:fhir:binding:StructureMapGroupTypeMode` (3 versions) + - Version 1: StructureMap (hl7.fhir.r4.core#4.0.1), StructureMap (hl7.fhir.r4.core#4.0.1), StructureMap (hl7.fhir.r4.core#4.0.1), StructureMap (hl7.fhir.r4.core#4.0.1), StructureMap (hl7.fhir.r4.core#4.0.1), StructureMap (hl7.fhir.r4.core#4.0.1), StructureMap (hl7.fhir.r4.core#4.0.1), StructureMap (hl7.fhir.r4.core#4.0.1), StructureMap (hl7.fhir.r4.core#4.0.1), StructureMap (hl7.fhir.r4.core#4.0.1) + - Version 2: StructureMap (hl7.fhir.r5.core#5.0.0), StructureMap (hl7.fhir.r5.core#5.0.0), StructureMap (hl7.fhir.r5.core#5.0.0) + - Version 3: StructureMap (hl7.fhir.r4.examples#4.0.1) +- `urn:fhir:binding:StructureMapInputMode` (3 versions) + - Version 1: StructureMap (hl7.fhir.r4.core#4.0.1), StructureMap (hl7.fhir.r4.core#4.0.1), StructureMap (hl7.fhir.r4.core#4.0.1), StructureMap (hl7.fhir.r4.core#4.0.1), StructureMap (hl7.fhir.r4.core#4.0.1), StructureMap (hl7.fhir.r4.core#4.0.1), StructureMap (hl7.fhir.r4.core#4.0.1), StructureMap (hl7.fhir.r4.core#4.0.1), StructureMap (hl7.fhir.r4.core#4.0.1), StructureMap (hl7.fhir.r4.core#4.0.1) + - Version 2: StructureMap (hl7.fhir.r5.core#5.0.0), StructureMap (hl7.fhir.r5.core#5.0.0), StructureMap (hl7.fhir.r5.core#5.0.0) + - Version 3: StructureMap (hl7.fhir.r4.examples#4.0.1) +- `urn:fhir:binding:StructureMapModelMode` (3 versions) + - Version 1: StructureMap (hl7.fhir.r4.core#4.0.1), StructureMap (hl7.fhir.r4.core#4.0.1), StructureMap (hl7.fhir.r4.core#4.0.1), StructureMap (hl7.fhir.r4.core#4.0.1), StructureMap (hl7.fhir.r4.core#4.0.1), StructureMap (hl7.fhir.r4.core#4.0.1), StructureMap (hl7.fhir.r4.core#4.0.1), StructureMap (hl7.fhir.r4.core#4.0.1), StructureMap (hl7.fhir.r4.core#4.0.1), StructureMap (hl7.fhir.r4.core#4.0.1) + - Version 2: StructureMap (hl7.fhir.r5.core#5.0.0), StructureMap (hl7.fhir.r5.core#5.0.0), StructureMap (hl7.fhir.r5.core#5.0.0) + - Version 3: StructureMap (hl7.fhir.r4.examples#4.0.1) +- `urn:fhir:binding:StructureMapSourceListMode` (3 versions) + - Version 1: StructureMap (hl7.fhir.r4.core#4.0.1), StructureMap (hl7.fhir.r4.core#4.0.1), StructureMap (hl7.fhir.r4.core#4.0.1), StructureMap (hl7.fhir.r4.core#4.0.1), StructureMap (hl7.fhir.r4.core#4.0.1), StructureMap (hl7.fhir.r4.core#4.0.1), StructureMap (hl7.fhir.r4.core#4.0.1), StructureMap (hl7.fhir.r4.core#4.0.1), StructureMap (hl7.fhir.r4.core#4.0.1), StructureMap (hl7.fhir.r4.core#4.0.1) + - Version 2: StructureMap (hl7.fhir.r5.core#5.0.0), StructureMap (hl7.fhir.r5.core#5.0.0), StructureMap (hl7.fhir.r5.core#5.0.0) + - Version 3: StructureMap (hl7.fhir.r4.examples#4.0.1) +- `urn:fhir:binding:StructureMapTargetListMode` (3 versions) + - Version 1: StructureMap (hl7.fhir.r4.core#4.0.1), StructureMap (hl7.fhir.r4.core#4.0.1), StructureMap (hl7.fhir.r4.core#4.0.1), StructureMap (hl7.fhir.r4.core#4.0.1), StructureMap (hl7.fhir.r4.core#4.0.1), StructureMap (hl7.fhir.r4.core#4.0.1), StructureMap (hl7.fhir.r4.core#4.0.1), StructureMap (hl7.fhir.r4.core#4.0.1), StructureMap (hl7.fhir.r4.core#4.0.1), StructureMap (hl7.fhir.r4.core#4.0.1) + - Version 2: StructureMap (hl7.fhir.r5.core#5.0.0), StructureMap (hl7.fhir.r5.core#5.0.0), StructureMap (hl7.fhir.r5.core#5.0.0) + - Version 3: StructureMap (hl7.fhir.r4.examples#4.0.1) +- `urn:fhir:binding:StructureMapTransform` (3 versions) + - Version 1: StructureMap (hl7.fhir.r4.core#4.0.1), StructureMap (hl7.fhir.r4.core#4.0.1), StructureMap (hl7.fhir.r4.core#4.0.1), StructureMap (hl7.fhir.r4.core#4.0.1), StructureMap (hl7.fhir.r4.core#4.0.1), StructureMap (hl7.fhir.r4.core#4.0.1), StructureMap (hl7.fhir.r4.core#4.0.1), StructureMap (hl7.fhir.r4.core#4.0.1), StructureMap (hl7.fhir.r4.core#4.0.1), StructureMap (hl7.fhir.r4.core#4.0.1) + - Version 2: StructureMap (hl7.fhir.r5.core#5.0.0), StructureMap (hl7.fhir.r5.core#5.0.0), StructureMap (hl7.fhir.r5.core#5.0.0) + - Version 3: StructureMap (hl7.fhir.r4.examples#4.0.1) +- `urn:fhir:binding:StudyDesign` (2 versions) + - Version 1: Evidence (hl7.fhir.r5.core#5.0.0), Evidence (hl7.fhir.r5.core#5.0.0), Evidence (hl7.fhir.r5.core#5.0.0) + - Version 2: ResearchStudy (hl7.fhir.r5.core#5.0.0), ResearchStudy (hl7.fhir.r5.core#5.0.0), ResearchStudy (hl7.fhir.r5.core#5.0.0) +- `urn:fhir:binding:StudyType` (2 versions) + - Version 1: EffectEvidenceSynthesis (hl7.fhir.r4.core#4.0.1), RiskEvidenceSynthesis (hl7.fhir.r4.core#4.0.1), EffectEvidenceSynthesis (hl7.fhir.r4.core#4.0.1), RiskEvidenceSynthesis (hl7.fhir.r4.core#4.0.1), EffectEvidenceSynthesis (hl7.fhir.r4.core#4.0.1), RiskEvidenceSynthesis (hl7.fhir.r4.core#4.0.1), EffectEvidenceSynthesis (hl7.fhir.r4.core#4.0.1), RiskEvidenceSynthesis (hl7.fhir.r4.core#4.0.1), EffectEvidenceSynthesis (hl7.fhir.r4.core#4.0.1), RiskEvidenceSynthesis (hl7.fhir.r4.core#4.0.1), EffectEvidenceSynthesis (hl7.fhir.r4.core#4.0.1), RiskEvidenceSynthesis (hl7.fhir.r4.core#4.0.1), EffectEvidenceSynthesis (hl7.fhir.r4.core#4.0.1), RiskEvidenceSynthesis (hl7.fhir.r4.core#4.0.1), EffectEvidenceSynthesis (hl7.fhir.r4.core#4.0.1), RiskEvidenceSynthesis (hl7.fhir.r4.core#4.0.1), EffectEvidenceSynthesis (hl7.fhir.r4.core#4.0.1), RiskEvidenceSynthesis (hl7.fhir.r4.core#4.0.1), EffectEvidenceSynthesis (hl7.fhir.r4.core#4.0.1), RiskEvidenceSynthesis (hl7.fhir.r4.core#4.0.1) + - Version 2: EffectEvidenceSynthesis (hl7.fhir.r4.examples#4.0.1), RiskEvidenceSynthesis (hl7.fhir.r4.examples#4.0.1) +- `urn:fhir:binding:SubpotentReason` (3 versions) + - Version 1: Immunization (hl7.fhir.r4.core#4.0.1), Immunization (hl7.fhir.r4.core#4.0.1), Immunization (hl7.fhir.r4.core#4.0.1), Immunization (hl7.fhir.r4.core#4.0.1), Immunization (hl7.fhir.r4.core#4.0.1), Immunization (hl7.fhir.r4.core#4.0.1), Immunization (hl7.fhir.r4.core#4.0.1), Immunization (hl7.fhir.r4.core#4.0.1), Immunization (hl7.fhir.r4.core#4.0.1), Immunization (hl7.fhir.r4.core#4.0.1) + - Version 2: Immunization (hl7.fhir.r5.core#5.0.0), Immunization (hl7.fhir.r5.core#5.0.0), Immunization (hl7.fhir.r5.core#5.0.0) + - Version 3: Immunization (hl7.fhir.r4.examples#4.0.1) +- `urn:fhir:binding:SubscriptionChannelType` (3 versions) + - Version 1: Subscription (hl7.fhir.r4.core#4.0.1), Subscription (hl7.fhir.r4.core#4.0.1), Subscription (hl7.fhir.r4.core#4.0.1), Subscription (hl7.fhir.r4.core#4.0.1), Subscription (hl7.fhir.r4.core#4.0.1), Subscription (hl7.fhir.r4.core#4.0.1), Subscription (hl7.fhir.r4.core#4.0.1), Subscription (hl7.fhir.r4.core#4.0.1), Subscription (hl7.fhir.r4.core#4.0.1), Subscription (hl7.fhir.r4.core#4.0.1) + - Version 2: Subscription (hl7.fhir.r5.core#5.0.0), Subscription (hl7.fhir.r5.core#5.0.0), Subscription (hl7.fhir.r5.core#5.0.0) + - Version 3: Subscription (hl7.fhir.r4.examples#4.0.1) +- `urn:fhir:binding:SubscriptionStatus` (3 versions) + - Version 1: Subscription (hl7.fhir.r4.core#4.0.1), Subscription (hl7.fhir.r4.core#4.0.1), Subscription (hl7.fhir.r4.core#4.0.1), Subscription (hl7.fhir.r4.core#4.0.1), Subscription (hl7.fhir.r4.core#4.0.1), Subscription (hl7.fhir.r4.core#4.0.1), Subscription (hl7.fhir.r4.core#4.0.1), Subscription (hl7.fhir.r4.core#4.0.1), Subscription (hl7.fhir.r4.core#4.0.1), Subscription (hl7.fhir.r4.core#4.0.1) + - Version 2: SubscriptionStatus (hl7.fhir.r5.core#5.0.0), SubscriptionStatus (hl7.fhir.r5.core#5.0.0), SubscriptionStatus (hl7.fhir.r5.core#5.0.0), SubscriptionStatus (hl7.fhir.r5.core#5.0.0), SubscriptionStatus (hl7.fhir.r5.core#5.0.0) + - Version 3: Subscription (hl7.fhir.r4.examples#4.0.1) +- `urn:fhir:binding:SubstanceCategory` (3 versions) + - Version 1: Substance (hl7.fhir.r4.core#4.0.1), Substance (hl7.fhir.r4.core#4.0.1), Substance (hl7.fhir.r4.core#4.0.1), Substance (hl7.fhir.r4.core#4.0.1), Substance (hl7.fhir.r4.core#4.0.1), Substance (hl7.fhir.r4.core#4.0.1), Substance (hl7.fhir.r4.core#4.0.1), Substance (hl7.fhir.r4.core#4.0.1), Substance (hl7.fhir.r4.core#4.0.1), Substance (hl7.fhir.r4.core#4.0.1) + - Version 2: Substance (hl7.fhir.r5.core#5.0.0), Substance (hl7.fhir.r5.core#5.0.0), Substance (hl7.fhir.r5.core#5.0.0) + - Version 3: Substance (hl7.fhir.r4.examples#4.0.1) +- `urn:fhir:binding:SubstanceCode` (3 versions) + - Version 1: Substance (hl7.fhir.r4.core#4.0.1), AllergyIntolerance (hl7.fhir.r4.core#4.0.1), Substance (hl7.fhir.r4.core#4.0.1), AllergyIntolerance (hl7.fhir.r4.core#4.0.1), Substance (hl7.fhir.r4.core#4.0.1), AllergyIntolerance (hl7.fhir.r4.core#4.0.1), Substance (hl7.fhir.r4.core#4.0.1), AllergyIntolerance (hl7.fhir.r4.core#4.0.1), Substance (hl7.fhir.r4.core#4.0.1), AllergyIntolerance (hl7.fhir.r4.core#4.0.1), Substance (hl7.fhir.r4.core#4.0.1), AllergyIntolerance (hl7.fhir.r4.core#4.0.1), Substance (hl7.fhir.r4.core#4.0.1), AllergyIntolerance (hl7.fhir.r4.core#4.0.1), Substance (hl7.fhir.r4.core#4.0.1), AllergyIntolerance (hl7.fhir.r4.core#4.0.1), Substance (hl7.fhir.r4.core#4.0.1), AllergyIntolerance (hl7.fhir.r4.core#4.0.1), Substance (hl7.fhir.r4.core#4.0.1), AllergyIntolerance (hl7.fhir.r4.core#4.0.1) + - Version 2: Substance (hl7.fhir.r5.core#5.0.0), AllergyIntolerance (hl7.fhir.r5.core#5.0.0), Substance (hl7.fhir.r5.core#5.0.0), AllergyIntolerance (hl7.fhir.r5.core#5.0.0), Substance (hl7.fhir.r5.core#5.0.0), AllergyIntolerance (hl7.fhir.r5.core#5.0.0) + - Version 3: Substance (hl7.fhir.r4.examples#4.0.1), AllergyIntolerance (hl7.fhir.r4.examples#4.0.1) +- `urn:fhir:binding:SupplementType` (3 versions) + - Version 1: NutritionOrder (hl7.fhir.r4.core#4.0.1), NutritionOrder (hl7.fhir.r4.core#4.0.1), NutritionOrder (hl7.fhir.r4.core#4.0.1), NutritionOrder (hl7.fhir.r4.core#4.0.1), NutritionOrder (hl7.fhir.r4.core#4.0.1), NutritionOrder (hl7.fhir.r4.core#4.0.1), NutritionOrder (hl7.fhir.r4.core#4.0.1), NutritionOrder (hl7.fhir.r4.core#4.0.1), NutritionOrder (hl7.fhir.r4.core#4.0.1), NutritionOrder (hl7.fhir.r4.core#4.0.1) + - Version 2: NutritionOrder (hl7.fhir.r5.core#5.0.0), NutritionOrder (hl7.fhir.r5.core#5.0.0), NutritionOrder (hl7.fhir.r5.core#5.0.0) + - Version 3: NutritionOrder (hl7.fhir.r4.examples#4.0.1) +- `urn:fhir:binding:SupplyDeliveryStatus` (3 versions) + - Version 1: SupplyDelivery (hl7.fhir.r4.core#4.0.1), SupplyDelivery (hl7.fhir.r4.core#4.0.1), SupplyDelivery (hl7.fhir.r4.core#4.0.1), SupplyDelivery (hl7.fhir.r4.core#4.0.1), SupplyDelivery (hl7.fhir.r4.core#4.0.1), SupplyDelivery (hl7.fhir.r4.core#4.0.1), SupplyDelivery (hl7.fhir.r4.core#4.0.1), SupplyDelivery (hl7.fhir.r4.core#4.0.1), SupplyDelivery (hl7.fhir.r4.core#4.0.1), SupplyDelivery (hl7.fhir.r4.core#4.0.1) + - Version 2: SupplyDelivery (hl7.fhir.r5.core#5.0.0), SupplyDelivery (hl7.fhir.r5.core#5.0.0), SupplyDelivery (hl7.fhir.r5.core#5.0.0) + - Version 3: SupplyDelivery (hl7.fhir.r4.examples#4.0.1) +- `urn:fhir:binding:SupplyDeliveryType` (2 versions) + - Version 1: SupplyDelivery (hl7.fhir.r4.core#4.0.1), SupplyDelivery (hl7.fhir.r4.core#4.0.1), SupplyDelivery (hl7.fhir.r4.core#4.0.1), SupplyDelivery (hl7.fhir.r4.core#4.0.1), SupplyDelivery (hl7.fhir.r4.core#4.0.1), SupplyDelivery (hl7.fhir.r4.core#4.0.1), SupplyDelivery (hl7.fhir.r4.core#4.0.1), SupplyDelivery (hl7.fhir.r4.core#4.0.1), SupplyDelivery (hl7.fhir.r4.core#4.0.1), SupplyDelivery (hl7.fhir.r4.core#4.0.1) + - Version 2: SupplyDelivery (hl7.fhir.r4.examples#4.0.1) +- `urn:fhir:binding:SupplyRequestKind` (3 versions) + - Version 1: SupplyRequest (hl7.fhir.r4.core#4.0.1), SupplyRequest (hl7.fhir.r4.core#4.0.1), SupplyRequest (hl7.fhir.r4.core#4.0.1), SupplyRequest (hl7.fhir.r4.core#4.0.1), SupplyRequest (hl7.fhir.r4.core#4.0.1), SupplyRequest (hl7.fhir.r4.core#4.0.1), SupplyRequest (hl7.fhir.r4.core#4.0.1), SupplyRequest (hl7.fhir.r4.core#4.0.1), SupplyRequest (hl7.fhir.r4.core#4.0.1), SupplyRequest (hl7.fhir.r4.core#4.0.1) + - Version 2: SupplyRequest (hl7.fhir.r5.core#5.0.0), SupplyRequest (hl7.fhir.r5.core#5.0.0), SupplyRequest (hl7.fhir.r5.core#5.0.0) + - Version 3: SupplyRequest (hl7.fhir.r4.examples#4.0.1) +- `urn:fhir:binding:SupplyRequestReason` (3 versions) + - Version 1: SupplyRequest (hl7.fhir.r4.core#4.0.1), SupplyRequest (hl7.fhir.r4.core#4.0.1), SupplyRequest (hl7.fhir.r4.core#4.0.1), SupplyRequest (hl7.fhir.r4.core#4.0.1), SupplyRequest (hl7.fhir.r4.core#4.0.1), SupplyRequest (hl7.fhir.r4.core#4.0.1), SupplyRequest (hl7.fhir.r4.core#4.0.1), SupplyRequest (hl7.fhir.r4.core#4.0.1), SupplyRequest (hl7.fhir.r4.core#4.0.1), SupplyRequest (hl7.fhir.r4.core#4.0.1) + - Version 2: SupplyRequest (hl7.fhir.r5.core#5.0.0), SupplyRequest (hl7.fhir.r5.core#5.0.0), SupplyRequest (hl7.fhir.r5.core#5.0.0) + - Version 3: SupplyRequest (hl7.fhir.r4.examples#4.0.1) +- `urn:fhir:binding:SupplyRequestStatus` (3 versions) + - Version 1: SupplyRequest (hl7.fhir.r4.core#4.0.1), SupplyRequest (hl7.fhir.r4.core#4.0.1), SupplyRequest (hl7.fhir.r4.core#4.0.1), SupplyRequest (hl7.fhir.r4.core#4.0.1), SupplyRequest (hl7.fhir.r4.core#4.0.1), SupplyRequest (hl7.fhir.r4.core#4.0.1), SupplyRequest (hl7.fhir.r4.core#4.0.1), SupplyRequest (hl7.fhir.r4.core#4.0.1), SupplyRequest (hl7.fhir.r4.core#4.0.1), SupplyRequest (hl7.fhir.r4.core#4.0.1) + - Version 2: SupplyRequest (hl7.fhir.r5.core#5.0.0), SupplyRequest (hl7.fhir.r5.core#5.0.0), SupplyRequest (hl7.fhir.r5.core#5.0.0) + - Version 3: SupplyRequest (hl7.fhir.r4.examples#4.0.1) +- `urn:fhir:binding:Surface` (3 versions) + - Version 1: Claim (hl7.fhir.r4.core#4.0.1), ClaimResponse (hl7.fhir.r4.core#4.0.1), ExplanationOfBenefit (hl7.fhir.r4.core#4.0.1), Claim (hl7.fhir.r4.core#4.0.1), ClaimResponse (hl7.fhir.r4.core#4.0.1), ExplanationOfBenefit (hl7.fhir.r4.core#4.0.1), Claim (hl7.fhir.r4.core#4.0.1), ClaimResponse (hl7.fhir.r4.core#4.0.1), ExplanationOfBenefit (hl7.fhir.r4.core#4.0.1), Claim (hl7.fhir.r4.core#4.0.1), ClaimResponse (hl7.fhir.r4.core#4.0.1), ExplanationOfBenefit (hl7.fhir.r4.core#4.0.1), Claim (hl7.fhir.r4.core#4.0.1), ClaimResponse (hl7.fhir.r4.core#4.0.1), ExplanationOfBenefit (hl7.fhir.r4.core#4.0.1), Claim (hl7.fhir.r4.core#4.0.1), ClaimResponse (hl7.fhir.r4.core#4.0.1), ExplanationOfBenefit (hl7.fhir.r4.core#4.0.1), Claim (hl7.fhir.r4.core#4.0.1), ClaimResponse (hl7.fhir.r4.core#4.0.1), ExplanationOfBenefit (hl7.fhir.r4.core#4.0.1), Claim (hl7.fhir.r4.core#4.0.1), ClaimResponse (hl7.fhir.r4.core#4.0.1), ExplanationOfBenefit (hl7.fhir.r4.core#4.0.1), Claim (hl7.fhir.r4.core#4.0.1), ClaimResponse (hl7.fhir.r4.core#4.0.1), ExplanationOfBenefit (hl7.fhir.r4.core#4.0.1), Claim (hl7.fhir.r4.core#4.0.1), ClaimResponse (hl7.fhir.r4.core#4.0.1), ExplanationOfBenefit (hl7.fhir.r4.core#4.0.1) + - Version 2: Claim (hl7.fhir.r5.core#5.0.0), ClaimResponse (hl7.fhir.r5.core#5.0.0), ExplanationOfBenefit (hl7.fhir.r5.core#5.0.0), Claim (hl7.fhir.r5.core#5.0.0), ClaimResponse (hl7.fhir.r5.core#5.0.0), ExplanationOfBenefit (hl7.fhir.r5.core#5.0.0), Claim (hl7.fhir.r5.core#5.0.0), ClaimResponse (hl7.fhir.r5.core#5.0.0), ExplanationOfBenefit (hl7.fhir.r5.core#5.0.0) + - Version 3: Claim (hl7.fhir.r4.examples#4.0.1), ClaimResponse (hl7.fhir.r4.examples#4.0.1), ExplanationOfBenefit (hl7.fhir.r4.examples#4.0.1) +- `urn:fhir:binding:SynthesisType` (3 versions) + - Version 1: EffectEvidenceSynthesis (hl7.fhir.r4.core#4.0.1), RiskEvidenceSynthesis (hl7.fhir.r4.core#4.0.1), EffectEvidenceSynthesis (hl7.fhir.r4.core#4.0.1), RiskEvidenceSynthesis (hl7.fhir.r4.core#4.0.1), EffectEvidenceSynthesis (hl7.fhir.r4.core#4.0.1), RiskEvidenceSynthesis (hl7.fhir.r4.core#4.0.1), EffectEvidenceSynthesis (hl7.fhir.r4.core#4.0.1), RiskEvidenceSynthesis (hl7.fhir.r4.core#4.0.1), EffectEvidenceSynthesis (hl7.fhir.r4.core#4.0.1), RiskEvidenceSynthesis (hl7.fhir.r4.core#4.0.1), EffectEvidenceSynthesis (hl7.fhir.r4.core#4.0.1), RiskEvidenceSynthesis (hl7.fhir.r4.core#4.0.1), EffectEvidenceSynthesis (hl7.fhir.r4.core#4.0.1), RiskEvidenceSynthesis (hl7.fhir.r4.core#4.0.1), EffectEvidenceSynthesis (hl7.fhir.r4.core#4.0.1), RiskEvidenceSynthesis (hl7.fhir.r4.core#4.0.1), EffectEvidenceSynthesis (hl7.fhir.r4.core#4.0.1), RiskEvidenceSynthesis (hl7.fhir.r4.core#4.0.1), EffectEvidenceSynthesis (hl7.fhir.r4.core#4.0.1), RiskEvidenceSynthesis (hl7.fhir.r4.core#4.0.1) + - Version 2: Evidence (hl7.fhir.r5.core#5.0.0), Evidence (hl7.fhir.r5.core#5.0.0), Evidence (hl7.fhir.r5.core#5.0.0) + - Version 3: EffectEvidenceSynthesis (hl7.fhir.r4.examples#4.0.1), RiskEvidenceSynthesis (hl7.fhir.r4.examples#4.0.1) +- `urn:fhir:binding:SystemRestfulInteraction` (3 versions) + - Version 1: CapabilityStatement (hl7.fhir.r4.core#4.0.1), CapabilityStatement (hl7.fhir.r4.core#4.0.1), CapabilityStatement (hl7.fhir.r4.core#4.0.1), CapabilityStatement (hl7.fhir.r4.core#4.0.1), CapabilityStatement (hl7.fhir.r4.core#4.0.1), CapabilityStatement (hl7.fhir.r4.core#4.0.1), CapabilityStatement (hl7.fhir.r4.core#4.0.1), CapabilityStatement (hl7.fhir.r4.core#4.0.1), CapabilityStatement (hl7.fhir.r4.core#4.0.1), CapabilityStatement (hl7.fhir.r4.core#4.0.1) + - Version 2: CapabilityStatement (hl7.fhir.r5.core#5.0.0), CapabilityStatement (hl7.fhir.r5.core#5.0.0), CapabilityStatement (hl7.fhir.r5.core#5.0.0) + - Version 3: CapabilityStatement (hl7.fhir.r4.examples#4.0.1) +- `urn:fhir:binding:Tags` (3 versions) + - Version 1: Meta (hl7.fhir.r4.core#4.0.1), Meta (hl7.fhir.r4.core#4.0.1), Meta (hl7.fhir.r4.core#4.0.1), Meta (hl7.fhir.r4.core#4.0.1), Meta (hl7.fhir.r4.core#4.0.1), Meta (hl7.fhir.r4.core#4.0.1), Meta (hl7.fhir.r4.core#4.0.1), Meta (hl7.fhir.r4.core#4.0.1), Meta (hl7.fhir.r4.core#4.0.1), Meta (hl7.fhir.r4.core#4.0.1) + - Version 2: Meta (hl7.fhir.r5.core#5.0.0), Meta (hl7.fhir.r5.core#5.0.0), Meta (hl7.fhir.r5.core#5.0.0) + - Version 3: Meta (hl7.fhir.r4.examples#4.0.1) +- `urn:fhir:binding:TargetDisease` (5 versions) + - Version 1: Immunization (hl7.fhir.r4.core#4.0.1), Immunization (hl7.fhir.r4.core#4.0.1), Immunization (hl7.fhir.r4.core#4.0.1), Immunization (hl7.fhir.r4.core#4.0.1), Immunization (hl7.fhir.r4.core#4.0.1), Immunization (hl7.fhir.r4.core#4.0.1), Immunization (hl7.fhir.r4.core#4.0.1), Immunization (hl7.fhir.r4.core#4.0.1), Immunization (hl7.fhir.r4.core#4.0.1), Immunization (hl7.fhir.r4.core#4.0.1) + - Version 2: ImmunizationRecommendation (hl7.fhir.r4.core#4.0.1), ImmunizationRecommendation (hl7.fhir.r4.core#4.0.1), ImmunizationRecommendation (hl7.fhir.r4.core#4.0.1), ImmunizationRecommendation (hl7.fhir.r4.core#4.0.1), ImmunizationRecommendation (hl7.fhir.r4.core#4.0.1), ImmunizationRecommendation (hl7.fhir.r4.core#4.0.1), ImmunizationRecommendation (hl7.fhir.r4.core#4.0.1), ImmunizationRecommendation (hl7.fhir.r4.core#4.0.1), ImmunizationRecommendation (hl7.fhir.r4.core#4.0.1), ImmunizationRecommendation (hl7.fhir.r4.core#4.0.1) + - Version 3: Immunization (hl7.fhir.r5.core#5.0.0), ImmunizationRecommendation (hl7.fhir.r5.core#5.0.0), Immunization (hl7.fhir.r5.core#5.0.0), ImmunizationRecommendation (hl7.fhir.r5.core#5.0.0), Immunization (hl7.fhir.r5.core#5.0.0), ImmunizationRecommendation (hl7.fhir.r5.core#5.0.0) + - Version 4: Immunization (hl7.fhir.r4.examples#4.0.1) + - Version 5: ImmunizationRecommendation (hl7.fhir.r4.examples#4.0.1) +- `urn:fhir:binding:TaskCode` (3 versions) + - Version 1: Task (hl7.fhir.r4.core#4.0.1), Task (hl7.fhir.r4.core#4.0.1), Task (hl7.fhir.r4.core#4.0.1), Task (hl7.fhir.r4.core#4.0.1), Task (hl7.fhir.r4.core#4.0.1), Task (hl7.fhir.r4.core#4.0.1), Task (hl7.fhir.r4.core#4.0.1), Task (hl7.fhir.r4.core#4.0.1), Task (hl7.fhir.r4.core#4.0.1), Task (hl7.fhir.r4.core#4.0.1) + - Version 2: Task (hl7.fhir.r5.core#5.0.0), Task (hl7.fhir.r5.core#5.0.0), Task (hl7.fhir.r5.core#5.0.0) + - Version 3: Task (hl7.fhir.r4.examples#4.0.1) +- `urn:fhir:binding:TaskIntent` (3 versions) + - Version 1: Task (hl7.fhir.r4.core#4.0.1), Task (hl7.fhir.r4.core#4.0.1), Task (hl7.fhir.r4.core#4.0.1), Task (hl7.fhir.r4.core#4.0.1), Task (hl7.fhir.r4.core#4.0.1), Task (hl7.fhir.r4.core#4.0.1), Task (hl7.fhir.r4.core#4.0.1), sdc-task (hl7.fhir.uv.sdc#3.0.0), Task (hl7.fhir.r4.core#4.0.1), Task (hl7.fhir.r4.core#4.0.1), Task (hl7.fhir.r4.core#4.0.1), sdc-task (hl7.fhir.uv.sdc#3.0.0) + - Version 2: Task (hl7.fhir.r5.core#5.0.0), Task (hl7.fhir.r5.core#5.0.0), Task (hl7.fhir.r5.core#5.0.0) + - Version 3: Task (hl7.fhir.r4.examples#4.0.1) +- `urn:fhir:binding:TaskPerformerType` (3 versions) + - Version 1: Task (hl7.fhir.r4.core#4.0.1), Task (hl7.fhir.r4.core#4.0.1), Task (hl7.fhir.r4.core#4.0.1), Task (hl7.fhir.r4.core#4.0.1), Task (hl7.fhir.r4.core#4.0.1), Task (hl7.fhir.r4.core#4.0.1), Task (hl7.fhir.r4.core#4.0.1), Task (hl7.fhir.r4.core#4.0.1), Task (hl7.fhir.r4.core#4.0.1), Task (hl7.fhir.r4.core#4.0.1) + - Version 2: Task (hl7.fhir.r5.core#5.0.0), Task (hl7.fhir.r5.core#5.0.0), Task (hl7.fhir.r5.core#5.0.0) + - Version 3: Task (hl7.fhir.r4.examples#4.0.1) +- `urn:fhir:binding:TaskPriority` (3 versions) + - Version 1: Task (hl7.fhir.r4.core#4.0.1), Task (hl7.fhir.r4.core#4.0.1), Task (hl7.fhir.r4.core#4.0.1), Task (hl7.fhir.r4.core#4.0.1), Task (hl7.fhir.r4.core#4.0.1), Task (hl7.fhir.r4.core#4.0.1), Task (hl7.fhir.r4.core#4.0.1), Task (hl7.fhir.r4.core#4.0.1), Task (hl7.fhir.r4.core#4.0.1), Task (hl7.fhir.r4.core#4.0.1) + - Version 2: Task (hl7.fhir.r5.core#5.0.0), Task (hl7.fhir.r5.core#5.0.0), Task (hl7.fhir.r5.core#5.0.0) + - Version 3: Task (hl7.fhir.r4.examples#4.0.1) +- `urn:fhir:binding:TaskStatus` (3 versions) + - Version 1: Task (hl7.fhir.r4.core#4.0.1), Task (hl7.fhir.r4.core#4.0.1), Task (hl7.fhir.r4.core#4.0.1), Task (hl7.fhir.r4.core#4.0.1), Task (hl7.fhir.r4.core#4.0.1), Task (hl7.fhir.r4.core#4.0.1), Task (hl7.fhir.r4.core#4.0.1), sdc-task (hl7.fhir.uv.sdc#3.0.0), Task (hl7.fhir.r4.core#4.0.1), Task (hl7.fhir.r4.core#4.0.1), Task (hl7.fhir.r4.core#4.0.1), sdc-task (hl7.fhir.uv.sdc#3.0.0) + - Version 2: Task (hl7.fhir.r5.core#5.0.0), Task (hl7.fhir.r5.core#5.0.0), Task (hl7.fhir.r5.core#5.0.0) + - Version 3: Task (hl7.fhir.r4.examples#4.0.1) +- `urn:fhir:binding:TestReportActionResult` (3 versions) + - Version 1: TestReport (hl7.fhir.r4.core#4.0.1), TestReport (hl7.fhir.r4.core#4.0.1), TestReport (hl7.fhir.r4.core#4.0.1), TestReport (hl7.fhir.r4.core#4.0.1), TestReport (hl7.fhir.r4.core#4.0.1), TestReport (hl7.fhir.r4.core#4.0.1), TestReport (hl7.fhir.r4.core#4.0.1), TestReport (hl7.fhir.r4.core#4.0.1), TestReport (hl7.fhir.r4.core#4.0.1), TestReport (hl7.fhir.r4.core#4.0.1) + - Version 2: TestReport (hl7.fhir.r5.core#5.0.0), TestReport (hl7.fhir.r5.core#5.0.0), TestReport (hl7.fhir.r5.core#5.0.0) + - Version 3: TestReport (hl7.fhir.r4.examples#4.0.1) +- `urn:fhir:binding:TestReportParticipantType` (3 versions) + - Version 1: TestReport (hl7.fhir.r4.core#4.0.1), TestReport (hl7.fhir.r4.core#4.0.1), TestReport (hl7.fhir.r4.core#4.0.1), TestReport (hl7.fhir.r4.core#4.0.1), TestReport (hl7.fhir.r4.core#4.0.1), TestReport (hl7.fhir.r4.core#4.0.1), TestReport (hl7.fhir.r4.core#4.0.1), TestReport (hl7.fhir.r4.core#4.0.1), TestReport (hl7.fhir.r4.core#4.0.1), TestReport (hl7.fhir.r4.core#4.0.1) + - Version 2: TestReport (hl7.fhir.r5.core#5.0.0), TestReport (hl7.fhir.r5.core#5.0.0), TestReport (hl7.fhir.r5.core#5.0.0) + - Version 3: TestReport (hl7.fhir.r4.examples#4.0.1) +- `urn:fhir:binding:TestReportResult` (3 versions) + - Version 1: TestReport (hl7.fhir.r4.core#4.0.1), TestReport (hl7.fhir.r4.core#4.0.1), TestReport (hl7.fhir.r4.core#4.0.1), TestReport (hl7.fhir.r4.core#4.0.1), TestReport (hl7.fhir.r4.core#4.0.1), TestReport (hl7.fhir.r4.core#4.0.1), TestReport (hl7.fhir.r4.core#4.0.1), TestReport (hl7.fhir.r4.core#4.0.1), TestReport (hl7.fhir.r4.core#4.0.1), TestReport (hl7.fhir.r4.core#4.0.1) + - Version 2: TestReport (hl7.fhir.r5.core#5.0.0), TestReport (hl7.fhir.r5.core#5.0.0), TestReport (hl7.fhir.r5.core#5.0.0) + - Version 3: TestReport (hl7.fhir.r4.examples#4.0.1) +- `urn:fhir:binding:TestReportStatus` (3 versions) + - Version 1: TestReport (hl7.fhir.r4.core#4.0.1), TestReport (hl7.fhir.r4.core#4.0.1), TestReport (hl7.fhir.r4.core#4.0.1), TestReport (hl7.fhir.r4.core#4.0.1), TestReport (hl7.fhir.r4.core#4.0.1), TestReport (hl7.fhir.r4.core#4.0.1), TestReport (hl7.fhir.r4.core#4.0.1), TestReport (hl7.fhir.r4.core#4.0.1), TestReport (hl7.fhir.r4.core#4.0.1), TestReport (hl7.fhir.r4.core#4.0.1) + - Version 2: TestReport (hl7.fhir.r5.core#5.0.0), TestReport (hl7.fhir.r5.core#5.0.0), TestReport (hl7.fhir.r5.core#5.0.0) + - Version 3: TestReport (hl7.fhir.r4.examples#4.0.1) +- `urn:fhir:binding:TestScriptOperationCode` (3 versions) + - Version 1: TestScript (hl7.fhir.r4.core#4.0.1), TestScript (hl7.fhir.r4.core#4.0.1), TestScript (hl7.fhir.r4.core#4.0.1), TestScript (hl7.fhir.r4.core#4.0.1), TestScript (hl7.fhir.r4.core#4.0.1), TestScript (hl7.fhir.r4.core#4.0.1), TestScript (hl7.fhir.r4.core#4.0.1), TestScript (hl7.fhir.r4.core#4.0.1), TestScript (hl7.fhir.r4.core#4.0.1), TestScript (hl7.fhir.r4.core#4.0.1) + - Version 2: TestScript (hl7.fhir.r5.core#5.0.0), TestScript (hl7.fhir.r5.core#5.0.0), TestScript (hl7.fhir.r5.core#5.0.0) + - Version 3: TestScript (hl7.fhir.r4.examples#4.0.1) +- `urn:fhir:binding:TestScriptProfileDestinationType` (3 versions) + - Version 1: TestScript (hl7.fhir.r4.core#4.0.1), TestScript (hl7.fhir.r4.core#4.0.1), TestScript (hl7.fhir.r4.core#4.0.1), TestScript (hl7.fhir.r4.core#4.0.1), TestScript (hl7.fhir.r4.core#4.0.1), TestScript (hl7.fhir.r4.core#4.0.1), TestScript (hl7.fhir.r4.core#4.0.1), TestScript (hl7.fhir.r4.core#4.0.1), TestScript (hl7.fhir.r4.core#4.0.1), TestScript (hl7.fhir.r4.core#4.0.1) + - Version 2: TestScript (hl7.fhir.r5.core#5.0.0), TestScript (hl7.fhir.r5.core#5.0.0), TestScript (hl7.fhir.r5.core#5.0.0) + - Version 3: TestScript (hl7.fhir.r4.examples#4.0.1) +- `urn:fhir:binding:TestScriptProfileOriginType` (3 versions) + - Version 1: TestScript (hl7.fhir.r4.core#4.0.1), TestScript (hl7.fhir.r4.core#4.0.1), TestScript (hl7.fhir.r4.core#4.0.1), TestScript (hl7.fhir.r4.core#4.0.1), TestScript (hl7.fhir.r4.core#4.0.1), TestScript (hl7.fhir.r4.core#4.0.1), TestScript (hl7.fhir.r4.core#4.0.1), TestScript (hl7.fhir.r4.core#4.0.1), TestScript (hl7.fhir.r4.core#4.0.1), TestScript (hl7.fhir.r4.core#4.0.1) + - Version 2: TestScript (hl7.fhir.r5.core#5.0.0), TestScript (hl7.fhir.r5.core#5.0.0), TestScript (hl7.fhir.r5.core#5.0.0) + - Version 3: TestScript (hl7.fhir.r4.examples#4.0.1) +- `urn:fhir:binding:TestScriptRequestMethodCode` (3 versions) + - Version 1: TestScript (hl7.fhir.r4.core#4.0.1), TestScript (hl7.fhir.r4.core#4.0.1), TestScript (hl7.fhir.r4.core#4.0.1), TestScript (hl7.fhir.r4.core#4.0.1), TestScript (hl7.fhir.r4.core#4.0.1), TestScript (hl7.fhir.r4.core#4.0.1), TestScript (hl7.fhir.r4.core#4.0.1), TestScript (hl7.fhir.r4.core#4.0.1), TestScript (hl7.fhir.r4.core#4.0.1), TestScript (hl7.fhir.r4.core#4.0.1) + - Version 2: TestScript (hl7.fhir.r5.core#5.0.0), TestScript (hl7.fhir.r5.core#5.0.0), TestScript (hl7.fhir.r5.core#5.0.0) + - Version 3: TestScript (hl7.fhir.r4.examples#4.0.1) +- `urn:fhir:binding:TextureModifiedFoodType` (3 versions) + - Version 1: NutritionOrder (hl7.fhir.r4.core#4.0.1), NutritionOrder (hl7.fhir.r4.core#4.0.1), NutritionOrder (hl7.fhir.r4.core#4.0.1), NutritionOrder (hl7.fhir.r4.core#4.0.1), NutritionOrder (hl7.fhir.r4.core#4.0.1), NutritionOrder (hl7.fhir.r4.core#4.0.1), NutritionOrder (hl7.fhir.r4.core#4.0.1), NutritionOrder (hl7.fhir.r4.core#4.0.1), NutritionOrder (hl7.fhir.r4.core#4.0.1), NutritionOrder (hl7.fhir.r4.core#4.0.1) + - Version 2: NutritionOrder (hl7.fhir.r5.core#5.0.0), NutritionOrder (hl7.fhir.r5.core#5.0.0), NutritionOrder (hl7.fhir.r5.core#5.0.0) + - Version 3: NutritionOrder (hl7.fhir.r4.examples#4.0.1) +- `urn:fhir:binding:TextureModifier` (3 versions) + - Version 1: NutritionOrder (hl7.fhir.r4.core#4.0.1), NutritionOrder (hl7.fhir.r4.core#4.0.1), NutritionOrder (hl7.fhir.r4.core#4.0.1), NutritionOrder (hl7.fhir.r4.core#4.0.1), NutritionOrder (hl7.fhir.r4.core#4.0.1), NutritionOrder (hl7.fhir.r4.core#4.0.1), NutritionOrder (hl7.fhir.r4.core#4.0.1), NutritionOrder (hl7.fhir.r4.core#4.0.1), NutritionOrder (hl7.fhir.r4.core#4.0.1), NutritionOrder (hl7.fhir.r4.core#4.0.1) + - Version 2: NutritionOrder (hl7.fhir.r5.core#5.0.0), NutritionOrder (hl7.fhir.r5.core#5.0.0), NutritionOrder (hl7.fhir.r5.core#5.0.0) + - Version 3: NutritionOrder (hl7.fhir.r4.examples#4.0.1) +- `urn:fhir:binding:TimingAbbreviation` (3 versions) + - Version 1: Timing (hl7.fhir.r4.core#4.0.1), Timing (hl7.fhir.r4.core#4.0.1), Timing (hl7.fhir.r4.core#4.0.1), Timing (hl7.fhir.r4.core#4.0.1), Timing (hl7.fhir.r4.core#4.0.1), Timing (hl7.fhir.r4.core#4.0.1), Timing (hl7.fhir.r4.core#4.0.1), Timing (hl7.fhir.r4.core#4.0.1), Timing (hl7.fhir.r4.core#4.0.1), Timing (hl7.fhir.r4.core#4.0.1) + - Version 2: Timing (hl7.fhir.r5.core#5.0.0), Timing (hl7.fhir.r5.core#5.0.0), Timing (hl7.fhir.r5.core#5.0.0) + - Version 3: Timing (hl7.fhir.r4.examples#4.0.1) +- `urn:fhir:binding:TriggerType` (3 versions) + - Version 1: TriggerDefinition (hl7.fhir.r4.core#4.0.1), TriggerDefinition (hl7.fhir.r4.core#4.0.1), TriggerDefinition (hl7.fhir.r4.core#4.0.1), TriggerDefinition (hl7.fhir.r4.core#4.0.1), TriggerDefinition (hl7.fhir.r4.core#4.0.1), TriggerDefinition (hl7.fhir.r4.core#4.0.1), TriggerDefinition (hl7.fhir.r4.core#4.0.1), TriggerDefinition (hl7.fhir.r4.core#4.0.1), TriggerDefinition (hl7.fhir.r4.core#4.0.1), TriggerDefinition (hl7.fhir.r4.core#4.0.1) + - Version 2: TriggerDefinition (hl7.fhir.r5.core#5.0.0), TriggerDefinition (hl7.fhir.r5.core#5.0.0), TriggerDefinition (hl7.fhir.r5.core#5.0.0) + - Version 3: TriggerDefinition (hl7.fhir.r4.examples#4.0.1) +- `urn:fhir:binding:TypeDerivationRule` (3 versions) + - Version 1: StructureDefinition (hl7.fhir.r4.core#4.0.1), StructureDefinition (hl7.fhir.r4.core#4.0.1), StructureDefinition (hl7.fhir.r4.core#4.0.1), StructureDefinition (hl7.fhir.r4.core#4.0.1), StructureDefinition (hl7.fhir.r4.core#4.0.1), StructureDefinition (hl7.fhir.r4.core#4.0.1), StructureDefinition (hl7.fhir.r4.core#4.0.1), StructureDefinition (hl7.fhir.r4.core#4.0.1), StructureDefinition (hl7.fhir.r4.core#4.0.1), StructureDefinition (hl7.fhir.r4.core#4.0.1) + - Version 2: StructureDefinition (hl7.fhir.r5.core#5.0.0), StructureDefinition (hl7.fhir.r5.core#5.0.0), StructureDefinition (hl7.fhir.r5.core#5.0.0) + - Version 3: StructureDefinition (hl7.fhir.r4.examples#4.0.1) +- `urn:fhir:binding:TypeRestfulInteraction` (3 versions) + - Version 1: CapabilityStatement (hl7.fhir.r4.core#4.0.1), CapabilityStatement (hl7.fhir.r4.core#4.0.1), CapabilityStatement (hl7.fhir.r4.core#4.0.1), CapabilityStatement (hl7.fhir.r4.core#4.0.1), CapabilityStatement (hl7.fhir.r4.core#4.0.1), CapabilityStatement (hl7.fhir.r4.core#4.0.1), CapabilityStatement (hl7.fhir.r4.core#4.0.1), CapabilityStatement (hl7.fhir.r4.core#4.0.1), CapabilityStatement (hl7.fhir.r4.core#4.0.1), CapabilityStatement (hl7.fhir.r4.core#4.0.1) + - Version 2: CapabilityStatement (hl7.fhir.r5.core#5.0.0), CapabilityStatement (hl7.fhir.r5.core#5.0.0), CapabilityStatement (hl7.fhir.r5.core#5.0.0) + - Version 3: CapabilityStatement (hl7.fhir.r4.examples#4.0.1) +- `urn:fhir:binding:UCUMUnits` (2 versions) + - Version 1: EffectEvidenceSynthesis (hl7.fhir.r4.core#4.0.1), ResearchElementDefinition (hl7.fhir.r4.core#4.0.1), RiskEvidenceSynthesis (hl7.fhir.r4.core#4.0.1), EffectEvidenceSynthesis (hl7.fhir.r4.core#4.0.1), ResearchElementDefinition (hl7.fhir.r4.core#4.0.1), RiskEvidenceSynthesis (hl7.fhir.r4.core#4.0.1), EffectEvidenceSynthesis (hl7.fhir.r4.core#4.0.1), ResearchElementDefinition (hl7.fhir.r4.core#4.0.1), RiskEvidenceSynthesis (hl7.fhir.r4.core#4.0.1), EffectEvidenceSynthesis (hl7.fhir.r4.core#4.0.1), ResearchElementDefinition (hl7.fhir.r4.core#4.0.1), RiskEvidenceSynthesis (hl7.fhir.r4.core#4.0.1), EffectEvidenceSynthesis (hl7.fhir.r4.core#4.0.1), ResearchElementDefinition (hl7.fhir.r4.core#4.0.1), RiskEvidenceSynthesis (hl7.fhir.r4.core#4.0.1), EffectEvidenceSynthesis (hl7.fhir.r4.core#4.0.1), ResearchElementDefinition (hl7.fhir.r4.core#4.0.1), RiskEvidenceSynthesis (hl7.fhir.r4.core#4.0.1), EffectEvidenceSynthesis (hl7.fhir.r4.core#4.0.1), ResearchElementDefinition (hl7.fhir.r4.core#4.0.1), RiskEvidenceSynthesis (hl7.fhir.r4.core#4.0.1), EffectEvidenceSynthesis (hl7.fhir.r4.core#4.0.1), ResearchElementDefinition (hl7.fhir.r4.core#4.0.1), RiskEvidenceSynthesis (hl7.fhir.r4.core#4.0.1), EffectEvidenceSynthesis (hl7.fhir.r4.core#4.0.1), ResearchElementDefinition (hl7.fhir.r4.core#4.0.1), RiskEvidenceSynthesis (hl7.fhir.r4.core#4.0.1), EffectEvidenceSynthesis (hl7.fhir.r4.core#4.0.1), ResearchElementDefinition (hl7.fhir.r4.core#4.0.1), RiskEvidenceSynthesis (hl7.fhir.r4.core#4.0.1) + - Version 2: EffectEvidenceSynthesis (hl7.fhir.r4.examples#4.0.1), ResearchElementDefinition (hl7.fhir.r4.examples#4.0.1), RiskEvidenceSynthesis (hl7.fhir.r4.examples#4.0.1) +- `urn:fhir:binding:UDIEntryType` (3 versions) + - Version 1: Device (hl7.fhir.r4.core#4.0.1), Device (hl7.fhir.r4.core#4.0.1), Device (hl7.fhir.r4.core#4.0.1), Device (hl7.fhir.r4.core#4.0.1), Device (hl7.fhir.r4.core#4.0.1), Device (hl7.fhir.r4.core#4.0.1), Device (hl7.fhir.r4.core#4.0.1), Device (hl7.fhir.r4.core#4.0.1), Device (hl7.fhir.r4.core#4.0.1), Device (hl7.fhir.r4.core#4.0.1) + - Version 2: Device (hl7.fhir.r5.core#5.0.0), Device (hl7.fhir.r5.core#5.0.0), Device (hl7.fhir.r5.core#5.0.0) + - Version 3: Device (hl7.fhir.r4.examples#4.0.1) +- `urn:fhir:binding:UnitsOfTime` (3 versions) + - Version 1: Timing (hl7.fhir.r4.core#4.0.1), Timing (hl7.fhir.r4.core#4.0.1), Timing (hl7.fhir.r4.core#4.0.1), Timing (hl7.fhir.r4.core#4.0.1), Timing (hl7.fhir.r4.core#4.0.1), Timing (hl7.fhir.r4.core#4.0.1), Timing (hl7.fhir.r4.core#4.0.1), Timing (hl7.fhir.r4.core#4.0.1), Timing (hl7.fhir.r4.core#4.0.1), Timing (hl7.fhir.r4.core#4.0.1) + - Version 2: Timing (hl7.fhir.r5.core#5.0.0), Timing (hl7.fhir.r5.core#5.0.0), Timing (hl7.fhir.r5.core#5.0.0) + - Version 3: Timing (hl7.fhir.r4.examples#4.0.1) +- `urn:fhir:binding:UsageContextType` (4 versions) + - Version 1: UsageContext (hl7.fhir.r4.core#4.0.1), UsageContext (hl7.fhir.r4.core#4.0.1), UsageContext (hl7.fhir.r4.core#4.0.1), UsageContext (hl7.fhir.r4.core#4.0.1), UsageContext (hl7.fhir.r4.core#4.0.1), UsageContext (hl7.fhir.r4.core#4.0.1), UsageContext (hl7.fhir.r4.core#4.0.1), sdc-usagecontext (hl7.fhir.uv.sdc#3.0.0), UsageContext (hl7.fhir.r4.core#4.0.1), UsageContext (hl7.fhir.r4.core#4.0.1), UsageContext (hl7.fhir.r4.core#4.0.1), sdc-usagecontext (hl7.fhir.uv.sdc#3.0.0) + - Version 2: UsageContext (hl7.fhir.r5.core#5.0.0), UsageContext (hl7.fhir.r5.core#5.0.0), UsageContext (hl7.fhir.r5.core#5.0.0) + - Version 3: EvidenceVariable (hl7.fhir.r5.core#5.0.0), EvidenceVariable (hl7.fhir.r5.core#5.0.0), EvidenceVariable (hl7.fhir.r5.core#5.0.0) + - Version 4: UsageContext (hl7.fhir.r4.examples#4.0.1) +- `urn:fhir:binding:Use` (3 versions) + - Version 1: Claim (hl7.fhir.r4.core#4.0.1), ClaimResponse (hl7.fhir.r4.core#4.0.1), ExplanationOfBenefit (hl7.fhir.r4.core#4.0.1), Claim (hl7.fhir.r4.core#4.0.1), ClaimResponse (hl7.fhir.r4.core#4.0.1), ExplanationOfBenefit (hl7.fhir.r4.core#4.0.1), Claim (hl7.fhir.r4.core#4.0.1), ClaimResponse (hl7.fhir.r4.core#4.0.1), ExplanationOfBenefit (hl7.fhir.r4.core#4.0.1), Claim (hl7.fhir.r4.core#4.0.1), ClaimResponse (hl7.fhir.r4.core#4.0.1), ExplanationOfBenefit (hl7.fhir.r4.core#4.0.1), Claim (hl7.fhir.r4.core#4.0.1), ClaimResponse (hl7.fhir.r4.core#4.0.1), ExplanationOfBenefit (hl7.fhir.r4.core#4.0.1), Claim (hl7.fhir.r4.core#4.0.1), ClaimResponse (hl7.fhir.r4.core#4.0.1), ExplanationOfBenefit (hl7.fhir.r4.core#4.0.1), Claim (hl7.fhir.r4.core#4.0.1), ClaimResponse (hl7.fhir.r4.core#4.0.1), ExplanationOfBenefit (hl7.fhir.r4.core#4.0.1), Claim (hl7.fhir.r4.core#4.0.1), ClaimResponse (hl7.fhir.r4.core#4.0.1), ExplanationOfBenefit (hl7.fhir.r4.core#4.0.1), Claim (hl7.fhir.r4.core#4.0.1), ClaimResponse (hl7.fhir.r4.core#4.0.1), ExplanationOfBenefit (hl7.fhir.r4.core#4.0.1), Claim (hl7.fhir.r4.core#4.0.1), ClaimResponse (hl7.fhir.r4.core#4.0.1), ExplanationOfBenefit (hl7.fhir.r4.core#4.0.1) + - Version 2: Claim (hl7.fhir.r5.core#5.0.0), ClaimResponse (hl7.fhir.r5.core#5.0.0), ExplanationOfBenefit (hl7.fhir.r5.core#5.0.0), Claim (hl7.fhir.r5.core#5.0.0), ClaimResponse (hl7.fhir.r5.core#5.0.0), ExplanationOfBenefit (hl7.fhir.r5.core#5.0.0), Claim (hl7.fhir.r5.core#5.0.0), ClaimResponse (hl7.fhir.r5.core#5.0.0), ExplanationOfBenefit (hl7.fhir.r5.core#5.0.0) + - Version 3: Claim (hl7.fhir.r4.examples#4.0.1), ClaimResponse (hl7.fhir.r4.examples#4.0.1), ExplanationOfBenefit (hl7.fhir.r4.examples#4.0.1) +- `urn:fhir:binding:v3Act` (2 versions) + - Version 1: DocumentManifest (hl7.fhir.r4.core#4.0.1), DocumentManifest (hl7.fhir.r4.core#4.0.1), DocumentManifest (hl7.fhir.r4.core#4.0.1), DocumentManifest (hl7.fhir.r4.core#4.0.1), DocumentManifest (hl7.fhir.r4.core#4.0.1), DocumentManifest (hl7.fhir.r4.core#4.0.1), DocumentManifest (hl7.fhir.r4.core#4.0.1), DocumentManifest (hl7.fhir.r4.core#4.0.1), DocumentManifest (hl7.fhir.r4.core#4.0.1), DocumentManifest (hl7.fhir.r4.core#4.0.1) + - Version 2: DocumentManifest (hl7.fhir.r4.examples#4.0.1) +- `urn:fhir:binding:VaccineCode` (3 versions) + - Version 1: Immunization (hl7.fhir.r4.core#4.0.1), ImmunizationRecommendation (hl7.fhir.r4.core#4.0.1), Immunization (hl7.fhir.r4.core#4.0.1), ImmunizationRecommendation (hl7.fhir.r4.core#4.0.1), Immunization (hl7.fhir.r4.core#4.0.1), ImmunizationRecommendation (hl7.fhir.r4.core#4.0.1), Immunization (hl7.fhir.r4.core#4.0.1), ImmunizationRecommendation (hl7.fhir.r4.core#4.0.1), Immunization (hl7.fhir.r4.core#4.0.1), ImmunizationRecommendation (hl7.fhir.r4.core#4.0.1), Immunization (hl7.fhir.r4.core#4.0.1), ImmunizationRecommendation (hl7.fhir.r4.core#4.0.1), Immunization (hl7.fhir.r4.core#4.0.1), ImmunizationRecommendation (hl7.fhir.r4.core#4.0.1), Immunization (hl7.fhir.r4.core#4.0.1), ImmunizationRecommendation (hl7.fhir.r4.core#4.0.1), Immunization (hl7.fhir.r4.core#4.0.1), ImmunizationRecommendation (hl7.fhir.r4.core#4.0.1), Immunization (hl7.fhir.r4.core#4.0.1), ImmunizationRecommendation (hl7.fhir.r4.core#4.0.1) + - Version 2: Immunization (hl7.fhir.r5.core#5.0.0), ImmunizationRecommendation (hl7.fhir.r5.core#5.0.0), Immunization (hl7.fhir.r5.core#5.0.0), ImmunizationRecommendation (hl7.fhir.r5.core#5.0.0), Immunization (hl7.fhir.r5.core#5.0.0), ImmunizationRecommendation (hl7.fhir.r5.core#5.0.0) + - Version 3: Immunization (hl7.fhir.r4.examples#4.0.1), ImmunizationRecommendation (hl7.fhir.r4.examples#4.0.1) +- `urn:fhir:binding:validation-process` (3 versions) + - Version 1: VerificationResult (hl7.fhir.r4.core#4.0.1), VerificationResult (hl7.fhir.r4.core#4.0.1), VerificationResult (hl7.fhir.r4.core#4.0.1), VerificationResult (hl7.fhir.r4.core#4.0.1), VerificationResult (hl7.fhir.r4.core#4.0.1), VerificationResult (hl7.fhir.r4.core#4.0.1), VerificationResult (hl7.fhir.r4.core#4.0.1), VerificationResult (hl7.fhir.r4.core#4.0.1), VerificationResult (hl7.fhir.r4.core#4.0.1), VerificationResult (hl7.fhir.r4.core#4.0.1) + - Version 2: VerificationResult (hl7.fhir.r5.core#5.0.0), VerificationResult (hl7.fhir.r5.core#5.0.0), VerificationResult (hl7.fhir.r5.core#5.0.0) + - Version 3: VerificationResult (hl7.fhir.r4.examples#4.0.1) +- `urn:fhir:binding:validation-status` (3 versions) + - Version 1: VerificationResult (hl7.fhir.r4.core#4.0.1), VerificationResult (hl7.fhir.r4.core#4.0.1), VerificationResult (hl7.fhir.r4.core#4.0.1), VerificationResult (hl7.fhir.r4.core#4.0.1), VerificationResult (hl7.fhir.r4.core#4.0.1), VerificationResult (hl7.fhir.r4.core#4.0.1), VerificationResult (hl7.fhir.r4.core#4.0.1), VerificationResult (hl7.fhir.r4.core#4.0.1), VerificationResult (hl7.fhir.r4.core#4.0.1), VerificationResult (hl7.fhir.r4.core#4.0.1) + - Version 2: VerificationResult (hl7.fhir.r5.core#5.0.0), VerificationResult (hl7.fhir.r5.core#5.0.0), VerificationResult (hl7.fhir.r5.core#5.0.0) + - Version 3: VerificationResult (hl7.fhir.r4.examples#4.0.1) +- `urn:fhir:binding:validation-type` (3 versions) + - Version 1: VerificationResult (hl7.fhir.r4.core#4.0.1), VerificationResult (hl7.fhir.r4.core#4.0.1), VerificationResult (hl7.fhir.r4.core#4.0.1), VerificationResult (hl7.fhir.r4.core#4.0.1), VerificationResult (hl7.fhir.r4.core#4.0.1), VerificationResult (hl7.fhir.r4.core#4.0.1), VerificationResult (hl7.fhir.r4.core#4.0.1), VerificationResult (hl7.fhir.r4.core#4.0.1), VerificationResult (hl7.fhir.r4.core#4.0.1), VerificationResult (hl7.fhir.r4.core#4.0.1) + - Version 2: VerificationResult (hl7.fhir.r5.core#5.0.0), VerificationResult (hl7.fhir.r5.core#5.0.0), VerificationResult (hl7.fhir.r5.core#5.0.0) + - Version 3: VerificationResult (hl7.fhir.r4.examples#4.0.1) +- `urn:fhir:binding:VariableType` (2 versions) + - Version 1: ResearchElementDefinition (hl7.fhir.r4.core#4.0.1), ResearchElementDefinition (hl7.fhir.r4.core#4.0.1), ResearchElementDefinition (hl7.fhir.r4.core#4.0.1), ResearchElementDefinition (hl7.fhir.r4.core#4.0.1), ResearchElementDefinition (hl7.fhir.r4.core#4.0.1), ResearchElementDefinition (hl7.fhir.r4.core#4.0.1), ResearchElementDefinition (hl7.fhir.r4.core#4.0.1), ResearchElementDefinition (hl7.fhir.r4.core#4.0.1), ResearchElementDefinition (hl7.fhir.r4.core#4.0.1), ResearchElementDefinition (hl7.fhir.r4.core#4.0.1) + - Version 2: ResearchElementDefinition (hl7.fhir.r4.examples#4.0.1) +- `urn:fhir:binding:VisionBase` (3 versions) + - Version 1: VisionPrescription (hl7.fhir.r4.core#4.0.1), VisionPrescription (hl7.fhir.r4.core#4.0.1), VisionPrescription (hl7.fhir.r4.core#4.0.1), VisionPrescription (hl7.fhir.r4.core#4.0.1), VisionPrescription (hl7.fhir.r4.core#4.0.1), VisionPrescription (hl7.fhir.r4.core#4.0.1), VisionPrescription (hl7.fhir.r4.core#4.0.1), VisionPrescription (hl7.fhir.r4.core#4.0.1), VisionPrescription (hl7.fhir.r4.core#4.0.1), VisionPrescription (hl7.fhir.r4.core#4.0.1) + - Version 2: VisionPrescription (hl7.fhir.r5.core#5.0.0), VisionPrescription (hl7.fhir.r5.core#5.0.0), VisionPrescription (hl7.fhir.r5.core#5.0.0) + - Version 3: VisionPrescription (hl7.fhir.r4.examples#4.0.1) +- `urn:fhir:binding:VisionEyes` (3 versions) + - Version 1: VisionPrescription (hl7.fhir.r4.core#4.0.1), VisionPrescription (hl7.fhir.r4.core#4.0.1), VisionPrescription (hl7.fhir.r4.core#4.0.1), VisionPrescription (hl7.fhir.r4.core#4.0.1), VisionPrescription (hl7.fhir.r4.core#4.0.1), VisionPrescription (hl7.fhir.r4.core#4.0.1), VisionPrescription (hl7.fhir.r4.core#4.0.1), VisionPrescription (hl7.fhir.r4.core#4.0.1), VisionPrescription (hl7.fhir.r4.core#4.0.1), VisionPrescription (hl7.fhir.r4.core#4.0.1) + - Version 2: VisionPrescription (hl7.fhir.r5.core#5.0.0), VisionPrescription (hl7.fhir.r5.core#5.0.0), VisionPrescription (hl7.fhir.r5.core#5.0.0) + - Version 3: VisionPrescription (hl7.fhir.r4.examples#4.0.1) +- `urn:fhir:binding:VisionProduct` (3 versions) + - Version 1: VisionPrescription (hl7.fhir.r4.core#4.0.1), VisionPrescription (hl7.fhir.r4.core#4.0.1), VisionPrescription (hl7.fhir.r4.core#4.0.1), VisionPrescription (hl7.fhir.r4.core#4.0.1), VisionPrescription (hl7.fhir.r4.core#4.0.1), VisionPrescription (hl7.fhir.r4.core#4.0.1), VisionPrescription (hl7.fhir.r4.core#4.0.1), VisionPrescription (hl7.fhir.r4.core#4.0.1), VisionPrescription (hl7.fhir.r4.core#4.0.1), VisionPrescription (hl7.fhir.r4.core#4.0.1) + - Version 2: VisionPrescription (hl7.fhir.r5.core#5.0.0), VisionPrescription (hl7.fhir.r5.core#5.0.0), VisionPrescription (hl7.fhir.r5.core#5.0.0) + - Version 3: VisionPrescription (hl7.fhir.r4.examples#4.0.1) +- `urn:fhir:binding:VisionStatus` (3 versions) + - Version 1: VisionPrescription (hl7.fhir.r4.core#4.0.1), VisionPrescription (hl7.fhir.r4.core#4.0.1), VisionPrescription (hl7.fhir.r4.core#4.0.1), VisionPrescription (hl7.fhir.r4.core#4.0.1), VisionPrescription (hl7.fhir.r4.core#4.0.1), VisionPrescription (hl7.fhir.r4.core#4.0.1), VisionPrescription (hl7.fhir.r4.core#4.0.1), VisionPrescription (hl7.fhir.r4.core#4.0.1), VisionPrescription (hl7.fhir.r4.core#4.0.1), VisionPrescription (hl7.fhir.r4.core#4.0.1) + - Version 2: VisionPrescription (hl7.fhir.r5.core#5.0.0), VisionPrescription (hl7.fhir.r5.core#5.0.0), VisionPrescription (hl7.fhir.r5.core#5.0.0) + - Version 3: VisionPrescription (hl7.fhir.r4.examples#4.0.1) +- `urn:fhir:binding:VitalSigns` (3 versions) + - Version 1: vitalsigns (hl7.fhir.r4.core#4.0.1), headcircum (hl7.fhir.r4.core#4.0.1), resprate (hl7.fhir.r4.core#4.0.1), vitalspanel (hl7.fhir.r4.core#4.0.1), heartrate (hl7.fhir.r4.core#4.0.1), bp (hl7.fhir.r4.core#4.0.1), bodytemp (hl7.fhir.r4.core#4.0.1), bodyweight (hl7.fhir.r4.core#4.0.1), bodyheight (hl7.fhir.r4.core#4.0.1), bmi (hl7.fhir.r4.core#4.0.1), oxygensat (hl7.fhir.r4.core#4.0.1), vitalsigns (hl7.fhir.r4.core#4.0.1), headcircum (hl7.fhir.r4.core#4.0.1), resprate (hl7.fhir.r4.core#4.0.1), vitalspanel (hl7.fhir.r4.core#4.0.1), heartrate (hl7.fhir.r4.core#4.0.1), bp (hl7.fhir.r4.core#4.0.1), bodytemp (hl7.fhir.r4.core#4.0.1), bodyweight (hl7.fhir.r4.core#4.0.1), bodyheight (hl7.fhir.r4.core#4.0.1), bmi (hl7.fhir.r4.core#4.0.1), oxygensat (hl7.fhir.r4.core#4.0.1), vitalsigns (hl7.fhir.r4.core#4.0.1), headcircum (hl7.fhir.r4.core#4.0.1), resprate (hl7.fhir.r4.core#4.0.1), vitalspanel (hl7.fhir.r4.core#4.0.1), heartrate (hl7.fhir.r4.core#4.0.1), bp (hl7.fhir.r4.core#4.0.1), bodytemp (hl7.fhir.r4.core#4.0.1), bodyweight (hl7.fhir.r4.core#4.0.1), bodyheight (hl7.fhir.r4.core#4.0.1), bmi (hl7.fhir.r4.core#4.0.1), oxygensat (hl7.fhir.r4.core#4.0.1), vitalsigns (hl7.fhir.r4.core#4.0.1), headcircum (hl7.fhir.r4.core#4.0.1), resprate (hl7.fhir.r4.core#4.0.1), vitalspanel (hl7.fhir.r4.core#4.0.1), heartrate (hl7.fhir.r4.core#4.0.1), bp (hl7.fhir.r4.core#4.0.1), bodytemp (hl7.fhir.r4.core#4.0.1), bodyweight (hl7.fhir.r4.core#4.0.1), bodyheight (hl7.fhir.r4.core#4.0.1), bmi (hl7.fhir.r4.core#4.0.1), oxygensat (hl7.fhir.r4.core#4.0.1), vitalsigns (hl7.fhir.r4.core#4.0.1), headcircum (hl7.fhir.r4.core#4.0.1), resprate (hl7.fhir.r4.core#4.0.1), vitalspanel (hl7.fhir.r4.core#4.0.1), heartrate (hl7.fhir.r4.core#4.0.1), bp (hl7.fhir.r4.core#4.0.1), bodytemp (hl7.fhir.r4.core#4.0.1), bodyweight (hl7.fhir.r4.core#4.0.1), bodyheight (hl7.fhir.r4.core#4.0.1), bmi (hl7.fhir.r4.core#4.0.1), oxygensat (hl7.fhir.r4.core#4.0.1), vitalsigns (hl7.fhir.r4.core#4.0.1), headcircum (hl7.fhir.r4.core#4.0.1), resprate (hl7.fhir.r4.core#4.0.1), vitalspanel (hl7.fhir.r4.core#4.0.1), heartrate (hl7.fhir.r4.core#4.0.1), bp (hl7.fhir.r4.core#4.0.1), bodytemp (hl7.fhir.r4.core#4.0.1), bodyweight (hl7.fhir.r4.core#4.0.1), bodyheight (hl7.fhir.r4.core#4.0.1), bmi (hl7.fhir.r4.core#4.0.1), oxygensat (hl7.fhir.r4.core#4.0.1), vitalsigns (hl7.fhir.r4.core#4.0.1), headcircum (hl7.fhir.r4.core#4.0.1), resprate (hl7.fhir.r4.core#4.0.1), vitalspanel (hl7.fhir.r4.core#4.0.1), heartrate (hl7.fhir.r4.core#4.0.1), bp (hl7.fhir.r4.core#4.0.1), bodytemp (hl7.fhir.r4.core#4.0.1), bodyweight (hl7.fhir.r4.core#4.0.1), bodyheight (hl7.fhir.r4.core#4.0.1), bmi (hl7.fhir.r4.core#4.0.1), oxygensat (hl7.fhir.r4.core#4.0.1), vitalsigns (hl7.fhir.r4.core#4.0.1), headcircum (hl7.fhir.r4.core#4.0.1), resprate (hl7.fhir.r4.core#4.0.1), vitalspanel (hl7.fhir.r4.core#4.0.1), heartrate (hl7.fhir.r4.core#4.0.1), bp (hl7.fhir.r4.core#4.0.1), bodytemp (hl7.fhir.r4.core#4.0.1), bodyweight (hl7.fhir.r4.core#4.0.1), bodyheight (hl7.fhir.r4.core#4.0.1), bmi (hl7.fhir.r4.core#4.0.1), oxygensat (hl7.fhir.r4.core#4.0.1), vitalsigns (hl7.fhir.r4.core#4.0.1), headcircum (hl7.fhir.r4.core#4.0.1), resprate (hl7.fhir.r4.core#4.0.1), vitalspanel (hl7.fhir.r4.core#4.0.1), heartrate (hl7.fhir.r4.core#4.0.1), bp (hl7.fhir.r4.core#4.0.1), bodytemp (hl7.fhir.r4.core#4.0.1), bodyweight (hl7.fhir.r4.core#4.0.1), bodyheight (hl7.fhir.r4.core#4.0.1), bmi (hl7.fhir.r4.core#4.0.1), oxygensat (hl7.fhir.r4.core#4.0.1), vitalsigns (hl7.fhir.r4.core#4.0.1), headcircum (hl7.fhir.r4.core#4.0.1), resprate (hl7.fhir.r4.core#4.0.1), vitalspanel (hl7.fhir.r4.core#4.0.1), heartrate (hl7.fhir.r4.core#4.0.1), bp (hl7.fhir.r4.core#4.0.1), bodytemp (hl7.fhir.r4.core#4.0.1), bodyweight (hl7.fhir.r4.core#4.0.1), bodyheight (hl7.fhir.r4.core#4.0.1), bmi (hl7.fhir.r4.core#4.0.1), oxygensat (hl7.fhir.r4.core#4.0.1) + - Version 2: vitalsigns (hl7.fhir.r5.core#5.0.0), headcircum (hl7.fhir.r5.core#5.0.0), resprate (hl7.fhir.r5.core#5.0.0), vitalspanel (hl7.fhir.r5.core#5.0.0), heartrate (hl7.fhir.r5.core#5.0.0), bp (hl7.fhir.r5.core#5.0.0), bodytemp (hl7.fhir.r5.core#5.0.0), bodyweight (hl7.fhir.r5.core#5.0.0), bodyheight (hl7.fhir.r5.core#5.0.0), bmi (hl7.fhir.r5.core#5.0.0), oxygensat (hl7.fhir.r5.core#5.0.0), vitalsigns (hl7.fhir.r5.core#5.0.0), headcircum (hl7.fhir.r5.core#5.0.0), resprate (hl7.fhir.r5.core#5.0.0), vitalspanel (hl7.fhir.r5.core#5.0.0), heartrate (hl7.fhir.r5.core#5.0.0), bp (hl7.fhir.r5.core#5.0.0), bodytemp (hl7.fhir.r5.core#5.0.0), bodyweight (hl7.fhir.r5.core#5.0.0), bodyheight (hl7.fhir.r5.core#5.0.0), bmi (hl7.fhir.r5.core#5.0.0), oxygensat (hl7.fhir.r5.core#5.0.0), vitalsigns (hl7.fhir.r5.core#5.0.0), headcircum (hl7.fhir.r5.core#5.0.0), resprate (hl7.fhir.r5.core#5.0.0), vitalspanel (hl7.fhir.r5.core#5.0.0), heartrate (hl7.fhir.r5.core#5.0.0), bp (hl7.fhir.r5.core#5.0.0), bodytemp (hl7.fhir.r5.core#5.0.0), bodyweight (hl7.fhir.r5.core#5.0.0), bodyheight (hl7.fhir.r5.core#5.0.0), bmi (hl7.fhir.r5.core#5.0.0), oxygensat (hl7.fhir.r5.core#5.0.0) + - Version 3: vitalsigns (hl7.fhir.r4.examples#4.0.1), headcircum (hl7.fhir.r4.examples#4.0.1), resprate (hl7.fhir.r4.examples#4.0.1), vitalspanel (hl7.fhir.r4.examples#4.0.1), heartrate (hl7.fhir.r4.examples#4.0.1), bp (hl7.fhir.r4.examples#4.0.1), bodytemp (hl7.fhir.r4.examples#4.0.1), bodyweight (hl7.fhir.r4.examples#4.0.1), bodyheight (hl7.fhir.r4.examples#4.0.1), bmi (hl7.fhir.r4.examples#4.0.1), oxygensat (hl7.fhir.r4.examples#4.0.1) +- `urn:fhir:binding:XPathUsageType` (2 versions) + - Version 1: SearchParameter (hl7.fhir.r4.core#4.0.1), SearchParameter (hl7.fhir.r4.core#4.0.1), SearchParameter (hl7.fhir.r4.core#4.0.1), SearchParameter (hl7.fhir.r4.core#4.0.1), SearchParameter (hl7.fhir.r4.core#4.0.1), SearchParameter (hl7.fhir.r4.core#4.0.1), SearchParameter (hl7.fhir.r4.core#4.0.1), SearchParameter (hl7.fhir.r4.core#4.0.1), SearchParameter (hl7.fhir.r4.core#4.0.1), SearchParameter (hl7.fhir.r4.core#4.0.1) + - Version 2: SearchParameter (hl7.fhir.r4.examples#4.0.1) 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 index 1d2b820b0..5398bcb4c 100644 --- 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 @@ -1,3 +1,21 @@ +hl7.fhir.us.core: + primitive-type: {} + complex-type: {} + resource: {} + value-set: {} + nested: {} + binding: + http://hl7.org/fhir/us/core/StructureDefinition/us-core-blood-pressure#code_binding: {} + http://hl7.org/fhir/us/core/StructureDefinition/us-core-body-weight#code_binding: {} + http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient#communication.language_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/us-core-blood-pressure: {} + http://hl7.org/fhir/us/core/StructureDefinition/us-core-body-weight: {} + http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient: {} + http://hl7.org/fhir/us/core/StructureDefinition/us-core-vital-signs: {} + logical: {} hl7.fhir.r4.core: primitive-type: http://hl7.org/fhir/StructureDefinition/base64Binary: {} @@ -37,20 +55,15 @@ hl7.fhir.r4.core: 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: {} @@ -58,1926 +71,23 @@ hl7.fhir.r4.core: 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: {} + value-set: {} + nested: + http://hl7.org/fhir/StructureDefinition/Patient#communication: {} + http://hl7.org/fhir/StructureDefinition/Observation#component: {} + http://hl7.org/fhir/StructureDefinition/Observation#referenceRange: {} 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: {} + logical: {} shared: primitive-type: {} complex-type: {} @@ -1985,21958 +95,53 @@ shared: 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 deleted file mode 100644 index 229f70406..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/Account.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 { BackboneElement } from "../hl7-fhir-r4-core/BackboneElement"; -import type { CodeableConcept } from "../hl7-fhir-r4-core/CodeableConcept"; -import type { DomainResource } from "../hl7-fhir-r4-core/DomainResource"; -import type { Identifier } from "../hl7-fhir-r4-core/Identifier"; -import type { Period } from "../hl7-fhir-r4-core/Period"; -import type { Reference } from "../hl7-fhir-r4-core/Reference"; - -import type { Element } from "../hl7-fhir-r4-core/Element"; -export type { BackboneElement } from "../hl7-fhir-r4-core/BackboneElement"; -export type { CodeableConcept } from "../hl7-fhir-r4-core/CodeableConcept"; -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"; - -export interface AccountCoverage extends BackboneElement { - coverage: Reference<"Coverage">; - priority?: number; -} - -export interface AccountGuarantor extends BackboneElement { - onHold?: boolean; - party: Reference<"Organization" | "Patient" | "RelatedPerson">; - period?: Period; -} - -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/Account (pkg: hl7.fhir.r4.core#4.0.1) -export interface Account extends DomainResource { - resourceType: "Account"; - - coverage?: AccountCoverage[]; - description?: string; - _description?: Element; - guarantor?: AccountGuarantor[]; - identifier?: Identifier[]; - name?: string; - _name?: Element; - owner?: Reference<"Organization">; - partOf?: Reference<"Account">; - servicePeriod?: Period; - status: ("active" | "inactive" | "entered-in-error" | "on-hold" | "unknown"); - _status?: Element; - subject?: Reference<"Device" | "HealthcareService" | "Location" | "Organization" | "Patient" | "Practitioner" | "PractitionerRole">[]; - type?: CodeableConcept; -} -export const isAccount = (resource: unknown): resource is Account => { - return resource !== null && typeof resource === "object" && (resource as {resourceType: string}).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 deleted file mode 100644 index 81f0fb288..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/ActivityDefinition.ts +++ /dev/null @@ -1,132 +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 { Age } from "../hl7-fhir-r4-core/Age"; -import type { BackboneElement } from "../hl7-fhir-r4-core/BackboneElement"; -import type { CodeableConcept } from "../hl7-fhir-r4-core/CodeableConcept"; -import type { ContactDetail } from "../hl7-fhir-r4-core/ContactDetail"; -import type { DomainResource } from "../hl7-fhir-r4-core/DomainResource"; -import type { Dosage } from "../hl7-fhir-r4-core/Dosage"; -import type { Duration } from "../hl7-fhir-r4-core/Duration"; -import type { Expression } from "../hl7-fhir-r4-core/Expression"; -import type { Identifier } from "../hl7-fhir-r4-core/Identifier"; -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 { Reference } from "../hl7-fhir-r4-core/Reference"; -import type { RelatedArtifact } from "../hl7-fhir-r4-core/RelatedArtifact"; -import type { Timing } from "../hl7-fhir-r4-core/Timing"; -import type { UsageContext } from "../hl7-fhir-r4-core/UsageContext"; - -import type { Element } from "../hl7-fhir-r4-core/Element"; -export type { Age } from "../hl7-fhir-r4-core/Age"; -export type { BackboneElement } from "../hl7-fhir-r4-core/BackboneElement"; -export type { CodeableConcept } from "../hl7-fhir-r4-core/CodeableConcept"; -export type { ContactDetail } from "../hl7-fhir-r4-core/ContactDetail"; -export type { Dosage } from "../hl7-fhir-r4-core/Dosage"; -export type { Duration } from "../hl7-fhir-r4-core/Duration"; -export type { Expression } from "../hl7-fhir-r4-core/Expression"; -export type { Identifier } from "../hl7-fhir-r4-core/Identifier"; -export type { Period } from "../hl7-fhir-r4-core/Period"; -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"; -export type { RelatedArtifact } from "../hl7-fhir-r4-core/RelatedArtifact"; -export type { Timing } from "../hl7-fhir-r4-core/Timing"; -export type { UsageContext } from "../hl7-fhir-r4-core/UsageContext"; - -export interface ActivityDefinitionDynamicValue extends BackboneElement { - expression: Expression; - path: string; -} - -export interface ActivityDefinitionParticipant extends BackboneElement { - role?: CodeableConcept; - type: ("patient" | "practitioner" | "related-person" | "device"); -} - -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/ActivityDefinition (pkg: hl7.fhir.r4.core#4.0.1) -export interface ActivityDefinition extends DomainResource { - resourceType: "ActivityDefinition"; - - approvalDate?: string; - _approvalDate?: Element; - author?: ContactDetail[]; - bodySite?: CodeableConcept[]; - code?: CodeableConcept; - contact?: ContactDetail[]; - copyright?: string; - _copyright?: Element; - date?: string; - _date?: Element; - description?: string; - _description?: Element; - doNotPerform?: boolean; - _doNotPerform?: Element; - dosage?: Dosage[]; - dynamicValue?: ActivityDefinitionDynamicValue[]; - editor?: ContactDetail[]; - effectivePeriod?: Period; - endorser?: ContactDetail[]; - experimental?: boolean; - _experimental?: Element; - identifier?: Identifier[]; - intent?: ("proposal" | "plan" | "directive" | "order" | "original-order" | "reflex-order" | "filler-order" | "instance-order" | "option"); - _intent?: Element; - jurisdiction?: CodeableConcept[]; - kind?: ("Appointment" | "AppointmentResponse" | "CarePlan" | "Claim" | "CommunicationRequest" | "Contract" | "DeviceRequest" | "EnrollmentRequest" | "ImmunizationRecommendation" | "MedicationRequest" | "NutritionOrder" | "ServiceRequest" | "SupplyRequest" | "Task" | "VisionPrescription"); - _kind?: Element; - lastReviewDate?: string; - _lastReviewDate?: Element; - library?: string[]; - _library?: (Element | null)[]; - location?: Reference<"Location">; - name?: string; - _name?: Element; - observationRequirement?: Reference<"ObservationDefinition">[]; - observationResultRequirement?: Reference<"ObservationDefinition">[]; - participant?: ActivityDefinitionParticipant[]; - priority?: ("routine" | "urgent" | "asap" | "stat"); - _priority?: Element; - productCodeableConcept?: CodeableConcept; - productReference?: Reference<"Medication" | "Substance">; - profile?: string; - _profile?: Element; - publisher?: string; - _publisher?: Element; - purpose?: string; - _purpose?: Element; - quantity?: Quantity; - relatedArtifact?: RelatedArtifact[]; - reviewer?: ContactDetail[]; - specimenRequirement?: Reference<"SpecimenDefinition">[]; - status: ("draft" | "active" | "retired" | "unknown"); - _status?: Element; - subjectCodeableConcept?: CodeableConcept; - subjectReference?: Reference<"Group">; - subtitle?: string; - _subtitle?: Element; - timingAge?: Age; - timingDateTime?: string; - _timingDateTime?: Element; - timingDuration?: Duration; - timingPeriod?: Period; - timingRange?: Range; - timingTiming?: Timing; - title?: string; - _title?: Element; - topic?: CodeableConcept[]; - transform?: string; - _transform?: Element; - url?: string; - _url?: Element; - usage?: string; - _usage?: Element; - useContext?: UsageContext[]; - version?: string; - _version?: Element; -} -export const isActivityDefinition = (resource: unknown): resource is ActivityDefinition => { - return resource !== null && typeof resource === "object" && (resource as {resourceType: string}).resourceType === "ActivityDefinition"; -} 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 deleted file mode 100644 index ff94fb2dd..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/AdverseEvent.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 { BackboneElement } from "../hl7-fhir-r4-core/BackboneElement"; -import type { CodeableConcept } from "../hl7-fhir-r4-core/CodeableConcept"; -import type { DomainResource } from "../hl7-fhir-r4-core/DomainResource"; -import type { Identifier } from "../hl7-fhir-r4-core/Identifier"; -import type { Reference } from "../hl7-fhir-r4-core/Reference"; - -import type { Element } from "../hl7-fhir-r4-core/Element"; -export type { BackboneElement } from "../hl7-fhir-r4-core/BackboneElement"; -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"; - -export interface AdverseEventSuspectEntity extends BackboneElement { - causality?: AdverseEventSuspectEntityCausality[]; - instance: Reference<"Device" | "Immunization" | "Medication" | "MedicationAdministration" | "MedicationStatement" | "Procedure" | "Substance">; -} - -export interface AdverseEventSuspectEntityCausality extends BackboneElement { - assessment?: CodeableConcept; - author?: Reference<"Practitioner" | "PractitionerRole">; - method?: CodeableConcept; - productRelatedness?: string; -} - -// 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<("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; - detected?: string; - _detected?: Element; - encounter?: Reference<"Encounter">; - event?: CodeableConcept; - identifier?: Identifier; - location?: Reference<"Location">; - 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<("mild" | "moderate" | "severe")>; - study?: Reference<"ResearchStudy">[]; - subject: Reference<"Group" | "Patient" | "Practitioner" | "RelatedPerson">; - subjectMedicalHistory?: Reference<"AllergyIntolerance" | "Condition" | "DocumentReference" | "FamilyMemberHistory" | "Immunization" | "Media" | "Observation" | "Procedure">[]; - suspectEntity?: AdverseEventSuspectEntity[]; -} -export const isAdverseEvent = (resource: unknown): resource is AdverseEvent => { - return resource !== null && typeof resource === "object" && (resource as {resourceType: string}).resourceType === "AdverseEvent"; -} 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 deleted file mode 100644 index 7cb17fff1..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/AllergyIntolerance.ts +++ /dev/null @@ -1,69 +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 { Age } from "../hl7-fhir-r4-core/Age"; -import type { Annotation } from "../hl7-fhir-r4-core/Annotation"; -import type { BackboneElement } from "../hl7-fhir-r4-core/BackboneElement"; -import type { CodeableConcept } from "../hl7-fhir-r4-core/CodeableConcept"; -import type { DomainResource } from "../hl7-fhir-r4-core/DomainResource"; -import type { Identifier } from "../hl7-fhir-r4-core/Identifier"; -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"; - -import type { Element } from "../hl7-fhir-r4-core/Element"; -export type { Age } from "../hl7-fhir-r4-core/Age"; -export type { Annotation } from "../hl7-fhir-r4-core/Annotation"; -export type { BackboneElement } from "../hl7-fhir-r4-core/BackboneElement"; -export type { CodeableConcept } from "../hl7-fhir-r4-core/CodeableConcept"; -export type { Identifier } from "../hl7-fhir-r4-core/Identifier"; -export type { Period } from "../hl7-fhir-r4-core/Period"; -export type { Range } from "../hl7-fhir-r4-core/Range"; -export type { Reference } from "../hl7-fhir-r4-core/Reference"; - -export interface AllergyIntoleranceReaction extends BackboneElement { - description?: string; - exposureRoute?: CodeableConcept; - manifestation: CodeableConcept[]; - note?: Annotation[]; - onset?: string; - severity?: ("mild" | "moderate" | "severe"); - substance?: CodeableConcept; -} - -// 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 | null)[]; - clinicalStatus?: CodeableConcept<("active" | "inactive" | "resolved")>; - code?: CodeableConcept; - criticality?: ("low" | "high" | "unable-to-assess"); - _criticality?: Element; - encounter?: Reference<"Encounter">; - identifier?: Identifier[]; - lastOccurrence?: string; - _lastOccurrence?: Element; - note?: Annotation[]; - onsetAge?: Age; - onsetDateTime?: string; - _onsetDateTime?: Element; - onsetPeriod?: Period; - onsetRange?: Range; - onsetString?: string; - _onsetString?: Element; - patient: Reference<"Patient">; - reaction?: AllergyIntoleranceReaction[]; - recordedDate?: string; - _recordedDate?: Element; - recorder?: Reference<"Patient" | "Practitioner" | "PractitionerRole" | "RelatedPerson">; - type?: ("allergy" | "intolerance"); - _type?: Element; - 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/Appointment.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/Appointment.ts deleted file mode 100644 index 18d9d8c48..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/Appointment.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 { BackboneElement } from "../hl7-fhir-r4-core/BackboneElement"; -import type { CodeableConcept } from "../hl7-fhir-r4-core/CodeableConcept"; -import type { DomainResource } from "../hl7-fhir-r4-core/DomainResource"; -import type { Identifier } from "../hl7-fhir-r4-core/Identifier"; -import type { Period } from "../hl7-fhir-r4-core/Period"; -import type { Reference } from "../hl7-fhir-r4-core/Reference"; - -import type { Element } from "../hl7-fhir-r4-core/Element"; -export type { BackboneElement } from "../hl7-fhir-r4-core/BackboneElement"; -export type { CodeableConcept } from "../hl7-fhir-r4-core/CodeableConcept"; -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"; - -export interface AppointmentParticipant extends BackboneElement { - actor?: Reference<"Device" | "HealthcareService" | "Location" | "Patient" | "Practitioner" | "PractitionerRole" | "RelatedPerson">; - period?: Period; - required?: ("required" | "optional" | "information-only"); - status: ("accepted" | "declined" | "tentative" | "needs-action"); - type?: CodeableConcept<("SPRF" | "PPRF" | "PART" | "translator" | "emergency" | string)>[]; -} - -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/Appointment (pkg: hl7.fhir.r4.core#4.0.1) -export interface Appointment extends DomainResource { - resourceType: "Appointment"; - - appointmentType?: CodeableConcept<("CHECKUP" | "EMERGENCY" | "FOLLOWUP" | "ROUTINE" | "WALKIN" | string)>; - basedOn?: Reference<"ServiceRequest">[]; - cancelationReason?: CodeableConcept; - comment?: string; - _comment?: Element; - created?: string; - _created?: Element; - description?: string; - _description?: Element; - end?: string; - _end?: Element; - identifier?: Identifier[]; - minutesDuration?: number; - _minutesDuration?: Element; - participant: AppointmentParticipant[]; - patientInstruction?: string; - _patientInstruction?: Element; - priority?: number; - _priority?: Element; - reasonCode?: CodeableConcept[]; - reasonReference?: Reference<"Condition" | "ImmunizationRecommendation" | "Observation" | "Procedure">[]; - requestedPeriod?: Period[]; - serviceCategory?: CodeableConcept[]; - serviceType?: CodeableConcept[]; - slot?: Reference<"Slot">[]; - specialty?: CodeableConcept[]; - start?: string; - _start?: Element; - status: ("proposed" | "pending" | "booked" | "arrived" | "fulfilled" | "cancelled" | "noshow" | "entered-in-error" | "checked-in" | "waitlist"); - _status?: Element; - supportingInformation?: Reference<"Resource">[]; -} -export const isAppointment = (resource: unknown): resource is Appointment => { - return resource !== null && typeof resource === "object" && (resource as {resourceType: string}).resourceType === "Appointment"; -} 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 deleted file mode 100644 index 5fb72e33d..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/AppointmentResponse.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 { CodeableConcept } from "../hl7-fhir-r4-core/CodeableConcept"; -import type { DomainResource } from "../hl7-fhir-r4-core/DomainResource"; -import type { Identifier } from "../hl7-fhir-r4-core/Identifier"; -import type { Reference } from "../hl7-fhir-r4-core/Reference"; - -import type { Element } from "../hl7-fhir-r4-core/Element"; -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 (pkg: hl7.fhir.r4.core#4.0.1) -export interface AppointmentResponse extends DomainResource { - resourceType: "AppointmentResponse"; - - actor?: Reference<"Device" | "HealthcareService" | "Location" | "Patient" | "Practitioner" | "PractitionerRole" | "RelatedPerson">; - appointment: Reference<"Appointment">; - comment?: string; - _comment?: Element; - end?: string; - _end?: Element; - identifier?: Identifier[]; - participantStatus: ("accepted" | "declined" | "tentative" | "needs-action"); - _participantStatus?: Element; - participantType?: CodeableConcept<("SPRF" | "PPRF" | "PART" | "translator" | "emergency" | string)>[]; - start?: string; - _start?: Element; -} -export const isAppointmentResponse = (resource: unknown): resource is AppointmentResponse => { - return resource !== null && typeof resource === "object" && (resource as {resourceType: string}).resourceType === "AppointmentResponse"; -} 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 deleted file mode 100644 index 8497791cd..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/AuditEvent.ts +++ /dev/null @@ -1,84 +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 { BackboneElement } from "../hl7-fhir-r4-core/BackboneElement"; -import type { CodeableConcept } from "../hl7-fhir-r4-core/CodeableConcept"; -import type { Coding } from "../hl7-fhir-r4-core/Coding"; -import type { DomainResource } from "../hl7-fhir-r4-core/DomainResource"; -import type { Period } from "../hl7-fhir-r4-core/Period"; -import type { Reference } from "../hl7-fhir-r4-core/Reference"; - -import type { Element } from "../hl7-fhir-r4-core/Element"; -export type { BackboneElement } from "../hl7-fhir-r4-core/BackboneElement"; -export type { CodeableConcept } from "../hl7-fhir-r4-core/CodeableConcept"; -export type { Coding } from "../hl7-fhir-r4-core/Coding"; -export type { Period } from "../hl7-fhir-r4-core/Period"; -export type { Reference } from "../hl7-fhir-r4-core/Reference"; - -export interface AuditEventAgent extends BackboneElement { - altId?: string; - location?: Reference<"Location">; - 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<("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">; -} - -export interface AuditEventAgentNetwork extends BackboneElement { - address?: string; - type?: ("1" | "2" | "3" | "4" | "5"); -} - -export interface AuditEventEntity extends BackboneElement { - description?: string; - detail?: AuditEventEntityDetail[]; - 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<("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">; -} - -export interface AuditEventEntityDetail extends BackboneElement { - type: string; - valueBase64Binary?: string; - valueString?: string; -} - -export interface AuditEventSource extends BackboneElement { - observer: Reference<"Device" | "Organization" | "Patient" | "Practitioner" | "PractitionerRole" | "RelatedPerson">; - site?: string; - type?: Coding<("1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | string)>[]; -} - -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/AuditEvent (pkg: hl7.fhir.r4.core#4.0.1) -export interface AuditEvent extends DomainResource { - resourceType: "AuditEvent"; - - action?: ("C" | "R" | "U" | "D" | "E"); - _action?: Element; - agent: AuditEventAgent[]; - entity?: AuditEventEntity[]; - outcome?: ("0" | "4" | "8" | "12"); - _outcome?: Element; - outcomeDesc?: string; - _outcomeDesc?: Element; - period?: Period; - purposeOfEvent?: CodeableConcept[]; - recorded: string; - _recorded?: Element; - source: AuditEventSource; - 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/Basic.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/Basic.ts deleted file mode 100644 index bf30f9c28..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/Basic.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 { CodeableConcept } from "../hl7-fhir-r4-core/CodeableConcept"; -import type { DomainResource } from "../hl7-fhir-r4-core/DomainResource"; -import type { Identifier } from "../hl7-fhir-r4-core/Identifier"; -import type { Reference } from "../hl7-fhir-r4-core/Reference"; - -import type { Element } from "../hl7-fhir-r4-core/Element"; -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 (pkg: hl7.fhir.r4.core#4.0.1) -export interface Basic extends DomainResource { - resourceType: "Basic"; - - author?: Reference<"Organization" | "Patient" | "Practitioner" | "PractitionerRole" | "RelatedPerson">; - code: CodeableConcept; - created?: string; - _created?: Element; - identifier?: Identifier[]; - subject?: Reference<"Resource">; -} -export const isBasic = (resource: unknown): resource is Basic => { - return resource !== null && typeof resource === "object" && (resource as {resourceType: string}).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 deleted file mode 100644 index 9166a409e..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/Binary.ts +++ /dev/null @@ -1,23 +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 { Reference } from "../hl7-fhir-r4-core/Reference"; -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 (pkg: hl7.fhir.r4.core#4.0.1) -export interface Binary extends Resource { - resourceType: "Binary"; - - contentType: string; - _contentType?: Element; - data?: string; - _data?: Element; - securityContext?: Reference<"Resource">; -} -export const isBinary = (resource: unknown): resource is Binary => { - return resource !== null && typeof resource === "object" && (resource as {resourceType: string}).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 deleted file mode 100644 index 5cf8358af..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/BiologicallyDerivedProduct.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 { BackboneElement } from "../hl7-fhir-r4-core/BackboneElement"; -import type { CodeableConcept } from "../hl7-fhir-r4-core/CodeableConcept"; -import type { DomainResource } from "../hl7-fhir-r4-core/DomainResource"; -import type { Identifier } from "../hl7-fhir-r4-core/Identifier"; -import type { Period } from "../hl7-fhir-r4-core/Period"; -import type { Reference } from "../hl7-fhir-r4-core/Reference"; - -import type { Element } from "../hl7-fhir-r4-core/Element"; -export type { BackboneElement } from "../hl7-fhir-r4-core/BackboneElement"; -export type { CodeableConcept } from "../hl7-fhir-r4-core/CodeableConcept"; -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"; - -export interface BiologicallyDerivedProductCollection extends BackboneElement { - collectedDateTime?: string; - collectedPeriod?: Period; - collector?: Reference<"Practitioner" | "PractitionerRole">; - source?: Reference<"Organization" | "Patient">; -} - -export interface BiologicallyDerivedProductManipulation extends BackboneElement { - description?: string; - timeDateTime?: string; - timePeriod?: Period; -} - -export interface BiologicallyDerivedProductProcessing extends BackboneElement { - additive?: Reference<"Substance">; - description?: string; - procedure?: CodeableConcept; - timeDateTime?: string; - timePeriod?: Period; -} - -export interface BiologicallyDerivedProductStorage extends BackboneElement { - description?: string; - duration?: Period; - scale?: ("farenheit" | "celsius" | "kelvin"); - temperature?: number; -} - -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/BiologicallyDerivedProduct (pkg: hl7.fhir.r4.core#4.0.1) -export interface BiologicallyDerivedProduct extends DomainResource { - resourceType: "BiologicallyDerivedProduct"; - - collection?: BiologicallyDerivedProductCollection; - identifier?: Identifier[]; - manipulation?: BiologicallyDerivedProductManipulation; - parent?: Reference<"BiologicallyDerivedProduct">[]; - processing?: BiologicallyDerivedProductProcessing[]; - productCategory?: ("organ" | "tissue" | "fluid" | "cells" | "biologicalAgent"); - _productCategory?: Element; - productCode?: CodeableConcept; - quantity?: number; - _quantity?: Element; - request?: Reference<"ServiceRequest">[]; - status?: ("available" | "unavailable"); - _status?: Element; - storage?: BiologicallyDerivedProductStorage[]; -} -export const isBiologicallyDerivedProduct = (resource: unknown): resource is BiologicallyDerivedProduct => { - return resource !== null && typeof resource === "object" && (resource as {resourceType: string}).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 deleted file mode 100644 index 00f457991..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/BodyStructure.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 { Attachment } from "../hl7-fhir-r4-core/Attachment"; -import type { CodeableConcept } from "../hl7-fhir-r4-core/CodeableConcept"; -import type { DomainResource } from "../hl7-fhir-r4-core/DomainResource"; -import type { Identifier } from "../hl7-fhir-r4-core/Identifier"; -import type { Reference } from "../hl7-fhir-r4-core/Reference"; - -import type { Element } from "../hl7-fhir-r4-core/Element"; -export type { Attachment } from "../hl7-fhir-r4-core/Attachment"; -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 (pkg: hl7.fhir.r4.core#4.0.1) -export interface BodyStructure extends DomainResource { - resourceType: "BodyStructure"; - - active?: boolean; - _active?: Element; - description?: string; - _description?: Element; - identifier?: Identifier[]; - image?: Attachment[]; - location?: CodeableConcept; - locationQualifier?: CodeableConcept[]; - morphology?: CodeableConcept; - patient: Reference<"Patient">; -} -export const isBodyStructure = (resource: unknown): resource is BodyStructure => { - return resource !== null && typeof resource === "object" && (resource as {resourceType: string}).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 deleted file mode 100644 index cce9315fb..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/Bundle.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 { BackboneElement } from "../hl7-fhir-r4-core/BackboneElement"; -import type { Identifier } from "../hl7-fhir-r4-core/Identifier"; -import type { Resource } from "../hl7-fhir-r4-core/Resource"; -import type { Signature } from "../hl7-fhir-r4-core/Signature"; - -import type { Element } from "../hl7-fhir-r4-core/Element"; -export type { BackboneElement } from "../hl7-fhir-r4-core/BackboneElement"; -export type { Identifier } from "../hl7-fhir-r4-core/Identifier"; -export type { Signature } from "../hl7-fhir-r4-core/Signature"; - -export interface BundleEntry extends BackboneElement { - fullUrl?: string; - link?: BundleLink[]; - request?: BundleEntryRequest; - resource?: Resource; - response?: BundleEntryResponse; - search?: BundleEntrySearch; -} - -export interface BundleEntryRequest extends BackboneElement { - ifMatch?: string; - ifModifiedSince?: string; - ifNoneExist?: string; - ifNoneMatch?: string; - method: ("GET" | "HEAD" | "POST" | "PUT" | "DELETE" | "PATCH"); - url: string; -} - -export interface BundleEntryResponse extends BackboneElement { - etag?: string; - lastModified?: string; - location?: string; - outcome?: Resource; - status: string; -} - -export interface BundleEntrySearch extends BackboneElement { - mode?: ("match" | "include" | "outcome"); - score?: number; -} - -export interface BundleLink extends BackboneElement { - relation: string; - url: string; -} - -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/Bundle (pkg: hl7.fhir.r4.core#4.0.1) -export interface Bundle extends Resource { - resourceType: "Bundle"; - - entry?: BundleEntry[]; - identifier?: Identifier; - link?: BundleLink[]; - signature?: Signature; - timestamp?: string; - _timestamp?: Element; - total?: number; - _total?: Element; - type: ("document" | "message" | "transaction" | "transaction-response" | "batch" | "batch-response" | "history" | "searchset" | "collection"); - _type?: Element; -} -export const isBundle = (resource: unknown): resource is Bundle => { - return resource !== null && typeof resource === "object" && (resource as {resourceType: string}).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 deleted file mode 100644 index a2a24ba9d..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/CapabilityStatement.ts +++ /dev/null @@ -1,167 +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 { BackboneElement } from "../hl7-fhir-r4-core/BackboneElement"; -import type { CodeableConcept } from "../hl7-fhir-r4-core/CodeableConcept"; -import type { Coding } from "../hl7-fhir-r4-core/Coding"; -import type { ContactDetail } from "../hl7-fhir-r4-core/ContactDetail"; -import type { DomainResource } from "../hl7-fhir-r4-core/DomainResource"; -import type { Reference } from "../hl7-fhir-r4-core/Reference"; -import type { UsageContext } from "../hl7-fhir-r4-core/UsageContext"; - -import type { Element } from "../hl7-fhir-r4-core/Element"; -export type { BackboneElement } from "../hl7-fhir-r4-core/BackboneElement"; -export type { CodeableConcept } from "../hl7-fhir-r4-core/CodeableConcept"; -export type { Coding } from "../hl7-fhir-r4-core/Coding"; -export type { ContactDetail } from "../hl7-fhir-r4-core/ContactDetail"; -export type { Reference } from "../hl7-fhir-r4-core/Reference"; -export type { UsageContext } from "../hl7-fhir-r4-core/UsageContext"; - -export interface CapabilityStatementDocument extends BackboneElement { - documentation?: string; - mode: ("producer" | "consumer"); - profile: string; -} - -export interface CapabilityStatementImplementation extends BackboneElement { - custodian?: Reference<"Organization">; - description: string; - url?: string; -} - -export interface CapabilityStatementMessaging extends BackboneElement { - documentation?: string; - endpoint?: CapabilityStatementMessagingEndpoint[]; - reliableCache?: number; - supportedMessage?: CapabilityStatementMessagingSupportedMessage[]; -} - -export interface CapabilityStatementMessagingEndpoint extends BackboneElement { - address: string; - protocol: Coding<("http" | "ftp" | "mllp" | string)>; -} - -export interface CapabilityStatementMessagingSupportedMessage extends BackboneElement { - definition: string; - mode: ("sender" | "receiver"); -} - -export interface CapabilityStatementRest extends BackboneElement { - compartment?: string[]; - documentation?: string; - interaction?: CapabilityStatementRestInteraction[]; - mode: ("client" | "server"); - operation?: CapabilityStatementRestResourceOperation[]; - resource?: CapabilityStatementRestResource[]; - searchParam?: CapabilityStatementRestResourceSearchParam[]; - security?: CapabilityStatementRestSecurity; -} - -export interface CapabilityStatementRestInteraction extends BackboneElement { - code: ("transaction" | "batch" | "search-system" | "history-system"); - documentation?: string; -} - -export interface CapabilityStatementRestResource extends BackboneElement { - conditionalCreate?: boolean; - conditionalDelete?: ("not-supported" | "single" | "multiple"); - conditionalRead?: ("not-supported" | "modified-since" | "not-match" | "full-support"); - conditionalUpdate?: boolean; - documentation?: string; - interaction?: CapabilityStatementRestResourceInteraction[]; - operation?: CapabilityStatementRestResourceOperation[]; - profile?: string; - readHistory?: boolean; - referencePolicy?: ("literal" | "logical" | "resolves" | "enforced" | "local")[]; - searchInclude?: string[]; - searchParam?: CapabilityStatementRestResourceSearchParam[]; - searchRevInclude?: string[]; - supportedProfile?: string[]; - type: string; - updateCreate?: boolean; - versioning?: ("no-version" | "versioned" | "versioned-update"); -} - -export interface CapabilityStatementRestResourceInteraction extends BackboneElement { - code: ("read" | "vread" | "update" | "patch" | "delete" | "history-instance" | "history-type" | "create" | "search-type"); - documentation?: string; -} - -export interface CapabilityStatementRestResourceOperation extends BackboneElement { - definition: string; - documentation?: string; - name: string; -} - -export interface CapabilityStatementRestResourceSearchParam extends BackboneElement { - definition?: string; - documentation?: string; - name: string; - type: ("number" | "date" | "string" | "token" | "reference" | "composite" | "quantity" | "uri" | "special"); -} - -export interface CapabilityStatementRestSecurity extends BackboneElement { - cors?: boolean; - description?: string; - service?: CodeableConcept<("OAuth" | "SMART-on-FHIR" | "NTLM" | "Basic" | "Kerberos" | "Certificates" | string)>[]; -} - -export interface CapabilityStatementSoftware extends BackboneElement { - name: string; - releaseDate?: string; - version?: string; -} - -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/CapabilityStatement (pkg: hl7.fhir.r4.core#4.0.1) -export interface CapabilityStatement extends DomainResource { - resourceType: "CapabilityStatement"; - - contact?: ContactDetail[]; - copyright?: string; - _copyright?: Element; - date: string; - _date?: Element; - description?: string; - _description?: Element; - document?: CapabilityStatementDocument[]; - 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; - format: string[]; - _format?: (Element | null)[]; - implementation?: CapabilityStatementImplementation; - implementationGuide?: string[]; - _implementationGuide?: (Element | null)[]; - imports?: string[]; - _imports?: (Element | null)[]; - instantiates?: string[]; - _instantiates?: (Element | null)[]; - jurisdiction?: CodeableConcept[]; - kind: ("instance" | "capability" | "requirements"); - _kind?: Element; - messaging?: CapabilityStatementMessaging[]; - name?: string; - _name?: Element; - patchFormat?: string[]; - _patchFormat?: (Element | null)[]; - publisher?: string; - _publisher?: Element; - purpose?: string; - _purpose?: Element; - rest?: CapabilityStatementRest[]; - software?: CapabilityStatementSoftware; - status: ("draft" | "active" | "retired" | "unknown"); - _status?: Element; - title?: string; - _title?: Element; - url?: string; - _url?: Element; - useContext?: UsageContext[]; - version?: string; - _version?: Element; -} -export const isCapabilityStatement = (resource: unknown): resource is CapabilityStatement => { - return resource !== null && typeof resource === "object" && (resource as {resourceType: string}).resourceType === "CapabilityStatement"; -} 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 deleted file mode 100644 index c80ee60b8..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/CarePlan.ts +++ /dev/null @@ -1,93 +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 { Annotation } from "../hl7-fhir-r4-core/Annotation"; -import type { BackboneElement } from "../hl7-fhir-r4-core/BackboneElement"; -import type { CodeableConcept } from "../hl7-fhir-r4-core/CodeableConcept"; -import type { DomainResource } from "../hl7-fhir-r4-core/DomainResource"; -import type { Identifier } from "../hl7-fhir-r4-core/Identifier"; -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"; -import type { Timing } from "../hl7-fhir-r4-core/Timing"; - -import type { Element } from "../hl7-fhir-r4-core/Element"; -export type { Annotation } from "../hl7-fhir-r4-core/Annotation"; -export type { BackboneElement } from "../hl7-fhir-r4-core/BackboneElement"; -export type { CodeableConcept } from "../hl7-fhir-r4-core/CodeableConcept"; -export type { Identifier } from "../hl7-fhir-r4-core/Identifier"; -export type { Period } from "../hl7-fhir-r4-core/Period"; -export type { Quantity } from "../hl7-fhir-r4-core/Quantity"; -export type { Reference } from "../hl7-fhir-r4-core/Reference"; -export type { Timing } from "../hl7-fhir-r4-core/Timing"; - -export interface CarePlanActivity extends BackboneElement { - detail?: CarePlanActivityDetail; - outcomeCodeableConcept?: CodeableConcept[]; - outcomeReference?: Reference<"Resource">[]; - progress?: Annotation[]; - reference?: Reference<"Appointment" | "CommunicationRequest" | "DeviceRequest" | "MedicationRequest" | "NutritionOrder" | "RequestGroup" | "ServiceRequest" | "Task" | "VisionPrescription">; -} - -export interface CarePlanActivityDetail extends BackboneElement { - code?: CodeableConcept; - dailyAmount?: Quantity; - description?: string; - doNotPerform?: boolean; - goal?: Reference<"Goal">[]; - instantiatesCanonical?: string[]; - instantiatesUri?: string[]; - kind?: ("Appointment" | "CommunicationRequest" | "DeviceRequest" | "MedicationRequest" | "NutritionOrder" | "Task" | "ServiceRequest" | "VisionPrescription"); - location?: Reference<"Location">; - performer?: Reference<"CareTeam" | "Device" | "HealthcareService" | "Organization" | "Patient" | "Practitioner" | "PractitionerRole" | "RelatedPerson">[]; - productCodeableConcept?: CodeableConcept; - productReference?: Reference<"Medication" | "Substance">; - quantity?: Quantity; - reasonCode?: CodeableConcept[]; - reasonReference?: Reference<"Condition" | "DiagnosticReport" | "DocumentReference" | "Observation">[]; - scheduledPeriod?: Period; - scheduledString?: string; - scheduledTiming?: Timing; - status: ("not-started" | "scheduled" | "in-progress" | "on-hold" | "completed" | "cancelled" | "stopped" | "unknown" | "entered-in-error"); - statusReason?: CodeableConcept; -} - -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/CarePlan (pkg: hl7.fhir.r4.core#4.0.1) -export interface CarePlan extends DomainResource { - resourceType: "CarePlan"; - - activity?: CarePlanActivity[]; - addresses?: Reference<"Condition">[]; - author?: Reference<"CareTeam" | "Device" | "Organization" | "Patient" | "Practitioner" | "PractitionerRole" | "RelatedPerson">; - basedOn?: Reference<"CarePlan">[]; - careTeam?: Reference<"CareTeam">[]; - category?: CodeableConcept[]; - contributor?: Reference<"CareTeam" | "Device" | "Organization" | "Patient" | "Practitioner" | "PractitionerRole" | "RelatedPerson">[]; - created?: string; - _created?: Element; - description?: string; - _description?: Element; - encounter?: Reference<"Encounter">; - goal?: Reference<"Goal">[]; - identifier?: Identifier[]; - instantiatesCanonical?: string[]; - _instantiatesCanonical?: (Element | null)[]; - instantiatesUri?: string[]; - _instantiatesUri?: (Element | null)[]; - intent: ("proposal" | "plan" | "order" | "option"); - _intent?: Element; - note?: Annotation[]; - partOf?: Reference<"CarePlan">[]; - period?: Period; - replaces?: Reference<"CarePlan">[]; - status: ("draft" | "active" | "on-hold" | "revoked" | "completed" | "entered-in-error" | "unknown"); - _status?: Element; - subject: Reference<"Group" | "Patient">; - supportingInfo?: Reference<"Resource">[]; - title?: string; - _title?: Element; -} -export const isCarePlan = (resource: unknown): resource is CarePlan => { - return resource !== null && typeof resource === "object" && (resource as {resourceType: string}).resourceType === "CarePlan"; -} 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 deleted file mode 100644 index 3320dad27..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/CareTeam.ts +++ /dev/null @@ -1,52 +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 { Annotation } from "../hl7-fhir-r4-core/Annotation"; -import type { BackboneElement } from "../hl7-fhir-r4-core/BackboneElement"; -import type { CodeableConcept } from "../hl7-fhir-r4-core/CodeableConcept"; -import type { ContactPoint } from "../hl7-fhir-r4-core/ContactPoint"; -import type { DomainResource } from "../hl7-fhir-r4-core/DomainResource"; -import type { Identifier } from "../hl7-fhir-r4-core/Identifier"; -import type { Period } from "../hl7-fhir-r4-core/Period"; -import type { Reference } from "../hl7-fhir-r4-core/Reference"; - -import type { Element } from "../hl7-fhir-r4-core/Element"; -export type { Annotation } from "../hl7-fhir-r4-core/Annotation"; -export type { BackboneElement } from "../hl7-fhir-r4-core/BackboneElement"; -export type { CodeableConcept } from "../hl7-fhir-r4-core/CodeableConcept"; -export type { ContactPoint } from "../hl7-fhir-r4-core/ContactPoint"; -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"; - -export interface CareTeamParticipant extends BackboneElement { - member?: Reference<"CareTeam" | "Organization" | "Patient" | "Practitioner" | "PractitionerRole" | "RelatedPerson">; - onBehalfOf?: Reference<"Organization">; - period?: Period; - role?: CodeableConcept[]; -} - -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/CareTeam (pkg: hl7.fhir.r4.core#4.0.1) -export interface CareTeam extends DomainResource { - resourceType: "CareTeam"; - - category?: CodeableConcept[]; - encounter?: Reference<"Encounter">; - identifier?: Identifier[]; - managingOrganization?: Reference<"Organization">[]; - name?: string; - _name?: Element; - note?: Annotation[]; - participant?: CareTeamParticipant[]; - period?: Period; - reasonCode?: CodeableConcept[]; - reasonReference?: Reference<"Condition">[]; - status?: ("proposed" | "active" | "suspended" | "inactive" | "entered-in-error"); - _status?: Element; - subject?: Reference<"Group" | "Patient">; - telecom?: ContactPoint[]; -} -export const isCareTeam = (resource: unknown): resource is CareTeam => { - return resource !== null && typeof resource === "object" && (resource as {resourceType: string}).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 deleted file mode 100644 index 20f98db1a..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/CatalogEntry.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 { BackboneElement } from "../hl7-fhir-r4-core/BackboneElement"; -import type { CodeableConcept } from "../hl7-fhir-r4-core/CodeableConcept"; -import type { DomainResource } from "../hl7-fhir-r4-core/DomainResource"; -import type { Identifier } from "../hl7-fhir-r4-core/Identifier"; -import type { Period } from "../hl7-fhir-r4-core/Period"; -import type { Reference } from "../hl7-fhir-r4-core/Reference"; - -import type { Element } from "../hl7-fhir-r4-core/Element"; -export type { BackboneElement } from "../hl7-fhir-r4-core/BackboneElement"; -export type { CodeableConcept } from "../hl7-fhir-r4-core/CodeableConcept"; -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"; - -export interface CatalogEntryRelatedEntry extends BackboneElement { - item: Reference<"CatalogEntry">; - relationtype: ("triggers" | "is-replaced-by"); -} - -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/CatalogEntry (pkg: hl7.fhir.r4.core#4.0.1) -export interface CatalogEntry extends DomainResource { - resourceType: "CatalogEntry"; - - additionalCharacteristic?: CodeableConcept[]; - additionalClassification?: CodeableConcept[]; - additionalIdentifier?: Identifier[]; - classification?: CodeableConcept[]; - identifier?: Identifier[]; - lastUpdated?: string; - _lastUpdated?: Element; - orderable: boolean; - _orderable?: Element; - referencedItem: Reference<"ActivityDefinition" | "Binary" | "Device" | "HealthcareService" | "Medication" | "ObservationDefinition" | "Organization" | "PlanDefinition" | "Practitioner" | "PractitionerRole" | "SpecimenDefinition">; - relatedEntry?: CatalogEntryRelatedEntry[]; - status?: ("draft" | "active" | "retired" | "unknown"); - _status?: Element; - type?: CodeableConcept; - validityPeriod?: Period; - validTo?: string; - _validTo?: Element; -} -export const isCatalogEntry = (resource: unknown): resource is CatalogEntry => { - return resource !== null && typeof resource === "object" && (resource as {resourceType: string}).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 deleted file mode 100644 index 12565c0f0..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/ChargeItem.ts +++ /dev/null @@ -1,75 +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 { Annotation } from "../hl7-fhir-r4-core/Annotation"; -import type { BackboneElement } from "../hl7-fhir-r4-core/BackboneElement"; -import type { CodeableConcept } from "../hl7-fhir-r4-core/CodeableConcept"; -import type { DomainResource } from "../hl7-fhir-r4-core/DomainResource"; -import type { Identifier } from "../hl7-fhir-r4-core/Identifier"; -import type { Money } from "../hl7-fhir-r4-core/Money"; -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"; -import type { Timing } from "../hl7-fhir-r4-core/Timing"; - -import type { Element } from "../hl7-fhir-r4-core/Element"; -export type { Annotation } from "../hl7-fhir-r4-core/Annotation"; -export type { BackboneElement } from "../hl7-fhir-r4-core/BackboneElement"; -export type { CodeableConcept } from "../hl7-fhir-r4-core/CodeableConcept"; -export type { Identifier } from "../hl7-fhir-r4-core/Identifier"; -export type { Money } from "../hl7-fhir-r4-core/Money"; -export type { Period } from "../hl7-fhir-r4-core/Period"; -export type { Quantity } from "../hl7-fhir-r4-core/Quantity"; -export type { Reference } from "../hl7-fhir-r4-core/Reference"; -export type { Timing } from "../hl7-fhir-r4-core/Timing"; - -export interface ChargeItemPerformer extends BackboneElement { - actor: Reference<"CareTeam" | "Device" | "Organization" | "Patient" | "Practitioner" | "PractitionerRole" | "RelatedPerson">; - "function"?: CodeableConcept; -} - -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/ChargeItem (pkg: hl7.fhir.r4.core#4.0.1) -export interface ChargeItem extends DomainResource { - resourceType: "ChargeItem"; - - account?: Reference<"Account">[]; - bodysite?: CodeableConcept[]; - code: CodeableConcept; - context?: Reference<"Encounter" | "EpisodeOfCare">; - costCenter?: Reference<"Organization">; - definitionCanonical?: string[]; - _definitionCanonical?: (Element | null)[]; - definitionUri?: string[]; - _definitionUri?: (Element | null)[]; - enteredDate?: string; - _enteredDate?: Element; - enterer?: Reference<"Device" | "Organization" | "Patient" | "Practitioner" | "PractitionerRole" | "RelatedPerson">; - factorOverride?: number; - _factorOverride?: Element; - identifier?: Identifier[]; - note?: Annotation[]; - occurrenceDateTime?: string; - _occurrenceDateTime?: Element; - occurrencePeriod?: Period; - occurrenceTiming?: Timing; - overrideReason?: string; - _overrideReason?: Element; - partOf?: Reference<"ChargeItem">[]; - performer?: ChargeItemPerformer[]; - performingOrganization?: Reference<"Organization">; - priceOverride?: Money; - productCodeableConcept?: CodeableConcept; - productReference?: Reference<"Device" | "Medication" | "Substance">; - quantity?: Quantity; - reason?: CodeableConcept[]; - requestingOrganization?: Reference<"Organization">; - service?: Reference<"DiagnosticReport" | "ImagingStudy" | "Immunization" | "MedicationAdministration" | "MedicationDispense" | "Observation" | "Procedure" | "SupplyDelivery">[]; - status: ("planned" | "billable" | "not-billable" | "aborted" | "billed" | "entered-in-error" | "unknown"); - _status?: Element; - subject: Reference<"Group" | "Patient">; - supportingInformation?: Reference<"Resource">[]; -} -export const isChargeItem = (resource: unknown): resource is ChargeItem => { - return resource !== null && typeof resource === "object" && (resource as {resourceType: string}).resourceType === "ChargeItem"; -} 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 deleted file mode 100644 index 544d3a7bf..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/ChargeItemDefinition.ts +++ /dev/null @@ -1,87 +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 { BackboneElement } from "../hl7-fhir-r4-core/BackboneElement"; -import type { CodeableConcept } from "../hl7-fhir-r4-core/CodeableConcept"; -import type { ContactDetail } from "../hl7-fhir-r4-core/ContactDetail"; -import type { DomainResource } from "../hl7-fhir-r4-core/DomainResource"; -import type { Identifier } from "../hl7-fhir-r4-core/Identifier"; -import type { Money } from "../hl7-fhir-r4-core/Money"; -import type { Period } from "../hl7-fhir-r4-core/Period"; -import type { Reference } from "../hl7-fhir-r4-core/Reference"; -import type { UsageContext } from "../hl7-fhir-r4-core/UsageContext"; - -import type { Element } from "../hl7-fhir-r4-core/Element"; -export type { BackboneElement } from "../hl7-fhir-r4-core/BackboneElement"; -export type { CodeableConcept } from "../hl7-fhir-r4-core/CodeableConcept"; -export type { ContactDetail } from "../hl7-fhir-r4-core/ContactDetail"; -export type { Identifier } from "../hl7-fhir-r4-core/Identifier"; -export type { Money } from "../hl7-fhir-r4-core/Money"; -export type { Period } from "../hl7-fhir-r4-core/Period"; -export type { Reference } from "../hl7-fhir-r4-core/Reference"; -export type { UsageContext } from "../hl7-fhir-r4-core/UsageContext"; - -export interface ChargeItemDefinitionApplicability extends BackboneElement { - description?: string; - expression?: string; - language?: string; -} - -export interface ChargeItemDefinitionPropertyGroup extends BackboneElement { - applicability?: ChargeItemDefinitionApplicability[]; - priceComponent?: ChargeItemDefinitionPropertyGroupPriceComponent[]; -} - -export interface ChargeItemDefinitionPropertyGroupPriceComponent extends BackboneElement { - amount?: Money; - code?: CodeableConcept; - factor?: number; - type: ("base" | "surcharge" | "deduction" | "discount" | "tax" | "informational"); -} - -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/ChargeItemDefinition (pkg: hl7.fhir.r4.core#4.0.1) -export interface ChargeItemDefinition extends DomainResource { - resourceType: "ChargeItemDefinition"; - - applicability?: ChargeItemDefinitionApplicability[]; - approvalDate?: string; - _approvalDate?: Element; - code?: CodeableConcept; - contact?: ContactDetail[]; - copyright?: string; - _copyright?: Element; - date?: string; - _date?: Element; - derivedFromUri?: string[]; - _derivedFromUri?: (Element | null)[]; - description?: string; - _description?: Element; - effectivePeriod?: Period; - experimental?: boolean; - _experimental?: Element; - identifier?: Identifier[]; - instance?: Reference<"Device" | "Medication" | "Substance">[]; - jurisdiction?: CodeableConcept[]; - lastReviewDate?: string; - _lastReviewDate?: Element; - partOf?: string[]; - _partOf?: (Element | null)[]; - propertyGroup?: ChargeItemDefinitionPropertyGroup[]; - publisher?: string; - _publisher?: Element; - replaces?: string[]; - _replaces?: (Element | null)[]; - status: ("draft" | "active" | "retired" | "unknown"); - _status?: Element; - title?: string; - _title?: Element; - url: string; - _url?: Element; - useContext?: UsageContext[]; - version?: string; - _version?: Element; -} -export const isChargeItemDefinition = (resource: unknown): resource is ChargeItemDefinition => { - return resource !== null && typeof resource === "object" && (resource as {resourceType: string}).resourceType === "ChargeItemDefinition"; -} 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 deleted file mode 100644 index 226bd9d4b..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/Claim.ts +++ /dev/null @@ -1,188 +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 { Address } from "../hl7-fhir-r4-core/Address"; -import type { Attachment } from "../hl7-fhir-r4-core/Attachment"; -import type { BackboneElement } from "../hl7-fhir-r4-core/BackboneElement"; -import type { CodeableConcept } from "../hl7-fhir-r4-core/CodeableConcept"; -import type { DomainResource } from "../hl7-fhir-r4-core/DomainResource"; -import type { Identifier } from "../hl7-fhir-r4-core/Identifier"; -import type { Money } from "../hl7-fhir-r4-core/Money"; -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"; - -import type { Element } from "../hl7-fhir-r4-core/Element"; -export type { Address } from "../hl7-fhir-r4-core/Address"; -export type { Attachment } from "../hl7-fhir-r4-core/Attachment"; -export type { BackboneElement } from "../hl7-fhir-r4-core/BackboneElement"; -export type { CodeableConcept } from "../hl7-fhir-r4-core/CodeableConcept"; -export type { Identifier } from "../hl7-fhir-r4-core/Identifier"; -export type { Money } from "../hl7-fhir-r4-core/Money"; -export type { Period } from "../hl7-fhir-r4-core/Period"; -export type { Quantity } from "../hl7-fhir-r4-core/Quantity"; -export type { Reference } from "../hl7-fhir-r4-core/Reference"; - -export interface ClaimAccident extends BackboneElement { - date: string; - locationAddress?: Address; - locationReference?: Reference<"Location">; - type?: CodeableConcept; -} - -export interface ClaimCareTeam extends BackboneElement { - provider: Reference<"Organization" | "Practitioner" | "PractitionerRole">; - qualification?: CodeableConcept; - responsible?: boolean; - role?: CodeableConcept; - sequence: number; -} - -export interface ClaimDiagnosis extends BackboneElement { - diagnosisCodeableConcept?: CodeableConcept; - diagnosisReference?: Reference<"Condition">; - onAdmission?: CodeableConcept; - packageCode?: CodeableConcept; - sequence: number; - type?: CodeableConcept[]; -} - -export interface ClaimInsurance extends BackboneElement { - businessArrangement?: string; - claimResponse?: Reference<"ClaimResponse">; - coverage: Reference<"Coverage">; - focal: boolean; - identifier?: Identifier; - preAuthRef?: string[]; - sequence: number; -} - -export interface ClaimItem extends BackboneElement { - bodySite?: CodeableConcept; - careTeamSequence?: number[]; - category?: CodeableConcept; - detail?: ClaimItemDetail[]; - diagnosisSequence?: number[]; - encounter?: Reference<"Encounter">[]; - factor?: number; - informationSequence?: number[]; - locationAddress?: Address; - locationCodeableConcept?: CodeableConcept; - locationReference?: Reference<"Location">; - modifier?: CodeableConcept[]; - net?: Money; - procedureSequence?: number[]; - productOrService: CodeableConcept; - programCode?: CodeableConcept[]; - quantity?: Quantity; - revenue?: CodeableConcept; - sequence: number; - servicedDate?: string; - servicedPeriod?: Period; - subSite?: CodeableConcept[]; - udi?: Reference<"Device">[]; - unitPrice?: Money; -} - -export interface ClaimItemDetail extends BackboneElement { - category?: CodeableConcept; - factor?: number; - modifier?: CodeableConcept[]; - net?: Money; - productOrService: CodeableConcept; - programCode?: CodeableConcept[]; - quantity?: Quantity; - revenue?: CodeableConcept; - sequence: number; - subDetail?: ClaimItemDetailSubDetail[]; - udi?: Reference<"Device">[]; - unitPrice?: Money; -} - -export interface ClaimItemDetailSubDetail extends BackboneElement { - category?: CodeableConcept; - factor?: number; - modifier?: CodeableConcept[]; - net?: Money; - productOrService: CodeableConcept; - programCode?: CodeableConcept[]; - quantity?: Quantity; - revenue?: CodeableConcept; - sequence: number; - udi?: Reference<"Device">[]; - unitPrice?: Money; -} - -export interface ClaimPayee extends BackboneElement { - party?: Reference<"Organization" | "Patient" | "Practitioner" | "PractitionerRole" | "RelatedPerson">; - type: CodeableConcept; -} - -export interface ClaimProcedure extends BackboneElement { - date?: string; - procedureCodeableConcept?: CodeableConcept; - procedureReference?: Reference<"Procedure">; - sequence: number; - type?: CodeableConcept[]; - udi?: Reference<"Device">[]; -} - -export interface ClaimRelated extends BackboneElement { - claim?: Reference<"Claim">; - reference?: Identifier; - relationship?: CodeableConcept; -} - -export interface ClaimSupportingInfo extends BackboneElement { - category: CodeableConcept; - code?: CodeableConcept; - reason?: CodeableConcept; - sequence: number; - timingDate?: string; - timingPeriod?: Period; - valueAttachment?: Attachment; - valueBoolean?: boolean; - valueQuantity?: Quantity; - valueReference?: Reference<"Resource">; - valueString?: string; -} - -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/Claim (pkg: hl7.fhir.r4.core#4.0.1) -export interface Claim extends DomainResource { - resourceType: "Claim"; - - accident?: ClaimAccident; - billablePeriod?: Period; - careTeam?: ClaimCareTeam[]; - created: string; - _created?: Element; - diagnosis?: ClaimDiagnosis[]; - enterer?: Reference<"Practitioner" | "PractitionerRole">; - facility?: Reference<"Location">; - fundsReserve?: CodeableConcept; - identifier?: Identifier[]; - insurance: ClaimInsurance[]; - insurer?: Reference<"Organization">; - item?: ClaimItem[]; - originalPrescription?: Reference<"DeviceRequest" | "MedicationRequest" | "VisionPrescription">; - patient: Reference<"Patient">; - payee?: ClaimPayee; - prescription?: Reference<"DeviceRequest" | "MedicationRequest" | "VisionPrescription">; - priority: CodeableConcept; - procedure?: ClaimProcedure[]; - provider: Reference<"Organization" | "Practitioner" | "PractitionerRole">; - referral?: Reference<"ServiceRequest">; - related?: ClaimRelated[]; - status: ("active" | "cancelled" | "draft" | "entered-in-error"); - _status?: Element; - subType?: CodeableConcept; - supportingInfo?: ClaimSupportingInfo[]; - total?: Money; - type: CodeableConcept<("institutional" | "oral" | "pharmacy" | "professional" | "vision" | string)>; - use: ("claim" | "preauthorization" | "predetermination"); - _use?: Element; -} -export const isClaim = (resource: unknown): resource is Claim => { - return resource !== null && typeof resource === "object" && (resource as {resourceType: string}).resourceType === "Claim"; -} 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 deleted file mode 100644 index 7866fe11e..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/ClaimResponse.ts +++ /dev/null @@ -1,177 +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 { Address } from "../hl7-fhir-r4-core/Address"; -import type { Attachment } from "../hl7-fhir-r4-core/Attachment"; -import type { BackboneElement } from "../hl7-fhir-r4-core/BackboneElement"; -import type { CodeableConcept } from "../hl7-fhir-r4-core/CodeableConcept"; -import type { DomainResource } from "../hl7-fhir-r4-core/DomainResource"; -import type { Identifier } from "../hl7-fhir-r4-core/Identifier"; -import type { Money } from "../hl7-fhir-r4-core/Money"; -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"; - -import type { Element } from "../hl7-fhir-r4-core/Element"; -export type { Address } from "../hl7-fhir-r4-core/Address"; -export type { Attachment } from "../hl7-fhir-r4-core/Attachment"; -export type { BackboneElement } from "../hl7-fhir-r4-core/BackboneElement"; -export type { CodeableConcept } from "../hl7-fhir-r4-core/CodeableConcept"; -export type { Identifier } from "../hl7-fhir-r4-core/Identifier"; -export type { Money } from "../hl7-fhir-r4-core/Money"; -export type { Period } from "../hl7-fhir-r4-core/Period"; -export type { Quantity } from "../hl7-fhir-r4-core/Quantity"; -export type { Reference } from "../hl7-fhir-r4-core/Reference"; - -export interface ClaimResponseAddItem extends BackboneElement { - adjudication: ClaimResponseItemAdjudication[]; - bodySite?: CodeableConcept; - detail?: ClaimResponseAddItemDetail[]; - detailSequence?: number[]; - factor?: number; - itemSequence?: number[]; - locationAddress?: Address; - locationCodeableConcept?: CodeableConcept; - locationReference?: Reference<"Location">; - modifier?: CodeableConcept[]; - net?: Money; - noteNumber?: number[]; - productOrService: CodeableConcept; - programCode?: CodeableConcept[]; - provider?: Reference<"Organization" | "Practitioner" | "PractitionerRole">[]; - quantity?: Quantity; - servicedDate?: string; - servicedPeriod?: Period; - subdetailSequence?: number[]; - subSite?: CodeableConcept[]; - unitPrice?: Money; -} - -export interface ClaimResponseAddItemDetail extends BackboneElement { - adjudication: ClaimResponseItemAdjudication[]; - factor?: number; - modifier?: CodeableConcept[]; - net?: Money; - noteNumber?: number[]; - productOrService: CodeableConcept; - quantity?: Quantity; - subDetail?: ClaimResponseAddItemDetailSubDetail[]; - unitPrice?: Money; -} - -export interface ClaimResponseAddItemDetailSubDetail extends BackboneElement { - adjudication: ClaimResponseItemAdjudication[]; - factor?: number; - modifier?: CodeableConcept[]; - net?: Money; - noteNumber?: number[]; - productOrService: CodeableConcept; - quantity?: Quantity; - unitPrice?: Money; -} - -export interface ClaimResponseError extends BackboneElement { - code: CodeableConcept; - detailSequence?: number; - itemSequence?: number; - subDetailSequence?: number; -} - -export interface ClaimResponseInsurance extends BackboneElement { - businessArrangement?: string; - claimResponse?: Reference<"ClaimResponse">; - coverage: Reference<"Coverage">; - focal: boolean; - sequence: number; -} - -export interface ClaimResponseItem extends BackboneElement { - adjudication: ClaimResponseItemAdjudication[]; - detail?: ClaimResponseItemDetail[]; - itemSequence: number; - noteNumber?: number[]; -} - -export interface ClaimResponseItemAdjudication extends BackboneElement { - amount?: Money; - category: CodeableConcept; - reason?: CodeableConcept; - value?: number; -} - -export interface ClaimResponseItemDetail extends BackboneElement { - adjudication: ClaimResponseItemAdjudication[]; - detailSequence: number; - noteNumber?: number[]; - subDetail?: ClaimResponseItemDetailSubDetail[]; -} - -export interface ClaimResponseItemDetailSubDetail extends BackboneElement { - adjudication?: ClaimResponseItemAdjudication[]; - noteNumber?: number[]; - subDetailSequence: number; -} - -export interface ClaimResponsePayment extends BackboneElement { - adjustment?: Money; - adjustmentReason?: CodeableConcept; - amount: Money; - date?: string; - identifier?: Identifier; - type: CodeableConcept; -} - -export interface ClaimResponseProcessNote extends BackboneElement { - 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"); -} - -export interface ClaimResponseTotal extends BackboneElement { - amount: Money; - category: CodeableConcept; -} - -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/ClaimResponse (pkg: hl7.fhir.r4.core#4.0.1) -export interface ClaimResponse extends DomainResource { - resourceType: "ClaimResponse"; - - addItem?: ClaimResponseAddItem[]; - adjudication?: ClaimResponseItemAdjudication[]; - communicationRequest?: Reference<"CommunicationRequest">[]; - created: string; - _created?: Element; - disposition?: string; - _disposition?: Element; - error?: ClaimResponseError[]; - form?: Attachment; - formCode?: CodeableConcept; - fundsReserve?: CodeableConcept; - identifier?: Identifier[]; - insurance?: ClaimResponseInsurance[]; - insurer: Reference<"Organization">; - item?: ClaimResponseItem[]; - outcome: ("queued" | "complete" | "error" | "partial"); - _outcome?: Element; - patient: Reference<"Patient">; - payeeType?: CodeableConcept; - payment?: ClaimResponsePayment; - preAuthPeriod?: Period; - preAuthRef?: string; - _preAuthRef?: Element; - processNote?: ClaimResponseProcessNote[]; - request?: Reference<"Claim">; - requestor?: Reference<"Organization" | "Practitioner" | "PractitionerRole">; - status: ("active" | "cancelled" | "draft" | "entered-in-error"); - _status?: Element; - subType?: CodeableConcept; - total?: ClaimResponseTotal[]; - type: CodeableConcept<("institutional" | "oral" | "pharmacy" | "professional" | "vision" | string)>; - use: ("claim" | "preauthorization" | "predetermination"); - _use?: Element; -} -export const isClaimResponse = (resource: unknown): resource is ClaimResponse => { - return resource !== null && typeof resource === "object" && (resource as {resourceType: string}).resourceType === "ClaimResponse"; -} 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 deleted file mode 100644 index de8b75169..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/ClinicalImpression.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 { Annotation } from "../hl7-fhir-r4-core/Annotation"; -import type { BackboneElement } from "../hl7-fhir-r4-core/BackboneElement"; -import type { CodeableConcept } from "../hl7-fhir-r4-core/CodeableConcept"; -import type { DomainResource } from "../hl7-fhir-r4-core/DomainResource"; -import type { Identifier } from "../hl7-fhir-r4-core/Identifier"; -import type { Period } from "../hl7-fhir-r4-core/Period"; -import type { Reference } from "../hl7-fhir-r4-core/Reference"; - -import type { Element } from "../hl7-fhir-r4-core/Element"; -export type { Annotation } from "../hl7-fhir-r4-core/Annotation"; -export type { BackboneElement } from "../hl7-fhir-r4-core/BackboneElement"; -export type { CodeableConcept } from "../hl7-fhir-r4-core/CodeableConcept"; -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"; - -export interface ClinicalImpressionFinding extends BackboneElement { - basis?: string; - itemCodeableConcept?: CodeableConcept; - itemReference?: Reference<"Condition" | "Media" | "Observation">; -} - -export interface ClinicalImpressionInvestigation extends BackboneElement { - code: CodeableConcept; - item?: Reference<"DiagnosticReport" | "FamilyMemberHistory" | "ImagingStudy" | "Media" | "Observation" | "QuestionnaireResponse" | "RiskAssessment">[]; -} - -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/ClinicalImpression (pkg: hl7.fhir.r4.core#4.0.1) -export interface ClinicalImpression extends DomainResource { - resourceType: "ClinicalImpression"; - - assessor?: Reference<"Practitioner" | "PractitionerRole">; - code?: CodeableConcept; - date?: string; - _date?: Element; - description?: string; - _description?: Element; - effectiveDateTime?: string; - _effectiveDateTime?: Element; - effectivePeriod?: Period; - encounter?: Reference<"Encounter">; - finding?: ClinicalImpressionFinding[]; - identifier?: Identifier[]; - investigation?: ClinicalImpressionInvestigation[]; - note?: Annotation[]; - previous?: Reference<"ClinicalImpression">; - problem?: Reference<"AllergyIntolerance" | "Condition">[]; - prognosisCodeableConcept?: CodeableConcept[]; - prognosisReference?: Reference<"RiskAssessment">[]; - protocol?: string[]; - _protocol?: (Element | null)[]; - status: ("in-progress" | "completed" | "entered-in-error"); - _status?: Element; - statusReason?: CodeableConcept; - subject: Reference<"Group" | "Patient">; - summary?: string; - _summary?: Element; - supportingInfo?: Reference<"Resource">[]; -} -export const isClinicalImpression = (resource: unknown): resource is ClinicalImpression => { - return resource !== null && typeof resource === "object" && (resource as {resourceType: string}).resourceType === "ClinicalImpression"; -} 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 deleted file mode 100644 index 82f9e68d1..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/CodeSystem.ts +++ /dev/null @@ -1,113 +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 { BackboneElement } from "../hl7-fhir-r4-core/BackboneElement"; -import type { CodeableConcept } from "../hl7-fhir-r4-core/CodeableConcept"; -import type { Coding } from "../hl7-fhir-r4-core/Coding"; -import type { ContactDetail } from "../hl7-fhir-r4-core/ContactDetail"; -import type { DomainResource } from "../hl7-fhir-r4-core/DomainResource"; -import type { Identifier } from "../hl7-fhir-r4-core/Identifier"; -import type { UsageContext } from "../hl7-fhir-r4-core/UsageContext"; - -import type { Element } from "../hl7-fhir-r4-core/Element"; -export type { BackboneElement } from "../hl7-fhir-r4-core/BackboneElement"; -export type { CodeableConcept } from "../hl7-fhir-r4-core/CodeableConcept"; -export type { Coding } from "../hl7-fhir-r4-core/Coding"; -export type { ContactDetail } from "../hl7-fhir-r4-core/ContactDetail"; -export type { Identifier } from "../hl7-fhir-r4-core/Identifier"; -export type { UsageContext } from "../hl7-fhir-r4-core/UsageContext"; - -export interface CodeSystemConcept extends BackboneElement { - code: string; - concept?: CodeSystemConcept[]; - definition?: string; - designation?: CodeSystemConceptDesignation[]; - display?: string; - property?: CodeSystemConceptProperty[]; -} - -export interface CodeSystemConceptDesignation extends BackboneElement { - 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; -} - -export interface CodeSystemConceptProperty extends BackboneElement { - code: string; - valueBoolean?: boolean; - valueCode?: string; - valueCoding?: Coding; - valueDateTime?: string; - valueDecimal?: number; - valueInteger?: number; - valueString?: string; -} - -export interface CodeSystemFilter extends BackboneElement { - code: string; - description?: string; - operator: ("=" | "is-a" | "descendent-of" | "is-not-a" | "regex" | "in" | "not-in" | "generalizes" | "exists")[]; - value: string; -} - -export interface CodeSystemProperty extends BackboneElement { - code: string; - description?: string; - type: ("code" | "Coding" | "string" | "integer" | "boolean" | "dateTime" | "decimal"); - uri?: string; -} - -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/CodeSystem (pkg: hl7.fhir.r4.core#4.0.1) -export interface CodeSystem extends DomainResource { - resourceType: "CodeSystem"; - - caseSensitive?: boolean; - _caseSensitive?: Element; - compositional?: boolean; - _compositional?: Element; - concept?: CodeSystemConcept[]; - contact?: ContactDetail[]; - content: ("not-present" | "example" | "fragment" | "complete" | "supplement"); - _content?: Element; - copyright?: string; - _copyright?: Element; - count?: number; - _count?: Element; - date?: string; - _date?: Element; - description?: string; - _description?: Element; - experimental?: boolean; - _experimental?: Element; - filter?: CodeSystemFilter[]; - hierarchyMeaning?: ("grouped-by" | "is-a" | "part-of" | "classified-with"); - _hierarchyMeaning?: Element; - identifier?: Identifier[]; - jurisdiction?: CodeableConcept[]; - name?: string; - _name?: Element; - property?: CodeSystemProperty[]; - publisher?: string; - _publisher?: Element; - purpose?: string; - _purpose?: Element; - status: ("draft" | "active" | "retired" | "unknown"); - _status?: Element; - supplements?: string; - _supplements?: Element; - title?: string; - _title?: Element; - url?: string; - _url?: Element; - useContext?: UsageContext[]; - valueSet?: string; - _valueSet?: Element; - version?: string; - _version?: Element; - versionNeeded?: boolean; - _versionNeeded?: Element; -} -export const isCodeSystem = (resource: unknown): resource is CodeSystem => { - return resource !== null && typeof resource === "object" && (resource as {resourceType: string}).resourceType === "CodeSystem"; -} 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 deleted file mode 100644 index 96f4cf67b..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/Communication.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 { Annotation } from "../hl7-fhir-r4-core/Annotation"; -import type { Attachment } from "../hl7-fhir-r4-core/Attachment"; -import type { BackboneElement } from "../hl7-fhir-r4-core/BackboneElement"; -import type { CodeableConcept } from "../hl7-fhir-r4-core/CodeableConcept"; -import type { DomainResource } from "../hl7-fhir-r4-core/DomainResource"; -import type { Identifier } from "../hl7-fhir-r4-core/Identifier"; -import type { Reference } from "../hl7-fhir-r4-core/Reference"; - -import type { Element } from "../hl7-fhir-r4-core/Element"; -export type { Annotation } from "../hl7-fhir-r4-core/Annotation"; -export type { Attachment } from "../hl7-fhir-r4-core/Attachment"; -export type { BackboneElement } from "../hl7-fhir-r4-core/BackboneElement"; -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"; - -export interface CommunicationPayload extends BackboneElement { - contentAttachment?: Attachment; - contentReference?: Reference<"Resource">; - contentString?: string; -} - -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/Communication (pkg: hl7.fhir.r4.core#4.0.1) -export interface Communication extends DomainResource { - resourceType: "Communication"; - - about?: Reference<"Resource">[]; - basedOn?: Reference<"Resource">[]; - category?: CodeableConcept[]; - encounter?: Reference<"Encounter">; - identifier?: Identifier[]; - inResponseTo?: Reference<"Communication">[]; - instantiatesCanonical?: string[]; - _instantiatesCanonical?: (Element | null)[]; - instantiatesUri?: string[]; - _instantiatesUri?: (Element | null)[]; - medium?: CodeableConcept[]; - note?: Annotation[]; - partOf?: Reference<"Resource">[]; - payload?: CommunicationPayload[]; - priority?: ("routine" | "urgent" | "asap" | "stat"); - _priority?: Element; - reasonCode?: CodeableConcept[]; - reasonReference?: Reference<"Condition" | "DiagnosticReport" | "DocumentReference" | "Observation">[]; - received?: string; - _received?: Element; - recipient?: Reference<"CareTeam" | "Device" | "Group" | "HealthcareService" | "Organization" | "Patient" | "Practitioner" | "PractitionerRole" | "RelatedPerson">[]; - sender?: Reference<"Device" | "HealthcareService" | "Organization" | "Patient" | "Practitioner" | "PractitionerRole" | "RelatedPerson">; - sent?: string; - _sent?: Element; - status: ("preparation" | "in-progress" | "not-done" | "on-hold" | "stopped" | "completed" | "entered-in-error" | "unknown"); - _status?: Element; - statusReason?: CodeableConcept; - subject?: Reference<"Group" | "Patient">; - topic?: CodeableConcept; -} -export const isCommunication = (resource: unknown): resource is Communication => { - return resource !== null && typeof resource === "object" && (resource as {resourceType: string}).resourceType === "Communication"; -} 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 deleted file mode 100644 index dff1a56c8..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/CommunicationRequest.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 { Annotation } from "../hl7-fhir-r4-core/Annotation"; -import type { Attachment } from "../hl7-fhir-r4-core/Attachment"; -import type { BackboneElement } from "../hl7-fhir-r4-core/BackboneElement"; -import type { CodeableConcept } from "../hl7-fhir-r4-core/CodeableConcept"; -import type { DomainResource } from "../hl7-fhir-r4-core/DomainResource"; -import type { Identifier } from "../hl7-fhir-r4-core/Identifier"; -import type { Period } from "../hl7-fhir-r4-core/Period"; -import type { Reference } from "../hl7-fhir-r4-core/Reference"; - -import type { Element } from "../hl7-fhir-r4-core/Element"; -export type { Annotation } from "../hl7-fhir-r4-core/Annotation"; -export type { Attachment } from "../hl7-fhir-r4-core/Attachment"; -export type { BackboneElement } from "../hl7-fhir-r4-core/BackboneElement"; -export type { CodeableConcept } from "../hl7-fhir-r4-core/CodeableConcept"; -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"; - -export interface CommunicationRequestPayload extends BackboneElement { - contentAttachment?: Attachment; - contentReference?: Reference<"Resource">; - contentString?: string; -} - -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/CommunicationRequest (pkg: hl7.fhir.r4.core#4.0.1) -export interface CommunicationRequest extends DomainResource { - resourceType: "CommunicationRequest"; - - about?: Reference<"Resource">[]; - authoredOn?: string; - _authoredOn?: Element; - basedOn?: Reference<"Resource">[]; - category?: CodeableConcept[]; - doNotPerform?: boolean; - _doNotPerform?: Element; - encounter?: Reference<"Encounter">; - groupIdentifier?: Identifier; - identifier?: Identifier[]; - medium?: CodeableConcept[]; - note?: Annotation[]; - occurrenceDateTime?: string; - _occurrenceDateTime?: Element; - occurrencePeriod?: Period; - payload?: CommunicationRequestPayload[]; - priority?: ("routine" | "urgent" | "asap" | "stat"); - _priority?: Element; - reasonCode?: CodeableConcept[]; - reasonReference?: Reference<"Condition" | "DiagnosticReport" | "DocumentReference" | "Observation">[]; - recipient?: Reference<"CareTeam" | "Device" | "Group" | "HealthcareService" | "Organization" | "Patient" | "Practitioner" | "PractitionerRole" | "RelatedPerson">[]; - replaces?: Reference<"CommunicationRequest">[]; - requester?: Reference<"Device" | "Organization" | "Patient" | "Practitioner" | "PractitionerRole" | "RelatedPerson">; - sender?: Reference<"Device" | "HealthcareService" | "Organization" | "Patient" | "Practitioner" | "PractitionerRole" | "RelatedPerson">; - status: ("draft" | "active" | "on-hold" | "revoked" | "completed" | "entered-in-error" | "unknown"); - _status?: Element; - statusReason?: CodeableConcept; - subject?: Reference<"Group" | "Patient">; -} -export const isCommunicationRequest = (resource: unknown): resource is CommunicationRequest => { - return resource !== null && typeof resource === "object" && (resource as {resourceType: string}).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 deleted file mode 100644 index e71262863..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/CompartmentDefinition.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 { BackboneElement } from "../hl7-fhir-r4-core/BackboneElement"; -import type { ContactDetail } from "../hl7-fhir-r4-core/ContactDetail"; -import type { DomainResource } from "../hl7-fhir-r4-core/DomainResource"; -import type { UsageContext } from "../hl7-fhir-r4-core/UsageContext"; - -import type { Element } from "../hl7-fhir-r4-core/Element"; -export type { BackboneElement } from "../hl7-fhir-r4-core/BackboneElement"; -export type { ContactDetail } from "../hl7-fhir-r4-core/ContactDetail"; -export type { UsageContext } from "../hl7-fhir-r4-core/UsageContext"; - -export interface CompartmentDefinitionResource extends BackboneElement { - code: string; - documentation?: string; - param?: string[]; -} - -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/CompartmentDefinition (pkg: hl7.fhir.r4.core#4.0.1) -export interface CompartmentDefinition extends DomainResource { - resourceType: "CompartmentDefinition"; - - code: ("Patient" | "Encounter" | "RelatedPerson" | "Practitioner" | "Device"); - _code?: Element; - contact?: ContactDetail[]; - date?: string; - _date?: Element; - description?: string; - _description?: Element; - experimental?: boolean; - _experimental?: Element; - name: string; - _name?: Element; - publisher?: string; - _publisher?: Element; - purpose?: string; - _purpose?: Element; - resource?: CompartmentDefinitionResource[]; - search: boolean; - _search?: Element; - status: ("draft" | "active" | "retired" | "unknown"); - _status?: Element; - url: string; - _url?: Element; - useContext?: UsageContext[]; - version?: string; - _version?: Element; -} -export const isCompartmentDefinition = (resource: unknown): resource is CompartmentDefinition => { - return resource !== null && typeof resource === "object" && (resource as {resourceType: string}).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 deleted file mode 100644 index b23b40a97..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/Composition.ts +++ /dev/null @@ -1,78 +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 { BackboneElement } from "../hl7-fhir-r4-core/BackboneElement"; -import type { CodeableConcept } from "../hl7-fhir-r4-core/CodeableConcept"; -import type { DomainResource } from "../hl7-fhir-r4-core/DomainResource"; -import type { Identifier } from "../hl7-fhir-r4-core/Identifier"; -import type { Narrative } from "../hl7-fhir-r4-core/Narrative"; -import type { Period } from "../hl7-fhir-r4-core/Period"; -import type { Reference } from "../hl7-fhir-r4-core/Reference"; - -import type { Element } from "../hl7-fhir-r4-core/Element"; -export type { BackboneElement } from "../hl7-fhir-r4-core/BackboneElement"; -export type { CodeableConcept } from "../hl7-fhir-r4-core/CodeableConcept"; -export type { Identifier } from "../hl7-fhir-r4-core/Identifier"; -export type { Narrative } from "../hl7-fhir-r4-core/Narrative"; -export type { Period } from "../hl7-fhir-r4-core/Period"; -export type { Reference } from "../hl7-fhir-r4-core/Reference"; - -export interface CompositionAttester extends BackboneElement { - mode: ("personal" | "professional" | "legal" | "official"); - party?: Reference<"Organization" | "Patient" | "Practitioner" | "PractitionerRole" | "RelatedPerson">; - time?: string; -} - -export interface CompositionEvent extends BackboneElement { - code?: CodeableConcept[]; - detail?: Reference<"Resource">[]; - period?: Period; -} - -export interface CompositionRelatesTo extends BackboneElement { - code: ("replaces" | "transforms" | "signs" | "appends"); - targetIdentifier?: Identifier; - targetReference?: Reference<"Composition">; -} - -export interface CompositionSection extends BackboneElement { - author?: Reference<"Device" | "Organization" | "Patient" | "Practitioner" | "PractitionerRole" | "RelatedPerson">[]; - code?: CodeableConcept; - emptyReason?: CodeableConcept<("nilknown" | "notasked" | "withheld" | "unavailable" | "notstarted" | "closed" | string)>; - entry?: Reference<"Resource">[]; - focus?: Reference<"Resource">; - mode?: ("working" | "snapshot" | "changes"); - 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 (pkg: hl7.fhir.r4.core#4.0.1) -export interface Composition extends DomainResource { - resourceType: "Composition"; - - attester?: CompositionAttester[]; - author: Reference<"Device" | "Organization" | "Patient" | "Practitioner" | "PractitionerRole" | "RelatedPerson">[]; - category?: CodeableConcept[]; - confidentiality?: ("U" | "L" | "M" | "N" | "R" | "V"); - _confidentiality?: Element; - custodian?: Reference<"Organization">; - date: string; - _date?: Element; - encounter?: Reference<"Encounter">; - event?: CompositionEvent[]; - identifier?: Identifier; - relatesTo?: CompositionRelatesTo[]; - section?: CompositionSection[]; - status: ("preliminary" | "final" | "amended" | "entered-in-error"); - _status?: Element; - subject?: Reference<"Resource">; - title: string; - _title?: Element; - type: CodeableConcept; -} -export const isComposition = (resource: unknown): resource is Composition => { - return resource !== null && typeof resource === "object" && (resource as {resourceType: string}).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 deleted file mode 100644 index 0dc53c674..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/ConceptMap.ts +++ /dev/null @@ -1,99 +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 { BackboneElement } from "../hl7-fhir-r4-core/BackboneElement"; -import type { CodeableConcept } from "../hl7-fhir-r4-core/CodeableConcept"; -import type { ContactDetail } from "../hl7-fhir-r4-core/ContactDetail"; -import type { DomainResource } from "../hl7-fhir-r4-core/DomainResource"; -import type { Identifier } from "../hl7-fhir-r4-core/Identifier"; -import type { UsageContext } from "../hl7-fhir-r4-core/UsageContext"; - -import type { Element } from "../hl7-fhir-r4-core/Element"; -export type { BackboneElement } from "../hl7-fhir-r4-core/BackboneElement"; -export type { CodeableConcept } from "../hl7-fhir-r4-core/CodeableConcept"; -export type { ContactDetail } from "../hl7-fhir-r4-core/ContactDetail"; -export type { Identifier } from "../hl7-fhir-r4-core/Identifier"; -export type { UsageContext } from "../hl7-fhir-r4-core/UsageContext"; - -export interface ConceptMapGroup extends BackboneElement { - element: ConceptMapGroupElement[]; - source?: string; - sourceVersion?: string; - target?: string; - targetVersion?: string; - unmapped?: ConceptMapGroupUnmapped; -} - -export interface ConceptMapGroupElement extends BackboneElement { - code?: string; - display?: string; - target?: ConceptMapGroupElementTarget[]; -} - -export interface ConceptMapGroupElementTarget extends BackboneElement { - code?: string; - comment?: string; - dependsOn?: ConceptMapGroupElementTargetDependsOn[]; - display?: string; - equivalence: ("relatedto" | "equivalent" | "equal" | "wider" | "subsumes" | "narrower" | "specializes" | "inexact" | "unmatched" | "disjoint"); - product?: ConceptMapGroupElementTargetDependsOn[]; -} - -export interface ConceptMapGroupElementTargetDependsOn extends BackboneElement { - display?: string; - property: string; - system?: string; - value: string; -} - -export interface ConceptMapGroupUnmapped extends BackboneElement { - code?: string; - display?: string; - mode: ("provided" | "fixed" | "other-map"); - url?: string; -} - -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/ConceptMap (pkg: hl7.fhir.r4.core#4.0.1) -export interface ConceptMap extends DomainResource { - resourceType: "ConceptMap"; - - contact?: ContactDetail[]; - copyright?: string; - _copyright?: Element; - date?: string; - _date?: Element; - description?: string; - _description?: Element; - experimental?: boolean; - _experimental?: Element; - group?: ConceptMapGroup[]; - identifier?: Identifier; - jurisdiction?: CodeableConcept[]; - name?: string; - _name?: Element; - publisher?: string; - _publisher?: Element; - purpose?: string; - _purpose?: Element; - sourceCanonical?: string; - _sourceCanonical?: Element; - sourceUri?: string; - _sourceUri?: Element; - status: ("draft" | "active" | "retired" | "unknown"); - _status?: Element; - targetCanonical?: string; - _targetCanonical?: Element; - targetUri?: string; - _targetUri?: Element; - title?: string; - _title?: Element; - url?: string; - _url?: Element; - useContext?: UsageContext[]; - version?: string; - _version?: Element; -} -export const isConceptMap = (resource: unknown): resource is ConceptMap => { - return resource !== null && typeof resource === "object" && (resource as {resourceType: string}).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 deleted file mode 100644 index 396467b19..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/Condition.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 { Age } from "../hl7-fhir-r4-core/Age"; -import type { Annotation } from "../hl7-fhir-r4-core/Annotation"; -import type { BackboneElement } from "../hl7-fhir-r4-core/BackboneElement"; -import type { CodeableConcept } from "../hl7-fhir-r4-core/CodeableConcept"; -import type { DomainResource } from "../hl7-fhir-r4-core/DomainResource"; -import type { Identifier } from "../hl7-fhir-r4-core/Identifier"; -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"; - -import type { Element } from "../hl7-fhir-r4-core/Element"; -export type { Age } from "../hl7-fhir-r4-core/Age"; -export type { Annotation } from "../hl7-fhir-r4-core/Annotation"; -export type { BackboneElement } from "../hl7-fhir-r4-core/BackboneElement"; -export type { CodeableConcept } from "../hl7-fhir-r4-core/CodeableConcept"; -export type { Identifier } from "../hl7-fhir-r4-core/Identifier"; -export type { Period } from "../hl7-fhir-r4-core/Period"; -export type { Range } from "../hl7-fhir-r4-core/Range"; -export type { Reference } from "../hl7-fhir-r4-core/Reference"; - -export interface ConditionEvidence extends BackboneElement { - code?: CodeableConcept[]; - detail?: Reference<"Resource">[]; -} - -export interface ConditionStage extends BackboneElement { - assessment?: Reference<"ClinicalImpression" | "DiagnosticReport" | "Observation">[]; - summary?: CodeableConcept; - type?: CodeableConcept; -} - -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/Condition (pkg: hl7.fhir.r4.core#4.0.1) -export interface Condition extends DomainResource { - resourceType: "Condition"; - - abatementAge?: Age; - abatementDateTime?: string; - _abatementDateTime?: Element; - abatementPeriod?: Period; - abatementRange?: Range; - abatementString?: string; - _abatementString?: Element; - asserter?: Reference<"Patient" | "Practitioner" | "PractitionerRole" | "RelatedPerson">; - bodySite?: CodeableConcept[]; - category?: CodeableConcept<("problem-list-item" | "encounter-diagnosis" | string)>[]; - clinicalStatus?: CodeableConcept<("active" | "recurrence" | "relapse" | "inactive" | "remission" | "resolved")>; - code?: CodeableConcept; - encounter?: Reference<"Encounter">; - evidence?: ConditionEvidence[]; - identifier?: Identifier[]; - note?: Annotation[]; - onsetAge?: Age; - onsetDateTime?: string; - _onsetDateTime?: Element; - onsetPeriod?: Period; - onsetRange?: Range; - onsetString?: string; - _onsetString?: Element; - recordedDate?: string; - _recordedDate?: Element; - recorder?: Reference<"Patient" | "Practitioner" | "PractitionerRole" | "RelatedPerson">; - severity?: CodeableConcept<("24484000" | "6736007" | "255604002" | string)>; - stage?: ConditionStage[]; - subject: Reference<"Group" | "Patient">; - 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 deleted file mode 100644 index baa4a3ab7..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/Consent.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 { Attachment } from "../hl7-fhir-r4-core/Attachment"; -import type { BackboneElement } from "../hl7-fhir-r4-core/BackboneElement"; -import type { CodeableConcept } from "../hl7-fhir-r4-core/CodeableConcept"; -import type { Coding } from "../hl7-fhir-r4-core/Coding"; -import type { DomainResource } from "../hl7-fhir-r4-core/DomainResource"; -import type { Identifier } from "../hl7-fhir-r4-core/Identifier"; -import type { Period } from "../hl7-fhir-r4-core/Period"; -import type { Reference } from "../hl7-fhir-r4-core/Reference"; - -import type { Element } from "../hl7-fhir-r4-core/Element"; -export type { Attachment } from "../hl7-fhir-r4-core/Attachment"; -export type { BackboneElement } from "../hl7-fhir-r4-core/BackboneElement"; -export type { CodeableConcept } from "../hl7-fhir-r4-core/CodeableConcept"; -export type { Coding } from "../hl7-fhir-r4-core/Coding"; -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"; - -export interface ConsentPolicy extends BackboneElement { - authority?: string; - uri?: string; -} - -export interface ConsentProvision extends BackboneElement { - action?: CodeableConcept[]; - actor?: ConsentProvisionActor[]; - "class"?: Coding[]; - code?: CodeableConcept[]; - data?: ConsentProvisionData[]; - dataPeriod?: Period; - period?: Period; - provision?: ConsentProvision[]; - purpose?: Coding[]; - securityLabel?: Coding[]; - type?: ("deny" | "permit"); -} - -export interface ConsentProvisionActor extends BackboneElement { - reference: Reference<"CareTeam" | "Device" | "Group" | "Organization" | "Patient" | "Practitioner" | "PractitionerRole" | "RelatedPerson">; - 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 { - meaning: ("instance" | "related" | "dependents" | "authoredby"); - reference: Reference<"Resource">; -} - -export interface ConsentVerification extends BackboneElement { - verificationDate?: string; - verified: boolean; - verifiedWith?: Reference<"Patient" | "RelatedPerson">; -} - -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/Consent (pkg: hl7.fhir.r4.core#4.0.1) -export interface Consent extends DomainResource { - resourceType: "Consent"; - - 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[]; - organization?: Reference<"Organization">[]; - patient?: Reference<"Patient">; - performer?: Reference<"Organization" | "Patient" | "Practitioner" | "PractitionerRole" | "RelatedPerson">[]; - policy?: ConsentPolicy[]; - 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<("adr" | "research" | "patient-privacy" | "treatment" | string)>; - sourceAttachment?: Attachment; - sourceReference?: Reference<"Consent" | "Contract" | "DocumentReference" | "QuestionnaireResponse">; - status: ("draft" | "proposed" | "active" | "rejected" | "inactive" | "entered-in-error"); - _status?: Element; - verification?: ConsentVerification[]; -} -export const isConsent = (resource: unknown): resource is Consent => { - return resource !== null && typeof resource === "object" && (resource as {resourceType: string}).resourceType === "Consent"; -} 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 deleted file mode 100644 index a1dd89112..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/Contract.ts +++ /dev/null @@ -1,243 +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 { Annotation } from "../hl7-fhir-r4-core/Annotation"; -import type { Attachment } from "../hl7-fhir-r4-core/Attachment"; -import type { BackboneElement } from "../hl7-fhir-r4-core/BackboneElement"; -import type { CodeableConcept } from "../hl7-fhir-r4-core/CodeableConcept"; -import type { Coding } from "../hl7-fhir-r4-core/Coding"; -import type { DomainResource } from "../hl7-fhir-r4-core/DomainResource"; -import type { Identifier } from "../hl7-fhir-r4-core/Identifier"; -import type { Money } from "../hl7-fhir-r4-core/Money"; -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"; -import type { Signature } from "../hl7-fhir-r4-core/Signature"; -import type { Timing } from "../hl7-fhir-r4-core/Timing"; - -import type { Element } from "../hl7-fhir-r4-core/Element"; -export type { Annotation } from "../hl7-fhir-r4-core/Annotation"; -export type { Attachment } from "../hl7-fhir-r4-core/Attachment"; -export type { BackboneElement } from "../hl7-fhir-r4-core/BackboneElement"; -export type { CodeableConcept } from "../hl7-fhir-r4-core/CodeableConcept"; -export type { Coding } from "../hl7-fhir-r4-core/Coding"; -export type { Identifier } from "../hl7-fhir-r4-core/Identifier"; -export type { Money } from "../hl7-fhir-r4-core/Money"; -export type { Period } from "../hl7-fhir-r4-core/Period"; -export type { Quantity } from "../hl7-fhir-r4-core/Quantity"; -export type { Reference } from "../hl7-fhir-r4-core/Reference"; -export type { Signature } from "../hl7-fhir-r4-core/Signature"; -export type { Timing } from "../hl7-fhir-r4-core/Timing"; - -export interface ContractContentDefinition extends BackboneElement { - copyright?: string; - publicationDate?: string; - publicationStatus: ("amended" | "appended" | "cancelled" | "disputed" | "entered-in-error" | "executable" | "executed" | "negotiable" | "offered" | "policy" | "rejected" | "renewed" | "revoked" | "resolved" | "terminated"); - publisher?: Reference<"Organization" | "Practitioner" | "PractitionerRole">; - subType?: CodeableConcept; - type: CodeableConcept; -} - -export interface ContractFriendly extends BackboneElement { - contentAttachment?: Attachment; - contentReference?: Reference<"Composition" | "DocumentReference" | "QuestionnaireResponse">; -} - -export interface ContractLegal extends BackboneElement { - contentAttachment?: Attachment; - contentReference?: Reference<"Composition" | "DocumentReference" | "QuestionnaireResponse">; -} - -export interface ContractRule extends BackboneElement { - contentAttachment?: Attachment; - contentReference?: Reference<"DocumentReference">; -} - -export interface ContractSigner extends BackboneElement { - party: Reference<"Organization" | "Patient" | "Practitioner" | "PractitionerRole" | "RelatedPerson">; - signature: Signature[]; - 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 { - action?: ContractTermAction[]; - applies?: Period; - asset?: ContractTermAsset[]; - group?: ContractTerm[]; - identifier?: Identifier; - issued?: string; - offer: ContractTermOffer; - securityLabel?: ContractTermSecurityLabel[]; - subType?: CodeableConcept; - text?: string; - topicCodeableConcept?: CodeableConcept; - topicReference?: Reference<"Resource">; - type?: CodeableConcept; -} - -export interface ContractTermAction extends BackboneElement { - context?: Reference<"Encounter" | "EpisodeOfCare">; - contextLinkId?: string[]; - doNotPerform?: boolean; - intent: CodeableConcept; - linkId?: string[]; - note?: Annotation[]; - occurrenceDateTime?: string; - occurrencePeriod?: Period; - occurrenceTiming?: Timing; - performer?: Reference<"CareTeam" | "Device" | "Location" | "Organization" | "Patient" | "Practitioner" | "PractitionerRole" | "RelatedPerson" | "Substance">; - performerLinkId?: string[]; - performerRole?: CodeableConcept; - performerType?: CodeableConcept[]; - reason?: string[]; - reasonCode?: CodeableConcept[]; - reasonLinkId?: string[]; - reasonReference?: Reference<"Condition" | "DiagnosticReport" | "DocumentReference" | "Observation" | "Questionnaire" | "QuestionnaireResponse">[]; - requester?: Reference<"Device" | "Group" | "Organization" | "Patient" | "Practitioner" | "PractitionerRole" | "RelatedPerson">[]; - requesterLinkId?: string[]; - securityLabelNumber?: number[]; - status: CodeableConcept; - subject?: ContractTermActionSubject[]; - type: CodeableConcept; -} - -export interface ContractTermActionSubject extends BackboneElement { - reference: Reference<"Device" | "Group" | "Organization" | "Patient" | "Practitioner" | "PractitionerRole" | "RelatedPerson">[]; - role?: CodeableConcept; -} - -export interface ContractTermAsset extends BackboneElement { - answer?: ContractTermOfferAnswer[]; - condition?: string; - context?: ContractTermAssetContext[]; - linkId?: string[]; - period?: Period[]; - periodType?: CodeableConcept[]; - relationship?: Coding; - scope?: CodeableConcept; - securityLabelNumber?: number[]; - subtype?: CodeableConcept[]; - text?: string; - type?: CodeableConcept[]; - typeReference?: Reference<"Resource">[]; - usePeriod?: Period[]; - valuedItem?: ContractTermAssetValuedItem[]; -} - -export interface ContractTermAssetContext extends BackboneElement { - code?: CodeableConcept[]; - reference?: Reference<"Resource">; - text?: string; -} - -export interface ContractTermAssetValuedItem extends BackboneElement { - effectiveTime?: string; - entityCodeableConcept?: CodeableConcept; - entityReference?: Reference<"Resource">; - factor?: number; - identifier?: Identifier; - linkId?: string[]; - net?: Money; - payment?: string; - paymentDate?: string; - points?: number; - quantity?: Quantity; - recipient?: Reference<"Organization" | "Patient" | "Practitioner" | "PractitionerRole" | "RelatedPerson">; - responsible?: Reference<"Organization" | "Patient" | "Practitioner" | "PractitionerRole" | "RelatedPerson">; - securityLabelNumber?: number[]; - unitPrice?: Money; -} - -export interface ContractTermOffer extends BackboneElement { - answer?: ContractTermOfferAnswer[]; - decision?: CodeableConcept; - decisionMode?: CodeableConcept[]; - identifier?: Identifier[]; - linkId?: string[]; - party?: ContractTermOfferParty[]; - securityLabelNumber?: number[]; - text?: string; - topic?: Reference<"Resource">; - type?: CodeableConcept; -} - -export interface ContractTermOfferAnswer extends BackboneElement { - valueAttachment?: Attachment; - valueBoolean?: boolean; - valueCoding?: Coding; - valueDate?: string; - valueDateTime?: string; - valueDecimal?: number; - valueInteger?: number; - valueQuantity?: Quantity; - valueReference?: Reference<"Resource">; - valueString?: string; - valueTime?: string; - valueUri?: string; -} - -export interface ContractTermOfferParty extends BackboneElement { - reference: Reference<"Device" | "Group" | "Organization" | "Patient" | "Practitioner" | "PractitionerRole" | "RelatedPerson">[]; - role: CodeableConcept; -} - -export interface ContractTermSecurityLabel extends BackboneElement { - category?: Coding[]; - classification: Coding; - control?: Coding[]; - number?: number[]; -} - -// 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 | null)[]; - applies?: Period; - author?: Reference<"Organization" | "Patient" | "Practitioner" | "PractitionerRole">; - authority?: Reference<"Organization">[]; - contentDefinition?: ContractContentDefinition; - contentDerivative?: CodeableConcept; - domain?: Reference<"Location">[]; - expirationType?: CodeableConcept; - friendly?: ContractFriendly[]; - identifier?: Identifier[]; - instantiatesCanonical?: Reference<"Contract">; - instantiatesUri?: string; - _instantiatesUri?: Element; - issued?: string; - _issued?: Element; - legal?: ContractLegal[]; - legallyBindingAttachment?: Attachment; - legallyBindingReference?: Reference<"Composition" | "Contract" | "DocumentReference" | "QuestionnaireResponse">; - 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">[]; - rule?: ContractRule[]; - scope?: CodeableConcept; - signer?: ContractSigner[]; - site?: Reference<"Location">[]; - status?: ("amended" | "appended" | "cancelled" | "disputed" | "entered-in-error" | "executable" | "executed" | "negotiable" | "offered" | "policy" | "rejected" | "renewed" | "revoked" | "resolved" | "terminated"); - _status?: Element; - subject?: Reference<"Resource">[]; - subtitle?: string; - _subtitle?: Element; - subType?: CodeableConcept[]; - supportingInfo?: Reference<"Resource">[]; - term?: ContractTerm[]; - title?: string; - _title?: Element; - topicCodeableConcept?: CodeableConcept; - topicReference?: Reference<"Resource">; - type?: CodeableConcept; - url?: string; - _url?: Element; - version?: string; - _version?: Element; -} -export const isContract = (resource: unknown): resource is Contract => { - return resource !== null && typeof resource === "object" && (resource as {resourceType: string}).resourceType === "Contract"; -} 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 deleted file mode 100644 index b59b34ba2..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/Coverage.ts +++ /dev/null @@ -1,71 +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 { BackboneElement } from "../hl7-fhir-r4-core/BackboneElement"; -import type { CodeableConcept } from "../hl7-fhir-r4-core/CodeableConcept"; -import type { DomainResource } from "../hl7-fhir-r4-core/DomainResource"; -import type { Identifier } from "../hl7-fhir-r4-core/Identifier"; -import type { Money } from "../hl7-fhir-r4-core/Money"; -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"; - -import type { Element } from "../hl7-fhir-r4-core/Element"; -export type { BackboneElement } from "../hl7-fhir-r4-core/BackboneElement"; -export type { CodeableConcept } from "../hl7-fhir-r4-core/CodeableConcept"; -export type { Identifier } from "../hl7-fhir-r4-core/Identifier"; -export type { Money } from "../hl7-fhir-r4-core/Money"; -export type { Period } from "../hl7-fhir-r4-core/Period"; -export type { Quantity } from "../hl7-fhir-r4-core/Quantity"; -export type { Reference } from "../hl7-fhir-r4-core/Reference"; - -export interface CoverageClass extends BackboneElement { - name?: string; - 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<("gpvisit" | "spvisit" | "emergency" | "inpthosp" | "televisit" | "urgentcare" | "copaypct" | "copay" | "deductible" | "maxoutofpocket" | string)>; - valueMoney?: Money; - valueQuantity?: Quantity; -} - -export interface CoverageCostToBeneficiaryException extends BackboneElement { - period?: Period; - type: CodeableConcept; -} - -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/Coverage (pkg: hl7.fhir.r4.core#4.0.1) -export interface Coverage extends DomainResource { - resourceType: "Coverage"; - - beneficiary: Reference<"Patient">; - "class"?: CoverageClass[]; - contract?: Reference<"Contract">[]; - costToBeneficiary?: CoverageCostToBeneficiary[]; - dependent?: string; - _dependent?: Element; - identifier?: Identifier[]; - network?: string; - _network?: Element; - order?: number; - _order?: Element; - payor: Reference<"Organization" | "Patient" | "RelatedPerson">[]; - period?: Period; - policyHolder?: Reference<"Organization" | "Patient" | "RelatedPerson">; - 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?: string; - _subscriberId?: Element; - 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 deleted file mode 100644 index 52532070e..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/CoverageEligibilityRequest.ts +++ /dev/null @@ -1,79 +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 { BackboneElement } from "../hl7-fhir-r4-core/BackboneElement"; -import type { CodeableConcept } from "../hl7-fhir-r4-core/CodeableConcept"; -import type { DomainResource } from "../hl7-fhir-r4-core/DomainResource"; -import type { Identifier } from "../hl7-fhir-r4-core/Identifier"; -import type { Money } from "../hl7-fhir-r4-core/Money"; -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"; - -import type { Element } from "../hl7-fhir-r4-core/Element"; -export type { BackboneElement } from "../hl7-fhir-r4-core/BackboneElement"; -export type { CodeableConcept } from "../hl7-fhir-r4-core/CodeableConcept"; -export type { Identifier } from "../hl7-fhir-r4-core/Identifier"; -export type { Money } from "../hl7-fhir-r4-core/Money"; -export type { Period } from "../hl7-fhir-r4-core/Period"; -export type { Quantity } from "../hl7-fhir-r4-core/Quantity"; -export type { Reference } from "../hl7-fhir-r4-core/Reference"; - -export interface CoverageEligibilityRequestInsurance extends BackboneElement { - businessArrangement?: string; - coverage: Reference<"Coverage">; - focal?: boolean; -} - -export interface CoverageEligibilityRequestItem extends BackboneElement { - category?: CodeableConcept; - detail?: Reference<"Resource">[]; - diagnosis?: CoverageEligibilityRequestItemDiagnosis[]; - facility?: Reference<"Location" | "Organization">; - modifier?: CodeableConcept[]; - productOrService?: CodeableConcept; - provider?: Reference<"Practitioner" | "PractitionerRole">; - quantity?: Quantity; - supportingInfoSequence?: number[]; - unitPrice?: Money; -} - -export interface CoverageEligibilityRequestItemDiagnosis extends BackboneElement { - diagnosisCodeableConcept?: CodeableConcept; - diagnosisReference?: Reference<"Condition">; -} - -export interface CoverageEligibilityRequestSupportingInfo extends BackboneElement { - appliesToAll?: boolean; - information: Reference<"Resource">; - sequence: number; -} - -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/CoverageEligibilityRequest (pkg: hl7.fhir.r4.core#4.0.1) -export interface CoverageEligibilityRequest extends DomainResource { - resourceType: "CoverageEligibilityRequest"; - - created: string; - _created?: Element; - enterer?: Reference<"Practitioner" | "PractitionerRole">; - facility?: Reference<"Location">; - identifier?: Identifier[]; - insurance?: CoverageEligibilityRequestInsurance[]; - insurer: Reference<"Organization">; - item?: CoverageEligibilityRequestItem[]; - patient: Reference<"Patient">; - priority?: CodeableConcept; - provider?: Reference<"Organization" | "Practitioner" | "PractitionerRole">; - purpose: ("auth-requirements" | "benefits" | "discovery" | "validation")[]; - _purpose?: (Element | null)[]; - servicedDate?: string; - _servicedDate?: Element; - servicedPeriod?: Period; - status: ("active" | "cancelled" | "draft" | "entered-in-error"); - _status?: Element; - supportingInfo?: CoverageEligibilityRequestSupportingInfo[]; -} -export const isCoverageEligibilityRequest = (resource: unknown): resource is CoverageEligibilityRequest => { - return resource !== null && typeof resource === "object" && (resource as {resourceType: string}).resourceType === "CoverageEligibilityRequest"; -} 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 deleted file mode 100644 index 7a02434ab..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/CoverageEligibilityResponse.ts +++ /dev/null @@ -1,89 +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 { BackboneElement } from "../hl7-fhir-r4-core/BackboneElement"; -import type { CodeableConcept } from "../hl7-fhir-r4-core/CodeableConcept"; -import type { DomainResource } from "../hl7-fhir-r4-core/DomainResource"; -import type { Identifier } from "../hl7-fhir-r4-core/Identifier"; -import type { Money } from "../hl7-fhir-r4-core/Money"; -import type { Period } from "../hl7-fhir-r4-core/Period"; -import type { Reference } from "../hl7-fhir-r4-core/Reference"; - -import type { Element } from "../hl7-fhir-r4-core/Element"; -export type { BackboneElement } from "../hl7-fhir-r4-core/BackboneElement"; -export type { CodeableConcept } from "../hl7-fhir-r4-core/CodeableConcept"; -export type { Identifier } from "../hl7-fhir-r4-core/Identifier"; -export type { Money } from "../hl7-fhir-r4-core/Money"; -export type { Period } from "../hl7-fhir-r4-core/Period"; -export type { Reference } from "../hl7-fhir-r4-core/Reference"; - -export interface CoverageEligibilityResponseError extends BackboneElement { - code: CodeableConcept; -} - -export interface CoverageEligibilityResponseInsurance extends BackboneElement { - benefitPeriod?: Period; - coverage: Reference<"Coverage">; - inforce?: boolean; - item?: CoverageEligibilityResponseInsuranceItem[]; -} - -export interface CoverageEligibilityResponseInsuranceItem extends BackboneElement { - authorizationRequired?: boolean; - authorizationSupporting?: CodeableConcept[]; - authorizationUrl?: string; - benefit?: CoverageEligibilityResponseInsuranceItemBenefit[]; - category?: CodeableConcept; - description?: string; - excluded?: boolean; - modifier?: CodeableConcept[]; - name?: string; - network?: CodeableConcept; - productOrService?: CodeableConcept; - provider?: Reference<"Practitioner" | "PractitionerRole">; - term?: CodeableConcept; - unit?: CodeableConcept; -} - -export interface CoverageEligibilityResponseInsuranceItemBenefit extends BackboneElement { - allowedMoney?: Money; - allowedString?: string; - allowedUnsignedInt?: number; - type: CodeableConcept; - usedMoney?: Money; - usedString?: string; - usedUnsignedInt?: number; -} - -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/CoverageEligibilityResponse (pkg: hl7.fhir.r4.core#4.0.1) -export interface CoverageEligibilityResponse extends DomainResource { - resourceType: "CoverageEligibilityResponse"; - - created: string; - _created?: Element; - disposition?: string; - _disposition?: Element; - error?: CoverageEligibilityResponseError[]; - form?: CodeableConcept; - identifier?: Identifier[]; - insurance?: CoverageEligibilityResponseInsurance[]; - insurer: Reference<"Organization">; - outcome: ("queued" | "complete" | "error" | "partial"); - _outcome?: Element; - patient: Reference<"Patient">; - preAuthRef?: string; - _preAuthRef?: Element; - purpose: ("auth-requirements" | "benefits" | "discovery" | "validation")[]; - _purpose?: (Element | null)[]; - request: Reference<"CoverageEligibilityRequest">; - requestor?: Reference<"Organization" | "Practitioner" | "PractitionerRole">; - servicedDate?: string; - _servicedDate?: Element; - servicedPeriod?: Period; - status: ("active" | "cancelled" | "draft" | "entered-in-error"); - _status?: Element; -} -export const isCoverageEligibilityResponse = (resource: unknown): resource is CoverageEligibilityResponse => { - return resource !== null && typeof resource === "object" && (resource as {resourceType: string}).resourceType === "CoverageEligibilityResponse"; -} 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 deleted file mode 100644 index fb6da5a32..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/Definition.ts +++ /dev/null @@ -1,6 +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. - -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/Definition (pkg: hl7.fhir.r4.core#4.0.1) -export type Definition = object; 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 deleted file mode 100644 index bfa8b1819..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/DetectedIssue.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 { BackboneElement } from "../hl7-fhir-r4-core/BackboneElement"; -import type { CodeableConcept } from "../hl7-fhir-r4-core/CodeableConcept"; -import type { DomainResource } from "../hl7-fhir-r4-core/DomainResource"; -import type { Identifier } from "../hl7-fhir-r4-core/Identifier"; -import type { Period } from "../hl7-fhir-r4-core/Period"; -import type { Reference } from "../hl7-fhir-r4-core/Reference"; - -import type { Element } from "../hl7-fhir-r4-core/Element"; -export type { BackboneElement } from "../hl7-fhir-r4-core/BackboneElement"; -export type { CodeableConcept } from "../hl7-fhir-r4-core/CodeableConcept"; -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"; - -export interface DetectedIssueEvidence extends BackboneElement { - code?: CodeableConcept[]; - detail?: Reference<"Resource">[]; -} - -export interface DetectedIssueMitigation extends BackboneElement { - action: CodeableConcept; - author?: Reference<"Practitioner" | "PractitionerRole">; - date?: string; -} - -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/DetectedIssue (pkg: hl7.fhir.r4.core#4.0.1) -export interface DetectedIssue extends DomainResource { - resourceType: "DetectedIssue"; - - author?: Reference<"Device" | "Practitioner" | "PractitionerRole">; - code?: CodeableConcept; - detail?: string; - _detail?: Element; - evidence?: DetectedIssueEvidence[]; - identifiedDateTime?: string; - _identifiedDateTime?: Element; - identifiedPeriod?: Period; - identifier?: Identifier[]; - implicated?: Reference<"Resource">[]; - mitigation?: DetectedIssueMitigation[]; - patient?: Reference<"Patient">; - reference?: string; - _reference?: Element; - severity?: ("high" | "moderate" | "low"); - _severity?: Element; - status: ("registered" | "preliminary" | "final" | "amended" | "corrected" | "cancelled" | "entered-in-error" | "unknown"); - _status?: Element; -} -export const isDetectedIssue = (resource: unknown): resource is DetectedIssue => { - return resource !== null && typeof resource === "object" && (resource as {resourceType: string}).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 deleted file mode 100644 index 69f2be791..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/Device.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 { Annotation } from "../hl7-fhir-r4-core/Annotation"; -import type { BackboneElement } from "../hl7-fhir-r4-core/BackboneElement"; -import type { CodeableConcept } from "../hl7-fhir-r4-core/CodeableConcept"; -import type { ContactPoint } from "../hl7-fhir-r4-core/ContactPoint"; -import type { DomainResource } from "../hl7-fhir-r4-core/DomainResource"; -import type { Identifier } from "../hl7-fhir-r4-core/Identifier"; -import type { Quantity } from "../hl7-fhir-r4-core/Quantity"; -import type { Reference } from "../hl7-fhir-r4-core/Reference"; - -import type { Element } from "../hl7-fhir-r4-core/Element"; -export type { Annotation } from "../hl7-fhir-r4-core/Annotation"; -export type { BackboneElement } from "../hl7-fhir-r4-core/BackboneElement"; -export type { CodeableConcept } from "../hl7-fhir-r4-core/CodeableConcept"; -export type { ContactPoint } from "../hl7-fhir-r4-core/ContactPoint"; -export type { Identifier } from "../hl7-fhir-r4-core/Identifier"; -export type { Quantity } from "../hl7-fhir-r4-core/Quantity"; -export type { Reference } from "../hl7-fhir-r4-core/Reference"; - -export interface DeviceDeviceName extends BackboneElement { - name: string; - type: ("udi-label-name" | "user-friendly-name" | "patient-reported-name" | "manufacturer-name" | "model-name" | "other"); -} - -export interface DeviceProperty extends BackboneElement { - type: CodeableConcept; - valueCode?: CodeableConcept[]; - valueQuantity?: Quantity[]; -} - -export interface DeviceSpecialization extends BackboneElement { - systemType: CodeableConcept; - version?: string; -} - -export interface DeviceUdiCarrier extends BackboneElement { - carrierAIDC?: string; - carrierHRF?: string; - deviceIdentifier?: string; - entryType?: ("barcode" | "rfid" | "manual" | "card" | "self-reported" | "unknown"); - issuer?: string; - jurisdiction?: string; -} - -export interface DeviceVersion extends BackboneElement { - component?: Identifier; - type?: CodeableConcept; - value: string; -} - -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/Device (pkg: hl7.fhir.r4.core#4.0.1) -export interface Device extends DomainResource { - resourceType: "Device"; - - contact?: ContactPoint[]; - definition?: Reference<"DeviceDefinition">; - deviceName?: DeviceDeviceName[]; - distinctIdentifier?: string; - _distinctIdentifier?: Element; - expirationDate?: string; - _expirationDate?: Element; - identifier?: Identifier[]; - location?: Reference<"Location">; - lotNumber?: string; - _lotNumber?: Element; - manufactureDate?: string; - _manufactureDate?: Element; - manufacturer?: string; - _manufacturer?: Element; - modelNumber?: string; - _modelNumber?: Element; - note?: Annotation[]; - owner?: Reference<"Organization">; - parent?: Reference<"Device">; - partNumber?: string; - _partNumber?: Element; - patient?: Reference<"Patient">; - property?: DeviceProperty[]; - safety?: CodeableConcept[]; - serialNumber?: string; - _serialNumber?: Element; - specialization?: DeviceSpecialization[]; - status?: ("active" | "inactive" | "entered-in-error" | "unknown"); - _status?: Element; - statusReason?: CodeableConcept<("online" | "paused" | "standby" | "offline" | "not-ready" | "transduc-discon" | "hw-discon" | "off" | string)>[]; - type?: CodeableConcept; - udiCarrier?: DeviceUdiCarrier[]; - url?: string; - _url?: Element; - version?: DeviceVersion[]; -} -export const isDevice = (resource: unknown): resource is Device => { - return resource !== null && typeof resource === "object" && (resource as {resourceType: string}).resourceType === "Device"; -} 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 deleted file mode 100644 index b19c42d80..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/DeviceDefinition.ts +++ /dev/null @@ -1,95 +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 { Annotation } from "../hl7-fhir-r4-core/Annotation"; -import type { BackboneElement } from "../hl7-fhir-r4-core/BackboneElement"; -import type { CodeableConcept } from "../hl7-fhir-r4-core/CodeableConcept"; -import type { ContactPoint } from "../hl7-fhir-r4-core/ContactPoint"; -import type { DomainResource } from "../hl7-fhir-r4-core/DomainResource"; -import type { Identifier } from "../hl7-fhir-r4-core/Identifier"; -import type { ProdCharacteristic } from "../hl7-fhir-r4-core/ProdCharacteristic"; -import type { ProductShelfLife } from "../hl7-fhir-r4-core/ProductShelfLife"; -import type { Quantity } from "../hl7-fhir-r4-core/Quantity"; -import type { Reference } from "../hl7-fhir-r4-core/Reference"; - -import type { Element } from "../hl7-fhir-r4-core/Element"; -export type { Annotation } from "../hl7-fhir-r4-core/Annotation"; -export type { BackboneElement } from "../hl7-fhir-r4-core/BackboneElement"; -export type { CodeableConcept } from "../hl7-fhir-r4-core/CodeableConcept"; -export type { ContactPoint } from "../hl7-fhir-r4-core/ContactPoint"; -export type { Identifier } from "../hl7-fhir-r4-core/Identifier"; -export type { ProdCharacteristic } from "../hl7-fhir-r4-core/ProdCharacteristic"; -export type { ProductShelfLife } from "../hl7-fhir-r4-core/ProductShelfLife"; -export type { Quantity } from "../hl7-fhir-r4-core/Quantity"; -export type { Reference } from "../hl7-fhir-r4-core/Reference"; - -export interface DeviceDefinitionCapability extends BackboneElement { - description?: CodeableConcept[]; - type: CodeableConcept; -} - -export interface DeviceDefinitionDeviceName extends BackboneElement { - name: string; - type: ("udi-label-name" | "user-friendly-name" | "patient-reported-name" | "manufacturer-name" | "model-name" | "other"); -} - -export interface DeviceDefinitionMaterial extends BackboneElement { - allergenicIndicator?: boolean; - alternate?: boolean; - substance: CodeableConcept; -} - -export interface DeviceDefinitionProperty extends BackboneElement { - type: CodeableConcept; - valueCode?: CodeableConcept[]; - valueQuantity?: Quantity[]; -} - -export interface DeviceDefinitionSpecialization extends BackboneElement { - systemType: string; - version?: string; -} - -export interface DeviceDefinitionUdiDeviceIdentifier extends BackboneElement { - deviceIdentifier: string; - issuer: string; - jurisdiction: string; -} - -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/DeviceDefinition (pkg: hl7.fhir.r4.core#4.0.1) -export interface DeviceDefinition extends DomainResource { - resourceType: "DeviceDefinition"; - - capability?: DeviceDefinitionCapability[]; - contact?: ContactPoint[]; - deviceName?: DeviceDefinitionDeviceName[]; - identifier?: Identifier[]; - languageCode?: CodeableConcept[]; - manufacturerReference?: Reference<"Organization">; - manufacturerString?: string; - _manufacturerString?: Element; - material?: DeviceDefinitionMaterial[]; - modelNumber?: string; - _modelNumber?: Element; - note?: Annotation[]; - onlineInformation?: string; - _onlineInformation?: Element; - owner?: Reference<"Organization">; - parentDevice?: Reference<"DeviceDefinition">; - physicalCharacteristics?: ProdCharacteristic; - property?: DeviceDefinitionProperty[]; - quantity?: Quantity; - safety?: CodeableConcept[]; - shelfLifeStorage?: ProductShelfLife[]; - specialization?: DeviceDefinitionSpecialization[]; - type?: CodeableConcept; - udiDeviceIdentifier?: DeviceDefinitionUdiDeviceIdentifier[]; - url?: string; - _url?: Element; - version?: string[]; - _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 deleted file mode 100644 index c0d4076fa..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/DeviceMetric.ts +++ /dev/null @@ -1,45 +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 { BackboneElement } from "../hl7-fhir-r4-core/BackboneElement"; -import type { CodeableConcept } from "../hl7-fhir-r4-core/CodeableConcept"; -import type { DomainResource } from "../hl7-fhir-r4-core/DomainResource"; -import type { Identifier } from "../hl7-fhir-r4-core/Identifier"; -import type { Reference } from "../hl7-fhir-r4-core/Reference"; -import type { Timing } from "../hl7-fhir-r4-core/Timing"; - -import type { Element } from "../hl7-fhir-r4-core/Element"; -export type { BackboneElement } from "../hl7-fhir-r4-core/BackboneElement"; -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"; -export type { Timing } from "../hl7-fhir-r4-core/Timing"; - -export interface DeviceMetricCalibration extends BackboneElement { - state?: ("not-calibrated" | "calibration-required" | "calibrated" | "unspecified"); - time?: string; - type?: ("unspecified" | "offset" | "gain" | "two-point"); -} - -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/DeviceMetric (pkg: hl7.fhir.r4.core#4.0.1) -export interface DeviceMetric extends DomainResource { - resourceType: "DeviceMetric"; - - calibration?: DeviceMetricCalibration[]; - category: ("measurement" | "setting" | "calculation" | "unspecified"); - _category?: Element; - color?: ("black" | "red" | "green" | "yellow" | "blue" | "magenta" | "cyan" | "white"); - _color?: Element; - identifier?: Identifier[]; - measurementPeriod?: Timing; - operationalStatus?: ("on" | "off" | "standby" | "entered-in-error"); - _operationalStatus?: Element; - parent?: Reference<"Device">; - source?: Reference<"Device">; - type: CodeableConcept; - unit?: CodeableConcept; -} -export const isDeviceMetric = (resource: unknown): resource is DeviceMetric => { - return resource !== null && typeof resource === "object" && (resource as {resourceType: string}).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 deleted file mode 100644 index a61b6baf5..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/DeviceRequest.ts +++ /dev/null @@ -1,76 +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 { Annotation } from "../hl7-fhir-r4-core/Annotation"; -import type { BackboneElement } from "../hl7-fhir-r4-core/BackboneElement"; -import type { CodeableConcept } from "../hl7-fhir-r4-core/CodeableConcept"; -import type { DomainResource } from "../hl7-fhir-r4-core/DomainResource"; -import type { Identifier } from "../hl7-fhir-r4-core/Identifier"; -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 { Reference } from "../hl7-fhir-r4-core/Reference"; -import type { Timing } from "../hl7-fhir-r4-core/Timing"; - -import type { Element } from "../hl7-fhir-r4-core/Element"; -export type { Annotation } from "../hl7-fhir-r4-core/Annotation"; -export type { BackboneElement } from "../hl7-fhir-r4-core/BackboneElement"; -export type { CodeableConcept } from "../hl7-fhir-r4-core/CodeableConcept"; -export type { Identifier } from "../hl7-fhir-r4-core/Identifier"; -export type { Period } from "../hl7-fhir-r4-core/Period"; -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"; -export type { Timing } from "../hl7-fhir-r4-core/Timing"; - -export interface DeviceRequestParameter extends BackboneElement { - code?: CodeableConcept; - valueBoolean?: boolean; - valueCodeableConcept?: CodeableConcept; - valueQuantity?: Quantity; - valueRange?: Range; -} - -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/DeviceRequest (pkg: hl7.fhir.r4.core#4.0.1) -export interface DeviceRequest extends DomainResource { - resourceType: "DeviceRequest"; - - authoredOn?: string; - _authoredOn?: Element; - basedOn?: Reference<"Resource">[]; - codeCodeableConcept?: CodeableConcept; - codeReference?: Reference<"Device">; - encounter?: Reference<"Encounter">; - groupIdentifier?: Identifier; - identifier?: Identifier[]; - instantiatesCanonical?: string[]; - _instantiatesCanonical?: (Element | null)[]; - instantiatesUri?: string[]; - _instantiatesUri?: (Element | null)[]; - insurance?: Reference<"ClaimResponse" | "Coverage">[]; - intent: ("proposal" | "plan" | "directive" | "order" | "original-order" | "reflex-order" | "filler-order" | "instance-order" | "option"); - _intent?: Element; - note?: Annotation[]; - occurrenceDateTime?: string; - _occurrenceDateTime?: Element; - occurrencePeriod?: Period; - occurrenceTiming?: Timing; - parameter?: DeviceRequestParameter[]; - performer?: Reference<"CareTeam" | "Device" | "HealthcareService" | "Organization" | "Patient" | "Practitioner" | "PractitionerRole" | "RelatedPerson">; - performerType?: CodeableConcept; - priority?: ("routine" | "urgent" | "asap" | "stat"); - _priority?: Element; - priorRequest?: Reference<"Resource">[]; - reasonCode?: CodeableConcept[]; - reasonReference?: Reference<"Condition" | "DiagnosticReport" | "DocumentReference" | "Observation">[]; - relevantHistory?: Reference<"Provenance">[]; - requester?: Reference<"Device" | "Organization" | "Practitioner" | "PractitionerRole">; - status?: ("draft" | "active" | "on-hold" | "revoked" | "completed" | "entered-in-error" | "unknown"); - _status?: Element; - subject: Reference<"Device" | "Group" | "Location" | "Patient">; - supportingInfo?: Reference<"Resource">[]; -} -export const isDeviceRequest = (resource: unknown): resource is DeviceRequest => { - return resource !== null && typeof resource === "object" && (resource as {resourceType: string}).resourceType === "DeviceRequest"; -} 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 deleted file mode 100644 index 155387074..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/DeviceUseStatement.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 { Annotation } from "../hl7-fhir-r4-core/Annotation"; -import type { CodeableConcept } from "../hl7-fhir-r4-core/CodeableConcept"; -import type { DomainResource } from "../hl7-fhir-r4-core/DomainResource"; -import type { Identifier } from "../hl7-fhir-r4-core/Identifier"; -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"; - -import type { Element } from "../hl7-fhir-r4-core/Element"; -export type { Annotation } from "../hl7-fhir-r4-core/Annotation"; -export type { CodeableConcept } from "../hl7-fhir-r4-core/CodeableConcept"; -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"; -export type { Timing } from "../hl7-fhir-r4-core/Timing"; - -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/DeviceUseStatement (pkg: hl7.fhir.r4.core#4.0.1) -export interface DeviceUseStatement extends DomainResource { - resourceType: "DeviceUseStatement"; - - basedOn?: Reference<"ServiceRequest">[]; - bodySite?: CodeableConcept; - derivedFrom?: Reference<"Claim" | "DocumentReference" | "Observation" | "Procedure" | "QuestionnaireResponse" | "ServiceRequest">[]; - device: Reference<"Device">; - identifier?: Identifier[]; - note?: Annotation[]; - reasonCode?: CodeableConcept[]; - reasonReference?: Reference<"Condition" | "DiagnosticReport" | "DocumentReference" | "Media" | "Observation">[]; - recordedOn?: string; - _recordedOn?: Element; - source?: Reference<"Patient" | "Practitioner" | "PractitionerRole" | "RelatedPerson">; - status: ("active" | "completed" | "entered-in-error" | "intended" | "stopped" | "on-hold"); - _status?: Element; - subject: Reference<"Group" | "Patient">; - timingDateTime?: string; - _timingDateTime?: Element; - timingPeriod?: Period; - timingTiming?: Timing; -} -export const isDeviceUseStatement = (resource: unknown): resource is DeviceUseStatement => { - return resource !== null && typeof resource === "object" && (resource as {resourceType: string}).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 deleted file mode 100644 index 4d747425b..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/DiagnosticReport.ts +++ /dev/null @@ -1,56 +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-r4-core/Attachment"; -import type { BackboneElement } from "../hl7-fhir-r4-core/BackboneElement"; -import type { CodeableConcept } from "../hl7-fhir-r4-core/CodeableConcept"; -import type { DomainResource } from "../hl7-fhir-r4-core/DomainResource"; -import type { Identifier } from "../hl7-fhir-r4-core/Identifier"; -import type { Period } from "../hl7-fhir-r4-core/Period"; -import type { Reference } from "../hl7-fhir-r4-core/Reference"; - -import type { Element } from "../hl7-fhir-r4-core/Element"; -export type { Attachment } from "../hl7-fhir-r4-core/Attachment"; -export type { BackboneElement } from "../hl7-fhir-r4-core/BackboneElement"; -export type { CodeableConcept } from "../hl7-fhir-r4-core/CodeableConcept"; -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"; - -export interface DiagnosticReportMedia extends BackboneElement { - comment?: string; - link: Reference<"Media">; -} - -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/DiagnosticReport (pkg: hl7.fhir.r4.core#4.0.1) -export interface DiagnosticReport extends DomainResource { - resourceType: "DiagnosticReport"; - - basedOn?: Reference<"CarePlan" | "ImmunizationRecommendation" | "MedicationRequest" | "NutritionOrder" | "ServiceRequest">[]; - category?: CodeableConcept[]; - code: CodeableConcept; - conclusion?: string; - _conclusion?: Element; - conclusionCode?: CodeableConcept[]; - effectiveDateTime?: string; - _effectiveDateTime?: Element; - effectivePeriod?: Period; - encounter?: Reference<"Encounter">; - identifier?: Identifier[]; - imagingStudy?: Reference<"ImagingStudy">[]; - issued?: string; - _issued?: Element; - media?: DiagnosticReportMedia[]; - performer?: Reference<"CareTeam" | "Organization" | "Practitioner" | "PractitionerRole">[]; - presentedForm?: Attachment[]; - result?: Reference<"Observation">[]; - resultsInterpreter?: Reference<"CareTeam" | "Organization" | "Practitioner" | "PractitionerRole">[]; - specimen?: Reference<"Specimen">[]; - status: ("registered" | "partial" | "preliminary" | "final" | "amended" | "corrected" | "appended" | "cancelled" | "entered-in-error" | "unknown"); - _status?: Element; - subject?: Reference<"Device" | "Group" | "Location" | "Patient">; -} -export const isDiagnosticReport = (resource: unknown): resource is DiagnosticReport => { - return resource !== null && typeof resource === "object" && (resource as {resourceType: string}).resourceType === "DiagnosticReport"; -} 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 deleted file mode 100644 index db406d81d..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/DocumentManifest.ts +++ /dev/null @@ -1,45 +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 { BackboneElement } from "../hl7-fhir-r4-core/BackboneElement"; -import type { CodeableConcept } from "../hl7-fhir-r4-core/CodeableConcept"; -import type { DomainResource } from "../hl7-fhir-r4-core/DomainResource"; -import type { Identifier } from "../hl7-fhir-r4-core/Identifier"; -import type { Reference } from "../hl7-fhir-r4-core/Reference"; - -import type { Element } from "../hl7-fhir-r4-core/Element"; -export type { BackboneElement } from "../hl7-fhir-r4-core/BackboneElement"; -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"; - -export interface DocumentManifestRelated extends BackboneElement { - identifier?: Identifier; - ref?: Reference<"Resource">; -} - -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/DocumentManifest (pkg: hl7.fhir.r4.core#4.0.1) -export interface DocumentManifest extends DomainResource { - resourceType: "DocumentManifest"; - - author?: Reference<"Device" | "Organization" | "Patient" | "Practitioner" | "PractitionerRole" | "RelatedPerson">[]; - content: Reference<"Resource">[]; - created?: string; - _created?: Element; - description?: string; - _description?: Element; - identifier?: Identifier[]; - masterIdentifier?: Identifier; - recipient?: Reference<"Organization" | "Patient" | "Practitioner" | "PractitionerRole" | "RelatedPerson">[]; - related?: DocumentManifestRelated[]; - source?: string; - _source?: Element; - status: ("current" | "superseded" | "entered-in-error"); - _status?: Element; - subject?: Reference<"Device" | "Group" | "Patient" | "Practitioner">; - type?: CodeableConcept; -} -export const isDocumentManifest = (resource: unknown): resource is DocumentManifest => { - return resource !== null && typeof resource === "object" && (resource as {resourceType: string}).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 deleted file mode 100644 index 8d21a5ca1..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/DocumentReference.ts +++ /dev/null @@ -1,70 +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-r4-core/Attachment"; -import type { BackboneElement } from "../hl7-fhir-r4-core/BackboneElement"; -import type { CodeableConcept } from "../hl7-fhir-r4-core/CodeableConcept"; -import type { Coding } from "../hl7-fhir-r4-core/Coding"; -import type { DomainResource } from "../hl7-fhir-r4-core/DomainResource"; -import type { Identifier } from "../hl7-fhir-r4-core/Identifier"; -import type { Period } from "../hl7-fhir-r4-core/Period"; -import type { Reference } from "../hl7-fhir-r4-core/Reference"; - -import type { Element } from "../hl7-fhir-r4-core/Element"; -export type { Attachment } from "../hl7-fhir-r4-core/Attachment"; -export type { BackboneElement } from "../hl7-fhir-r4-core/BackboneElement"; -export type { CodeableConcept } from "../hl7-fhir-r4-core/CodeableConcept"; -export type { Coding } from "../hl7-fhir-r4-core/Coding"; -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"; - -export interface DocumentReferenceContent extends BackboneElement { - attachment: Attachment; - format?: Coding; -} - -export interface DocumentReferenceContext extends BackboneElement { - encounter?: Reference<"Encounter" | "EpisodeOfCare">[]; - event?: CodeableConcept[]; - facilityType?: CodeableConcept; - period?: Period; - practiceSetting?: CodeableConcept; - related?: Reference<"Resource">[]; - sourcePatientInfo?: Reference<"Patient">; -} - -export interface DocumentReferenceRelatesTo extends BackboneElement { - code: ("replaces" | "transforms" | "signs" | "appends"); - target: Reference<"DocumentReference">; -} - -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/DocumentReference (pkg: hl7.fhir.r4.core#4.0.1) -export interface DocumentReference extends DomainResource { - resourceType: "DocumentReference"; - - authenticator?: Reference<"Organization" | "Practitioner" | "PractitionerRole">; - author?: Reference<"Device" | "Organization" | "Patient" | "Practitioner" | "PractitionerRole" | "RelatedPerson">[]; - category?: CodeableConcept[]; - content: DocumentReferenceContent[]; - context?: DocumentReferenceContext; - custodian?: Reference<"Organization">; - date?: string; - _date?: Element; - description?: string; - _description?: Element; - docStatus?: ("preliminary" | "final" | "amended" | "entered-in-error"); - _docStatus?: Element; - identifier?: Identifier[]; - masterIdentifier?: Identifier; - relatesTo?: DocumentReferenceRelatesTo[]; - securityLabel?: CodeableConcept[]; - status: ("current" | "superseded" | "entered-in-error"); - _status?: Element; - subject?: Reference<"Device" | "Group" | "Patient" | "Practitioner">; - type?: CodeableConcept; -} -export const isDocumentReference = (resource: unknown): resource is DocumentReference => { - return resource !== null && typeof resource === "object" && (resource as {resourceType: string}).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 2237e28a2..d2fab6707 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 @@ -11,7 +11,7 @@ export type { Narrative } from "../hl7-fhir-r4-core/Narrative"; // CanonicalURL: http://hl7.org/fhir/StructureDefinition/DomainResource (pkg: hl7.fhir.r4.core#4.0.1) export interface DomainResource extends Resource { - 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"; + resourceType: "DomainResource" | "Observation" | "Patient"; contained?: Resource[]; extension?: Extension[]; 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 deleted file mode 100644 index 68473ab58..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/EffectEvidenceSynthesis.ts +++ /dev/null @@ -1,119 +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 { Annotation } from "../hl7-fhir-r4-core/Annotation"; -import type { BackboneElement } from "../hl7-fhir-r4-core/BackboneElement"; -import type { CodeableConcept } from "../hl7-fhir-r4-core/CodeableConcept"; -import type { ContactDetail } from "../hl7-fhir-r4-core/ContactDetail"; -import type { DomainResource } from "../hl7-fhir-r4-core/DomainResource"; -import type { Identifier } from "../hl7-fhir-r4-core/Identifier"; -import type { Period } from "../hl7-fhir-r4-core/Period"; -import type { Reference } from "../hl7-fhir-r4-core/Reference"; -import type { RelatedArtifact } from "../hl7-fhir-r4-core/RelatedArtifact"; -import type { UsageContext } from "../hl7-fhir-r4-core/UsageContext"; - -import type { Element } from "../hl7-fhir-r4-core/Element"; -export type { Annotation } from "../hl7-fhir-r4-core/Annotation"; -export type { BackboneElement } from "../hl7-fhir-r4-core/BackboneElement"; -export type { CodeableConcept } from "../hl7-fhir-r4-core/CodeableConcept"; -export type { ContactDetail } from "../hl7-fhir-r4-core/ContactDetail"; -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"; -export type { RelatedArtifact } from "../hl7-fhir-r4-core/RelatedArtifact"; -export type { UsageContext } from "../hl7-fhir-r4-core/UsageContext"; - -export interface EffectEvidenceSynthesisCertainty extends BackboneElement { - certaintySubcomponent?: EffectEvidenceSynthesisCertaintyCertaintySubcomponent[]; - note?: Annotation[]; - rating?: CodeableConcept<("high" | "moderate" | "low" | "very-low" | string)>[]; -} - -export interface EffectEvidenceSynthesisCertaintyCertaintySubcomponent extends BackboneElement { - note?: Annotation[]; - 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<("relative-RR" | "relative-OR" | "relative-HR" | "absolute-ARD" | "absolute-MeanDiff" | "absolute-SMD" | "absolute-MedianDiff" | string)>; - unitOfMeasure?: CodeableConcept; - value?: number; - variantState?: CodeableConcept<("low-risk" | "medium-risk" | "high-risk" | string)>; -} - -export interface EffectEvidenceSynthesisEffectEstimatePrecisionEstimate extends BackboneElement { - from?: number; - level?: number; - to?: number; - type?: CodeableConcept<("CI" | "IQR" | "SD" | "SE" | string)>; -} - -export interface EffectEvidenceSynthesisResultsByExposure extends BackboneElement { - description?: string; - exposureState?: ("exposure" | "exposure-alternative"); - riskEvidenceSynthesis: Reference<"RiskEvidenceSynthesis">; - variantState?: CodeableConcept<("low-risk" | "medium-risk" | "high-risk" | string)>; -} - -export interface EffectEvidenceSynthesisSampleSize extends BackboneElement { - description?: string; - numberOfParticipants?: number; - numberOfStudies?: number; -} - -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/EffectEvidenceSynthesis (pkg: hl7.fhir.r4.core#4.0.1) -export interface EffectEvidenceSynthesis extends DomainResource { - resourceType: "EffectEvidenceSynthesis"; - - approvalDate?: string; - _approvalDate?: Element; - author?: ContactDetail[]; - certainty?: EffectEvidenceSynthesisCertainty[]; - contact?: ContactDetail[]; - copyright?: string; - _copyright?: Element; - date?: string; - _date?: Element; - description?: string; - _description?: Element; - editor?: ContactDetail[]; - effectEstimate?: EffectEvidenceSynthesisEffectEstimate[]; - effectivePeriod?: Period; - endorser?: ContactDetail[]; - exposure: Reference<"EvidenceVariable">; - exposureAlternative: Reference<"EvidenceVariable">; - identifier?: Identifier[]; - jurisdiction?: CodeableConcept[]; - lastReviewDate?: string; - _lastReviewDate?: Element; - name?: string; - _name?: Element; - note?: Annotation[]; - outcome: Reference<"EvidenceVariable">; - population: Reference<"EvidenceVariable">; - publisher?: string; - _publisher?: Element; - relatedArtifact?: RelatedArtifact[]; - resultsByExposure?: EffectEvidenceSynthesisResultsByExposure[]; - reviewer?: ContactDetail[]; - sampleSize?: EffectEvidenceSynthesisSampleSize; - status: ("draft" | "active" | "retired" | "unknown"); - _status?: Element; - 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[]; - url?: string; - _url?: Element; - useContext?: UsageContext[]; - version?: string; - _version?: Element; -} -export const isEffectEvidenceSynthesis = (resource: unknown): resource is EffectEvidenceSynthesis => { - return resource !== null && typeof resource === "object" && (resource as {resourceType: string}).resourceType === "EffectEvidenceSynthesis"; -} 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 deleted file mode 100644 index 1591113c8..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/ElementDefinition.ts +++ /dev/null @@ -1,469 +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 { Address } from "../hl7-fhir-r4-core/Address"; -import type { Age } from "../hl7-fhir-r4-core/Age"; -import type { Annotation } from "../hl7-fhir-r4-core/Annotation"; -import type { Attachment } from "../hl7-fhir-r4-core/Attachment"; -import type { BackboneElement } from "../hl7-fhir-r4-core/BackboneElement"; -import type { CodeableConcept } from "../hl7-fhir-r4-core/CodeableConcept"; -import type { Coding } from "../hl7-fhir-r4-core/Coding"; -import type { ContactDetail } from "../hl7-fhir-r4-core/ContactDetail"; -import type { ContactPoint } from "../hl7-fhir-r4-core/ContactPoint"; -import type { Contributor } from "../hl7-fhir-r4-core/Contributor"; -import type { Count } from "../hl7-fhir-r4-core/Count"; -import type { DataRequirement } from "../hl7-fhir-r4-core/DataRequirement"; -import type { Distance } from "../hl7-fhir-r4-core/Distance"; -import type { Dosage } from "../hl7-fhir-r4-core/Dosage"; -import type { Duration } from "../hl7-fhir-r4-core/Duration"; -import type { Element } from "../hl7-fhir-r4-core/Element"; -import type { Expression } from "../hl7-fhir-r4-core/Expression"; -import type { HumanName } from "../hl7-fhir-r4-core/HumanName"; -import type { Identifier } from "../hl7-fhir-r4-core/Identifier"; -import type { Meta } from "../hl7-fhir-r4-core/Meta"; -import type { Money } from "../hl7-fhir-r4-core/Money"; -import type { ParameterDefinition } from "../hl7-fhir-r4-core/ParameterDefinition"; -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 { RelatedArtifact } from "../hl7-fhir-r4-core/RelatedArtifact"; -import type { SampledData } from "../hl7-fhir-r4-core/SampledData"; -import type { Signature } from "../hl7-fhir-r4-core/Signature"; -import type { Timing } from "../hl7-fhir-r4-core/Timing"; -import type { TriggerDefinition } from "../hl7-fhir-r4-core/TriggerDefinition"; -import type { UsageContext } from "../hl7-fhir-r4-core/UsageContext"; - -export type { Address } from "../hl7-fhir-r4-core/Address"; -export type { Age } from "../hl7-fhir-r4-core/Age"; -export type { Annotation } from "../hl7-fhir-r4-core/Annotation"; -export type { Attachment } from "../hl7-fhir-r4-core/Attachment"; -export type { BackboneElement } from "../hl7-fhir-r4-core/BackboneElement"; -export type { CodeableConcept } from "../hl7-fhir-r4-core/CodeableConcept"; -export type { Coding } from "../hl7-fhir-r4-core/Coding"; -export type { ContactDetail } from "../hl7-fhir-r4-core/ContactDetail"; -export type { ContactPoint } from "../hl7-fhir-r4-core/ContactPoint"; -export type { Contributor } from "../hl7-fhir-r4-core/Contributor"; -export type { Count } from "../hl7-fhir-r4-core/Count"; -export type { DataRequirement } from "../hl7-fhir-r4-core/DataRequirement"; -export type { Distance } from "../hl7-fhir-r4-core/Distance"; -export type { Dosage } from "../hl7-fhir-r4-core/Dosage"; -export type { Duration } from "../hl7-fhir-r4-core/Duration"; -export type { Element } from "../hl7-fhir-r4-core/Element"; -export type { Expression } from "../hl7-fhir-r4-core/Expression"; -export type { HumanName } from "../hl7-fhir-r4-core/HumanName"; -export type { Identifier } from "../hl7-fhir-r4-core/Identifier"; -export type { Meta } from "../hl7-fhir-r4-core/Meta"; -export type { Money } from "../hl7-fhir-r4-core/Money"; -export type { ParameterDefinition } from "../hl7-fhir-r4-core/ParameterDefinition"; -export type { Period } from "../hl7-fhir-r4-core/Period"; -export type { Quantity } from "../hl7-fhir-r4-core/Quantity"; -export type { Range } from "../hl7-fhir-r4-core/Range"; -export type { Ratio } from "../hl7-fhir-r4-core/Ratio"; -export type { Reference } from "../hl7-fhir-r4-core/Reference"; -export type { RelatedArtifact } from "../hl7-fhir-r4-core/RelatedArtifact"; -export type { SampledData } from "../hl7-fhir-r4-core/SampledData"; -export type { Signature } from "../hl7-fhir-r4-core/Signature"; -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"; - -export interface ElementDefinitionBase extends Element { - max: string; - min: number; - path: string; -} - -export interface ElementDefinitionBinding extends Element { - description?: string; - strength: ("required" | "extensible" | "preferred" | "example"); - valueSet?: string; -} - -export interface ElementDefinitionConstraint extends Element { - expression?: string; - human: string; - key: string; - requirements?: string; - severity: ("error" | "warning"); - source?: string; - xpath?: string; -} - -export interface ElementDefinitionExample extends Element { - label: string; - valueAddress?: Address; - valueAge?: Age; - valueAnnotation?: Annotation; - valueAttachment?: Attachment; - valueBase64Binary?: string; - valueBoolean?: boolean; - valueCanonical?: string; - valueCode?: string; - valueCodeableConcept?: CodeableConcept; - valueCoding?: Coding; - valueContactDetail?: ContactDetail; - valueContactPoint?: ContactPoint; - valueContributor?: Contributor; - valueCount?: Count; - valueDataRequirement?: DataRequirement; - valueDate?: string; - valueDateTime?: string; - valueDecimal?: number; - valueDistance?: Distance; - valueDosage?: Dosage; - valueDuration?: Duration; - valueExpression?: Expression; - valueHumanName?: HumanName; - valueId?: string; - valueIdentifier?: Identifier; - valueInstant?: string; - valueInteger?: number; - valueMarkdown?: string; - valueMeta?: Meta; - valueMoney?: Money; - valueOid?: string; - valueParameterDefinition?: ParameterDefinition; - valuePeriod?: Period; - valuePositiveInt?: number; - valueQuantity?: Quantity; - valueRange?: Range; - valueRatio?: Ratio; - valueReference?: Reference; - valueRelatedArtifact?: RelatedArtifact; - valueSampledData?: SampledData; - valueSignature?: Signature; - valueString?: string; - valueTime?: string; - valueTiming?: Timing; - valueTriggerDefinition?: TriggerDefinition; - valueUnsignedInt?: number; - valueUri?: string; - valueUrl?: string; - valueUsageContext?: UsageContext; - valueUuid?: string; -} - -export interface ElementDefinitionMapping extends Element { - comment?: string; - identity: string; - language?: string; - map: string; -} - -export interface ElementDefinitionSlicing extends Element { - description?: string; - discriminator?: ElementDefinitionSlicingDiscriminator[]; - ordered?: boolean; - rules: ("closed" | "open" | "openAtEnd"); -} - -export interface ElementDefinitionSlicingDiscriminator extends Element { - path: string; - type: ("value" | "exists" | "pattern" | "type" | "profile"); -} - -export interface ElementDefinitionType extends Element { - aggregation?: ("contained" | "referenced" | "bundled")[]; - code: string; - profile?: string[]; - targetProfile?: string[]; - versioning?: ("either" | "independent" | "specific"); -} - -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/ElementDefinition (pkg: hl7.fhir.r4.core#4.0.1) -export interface ElementDefinition extends BackboneElement { - alias?: string[]; - _alias?: (Element | null)[]; - base?: ElementDefinitionBase; - binding?: ElementDefinitionBinding; - code?: Coding[]; - comment?: string; - _comment?: Element; - condition?: string[]; - _condition?: (Element | null)[]; - constraint?: ElementDefinitionConstraint[]; - contentReference?: string; - _contentReference?: Element; - defaultValueAddress?: Address; - defaultValueAge?: Age; - defaultValueAnnotation?: Annotation; - defaultValueAttachment?: Attachment; - defaultValueBase64Binary?: string; - _defaultValueBase64Binary?: Element; - defaultValueBoolean?: boolean; - _defaultValueBoolean?: Element; - defaultValueCanonical?: string; - _defaultValueCanonical?: Element; - defaultValueCode?: string; - _defaultValueCode?: Element; - defaultValueCodeableConcept?: CodeableConcept; - defaultValueCoding?: Coding; - defaultValueContactDetail?: ContactDetail; - defaultValueContactPoint?: ContactPoint; - defaultValueContributor?: Contributor; - defaultValueCount?: Count; - defaultValueDataRequirement?: DataRequirement; - defaultValueDate?: string; - _defaultValueDate?: Element; - defaultValueDateTime?: string; - _defaultValueDateTime?: Element; - defaultValueDecimal?: number; - _defaultValueDecimal?: Element; - defaultValueDistance?: Distance; - defaultValueDosage?: Dosage; - defaultValueDuration?: Duration; - defaultValueExpression?: Expression; - defaultValueHumanName?: HumanName; - defaultValueId?: string; - _defaultValueId?: Element; - defaultValueIdentifier?: Identifier; - defaultValueInstant?: string; - _defaultValueInstant?: Element; - defaultValueInteger?: number; - _defaultValueInteger?: Element; - defaultValueMarkdown?: string; - _defaultValueMarkdown?: Element; - defaultValueMeta?: Meta; - defaultValueMoney?: Money; - defaultValueOid?: string; - _defaultValueOid?: Element; - defaultValueParameterDefinition?: ParameterDefinition; - defaultValuePeriod?: Period; - defaultValuePositiveInt?: number; - _defaultValuePositiveInt?: Element; - defaultValueQuantity?: Quantity; - defaultValueRange?: Range; - defaultValueRatio?: Ratio; - defaultValueReference?: Reference; - defaultValueRelatedArtifact?: RelatedArtifact; - defaultValueSampledData?: SampledData; - defaultValueSignature?: Signature; - defaultValueString?: string; - _defaultValueString?: Element; - defaultValueTime?: string; - _defaultValueTime?: Element; - defaultValueTiming?: Timing; - defaultValueTriggerDefinition?: TriggerDefinition; - defaultValueUnsignedInt?: number; - _defaultValueUnsignedInt?: Element; - defaultValueUri?: string; - _defaultValueUri?: Element; - defaultValueUrl?: string; - _defaultValueUrl?: Element; - defaultValueUsageContext?: UsageContext; - defaultValueUuid?: string; - _defaultValueUuid?: Element; - definition?: string; - _definition?: Element; - example?: ElementDefinitionExample[]; - fixedAddress?: Address; - fixedAge?: Age; - fixedAnnotation?: Annotation; - fixedAttachment?: Attachment; - fixedBase64Binary?: string; - _fixedBase64Binary?: Element; - fixedBoolean?: boolean; - _fixedBoolean?: Element; - fixedCanonical?: string; - _fixedCanonical?: Element; - fixedCode?: string; - _fixedCode?: Element; - fixedCodeableConcept?: CodeableConcept; - fixedCoding?: Coding; - fixedContactDetail?: ContactDetail; - fixedContactPoint?: ContactPoint; - fixedContributor?: Contributor; - fixedCount?: Count; - fixedDataRequirement?: DataRequirement; - fixedDate?: string; - _fixedDate?: Element; - fixedDateTime?: string; - _fixedDateTime?: Element; - fixedDecimal?: number; - _fixedDecimal?: Element; - fixedDistance?: Distance; - fixedDosage?: Dosage; - fixedDuration?: Duration; - fixedExpression?: Expression; - fixedHumanName?: HumanName; - fixedId?: string; - _fixedId?: Element; - fixedIdentifier?: Identifier; - fixedInstant?: string; - _fixedInstant?: Element; - fixedInteger?: number; - _fixedInteger?: Element; - fixedMarkdown?: string; - _fixedMarkdown?: Element; - fixedMeta?: Meta; - fixedMoney?: Money; - fixedOid?: string; - _fixedOid?: Element; - fixedParameterDefinition?: ParameterDefinition; - fixedPeriod?: Period; - fixedPositiveInt?: number; - _fixedPositiveInt?: Element; - fixedQuantity?: Quantity; - fixedRange?: Range; - fixedRatio?: Ratio; - fixedReference?: Reference; - fixedRelatedArtifact?: RelatedArtifact; - fixedSampledData?: SampledData; - fixedSignature?: Signature; - fixedString?: string; - _fixedString?: Element; - fixedTime?: string; - _fixedTime?: Element; - fixedTiming?: Timing; - fixedTriggerDefinition?: TriggerDefinition; - fixedUnsignedInt?: number; - _fixedUnsignedInt?: Element; - fixedUri?: string; - _fixedUri?: Element; - fixedUrl?: string; - _fixedUrl?: Element; - fixedUsageContext?: UsageContext; - fixedUuid?: string; - _fixedUuid?: Element; - isModifier?: boolean; - _isModifier?: Element; - isModifierReason?: string; - _isModifierReason?: Element; - isSummary?: boolean; - _isSummary?: Element; - label?: string; - _label?: Element; - mapping?: ElementDefinitionMapping[]; - max?: string; - _max?: Element; - maxLength?: number; - _maxLength?: Element; - maxValueDate?: string; - _maxValueDate?: Element; - maxValueDateTime?: string; - _maxValueDateTime?: Element; - maxValueDecimal?: number; - _maxValueDecimal?: Element; - maxValueInstant?: string; - _maxValueInstant?: Element; - maxValueInteger?: number; - _maxValueInteger?: Element; - maxValuePositiveInt?: number; - _maxValuePositiveInt?: Element; - maxValueQuantity?: Quantity; - maxValueTime?: string; - _maxValueTime?: Element; - maxValueUnsignedInt?: number; - _maxValueUnsignedInt?: Element; - meaningWhenMissing?: string; - _meaningWhenMissing?: Element; - min?: number; - _min?: Element; - minValueDate?: string; - _minValueDate?: Element; - minValueDateTime?: string; - _minValueDateTime?: Element; - minValueDecimal?: number; - _minValueDecimal?: Element; - minValueInstant?: string; - _minValueInstant?: Element; - minValueInteger?: number; - _minValueInteger?: Element; - minValuePositiveInt?: number; - _minValuePositiveInt?: Element; - minValueQuantity?: Quantity; - minValueTime?: string; - _minValueTime?: Element; - minValueUnsignedInt?: number; - _minValueUnsignedInt?: Element; - mustSupport?: boolean; - _mustSupport?: Element; - orderMeaning?: string; - _orderMeaning?: Element; - path: string; - _path?: Element; - patternAddress?: Address; - patternAge?: Age; - patternAnnotation?: Annotation; - patternAttachment?: Attachment; - patternBase64Binary?: string; - _patternBase64Binary?: Element; - patternBoolean?: boolean; - _patternBoolean?: Element; - patternCanonical?: string; - _patternCanonical?: Element; - patternCode?: string; - _patternCode?: Element; - patternCodeableConcept?: CodeableConcept; - patternCoding?: Coding; - patternContactDetail?: ContactDetail; - patternContactPoint?: ContactPoint; - patternContributor?: Contributor; - patternCount?: Count; - patternDataRequirement?: DataRequirement; - patternDate?: string; - _patternDate?: Element; - patternDateTime?: string; - _patternDateTime?: Element; - patternDecimal?: number; - _patternDecimal?: Element; - patternDistance?: Distance; - patternDosage?: Dosage; - patternDuration?: Duration; - patternExpression?: Expression; - patternHumanName?: HumanName; - patternId?: string; - _patternId?: Element; - patternIdentifier?: Identifier; - patternInstant?: string; - _patternInstant?: Element; - patternInteger?: number; - _patternInteger?: Element; - patternMarkdown?: string; - _patternMarkdown?: Element; - patternMeta?: Meta; - patternMoney?: Money; - patternOid?: string; - _patternOid?: Element; - patternParameterDefinition?: ParameterDefinition; - patternPeriod?: Period; - patternPositiveInt?: number; - _patternPositiveInt?: Element; - patternQuantity?: Quantity; - patternRange?: Range; - patternRatio?: Ratio; - patternReference?: Reference; - patternRelatedArtifact?: RelatedArtifact; - patternSampledData?: SampledData; - patternSignature?: Signature; - patternString?: string; - _patternString?: Element; - patternTime?: string; - _patternTime?: Element; - patternTiming?: Timing; - patternTriggerDefinition?: TriggerDefinition; - patternUnsignedInt?: number; - _patternUnsignedInt?: Element; - patternUri?: string; - _patternUri?: Element; - patternUrl?: string; - _patternUrl?: Element; - patternUsageContext?: UsageContext; - patternUuid?: string; - _patternUuid?: Element; - representation?: ("xmlAttr" | "xmlText" | "typeAttr" | "cdaText" | "xhtml")[]; - _representation?: (Element | null)[]; - requirements?: string; - _requirements?: Element; - short?: string; - _short?: Element; - sliceIsConstraining?: boolean; - _sliceIsConstraining?: Element; - sliceName?: string; - _sliceName?: 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 deleted file mode 100644 index 8c657da55..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/Encounter.ts +++ /dev/null @@ -1,95 +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 { BackboneElement } from "../hl7-fhir-r4-core/BackboneElement"; -import type { CodeableConcept } from "../hl7-fhir-r4-core/CodeableConcept"; -import type { Coding } from "../hl7-fhir-r4-core/Coding"; -import type { DomainResource } from "../hl7-fhir-r4-core/DomainResource"; -import type { Duration } from "../hl7-fhir-r4-core/Duration"; -import type { Identifier } from "../hl7-fhir-r4-core/Identifier"; -import type { Period } from "../hl7-fhir-r4-core/Period"; -import type { Reference } from "../hl7-fhir-r4-core/Reference"; - -import type { Element } from "../hl7-fhir-r4-core/Element"; -export type { BackboneElement } from "../hl7-fhir-r4-core/BackboneElement"; -export type { CodeableConcept } from "../hl7-fhir-r4-core/CodeableConcept"; -export type { Coding } from "../hl7-fhir-r4-core/Coding"; -export type { Duration } from "../hl7-fhir-r4-core/Duration"; -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"; - -export interface EncounterClassHistory extends BackboneElement { - "class": Coding; - period: Period; -} - -export interface EncounterDiagnosis extends BackboneElement { - condition: Reference<"Condition" | "Procedure">; - rank?: number; - use?: CodeableConcept<("AD" | "DD" | "CC" | "CM" | "pre-op" | "post-op" | "billing" | string)>; -} - -export interface EncounterHospitalization extends BackboneElement { - 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<("wheel" | "add-bed" | "int" | "att" | "dog" | string)>[]; - specialCourtesy?: CodeableConcept<("EXT" | "NRM" | "PRF" | "STF" | "VIP" | "UNK" | string)>[]; -} - -export interface EncounterLocation extends BackboneElement { - location: Reference<"Location">; - period?: Period; - physicalType?: CodeableConcept; - status?: ("planned" | "active" | "reserved" | "completed"); -} - -export interface EncounterParticipant extends BackboneElement { - individual?: Reference<"Practitioner" | "PractitionerRole" | "RelatedPerson">; - period?: Period; - type?: CodeableConcept<("SPRF" | "PPRF" | "PART" | "translator" | "emergency" | string)>[]; -} - -export interface EncounterStatusHistory extends BackboneElement { - period: Period; - status: ("planned" | "arrived" | "triaged" | "in-progress" | "onleave" | "finished" | "cancelled" | "entered-in-error" | "unknown"); -} - -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/Encounter (pkg: hl7.fhir.r4.core#4.0.1) -export interface Encounter extends DomainResource { - resourceType: "Encounter"; - - account?: Reference<"Account">[]; - appointment?: Reference<"Appointment">[]; - basedOn?: Reference<"ServiceRequest">[]; - "class": Coding; - classHistory?: EncounterClassHistory[]; - diagnosis?: EncounterDiagnosis[]; - episodeOfCare?: Reference<"EpisodeOfCare">[]; - hospitalization?: EncounterHospitalization; - identifier?: Identifier[]; - length?: Duration; - location?: EncounterLocation[]; - participant?: EncounterParticipant[]; - partOf?: Reference<"Encounter">; - period?: Period; - priority?: CodeableConcept; - reasonCode?: CodeableConcept[]; - reasonReference?: Reference<"Condition" | "ImmunizationRecommendation" | "Observation" | "Procedure">[]; - serviceProvider?: Reference<"Organization">; - serviceType?: CodeableConcept; - status: ("planned" | "arrived" | "triaged" | "in-progress" | "onleave" | "finished" | "cancelled" | "entered-in-error" | "unknown"); - _status?: Element; - statusHistory?: EncounterStatusHistory[]; - subject?: Reference<"Group" | "Patient">; - type?: CodeableConcept[]; -} -export const isEncounter = (resource: unknown): resource is Encounter => { - return resource !== null && typeof resource === "object" && (resource as {resourceType: string}).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 deleted file mode 100644 index da6c3eaaf..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/Endpoint.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 { 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 { DomainResource } from "../hl7-fhir-r4-core/DomainResource"; -import type { Identifier } from "../hl7-fhir-r4-core/Identifier"; -import type { Period } from "../hl7-fhir-r4-core/Period"; -import type { Reference } from "../hl7-fhir-r4-core/Reference"; - -import type { Element } from "../hl7-fhir-r4-core/Element"; -export type { CodeableConcept } from "../hl7-fhir-r4-core/CodeableConcept"; -export type { Coding } from "../hl7-fhir-r4-core/Coding"; -export type { ContactPoint } from "../hl7-fhir-r4-core/ContactPoint"; -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 (pkg: hl7.fhir.r4.core#4.0.1) -export interface Endpoint extends DomainResource { - resourceType: "Endpoint"; - - address: string; - _address?: Element; - 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 | null)[]; - identifier?: Identifier[]; - managingOrganization?: Reference<"Organization">; - name?: string; - _name?: Element; - payloadMimeType?: string[]; - _payloadMimeType?: (Element | null)[]; - payloadType: CodeableConcept[]; - period?: Period; - status: ("active" | "suspended" | "error" | "off" | "entered-in-error" | "test"); - _status?: Element; -} -export const isEndpoint = (resource: unknown): resource is Endpoint => { - return resource !== null && typeof resource === "object" && (resource as {resourceType: string}).resourceType === "Endpoint"; -} 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 deleted file mode 100644 index 2d9436397..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/EnrollmentRequest.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 { DomainResource } from "../hl7-fhir-r4-core/DomainResource"; -import type { Identifier } from "../hl7-fhir-r4-core/Identifier"; -import type { Reference } from "../hl7-fhir-r4-core/Reference"; - -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 (pkg: hl7.fhir.r4.core#4.0.1) -export interface EnrollmentRequest extends DomainResource { - resourceType: "EnrollmentRequest"; - - candidate?: Reference<"Patient">; - coverage?: Reference<"Coverage">; - created?: string; - _created?: Element; - identifier?: Identifier[]; - insurer?: Reference<"Organization">; - provider?: Reference<"Organization" | "Practitioner" | "PractitionerRole">; - status?: ("active" | "cancelled" | "draft" | "entered-in-error"); - _status?: Element; -} -export const isEnrollmentRequest = (resource: unknown): resource is EnrollmentRequest => { - return resource !== null && typeof resource === "object" && (resource as {resourceType: string}).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 deleted file mode 100644 index c4dced8d3..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/EnrollmentResponse.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 { DomainResource } from "../hl7-fhir-r4-core/DomainResource"; -import type { Identifier } from "../hl7-fhir-r4-core/Identifier"; -import type { Reference } from "../hl7-fhir-r4-core/Reference"; - -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 (pkg: hl7.fhir.r4.core#4.0.1) -export interface EnrollmentResponse extends DomainResource { - resourceType: "EnrollmentResponse"; - - created?: string; - _created?: Element; - disposition?: string; - _disposition?: Element; - identifier?: Identifier[]; - organization?: Reference<"Organization">; - outcome?: ("queued" | "complete" | "error" | "partial"); - _outcome?: Element; - request?: Reference<"EnrollmentRequest">; - requestProvider?: Reference<"Organization" | "Practitioner" | "PractitionerRole">; - status?: ("active" | "cancelled" | "draft" | "entered-in-error"); - _status?: Element; -} -export const isEnrollmentResponse = (resource: unknown): resource is EnrollmentResponse => { - return resource !== null && typeof resource === "object" && (resource as {resourceType: string}).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 deleted file mode 100644 index d547e6a79..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/EpisodeOfCare.ts +++ /dev/null @@ -1,50 +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 { BackboneElement } from "../hl7-fhir-r4-core/BackboneElement"; -import type { CodeableConcept } from "../hl7-fhir-r4-core/CodeableConcept"; -import type { DomainResource } from "../hl7-fhir-r4-core/DomainResource"; -import type { Identifier } from "../hl7-fhir-r4-core/Identifier"; -import type { Period } from "../hl7-fhir-r4-core/Period"; -import type { Reference } from "../hl7-fhir-r4-core/Reference"; - -import type { Element } from "../hl7-fhir-r4-core/Element"; -export type { BackboneElement } from "../hl7-fhir-r4-core/BackboneElement"; -export type { CodeableConcept } from "../hl7-fhir-r4-core/CodeableConcept"; -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"; - -export interface EpisodeOfCareDiagnosis extends BackboneElement { - condition: Reference<"Condition">; - rank?: number; - role?: CodeableConcept<("AD" | "DD" | "CC" | "CM" | "pre-op" | "post-op" | "billing" | string)>; -} - -export interface EpisodeOfCareStatusHistory extends BackboneElement { - period: Period; - status: ("planned" | "waitlist" | "active" | "onhold" | "finished" | "cancelled" | "entered-in-error"); -} - -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/EpisodeOfCare (pkg: hl7.fhir.r4.core#4.0.1) -export interface EpisodeOfCare extends DomainResource { - resourceType: "EpisodeOfCare"; - - account?: Reference<"Account">[]; - careManager?: Reference<"Practitioner" | "PractitionerRole">; - diagnosis?: EpisodeOfCareDiagnosis[]; - identifier?: Identifier[]; - managingOrganization?: Reference<"Organization">; - patient: Reference<"Patient">; - period?: Period; - referralRequest?: Reference<"ServiceRequest">[]; - status: ("planned" | "waitlist" | "active" | "onhold" | "finished" | "cancelled" | "entered-in-error"); - _status?: Element; - statusHistory?: EpisodeOfCareStatusHistory[]; - team?: Reference<"CareTeam">[]; - type?: CodeableConcept[]; -} -export const isEpisodeOfCare = (resource: unknown): resource is EpisodeOfCare => { - return resource !== null && typeof resource === "object" && (resource as {resourceType: string}).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 deleted file mode 100644 index c71021768..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/Event.ts +++ /dev/null @@ -1,6 +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. - -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/Event (pkg: hl7.fhir.r4.core#4.0.1) -export type Event = object; 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 deleted file mode 100644 index edb5f85a8..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/EventDefinition.ts +++ /dev/null @@ -1,76 +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 { ContactDetail } from "../hl7-fhir-r4-core/ContactDetail"; -import type { DomainResource } from "../hl7-fhir-r4-core/DomainResource"; -import type { Identifier } from "../hl7-fhir-r4-core/Identifier"; -import type { Period } from "../hl7-fhir-r4-core/Period"; -import type { Reference } from "../hl7-fhir-r4-core/Reference"; -import type { RelatedArtifact } from "../hl7-fhir-r4-core/RelatedArtifact"; -import type { TriggerDefinition } from "../hl7-fhir-r4-core/TriggerDefinition"; -import type { UsageContext } from "../hl7-fhir-r4-core/UsageContext"; - -import type { Element } from "../hl7-fhir-r4-core/Element"; -export type { CodeableConcept } from "../hl7-fhir-r4-core/CodeableConcept"; -export type { ContactDetail } from "../hl7-fhir-r4-core/ContactDetail"; -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"; -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 (pkg: hl7.fhir.r4.core#4.0.1) -export interface EventDefinition extends DomainResource { - resourceType: "EventDefinition"; - - approvalDate?: string; - _approvalDate?: Element; - author?: ContactDetail[]; - contact?: ContactDetail[]; - copyright?: string; - _copyright?: Element; - date?: string; - _date?: Element; - description?: string; - _description?: Element; - editor?: ContactDetail[]; - effectivePeriod?: Period; - endorser?: ContactDetail[]; - experimental?: boolean; - _experimental?: Element; - identifier?: Identifier[]; - jurisdiction?: CodeableConcept[]; - lastReviewDate?: string; - _lastReviewDate?: Element; - name?: string; - _name?: Element; - publisher?: string; - _publisher?: Element; - purpose?: string; - _purpose?: Element; - relatedArtifact?: RelatedArtifact[]; - reviewer?: ContactDetail[]; - status: ("draft" | "active" | "retired" | "unknown"); - _status?: Element; - subjectCodeableConcept?: CodeableConcept; - subjectReference?: Reference<"Group">; - subtitle?: string; - _subtitle?: Element; - title?: string; - _title?: Element; - topic?: CodeableConcept[]; - trigger: TriggerDefinition[]; - url?: string; - _url?: Element; - usage?: string; - _usage?: Element; - useContext?: UsageContext[]; - version?: string; - _version?: Element; -} -export const isEventDefinition = (resource: unknown): resource is EventDefinition => { - return resource !== null && typeof resource === "object" && (resource as {resourceType: string}).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 deleted file mode 100644 index bee7decf9..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/Evidence.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 { Annotation } from "../hl7-fhir-r4-core/Annotation"; -import type { CodeableConcept } from "../hl7-fhir-r4-core/CodeableConcept"; -import type { ContactDetail } from "../hl7-fhir-r4-core/ContactDetail"; -import type { DomainResource } from "../hl7-fhir-r4-core/DomainResource"; -import type { Identifier } from "../hl7-fhir-r4-core/Identifier"; -import type { Period } from "../hl7-fhir-r4-core/Period"; -import type { Reference } from "../hl7-fhir-r4-core/Reference"; -import type { RelatedArtifact } from "../hl7-fhir-r4-core/RelatedArtifact"; -import type { UsageContext } from "../hl7-fhir-r4-core/UsageContext"; - -import type { Element } from "../hl7-fhir-r4-core/Element"; -export type { Annotation } from "../hl7-fhir-r4-core/Annotation"; -export type { CodeableConcept } from "../hl7-fhir-r4-core/CodeableConcept"; -export type { ContactDetail } from "../hl7-fhir-r4-core/ContactDetail"; -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"; -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 (pkg: hl7.fhir.r4.core#4.0.1) -export interface Evidence extends DomainResource { - resourceType: "Evidence"; - - approvalDate?: string; - _approvalDate?: Element; - author?: ContactDetail[]; - contact?: ContactDetail[]; - copyright?: string; - _copyright?: Element; - date?: string; - _date?: Element; - description?: string; - _description?: Element; - editor?: ContactDetail[]; - effectivePeriod?: Period; - endorser?: ContactDetail[]; - exposureBackground: Reference<"EvidenceVariable">; - exposureVariant?: Reference<"EvidenceVariable">[]; - identifier?: Identifier[]; - jurisdiction?: CodeableConcept[]; - lastReviewDate?: string; - _lastReviewDate?: Element; - name?: string; - _name?: Element; - note?: Annotation[]; - outcome?: Reference<"EvidenceVariable">[]; - publisher?: string; - _publisher?: Element; - relatedArtifact?: RelatedArtifact[]; - reviewer?: ContactDetail[]; - shortTitle?: string; - _shortTitle?: Element; - status: ("draft" | "active" | "retired" | "unknown"); - _status?: Element; - subtitle?: string; - _subtitle?: Element; - title?: string; - _title?: Element; - topic?: CodeableConcept[]; - url?: string; - _url?: Element; - useContext?: UsageContext[]; - version?: string; - _version?: Element; -} -export const isEvidence = (resource: unknown): resource is Evidence => { - return resource !== null && typeof resource === "object" && (resource as {resourceType: string}).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 deleted file mode 100644 index 15efd5cf3..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/EvidenceVariable.ts +++ /dev/null @@ -1,103 +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 { Annotation } from "../hl7-fhir-r4-core/Annotation"; -import type { BackboneElement } from "../hl7-fhir-r4-core/BackboneElement"; -import type { CodeableConcept } from "../hl7-fhir-r4-core/CodeableConcept"; -import type { ContactDetail } from "../hl7-fhir-r4-core/ContactDetail"; -import type { DataRequirement } from "../hl7-fhir-r4-core/DataRequirement"; -import type { DomainResource } from "../hl7-fhir-r4-core/DomainResource"; -import type { Duration } from "../hl7-fhir-r4-core/Duration"; -import type { Expression } from "../hl7-fhir-r4-core/Expression"; -import type { Identifier } from "../hl7-fhir-r4-core/Identifier"; -import type { Period } from "../hl7-fhir-r4-core/Period"; -import type { Reference } from "../hl7-fhir-r4-core/Reference"; -import type { RelatedArtifact } from "../hl7-fhir-r4-core/RelatedArtifact"; -import type { Timing } from "../hl7-fhir-r4-core/Timing"; -import type { TriggerDefinition } from "../hl7-fhir-r4-core/TriggerDefinition"; -import type { UsageContext } from "../hl7-fhir-r4-core/UsageContext"; - -import type { Element } from "../hl7-fhir-r4-core/Element"; -export type { Annotation } from "../hl7-fhir-r4-core/Annotation"; -export type { BackboneElement } from "../hl7-fhir-r4-core/BackboneElement"; -export type { CodeableConcept } from "../hl7-fhir-r4-core/CodeableConcept"; -export type { ContactDetail } from "../hl7-fhir-r4-core/ContactDetail"; -export type { DataRequirement } from "../hl7-fhir-r4-core/DataRequirement"; -export type { Duration } from "../hl7-fhir-r4-core/Duration"; -export type { Expression } from "../hl7-fhir-r4-core/Expression"; -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"; -export type { RelatedArtifact } from "../hl7-fhir-r4-core/RelatedArtifact"; -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"; - -export interface EvidenceVariableCharacteristic extends BackboneElement { - definitionCanonical?: string; - definitionCodeableConcept?: CodeableConcept; - definitionDataRequirement?: DataRequirement; - definitionExpression?: Expression; - definitionReference?: Reference<"Group">; - definitionTriggerDefinition?: TriggerDefinition; - description?: string; - exclude?: boolean; - groupMeasure?: ("mean" | "median" | "mean-of-mean" | "mean-of-median" | "median-of-mean" | "median-of-median"); - participantEffectiveDateTime?: string; - participantEffectiveDuration?: Duration; - participantEffectivePeriod?: Period; - participantEffectiveTiming?: Timing; - timeFromStart?: Duration; - usageContext?: UsageContext[]; -} - -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/EvidenceVariable (pkg: hl7.fhir.r4.core#4.0.1) -export interface EvidenceVariable extends DomainResource { - resourceType: "EvidenceVariable"; - - approvalDate?: string; - _approvalDate?: Element; - author?: ContactDetail[]; - characteristic: EvidenceVariableCharacteristic[]; - contact?: ContactDetail[]; - copyright?: string; - _copyright?: Element; - date?: string; - _date?: Element; - description?: string; - _description?: Element; - editor?: ContactDetail[]; - effectivePeriod?: Period; - endorser?: ContactDetail[]; - identifier?: Identifier[]; - jurisdiction?: CodeableConcept[]; - lastReviewDate?: string; - _lastReviewDate?: Element; - name?: string; - _name?: Element; - note?: Annotation[]; - publisher?: string; - _publisher?: Element; - relatedArtifact?: RelatedArtifact[]; - reviewer?: ContactDetail[]; - shortTitle?: string; - _shortTitle?: Element; - status: ("draft" | "active" | "retired" | "unknown"); - _status?: Element; - subtitle?: string; - _subtitle?: Element; - title?: string; - _title?: Element; - topic?: CodeableConcept[]; - type?: ("dichotomous" | "continuous" | "descriptive"); - _type?: Element; - url?: string; - _url?: Element; - useContext?: UsageContext[]; - version?: string; - _version?: Element; -} -export const isEvidenceVariable = (resource: unknown): resource is EvidenceVariable => { - return resource !== null && typeof resource === "object" && (resource as {resourceType: string}).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 deleted file mode 100644 index 455edee94..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/ExampleScenario.ts +++ /dev/null @@ -1,113 +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 { BackboneElement } from "../hl7-fhir-r4-core/BackboneElement"; -import type { CodeableConcept } from "../hl7-fhir-r4-core/CodeableConcept"; -import type { ContactDetail } from "../hl7-fhir-r4-core/ContactDetail"; -import type { DomainResource } from "../hl7-fhir-r4-core/DomainResource"; -import type { Identifier } from "../hl7-fhir-r4-core/Identifier"; -import type { UsageContext } from "../hl7-fhir-r4-core/UsageContext"; - -import type { Element } from "../hl7-fhir-r4-core/Element"; -export type { BackboneElement } from "../hl7-fhir-r4-core/BackboneElement"; -export type { CodeableConcept } from "../hl7-fhir-r4-core/CodeableConcept"; -export type { ContactDetail } from "../hl7-fhir-r4-core/ContactDetail"; -export type { Identifier } from "../hl7-fhir-r4-core/Identifier"; -export type { UsageContext } from "../hl7-fhir-r4-core/UsageContext"; - -export interface ExampleScenarioActor extends BackboneElement { - actorId: string; - description?: string; - name?: string; - type: ("person" | "entity"); -} - -export interface ExampleScenarioInstance extends BackboneElement { - containedInstance?: ExampleScenarioInstanceContainedInstance[]; - description?: string; - name?: string; - resourceId: string; - resourceType: string; - version?: ExampleScenarioInstanceVersion[]; -} - -export interface ExampleScenarioInstanceContainedInstance extends BackboneElement { - resourceId: string; - versionId?: string; -} - -export interface ExampleScenarioInstanceVersion extends BackboneElement { - description: string; - versionId: string; -} - -export interface ExampleScenarioProcess extends BackboneElement { - description?: string; - postConditions?: string; - preConditions?: string; - step?: ExampleScenarioProcessStep[]; - title: string; -} - -export interface ExampleScenarioProcessStep extends BackboneElement { - alternative?: ExampleScenarioProcessStepAlternative[]; - operation?: ExampleScenarioProcessStepOperation; - pause?: boolean; - process?: ExampleScenarioProcess[]; -} - -export interface ExampleScenarioProcessStepAlternative extends BackboneElement { - description?: string; - step?: ExampleScenarioProcessStep[]; - title: string; -} - -export interface ExampleScenarioProcessStepOperation extends BackboneElement { - description?: string; - initiator?: string; - initiatorActive?: boolean; - name?: string; - number: string; - receiver?: string; - receiverActive?: boolean; - request?: ExampleScenarioInstanceContainedInstance; - response?: ExampleScenarioInstanceContainedInstance; - type?: string; -} - -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/ExampleScenario (pkg: hl7.fhir.r4.core#4.0.1) -export interface ExampleScenario extends DomainResource { - resourceType: "ExampleScenario"; - - actor?: ExampleScenarioActor[]; - contact?: ContactDetail[]; - copyright?: string; - _copyright?: Element; - date?: string; - _date?: Element; - experimental?: boolean; - _experimental?: Element; - identifier?: Identifier[]; - instance?: ExampleScenarioInstance[]; - jurisdiction?: CodeableConcept[]; - name?: string; - _name?: Element; - process?: ExampleScenarioProcess[]; - publisher?: string; - _publisher?: Element; - purpose?: string; - _purpose?: Element; - status: ("draft" | "active" | "retired" | "unknown"); - _status?: Element; - url?: string; - _url?: Element; - useContext?: UsageContext[]; - version?: string; - _version?: Element; - workflow?: string[]; - _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 deleted file mode 100644 index e96361636..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/ExplanationOfBenefit.ts +++ /dev/null @@ -1,307 +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 { Address } from "../hl7-fhir-r4-core/Address"; -import type { Attachment } from "../hl7-fhir-r4-core/Attachment"; -import type { BackboneElement } from "../hl7-fhir-r4-core/BackboneElement"; -import type { CodeableConcept } from "../hl7-fhir-r4-core/CodeableConcept"; -import type { Coding } from "../hl7-fhir-r4-core/Coding"; -import type { DomainResource } from "../hl7-fhir-r4-core/DomainResource"; -import type { Identifier } from "../hl7-fhir-r4-core/Identifier"; -import type { Money } from "../hl7-fhir-r4-core/Money"; -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"; - -import type { Element } from "../hl7-fhir-r4-core/Element"; -export type { Address } from "../hl7-fhir-r4-core/Address"; -export type { Attachment } from "../hl7-fhir-r4-core/Attachment"; -export type { BackboneElement } from "../hl7-fhir-r4-core/BackboneElement"; -export type { CodeableConcept } from "../hl7-fhir-r4-core/CodeableConcept"; -export type { Coding } from "../hl7-fhir-r4-core/Coding"; -export type { Identifier } from "../hl7-fhir-r4-core/Identifier"; -export type { Money } from "../hl7-fhir-r4-core/Money"; -export type { Period } from "../hl7-fhir-r4-core/Period"; -export type { Quantity } from "../hl7-fhir-r4-core/Quantity"; -export type { Reference } from "../hl7-fhir-r4-core/Reference"; - -export interface ExplanationOfBenefitAccident extends BackboneElement { - date?: string; - locationAddress?: Address; - locationReference?: Reference<"Location">; - type?: CodeableConcept; -} - -export interface ExplanationOfBenefitAddItem extends BackboneElement { - adjudication?: ExplanationOfBenefitItemAdjudication[]; - bodySite?: CodeableConcept; - detail?: ExplanationOfBenefitAddItemDetail[]; - detailSequence?: number[]; - factor?: number; - itemSequence?: number[]; - locationAddress?: Address; - locationCodeableConcept?: CodeableConcept; - locationReference?: Reference<"Location">; - modifier?: CodeableConcept[]; - net?: Money; - noteNumber?: number[]; - productOrService: CodeableConcept; - programCode?: CodeableConcept[]; - provider?: Reference<"Organization" | "Practitioner" | "PractitionerRole">[]; - quantity?: Quantity; - servicedDate?: string; - servicedPeriod?: Period; - subDetailSequence?: number[]; - subSite?: CodeableConcept[]; - unitPrice?: Money; -} - -export interface ExplanationOfBenefitAddItemDetail extends BackboneElement { - adjudication?: ExplanationOfBenefitItemAdjudication[]; - factor?: number; - modifier?: CodeableConcept[]; - net?: Money; - noteNumber?: number[]; - productOrService: CodeableConcept; - quantity?: Quantity; - subDetail?: ExplanationOfBenefitAddItemDetailSubDetail[]; - unitPrice?: Money; -} - -export interface ExplanationOfBenefitAddItemDetailSubDetail extends BackboneElement { - adjudication?: ExplanationOfBenefitItemAdjudication[]; - factor?: number; - modifier?: CodeableConcept[]; - net?: Money; - noteNumber?: number[]; - productOrService: CodeableConcept; - quantity?: Quantity; - unitPrice?: Money; -} - -export interface ExplanationOfBenefitBenefitBalance extends BackboneElement { - category: CodeableConcept; - description?: string; - excluded?: boolean; - financial?: ExplanationOfBenefitBenefitBalanceFinancial[]; - name?: string; - network?: CodeableConcept; - term?: CodeableConcept; - unit?: CodeableConcept; -} - -export interface ExplanationOfBenefitBenefitBalanceFinancial extends BackboneElement { - allowedMoney?: Money; - allowedString?: string; - allowedUnsignedInt?: number; - type: CodeableConcept; - usedMoney?: Money; - usedUnsignedInt?: number; -} - -export interface ExplanationOfBenefitCareTeam extends BackboneElement { - provider: Reference<"Organization" | "Practitioner" | "PractitionerRole">; - qualification?: CodeableConcept; - responsible?: boolean; - role?: CodeableConcept; - sequence: number; -} - -export interface ExplanationOfBenefitDiagnosis extends BackboneElement { - diagnosisCodeableConcept?: CodeableConcept; - diagnosisReference?: Reference<"Condition">; - onAdmission?: CodeableConcept; - packageCode?: CodeableConcept; - sequence: number; - type?: CodeableConcept[]; -} - -export interface ExplanationOfBenefitInsurance extends BackboneElement { - coverage: Reference<"Coverage">; - focal: boolean; - preAuthRef?: string[]; -} - -export interface ExplanationOfBenefitItem extends BackboneElement { - adjudication?: ExplanationOfBenefitItemAdjudication[]; - bodySite?: CodeableConcept; - careTeamSequence?: number[]; - category?: CodeableConcept; - detail?: ExplanationOfBenefitItemDetail[]; - diagnosisSequence?: number[]; - encounter?: Reference<"Encounter">[]; - factor?: number; - informationSequence?: number[]; - locationAddress?: Address; - locationCodeableConcept?: CodeableConcept; - locationReference?: Reference<"Location">; - modifier?: CodeableConcept[]; - net?: Money; - noteNumber?: number[]; - procedureSequence?: number[]; - productOrService: CodeableConcept; - programCode?: CodeableConcept[]; - quantity?: Quantity; - revenue?: CodeableConcept; - sequence: number; - servicedDate?: string; - servicedPeriod?: Period; - subSite?: CodeableConcept[]; - udi?: Reference<"Device">[]; - unitPrice?: Money; -} - -export interface ExplanationOfBenefitItemAdjudication extends BackboneElement { - amount?: Money; - category: CodeableConcept; - reason?: CodeableConcept; - value?: number; -} - -export interface ExplanationOfBenefitItemDetail extends BackboneElement { - adjudication?: ExplanationOfBenefitItemAdjudication[]; - category?: CodeableConcept; - factor?: number; - modifier?: CodeableConcept[]; - net?: Money; - noteNumber?: number[]; - productOrService: CodeableConcept; - programCode?: CodeableConcept[]; - quantity?: Quantity; - revenue?: CodeableConcept; - sequence: number; - subDetail?: ExplanationOfBenefitItemDetailSubDetail[]; - udi?: Reference<"Device">[]; - unitPrice?: Money; -} - -export interface ExplanationOfBenefitItemDetailSubDetail extends BackboneElement { - adjudication?: ExplanationOfBenefitItemAdjudication[]; - category?: CodeableConcept; - factor?: number; - modifier?: CodeableConcept[]; - net?: Money; - noteNumber?: number[]; - productOrService: CodeableConcept; - programCode?: CodeableConcept[]; - quantity?: Quantity; - revenue?: CodeableConcept; - sequence: number; - udi?: Reference<"Device">[]; - unitPrice?: Money; -} - -export interface ExplanationOfBenefitPayee extends BackboneElement { - party?: Reference<"Organization" | "Patient" | "Practitioner" | "PractitionerRole" | "RelatedPerson">; - type?: CodeableConcept; -} - -export interface ExplanationOfBenefitPayment extends BackboneElement { - adjustment?: Money; - adjustmentReason?: CodeableConcept; - amount?: Money; - date?: string; - identifier?: Identifier; - type?: CodeableConcept; -} - -export interface ExplanationOfBenefitProcedure extends BackboneElement { - date?: string; - procedureCodeableConcept?: CodeableConcept; - procedureReference?: Reference<"Procedure">; - sequence: number; - type?: CodeableConcept[]; - udi?: Reference<"Device">[]; -} - -export interface ExplanationOfBenefitProcessNote extends BackboneElement { - 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"); -} - -export interface ExplanationOfBenefitRelated extends BackboneElement { - claim?: Reference<"Claim">; - reference?: Identifier; - relationship?: CodeableConcept; -} - -export interface ExplanationOfBenefitSupportingInfo extends BackboneElement { - category: CodeableConcept; - code?: CodeableConcept; - reason?: Coding; - sequence: number; - timingDate?: string; - timingPeriod?: Period; - valueAttachment?: Attachment; - valueBoolean?: boolean; - valueQuantity?: Quantity; - valueReference?: Reference<"Resource">; - valueString?: string; -} - -export interface ExplanationOfBenefitTotal extends BackboneElement { - amount: Money; - category: CodeableConcept; -} - -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/ExplanationOfBenefit (pkg: hl7.fhir.r4.core#4.0.1) -export interface ExplanationOfBenefit extends DomainResource { - resourceType: "ExplanationOfBenefit"; - - accident?: ExplanationOfBenefitAccident; - addItem?: ExplanationOfBenefitAddItem[]; - adjudication?: ExplanationOfBenefitItemAdjudication[]; - benefitBalance?: ExplanationOfBenefitBenefitBalance[]; - benefitPeriod?: Period; - billablePeriod?: Period; - careTeam?: ExplanationOfBenefitCareTeam[]; - claim?: Reference<"Claim">; - claimResponse?: Reference<"ClaimResponse">; - created: string; - _created?: Element; - diagnosis?: ExplanationOfBenefitDiagnosis[]; - disposition?: string; - _disposition?: Element; - enterer?: Reference<"Practitioner" | "PractitionerRole">; - facility?: Reference<"Location">; - form?: Attachment; - formCode?: CodeableConcept; - fundsReserve?: CodeableConcept; - fundsReserveRequested?: CodeableConcept; - identifier?: Identifier[]; - insurance: ExplanationOfBenefitInsurance[]; - insurer: Reference<"Organization">; - item?: ExplanationOfBenefitItem[]; - originalPrescription?: Reference<"MedicationRequest">; - outcome: ("queued" | "complete" | "error" | "partial"); - _outcome?: Element; - patient: Reference<"Patient">; - payee?: ExplanationOfBenefitPayee; - payment?: ExplanationOfBenefitPayment; - preAuthRef?: string[]; - _preAuthRef?: (Element | null)[]; - preAuthRefPeriod?: Period[]; - precedence?: number; - _precedence?: Element; - prescription?: Reference<"MedicationRequest" | "VisionPrescription">; - priority?: CodeableConcept; - procedure?: ExplanationOfBenefitProcedure[]; - processNote?: ExplanationOfBenefitProcessNote[]; - provider: Reference<"Organization" | "Practitioner" | "PractitionerRole">; - referral?: Reference<"ServiceRequest">; - related?: ExplanationOfBenefitRelated[]; - status: ("active" | "cancelled" | "draft" | "entered-in-error"); - _status?: Element; - subType?: CodeableConcept; - supportingInfo?: ExplanationOfBenefitSupportingInfo[]; - total?: ExplanationOfBenefitTotal[]; - type: CodeableConcept<("institutional" | "oral" | "pharmacy" | "professional" | "vision" | string)>; - use: ("claim" | "preauthorization" | "predetermination"); - _use?: Element; -} -export const isExplanationOfBenefit = (resource: unknown): resource is ExplanationOfBenefit => { - return resource !== null && typeof resource === "object" && (resource as {resourceType: string}).resourceType === "ExplanationOfBenefit"; -} 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 deleted file mode 100644 index 244298071..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/FamilyMemberHistory.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 { Age } from "../hl7-fhir-r4-core/Age"; -import type { Annotation } from "../hl7-fhir-r4-core/Annotation"; -import type { BackboneElement } from "../hl7-fhir-r4-core/BackboneElement"; -import type { CodeableConcept } from "../hl7-fhir-r4-core/CodeableConcept"; -import type { DomainResource } from "../hl7-fhir-r4-core/DomainResource"; -import type { Identifier } from "../hl7-fhir-r4-core/Identifier"; -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"; - -import type { Element } from "../hl7-fhir-r4-core/Element"; -export type { Age } from "../hl7-fhir-r4-core/Age"; -export type { Annotation } from "../hl7-fhir-r4-core/Annotation"; -export type { BackboneElement } from "../hl7-fhir-r4-core/BackboneElement"; -export type { CodeableConcept } from "../hl7-fhir-r4-core/CodeableConcept"; -export type { Identifier } from "../hl7-fhir-r4-core/Identifier"; -export type { Period } from "../hl7-fhir-r4-core/Period"; -export type { Range } from "../hl7-fhir-r4-core/Range"; -export type { Reference } from "../hl7-fhir-r4-core/Reference"; - -export interface FamilyMemberHistoryCondition extends BackboneElement { - code: CodeableConcept; - contributedToDeath?: boolean; - note?: Annotation[]; - onsetAge?: Age; - onsetPeriod?: Period; - onsetRange?: Range; - onsetString?: string; - outcome?: CodeableConcept; -} - -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/FamilyMemberHistory (pkg: hl7.fhir.r4.core#4.0.1) -export interface FamilyMemberHistory extends DomainResource { - resourceType: "FamilyMemberHistory"; - - ageAge?: Age; - ageRange?: Range; - ageString?: string; - _ageString?: Element; - bornDate?: string; - _bornDate?: Element; - bornPeriod?: Period; - bornString?: string; - _bornString?: Element; - condition?: FamilyMemberHistoryCondition[]; - dataAbsentReason?: CodeableConcept; - date?: string; - _date?: Element; - deceasedAge?: Age; - deceasedBoolean?: boolean; - _deceasedBoolean?: Element; - deceasedDate?: string; - _deceasedDate?: Element; - deceasedRange?: Range; - deceasedString?: string; - _deceasedString?: Element; - estimatedAge?: boolean; - _estimatedAge?: Element; - identifier?: Identifier[]; - instantiatesCanonical?: string[]; - _instantiatesCanonical?: (Element | null)[]; - instantiatesUri?: string[]; - _instantiatesUri?: (Element | null)[]; - name?: string; - _name?: Element; - note?: Annotation[]; - patient: Reference<"Patient">; - reasonCode?: CodeableConcept[]; - reasonReference?: Reference<"AllergyIntolerance" | "Condition" | "DiagnosticReport" | "DocumentReference" | "Observation" | "QuestionnaireResponse">[]; - relationship: CodeableConcept; - sex?: CodeableConcept<("male" | "female" | "other" | "unknown" | string)>; - status: ("partial" | "completed" | "entered-in-error" | "health-unknown"); - _status?: Element; -} -export const isFamilyMemberHistory = (resource: unknown): resource is FamilyMemberHistory => { - return resource !== null && typeof resource === "object" && (resource as {resourceType: string}).resourceType === "FamilyMemberHistory"; -} 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 deleted file mode 100644 index 27f0442d1..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/FiveWs.ts +++ /dev/null @@ -1,6 +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. - -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/FiveWs (pkg: hl7.fhir.r4.core#4.0.1) -export type FiveWs = object; 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 deleted file mode 100644 index f3ddbcabb..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/Flag.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 { CodeableConcept } from "../hl7-fhir-r4-core/CodeableConcept"; -import type { DomainResource } from "../hl7-fhir-r4-core/DomainResource"; -import type { Identifier } from "../hl7-fhir-r4-core/Identifier"; -import type { Period } from "../hl7-fhir-r4-core/Period"; -import type { Reference } from "../hl7-fhir-r4-core/Reference"; - -import type { Element } from "../hl7-fhir-r4-core/Element"; -export type { CodeableConcept } from "../hl7-fhir-r4-core/CodeableConcept"; -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 (pkg: hl7.fhir.r4.core#4.0.1) -export interface Flag extends DomainResource { - resourceType: "Flag"; - - author?: Reference<"Device" | "Organization" | "Patient" | "Practitioner" | "PractitionerRole">; - category?: CodeableConcept[]; - code: CodeableConcept; - encounter?: Reference<"Encounter">; - identifier?: Identifier[]; - period?: Period; - status: ("active" | "inactive" | "entered-in-error"); - _status?: Element; - subject: Reference<"Group" | "Location" | "Medication" | "Organization" | "Patient" | "PlanDefinition" | "Practitioner" | "Procedure">; -} -export const isFlag = (resource: unknown): resource is Flag => { - return resource !== null && typeof resource === "object" && (resource as {resourceType: string}).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 deleted file mode 100644 index e3a454ccf..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/Goal.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 { Annotation } from "../hl7-fhir-r4-core/Annotation"; -import type { BackboneElement } from "../hl7-fhir-r4-core/BackboneElement"; -import type { CodeableConcept } from "../hl7-fhir-r4-core/CodeableConcept"; -import type { DomainResource } from "../hl7-fhir-r4-core/DomainResource"; -import type { Duration } from "../hl7-fhir-r4-core/Duration"; -import type { Identifier } from "../hl7-fhir-r4-core/Identifier"; -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 { Element } from "../hl7-fhir-r4-core/Element"; -export type { Annotation } from "../hl7-fhir-r4-core/Annotation"; -export type { BackboneElement } from "../hl7-fhir-r4-core/BackboneElement"; -export type { CodeableConcept } from "../hl7-fhir-r4-core/CodeableConcept"; -export type { Duration } from "../hl7-fhir-r4-core/Duration"; -export type { Identifier } from "../hl7-fhir-r4-core/Identifier"; -export type { Quantity } from "../hl7-fhir-r4-core/Quantity"; -export type { Range } from "../hl7-fhir-r4-core/Range"; -export type { Ratio } from "../hl7-fhir-r4-core/Ratio"; -export type { Reference } from "../hl7-fhir-r4-core/Reference"; - -export interface GoalTarget extends BackboneElement { - detailBoolean?: boolean; - detailCodeableConcept?: CodeableConcept; - detailInteger?: number; - detailQuantity?: Quantity; - detailRange?: Range; - detailRatio?: Ratio; - detailString?: string; - dueDate?: string; - dueDuration?: Duration; - measure?: CodeableConcept; -} - -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/Goal (pkg: hl7.fhir.r4.core#4.0.1) -export interface Goal extends DomainResource { - resourceType: "Goal"; - - 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; - expressedBy?: Reference<"Patient" | "Practitioner" | "PractitionerRole" | "RelatedPerson">; - identifier?: Identifier[]; - lifecycleStatus: ("proposed" | "planned" | "accepted" | "active" | "on-hold" | "completed" | "cancelled" | "entered-in-error" | "rejected"); - _lifecycleStatus?: Element; - note?: Annotation[]; - outcomeCode?: CodeableConcept[]; - outcomeReference?: Reference<"Observation">[]; - priority?: CodeableConcept<("high-priority" | "medium-priority" | "low-priority" | string)>; - startCodeableConcept?: CodeableConcept; - startDate?: string; - _startDate?: Element; - statusDate?: string; - _statusDate?: Element; - statusReason?: string; - _statusReason?: Element; - subject: Reference<"Group" | "Organization" | "Patient">; - target?: GoalTarget[]; -} -export const isGoal = (resource: unknown): resource is Goal => { - return resource !== null && typeof resource === "object" && (resource as {resourceType: string}).resourceType === "Goal"; -} 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 deleted file mode 100644 index 77a60308e..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/GraphDefinition.ts +++ /dev/null @@ -1,75 +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 { BackboneElement } from "../hl7-fhir-r4-core/BackboneElement"; -import type { CodeableConcept } from "../hl7-fhir-r4-core/CodeableConcept"; -import type { ContactDetail } from "../hl7-fhir-r4-core/ContactDetail"; -import type { DomainResource } from "../hl7-fhir-r4-core/DomainResource"; -import type { UsageContext } from "../hl7-fhir-r4-core/UsageContext"; - -import type { Element } from "../hl7-fhir-r4-core/Element"; -export type { BackboneElement } from "../hl7-fhir-r4-core/BackboneElement"; -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"; - -export interface GraphDefinitionLink extends BackboneElement { - description?: string; - max?: string; - min?: number; - path?: string; - sliceName?: string; - target?: GraphDefinitionLinkTarget[]; -} - -export interface GraphDefinitionLinkTarget extends BackboneElement { - compartment?: GraphDefinitionLinkTargetCompartment[]; - link?: GraphDefinitionLink[]; - params?: string; - profile?: string; - type: string; -} - -export interface GraphDefinitionLinkTargetCompartment extends BackboneElement { - code: ("Patient" | "Encounter" | "RelatedPerson" | "Practitioner" | "Device"); - description?: string; - expression?: string; - rule: ("identical" | "matching" | "different" | "custom"); - use: ("condition" | "requirement"); -} - -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/GraphDefinition (pkg: hl7.fhir.r4.core#4.0.1) -export interface GraphDefinition extends DomainResource { - resourceType: "GraphDefinition"; - - contact?: ContactDetail[]; - date?: string; - _date?: Element; - description?: string; - _description?: Element; - experimental?: boolean; - _experimental?: Element; - jurisdiction?: CodeableConcept[]; - link?: GraphDefinitionLink[]; - name: string; - _name?: Element; - profile?: string; - _profile?: Element; - publisher?: string; - _publisher?: Element; - purpose?: string; - _purpose?: Element; - start: string; - _start?: Element; - status: ("draft" | "active" | "retired" | "unknown"); - _status?: Element; - url?: string; - _url?: Element; - useContext?: UsageContext[]; - version?: string; - _version?: Element; -} -export const isGraphDefinition = (resource: unknown): resource is GraphDefinition => { - return resource !== null && typeof resource === "object" && (resource as {resourceType: string}).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 deleted file mode 100644 index 4b90c4e5a..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/Group.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 { BackboneElement } from "../hl7-fhir-r4-core/BackboneElement"; -import type { CodeableConcept } from "../hl7-fhir-r4-core/CodeableConcept"; -import type { DomainResource } from "../hl7-fhir-r4-core/DomainResource"; -import type { Identifier } from "../hl7-fhir-r4-core/Identifier"; -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 { Reference } from "../hl7-fhir-r4-core/Reference"; - -import type { Element } from "../hl7-fhir-r4-core/Element"; -export type { BackboneElement } from "../hl7-fhir-r4-core/BackboneElement"; -export type { CodeableConcept } from "../hl7-fhir-r4-core/CodeableConcept"; -export type { Identifier } from "../hl7-fhir-r4-core/Identifier"; -export type { Period } from "../hl7-fhir-r4-core/Period"; -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"; - -export interface GroupCharacteristic extends BackboneElement { - code: CodeableConcept; - exclude: boolean; - period?: Period; - valueBoolean?: boolean; - valueCodeableConcept?: CodeableConcept; - valueQuantity?: Quantity; - valueRange?: Range; - valueReference?: Reference; -} - -export interface GroupMember extends BackboneElement { - entity: Reference<"Device" | "Group" | "Medication" | "Patient" | "Practitioner" | "PractitionerRole" | "Substance">; - inactive?: boolean; - period?: Period; -} - -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/Group (pkg: hl7.fhir.r4.core#4.0.1) -export interface Group extends DomainResource { - resourceType: "Group"; - - active?: boolean; - _active?: Element; - actual: boolean; - _actual?: Element; - characteristic?: GroupCharacteristic[]; - code?: CodeableConcept; - identifier?: Identifier[]; - managingEntity?: Reference<"Organization" | "Practitioner" | "PractitionerRole" | "RelatedPerson">; - member?: GroupMember[]; - name?: string; - _name?: Element; - quantity?: number; - _quantity?: Element; - type: ("person" | "animal" | "practitioner" | "device" | "medication" | "substance"); - _type?: Element; -} -export const isGroup = (resource: unknown): resource is Group => { - return resource !== null && typeof resource === "object" && (resource as {resourceType: string}).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 deleted file mode 100644 index a9c305cfd..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/GuidanceResponse.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 { Annotation } from "../hl7-fhir-r4-core/Annotation"; -import type { CodeableConcept } from "../hl7-fhir-r4-core/CodeableConcept"; -import type { DataRequirement } from "../hl7-fhir-r4-core/DataRequirement"; -import type { DomainResource } from "../hl7-fhir-r4-core/DomainResource"; -import type { Identifier } from "../hl7-fhir-r4-core/Identifier"; -import type { Reference } from "../hl7-fhir-r4-core/Reference"; - -import type { Element } from "../hl7-fhir-r4-core/Element"; -export type { Annotation } from "../hl7-fhir-r4-core/Annotation"; -export type { CodeableConcept } from "../hl7-fhir-r4-core/CodeableConcept"; -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 (pkg: hl7.fhir.r4.core#4.0.1) -export interface GuidanceResponse extends DomainResource { - resourceType: "GuidanceResponse"; - - dataRequirement?: DataRequirement[]; - encounter?: Reference<"Encounter">; - evaluationMessage?: Reference<"OperationOutcome">[]; - identifier?: Identifier[]; - moduleCanonical?: string; - _moduleCanonical?: Element; - moduleCodeableConcept?: CodeableConcept; - moduleUri?: string; - _moduleUri?: Element; - note?: Annotation[]; - occurrenceDateTime?: string; - _occurrenceDateTime?: Element; - outputParameters?: Reference<"Parameters">; - performer?: Reference<"Device">; - reasonCode?: CodeableConcept[]; - reasonReference?: Reference<"Condition" | "DiagnosticReport" | "DocumentReference" | "Observation">[]; - requestIdentifier?: Identifier; - result?: Reference<"CarePlan" | "RequestGroup">; - status: ("success" | "data-requested" | "data-required" | "in-progress" | "failure" | "entered-in-error"); - _status?: Element; - subject?: Reference<"Group" | "Patient">; -} -export const isGuidanceResponse = (resource: unknown): resource is GuidanceResponse => { - return resource !== null && typeof resource === "object" && (resource as {resourceType: string}).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 deleted file mode 100644 index 7679124b4..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/HealthcareService.ts +++ /dev/null @@ -1,77 +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-r4-core/Attachment"; -import type { BackboneElement } from "../hl7-fhir-r4-core/BackboneElement"; -import type { CodeableConcept } from "../hl7-fhir-r4-core/CodeableConcept"; -import type { ContactPoint } from "../hl7-fhir-r4-core/ContactPoint"; -import type { DomainResource } from "../hl7-fhir-r4-core/DomainResource"; -import type { Identifier } from "../hl7-fhir-r4-core/Identifier"; -import type { Period } from "../hl7-fhir-r4-core/Period"; -import type { Reference } from "../hl7-fhir-r4-core/Reference"; - -import type { Element } from "../hl7-fhir-r4-core/Element"; -export type { Attachment } from "../hl7-fhir-r4-core/Attachment"; -export type { BackboneElement } from "../hl7-fhir-r4-core/BackboneElement"; -export type { CodeableConcept } from "../hl7-fhir-r4-core/CodeableConcept"; -export type { ContactPoint } from "../hl7-fhir-r4-core/ContactPoint"; -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"; - -export interface HealthcareServiceAvailableTime extends BackboneElement { - allDay?: boolean; - availableEndTime?: string; - availableStartTime?: string; - daysOfWeek?: ("mon" | "tue" | "wed" | "thu" | "fri" | "sat" | "sun")[]; -} - -export interface HealthcareServiceEligibility extends BackboneElement { - code?: CodeableConcept; - comment?: string; -} - -export interface HealthcareServiceNotAvailable extends BackboneElement { - description: string; - during?: Period; -} - -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/HealthcareService (pkg: hl7.fhir.r4.core#4.0.1) -export interface HealthcareService extends DomainResource { - resourceType: "HealthcareService"; - - active?: boolean; - _active?: Element; - appointmentRequired?: boolean; - _appointmentRequired?: Element; - availabilityExceptions?: string; - _availabilityExceptions?: Element; - availableTime?: HealthcareServiceAvailableTime[]; - category?: CodeableConcept[]; - characteristic?: CodeableConcept[]; - comment?: string; - _comment?: Element; - 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">[]; - extraDetails?: string; - _extraDetails?: Element; - identifier?: Identifier[]; - location?: Reference<"Location">[]; - name?: string; - _name?: Element; - notAvailable?: HealthcareServiceNotAvailable[]; - photo?: Attachment; - program?: CodeableConcept[]; - providedBy?: Reference<"Organization">; - referralMethod?: CodeableConcept[]; - serviceProvisionCode?: CodeableConcept[]; - specialty?: CodeableConcept[]; - telecom?: ContactPoint[]; - type?: CodeableConcept[]; -} -export const isHealthcareService = (resource: unknown): resource is HealthcareService => { - return resource !== null && typeof resource === "object" && (resource as {resourceType: string}).resourceType === "HealthcareService"; -} 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 deleted file mode 100644 index ba5318104..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/ImagingStudy.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 { Annotation } from "../hl7-fhir-r4-core/Annotation"; -import type { BackboneElement } from "../hl7-fhir-r4-core/BackboneElement"; -import type { CodeableConcept } from "../hl7-fhir-r4-core/CodeableConcept"; -import type { Coding } from "../hl7-fhir-r4-core/Coding"; -import type { DomainResource } from "../hl7-fhir-r4-core/DomainResource"; -import type { Identifier } from "../hl7-fhir-r4-core/Identifier"; -import type { Reference } from "../hl7-fhir-r4-core/Reference"; - -import type { Element } from "../hl7-fhir-r4-core/Element"; -export type { Annotation } from "../hl7-fhir-r4-core/Annotation"; -export type { BackboneElement } from "../hl7-fhir-r4-core/BackboneElement"; -export type { CodeableConcept } from "../hl7-fhir-r4-core/CodeableConcept"; -export type { Coding } from "../hl7-fhir-r4-core/Coding"; -export type { Identifier } from "../hl7-fhir-r4-core/Identifier"; -export type { Reference } from "../hl7-fhir-r4-core/Reference"; - -export interface ImagingStudySeries extends BackboneElement { - bodySite?: Coding; - description?: string; - endpoint?: Reference<"Endpoint">[]; - instance?: ImagingStudySeriesInstance[]; - laterality?: Coding; - modality: Coding; - number?: number; - numberOfInstances?: number; - performer?: ImagingStudySeriesPerformer[]; - specimen?: Reference<"Specimen">[]; - started?: string; - uid: string; -} - -export interface ImagingStudySeriesInstance extends BackboneElement { - number?: number; - sopClass: Coding; - title?: string; - uid: string; -} - -export interface ImagingStudySeriesPerformer extends BackboneElement { - actor: Reference<"CareTeam" | "Device" | "Organization" | "Patient" | "Practitioner" | "PractitionerRole" | "RelatedPerson">; - "function"?: CodeableConcept<("CON" | "VRF" | "PRF" | "SPRF" | "REF" | string)>; -} - -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/ImagingStudy (pkg: hl7.fhir.r4.core#4.0.1) -export interface ImagingStudy extends DomainResource { - resourceType: "ImagingStudy"; - - basedOn?: Reference<"Appointment" | "AppointmentResponse" | "CarePlan" | "ServiceRequest" | "Task">[]; - description?: string; - _description?: Element; - encounter?: Reference<"Encounter">; - endpoint?: Reference<"Endpoint">[]; - identifier?: Identifier[]; - interpreter?: Reference<"Practitioner" | "PractitionerRole">[]; - location?: Reference<"Location">; - modality?: Coding[]; - note?: Annotation[]; - numberOfInstances?: number; - _numberOfInstances?: Element; - numberOfSeries?: number; - _numberOfSeries?: Element; - procedureCode?: CodeableConcept[]; - procedureReference?: Reference<"Procedure">; - reasonCode?: CodeableConcept[]; - reasonReference?: Reference<"Condition" | "DiagnosticReport" | "DocumentReference" | "Media" | "Observation">[]; - referrer?: Reference<"Practitioner" | "PractitionerRole">; - series?: ImagingStudySeries[]; - started?: string; - _started?: Element; - status: ("registered" | "available" | "cancelled" | "entered-in-error" | "unknown"); - _status?: Element; - subject: Reference<"Device" | "Group" | "Patient">; -} -export const isImagingStudy = (resource: unknown): resource is ImagingStudy => { - return resource !== null && typeof resource === "object" && (resource as {resourceType: string}).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 deleted file mode 100644 index 419e4b4d1..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/Immunization.ts +++ /dev/null @@ -1,93 +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 { Annotation } from "../hl7-fhir-r4-core/Annotation"; -import type { BackboneElement } from "../hl7-fhir-r4-core/BackboneElement"; -import type { CodeableConcept } from "../hl7-fhir-r4-core/CodeableConcept"; -import type { DomainResource } from "../hl7-fhir-r4-core/DomainResource"; -import type { Identifier } from "../hl7-fhir-r4-core/Identifier"; -import type { Quantity } from "../hl7-fhir-r4-core/Quantity"; -import type { Reference } from "../hl7-fhir-r4-core/Reference"; - -import type { Element } from "../hl7-fhir-r4-core/Element"; -export type { Annotation } from "../hl7-fhir-r4-core/Annotation"; -export type { BackboneElement } from "../hl7-fhir-r4-core/BackboneElement"; -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"; -export type { Reference } from "../hl7-fhir-r4-core/Reference"; - -export interface ImmunizationEducation extends BackboneElement { - documentType?: string; - presentationDate?: string; - publicationDate?: string; - reference?: string; -} - -export interface ImmunizationPerformer extends BackboneElement { - actor: Reference<"Organization" | "Practitioner" | "PractitionerRole">; - "function"?: CodeableConcept<("OP" | "AP" | string)>; -} - -export interface ImmunizationProtocolApplied extends BackboneElement { - authority?: Reference<"Organization">; - doseNumberPositiveInt?: number; - doseNumberString?: string; - series?: string; - seriesDosesPositiveInt?: number; - seriesDosesString?: string; - targetDisease?: CodeableConcept[]; -} - -export interface ImmunizationReaction extends BackboneElement { - date?: string; - detail?: Reference<"Observation">; - reported?: boolean; -} - -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/Immunization (pkg: hl7.fhir.r4.core#4.0.1) -export interface Immunization extends DomainResource { - resourceType: "Immunization"; - - doseQuantity?: Quantity; - education?: ImmunizationEducation[]; - encounter?: Reference<"Encounter">; - expirationDate?: string; - _expirationDate?: Element; - fundingSource?: CodeableConcept; - identifier?: Identifier[]; - isSubpotent?: boolean; - _isSubpotent?: Element; - location?: Reference<"Location">; - lotNumber?: string; - _lotNumber?: Element; - manufacturer?: Reference<"Organization">; - note?: Annotation[]; - occurrenceDateTime?: string; - _occurrenceDateTime?: Element; - occurrenceString?: string; - _occurrenceString?: Element; - patient: Reference<"Patient">; - performer?: ImmunizationPerformer[]; - primarySource?: boolean; - _primarySource?: Element; - programEligibility?: CodeableConcept[]; - protocolApplied?: ImmunizationProtocolApplied[]; - reaction?: ImmunizationReaction[]; - reasonCode?: CodeableConcept[]; - reasonReference?: Reference<"Condition" | "DiagnosticReport" | "Observation">[]; - recorded?: string; - _recorded?: Element; - reportOrigin?: CodeableConcept; - route?: CodeableConcept; - site?: CodeableConcept; - status: ("completed" | "entered-in-error" | "not-done"); - _status?: Element; - statusReason?: CodeableConcept; - subpotentReason?: CodeableConcept[]; - vaccineCode: CodeableConcept; -} -export const isImmunization = (resource: unknown): resource is Immunization => { - return resource !== null && typeof resource === "object" && (resource as {resourceType: string}).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 deleted file mode 100644 index fc8babb07..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/ImmunizationEvaluation.ts +++ /dev/null @@ -1,45 +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 { DomainResource } from "../hl7-fhir-r4-core/DomainResource"; -import type { Identifier } from "../hl7-fhir-r4-core/Identifier"; -import type { Reference } from "../hl7-fhir-r4-core/Reference"; - -import type { Element } from "../hl7-fhir-r4-core/Element"; -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 (pkg: hl7.fhir.r4.core#4.0.1) -export interface ImmunizationEvaluation extends DomainResource { - resourceType: "ImmunizationEvaluation"; - - authority?: Reference<"Organization">; - date?: string; - _date?: Element; - description?: string; - _description?: Element; - doseNumberPositiveInt?: number; - _doseNumberPositiveInt?: Element; - doseNumberString?: string; - _doseNumberString?: Element; - doseStatus: CodeableConcept; - doseStatusReason?: CodeableConcept[]; - identifier?: Identifier[]; - immunizationEvent: Reference<"Immunization">; - patient: Reference<"Patient">; - series?: string; - _series?: Element; - seriesDosesPositiveInt?: number; - _seriesDosesPositiveInt?: Element; - seriesDosesString?: string; - _seriesDosesString?: Element; - status: ("completed" | "entered-in-error"); - _status?: Element; - targetDisease: CodeableConcept; -} -export const isImmunizationEvaluation = (resource: unknown): resource is ImmunizationEvaluation => { - return resource !== null && typeof resource === "object" && (resource as {resourceType: string}).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 deleted file mode 100644 index 82ab35b74..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/ImmunizationRecommendation.ts +++ /dev/null @@ -1,52 +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 { BackboneElement } from "../hl7-fhir-r4-core/BackboneElement"; -import type { CodeableConcept } from "../hl7-fhir-r4-core/CodeableConcept"; -import type { DomainResource } from "../hl7-fhir-r4-core/DomainResource"; -import type { Identifier } from "../hl7-fhir-r4-core/Identifier"; -import type { Reference } from "../hl7-fhir-r4-core/Reference"; - -import type { Element } from "../hl7-fhir-r4-core/Element"; -export type { BackboneElement } from "../hl7-fhir-r4-core/BackboneElement"; -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"; - -export interface ImmunizationRecommendationRecommendation extends BackboneElement { - contraindicatedVaccineCode?: CodeableConcept[]; - dateCriterion?: ImmunizationRecommendationRecommendationDateCriterion[]; - description?: string; - doseNumberPositiveInt?: number; - doseNumberString?: string; - forecastReason?: CodeableConcept[]; - forecastStatus: CodeableConcept; - series?: string; - seriesDosesPositiveInt?: number; - seriesDosesString?: string; - supportingImmunization?: Reference<"Immunization" | "ImmunizationEvaluation">[]; - supportingPatientInformation?: Reference<"Resource">[]; - targetDisease?: CodeableConcept; - vaccineCode?: CodeableConcept[]; -} - -export interface ImmunizationRecommendationRecommendationDateCriterion extends BackboneElement { - code: CodeableConcept; - value: string; -} - -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/ImmunizationRecommendation (pkg: hl7.fhir.r4.core#4.0.1) -export interface ImmunizationRecommendation extends DomainResource { - resourceType: "ImmunizationRecommendation"; - - authority?: Reference<"Organization">; - date: string; - _date?: Element; - identifier?: Identifier[]; - patient: Reference<"Patient">; - recommendation: ImmunizationRecommendationRecommendation[]; -} -export const isImmunizationRecommendation = (resource: unknown): resource is ImmunizationRecommendation => { - return resource !== null && typeof resource === "object" && (resource as {resourceType: string}).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 deleted file mode 100644 index 58651a092..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/ImplementationGuide.ts +++ /dev/null @@ -1,133 +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 { BackboneElement } from "../hl7-fhir-r4-core/BackboneElement"; -import type { CodeableConcept } from "../hl7-fhir-r4-core/CodeableConcept"; -import type { ContactDetail } from "../hl7-fhir-r4-core/ContactDetail"; -import type { DomainResource } from "../hl7-fhir-r4-core/DomainResource"; -import type { Reference } from "../hl7-fhir-r4-core/Reference"; -import type { UsageContext } from "../hl7-fhir-r4-core/UsageContext"; - -import type { Element } from "../hl7-fhir-r4-core/Element"; -export type { BackboneElement } from "../hl7-fhir-r4-core/BackboneElement"; -export type { CodeableConcept } from "../hl7-fhir-r4-core/CodeableConcept"; -export type { ContactDetail } from "../hl7-fhir-r4-core/ContactDetail"; -export type { Reference } from "../hl7-fhir-r4-core/Reference"; -export type { UsageContext } from "../hl7-fhir-r4-core/UsageContext"; - -export interface ImplementationGuideDefinition extends BackboneElement { - grouping?: ImplementationGuideDefinitionGrouping[]; - page?: ImplementationGuideDefinitionPage; - parameter?: ImplementationGuideDefinitionParameter[]; - resource: ImplementationGuideDefinitionResource[]; - template?: ImplementationGuideDefinitionTemplate[]; -} - -export interface ImplementationGuideDefinitionGrouping extends BackboneElement { - description?: string; - name: string; -} - -export interface ImplementationGuideDefinitionPage extends BackboneElement { - generation: ("html" | "markdown" | "xml" | "generated"); - nameReference?: Reference<"Binary">; - nameUrl?: string; - page?: ImplementationGuideDefinitionPage[]; - title: string; -} - -export interface ImplementationGuideDefinitionParameter extends BackboneElement { - code: ("apply" | "path-resource" | "path-pages" | "path-tx-cache" | "expansion-parameter" | "rule-broken-links" | "generate-xml" | "generate-json" | "generate-turtle" | "html-template"); - value: string; -} - -export interface ImplementationGuideDefinitionResource extends BackboneElement { - description?: string; - exampleBoolean?: boolean; - exampleCanonical?: string; - 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")[]; - groupingId?: string; - name?: string; - reference: Reference<"Resource">; -} - -export interface ImplementationGuideDefinitionTemplate extends BackboneElement { - code: string; - scope?: string; - source: string; -} - -export interface ImplementationGuideDependsOn extends BackboneElement { - packageId?: string; - uri: string; - version?: string; -} - -export interface ImplementationGuideGlobal extends BackboneElement { - profile: string; - type: string; -} - -export interface ImplementationGuideManifest extends BackboneElement { - image?: string[]; - other?: string[]; - page?: ImplementationGuideManifestPage[]; - rendering?: string; - resource: ImplementationGuideManifestResource[]; -} - -export interface ImplementationGuideManifestPage extends BackboneElement { - anchor?: string[]; - name: string; - title?: string; -} - -export interface ImplementationGuideManifestResource extends BackboneElement { - exampleBoolean?: boolean; - exampleCanonical?: string; - reference: Reference<"Resource">; - relativePath?: string; -} - -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/ImplementationGuide (pkg: hl7.fhir.r4.core#4.0.1) -export interface ImplementationGuide extends DomainResource { - resourceType: "ImplementationGuide"; - - contact?: ContactDetail[]; - copyright?: string; - _copyright?: Element; - date?: string; - _date?: Element; - definition?: ImplementationGuideDefinition; - dependsOn?: ImplementationGuideDependsOn[]; - description?: string; - _description?: Element; - 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 | null)[]; - global?: ImplementationGuideGlobal[]; - jurisdiction?: CodeableConcept[]; - license?: string; - _license?: Element; - manifest?: ImplementationGuideManifest; - name: string; - _name?: Element; - packageId: string; - _packageId?: Element; - publisher?: string; - _publisher?: Element; - status: ("draft" | "active" | "retired" | "unknown"); - _status?: Element; - title?: string; - _title?: Element; - url: string; - _url?: Element; - useContext?: UsageContext[]; - version?: string; - _version?: Element; -} -export const isImplementationGuide = (resource: unknown): resource is ImplementationGuide => { - return resource !== null && typeof resource === "object" && (resource as {resourceType: string}).resourceType === "ImplementationGuide"; -} 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 deleted file mode 100644 index 2282121ae..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/InsurancePlan.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 { Address } from "../hl7-fhir-r4-core/Address"; -import type { BackboneElement } from "../hl7-fhir-r4-core/BackboneElement"; -import type { CodeableConcept } from "../hl7-fhir-r4-core/CodeableConcept"; -import type { ContactPoint } from "../hl7-fhir-r4-core/ContactPoint"; -import type { DomainResource } from "../hl7-fhir-r4-core/DomainResource"; -import type { HumanName } from "../hl7-fhir-r4-core/HumanName"; -import type { Identifier } from "../hl7-fhir-r4-core/Identifier"; -import type { Money } from "../hl7-fhir-r4-core/Money"; -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"; - -import type { Element } from "../hl7-fhir-r4-core/Element"; -export type { Address } from "../hl7-fhir-r4-core/Address"; -export type { BackboneElement } from "../hl7-fhir-r4-core/BackboneElement"; -export type { CodeableConcept } from "../hl7-fhir-r4-core/CodeableConcept"; -export type { ContactPoint } from "../hl7-fhir-r4-core/ContactPoint"; -export type { HumanName } from "../hl7-fhir-r4-core/HumanName"; -export type { Identifier } from "../hl7-fhir-r4-core/Identifier"; -export type { Money } from "../hl7-fhir-r4-core/Money"; -export type { Period } from "../hl7-fhir-r4-core/Period"; -export type { Quantity } from "../hl7-fhir-r4-core/Quantity"; -export type { Reference } from "../hl7-fhir-r4-core/Reference"; - -export interface InsurancePlanContact extends BackboneElement { - address?: Address; - name?: HumanName; - purpose?: CodeableConcept<("BILL" | "ADMIN" | "HR" | "PAYOR" | "PATINF" | "PRESS" | string)>; - telecom?: ContactPoint[]; -} - -export interface InsurancePlanCoverage extends BackboneElement { - benefit: InsurancePlanCoverageBenefit[]; - network?: Reference<"Organization">[]; - type: CodeableConcept; -} - -export interface InsurancePlanCoverageBenefit extends BackboneElement { - limit?: InsurancePlanCoverageBenefitLimit[]; - requirement?: string; - type: CodeableConcept; -} - -export interface InsurancePlanCoverageBenefitLimit extends BackboneElement { - code?: CodeableConcept; - value?: Quantity; -} - -export interface InsurancePlanPlan extends BackboneElement { - coverageArea?: Reference<"Location">[]; - generalCost?: InsurancePlanPlanGeneralCost[]; - identifier?: Identifier[]; - network?: Reference<"Organization">[]; - specificCost?: InsurancePlanPlanSpecificCost[]; - type?: CodeableConcept; -} - -export interface InsurancePlanPlanGeneralCost extends BackboneElement { - comment?: string; - cost?: Money; - groupSize?: number; - type?: CodeableConcept; -} - -export interface InsurancePlanPlanSpecificCost extends BackboneElement { - benefit?: InsurancePlanPlanSpecificCostBenefit[]; - category: CodeableConcept; -} - -export interface InsurancePlanPlanSpecificCostBenefit extends BackboneElement { - cost?: InsurancePlanPlanSpecificCostBenefitCost[]; - type: CodeableConcept; -} - -export interface InsurancePlanPlanSpecificCostBenefitCost extends BackboneElement { - applicability?: CodeableConcept<("in-network" | "out-of-network" | "other")>; - qualifiers?: CodeableConcept[]; - type: CodeableConcept; - value?: Quantity; -} - -// 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 | null)[]; - contact?: InsurancePlanContact[]; - coverage?: InsurancePlanCoverage[]; - coverageArea?: Reference<"Location">[]; - endpoint?: Reference<"Endpoint">[]; - identifier?: Identifier[]; - name?: string; - _name?: Element; - network?: Reference<"Organization">[]; - ownedBy?: Reference<"Organization">; - period?: Period; - plan?: InsurancePlanPlan[]; - status?: ("draft" | "active" | "retired" | "unknown"); - _status?: Element; - type?: CodeableConcept[]; -} -export const isInsurancePlan = (resource: unknown): resource is InsurancePlan => { - return resource !== null && typeof resource === "object" && (resource as {resourceType: string}).resourceType === "InsurancePlan"; -} 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 deleted file mode 100644 index c65701a14..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/Invoice.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 { Annotation } from "../hl7-fhir-r4-core/Annotation"; -import type { BackboneElement } from "../hl7-fhir-r4-core/BackboneElement"; -import type { CodeableConcept } from "../hl7-fhir-r4-core/CodeableConcept"; -import type { DomainResource } from "../hl7-fhir-r4-core/DomainResource"; -import type { Identifier } from "../hl7-fhir-r4-core/Identifier"; -import type { Money } from "../hl7-fhir-r4-core/Money"; -import type { Reference } from "../hl7-fhir-r4-core/Reference"; - -import type { Element } from "../hl7-fhir-r4-core/Element"; -export type { Annotation } from "../hl7-fhir-r4-core/Annotation"; -export type { BackboneElement } from "../hl7-fhir-r4-core/BackboneElement"; -export type { CodeableConcept } from "../hl7-fhir-r4-core/CodeableConcept"; -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"; - -export interface InvoiceLineItem extends BackboneElement { - chargeItemCodeableConcept?: CodeableConcept; - chargeItemReference?: Reference<"ChargeItem">; - priceComponent?: InvoiceLineItemPriceComponent[]; - sequence?: number; -} - -export interface InvoiceLineItemPriceComponent extends BackboneElement { - amount?: Money; - code?: CodeableConcept; - factor?: number; - type: ("base" | "surcharge" | "deduction" | "discount" | "tax" | "informational"); -} - -export interface InvoiceParticipant extends BackboneElement { - actor: Reference<"Device" | "Organization" | "Patient" | "Practitioner" | "PractitionerRole" | "RelatedPerson">; - role?: CodeableConcept; -} - -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/Invoice (pkg: hl7.fhir.r4.core#4.0.1) -export interface Invoice extends DomainResource { - resourceType: "Invoice"; - - account?: Reference<"Account">; - cancelledReason?: string; - _cancelledReason?: Element; - date?: string; - _date?: Element; - identifier?: Identifier[]; - issuer?: Reference<"Organization">; - lineItem?: InvoiceLineItem[]; - note?: Annotation[]; - participant?: InvoiceParticipant[]; - paymentTerms?: string; - _paymentTerms?: Element; - recipient?: Reference<"Organization" | "Patient" | "RelatedPerson">; - status: ("draft" | "issued" | "balanced" | "cancelled" | "entered-in-error"); - _status?: Element; - subject?: Reference<"Group" | "Patient">; - totalGross?: Money; - totalNet?: Money; - totalPriceComponent?: InvoiceLineItemPriceComponent[]; - type?: CodeableConcept; -} -export const isInvoice = (resource: unknown): resource is Invoice => { - return resource !== null && typeof resource === "object" && (resource as {resourceType: string}).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 deleted file mode 100644 index e5e21cd48..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/Library.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 { Attachment } from "../hl7-fhir-r4-core/Attachment"; -import type { CodeableConcept } from "../hl7-fhir-r4-core/CodeableConcept"; -import type { ContactDetail } from "../hl7-fhir-r4-core/ContactDetail"; -import type { DataRequirement } from "../hl7-fhir-r4-core/DataRequirement"; -import type { DomainResource } from "../hl7-fhir-r4-core/DomainResource"; -import type { Identifier } from "../hl7-fhir-r4-core/Identifier"; -import type { ParameterDefinition } from "../hl7-fhir-r4-core/ParameterDefinition"; -import type { Period } from "../hl7-fhir-r4-core/Period"; -import type { Reference } from "../hl7-fhir-r4-core/Reference"; -import type { RelatedArtifact } from "../hl7-fhir-r4-core/RelatedArtifact"; -import type { UsageContext } from "../hl7-fhir-r4-core/UsageContext"; - -import type { Element } from "../hl7-fhir-r4-core/Element"; -export type { Attachment } from "../hl7-fhir-r4-core/Attachment"; -export type { CodeableConcept } from "../hl7-fhir-r4-core/CodeableConcept"; -export type { ContactDetail } from "../hl7-fhir-r4-core/ContactDetail"; -export type { DataRequirement } from "../hl7-fhir-r4-core/DataRequirement"; -export type { Identifier } from "../hl7-fhir-r4-core/Identifier"; -export type { ParameterDefinition } from "../hl7-fhir-r4-core/ParameterDefinition"; -export type { Period } from "../hl7-fhir-r4-core/Period"; -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 (pkg: hl7.fhir.r4.core#4.0.1) -export interface Library extends DomainResource { - resourceType: "Library"; - - approvalDate?: string; - _approvalDate?: Element; - author?: ContactDetail[]; - contact?: ContactDetail[]; - content?: Attachment[]; - copyright?: string; - _copyright?: Element; - dataRequirement?: DataRequirement[]; - date?: string; - _date?: Element; - description?: string; - _description?: Element; - editor?: ContactDetail[]; - effectivePeriod?: Period; - endorser?: ContactDetail[]; - experimental?: boolean; - _experimental?: Element; - identifier?: Identifier[]; - jurisdiction?: CodeableConcept[]; - lastReviewDate?: string; - _lastReviewDate?: Element; - name?: string; - _name?: Element; - parameter?: ParameterDefinition[]; - publisher?: string; - _publisher?: Element; - purpose?: string; - _purpose?: Element; - relatedArtifact?: RelatedArtifact[]; - reviewer?: ContactDetail[]; - status: ("draft" | "active" | "retired" | "unknown"); - _status?: Element; - subjectCodeableConcept?: CodeableConcept; - subjectReference?: Reference<"Group">; - subtitle?: string; - _subtitle?: Element; - title?: string; - _title?: Element; - topic?: CodeableConcept[]; - type: CodeableConcept<("logic-library" | "model-definition" | "asset-collection" | "module-definition" | string)>; - url?: string; - _url?: Element; - usage?: string; - _usage?: Element; - useContext?: UsageContext[]; - version?: string; - _version?: Element; -} -export const isLibrary = (resource: unknown): resource is Library => { - return resource !== null && typeof resource === "object" && (resource as {resourceType: string}).resourceType === "Library"; -} 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 deleted file mode 100644 index b8abb2e4b..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/Linkage.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 { BackboneElement } from "../hl7-fhir-r4-core/BackboneElement"; -import type { DomainResource } from "../hl7-fhir-r4-core/DomainResource"; -import type { Reference } from "../hl7-fhir-r4-core/Reference"; - -import type { Element } from "../hl7-fhir-r4-core/Element"; -export type { BackboneElement } from "../hl7-fhir-r4-core/BackboneElement"; -export type { Reference } from "../hl7-fhir-r4-core/Reference"; - -export interface LinkageItem extends BackboneElement { - resource: Reference<"Resource">; - type: ("source" | "alternate" | "historical"); -} - -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/Linkage (pkg: hl7.fhir.r4.core#4.0.1) -export interface Linkage extends DomainResource { - resourceType: "Linkage"; - - active?: boolean; - _active?: Element; - author?: Reference<"Organization" | "Practitioner" | "PractitionerRole">; - item: LinkageItem[]; -} -export const isLinkage = (resource: unknown): resource is Linkage => { - return resource !== null && typeof resource === "object" && (resource as {resourceType: string}).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 deleted file mode 100644 index bf3bbf034..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/List.ts +++ /dev/null @@ -1,50 +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 { Annotation } from "../hl7-fhir-r4-core/Annotation"; -import type { BackboneElement } from "../hl7-fhir-r4-core/BackboneElement"; -import type { CodeableConcept } from "../hl7-fhir-r4-core/CodeableConcept"; -import type { DomainResource } from "../hl7-fhir-r4-core/DomainResource"; -import type { Identifier } from "../hl7-fhir-r4-core/Identifier"; -import type { Reference } from "../hl7-fhir-r4-core/Reference"; - -import type { Element } from "../hl7-fhir-r4-core/Element"; -export type { Annotation } from "../hl7-fhir-r4-core/Annotation"; -export type { BackboneElement } from "../hl7-fhir-r4-core/BackboneElement"; -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"; - -export interface ListEntry extends BackboneElement { - date?: string; - deleted?: boolean; - flag?: CodeableConcept; - item: Reference<"Resource">; -} - -// 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<("nilknown" | "notasked" | "withheld" | "unavailable" | "notstarted" | "closed" | string)>; - encounter?: Reference<"Encounter">; - entry?: ListEntry[]; - identifier?: Identifier[]; - mode: ("working" | "snapshot" | "changes"); - _mode?: Element; - note?: Annotation[]; - 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; - subject?: Reference<"Device" | "Group" | "Location" | "Patient">; - title?: string; - _title?: Element; -} -export const isList = (resource: unknown): resource is List => { - return resource !== null && typeof resource === "object" && (resource as {resourceType: string}).resourceType === "List"; -} 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 deleted file mode 100644 index 6613795bd..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/Location.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 { Address } from "../hl7-fhir-r4-core/Address"; -import type { BackboneElement } from "../hl7-fhir-r4-core/BackboneElement"; -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 { DomainResource } from "../hl7-fhir-r4-core/DomainResource"; -import type { Identifier } from "../hl7-fhir-r4-core/Identifier"; -import type { Reference } from "../hl7-fhir-r4-core/Reference"; - -import type { Element } from "../hl7-fhir-r4-core/Element"; -export type { Address } from "../hl7-fhir-r4-core/Address"; -export type { BackboneElement } from "../hl7-fhir-r4-core/BackboneElement"; -export type { CodeableConcept } from "../hl7-fhir-r4-core/CodeableConcept"; -export type { Coding } from "../hl7-fhir-r4-core/Coding"; -export type { ContactPoint } from "../hl7-fhir-r4-core/ContactPoint"; -export type { Identifier } from "../hl7-fhir-r4-core/Identifier"; -export type { Reference } from "../hl7-fhir-r4-core/Reference"; - -export interface LocationHoursOfOperation extends BackboneElement { - allDay?: boolean; - closingTime?: string; - daysOfWeek?: ("mon" | "tue" | "wed" | "thu" | "fri" | "sat" | "sun")[]; - openingTime?: string; -} - -export interface LocationPosition extends BackboneElement { - altitude?: number; - latitude: number; - longitude: number; -} - -// 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 | null)[]; - availabilityExceptions?: string; - _availabilityExceptions?: Element; - description?: string; - _description?: Element; - endpoint?: Reference<"Endpoint">[]; - hoursOfOperation?: LocationHoursOfOperation[]; - identifier?: Identifier[]; - managingOrganization?: Reference<"Organization">; - mode?: ("instance" | "kind"); - _mode?: Element; - name?: string; - _name?: Element; - operationalStatus?: Coding<("C" | "H" | "I" | "K" | "O" | "U" | string)>; - partOf?: Reference<"Location">; - physicalType?: CodeableConcept; - position?: LocationPosition; - status?: ("active" | "suspended" | "inactive"); - _status?: Element; - telecom?: ContactPoint[]; - type?: CodeableConcept[]; -} -export const isLocation = (resource: unknown): resource is Location => { - return resource !== null && typeof resource === "object" && (resource as {resourceType: string}).resourceType === "Location"; -} 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 deleted file mode 100644 index 745c86574..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/MarketingStatus.ts +++ /dev/null @@ -1,22 +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 { BackboneElement } from "../hl7-fhir-r4-core/BackboneElement"; -import type { CodeableConcept } from "../hl7-fhir-r4-core/CodeableConcept"; -import type { Period } from "../hl7-fhir-r4-core/Period"; - -import type { Element } from "../hl7-fhir-r4-core/Element"; -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 (pkg: hl7.fhir.r4.core#4.0.1) -export interface MarketingStatus extends BackboneElement { - country: CodeableConcept; - dateRange: Period; - jurisdiction?: CodeableConcept; - restoreDate?: string; - _restoreDate?: Element; - status: CodeableConcept; -} 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 deleted file mode 100644 index 5d92a7349..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/Measure.ts +++ /dev/null @@ -1,132 +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 { BackboneElement } from "../hl7-fhir-r4-core/BackboneElement"; -import type { CodeableConcept } from "../hl7-fhir-r4-core/CodeableConcept"; -import type { ContactDetail } from "../hl7-fhir-r4-core/ContactDetail"; -import type { DomainResource } from "../hl7-fhir-r4-core/DomainResource"; -import type { Expression } from "../hl7-fhir-r4-core/Expression"; -import type { Identifier } from "../hl7-fhir-r4-core/Identifier"; -import type { Period } from "../hl7-fhir-r4-core/Period"; -import type { Reference } from "../hl7-fhir-r4-core/Reference"; -import type { RelatedArtifact } from "../hl7-fhir-r4-core/RelatedArtifact"; -import type { UsageContext } from "../hl7-fhir-r4-core/UsageContext"; - -import type { Element } from "../hl7-fhir-r4-core/Element"; -export type { BackboneElement } from "../hl7-fhir-r4-core/BackboneElement"; -export type { CodeableConcept } from "../hl7-fhir-r4-core/CodeableConcept"; -export type { ContactDetail } from "../hl7-fhir-r4-core/ContactDetail"; -export type { Expression } from "../hl7-fhir-r4-core/Expression"; -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"; -export type { RelatedArtifact } from "../hl7-fhir-r4-core/RelatedArtifact"; -export type { UsageContext } from "../hl7-fhir-r4-core/UsageContext"; - -export interface MeasureGroup extends BackboneElement { - code?: CodeableConcept; - description?: string; - population?: MeasureGroupPopulation[]; - stratifier?: MeasureGroupStratifier[]; -} - -export interface MeasureGroupPopulation extends BackboneElement { - code?: CodeableConcept<("initial-population" | "numerator" | "numerator-exclusion" | "denominator" | "denominator-exclusion" | "denominator-exception" | "measure-population" | "measure-population-exclusion" | "measure-observation" | string)>; - criteria: Expression; - description?: string; -} - -export interface MeasureGroupStratifier extends BackboneElement { - code?: CodeableConcept; - component?: MeasureGroupStratifierComponent[]; - criteria?: Expression; - description?: string; -} - -export interface MeasureGroupStratifierComponent extends BackboneElement { - code?: CodeableConcept; - criteria: Expression; - description?: string; -} - -export interface MeasureSupplementalData extends BackboneElement { - code?: CodeableConcept; - criteria: Expression; - description?: string; - usage?: CodeableConcept<("supplemental-data" | "risk-adjustment-factor" | string)>[]; -} - -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/Measure (pkg: hl7.fhir.r4.core#4.0.1) -export interface Measure extends DomainResource { - resourceType: "Measure"; - - approvalDate?: string; - _approvalDate?: Element; - author?: ContactDetail[]; - clinicalRecommendationStatement?: string; - _clinicalRecommendationStatement?: Element; - compositeScoring?: CodeableConcept<("opportunity" | "all-or-nothing" | "linear" | "weighted" | string)>; - contact?: ContactDetail[]; - copyright?: string; - _copyright?: Element; - date?: string; - _date?: Element; - definition?: string[]; - _definition?: (Element | null)[]; - description?: string; - _description?: Element; - disclaimer?: string; - _disclaimer?: Element; - editor?: ContactDetail[]; - effectivePeriod?: Period; - endorser?: ContactDetail[]; - experimental?: boolean; - _experimental?: Element; - group?: MeasureGroup[]; - guidance?: string; - _guidance?: Element; - identifier?: Identifier[]; - improvementNotation?: CodeableConcept<("increase" | "decrease")>; - jurisdiction?: CodeableConcept[]; - lastReviewDate?: string; - _lastReviewDate?: Element; - library?: string[]; - _library?: (Element | null)[]; - name?: string; - _name?: Element; - publisher?: string; - _publisher?: Element; - purpose?: string; - _purpose?: Element; - rateAggregation?: string; - _rateAggregation?: Element; - rationale?: string; - _rationale?: Element; - relatedArtifact?: RelatedArtifact[]; - reviewer?: ContactDetail[]; - riskAdjustment?: string; - _riskAdjustment?: Element; - scoring?: CodeableConcept<("proportion" | "ratio" | "continuous-variable" | "cohort" | string)>; - status: ("draft" | "active" | "retired" | "unknown"); - _status?: Element; - subjectCodeableConcept?: CodeableConcept; - subjectReference?: Reference<"Group">; - subtitle?: string; - _subtitle?: Element; - supplementalData?: MeasureSupplementalData[]; - title?: string; - _title?: Element; - topic?: CodeableConcept[]; - type?: CodeableConcept<("process" | "outcome" | "structure" | "patient-reported-outcome" | "composite" | string)>[]; - url?: string; - _url?: Element; - usage?: string; - _usage?: Element; - useContext?: UsageContext[]; - version?: string; - _version?: Element; -} -export const isMeasure = (resource: unknown): resource is Measure => { - return resource !== null && typeof resource === "object" && (resource as {resourceType: string}).resourceType === "Measure"; -} 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 deleted file mode 100644 index 74bf6c0e4..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/MeasureReport.ts +++ /dev/null @@ -1,79 +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 { BackboneElement } from "../hl7-fhir-r4-core/BackboneElement"; -import type { CodeableConcept } from "../hl7-fhir-r4-core/CodeableConcept"; -import type { DomainResource } from "../hl7-fhir-r4-core/DomainResource"; -import type { Identifier } from "../hl7-fhir-r4-core/Identifier"; -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"; - -import type { Element } from "../hl7-fhir-r4-core/Element"; -export type { BackboneElement } from "../hl7-fhir-r4-core/BackboneElement"; -export type { CodeableConcept } from "../hl7-fhir-r4-core/CodeableConcept"; -export type { Identifier } from "../hl7-fhir-r4-core/Identifier"; -export type { Period } from "../hl7-fhir-r4-core/Period"; -export type { Quantity } from "../hl7-fhir-r4-core/Quantity"; -export type { Reference } from "../hl7-fhir-r4-core/Reference"; - -export interface MeasureReportGroup extends BackboneElement { - code?: CodeableConcept; - measureScore?: Quantity; - population?: MeasureReportGroupPopulation[]; - stratifier?: MeasureReportGroupStratifier[]; -} - -export interface MeasureReportGroupPopulation extends BackboneElement { - 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">; -} - -export interface MeasureReportGroupStratifier extends BackboneElement { - code?: CodeableConcept[]; - stratum?: MeasureReportGroupStratifierStratum[]; -} - -export interface MeasureReportGroupStratifierStratum extends BackboneElement { - component?: MeasureReportGroupStratifierStratumComponent[]; - measureScore?: Quantity; - population?: MeasureReportGroupStratifierStratumPopulation[]; - value?: CodeableConcept; -} - -export interface MeasureReportGroupStratifierStratumComponent extends BackboneElement { - code: CodeableConcept; - value: CodeableConcept; -} - -export interface MeasureReportGroupStratifierStratumPopulation extends BackboneElement { - 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 (pkg: hl7.fhir.r4.core#4.0.1) -export interface MeasureReport extends DomainResource { - resourceType: "MeasureReport"; - - date?: string; - _date?: Element; - evaluatedResource?: Reference<"Resource">[]; - group?: MeasureReportGroup[]; - identifier?: Identifier[]; - improvementNotation?: CodeableConcept<("increase" | "decrease")>; - measure: string; - _measure?: Element; - period: Period; - reporter?: Reference<"Location" | "Organization" | "Practitioner" | "PractitionerRole">; - status: ("complete" | "pending" | "error"); - _status?: Element; - subject?: Reference<"Device" | "Group" | "Location" | "Patient" | "Practitioner" | "PractitionerRole" | "RelatedPerson">; - type: ("individual" | "subject-list" | "summary" | "data-collection"); - _type?: Element; -} -export const isMeasureReport = (resource: unknown): resource is MeasureReport => { - return resource !== null && typeof resource === "object" && (resource as {resourceType: string}).resourceType === "MeasureReport"; -} 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 deleted file mode 100644 index e7954aef7..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/Media.ts +++ /dev/null @@ -1,59 +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 { Annotation } from "../hl7-fhir-r4-core/Annotation"; -import type { Attachment } from "../hl7-fhir-r4-core/Attachment"; -import type { CodeableConcept } from "../hl7-fhir-r4-core/CodeableConcept"; -import type { DomainResource } from "../hl7-fhir-r4-core/DomainResource"; -import type { Identifier } from "../hl7-fhir-r4-core/Identifier"; -import type { Period } from "../hl7-fhir-r4-core/Period"; -import type { Reference } from "../hl7-fhir-r4-core/Reference"; - -import type { Element } from "../hl7-fhir-r4-core/Element"; -export type { Annotation } from "../hl7-fhir-r4-core/Annotation"; -export type { Attachment } from "../hl7-fhir-r4-core/Attachment"; -export type { CodeableConcept } from "../hl7-fhir-r4-core/CodeableConcept"; -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 (pkg: hl7.fhir.r4.core#4.0.1) -export interface Media extends DomainResource { - resourceType: "Media"; - - basedOn?: Reference<"CarePlan" | "ServiceRequest">[]; - bodySite?: CodeableConcept; - content: Attachment; - createdDateTime?: string; - _createdDateTime?: Element; - createdPeriod?: Period; - device?: Reference<"Device" | "DeviceMetric">; - deviceName?: string; - _deviceName?: Element; - duration?: number; - _duration?: Element; - encounter?: Reference<"Encounter">; - frames?: number; - _frames?: Element; - height?: number; - _height?: Element; - identifier?: Identifier[]; - issued?: string; - _issued?: Element; - modality?: CodeableConcept; - note?: Annotation[]; - operator?: Reference<"CareTeam" | "Device" | "Organization" | "Patient" | "Practitioner" | "PractitionerRole" | "RelatedPerson">; - partOf?: Reference<"Resource">[]; - reasonCode?: CodeableConcept[]; - 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<("image" | "video" | "audio" | string)>; - view?: CodeableConcept; - width?: number; - _width?: Element; -} -export const isMedia = (resource: unknown): resource is Media => { - return resource !== null && typeof resource === "object" && (resource as {resourceType: string}).resourceType === "Media"; -} 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 deleted file mode 100644 index 6e3516b30..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/Medication.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 { BackboneElement } from "../hl7-fhir-r4-core/BackboneElement"; -import type { CodeableConcept } from "../hl7-fhir-r4-core/CodeableConcept"; -import type { DomainResource } from "../hl7-fhir-r4-core/DomainResource"; -import type { Identifier } from "../hl7-fhir-r4-core/Identifier"; -import type { Ratio } from "../hl7-fhir-r4-core/Ratio"; -import type { Reference } from "../hl7-fhir-r4-core/Reference"; - -import type { Element } from "../hl7-fhir-r4-core/Element"; -export type { BackboneElement } from "../hl7-fhir-r4-core/BackboneElement"; -export type { CodeableConcept } from "../hl7-fhir-r4-core/CodeableConcept"; -export type { Identifier } from "../hl7-fhir-r4-core/Identifier"; -export type { Ratio } from "../hl7-fhir-r4-core/Ratio"; -export type { Reference } from "../hl7-fhir-r4-core/Reference"; - -export interface MedicationBatch extends BackboneElement { - expirationDate?: string; - lotNumber?: string; -} - -export interface MedicationIngredient extends BackboneElement { - isActive?: boolean; - itemCodeableConcept?: CodeableConcept; - itemReference?: Reference<"Medication" | "Substance">; - strength?: Ratio; -} - -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/Medication (pkg: hl7.fhir.r4.core#4.0.1) -export interface Medication extends DomainResource { - resourceType: "Medication"; - - amount?: Ratio; - batch?: MedicationBatch; - code?: CodeableConcept; - form?: CodeableConcept; - identifier?: Identifier[]; - ingredient?: MedicationIngredient[]; - manufacturer?: Reference<"Organization">; - status?: ("active" | "inactive" | "entered-in-error"); - _status?: Element; -} -export const isMedication = (resource: unknown): resource is Medication => { - return resource !== null && typeof resource === "object" && (resource as {resourceType: string}).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 deleted file mode 100644 index 6b118508a..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/MedicationAdministration.ts +++ /dev/null @@ -1,71 +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 { Annotation } from "../hl7-fhir-r4-core/Annotation"; -import type { BackboneElement } from "../hl7-fhir-r4-core/BackboneElement"; -import type { CodeableConcept } from "../hl7-fhir-r4-core/CodeableConcept"; -import type { DomainResource } from "../hl7-fhir-r4-core/DomainResource"; -import type { Identifier } from "../hl7-fhir-r4-core/Identifier"; -import type { Period } from "../hl7-fhir-r4-core/Period"; -import type { Quantity } from "../hl7-fhir-r4-core/Quantity"; -import type { Ratio } from "../hl7-fhir-r4-core/Ratio"; -import type { Reference } from "../hl7-fhir-r4-core/Reference"; - -import type { Element } from "../hl7-fhir-r4-core/Element"; -export type { Annotation } from "../hl7-fhir-r4-core/Annotation"; -export type { BackboneElement } from "../hl7-fhir-r4-core/BackboneElement"; -export type { CodeableConcept } from "../hl7-fhir-r4-core/CodeableConcept"; -export type { Identifier } from "../hl7-fhir-r4-core/Identifier"; -export type { Period } from "../hl7-fhir-r4-core/Period"; -export type { Quantity } from "../hl7-fhir-r4-core/Quantity"; -export type { Ratio } from "../hl7-fhir-r4-core/Ratio"; -export type { Reference } from "../hl7-fhir-r4-core/Reference"; - -export interface MedicationAdministrationDosage extends BackboneElement { - dose?: Quantity; - method?: CodeableConcept; - rateQuantity?: Quantity; - rateRatio?: Ratio; - route?: CodeableConcept; - site?: CodeableConcept; - text?: string; -} - -export interface MedicationAdministrationPerformer extends BackboneElement { - actor: Reference<"Device" | "Patient" | "Practitioner" | "PractitionerRole" | "RelatedPerson">; - "function"?: CodeableConcept; -} - -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/MedicationAdministration (pkg: hl7.fhir.r4.core#4.0.1) -export interface MedicationAdministration extends DomainResource { - resourceType: "MedicationAdministration"; - - category?: CodeableConcept<("inpatient" | "outpatient" | "community" | string)>; - context?: Reference<"Encounter" | "EpisodeOfCare">; - device?: Reference<"Device">[]; - dosage?: MedicationAdministrationDosage; - effectiveDateTime?: string; - _effectiveDateTime?: Element; - effectivePeriod?: Period; - eventHistory?: Reference<"Provenance">[]; - identifier?: Identifier[]; - instantiates?: string[]; - _instantiates?: (Element | null)[]; - medicationCodeableConcept?: CodeableConcept; - medicationReference?: Reference<"Medication">; - note?: Annotation[]; - partOf?: Reference<"MedicationAdministration" | "Procedure">[]; - performer?: MedicationAdministrationPerformer[]; - reasonCode?: CodeableConcept[]; - reasonReference?: Reference<"Condition" | "DiagnosticReport" | "Observation">[]; - request?: Reference<"MedicationRequest">; - status: ("in-progress" | "not-done" | "on-hold" | "completed" | "entered-in-error" | "stopped" | "unknown"); - _status?: Element; - statusReason?: CodeableConcept[]; - subject: Reference<"Group" | "Patient">; - supportingInformation?: Reference<"Resource">[]; -} -export const isMedicationAdministration = (resource: unknown): resource is MedicationAdministration => { - return resource !== null && typeof resource === "object" && (resource as {resourceType: string}).resourceType === "MedicationAdministration"; -} 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 deleted file mode 100644 index 00eae8181..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/MedicationDispense.ts +++ /dev/null @@ -1,71 +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 { Annotation } from "../hl7-fhir-r4-core/Annotation"; -import type { BackboneElement } from "../hl7-fhir-r4-core/BackboneElement"; -import type { CodeableConcept } from "../hl7-fhir-r4-core/CodeableConcept"; -import type { DomainResource } from "../hl7-fhir-r4-core/DomainResource"; -import type { Dosage } from "../hl7-fhir-r4-core/Dosage"; -import type { Identifier } from "../hl7-fhir-r4-core/Identifier"; -import type { Quantity } from "../hl7-fhir-r4-core/Quantity"; -import type { Reference } from "../hl7-fhir-r4-core/Reference"; - -import type { Element } from "../hl7-fhir-r4-core/Element"; -export type { Annotation } from "../hl7-fhir-r4-core/Annotation"; -export type { BackboneElement } from "../hl7-fhir-r4-core/BackboneElement"; -export type { CodeableConcept } from "../hl7-fhir-r4-core/CodeableConcept"; -export type { Dosage } from "../hl7-fhir-r4-core/Dosage"; -export type { Identifier } from "../hl7-fhir-r4-core/Identifier"; -export type { Quantity } from "../hl7-fhir-r4-core/Quantity"; -export type { Reference } from "../hl7-fhir-r4-core/Reference"; - -export interface MedicationDispensePerformer extends BackboneElement { - actor: Reference<"Device" | "Organization" | "Patient" | "Practitioner" | "PractitionerRole" | "RelatedPerson">; - "function"?: CodeableConcept; -} - -export interface MedicationDispenseSubstitution extends BackboneElement { - reason?: CodeableConcept[]; - responsibleParty?: Reference<"Practitioner" | "PractitionerRole">[]; - type?: CodeableConcept; - wasSubstituted: boolean; -} - -// 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<("inpatient" | "outpatient" | "community" | "discharge" | string)>; - context?: Reference<"Encounter" | "EpisodeOfCare">; - daysSupply?: Quantity; - destination?: Reference<"Location">; - detectedIssue?: Reference<"DetectedIssue">[]; - dosageInstruction?: Dosage[]; - eventHistory?: Reference<"Provenance">[]; - identifier?: Identifier[]; - location?: Reference<"Location">; - medicationCodeableConcept?: CodeableConcept; - medicationReference?: Reference<"Medication">; - note?: Annotation[]; - partOf?: Reference<"Procedure">[]; - performer?: MedicationDispensePerformer[]; - quantity?: Quantity; - receiver?: Reference<"Patient" | "Practitioner">[]; - status: ("preparation" | "in-progress" | "cancelled" | "on-hold" | "completed" | "entered-in-error" | "stopped" | "declined" | "unknown"); - _status?: Element; - statusReasonCodeableConcept?: CodeableConcept; - statusReasonReference?: Reference<"DetectedIssue">; - subject?: Reference<"Group" | "Patient">; - substitution?: MedicationDispenseSubstitution; - supportingInformation?: Reference<"Resource">[]; - type?: CodeableConcept; - whenHandedOver?: string; - _whenHandedOver?: Element; - whenPrepared?: string; - _whenPrepared?: Element; -} -export const isMedicationDispense = (resource: unknown): resource is MedicationDispense => { - return resource !== null && typeof resource === "object" && (resource as {resourceType: string}).resourceType === "MedicationDispense"; -} 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 deleted file mode 100644 index 645efaf9c..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/MedicationKnowledge.ts +++ /dev/null @@ -1,148 +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 { BackboneElement } from "../hl7-fhir-r4-core/BackboneElement"; -import type { CodeableConcept } from "../hl7-fhir-r4-core/CodeableConcept"; -import type { DomainResource } from "../hl7-fhir-r4-core/DomainResource"; -import type { Dosage } from "../hl7-fhir-r4-core/Dosage"; -import type { Duration } from "../hl7-fhir-r4-core/Duration"; -import type { Money } from "../hl7-fhir-r4-core/Money"; -import type { Quantity } from "../hl7-fhir-r4-core/Quantity"; -import type { Ratio } from "../hl7-fhir-r4-core/Ratio"; -import type { Reference } from "../hl7-fhir-r4-core/Reference"; - -import type { Element } from "../hl7-fhir-r4-core/Element"; -export type { BackboneElement } from "../hl7-fhir-r4-core/BackboneElement"; -export type { CodeableConcept } from "../hl7-fhir-r4-core/CodeableConcept"; -export type { Dosage } from "../hl7-fhir-r4-core/Dosage"; -export type { Duration } from "../hl7-fhir-r4-core/Duration"; -export type { Money } from "../hl7-fhir-r4-core/Money"; -export type { Quantity } from "../hl7-fhir-r4-core/Quantity"; -export type { Ratio } from "../hl7-fhir-r4-core/Ratio"; -export type { Reference } from "../hl7-fhir-r4-core/Reference"; - -export interface MedicationKnowledgeAdministrationGuidelines extends BackboneElement { - dosage?: MedicationKnowledgeAdministrationGuidelinesDosage[]; - indicationCodeableConcept?: CodeableConcept; - indicationReference?: Reference<"ObservationDefinition">; - patientCharacteristics?: MedicationKnowledgeAdministrationGuidelinesPatientCharacteristics[]; -} - -export interface MedicationKnowledgeAdministrationGuidelinesDosage extends BackboneElement { - dosage: Dosage[]; - type: CodeableConcept; -} - -export interface MedicationKnowledgeAdministrationGuidelinesPatientCharacteristics extends BackboneElement { - characteristicCodeableConcept?: CodeableConcept; - characteristicQuantity?: Quantity; - value?: string[]; -} - -export interface MedicationKnowledgeCost extends BackboneElement { - cost: Money; - source?: string; - type: CodeableConcept; -} - -export interface MedicationKnowledgeDrugCharacteristic extends BackboneElement { - type?: CodeableConcept; - valueBase64Binary?: string; - valueCodeableConcept?: CodeableConcept; - valueQuantity?: Quantity; - valueString?: string; -} - -export interface MedicationKnowledgeIngredient extends BackboneElement { - isActive?: boolean; - itemCodeableConcept?: CodeableConcept; - itemReference?: Reference<"Substance">; - strength?: Ratio; -} - -export interface MedicationKnowledgeKinetics extends BackboneElement { - areaUnderCurve?: Quantity[]; - halfLifePeriod?: Duration; - lethalDose50?: Quantity[]; -} - -export interface MedicationKnowledgeMedicineClassification extends BackboneElement { - classification?: CodeableConcept[]; - type: CodeableConcept; -} - -export interface MedicationKnowledgeMonitoringProgram extends BackboneElement { - name?: string; - type?: CodeableConcept; -} - -export interface MedicationKnowledgeMonograph extends BackboneElement { - source?: Reference<"DocumentReference" | "Media">; - type?: CodeableConcept; -} - -export interface MedicationKnowledgePackaging extends BackboneElement { - quantity?: Quantity; - type?: CodeableConcept; -} - -export interface MedicationKnowledgeRegulatory extends BackboneElement { - maxDispense?: MedicationKnowledgeRegulatoryMaxDispense; - regulatoryAuthority: Reference<"Organization">; - schedule?: MedicationKnowledgeRegulatorySchedule[]; - substitution?: MedicationKnowledgeRegulatorySubstitution[]; -} - -export interface MedicationKnowledgeRegulatoryMaxDispense extends BackboneElement { - period?: Duration; - quantity: Quantity; -} - -export interface MedicationKnowledgeRegulatorySchedule extends BackboneElement { - schedule: CodeableConcept; -} - -export interface MedicationKnowledgeRegulatorySubstitution extends BackboneElement { - allowed: boolean; - type: CodeableConcept; -} - -export interface MedicationKnowledgeRelatedMedicationKnowledge extends BackboneElement { - reference: Reference<"MedicationKnowledge">[]; - type: CodeableConcept; -} - -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/MedicationKnowledge (pkg: hl7.fhir.r4.core#4.0.1) -export interface MedicationKnowledge extends DomainResource { - resourceType: "MedicationKnowledge"; - - administrationGuidelines?: MedicationKnowledgeAdministrationGuidelines[]; - amount?: Quantity; - associatedMedication?: Reference<"Medication">[]; - code?: CodeableConcept; - contraindication?: Reference<"DetectedIssue">[]; - cost?: MedicationKnowledgeCost[]; - doseForm?: CodeableConcept; - drugCharacteristic?: MedicationKnowledgeDrugCharacteristic[]; - ingredient?: MedicationKnowledgeIngredient[]; - intendedRoute?: CodeableConcept[]; - kinetics?: MedicationKnowledgeKinetics[]; - manufacturer?: Reference<"Organization">; - medicineClassification?: MedicationKnowledgeMedicineClassification[]; - monitoringProgram?: MedicationKnowledgeMonitoringProgram[]; - monograph?: MedicationKnowledgeMonograph[]; - packaging?: MedicationKnowledgePackaging; - preparationInstruction?: string; - _preparationInstruction?: Element; - productType?: CodeableConcept[]; - regulatory?: MedicationKnowledgeRegulatory[]; - relatedMedicationKnowledge?: MedicationKnowledgeRelatedMedicationKnowledge[]; - status?: ("active" | "inactive" | "entered-in-error"); - _status?: Element; - synonym?: string[]; - _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 deleted file mode 100644 index dfc7f29f1..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/MedicationRequest.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 { Annotation } from "../hl7-fhir-r4-core/Annotation"; -import type { BackboneElement } from "../hl7-fhir-r4-core/BackboneElement"; -import type { CodeableConcept } from "../hl7-fhir-r4-core/CodeableConcept"; -import type { DomainResource } from "../hl7-fhir-r4-core/DomainResource"; -import type { Dosage } from "../hl7-fhir-r4-core/Dosage"; -import type { Duration } from "../hl7-fhir-r4-core/Duration"; -import type { Identifier } from "../hl7-fhir-r4-core/Identifier"; -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"; - -import type { Element } from "../hl7-fhir-r4-core/Element"; -export type { Annotation } from "../hl7-fhir-r4-core/Annotation"; -export type { BackboneElement } from "../hl7-fhir-r4-core/BackboneElement"; -export type { CodeableConcept } from "../hl7-fhir-r4-core/CodeableConcept"; -export type { Dosage } from "../hl7-fhir-r4-core/Dosage"; -export type { Duration } from "../hl7-fhir-r4-core/Duration"; -export type { Identifier } from "../hl7-fhir-r4-core/Identifier"; -export type { Period } from "../hl7-fhir-r4-core/Period"; -export type { Quantity } from "../hl7-fhir-r4-core/Quantity"; -export type { Reference } from "../hl7-fhir-r4-core/Reference"; - -export interface MedicationRequestDispenseRequest extends BackboneElement { - dispenseInterval?: Duration; - expectedSupplyDuration?: Duration; - initialFill?: MedicationRequestDispenseRequestInitialFill; - numberOfRepeatsAllowed?: number; - performer?: Reference<"Organization">; - quantity?: Quantity; - validityPeriod?: Period; -} - -export interface MedicationRequestDispenseRequestInitialFill extends BackboneElement { - duration?: Duration; - quantity?: Quantity; -} - -export interface MedicationRequestSubstitution extends BackboneElement { - allowedBoolean?: boolean; - allowedCodeableConcept?: CodeableConcept; - reason?: CodeableConcept; -} - -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/MedicationRequest (pkg: hl7.fhir.r4.core#4.0.1) -export interface MedicationRequest extends DomainResource { - resourceType: "MedicationRequest"; - - authoredOn?: string; - _authoredOn?: Element; - basedOn?: Reference<"CarePlan" | "ImmunizationRecommendation" | "MedicationRequest" | "ServiceRequest">[]; - category?: CodeableConcept[]; - courseOfTherapyType?: CodeableConcept; - detectedIssue?: Reference<"DetectedIssue">[]; - dispenseRequest?: MedicationRequestDispenseRequest; - doNotPerform?: boolean; - _doNotPerform?: Element; - dosageInstruction?: Dosage[]; - encounter?: Reference<"Encounter">; - eventHistory?: Reference<"Provenance">[]; - groupIdentifier?: Identifier; - identifier?: Identifier[]; - instantiatesCanonical?: string[]; - _instantiatesCanonical?: (Element | null)[]; - instantiatesUri?: string[]; - _instantiatesUri?: (Element | null)[]; - insurance?: Reference<"ClaimResponse" | "Coverage">[]; - intent: ("proposal" | "plan" | "order" | "original-order" | "reflex-order" | "filler-order" | "instance-order" | "option"); - _intent?: Element; - medicationCodeableConcept?: CodeableConcept; - medicationReference?: Reference<"Medication">; - note?: Annotation[]; - performer?: Reference<"CareTeam" | "Device" | "Organization" | "Patient" | "Practitioner" | "PractitionerRole" | "RelatedPerson">; - performerType?: CodeableConcept; - priority?: ("routine" | "urgent" | "asap" | "stat"); - _priority?: Element; - priorPrescription?: Reference<"MedicationRequest">; - reasonCode?: CodeableConcept[]; - reasonReference?: Reference<"Condition" | "Observation">[]; - recorder?: Reference<"Practitioner" | "PractitionerRole">; - reportedBoolean?: boolean; - _reportedBoolean?: Element; - reportedReference?: Reference<"Organization" | "Patient" | "Practitioner" | "PractitionerRole" | "RelatedPerson">; - requester?: Reference<"Device" | "Organization" | "Patient" | "Practitioner" | "PractitionerRole" | "RelatedPerson">; - status: ("active" | "on-hold" | "cancelled" | "completed" | "entered-in-error" | "stopped" | "draft" | "unknown"); - _status?: Element; - statusReason?: CodeableConcept; - subject: Reference<"Group" | "Patient">; - substitution?: MedicationRequestSubstitution; - supportingInformation?: Reference<"Resource">[]; -} -export const isMedicationRequest = (resource: unknown): resource is MedicationRequest => { - return resource !== null && typeof resource === "object" && (resource as {resourceType: string}).resourceType === "MedicationRequest"; -} 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 deleted file mode 100644 index 3659f9f72..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/MedicationStatement.ts +++ /dev/null @@ -1,50 +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 { Annotation } from "../hl7-fhir-r4-core/Annotation"; -import type { CodeableConcept } from "../hl7-fhir-r4-core/CodeableConcept"; -import type { DomainResource } from "../hl7-fhir-r4-core/DomainResource"; -import type { Dosage } from "../hl7-fhir-r4-core/Dosage"; -import type { Identifier } from "../hl7-fhir-r4-core/Identifier"; -import type { Period } from "../hl7-fhir-r4-core/Period"; -import type { Reference } from "../hl7-fhir-r4-core/Reference"; - -import type { Element } from "../hl7-fhir-r4-core/Element"; -export type { Annotation } from "../hl7-fhir-r4-core/Annotation"; -export type { CodeableConcept } from "../hl7-fhir-r4-core/CodeableConcept"; -export type { Dosage } from "../hl7-fhir-r4-core/Dosage"; -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 (pkg: hl7.fhir.r4.core#4.0.1) -export interface MedicationStatement extends DomainResource { - resourceType: "MedicationStatement"; - - basedOn?: Reference<"CarePlan" | "MedicationRequest" | "ServiceRequest">[]; - category?: CodeableConcept<("inpatient" | "outpatient" | "community" | "patientspecified" | string)>; - context?: Reference<"Encounter" | "EpisodeOfCare">; - dateAsserted?: string; - _dateAsserted?: Element; - derivedFrom?: Reference<"Resource">[]; - dosage?: Dosage[]; - effectiveDateTime?: string; - _effectiveDateTime?: Element; - effectivePeriod?: Period; - identifier?: Identifier[]; - informationSource?: Reference<"Organization" | "Patient" | "Practitioner" | "PractitionerRole" | "RelatedPerson">; - medicationCodeableConcept?: CodeableConcept; - medicationReference?: Reference<"Medication">; - note?: Annotation[]; - partOf?: Reference<"MedicationAdministration" | "MedicationDispense" | "MedicationStatement" | "Observation" | "Procedure">[]; - reasonCode?: CodeableConcept[]; - reasonReference?: Reference<"Condition" | "DiagnosticReport" | "Observation">[]; - status: ("active" | "completed" | "entered-in-error" | "intended" | "stopped" | "on-hold" | "unknown" | "not-taken"); - _status?: Element; - statusReason?: CodeableConcept[]; - subject: Reference<"Group" | "Patient">; -} -export const isMedicationStatement = (resource: unknown): resource is MedicationStatement => { - return resource !== null && typeof resource === "object" && (resource as {resourceType: string}).resourceType === "MedicationStatement"; -} 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 deleted file mode 100644 index e4519586c..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/MedicinalProduct.ts +++ /dev/null @@ -1,86 +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 { BackboneElement } from "../hl7-fhir-r4-core/BackboneElement"; -import type { CodeableConcept } from "../hl7-fhir-r4-core/CodeableConcept"; -import type { Coding } from "../hl7-fhir-r4-core/Coding"; -import type { DomainResource } from "../hl7-fhir-r4-core/DomainResource"; -import type { Identifier } from "../hl7-fhir-r4-core/Identifier"; -import type { MarketingStatus } from "../hl7-fhir-r4-core/MarketingStatus"; -import type { Reference } from "../hl7-fhir-r4-core/Reference"; - -import type { Element } from "../hl7-fhir-r4-core/Element"; -export type { BackboneElement } from "../hl7-fhir-r4-core/BackboneElement"; -export type { CodeableConcept } from "../hl7-fhir-r4-core/CodeableConcept"; -export type { Coding } from "../hl7-fhir-r4-core/Coding"; -export type { Identifier } from "../hl7-fhir-r4-core/Identifier"; -export type { MarketingStatus } from "../hl7-fhir-r4-core/MarketingStatus"; -export type { Reference } from "../hl7-fhir-r4-core/Reference"; - -export interface MedicinalProductManufacturingBusinessOperation extends BackboneElement { - authorisationReferenceNumber?: Identifier; - confidentialityIndicator?: CodeableConcept; - effectiveDate?: string; - manufacturer?: Reference<"Organization">[]; - operationType?: CodeableConcept; - regulator?: Reference<"Organization">; -} - -export interface MedicinalProductName extends BackboneElement { - countryLanguage?: MedicinalProductNameCountryLanguage[]; - namePart?: MedicinalProductNameNamePart[]; - productName: string; -} - -export interface MedicinalProductNameCountryLanguage extends BackboneElement { - country: CodeableConcept; - jurisdiction?: CodeableConcept; - language: CodeableConcept; -} - -export interface MedicinalProductNameNamePart extends BackboneElement { - part: string; - type: Coding; -} - -export interface MedicinalProductSpecialDesignation extends BackboneElement { - date?: string; - identifier?: Identifier[]; - indicationCodeableConcept?: CodeableConcept; - indicationReference?: Reference<"MedicinalProductIndication">; - intendedUse?: CodeableConcept; - species?: CodeableConcept; - status?: CodeableConcept; - type?: CodeableConcept; -} - -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/MedicinalProduct (pkg: hl7.fhir.r4.core#4.0.1) -export interface MedicinalProduct extends DomainResource { - resourceType: "MedicinalProduct"; - - additionalMonitoringIndicator?: CodeableConcept; - attachedDocument?: Reference<"DocumentReference">[]; - clinicalTrial?: Reference<"ResearchStudy">[]; - combinedPharmaceuticalDoseForm?: CodeableConcept; - contact?: Reference<"Organization" | "PractitionerRole">[]; - crossReference?: Identifier[]; - domain?: Coding; - identifier?: Identifier[]; - legalStatusOfSupply?: CodeableConcept; - manufacturingBusinessOperation?: MedicinalProductManufacturingBusinessOperation[]; - marketingStatus?: MarketingStatus[]; - masterFile?: Reference<"DocumentReference">[]; - name: MedicinalProductName[]; - packagedMedicinalProduct?: Reference<"MedicinalProductPackaged">[]; - paediatricUseIndicator?: CodeableConcept; - pharmaceuticalProduct?: Reference<"MedicinalProductPharmaceutical">[]; - productClassification?: CodeableConcept[]; - specialDesignation?: MedicinalProductSpecialDesignation[]; - specialMeasures?: string[]; - _specialMeasures?: (Element | null)[]; - type?: CodeableConcept; -} -export const isMedicinalProduct = (resource: unknown): resource is MedicinalProduct => { - return resource !== null && typeof resource === "object" && (resource as {resourceType: string}).resourceType === "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 deleted file mode 100644 index c8a86191e..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/MedicinalProductAuthorization.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 { BackboneElement } from "../hl7-fhir-r4-core/BackboneElement"; -import type { CodeableConcept } from "../hl7-fhir-r4-core/CodeableConcept"; -import type { DomainResource } from "../hl7-fhir-r4-core/DomainResource"; -import type { Identifier } from "../hl7-fhir-r4-core/Identifier"; -import type { Period } from "../hl7-fhir-r4-core/Period"; -import type { Reference } from "../hl7-fhir-r4-core/Reference"; - -import type { Element } from "../hl7-fhir-r4-core/Element"; -export type { BackboneElement } from "../hl7-fhir-r4-core/BackboneElement"; -export type { CodeableConcept } from "../hl7-fhir-r4-core/CodeableConcept"; -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"; - -export interface MedicinalProductAuthorizationJurisdictionalAuthorization extends BackboneElement { - country?: CodeableConcept; - identifier?: Identifier[]; - jurisdiction?: CodeableConcept[]; - legalStatusOfSupply?: CodeableConcept; - validityPeriod?: Period; -} - -export interface MedicinalProductAuthorizationProcedure extends BackboneElement { - application?: MedicinalProductAuthorizationProcedure[]; - dateDateTime?: string; - datePeriod?: Period; - identifier?: Identifier; - type: CodeableConcept; -} - -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/MedicinalProductAuthorization (pkg: hl7.fhir.r4.core#4.0.1) -export interface MedicinalProductAuthorization extends DomainResource { - resourceType: "MedicinalProductAuthorization"; - - country?: CodeableConcept[]; - dataExclusivityPeriod?: Period; - dateOfFirstAuthorization?: string; - _dateOfFirstAuthorization?: Element; - holder?: Reference<"Organization">; - identifier?: Identifier[]; - internationalBirthDate?: string; - _internationalBirthDate?: Element; - jurisdiction?: CodeableConcept[]; - jurisdictionalAuthorization?: MedicinalProductAuthorizationJurisdictionalAuthorization[]; - legalBasis?: CodeableConcept; - procedure?: MedicinalProductAuthorizationProcedure; - regulator?: Reference<"Organization">; - restoreDate?: string; - _restoreDate?: Element; - status?: CodeableConcept; - statusDate?: string; - _statusDate?: Element; - subject?: Reference<"MedicinalProduct" | "MedicinalProductPackaged">; - validityPeriod?: Period; -} -export const isMedicinalProductAuthorization = (resource: unknown): resource is MedicinalProductAuthorization => { - return resource !== null && typeof resource === "object" && (resource as {resourceType: string}).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 deleted file mode 100644 index 2e2c6e2fb..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/MedicinalProductContraindication.ts +++ /dev/null @@ -1,36 +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 { BackboneElement } from "../hl7-fhir-r4-core/BackboneElement"; -import type { CodeableConcept } from "../hl7-fhir-r4-core/CodeableConcept"; -import type { DomainResource } from "../hl7-fhir-r4-core/DomainResource"; -import type { Population } from "../hl7-fhir-r4-core/Population"; -import type { Reference } from "../hl7-fhir-r4-core/Reference"; - -export type { BackboneElement } from "../hl7-fhir-r4-core/BackboneElement"; -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"; - -export interface MedicinalProductContraindicationOtherTherapy extends BackboneElement { - medicationCodeableConcept?: CodeableConcept; - medicationReference?: Reference<"Medication" | "MedicinalProduct" | "Substance" | "SubstanceSpecification">; - therapyRelationshipType: CodeableConcept; -} - -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/MedicinalProductContraindication (pkg: hl7.fhir.r4.core#4.0.1) -export interface MedicinalProductContraindication extends DomainResource { - resourceType: "MedicinalProductContraindication"; - - comorbidity?: CodeableConcept[]; - disease?: CodeableConcept; - diseaseStatus?: CodeableConcept; - otherTherapy?: MedicinalProductContraindicationOtherTherapy[]; - population?: Population[]; - subject?: Reference<"Medication" | "MedicinalProduct">[]; - therapeuticIndication?: Reference<"MedicinalProductIndication">[]; -} -export const isMedicinalProductContraindication = (resource: unknown): resource is MedicinalProductContraindication => { - return resource !== null && typeof resource === "object" && (resource as {resourceType: string}).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 deleted file mode 100644 index 8424bfb17..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/MedicinalProductIndication.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 { BackboneElement } from "../hl7-fhir-r4-core/BackboneElement"; -import type { CodeableConcept } from "../hl7-fhir-r4-core/CodeableConcept"; -import type { DomainResource } from "../hl7-fhir-r4-core/DomainResource"; -import type { Population } from "../hl7-fhir-r4-core/Population"; -import type { Quantity } from "../hl7-fhir-r4-core/Quantity"; -import type { Reference } from "../hl7-fhir-r4-core/Reference"; - -export type { BackboneElement } from "../hl7-fhir-r4-core/BackboneElement"; -export type { CodeableConcept } from "../hl7-fhir-r4-core/CodeableConcept"; -export type { Population } from "../hl7-fhir-r4-core/Population"; -export type { Quantity } from "../hl7-fhir-r4-core/Quantity"; -export type { Reference } from "../hl7-fhir-r4-core/Reference"; - -export interface MedicinalProductIndicationOtherTherapy extends BackboneElement { - medicationCodeableConcept?: CodeableConcept; - medicationReference?: Reference<"Medication" | "MedicinalProduct" | "Substance" | "SubstanceSpecification">; - therapyRelationshipType: CodeableConcept; -} - -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/MedicinalProductIndication (pkg: hl7.fhir.r4.core#4.0.1) -export interface MedicinalProductIndication extends DomainResource { - resourceType: "MedicinalProductIndication"; - - comorbidity?: CodeableConcept[]; - diseaseStatus?: CodeableConcept; - diseaseSymptomProcedure?: CodeableConcept; - duration?: Quantity; - intendedEffect?: CodeableConcept; - otherTherapy?: MedicinalProductIndicationOtherTherapy[]; - population?: Population[]; - subject?: Reference<"Medication" | "MedicinalProduct">[]; - undesirableEffect?: Reference<"MedicinalProductUndesirableEffect">[]; -} -export const isMedicinalProductIndication = (resource: unknown): resource is MedicinalProductIndication => { - return resource !== null && typeof resource === "object" && (resource as {resourceType: string}).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 deleted file mode 100644 index d7dc7b16a..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/MedicinalProductIngredient.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 { BackboneElement } from "../hl7-fhir-r4-core/BackboneElement"; -import type { CodeableConcept } from "../hl7-fhir-r4-core/CodeableConcept"; -import type { DomainResource } from "../hl7-fhir-r4-core/DomainResource"; -import type { Identifier } from "../hl7-fhir-r4-core/Identifier"; -import type { Ratio } from "../hl7-fhir-r4-core/Ratio"; -import type { Reference } from "../hl7-fhir-r4-core/Reference"; - -import type { Element } from "../hl7-fhir-r4-core/Element"; -export type { BackboneElement } from "../hl7-fhir-r4-core/BackboneElement"; -export type { CodeableConcept } from "../hl7-fhir-r4-core/CodeableConcept"; -export type { Identifier } from "../hl7-fhir-r4-core/Identifier"; -export type { Ratio } from "../hl7-fhir-r4-core/Ratio"; -export type { Reference } from "../hl7-fhir-r4-core/Reference"; - -export interface MedicinalProductIngredientSpecifiedSubstance extends BackboneElement { - code: CodeableConcept; - confidentiality?: CodeableConcept; - group: CodeableConcept; - strength?: MedicinalProductIngredientSpecifiedSubstanceStrength[]; -} - -export interface MedicinalProductIngredientSpecifiedSubstanceStrength extends BackboneElement { - concentration?: Ratio; - concentrationLowLimit?: Ratio; - country?: CodeableConcept[]; - measurementPoint?: string; - presentation: Ratio; - presentationLowLimit?: Ratio; - referenceStrength?: MedicinalProductIngredientSpecifiedSubstanceStrengthReferenceStrength[]; -} - -export interface MedicinalProductIngredientSpecifiedSubstanceStrengthReferenceStrength extends BackboneElement { - country?: CodeableConcept[]; - measurementPoint?: string; - strength: Ratio; - strengthLowLimit?: Ratio; - substance?: CodeableConcept; -} - -export interface MedicinalProductIngredientSubstance extends BackboneElement { - code: CodeableConcept; - strength?: MedicinalProductIngredientSpecifiedSubstanceStrength[]; -} - -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/MedicinalProductIngredient (pkg: hl7.fhir.r4.core#4.0.1) -export interface MedicinalProductIngredient extends DomainResource { - resourceType: "MedicinalProductIngredient"; - - allergenicIndicator?: boolean; - _allergenicIndicator?: Element; - identifier?: Identifier; - manufacturer?: Reference<"Organization">[]; - role: CodeableConcept; - specifiedSubstance?: MedicinalProductIngredientSpecifiedSubstance[]; - substance?: MedicinalProductIngredientSubstance; -} -export const isMedicinalProductIngredient = (resource: unknown): resource is MedicinalProductIngredient => { - return resource !== null && typeof resource === "object" && (resource as {resourceType: string}).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 deleted file mode 100644 index 9901447eb..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/MedicinalProductInteraction.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 { BackboneElement } from "../hl7-fhir-r4-core/BackboneElement"; -import type { CodeableConcept } from "../hl7-fhir-r4-core/CodeableConcept"; -import type { DomainResource } from "../hl7-fhir-r4-core/DomainResource"; -import type { Reference } from "../hl7-fhir-r4-core/Reference"; - -import type { Element } from "../hl7-fhir-r4-core/Element"; -export type { BackboneElement } from "../hl7-fhir-r4-core/BackboneElement"; -export type { CodeableConcept } from "../hl7-fhir-r4-core/CodeableConcept"; -export type { Reference } from "../hl7-fhir-r4-core/Reference"; - -export interface MedicinalProductInteractionInteractant extends BackboneElement { - itemCodeableConcept?: CodeableConcept; - itemReference?: Reference<"Medication" | "MedicinalProduct" | "ObservationDefinition" | "Substance">; -} - -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/MedicinalProductInteraction (pkg: hl7.fhir.r4.core#4.0.1) -export interface MedicinalProductInteraction extends DomainResource { - resourceType: "MedicinalProductInteraction"; - - description?: string; - _description?: Element; - effect?: CodeableConcept; - incidence?: CodeableConcept; - interactant?: MedicinalProductInteractionInteractant[]; - management?: CodeableConcept; - subject?: Reference<"Medication" | "MedicinalProduct" | "Substance">[]; - type?: CodeableConcept; -} -export const isMedicinalProductInteraction = (resource: unknown): resource is MedicinalProductInteraction => { - return resource !== null && typeof resource === "object" && (resource as {resourceType: string}).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 deleted file mode 100644 index 9dcca09d4..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/MedicinalProductManufactured.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 { CodeableConcept } from "../hl7-fhir-r4-core/CodeableConcept"; -import type { DomainResource } from "../hl7-fhir-r4-core/DomainResource"; -import type { ProdCharacteristic } from "../hl7-fhir-r4-core/ProdCharacteristic"; -import type { Quantity } from "../hl7-fhir-r4-core/Quantity"; -import type { Reference } from "../hl7-fhir-r4-core/Reference"; - -export type { CodeableConcept } from "../hl7-fhir-r4-core/CodeableConcept"; -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 (pkg: hl7.fhir.r4.core#4.0.1) -export interface MedicinalProductManufactured extends DomainResource { - resourceType: "MedicinalProductManufactured"; - - ingredient?: Reference<"MedicinalProductIngredient">[]; - manufacturedDoseForm: CodeableConcept; - manufacturer?: Reference<"Organization">[]; - otherCharacteristics?: CodeableConcept[]; - physicalCharacteristics?: ProdCharacteristic; - quantity: Quantity; - unitOfPresentation?: CodeableConcept; -} -export const isMedicinalProductManufactured = (resource: unknown): resource is MedicinalProductManufactured => { - return resource !== null && typeof resource === "object" && (resource as {resourceType: string}).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 deleted file mode 100644 index f2efad8cd..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/MedicinalProductPackaged.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 { BackboneElement } from "../hl7-fhir-r4-core/BackboneElement"; -import type { CodeableConcept } from "../hl7-fhir-r4-core/CodeableConcept"; -import type { DomainResource } from "../hl7-fhir-r4-core/DomainResource"; -import type { Identifier } from "../hl7-fhir-r4-core/Identifier"; -import type { MarketingStatus } from "../hl7-fhir-r4-core/MarketingStatus"; -import type { ProdCharacteristic } from "../hl7-fhir-r4-core/ProdCharacteristic"; -import type { ProductShelfLife } from "../hl7-fhir-r4-core/ProductShelfLife"; -import type { Quantity } from "../hl7-fhir-r4-core/Quantity"; -import type { Reference } from "../hl7-fhir-r4-core/Reference"; - -import type { Element } from "../hl7-fhir-r4-core/Element"; -export type { BackboneElement } from "../hl7-fhir-r4-core/BackboneElement"; -export type { CodeableConcept } from "../hl7-fhir-r4-core/CodeableConcept"; -export type { Identifier } from "../hl7-fhir-r4-core/Identifier"; -export type { MarketingStatus } from "../hl7-fhir-r4-core/MarketingStatus"; -export type { ProdCharacteristic } from "../hl7-fhir-r4-core/ProdCharacteristic"; -export type { ProductShelfLife } from "../hl7-fhir-r4-core/ProductShelfLife"; -export type { Quantity } from "../hl7-fhir-r4-core/Quantity"; -export type { Reference } from "../hl7-fhir-r4-core/Reference"; - -export interface MedicinalProductPackagedBatchIdentifier extends BackboneElement { - immediatePackaging?: Identifier; - outerPackaging: Identifier; -} - -export interface MedicinalProductPackagedPackageItem extends BackboneElement { - alternateMaterial?: CodeableConcept[]; - device?: Reference<"DeviceDefinition">[]; - identifier?: Identifier[]; - manufacturedItem?: Reference<"MedicinalProductManufactured">[]; - manufacturer?: Reference<"Organization">[]; - material?: CodeableConcept[]; - otherCharacteristics?: CodeableConcept[]; - packageItem?: MedicinalProductPackagedPackageItem[]; - physicalCharacteristics?: ProdCharacteristic; - quantity: Quantity; - shelfLifeStorage?: ProductShelfLife[]; - type: CodeableConcept; -} - -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/MedicinalProductPackaged (pkg: hl7.fhir.r4.core#4.0.1) -export interface MedicinalProductPackaged extends DomainResource { - resourceType: "MedicinalProductPackaged"; - - batchIdentifier?: MedicinalProductPackagedBatchIdentifier[]; - description?: string; - _description?: Element; - identifier?: Identifier[]; - legalStatusOfSupply?: CodeableConcept; - manufacturer?: Reference<"Organization">[]; - marketingAuthorization?: Reference<"MedicinalProductAuthorization">; - marketingStatus?: MarketingStatus[]; - packageItem: MedicinalProductPackagedPackageItem[]; - subject?: Reference<"MedicinalProduct">[]; -} -export const isMedicinalProductPackaged = (resource: unknown): resource is MedicinalProductPackaged => { - return resource !== null && typeof resource === "object" && (resource as {resourceType: string}).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 deleted file mode 100644 index b8a57f073..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/MedicinalProductPharmaceutical.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 { BackboneElement } from "../hl7-fhir-r4-core/BackboneElement"; -import type { CodeableConcept } from "../hl7-fhir-r4-core/CodeableConcept"; -import type { DomainResource } from "../hl7-fhir-r4-core/DomainResource"; -import type { Duration } from "../hl7-fhir-r4-core/Duration"; -import type { Identifier } from "../hl7-fhir-r4-core/Identifier"; -import type { Quantity } from "../hl7-fhir-r4-core/Quantity"; -import type { Ratio } from "../hl7-fhir-r4-core/Ratio"; -import type { Reference } from "../hl7-fhir-r4-core/Reference"; - -export type { BackboneElement } from "../hl7-fhir-r4-core/BackboneElement"; -export type { CodeableConcept } from "../hl7-fhir-r4-core/CodeableConcept"; -export type { Duration } from "../hl7-fhir-r4-core/Duration"; -export type { Identifier } from "../hl7-fhir-r4-core/Identifier"; -export type { Quantity } from "../hl7-fhir-r4-core/Quantity"; -export type { Ratio } from "../hl7-fhir-r4-core/Ratio"; -export type { Reference } from "../hl7-fhir-r4-core/Reference"; - -export interface MedicinalProductPharmaceuticalCharacteristics extends BackboneElement { - code: CodeableConcept; - status?: CodeableConcept; -} - -export interface MedicinalProductPharmaceuticalRouteOfAdministration extends BackboneElement { - code: CodeableConcept; - firstDose?: Quantity; - maxDosePerDay?: Quantity; - maxDosePerTreatmentPeriod?: Ratio; - maxSingleDose?: Quantity; - maxTreatmentPeriod?: Duration; - targetSpecies?: MedicinalProductPharmaceuticalRouteOfAdministrationTargetSpecies[]; -} - -export interface MedicinalProductPharmaceuticalRouteOfAdministrationTargetSpecies extends BackboneElement { - code: CodeableConcept; - withdrawalPeriod?: MedicinalProductPharmaceuticalRouteOfAdministrationTargetSpeciesWithdrawalPeriod[]; -} - -export interface MedicinalProductPharmaceuticalRouteOfAdministrationTargetSpeciesWithdrawalPeriod extends BackboneElement { - supportingInformation?: string; - tissue: CodeableConcept; - value: Quantity; -} - -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/MedicinalProductPharmaceutical (pkg: hl7.fhir.r4.core#4.0.1) -export interface MedicinalProductPharmaceutical extends DomainResource { - resourceType: "MedicinalProductPharmaceutical"; - - administrableDoseForm: CodeableConcept; - characteristics?: MedicinalProductPharmaceuticalCharacteristics[]; - device?: Reference<"DeviceDefinition">[]; - identifier?: Identifier[]; - ingredient?: Reference<"MedicinalProductIngredient">[]; - routeOfAdministration: MedicinalProductPharmaceuticalRouteOfAdministration[]; - unitOfPresentation?: CodeableConcept; -} -export const isMedicinalProductPharmaceutical = (resource: unknown): resource is MedicinalProductPharmaceutical => { - return resource !== null && typeof resource === "object" && (resource as {resourceType: string}).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 deleted file mode 100644 index c99185334..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/MedicinalProductUndesirableEffect.ts +++ /dev/null @@ -1,26 +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 { DomainResource } from "../hl7-fhir-r4-core/DomainResource"; -import type { Population } from "../hl7-fhir-r4-core/Population"; -import type { Reference } from "../hl7-fhir-r4-core/Reference"; - -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 (pkg: hl7.fhir.r4.core#4.0.1) -export interface MedicinalProductUndesirableEffect extends DomainResource { - resourceType: "MedicinalProductUndesirableEffect"; - - classification?: CodeableConcept; - frequencyOfOccurrence?: CodeableConcept; - population?: Population[]; - subject?: Reference<"Medication" | "MedicinalProduct">[]; - symptomConditionEffect?: CodeableConcept; -} -export const isMedicinalProductUndesirableEffect = (resource: unknown): resource is MedicinalProductUndesirableEffect => { - return resource !== null && typeof resource === "object" && (resource as {resourceType: string}).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 deleted file mode 100644 index ab6bf9c88..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/MessageDefinition.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 { BackboneElement } from "../hl7-fhir-r4-core/BackboneElement"; -import type { CodeableConcept } from "../hl7-fhir-r4-core/CodeableConcept"; -import type { Coding } from "../hl7-fhir-r4-core/Coding"; -import type { ContactDetail } from "../hl7-fhir-r4-core/ContactDetail"; -import type { DomainResource } from "../hl7-fhir-r4-core/DomainResource"; -import type { Identifier } from "../hl7-fhir-r4-core/Identifier"; -import type { UsageContext } from "../hl7-fhir-r4-core/UsageContext"; - -import type { Element } from "../hl7-fhir-r4-core/Element"; -export type { BackboneElement } from "../hl7-fhir-r4-core/BackboneElement"; -export type { CodeableConcept } from "../hl7-fhir-r4-core/CodeableConcept"; -export type { Coding } from "../hl7-fhir-r4-core/Coding"; -export type { ContactDetail } from "../hl7-fhir-r4-core/ContactDetail"; -export type { Identifier } from "../hl7-fhir-r4-core/Identifier"; -export type { UsageContext } from "../hl7-fhir-r4-core/UsageContext"; - -export interface MessageDefinitionAllowedResponse extends BackboneElement { - message: string; - situation?: string; -} - -export interface MessageDefinitionFocus extends BackboneElement { - code: string; - max?: string; - min: number; - profile?: string; -} - -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/MessageDefinition (pkg: hl7.fhir.r4.core#4.0.1) -export interface MessageDefinition extends DomainResource { - resourceType: "MessageDefinition"; - - allowedResponse?: MessageDefinitionAllowedResponse[]; - base?: string; - _base?: Element; - category?: ("consequence" | "currency" | "notification"); - _category?: Element; - contact?: ContactDetail[]; - copyright?: string; - _copyright?: Element; - date: string; - _date?: Element; - description?: string; - _description?: Element; - eventCoding?: Coding; - eventUri?: string; - _eventUri?: Element; - experimental?: boolean; - _experimental?: Element; - focus?: MessageDefinitionFocus[]; - graph?: string[]; - _graph?: (Element | null)[]; - identifier?: Identifier[]; - jurisdiction?: CodeableConcept[]; - name?: string; - _name?: Element; - parent?: string[]; - _parent?: (Element | null)[]; - publisher?: string; - _publisher?: Element; - purpose?: string; - _purpose?: Element; - replaces?: string[]; - _replaces?: (Element | null)[]; - responseRequired?: ("always" | "on-error" | "never" | "on-success"); - _responseRequired?: Element; - status: ("draft" | "active" | "retired" | "unknown"); - _status?: Element; - title?: string; - _title?: Element; - url?: string; - _url?: Element; - useContext?: UsageContext[]; - version?: string; - _version?: Element; -} -export const isMessageDefinition = (resource: unknown): resource is MessageDefinition => { - return resource !== null && typeof resource === "object" && (resource as {resourceType: string}).resourceType === "MessageDefinition"; -} 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 deleted file mode 100644 index 530692b91..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/MessageHeader.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 { BackboneElement } from "../hl7-fhir-r4-core/BackboneElement"; -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 { DomainResource } from "../hl7-fhir-r4-core/DomainResource"; -import type { Reference } from "../hl7-fhir-r4-core/Reference"; - -import type { Element } from "../hl7-fhir-r4-core/Element"; -export type { BackboneElement } from "../hl7-fhir-r4-core/BackboneElement"; -export type { CodeableConcept } from "../hl7-fhir-r4-core/CodeableConcept"; -export type { Coding } from "../hl7-fhir-r4-core/Coding"; -export type { ContactPoint } from "../hl7-fhir-r4-core/ContactPoint"; -export type { Reference } from "../hl7-fhir-r4-core/Reference"; - -export interface MessageHeaderDestination extends BackboneElement { - endpoint: string; - name?: string; - receiver?: Reference<"Organization" | "Practitioner" | "PractitionerRole">; - target?: Reference<"Device">; -} - -export interface MessageHeaderResponse extends BackboneElement { - code: ("ok" | "transient-error" | "fatal-error"); - details?: Reference<"OperationOutcome">; - identifier: string; -} - -export interface MessageHeaderSource extends BackboneElement { - contact?: ContactPoint; - endpoint: string; - name?: string; - software?: string; - version?: string; -} - -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/MessageHeader (pkg: hl7.fhir.r4.core#4.0.1) -export interface MessageHeader extends DomainResource { - resourceType: "MessageHeader"; - - author?: Reference<"Practitioner" | "PractitionerRole">; - definition?: string; - _definition?: Element; - destination?: MessageHeaderDestination[]; - enterer?: Reference<"Practitioner" | "PractitionerRole">; - eventCoding?: Coding; - eventUri?: string; - _eventUri?: Element; - focus?: Reference<"Resource">[]; - reason?: CodeableConcept; - response?: MessageHeaderResponse; - responsible?: Reference<"Organization" | "Practitioner" | "PractitionerRole">; - sender?: Reference<"Organization" | "Practitioner" | "PractitionerRole">; - source: MessageHeaderSource; -} -export const isMessageHeader = (resource: unknown): resource is MessageHeader => { - return resource !== null && typeof resource === "object" && (resource as {resourceType: string}).resourceType === "MessageHeader"; -} 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 deleted file mode 100644 index 304fa6075..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/MetadataResource.ts +++ /dev/null @@ -1,38 +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 { ContactDetail } from "../hl7-fhir-r4-core/ContactDetail"; -import type { DomainResource } from "../hl7-fhir-r4-core/DomainResource"; -import type { UsageContext } from "../hl7-fhir-r4-core/UsageContext"; - -import type { Element } from "../hl7-fhir-r4-core/Element"; -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 (pkg: hl7.fhir.r4.core#4.0.1) -export interface MetadataResource extends DomainResource { - contact?: ContactDetail[]; - date?: string; - _date?: Element; - description?: string; - _description?: Element; - experimental?: boolean; - _experimental?: Element; - jurisdiction?: CodeableConcept[]; - name?: string; - _name?: Element; - publisher?: string; - _publisher?: Element; - status: ("draft" | "active" | "retired" | "unknown"); - _status?: Element; - title?: string; - _title?: Element; - url?: string; - _url?: Element; - useContext?: UsageContext[]; - version?: string; - _version?: Element; -} 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 deleted file mode 100644 index 00869b72a..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/MolecularSequence.ts +++ /dev/null @@ -1,122 +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 { BackboneElement } from "../hl7-fhir-r4-core/BackboneElement"; -import type { CodeableConcept } from "../hl7-fhir-r4-core/CodeableConcept"; -import type { DomainResource } from "../hl7-fhir-r4-core/DomainResource"; -import type { Identifier } from "../hl7-fhir-r4-core/Identifier"; -import type { Quantity } from "../hl7-fhir-r4-core/Quantity"; -import type { Reference } from "../hl7-fhir-r4-core/Reference"; - -import type { Element } from "../hl7-fhir-r4-core/Element"; -export type { BackboneElement } from "../hl7-fhir-r4-core/BackboneElement"; -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"; -export type { Reference } from "../hl7-fhir-r4-core/Reference"; - -export interface MolecularSequenceQuality extends BackboneElement { - end?: number; - fScore?: number; - gtFP?: number; - method?: CodeableConcept; - precision?: number; - queryFP?: number; - queryTP?: number; - recall?: number; - roc?: MolecularSequenceQualityRoc; - score?: Quantity; - standardSequence?: CodeableConcept; - start?: number; - truthFN?: number; - truthTP?: number; - type: ("indel" | "snp" | "unknown"); -} - -export interface MolecularSequenceQualityRoc extends BackboneElement { - fMeasure?: number[]; - numFN?: number[]; - numFP?: number[]; - numTP?: number[]; - precision?: number[]; - score?: number[]; - sensitivity?: number[]; -} - -export interface MolecularSequenceReferenceSeq extends BackboneElement { - chromosome?: CodeableConcept; - genomeBuild?: string; - orientation?: ("sense" | "antisense"); - referenceSeqId?: CodeableConcept; - referenceSeqPointer?: Reference<"MolecularSequence">; - referenceSeqString?: string; - strand?: ("watson" | "crick"); - windowEnd?: number; - windowStart?: number; -} - -export interface MolecularSequenceRepository extends BackboneElement { - datasetId?: string; - name?: string; - readsetId?: string; - type: ("directlink" | "openapi" | "login" | "oauth" | "other"); - url?: string; - variantsetId?: string; -} - -export interface MolecularSequenceStructureVariant extends BackboneElement { - exact?: boolean; - inner?: MolecularSequenceStructureVariantInner; - length?: number; - outer?: MolecularSequenceStructureVariantOuter; - variantType?: CodeableConcept; -} - -export interface MolecularSequenceStructureVariantInner extends BackboneElement { - end?: number; - start?: number; -} - -export interface MolecularSequenceStructureVariantOuter extends BackboneElement { - end?: number; - start?: number; -} - -export interface MolecularSequenceVariant extends BackboneElement { - cigar?: string; - end?: number; - observedAllele?: string; - referenceAllele?: string; - start?: number; - variantPointer?: Reference<"Observation">; -} - -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/MolecularSequence (pkg: hl7.fhir.r4.core#4.0.1) -export interface MolecularSequence extends DomainResource { - resourceType: "MolecularSequence"; - - coordinateSystem: number; - _coordinateSystem?: Element; - device?: Reference<"Device">; - identifier?: Identifier[]; - observedSeq?: string; - _observedSeq?: Element; - patient?: Reference<"Patient">; - performer?: Reference<"Organization">; - pointer?: Reference<"MolecularSequence">[]; - quality?: MolecularSequenceQuality[]; - quantity?: Quantity; - readCoverage?: number; - _readCoverage?: Element; - referenceSeq?: MolecularSequenceReferenceSeq; - repository?: MolecularSequenceRepository[]; - specimen?: Reference<"Specimen">; - structureVariant?: MolecularSequenceStructureVariant[]; - type?: ("aa" | "dna" | "rna"); - _type?: Element; - variant?: MolecularSequenceVariant[]; -} -export const isMolecularSequence = (resource: unknown): resource is MolecularSequence => { - return resource !== null && typeof resource === "object" && (resource as {resourceType: string}).resourceType === "MolecularSequence"; -} 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 deleted file mode 100644 index e89d7207d..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/NamingSystem.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 { BackboneElement } from "../hl7-fhir-r4-core/BackboneElement"; -import type { CodeableConcept } from "../hl7-fhir-r4-core/CodeableConcept"; -import type { ContactDetail } from "../hl7-fhir-r4-core/ContactDetail"; -import type { DomainResource } from "../hl7-fhir-r4-core/DomainResource"; -import type { Period } from "../hl7-fhir-r4-core/Period"; -import type { UsageContext } from "../hl7-fhir-r4-core/UsageContext"; - -import type { Element } from "../hl7-fhir-r4-core/Element"; -export type { BackboneElement } from "../hl7-fhir-r4-core/BackboneElement"; -export type { CodeableConcept } from "../hl7-fhir-r4-core/CodeableConcept"; -export type { ContactDetail } from "../hl7-fhir-r4-core/ContactDetail"; -export type { Period } from "../hl7-fhir-r4-core/Period"; -export type { UsageContext } from "../hl7-fhir-r4-core/UsageContext"; - -export interface NamingSystemUniqueId extends BackboneElement { - comment?: string; - period?: Period; - preferred?: boolean; - type: ("oid" | "uuid" | "uri" | "other"); - value: string; -} - -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/NamingSystem (pkg: hl7.fhir.r4.core#4.0.1) -export interface NamingSystem extends DomainResource { - resourceType: "NamingSystem"; - - contact?: ContactDetail[]; - date: string; - _date?: Element; - description?: string; - _description?: Element; - jurisdiction?: CodeableConcept[]; - kind: ("codesystem" | "identifier" | "root"); - _kind?: Element; - name: string; - _name?: Element; - publisher?: string; - _publisher?: Element; - responsible?: string; - _responsible?: Element; - status: ("draft" | "active" | "retired" | "unknown"); - _status?: Element; - 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; - useContext?: UsageContext[]; -} -export const isNamingSystem = (resource: unknown): resource is NamingSystem => { - return resource !== null && typeof resource === "object" && (resource as {resourceType: string}).resourceType === "NamingSystem"; -} 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 deleted file mode 100644 index 6b8d67b24..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/NutritionOrder.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 { Annotation } from "../hl7-fhir-r4-core/Annotation"; -import type { BackboneElement } from "../hl7-fhir-r4-core/BackboneElement"; -import type { CodeableConcept } from "../hl7-fhir-r4-core/CodeableConcept"; -import type { DomainResource } from "../hl7-fhir-r4-core/DomainResource"; -import type { Identifier } from "../hl7-fhir-r4-core/Identifier"; -import type { Quantity } from "../hl7-fhir-r4-core/Quantity"; -import type { Ratio } from "../hl7-fhir-r4-core/Ratio"; -import type { Reference } from "../hl7-fhir-r4-core/Reference"; -import type { Timing } from "../hl7-fhir-r4-core/Timing"; - -import type { Element } from "../hl7-fhir-r4-core/Element"; -export type { Annotation } from "../hl7-fhir-r4-core/Annotation"; -export type { BackboneElement } from "../hl7-fhir-r4-core/BackboneElement"; -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"; -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"; - -export interface NutritionOrderEnteralFormula extends BackboneElement { - additiveProductName?: string; - additiveType?: CodeableConcept; - administration?: NutritionOrderEnteralFormulaAdministration[]; - administrationInstruction?: string; - baseFormulaProductName?: string; - baseFormulaType?: CodeableConcept; - caloricDensity?: Quantity; - maxVolumeToDeliver?: Quantity; - routeofAdministration?: CodeableConcept<("PO" | "EFT" | "ENTINSTL" | "GT" | "NGT" | "OGT" | "GJT" | "JJTINSTL" | "OJJ" | string)>; -} - -export interface NutritionOrderEnteralFormulaAdministration extends BackboneElement { - quantity?: Quantity; - rateQuantity?: Quantity; - rateRatio?: Ratio; - schedule?: Timing; -} - -export interface NutritionOrderOralDiet extends BackboneElement { - fluidConsistencyType?: CodeableConcept[]; - instruction?: string; - nutrient?: NutritionOrderOralDietNutrient[]; - schedule?: Timing[]; - texture?: NutritionOrderOralDietTexture[]; - type?: CodeableConcept[]; -} - -export interface NutritionOrderOralDietNutrient extends BackboneElement { - amount?: Quantity; - modifier?: CodeableConcept; -} - -export interface NutritionOrderOralDietTexture extends BackboneElement { - foodType?: CodeableConcept; - modifier?: CodeableConcept; -} - -export interface NutritionOrderSupplement extends BackboneElement { - instruction?: string; - productName?: string; - quantity?: Quantity; - schedule?: Timing[]; - type?: CodeableConcept; -} - -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/NutritionOrder (pkg: hl7.fhir.r4.core#4.0.1) -export interface NutritionOrder extends DomainResource { - resourceType: "NutritionOrder"; - - allergyIntolerance?: Reference<"AllergyIntolerance">[]; - dateTime: string; - _dateTime?: Element; - encounter?: Reference<"Encounter">; - enteralFormula?: NutritionOrderEnteralFormula; - excludeFoodModifier?: CodeableConcept[]; - foodPreferenceModifier?: CodeableConcept[]; - identifier?: Identifier[]; - instantiates?: string[]; - _instantiates?: (Element | null)[]; - instantiatesCanonical?: string[]; - _instantiatesCanonical?: (Element | null)[]; - instantiatesUri?: string[]; - _instantiatesUri?: (Element | null)[]; - intent: ("proposal" | "plan" | "directive" | "order" | "original-order" | "reflex-order" | "filler-order" | "instance-order" | "option"); - _intent?: Element; - note?: Annotation[]; - oralDiet?: NutritionOrderOralDiet; - orderer?: Reference<"Practitioner" | "PractitionerRole">; - patient: Reference<"Patient">; - status: ("draft" | "active" | "on-hold" | "revoked" | "completed" | "entered-in-error" | "unknown"); - _status?: Element; - supplement?: NutritionOrderSupplement[]; -} -export const isNutritionOrder = (resource: unknown): resource is NutritionOrder => { - return resource !== null && typeof resource === "object" && (resource as {resourceType: string}).resourceType === "NutritionOrder"; -} 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 deleted file mode 100644 index 311a40dc2..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/ObservationDefinition.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 { BackboneElement } from "../hl7-fhir-r4-core/BackboneElement"; -import type { CodeableConcept } from "../hl7-fhir-r4-core/CodeableConcept"; -import type { DomainResource } from "../hl7-fhir-r4-core/DomainResource"; -import type { Identifier } from "../hl7-fhir-r4-core/Identifier"; -import type { Range } from "../hl7-fhir-r4-core/Range"; -import type { Reference } from "../hl7-fhir-r4-core/Reference"; - -import type { Element } from "../hl7-fhir-r4-core/Element"; -export type { BackboneElement } from "../hl7-fhir-r4-core/BackboneElement"; -export type { CodeableConcept } from "../hl7-fhir-r4-core/CodeableConcept"; -export type { Identifier } from "../hl7-fhir-r4-core/Identifier"; -export type { Range } from "../hl7-fhir-r4-core/Range"; -export type { Reference } from "../hl7-fhir-r4-core/Reference"; - -export interface ObservationDefinitionQualifiedInterval extends BackboneElement { - age?: Range; - appliesTo?: CodeableConcept[]; - category?: ("reference" | "critical" | "absolute"); - condition?: string; - 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; -} - -export interface ObservationDefinitionQuantitativeDetails extends BackboneElement { - conversionFactor?: number; - customaryUnit?: CodeableConcept; - decimalPrecision?: number; - unit?: CodeableConcept; -} - -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/ObservationDefinition (pkg: hl7.fhir.r4.core#4.0.1) -export interface ObservationDefinition extends DomainResource { - resourceType: "ObservationDefinition"; - - abnormalCodedValueSet?: Reference<"ValueSet">; - category?: CodeableConcept[]; - code: CodeableConcept; - criticalCodedValueSet?: Reference<"ValueSet">; - identifier?: Identifier[]; - method?: CodeableConcept; - multipleResultsAllowed?: boolean; - _multipleResultsAllowed?: Element; - normalCodedValueSet?: Reference<"ValueSet">; - permittedDataType?: ("Quantity" | "CodeableConcept" | "string" | "boolean" | "integer" | "Range" | "Ratio" | "SampledData" | "time" | "dateTime" | "Period")[]; - _permittedDataType?: (Element | null)[]; - preferredReportName?: string; - _preferredReportName?: Element; - qualifiedInterval?: ObservationDefinitionQualifiedInterval[]; - quantitativeDetails?: ObservationDefinitionQuantitativeDetails; - validCodedValueSet?: Reference<"ValueSet">; -} -export const isObservationDefinition = (resource: unknown): resource is ObservationDefinition => { - return resource !== null && typeof resource === "object" && (resource as {resourceType: string}).resourceType === "ObservationDefinition"; -} 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 deleted file mode 100644 index d6c4ba11a..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/OperationDefinition.ts +++ /dev/null @@ -1,100 +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 { BackboneElement } from "../hl7-fhir-r4-core/BackboneElement"; -import type { CodeableConcept } from "../hl7-fhir-r4-core/CodeableConcept"; -import type { ContactDetail } from "../hl7-fhir-r4-core/ContactDetail"; -import type { DomainResource } from "../hl7-fhir-r4-core/DomainResource"; -import type { UsageContext } from "../hl7-fhir-r4-core/UsageContext"; - -import type { Element } from "../hl7-fhir-r4-core/Element"; -export type { BackboneElement } from "../hl7-fhir-r4-core/BackboneElement"; -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"; - -export interface OperationDefinitionOverload extends BackboneElement { - comment?: string; - parameterName?: string[]; -} - -export interface OperationDefinitionParameter extends BackboneElement { - binding?: OperationDefinitionParameterBinding; - documentation?: string; - max: string; - min: number; - name: string; - part?: OperationDefinitionParameter[]; - referencedFrom?: OperationDefinitionParameterReferencedFrom[]; - searchType?: ("number" | "date" | "string" | "token" | "reference" | "composite" | "quantity" | "uri" | "special"); - targetProfile?: string[]; - type?: string; - use: ("in" | "out"); -} - -export interface OperationDefinitionParameterBinding extends BackboneElement { - strength: ("required" | "extensible" | "preferred" | "example"); - valueSet: string; -} - -export interface OperationDefinitionParameterReferencedFrom extends BackboneElement { - source: string; - sourceId?: string; -} - -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/OperationDefinition (pkg: hl7.fhir.r4.core#4.0.1) -export interface OperationDefinition extends DomainResource { - resourceType: "OperationDefinition"; - - affectsState?: boolean; - _affectsState?: Element; - base?: string; - _base?: Element; - code: string; - _code?: Element; - comment?: string; - _comment?: Element; - contact?: ContactDetail[]; - date?: string; - _date?: Element; - description?: string; - _description?: Element; - experimental?: boolean; - _experimental?: Element; - inputProfile?: string; - _inputProfile?: Element; - instance: boolean; - _instance?: Element; - jurisdiction?: CodeableConcept[]; - kind: ("operation" | "query"); - _kind?: Element; - name: string; - _name?: Element; - outputProfile?: string; - _outputProfile?: Element; - overload?: OperationDefinitionOverload[]; - parameter?: OperationDefinitionParameter[]; - publisher?: string; - _publisher?: Element; - purpose?: string; - _purpose?: Element; - resource?: string[]; - _resource?: (Element | null)[]; - status: ("draft" | "active" | "retired" | "unknown"); - _status?: Element; - system: boolean; - _system?: Element; - title?: string; - _title?: Element; - type: boolean; - _type?: Element; - url?: string; - _url?: Element; - useContext?: UsageContext[]; - version?: string; - _version?: Element; -} -export const isOperationDefinition = (resource: unknown): resource is OperationDefinition => { - return resource !== null && typeof resource === "object" && (resource as {resourceType: string}).resourceType === "OperationDefinition"; -} 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 deleted file mode 100644 index 4d1f622d7..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/OperationOutcome.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 { BackboneElement } from "../hl7-fhir-r4-core/BackboneElement"; -import type { CodeableConcept } from "../hl7-fhir-r4-core/CodeableConcept"; -import type { DomainResource } from "../hl7-fhir-r4-core/DomainResource"; - -export type { BackboneElement } from "../hl7-fhir-r4-core/BackboneElement"; -export type { CodeableConcept } from "../hl7-fhir-r4-core/CodeableConcept"; - -export interface OperationOutcomeIssue extends BackboneElement { - code: ("invalid" | "structure" | "required" | "value" | "invariant" | "security" | "login" | "unknown" | "expired" | "forbidden" | "suppressed" | "processing" | "not-supported" | "duplicate" | "multiple-matches" | "not-found" | "deleted" | "too-long" | "code-invalid" | "extension" | "too-costly" | "business-rule" | "conflict" | "transient" | "lock-error" | "no-store" | "exception" | "timeout" | "incomplete" | "throttled" | "informational"); - details?: CodeableConcept; - diagnostics?: string; - expression?: string[]; - location?: string[]; - severity: ("fatal" | "error" | "warning" | "information"); -} - -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/OperationOutcome (pkg: hl7.fhir.r4.core#4.0.1) -export interface OperationOutcome extends DomainResource { - resourceType: "OperationOutcome"; - - issue: OperationOutcomeIssue[]; -} -export const isOperationOutcome = (resource: unknown): resource is OperationOutcome => { - return resource !== null && typeof resource === "object" && (resource as {resourceType: string}).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 deleted file mode 100644 index b29884b85..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/Organization.ts +++ /dev/null @@ -1,50 +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 { Address } from "../hl7-fhir-r4-core/Address"; -import type { BackboneElement } from "../hl7-fhir-r4-core/BackboneElement"; -import type { CodeableConcept } from "../hl7-fhir-r4-core/CodeableConcept"; -import type { ContactPoint } from "../hl7-fhir-r4-core/ContactPoint"; -import type { DomainResource } from "../hl7-fhir-r4-core/DomainResource"; -import type { HumanName } from "../hl7-fhir-r4-core/HumanName"; -import type { Identifier } from "../hl7-fhir-r4-core/Identifier"; -import type { Reference } from "../hl7-fhir-r4-core/Reference"; - -import type { Element } from "../hl7-fhir-r4-core/Element"; -export type { Address } from "../hl7-fhir-r4-core/Address"; -export type { BackboneElement } from "../hl7-fhir-r4-core/BackboneElement"; -export type { CodeableConcept } from "../hl7-fhir-r4-core/CodeableConcept"; -export type { ContactPoint } from "../hl7-fhir-r4-core/ContactPoint"; -export type { HumanName } from "../hl7-fhir-r4-core/HumanName"; -export type { Identifier } from "../hl7-fhir-r4-core/Identifier"; -export type { Reference } from "../hl7-fhir-r4-core/Reference"; - -export interface OrganizationContact extends BackboneElement { - address?: Address; - name?: HumanName; - purpose?: CodeableConcept<("BILL" | "ADMIN" | "HR" | "PAYOR" | "PATINF" | "PRESS" | string)>; - telecom?: ContactPoint[]; -} - -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/Organization (pkg: hl7.fhir.r4.core#4.0.1) -export interface Organization extends DomainResource { - resourceType: "Organization"; - - active?: boolean; - _active?: Element; - address?: Address[]; - alias?: string[]; - _alias?: (Element | null)[]; - contact?: OrganizationContact[]; - endpoint?: Reference<"Endpoint">[]; - identifier?: Identifier[]; - name?: string; - _name?: Element; - partOf?: Reference<"Organization">; - telecom?: ContactPoint[]; - type?: CodeableConcept[]; -} -export const isOrganization = (resource: unknown): resource is Organization => { - return resource !== null && typeof resource === "object" && (resource as {resourceType: string}).resourceType === "Organization"; -} 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 deleted file mode 100644 index c59d89aa3..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/OrganizationAffiliation.ts +++ /dev/null @@ -1,39 +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 { ContactPoint } from "../hl7-fhir-r4-core/ContactPoint"; -import type { DomainResource } from "../hl7-fhir-r4-core/DomainResource"; -import type { Identifier } from "../hl7-fhir-r4-core/Identifier"; -import type { Period } from "../hl7-fhir-r4-core/Period"; -import type { Reference } from "../hl7-fhir-r4-core/Reference"; - -import type { Element } from "../hl7-fhir-r4-core/Element"; -export type { CodeableConcept } from "../hl7-fhir-r4-core/CodeableConcept"; -export type { ContactPoint } from "../hl7-fhir-r4-core/ContactPoint"; -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 (pkg: hl7.fhir.r4.core#4.0.1) -export interface OrganizationAffiliation extends DomainResource { - resourceType: "OrganizationAffiliation"; - - active?: boolean; - _active?: Element; - code?: CodeableConcept[]; - endpoint?: Reference<"Endpoint">[]; - healthcareService?: Reference<"HealthcareService">[]; - identifier?: Identifier[]; - location?: Reference<"Location">[]; - network?: Reference<"Organization">[]; - organization?: Reference<"Organization">; - participatingOrganization?: Reference<"Organization">; - period?: Period; - specialty?: CodeableConcept[]; - telecom?: ContactPoint[]; -} -export const isOrganizationAffiliation = (resource: unknown): resource is OrganizationAffiliation => { - return resource !== null && typeof resource === "object" && (resource as {resourceType: string}).resourceType === "OrganizationAffiliation"; -} 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 deleted file mode 100644 index 1db060ece..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/Parameters.ts +++ /dev/null @@ -1,136 +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 { Address } from "../hl7-fhir-r4-core/Address"; -import type { Age } from "../hl7-fhir-r4-core/Age"; -import type { Annotation } from "../hl7-fhir-r4-core/Annotation"; -import type { Attachment } from "../hl7-fhir-r4-core/Attachment"; -import type { BackboneElement } from "../hl7-fhir-r4-core/BackboneElement"; -import type { CodeableConcept } from "../hl7-fhir-r4-core/CodeableConcept"; -import type { Coding } from "../hl7-fhir-r4-core/Coding"; -import type { ContactDetail } from "../hl7-fhir-r4-core/ContactDetail"; -import type { ContactPoint } from "../hl7-fhir-r4-core/ContactPoint"; -import type { Contributor } from "../hl7-fhir-r4-core/Contributor"; -import type { Count } from "../hl7-fhir-r4-core/Count"; -import type { DataRequirement } from "../hl7-fhir-r4-core/DataRequirement"; -import type { Distance } from "../hl7-fhir-r4-core/Distance"; -import type { Dosage } from "../hl7-fhir-r4-core/Dosage"; -import type { Duration } from "../hl7-fhir-r4-core/Duration"; -import type { Expression } from "../hl7-fhir-r4-core/Expression"; -import type { HumanName } from "../hl7-fhir-r4-core/HumanName"; -import type { Identifier } from "../hl7-fhir-r4-core/Identifier"; -import type { Meta } from "../hl7-fhir-r4-core/Meta"; -import type { Money } from "../hl7-fhir-r4-core/Money"; -import type { ParameterDefinition } from "../hl7-fhir-r4-core/ParameterDefinition"; -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 { RelatedArtifact } from "../hl7-fhir-r4-core/RelatedArtifact"; -import type { Resource } from "../hl7-fhir-r4-core/Resource"; -import type { SampledData } from "../hl7-fhir-r4-core/SampledData"; -import type { Signature } from "../hl7-fhir-r4-core/Signature"; -import type { Timing } from "../hl7-fhir-r4-core/Timing"; -import type { TriggerDefinition } from "../hl7-fhir-r4-core/TriggerDefinition"; -import type { UsageContext } from "../hl7-fhir-r4-core/UsageContext"; - -export type { Address } from "../hl7-fhir-r4-core/Address"; -export type { Age } from "../hl7-fhir-r4-core/Age"; -export type { Annotation } from "../hl7-fhir-r4-core/Annotation"; -export type { Attachment } from "../hl7-fhir-r4-core/Attachment"; -export type { BackboneElement } from "../hl7-fhir-r4-core/BackboneElement"; -export type { CodeableConcept } from "../hl7-fhir-r4-core/CodeableConcept"; -export type { Coding } from "../hl7-fhir-r4-core/Coding"; -export type { ContactDetail } from "../hl7-fhir-r4-core/ContactDetail"; -export type { ContactPoint } from "../hl7-fhir-r4-core/ContactPoint"; -export type { Contributor } from "../hl7-fhir-r4-core/Contributor"; -export type { Count } from "../hl7-fhir-r4-core/Count"; -export type { DataRequirement } from "../hl7-fhir-r4-core/DataRequirement"; -export type { Distance } from "../hl7-fhir-r4-core/Distance"; -export type { Dosage } from "../hl7-fhir-r4-core/Dosage"; -export type { Duration } from "../hl7-fhir-r4-core/Duration"; -export type { Expression } from "../hl7-fhir-r4-core/Expression"; -export type { HumanName } from "../hl7-fhir-r4-core/HumanName"; -export type { Identifier } from "../hl7-fhir-r4-core/Identifier"; -export type { Meta } from "../hl7-fhir-r4-core/Meta"; -export type { Money } from "../hl7-fhir-r4-core/Money"; -export type { ParameterDefinition } from "../hl7-fhir-r4-core/ParameterDefinition"; -export type { Period } from "../hl7-fhir-r4-core/Period"; -export type { Quantity } from "../hl7-fhir-r4-core/Quantity"; -export type { Range } from "../hl7-fhir-r4-core/Range"; -export type { Ratio } from "../hl7-fhir-r4-core/Ratio"; -export type { Reference } from "../hl7-fhir-r4-core/Reference"; -export type { RelatedArtifact } from "../hl7-fhir-r4-core/RelatedArtifact"; -export type { SampledData } from "../hl7-fhir-r4-core/SampledData"; -export type { Signature } from "../hl7-fhir-r4-core/Signature"; -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"; - -export interface ParametersParameter extends BackboneElement { - name: string; - part?: ParametersParameter[]; - resource?: Resource; - valueAddress?: Address; - valueAge?: Age; - valueAnnotation?: Annotation; - valueAttachment?: Attachment; - valueBase64Binary?: string; - valueBoolean?: boolean; - valueCanonical?: string; - valueCode?: string; - valueCodeableConcept?: CodeableConcept; - valueCoding?: Coding; - valueContactDetail?: ContactDetail; - valueContactPoint?: ContactPoint; - valueContributor?: Contributor; - valueCount?: Count; - valueDataRequirement?: DataRequirement; - valueDate?: string; - valueDateTime?: string; - valueDecimal?: number; - valueDistance?: Distance; - valueDosage?: Dosage; - valueDuration?: Duration; - valueExpression?: Expression; - valueHumanName?: HumanName; - valueId?: string; - valueIdentifier?: Identifier; - valueInstant?: string; - valueInteger?: number; - valueMarkdown?: string; - valueMeta?: Meta; - valueMoney?: Money; - valueOid?: string; - valueParameterDefinition?: ParameterDefinition; - valuePeriod?: Period; - valuePositiveInt?: number; - valueQuantity?: Quantity; - valueRange?: Range; - valueRatio?: Ratio; - valueReference?: Reference; - valueRelatedArtifact?: RelatedArtifact; - valueSampledData?: SampledData; - valueSignature?: Signature; - valueString?: string; - valueTime?: string; - valueTiming?: Timing; - valueTriggerDefinition?: TriggerDefinition; - valueUnsignedInt?: number; - valueUri?: string; - valueUrl?: string; - valueUsageContext?: UsageContext; - valueUuid?: string; -} - -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/Parameters (pkg: hl7.fhir.r4.core#4.0.1) -export interface Parameters extends Resource { - resourceType: "Parameters"; - - parameter?: ParametersParameter[]; -} -export const isParameters = (resource: unknown): resource is Parameters => { - return resource !== null && typeof resource === "object" && (resource as {resourceType: string}).resourceType === "Parameters"; -} 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 deleted file mode 100644 index a18cbc55f..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/PaymentNotice.ts +++ /dev/null @@ -1,39 +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 { DomainResource } from "../hl7-fhir-r4-core/DomainResource"; -import type { Identifier } from "../hl7-fhir-r4-core/Identifier"; -import type { Money } from "../hl7-fhir-r4-core/Money"; -import type { Reference } from "../hl7-fhir-r4-core/Reference"; - -import type { Element } from "../hl7-fhir-r4-core/Element"; -export type { CodeableConcept } from "../hl7-fhir-r4-core/CodeableConcept"; -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 (pkg: hl7.fhir.r4.core#4.0.1) -export interface PaymentNotice extends DomainResource { - resourceType: "PaymentNotice"; - - amount: Money; - created: string; - _created?: Element; - identifier?: Identifier[]; - payee?: Reference<"Organization" | "Practitioner" | "PractitionerRole">; - payment: Reference<"PaymentReconciliation">; - paymentDate?: string; - _paymentDate?: Element; - paymentStatus?: CodeableConcept; - provider?: Reference<"Organization" | "Practitioner" | "PractitionerRole">; - recipient: Reference<"Organization">; - request?: Reference<"Resource">; - response?: Reference<"Resource">; - status: ("active" | "cancelled" | "draft" | "entered-in-error"); - _status?: Element; -} -export const isPaymentNotice = (resource: unknown): resource is PaymentNotice => { - return resource !== null && typeof resource === "object" && (resource as {resourceType: string}).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 deleted file mode 100644 index b272f874a..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/PaymentReconciliation.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 { BackboneElement } from "../hl7-fhir-r4-core/BackboneElement"; -import type { CodeableConcept } from "../hl7-fhir-r4-core/CodeableConcept"; -import type { DomainResource } from "../hl7-fhir-r4-core/DomainResource"; -import type { Identifier } from "../hl7-fhir-r4-core/Identifier"; -import type { Money } from "../hl7-fhir-r4-core/Money"; -import type { Period } from "../hl7-fhir-r4-core/Period"; -import type { Reference } from "../hl7-fhir-r4-core/Reference"; - -import type { Element } from "../hl7-fhir-r4-core/Element"; -export type { BackboneElement } from "../hl7-fhir-r4-core/BackboneElement"; -export type { CodeableConcept } from "../hl7-fhir-r4-core/CodeableConcept"; -export type { Identifier } from "../hl7-fhir-r4-core/Identifier"; -export type { Money } from "../hl7-fhir-r4-core/Money"; -export type { Period } from "../hl7-fhir-r4-core/Period"; -export type { Reference } from "../hl7-fhir-r4-core/Reference"; - -export interface PaymentReconciliationDetail extends BackboneElement { - amount?: Money; - date?: string; - identifier?: Identifier; - payee?: Reference<"Organization" | "Practitioner" | "PractitionerRole">; - predecessor?: Identifier; - request?: Reference<"Resource">; - response?: Reference<"Resource">; - responsible?: Reference<"PractitionerRole">; - submitter?: Reference<"Organization" | "Practitioner" | "PractitionerRole">; - type: CodeableConcept; -} - -export interface PaymentReconciliationProcessNote extends BackboneElement { - text?: string; - type?: ("display" | "print" | "printoper"); -} - -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/PaymentReconciliation (pkg: hl7.fhir.r4.core#4.0.1) -export interface PaymentReconciliation extends DomainResource { - resourceType: "PaymentReconciliation"; - - created: string; - _created?: Element; - detail?: PaymentReconciliationDetail[]; - disposition?: string; - _disposition?: Element; - formCode?: CodeableConcept; - identifier?: Identifier[]; - outcome?: ("queued" | "complete" | "error" | "partial"); - _outcome?: Element; - paymentAmount: Money; - paymentDate: string; - _paymentDate?: Element; - paymentIdentifier?: Identifier; - paymentIssuer?: Reference<"Organization">; - period?: Period; - processNote?: PaymentReconciliationProcessNote[]; - request?: Reference<"Task">; - requestor?: Reference<"Organization" | "Practitioner" | "PractitionerRole">; - status: ("active" | "cancelled" | "draft" | "entered-in-error"); - _status?: Element; -} -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-r4-core/Person.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/Person.ts deleted file mode 100644 index 74c1d4bac..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/Person.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 { Address } from "../hl7-fhir-r4-core/Address"; -import type { Attachment } from "../hl7-fhir-r4-core/Attachment"; -import type { BackboneElement } from "../hl7-fhir-r4-core/BackboneElement"; -import type { ContactPoint } from "../hl7-fhir-r4-core/ContactPoint"; -import type { DomainResource } from "../hl7-fhir-r4-core/DomainResource"; -import type { HumanName } from "../hl7-fhir-r4-core/HumanName"; -import type { Identifier } from "../hl7-fhir-r4-core/Identifier"; -import type { Reference } from "../hl7-fhir-r4-core/Reference"; - -import type { Element } from "../hl7-fhir-r4-core/Element"; -export type { Address } from "../hl7-fhir-r4-core/Address"; -export type { Attachment } from "../hl7-fhir-r4-core/Attachment"; -export type { BackboneElement } from "../hl7-fhir-r4-core/BackboneElement"; -export type { ContactPoint } from "../hl7-fhir-r4-core/ContactPoint"; -export type { HumanName } from "../hl7-fhir-r4-core/HumanName"; -export type { Identifier } from "../hl7-fhir-r4-core/Identifier"; -export type { Reference } from "../hl7-fhir-r4-core/Reference"; - -export interface PersonLink extends BackboneElement { - assurance?: ("level1" | "level2" | "level3" | "level4"); - target: Reference<"Patient" | "Person" | "Practitioner" | "RelatedPerson">; -} - -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/Person (pkg: hl7.fhir.r4.core#4.0.1) -export interface Person extends DomainResource { - resourceType: "Person"; - - active?: boolean; - _active?: Element; - address?: Address[]; - birthDate?: string; - _birthDate?: Element; - gender?: ("male" | "female" | "other" | "unknown"); - _gender?: Element; - identifier?: Identifier[]; - link?: PersonLink[]; - managingOrganization?: Reference<"Organization">; - name?: HumanName[]; - photo?: Attachment; - telecom?: ContactPoint[]; -} -export const isPerson = (resource: unknown): resource is Person => { - return resource !== null && typeof resource === "object" && (resource as {resourceType: string}).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 deleted file mode 100644 index f4163b149..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/PlanDefinition.ts +++ /dev/null @@ -1,173 +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 { Age } from "../hl7-fhir-r4-core/Age"; -import type { BackboneElement } from "../hl7-fhir-r4-core/BackboneElement"; -import type { CodeableConcept } from "../hl7-fhir-r4-core/CodeableConcept"; -import type { ContactDetail } from "../hl7-fhir-r4-core/ContactDetail"; -import type { DataRequirement } from "../hl7-fhir-r4-core/DataRequirement"; -import type { DomainResource } from "../hl7-fhir-r4-core/DomainResource"; -import type { Duration } from "../hl7-fhir-r4-core/Duration"; -import type { Expression } from "../hl7-fhir-r4-core/Expression"; -import type { Identifier } from "../hl7-fhir-r4-core/Identifier"; -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 { Reference } from "../hl7-fhir-r4-core/Reference"; -import type { RelatedArtifact } from "../hl7-fhir-r4-core/RelatedArtifact"; -import type { Timing } from "../hl7-fhir-r4-core/Timing"; -import type { TriggerDefinition } from "../hl7-fhir-r4-core/TriggerDefinition"; -import type { UsageContext } from "../hl7-fhir-r4-core/UsageContext"; - -import type { Element } from "../hl7-fhir-r4-core/Element"; -export type { Age } from "../hl7-fhir-r4-core/Age"; -export type { BackboneElement } from "../hl7-fhir-r4-core/BackboneElement"; -export type { CodeableConcept } from "../hl7-fhir-r4-core/CodeableConcept"; -export type { ContactDetail } from "../hl7-fhir-r4-core/ContactDetail"; -export type { DataRequirement } from "../hl7-fhir-r4-core/DataRequirement"; -export type { Duration } from "../hl7-fhir-r4-core/Duration"; -export type { Expression } from "../hl7-fhir-r4-core/Expression"; -export type { Identifier } from "../hl7-fhir-r4-core/Identifier"; -export type { Period } from "../hl7-fhir-r4-core/Period"; -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"; -export type { RelatedArtifact } from "../hl7-fhir-r4-core/RelatedArtifact"; -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"; - -export interface PlanDefinitionAction extends BackboneElement { - action?: PlanDefinitionAction[]; - cardinalityBehavior?: ("single" | "multiple"); - code?: CodeableConcept[]; - condition?: PlanDefinitionActionCondition[]; - definitionCanonical?: string; - definitionUri?: string; - description?: string; - documentation?: RelatedArtifact[]; - dynamicValue?: PlanDefinitionActionDynamicValue[]; - goalId?: string[]; - groupingBehavior?: ("visual-group" | "logical-group" | "sentence-group"); - input?: DataRequirement[]; - output?: DataRequirement[]; - participant?: PlanDefinitionActionParticipant[]; - precheckBehavior?: ("yes" | "no"); - prefix?: string; - priority?: ("routine" | "urgent" | "asap" | "stat"); - reason?: CodeableConcept[]; - relatedAction?: PlanDefinitionActionRelatedAction[]; - requiredBehavior?: ("must" | "could" | "must-unless-documented"); - selectionBehavior?: ("any" | "all" | "all-or-none" | "exactly-one" | "at-most-one" | "one-or-more"); - subjectCodeableConcept?: CodeableConcept; - subjectReference?: Reference<"Group">; - textEquivalent?: string; - timingAge?: Age; - timingDateTime?: string; - timingDuration?: Duration; - timingPeriod?: Period; - timingRange?: Range; - timingTiming?: Timing; - title?: string; - transform?: string; - trigger?: TriggerDefinition[]; - type?: CodeableConcept<("create" | "update" | "remove" | "fire-event" | string)>; -} - -export interface PlanDefinitionActionCondition extends BackboneElement { - expression?: Expression; - kind: ("applicability" | "start" | "stop"); -} - -export interface PlanDefinitionActionDynamicValue extends BackboneElement { - expression?: Expression; - path?: string; -} - -export interface PlanDefinitionActionParticipant extends BackboneElement { - role?: CodeableConcept; - type: ("patient" | "practitioner" | "related-person" | "device"); -} - -export interface PlanDefinitionActionRelatedAction extends BackboneElement { - actionId: string; - offsetDuration?: Duration; - offsetRange?: Range; - relationship: ("before-start" | "before" | "before-end" | "concurrent-with-start" | "concurrent" | "concurrent-with-end" | "after-start" | "after" | "after-end"); -} - -export interface PlanDefinitionGoal extends BackboneElement { - addresses?: CodeableConcept[]; - category?: CodeableConcept; - description: CodeableConcept; - documentation?: RelatedArtifact[]; - priority?: CodeableConcept<("high-priority" | "medium-priority" | "low-priority" | string)>; - start?: CodeableConcept; - target?: PlanDefinitionGoalTarget[]; -} - -export interface PlanDefinitionGoalTarget extends BackboneElement { - detailCodeableConcept?: CodeableConcept; - detailQuantity?: Quantity; - detailRange?: Range; - due?: Duration; - measure?: CodeableConcept; -} - -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/PlanDefinition (pkg: hl7.fhir.r4.core#4.0.1) -export interface PlanDefinition extends DomainResource { - resourceType: "PlanDefinition"; - - action?: PlanDefinitionAction[]; - approvalDate?: string; - _approvalDate?: Element; - author?: ContactDetail[]; - contact?: ContactDetail[]; - copyright?: string; - _copyright?: Element; - date?: string; - _date?: Element; - description?: string; - _description?: Element; - editor?: ContactDetail[]; - effectivePeriod?: Period; - endorser?: ContactDetail[]; - experimental?: boolean; - _experimental?: Element; - goal?: PlanDefinitionGoal[]; - identifier?: Identifier[]; - jurisdiction?: CodeableConcept[]; - lastReviewDate?: string; - _lastReviewDate?: Element; - library?: string[]; - _library?: (Element | null)[]; - name?: string; - _name?: Element; - publisher?: string; - _publisher?: Element; - purpose?: string; - _purpose?: Element; - relatedArtifact?: RelatedArtifact[]; - reviewer?: ContactDetail[]; - status: ("draft" | "active" | "retired" | "unknown"); - _status?: Element; - subjectCodeableConcept?: CodeableConcept; - subjectReference?: Reference<"Group">; - subtitle?: string; - _subtitle?: Element; - title?: string; - _title?: Element; - topic?: CodeableConcept[]; - type?: CodeableConcept<("order-set" | "clinical-protocol" | "eca-rule" | "workflow-definition" | string)>; - url?: string; - _url?: Element; - usage?: string; - _usage?: Element; - useContext?: UsageContext[]; - version?: string; - _version?: Element; -} -export const isPlanDefinition = (resource: unknown): resource is PlanDefinition => { - return resource !== null && typeof resource === "object" && (resource as {resourceType: string}).resourceType === "PlanDefinition"; -} 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 deleted file mode 100644 index c870bf6a2..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/Population.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 { BackboneElement } from "../hl7-fhir-r4-core/BackboneElement"; -import type { CodeableConcept } from "../hl7-fhir-r4-core/CodeableConcept"; -import type { Range } from "../hl7-fhir-r4-core/Range"; - -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 (pkg: hl7.fhir.r4.core#4.0.1) -export interface Population extends BackboneElement { - ageCodeableConcept?: CodeableConcept; - ageRange?: Range; - gender?: CodeableConcept; - physiologicalCondition?: CodeableConcept; - race?: CodeableConcept; -} 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 deleted file mode 100644 index f24eab799..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/Practitioner.ts +++ /dev/null @@ -1,54 +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 { Address } from "../hl7-fhir-r4-core/Address"; -import type { Attachment } from "../hl7-fhir-r4-core/Attachment"; -import type { BackboneElement } from "../hl7-fhir-r4-core/BackboneElement"; -import type { CodeableConcept } from "../hl7-fhir-r4-core/CodeableConcept"; -import type { ContactPoint } from "../hl7-fhir-r4-core/ContactPoint"; -import type { DomainResource } from "../hl7-fhir-r4-core/DomainResource"; -import type { HumanName } from "../hl7-fhir-r4-core/HumanName"; -import type { Identifier } from "../hl7-fhir-r4-core/Identifier"; -import type { Period } from "../hl7-fhir-r4-core/Period"; -import type { Reference } from "../hl7-fhir-r4-core/Reference"; - -import type { Element } from "../hl7-fhir-r4-core/Element"; -export type { Address } from "../hl7-fhir-r4-core/Address"; -export type { Attachment } from "../hl7-fhir-r4-core/Attachment"; -export type { BackboneElement } from "../hl7-fhir-r4-core/BackboneElement"; -export type { CodeableConcept } from "../hl7-fhir-r4-core/CodeableConcept"; -export type { ContactPoint } from "../hl7-fhir-r4-core/ContactPoint"; -export type { HumanName } from "../hl7-fhir-r4-core/HumanName"; -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"; - -export interface PractitionerQualification extends BackboneElement { - code: CodeableConcept; - identifier?: Identifier[]; - issuer?: Reference<"Organization">; - period?: Period; -} - -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/Practitioner (pkg: hl7.fhir.r4.core#4.0.1) -export interface Practitioner extends DomainResource { - resourceType: "Practitioner"; - - active?: boolean; - _active?: Element; - address?: Address[]; - birthDate?: string; - _birthDate?: Element; - 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[]; - name?: HumanName[]; - photo?: Attachment[]; - qualification?: PractitionerQualification[]; - telecom?: ContactPoint[]; -} -export const isPractitioner = (resource: unknown): resource is Practitioner => { - return resource !== null && typeof resource === "object" && (resource as {resourceType: string}).resourceType === "Practitioner"; -} 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 deleted file mode 100644 index f6c97d782..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/PractitionerRole.ts +++ /dev/null @@ -1,56 +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 { BackboneElement } from "../hl7-fhir-r4-core/BackboneElement"; -import type { CodeableConcept } from "../hl7-fhir-r4-core/CodeableConcept"; -import type { ContactPoint } from "../hl7-fhir-r4-core/ContactPoint"; -import type { DomainResource } from "../hl7-fhir-r4-core/DomainResource"; -import type { Identifier } from "../hl7-fhir-r4-core/Identifier"; -import type { Period } from "../hl7-fhir-r4-core/Period"; -import type { Reference } from "../hl7-fhir-r4-core/Reference"; - -import type { Element } from "../hl7-fhir-r4-core/Element"; -export type { BackboneElement } from "../hl7-fhir-r4-core/BackboneElement"; -export type { CodeableConcept } from "../hl7-fhir-r4-core/CodeableConcept"; -export type { ContactPoint } from "../hl7-fhir-r4-core/ContactPoint"; -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"; - -export interface PractitionerRoleAvailableTime extends BackboneElement { - allDay?: boolean; - availableEndTime?: string; - availableStartTime?: string; - daysOfWeek?: ("mon" | "tue" | "wed" | "thu" | "fri" | "sat" | "sun")[]; -} - -export interface PractitionerRoleNotAvailable extends BackboneElement { - description: string; - during?: Period; -} - -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/PractitionerRole (pkg: hl7.fhir.r4.core#4.0.1) -export interface PractitionerRole extends DomainResource { - resourceType: "PractitionerRole"; - - active?: boolean; - _active?: Element; - availabilityExceptions?: string; - _availabilityExceptions?: Element; - availableTime?: PractitionerRoleAvailableTime[]; - code?: CodeableConcept[]; - endpoint?: Reference<"Endpoint">[]; - healthcareService?: Reference<"HealthcareService">[]; - identifier?: Identifier[]; - location?: Reference<"Location">[]; - notAvailable?: PractitionerRoleNotAvailable[]; - organization?: Reference<"Organization">; - period?: Period; - practitioner?: Reference<"Practitioner">; - specialty?: CodeableConcept[]; - telecom?: ContactPoint[]; -} -export const isPractitionerRole = (resource: unknown): resource is PractitionerRole => { - return resource !== null && typeof resource === "object" && (resource as {resourceType: string}).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 deleted file mode 100644 index 14b06f903..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/Procedure.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 { Age } from "../hl7-fhir-r4-core/Age"; -import type { Annotation } from "../hl7-fhir-r4-core/Annotation"; -import type { BackboneElement } from "../hl7-fhir-r4-core/BackboneElement"; -import type { CodeableConcept } from "../hl7-fhir-r4-core/CodeableConcept"; -import type { DomainResource } from "../hl7-fhir-r4-core/DomainResource"; -import type { Identifier } from "../hl7-fhir-r4-core/Identifier"; -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"; - -import type { Element } from "../hl7-fhir-r4-core/Element"; -export type { Age } from "../hl7-fhir-r4-core/Age"; -export type { Annotation } from "../hl7-fhir-r4-core/Annotation"; -export type { BackboneElement } from "../hl7-fhir-r4-core/BackboneElement"; -export type { CodeableConcept } from "../hl7-fhir-r4-core/CodeableConcept"; -export type { Identifier } from "../hl7-fhir-r4-core/Identifier"; -export type { Period } from "../hl7-fhir-r4-core/Period"; -export type { Range } from "../hl7-fhir-r4-core/Range"; -export type { Reference } from "../hl7-fhir-r4-core/Reference"; - -export interface ProcedureFocalDevice extends BackboneElement { - action?: CodeableConcept; - manipulated: Reference<"Device">; -} - -export interface ProcedurePerformer extends BackboneElement { - actor: Reference<"Device" | "Organization" | "Patient" | "Practitioner" | "PractitionerRole" | "RelatedPerson">; - "function"?: CodeableConcept; - onBehalfOf?: Reference<"Organization">; -} - -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/Procedure (pkg: hl7.fhir.r4.core#4.0.1) -export interface Procedure extends DomainResource { - resourceType: "Procedure"; - - asserter?: Reference<"Patient" | "Practitioner" | "PractitionerRole" | "RelatedPerson">; - basedOn?: Reference<"CarePlan" | "ServiceRequest">[]; - bodySite?: CodeableConcept[]; - category?: CodeableConcept; - code?: CodeableConcept; - complication?: CodeableConcept[]; - complicationDetail?: Reference<"Condition">[]; - encounter?: Reference<"Encounter">; - focalDevice?: ProcedureFocalDevice[]; - followUp?: CodeableConcept[]; - identifier?: Identifier[]; - instantiatesCanonical?: string[]; - _instantiatesCanonical?: (Element | null)[]; - instantiatesUri?: string[]; - _instantiatesUri?: (Element | null)[]; - location?: Reference<"Location">; - note?: Annotation[]; - outcome?: CodeableConcept; - partOf?: Reference<"MedicationAdministration" | "Observation" | "Procedure">[]; - performedAge?: Age; - performedDateTime?: string; - _performedDateTime?: Element; - performedPeriod?: Period; - performedRange?: Range; - performedString?: string; - _performedString?: Element; - performer?: ProcedurePerformer[]; - reasonCode?: CodeableConcept[]; - reasonReference?: Reference<"Condition" | "DiagnosticReport" | "DocumentReference" | "Observation" | "Procedure">[]; - recorder?: Reference<"Patient" | "Practitioner" | "PractitionerRole" | "RelatedPerson">; - report?: Reference<"Composition" | "DiagnosticReport" | "DocumentReference">[]; - status: ("preparation" | "in-progress" | "not-done" | "on-hold" | "stopped" | "completed" | "entered-in-error" | "unknown"); - _status?: Element; - statusReason?: CodeableConcept; - subject: Reference<"Group" | "Patient">; - usedCode?: CodeableConcept[]; - usedReference?: Reference<"Device" | "Medication" | "Substance">[]; -} -export const isProcedure = (resource: unknown): resource is Procedure => { - return resource !== null && typeof resource === "object" && (resource as {resourceType: string}).resourceType === "Procedure"; -} 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 deleted file mode 100644 index cf5258e50..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/ProdCharacteristic.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 { Attachment } from "../hl7-fhir-r4-core/Attachment"; -import type { BackboneElement } from "../hl7-fhir-r4-core/BackboneElement"; -import type { CodeableConcept } from "../hl7-fhir-r4-core/CodeableConcept"; -import type { Quantity } from "../hl7-fhir-r4-core/Quantity"; - -import type { Element } from "../hl7-fhir-r4-core/Element"; -export type { Attachment } from "../hl7-fhir-r4-core/Attachment"; -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 (pkg: hl7.fhir.r4.core#4.0.1) -export interface ProdCharacteristic extends BackboneElement { - color?: string[]; - _color?: (Element | null)[]; - depth?: Quantity; - externalDiameter?: Quantity; - height?: Quantity; - image?: Attachment[]; - imprint?: string[]; - _imprint?: (Element | null)[]; - nominalVolume?: Quantity; - scoring?: CodeableConcept; - shape?: string; - _shape?: Element; - weight?: Quantity; - width?: Quantity; -} 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 deleted file mode 100644 index b089d7c39..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/ProductShelfLife.ts +++ /dev/null @@ -1,21 +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 { BackboneElement } from "../hl7-fhir-r4-core/BackboneElement"; -import type { CodeableConcept } from "../hl7-fhir-r4-core/CodeableConcept"; -import type { Identifier } from "../hl7-fhir-r4-core/Identifier"; -import type { Quantity } from "../hl7-fhir-r4-core/Quantity"; - -export type { BackboneElement } from "../hl7-fhir-r4-core/BackboneElement"; -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 (pkg: hl7.fhir.r4.core#4.0.1) -export interface ProductShelfLife extends BackboneElement { - identifier?: Identifier; - period: Quantity; - specialPrecautionsForStorage?: CodeableConcept[]; - type: CodeableConcept; -} 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 deleted file mode 100644 index 2607e8bc4..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/Provenance.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 { BackboneElement } from "../hl7-fhir-r4-core/BackboneElement"; -import type { CodeableConcept } from "../hl7-fhir-r4-core/CodeableConcept"; -import type { DomainResource } from "../hl7-fhir-r4-core/DomainResource"; -import type { Period } from "../hl7-fhir-r4-core/Period"; -import type { Reference } from "../hl7-fhir-r4-core/Reference"; -import type { Signature } from "../hl7-fhir-r4-core/Signature"; - -import type { Element } from "../hl7-fhir-r4-core/Element"; -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"; -export type { Reference } from "../hl7-fhir-r4-core/Reference"; -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<("enterer" | "performer" | "author" | "verifier" | "legal" | "attester" | "informant" | "custodian" | "assembler" | "composer" | string)>; - who: Reference<"Device" | "Organization" | "Patient" | "Practitioner" | "PractitionerRole" | "RelatedPerson">; -} - -export interface ProvenanceEntity extends BackboneElement { - agent?: ProvenanceAgent[]; - role: ("derivation" | "revision" | "quotation" | "source" | "removal"); - what: Reference<"Resource">; -} - -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/Provenance (pkg: hl7.fhir.r4.core#4.0.1) -export interface Provenance extends DomainResource { - resourceType: "Provenance"; - - 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">; - occurredDateTime?: string; - _occurredDateTime?: Element; - occurredPeriod?: Period; - policy?: string[]; - _policy?: (Element | null)[]; - reason?: CodeableConcept[]; - recorded: string; - _recorded?: Element; - signature?: Signature[]; - target: Reference<"Resource">[]; -} -export const isProvenance = (resource: unknown): resource is Provenance => { - return resource !== null && typeof resource === "object" && (resource as {resourceType: string}).resourceType === "Provenance"; -} 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 deleted file mode 100644 index b197e2031..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/Questionnaire.ts +++ /dev/null @@ -1,132 +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-r4-core/Attachment"; -import type { BackboneElement } from "../hl7-fhir-r4-core/BackboneElement"; -import type { CodeableConcept } from "../hl7-fhir-r4-core/CodeableConcept"; -import type { Coding } from "../hl7-fhir-r4-core/Coding"; -import type { ContactDetail } from "../hl7-fhir-r4-core/ContactDetail"; -import type { DomainResource } from "../hl7-fhir-r4-core/DomainResource"; -import type { Identifier } from "../hl7-fhir-r4-core/Identifier"; -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"; -import type { UsageContext } from "../hl7-fhir-r4-core/UsageContext"; - -import type { Element } from "../hl7-fhir-r4-core/Element"; -export type { Attachment } from "../hl7-fhir-r4-core/Attachment"; -export type { BackboneElement } from "../hl7-fhir-r4-core/BackboneElement"; -export type { CodeableConcept } from "../hl7-fhir-r4-core/CodeableConcept"; -export type { Coding } from "../hl7-fhir-r4-core/Coding"; -export type { ContactDetail } from "../hl7-fhir-r4-core/ContactDetail"; -export type { Identifier } from "../hl7-fhir-r4-core/Identifier"; -export type { Period } from "../hl7-fhir-r4-core/Period"; -export type { Quantity } from "../hl7-fhir-r4-core/Quantity"; -export type { Reference } from "../hl7-fhir-r4-core/Reference"; -export type { UsageContext } from "../hl7-fhir-r4-core/UsageContext"; - -export interface QuestionnaireItem extends BackboneElement { - answerOption?: QuestionnaireItemAnswerOption[]; - answerValueSet?: string; - code?: Coding[]; - definition?: string; - enableBehavior?: ("all" | "any"); - enableWhen?: QuestionnaireItemEnableWhen[]; - initial?: QuestionnaireItemInitial[]; - item?: QuestionnaireItem[]; - linkId: string; - maxLength?: number; - prefix?: string; - readOnly?: boolean; - repeats?: boolean; - required?: boolean; - text?: string; - type: ("group" | "display" | "question" | "boolean" | "decimal" | "integer" | "date" | "dateTime" | "time" | "string" | "text" | "url" | "choice" | "open-choice" | "attachment" | "reference" | "quantity"); -} - -export interface QuestionnaireItemAnswerOption extends BackboneElement { - initialSelected?: boolean; - valueCoding?: Coding; - valueDate?: string; - valueInteger?: number; - valueReference?: Reference<"Resource">; - valueString?: string; - valueTime?: string; -} - -export interface QuestionnaireItemEnableWhen extends BackboneElement { - answerBoolean?: boolean; - answerCoding?: Coding; - answerDate?: string; - answerDateTime?: string; - answerDecimal?: number; - answerInteger?: number; - answerQuantity?: Quantity; - answerReference?: Reference<"Resource">; - answerString?: string; - answerTime?: string; - operator: ("exists" | "=" | "!=" | ">" | "<" | ">=" | "<="); - question: string; -} - -export interface QuestionnaireItemInitial extends BackboneElement { - valueAttachment?: Attachment; - valueBoolean?: boolean; - valueCoding?: Coding; - valueDate?: string; - valueDateTime?: string; - valueDecimal?: number; - valueInteger?: number; - valueQuantity?: Quantity; - valueReference?: Reference<"Resource">; - valueString?: string; - valueTime?: string; - valueUri?: string; -} - -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/Questionnaire (pkg: hl7.fhir.r4.core#4.0.1) -export interface Questionnaire extends DomainResource { - resourceType: "Questionnaire"; - - approvalDate?: string; - _approvalDate?: Element; - code?: Coding[]; - contact?: ContactDetail[]; - copyright?: string; - _copyright?: Element; - date?: string; - _date?: Element; - derivedFrom?: string[]; - _derivedFrom?: (Element | null)[]; - description?: string; - _description?: Element; - effectivePeriod?: Period; - experimental?: boolean; - _experimental?: Element; - identifier?: Identifier[]; - item?: QuestionnaireItem[]; - jurisdiction?: CodeableConcept[]; - lastReviewDate?: string; - _lastReviewDate?: Element; - name?: string; - _name?: Element; - publisher?: string; - _publisher?: Element; - purpose?: string; - _purpose?: Element; - status: ("draft" | "active" | "retired" | "unknown"); - _status?: Element; - subjectType?: string[]; - _subjectType?: (Element | null)[]; - title?: string; - _title?: Element; - url?: string; - _url?: Element; - useContext?: UsageContext[]; - version?: string; - _version?: Element; -} -export const isQuestionnaire = (resource: unknown): resource is Questionnaire => { - return resource !== null && typeof resource === "object" && (resource as {resourceType: string}).resourceType === "Questionnaire"; -} 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 deleted file mode 100644 index a3921e4bf..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/QuestionnaireResponse.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 { Attachment } from "../hl7-fhir-r4-core/Attachment"; -import type { BackboneElement } from "../hl7-fhir-r4-core/BackboneElement"; -import type { Coding } from "../hl7-fhir-r4-core/Coding"; -import type { DomainResource } from "../hl7-fhir-r4-core/DomainResource"; -import type { Identifier } from "../hl7-fhir-r4-core/Identifier"; -import type { Quantity } from "../hl7-fhir-r4-core/Quantity"; -import type { Reference } from "../hl7-fhir-r4-core/Reference"; - -import type { Element } from "../hl7-fhir-r4-core/Element"; -export type { Attachment } from "../hl7-fhir-r4-core/Attachment"; -export type { BackboneElement } from "../hl7-fhir-r4-core/BackboneElement"; -export type { Coding } from "../hl7-fhir-r4-core/Coding"; -export type { Identifier } from "../hl7-fhir-r4-core/Identifier"; -export type { Quantity } from "../hl7-fhir-r4-core/Quantity"; -export type { Reference } from "../hl7-fhir-r4-core/Reference"; - -export interface QuestionnaireResponseItem extends BackboneElement { - answer?: QuestionnaireResponseItemAnswer[]; - definition?: string; - item?: QuestionnaireResponseItem[]; - linkId: string; - text?: string; -} - -export interface QuestionnaireResponseItemAnswer extends BackboneElement { - item?: QuestionnaireResponseItem[]; - valueAttachment?: Attachment; - valueBoolean?: boolean; - valueCoding?: Coding; - valueDate?: string; - valueDateTime?: string; - valueDecimal?: number; - valueInteger?: number; - valueQuantity?: Quantity; - valueReference?: Reference<"Resource">; - valueString?: string; - valueTime?: string; - valueUri?: string; -} - -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse (pkg: hl7.fhir.r4.core#4.0.1) -export interface QuestionnaireResponse extends DomainResource { - resourceType: "QuestionnaireResponse"; - - author?: Reference<"Device" | "Organization" | "Patient" | "Practitioner" | "PractitionerRole" | "RelatedPerson">; - authored?: string; - _authored?: Element; - basedOn?: Reference<"CarePlan" | "ServiceRequest">[]; - encounter?: Reference<"Encounter">; - identifier?: Identifier; - item?: QuestionnaireResponseItem[]; - partOf?: Reference<"Observation" | "Procedure">[]; - questionnaire?: string; - _questionnaire?: Element; - source?: Reference<"Patient" | "Practitioner" | "PractitionerRole" | "RelatedPerson">; - status: ("in-progress" | "completed" | "amended" | "entered-in-error" | "stopped"); - _status?: Element; - subject?: Reference<"Resource">; -} -export const isQuestionnaireResponse = (resource: unknown): resource is QuestionnaireResponse => { - return resource !== null && typeof resource === "object" && (resource as {resourceType: string}).resourceType === "QuestionnaireResponse"; -} 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 deleted file mode 100644 index 887797f6d..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/RelatedPerson.ts +++ /dev/null @@ -1,54 +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 { Address } from "../hl7-fhir-r4-core/Address"; -import type { Attachment } from "../hl7-fhir-r4-core/Attachment"; -import type { BackboneElement } from "../hl7-fhir-r4-core/BackboneElement"; -import type { CodeableConcept } from "../hl7-fhir-r4-core/CodeableConcept"; -import type { ContactPoint } from "../hl7-fhir-r4-core/ContactPoint"; -import type { DomainResource } from "../hl7-fhir-r4-core/DomainResource"; -import type { HumanName } from "../hl7-fhir-r4-core/HumanName"; -import type { Identifier } from "../hl7-fhir-r4-core/Identifier"; -import type { Period } from "../hl7-fhir-r4-core/Period"; -import type { Reference } from "../hl7-fhir-r4-core/Reference"; - -import type { Element } from "../hl7-fhir-r4-core/Element"; -export type { Address } from "../hl7-fhir-r4-core/Address"; -export type { Attachment } from "../hl7-fhir-r4-core/Attachment"; -export type { BackboneElement } from "../hl7-fhir-r4-core/BackboneElement"; -export type { CodeableConcept } from "../hl7-fhir-r4-core/CodeableConcept"; -export type { ContactPoint } from "../hl7-fhir-r4-core/ContactPoint"; -export type { HumanName } from "../hl7-fhir-r4-core/HumanName"; -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"; - -export interface RelatedPersonCommunication extends BackboneElement { - 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 (pkg: hl7.fhir.r4.core#4.0.1) -export interface RelatedPerson extends DomainResource { - resourceType: "RelatedPerson"; - - active?: boolean; - _active?: Element; - address?: Address[]; - birthDate?: string; - _birthDate?: Element; - communication?: RelatedPersonCommunication[]; - gender?: ("male" | "female" | "other" | "unknown"); - _gender?: Element; - identifier?: Identifier[]; - name?: HumanName[]; - patient: Reference<"Patient">; - period?: Period; - photo?: Attachment[]; - 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 => { - return resource !== null && typeof resource === "object" && (resource as {resourceType: string}).resourceType === "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 deleted file mode 100644 index b4c89b7e0..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/Request.ts +++ /dev/null @@ -1,6 +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. - -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/Request (pkg: hl7.fhir.r4.core#4.0.1) -export type Request = object; 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 deleted file mode 100644 index c7693da76..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/RequestGroup.ts +++ /dev/null @@ -1,103 +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 { Age } from "../hl7-fhir-r4-core/Age"; -import type { Annotation } from "../hl7-fhir-r4-core/Annotation"; -import type { BackboneElement } from "../hl7-fhir-r4-core/BackboneElement"; -import type { CodeableConcept } from "../hl7-fhir-r4-core/CodeableConcept"; -import type { DomainResource } from "../hl7-fhir-r4-core/DomainResource"; -import type { Duration } from "../hl7-fhir-r4-core/Duration"; -import type { Expression } from "../hl7-fhir-r4-core/Expression"; -import type { Identifier } from "../hl7-fhir-r4-core/Identifier"; -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"; -import type { RelatedArtifact } from "../hl7-fhir-r4-core/RelatedArtifact"; -import type { Timing } from "../hl7-fhir-r4-core/Timing"; - -import type { Element } from "../hl7-fhir-r4-core/Element"; -export type { Age } from "../hl7-fhir-r4-core/Age"; -export type { Annotation } from "../hl7-fhir-r4-core/Annotation"; -export type { BackboneElement } from "../hl7-fhir-r4-core/BackboneElement"; -export type { CodeableConcept } from "../hl7-fhir-r4-core/CodeableConcept"; -export type { Duration } from "../hl7-fhir-r4-core/Duration"; -export type { Expression } from "../hl7-fhir-r4-core/Expression"; -export type { Identifier } from "../hl7-fhir-r4-core/Identifier"; -export type { Period } from "../hl7-fhir-r4-core/Period"; -export type { Range } from "../hl7-fhir-r4-core/Range"; -export type { Reference } from "../hl7-fhir-r4-core/Reference"; -export type { RelatedArtifact } from "../hl7-fhir-r4-core/RelatedArtifact"; -export type { Timing } from "../hl7-fhir-r4-core/Timing"; - -export interface RequestGroupAction extends BackboneElement { - action?: RequestGroupAction[]; - cardinalityBehavior?: ("single" | "multiple"); - code?: CodeableConcept[]; - condition?: RequestGroupActionCondition[]; - description?: string; - documentation?: RelatedArtifact[]; - groupingBehavior?: ("visual-group" | "logical-group" | "sentence-group"); - participant?: Reference<"Device" | "Patient" | "Practitioner" | "PractitionerRole" | "RelatedPerson">[]; - precheckBehavior?: ("yes" | "no"); - prefix?: string; - priority?: ("routine" | "urgent" | "asap" | "stat"); - relatedAction?: RequestGroupActionRelatedAction[]; - requiredBehavior?: ("must" | "could" | "must-unless-documented"); - resource?: Reference<"Resource">; - selectionBehavior?: ("any" | "all" | "all-or-none" | "exactly-one" | "at-most-one" | "one-or-more"); - textEquivalent?: string; - timingAge?: Age; - timingDateTime?: string; - timingDuration?: Duration; - timingPeriod?: Period; - timingRange?: Range; - timingTiming?: Timing; - title?: string; - type?: CodeableConcept<("create" | "update" | "remove" | "fire-event" | string)>; -} - -export interface RequestGroupActionCondition extends BackboneElement { - expression?: Expression; - kind: ("applicability" | "start" | "stop"); -} - -export interface RequestGroupActionRelatedAction extends BackboneElement { - actionId: string; - offsetDuration?: Duration; - offsetRange?: Range; - 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 (pkg: hl7.fhir.r4.core#4.0.1) -export interface RequestGroup extends DomainResource { - resourceType: "RequestGroup"; - - action?: RequestGroupAction[]; - author?: Reference<"Device" | "Practitioner" | "PractitionerRole">; - authoredOn?: string; - _authoredOn?: Element; - basedOn?: Reference<"Resource">[]; - code?: CodeableConcept; - encounter?: Reference<"Encounter">; - groupIdentifier?: Identifier; - identifier?: Identifier[]; - instantiatesCanonical?: string[]; - _instantiatesCanonical?: (Element | null)[]; - instantiatesUri?: string[]; - _instantiatesUri?: (Element | null)[]; - intent: ("proposal" | "plan" | "directive" | "order" | "original-order" | "reflex-order" | "filler-order" | "instance-order" | "option"); - _intent?: Element; - note?: Annotation[]; - priority?: ("routine" | "urgent" | "asap" | "stat"); - _priority?: Element; - reasonCode?: CodeableConcept[]; - reasonReference?: Reference<"Condition" | "DiagnosticReport" | "DocumentReference" | "Observation">[]; - replaces?: Reference<"Resource">[]; - status: ("draft" | "active" | "on-hold" | "revoked" | "completed" | "entered-in-error" | "unknown"); - _status?: Element; - subject?: Reference<"Group" | "Patient">; -} -export const isRequestGroup = (resource: unknown): resource is RequestGroup => { - return resource !== null && typeof resource === "object" && (resource as {resourceType: string}).resourceType === "RequestGroup"; -} 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 deleted file mode 100644 index 09cfe1279..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/ResearchDefinition.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 { CodeableConcept } from "../hl7-fhir-r4-core/CodeableConcept"; -import type { ContactDetail } from "../hl7-fhir-r4-core/ContactDetail"; -import type { DomainResource } from "../hl7-fhir-r4-core/DomainResource"; -import type { Identifier } from "../hl7-fhir-r4-core/Identifier"; -import type { Period } from "../hl7-fhir-r4-core/Period"; -import type { Reference } from "../hl7-fhir-r4-core/Reference"; -import type { RelatedArtifact } from "../hl7-fhir-r4-core/RelatedArtifact"; -import type { UsageContext } from "../hl7-fhir-r4-core/UsageContext"; - -import type { Element } from "../hl7-fhir-r4-core/Element"; -export type { CodeableConcept } from "../hl7-fhir-r4-core/CodeableConcept"; -export type { ContactDetail } from "../hl7-fhir-r4-core/ContactDetail"; -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"; -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 (pkg: hl7.fhir.r4.core#4.0.1) -export interface ResearchDefinition extends DomainResource { - resourceType: "ResearchDefinition"; - - approvalDate?: string; - _approvalDate?: Element; - author?: ContactDetail[]; - comment?: string[]; - _comment?: (Element | null)[]; - contact?: ContactDetail[]; - copyright?: string; - _copyright?: Element; - date?: string; - _date?: Element; - description?: string; - _description?: Element; - editor?: ContactDetail[]; - effectivePeriod?: Period; - endorser?: ContactDetail[]; - experimental?: boolean; - _experimental?: Element; - exposure?: Reference<"ResearchElementDefinition">; - exposureAlternative?: Reference<"ResearchElementDefinition">; - identifier?: Identifier[]; - jurisdiction?: CodeableConcept[]; - lastReviewDate?: string; - _lastReviewDate?: Element; - library?: string[]; - _library?: (Element | null)[]; - name?: string; - _name?: Element; - outcome?: Reference<"ResearchElementDefinition">; - population: Reference<"ResearchElementDefinition">; - publisher?: string; - _publisher?: Element; - purpose?: string; - _purpose?: Element; - relatedArtifact?: RelatedArtifact[]; - reviewer?: ContactDetail[]; - shortTitle?: string; - _shortTitle?: Element; - status: ("draft" | "active" | "retired" | "unknown"); - _status?: Element; - subjectCodeableConcept?: CodeableConcept; - subjectReference?: Reference<"Group">; - subtitle?: string; - _subtitle?: Element; - title?: string; - _title?: Element; - topic?: CodeableConcept[]; - url?: string; - _url?: Element; - usage?: string; - _usage?: Element; - useContext?: UsageContext[]; - version?: string; - _version?: Element; -} -export const isResearchDefinition = (resource: unknown): resource is ResearchDefinition => { - return resource !== null && typeof resource === "object" && (resource as {resourceType: string}).resourceType === "ResearchDefinition"; -} 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 deleted file mode 100644 index c06768f5b..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/ResearchElementDefinition.ts +++ /dev/null @@ -1,118 +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 { BackboneElement } from "../hl7-fhir-r4-core/BackboneElement"; -import type { CodeableConcept } from "../hl7-fhir-r4-core/CodeableConcept"; -import type { ContactDetail } from "../hl7-fhir-r4-core/ContactDetail"; -import type { DataRequirement } from "../hl7-fhir-r4-core/DataRequirement"; -import type { DomainResource } from "../hl7-fhir-r4-core/DomainResource"; -import type { Duration } from "../hl7-fhir-r4-core/Duration"; -import type { Expression } from "../hl7-fhir-r4-core/Expression"; -import type { Identifier } from "../hl7-fhir-r4-core/Identifier"; -import type { Period } from "../hl7-fhir-r4-core/Period"; -import type { Reference } from "../hl7-fhir-r4-core/Reference"; -import type { RelatedArtifact } from "../hl7-fhir-r4-core/RelatedArtifact"; -import type { Timing } from "../hl7-fhir-r4-core/Timing"; -import type { UsageContext } from "../hl7-fhir-r4-core/UsageContext"; - -import type { Element } from "../hl7-fhir-r4-core/Element"; -export type { BackboneElement } from "../hl7-fhir-r4-core/BackboneElement"; -export type { CodeableConcept } from "../hl7-fhir-r4-core/CodeableConcept"; -export type { ContactDetail } from "../hl7-fhir-r4-core/ContactDetail"; -export type { DataRequirement } from "../hl7-fhir-r4-core/DataRequirement"; -export type { Duration } from "../hl7-fhir-r4-core/Duration"; -export type { Expression } from "../hl7-fhir-r4-core/Expression"; -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"; -export type { RelatedArtifact } from "../hl7-fhir-r4-core/RelatedArtifact"; -export type { Timing } from "../hl7-fhir-r4-core/Timing"; -export type { UsageContext } from "../hl7-fhir-r4-core/UsageContext"; - -export interface ResearchElementDefinitionCharacteristic extends BackboneElement { - definitionCanonical?: string; - definitionCodeableConcept?: CodeableConcept; - definitionDataRequirement?: DataRequirement; - definitionExpression?: Expression; - exclude?: boolean; - participantEffectiveDateTime?: string; - participantEffectiveDescription?: string; - participantEffectiveDuration?: Duration; - participantEffectiveGroupMeasure?: ("mean" | "median" | "mean-of-mean" | "mean-of-median" | "median-of-mean" | "median-of-median"); - participantEffectivePeriod?: Period; - participantEffectiveTimeFromStart?: Duration; - participantEffectiveTiming?: Timing; - studyEffectiveDateTime?: string; - studyEffectiveDescription?: string; - studyEffectiveDuration?: Duration; - studyEffectiveGroupMeasure?: ("mean" | "median" | "mean-of-mean" | "mean-of-median" | "median-of-mean" | "median-of-median"); - studyEffectivePeriod?: Period; - studyEffectiveTimeFromStart?: Duration; - studyEffectiveTiming?: Timing; - unitOfMeasure?: CodeableConcept; - usageContext?: UsageContext[]; -} - -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/ResearchElementDefinition (pkg: hl7.fhir.r4.core#4.0.1) -export interface ResearchElementDefinition extends DomainResource { - resourceType: "ResearchElementDefinition"; - - approvalDate?: string; - _approvalDate?: Element; - author?: ContactDetail[]; - characteristic: ResearchElementDefinitionCharacteristic[]; - comment?: string[]; - _comment?: (Element | null)[]; - contact?: ContactDetail[]; - copyright?: string; - _copyright?: Element; - date?: string; - _date?: Element; - description?: string; - _description?: Element; - editor?: ContactDetail[]; - effectivePeriod?: Period; - endorser?: ContactDetail[]; - experimental?: boolean; - _experimental?: Element; - identifier?: Identifier[]; - jurisdiction?: CodeableConcept[]; - lastReviewDate?: string; - _lastReviewDate?: Element; - library?: string[]; - _library?: (Element | null)[]; - name?: string; - _name?: Element; - publisher?: string; - _publisher?: Element; - purpose?: string; - _purpose?: Element; - relatedArtifact?: RelatedArtifact[]; - reviewer?: ContactDetail[]; - shortTitle?: string; - _shortTitle?: Element; - status: ("draft" | "active" | "retired" | "unknown"); - _status?: Element; - subjectCodeableConcept?: CodeableConcept; - subjectReference?: Reference<"Group">; - subtitle?: string; - _subtitle?: Element; - title?: string; - _title?: Element; - topic?: CodeableConcept[]; - type: ("population" | "exposure" | "outcome"); - _type?: Element; - url?: string; - _url?: Element; - usage?: string; - _usage?: Element; - useContext?: UsageContext[]; - variableType?: ("dichotomous" | "continuous" | "descriptive"); - _variableType?: Element; - version?: string; - _version?: Element; -} -export const isResearchElementDefinition = (resource: unknown): resource is ResearchElementDefinition => { - return resource !== null && typeof resource === "object" && (resource as {resourceType: string}).resourceType === "ResearchElementDefinition"; -} 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 deleted file mode 100644 index 4b252fb80..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/ResearchStudy.ts +++ /dev/null @@ -1,70 +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 { Annotation } from "../hl7-fhir-r4-core/Annotation"; -import type { BackboneElement } from "../hl7-fhir-r4-core/BackboneElement"; -import type { CodeableConcept } from "../hl7-fhir-r4-core/CodeableConcept"; -import type { ContactDetail } from "../hl7-fhir-r4-core/ContactDetail"; -import type { DomainResource } from "../hl7-fhir-r4-core/DomainResource"; -import type { Identifier } from "../hl7-fhir-r4-core/Identifier"; -import type { Period } from "../hl7-fhir-r4-core/Period"; -import type { Reference } from "../hl7-fhir-r4-core/Reference"; -import type { RelatedArtifact } from "../hl7-fhir-r4-core/RelatedArtifact"; - -import type { Element } from "../hl7-fhir-r4-core/Element"; -export type { Annotation } from "../hl7-fhir-r4-core/Annotation"; -export type { BackboneElement } from "../hl7-fhir-r4-core/BackboneElement"; -export type { CodeableConcept } from "../hl7-fhir-r4-core/CodeableConcept"; -export type { ContactDetail } from "../hl7-fhir-r4-core/ContactDetail"; -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"; -export type { RelatedArtifact } from "../hl7-fhir-r4-core/RelatedArtifact"; - -export interface ResearchStudyArm extends BackboneElement { - description?: string; - name: string; - type?: CodeableConcept; -} - -export interface ResearchStudyObjective extends BackboneElement { - name?: string; - type?: CodeableConcept<("primary" | "secondary" | "exploratory" | string)>; -} - -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/ResearchStudy (pkg: hl7.fhir.r4.core#4.0.1) -export interface ResearchStudy extends DomainResource { - resourceType: "ResearchStudy"; - - arm?: ResearchStudyArm[]; - category?: CodeableConcept[]; - condition?: CodeableConcept[]; - contact?: ContactDetail[]; - description?: string; - _description?: Element; - enrollment?: Reference<"Group">[]; - focus?: CodeableConcept[]; - identifier?: Identifier[]; - keyword?: CodeableConcept[]; - location?: CodeableConcept[]; - note?: Annotation[]; - objective?: ResearchStudyObjective[]; - partOf?: Reference<"ResearchStudy">[]; - period?: Period; - phase?: 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; - relatedArtifact?: RelatedArtifact[]; - site?: Reference<"Location">[]; - sponsor?: Reference<"Organization">; - status: ("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"); - _status?: Element; - title?: string; - _title?: Element; -} -export const isResearchStudy = (resource: unknown): resource is ResearchStudy => { - return resource !== null && typeof resource === "object" && (resource as {resourceType: string}).resourceType === "ResearchStudy"; -} 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 deleted file mode 100644 index 0a02f66b2..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/ResearchSubject.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 { DomainResource } from "../hl7-fhir-r4-core/DomainResource"; -import type { Identifier } from "../hl7-fhir-r4-core/Identifier"; -import type { Period } from "../hl7-fhir-r4-core/Period"; -import type { Reference } from "../hl7-fhir-r4-core/Reference"; - -import type { Element } from "../hl7-fhir-r4-core/Element"; -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 (pkg: hl7.fhir.r4.core#4.0.1) -export interface ResearchSubject extends DomainResource { - resourceType: "ResearchSubject"; - - actualArm?: string; - _actualArm?: Element; - assignedArm?: string; - _assignedArm?: Element; - consent?: Reference<"Consent">; - identifier?: Identifier[]; - individual: Reference<"Patient">; - period?: Period; - status: ("candidate" | "eligible" | "follow-up" | "ineligible" | "not-registered" | "off-study" | "on-study" | "on-study-intervention" | "on-study-observation" | "pending-on-study" | "potential-candidate" | "screening" | "withdrawn"); - _status?: Element; - study: Reference<"ResearchStudy">; -} -export const isResearchSubject = (resource: unknown): resource is ResearchSubject => { - return resource !== null && typeof resource === "object" && (resource as {resourceType: string}).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 acc7af03c..56b489b7c 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 @@ -9,7 +9,7 @@ export type { Meta } from "../hl7-fhir-r4-core/Meta"; // CanonicalURL: http://hl7.org/fhir/StructureDefinition/Resource (pkg: hl7.fhir.r4.core#4.0.1) export interface Resource { - 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"; + resourceType: "DomainResource" | "Observation" | "Patient" | "Resource"; id?: string; _id?: Element; 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 deleted file mode 100644 index f34a856ea..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/RiskAssessment.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 { Annotation } from "../hl7-fhir-r4-core/Annotation"; -import type { BackboneElement } from "../hl7-fhir-r4-core/BackboneElement"; -import type { CodeableConcept } from "../hl7-fhir-r4-core/CodeableConcept"; -import type { DomainResource } from "../hl7-fhir-r4-core/DomainResource"; -import type { Identifier } from "../hl7-fhir-r4-core/Identifier"; -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"; - -import type { Element } from "../hl7-fhir-r4-core/Element"; -export type { Annotation } from "../hl7-fhir-r4-core/Annotation"; -export type { BackboneElement } from "../hl7-fhir-r4-core/BackboneElement"; -export type { CodeableConcept } from "../hl7-fhir-r4-core/CodeableConcept"; -export type { Identifier } from "../hl7-fhir-r4-core/Identifier"; -export type { Period } from "../hl7-fhir-r4-core/Period"; -export type { Range } from "../hl7-fhir-r4-core/Range"; -export type { Reference } from "../hl7-fhir-r4-core/Reference"; - -export interface RiskAssessmentPrediction extends BackboneElement { - outcome?: CodeableConcept; - probabilityDecimal?: number; - probabilityRange?: Range; - qualitativeRisk?: CodeableConcept; - rationale?: string; - relativeRisk?: number; - whenPeriod?: Period; - whenRange?: Range; -} - -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/RiskAssessment (pkg: hl7.fhir.r4.core#4.0.1) -export interface RiskAssessment extends DomainResource { - resourceType: "RiskAssessment"; - - basedOn?: Reference<"Resource">; - basis?: Reference<"Resource">[]; - code?: CodeableConcept; - condition?: Reference<"Condition">; - encounter?: Reference<"Encounter">; - identifier?: Identifier[]; - method?: CodeableConcept; - mitigation?: string; - _mitigation?: Element; - note?: Annotation[]; - occurrenceDateTime?: string; - _occurrenceDateTime?: Element; - occurrencePeriod?: Period; - parent?: Reference<"Resource">; - performer?: Reference<"Device" | "Practitioner" | "PractitionerRole">; - prediction?: RiskAssessmentPrediction[]; - reasonCode?: CodeableConcept[]; - reasonReference?: Reference<"Condition" | "DiagnosticReport" | "DocumentReference" | "Observation">[]; - status: ("registered" | "preliminary" | "final" | "amended" | "corrected" | "cancelled" | "entered-in-error" | "unknown"); - _status?: Element; - subject: Reference<"Group" | "Patient">; -} -export const isRiskAssessment = (resource: unknown): resource is RiskAssessment => { - return resource !== null && typeof resource === "object" && (resource as {resourceType: string}).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 deleted file mode 100644 index 722d3ed65..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/RiskEvidenceSynthesis.ts +++ /dev/null @@ -1,111 +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 { Annotation } from "../hl7-fhir-r4-core/Annotation"; -import type { BackboneElement } from "../hl7-fhir-r4-core/BackboneElement"; -import type { CodeableConcept } from "../hl7-fhir-r4-core/CodeableConcept"; -import type { ContactDetail } from "../hl7-fhir-r4-core/ContactDetail"; -import type { DomainResource } from "../hl7-fhir-r4-core/DomainResource"; -import type { Identifier } from "../hl7-fhir-r4-core/Identifier"; -import type { Period } from "../hl7-fhir-r4-core/Period"; -import type { Reference } from "../hl7-fhir-r4-core/Reference"; -import type { RelatedArtifact } from "../hl7-fhir-r4-core/RelatedArtifact"; -import type { UsageContext } from "../hl7-fhir-r4-core/UsageContext"; - -import type { Element } from "../hl7-fhir-r4-core/Element"; -export type { Annotation } from "../hl7-fhir-r4-core/Annotation"; -export type { BackboneElement } from "../hl7-fhir-r4-core/BackboneElement"; -export type { CodeableConcept } from "../hl7-fhir-r4-core/CodeableConcept"; -export type { ContactDetail } from "../hl7-fhir-r4-core/ContactDetail"; -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"; -export type { RelatedArtifact } from "../hl7-fhir-r4-core/RelatedArtifact"; -export type { UsageContext } from "../hl7-fhir-r4-core/UsageContext"; - -export interface RiskEvidenceSynthesisCertainty extends BackboneElement { - certaintySubcomponent?: RiskEvidenceSynthesisCertaintyCertaintySubcomponent[]; - note?: Annotation[]; - rating?: CodeableConcept<("high" | "moderate" | "low" | "very-low" | string)>[]; -} - -export interface RiskEvidenceSynthesisCertaintyCertaintySubcomponent extends BackboneElement { - note?: Annotation[]; - 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 { - denominatorCount?: number; - description?: string; - numeratorCount?: number; - precisionEstimate?: RiskEvidenceSynthesisRiskEstimatePrecisionEstimate[]; - type?: CodeableConcept<("proportion" | "derivedProportion" | "mean" | "median" | "count" | "descriptive" | string)>; - unitOfMeasure?: CodeableConcept; - value?: number; -} - -export interface RiskEvidenceSynthesisRiskEstimatePrecisionEstimate extends BackboneElement { - from?: number; - level?: number; - to?: number; - type?: CodeableConcept<("CI" | "IQR" | "SD" | "SE" | string)>; -} - -export interface RiskEvidenceSynthesisSampleSize extends BackboneElement { - description?: string; - numberOfParticipants?: number; - numberOfStudies?: number; -} - -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/RiskEvidenceSynthesis (pkg: hl7.fhir.r4.core#4.0.1) -export interface RiskEvidenceSynthesis extends DomainResource { - resourceType: "RiskEvidenceSynthesis"; - - approvalDate?: string; - _approvalDate?: Element; - author?: ContactDetail[]; - certainty?: RiskEvidenceSynthesisCertainty[]; - contact?: ContactDetail[]; - copyright?: string; - _copyright?: Element; - date?: string; - _date?: Element; - description?: string; - _description?: Element; - editor?: ContactDetail[]; - effectivePeriod?: Period; - endorser?: ContactDetail[]; - exposure?: Reference<"EvidenceVariable">; - identifier?: Identifier[]; - jurisdiction?: CodeableConcept[]; - lastReviewDate?: string; - _lastReviewDate?: Element; - name?: string; - _name?: Element; - note?: Annotation[]; - outcome: Reference<"EvidenceVariable">; - population: Reference<"EvidenceVariable">; - publisher?: string; - _publisher?: Element; - relatedArtifact?: RelatedArtifact[]; - reviewer?: ContactDetail[]; - riskEstimate?: RiskEvidenceSynthesisRiskEstimate; - sampleSize?: RiskEvidenceSynthesisSampleSize; - status: ("draft" | "active" | "retired" | "unknown"); - _status?: Element; - 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[]; - url?: string; - _url?: Element; - useContext?: UsageContext[]; - version?: string; - _version?: Element; -} -export const isRiskEvidenceSynthesis = (resource: unknown): resource is RiskEvidenceSynthesis => { - return resource !== null && typeof resource === "object" && (resource as {resourceType: string}).resourceType === "RiskEvidenceSynthesis"; -} 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 deleted file mode 100644 index 2183a73b1..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/Schedule.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 { CodeableConcept } from "../hl7-fhir-r4-core/CodeableConcept"; -import type { DomainResource } from "../hl7-fhir-r4-core/DomainResource"; -import type { Identifier } from "../hl7-fhir-r4-core/Identifier"; -import type { Period } from "../hl7-fhir-r4-core/Period"; -import type { Reference } from "../hl7-fhir-r4-core/Reference"; - -import type { Element } from "../hl7-fhir-r4-core/Element"; -export type { CodeableConcept } from "../hl7-fhir-r4-core/CodeableConcept"; -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 (pkg: hl7.fhir.r4.core#4.0.1) -export interface Schedule extends DomainResource { - resourceType: "Schedule"; - - active?: boolean; - _active?: Element; - actor: Reference<"Device" | "HealthcareService" | "Location" | "Patient" | "Practitioner" | "PractitionerRole" | "RelatedPerson">[]; - comment?: string; - _comment?: Element; - identifier?: Identifier[]; - planningHorizon?: Period; - serviceCategory?: CodeableConcept[]; - serviceType?: CodeableConcept[]; - specialty?: CodeableConcept[]; -} -export const isSchedule = (resource: unknown): resource is Schedule => { - return resource !== null && typeof resource === "object" && (resource as {resourceType: string}).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 deleted file mode 100644 index 178fe0bc3..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/SearchParameter.ts +++ /dev/null @@ -1,77 +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 { BackboneElement } from "../hl7-fhir-r4-core/BackboneElement"; -import type { CodeableConcept } from "../hl7-fhir-r4-core/CodeableConcept"; -import type { ContactDetail } from "../hl7-fhir-r4-core/ContactDetail"; -import type { DomainResource } from "../hl7-fhir-r4-core/DomainResource"; -import type { UsageContext } from "../hl7-fhir-r4-core/UsageContext"; - -import type { Element } from "../hl7-fhir-r4-core/Element"; -export type { BackboneElement } from "../hl7-fhir-r4-core/BackboneElement"; -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"; - -export interface SearchParameterComponent extends BackboneElement { - definition: string; - expression: string; -} - -// 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 | null)[]; - chain?: string[]; - _chain?: (Element | null)[]; - code: string; - _code?: Element; - comparator?: ("eq" | "ne" | "gt" | "lt" | "ge" | "le" | "sa" | "eb" | "ap")[]; - _comparator?: (Element | null)[]; - component?: SearchParameterComponent[]; - contact?: ContactDetail[]; - date?: string; - _date?: Element; - derivedFrom?: string; - _derivedFrom?: Element; - description: string; - _description?: Element; - experimental?: boolean; - _experimental?: Element; - expression?: string; - _expression?: Element; - jurisdiction?: CodeableConcept[]; - modifier?: ("missing" | "exact" | "contains" | "not" | "text" | "in" | "not-in" | "below" | "above" | "type" | "identifier" | "ofType")[]; - _modifier?: (Element | null)[]; - multipleAnd?: boolean; - _multipleAnd?: Element; - multipleOr?: boolean; - _multipleOr?: Element; - name: string; - _name?: Element; - publisher?: string; - _publisher?: Element; - purpose?: string; - _purpose?: Element; - status: ("draft" | "active" | "retired" | "unknown"); - _status?: Element; - target?: string[]; - _target?: (Element | null)[]; - type: ("number" | "date" | "string" | "token" | "reference" | "composite" | "quantity" | "uri" | "special"); - _type?: Element; - url: string; - _url?: Element; - useContext?: UsageContext[]; - version?: string; - _version?: Element; - xpath?: string; - _xpath?: Element; - xpathUsage?: ("normal" | "phonetic" | "nearby" | "distance" | "other"); - _xpathUsage?: Element; -} -export const isSearchParameter = (resource: unknown): resource is SearchParameter => { - return resource !== null && typeof resource === "object" && (resource as {resourceType: string}).resourceType === "SearchParameter"; -} 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 deleted file mode 100644 index b848e25b9..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/ServiceRequest.ts +++ /dev/null @@ -1,82 +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 { Annotation } from "../hl7-fhir-r4-core/Annotation"; -import type { CodeableConcept } from "../hl7-fhir-r4-core/CodeableConcept"; -import type { DomainResource } from "../hl7-fhir-r4-core/DomainResource"; -import type { Identifier } from "../hl7-fhir-r4-core/Identifier"; -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 { Timing } from "../hl7-fhir-r4-core/Timing"; - -import type { Element } from "../hl7-fhir-r4-core/Element"; -export type { Annotation } from "../hl7-fhir-r4-core/Annotation"; -export type { CodeableConcept } from "../hl7-fhir-r4-core/CodeableConcept"; -export type { Identifier } from "../hl7-fhir-r4-core/Identifier"; -export type { Period } from "../hl7-fhir-r4-core/Period"; -export type { Quantity } from "../hl7-fhir-r4-core/Quantity"; -export type { Range } from "../hl7-fhir-r4-core/Range"; -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 (pkg: hl7.fhir.r4.core#4.0.1) -export interface ServiceRequest extends DomainResource { - resourceType: "ServiceRequest"; - - asNeededBoolean?: boolean; - _asNeededBoolean?: Element; - asNeededCodeableConcept?: CodeableConcept; - authoredOn?: string; - _authoredOn?: Element; - basedOn?: Reference<"CarePlan" | "MedicationRequest" | "ServiceRequest">[]; - bodySite?: CodeableConcept[]; - category?: CodeableConcept[]; - code?: CodeableConcept; - doNotPerform?: boolean; - _doNotPerform?: Element; - encounter?: Reference<"Encounter">; - identifier?: Identifier[]; - instantiatesCanonical?: string[]; - _instantiatesCanonical?: (Element | null)[]; - instantiatesUri?: string[]; - _instantiatesUri?: (Element | null)[]; - insurance?: Reference<"ClaimResponse" | "Coverage">[]; - intent: ("proposal" | "plan" | "directive" | "order" | "original-order" | "reflex-order" | "filler-order" | "instance-order" | "option"); - _intent?: Element; - locationCode?: CodeableConcept[]; - locationReference?: Reference<"Location">[]; - note?: Annotation[]; - occurrenceDateTime?: string; - _occurrenceDateTime?: Element; - occurrencePeriod?: Period; - occurrenceTiming?: Timing; - orderDetail?: CodeableConcept[]; - patientInstruction?: string; - _patientInstruction?: Element; - performer?: Reference<"CareTeam" | "Device" | "HealthcareService" | "Organization" | "Patient" | "Practitioner" | "PractitionerRole" | "RelatedPerson">[]; - performerType?: CodeableConcept; - priority?: ("routine" | "urgent" | "asap" | "stat"); - _priority?: Element; - quantityQuantity?: Quantity; - quantityRange?: Range; - quantityRatio?: Ratio; - reasonCode?: CodeableConcept[]; - reasonReference?: Reference<"Condition" | "DiagnosticReport" | "DocumentReference" | "Observation">[]; - relevantHistory?: Reference<"Provenance">[]; - replaces?: Reference<"ServiceRequest">[]; - requester?: Reference<"Device" | "Organization" | "Patient" | "Practitioner" | "PractitionerRole" | "RelatedPerson">; - requisition?: Identifier; - specimen?: Reference<"Specimen">[]; - status: ("draft" | "active" | "on-hold" | "revoked" | "completed" | "entered-in-error" | "unknown"); - _status?: Element; - subject: Reference<"Device" | "Group" | "Location" | "Patient">; - supportingInfo?: Reference<"Resource">[]; -} -export const isServiceRequest = (resource: unknown): resource is ServiceRequest => { - return resource !== null && typeof resource === "object" && (resource as {resourceType: string}).resourceType === "ServiceRequest"; -} 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 deleted file mode 100644 index 359400e27..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/Slot.ts +++ /dev/null @@ -1,38 +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 { DomainResource } from "../hl7-fhir-r4-core/DomainResource"; -import type { Identifier } from "../hl7-fhir-r4-core/Identifier"; -import type { Reference } from "../hl7-fhir-r4-core/Reference"; - -import type { Element } from "../hl7-fhir-r4-core/Element"; -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 (pkg: hl7.fhir.r4.core#4.0.1) -export interface Slot extends DomainResource { - resourceType: "Slot"; - - appointmentType?: CodeableConcept<("CHECKUP" | "EMERGENCY" | "FOLLOWUP" | "ROUTINE" | "WALKIN" | string)>; - comment?: string; - _comment?: Element; - end: string; - _end?: Element; - identifier?: Identifier[]; - overbooked?: boolean; - _overbooked?: Element; - schedule: Reference<"Schedule">; - serviceCategory?: CodeableConcept[]; - serviceType?: CodeableConcept[]; - specialty?: CodeableConcept[]; - start: string; - _start?: Element; - status: ("busy" | "free" | "busy-unavailable" | "busy-tentative" | "entered-in-error"); - _status?: Element; -} -export const isSlot = (resource: unknown): resource is Slot => { - return resource !== null && typeof resource === "object" && (resource as {resourceType: string}).resourceType === "Slot"; -} 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 deleted file mode 100644 index d8fadca8f..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/Specimen.ts +++ /dev/null @@ -1,77 +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 { Annotation } from "../hl7-fhir-r4-core/Annotation"; -import type { BackboneElement } from "../hl7-fhir-r4-core/BackboneElement"; -import type { CodeableConcept } from "../hl7-fhir-r4-core/CodeableConcept"; -import type { DomainResource } from "../hl7-fhir-r4-core/DomainResource"; -import type { Duration } from "../hl7-fhir-r4-core/Duration"; -import type { Identifier } from "../hl7-fhir-r4-core/Identifier"; -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"; - -import type { Element } from "../hl7-fhir-r4-core/Element"; -export type { Annotation } from "../hl7-fhir-r4-core/Annotation"; -export type { BackboneElement } from "../hl7-fhir-r4-core/BackboneElement"; -export type { CodeableConcept } from "../hl7-fhir-r4-core/CodeableConcept"; -export type { Duration } from "../hl7-fhir-r4-core/Duration"; -export type { Identifier } from "../hl7-fhir-r4-core/Identifier"; -export type { Period } from "../hl7-fhir-r4-core/Period"; -export type { Quantity } from "../hl7-fhir-r4-core/Quantity"; -export type { Reference } from "../hl7-fhir-r4-core/Reference"; - -export interface SpecimenCollection extends BackboneElement { - bodySite?: CodeableConcept; - collectedDateTime?: string; - collectedPeriod?: Period; - collector?: Reference<"Practitioner" | "PractitionerRole">; - duration?: Duration; - fastingStatusCodeableConcept?: CodeableConcept; - fastingStatusDuration?: Duration; - method?: CodeableConcept; - quantity?: Quantity; -} - -export interface SpecimenContainer extends BackboneElement { - additiveCodeableConcept?: CodeableConcept; - additiveReference?: Reference<"Substance">; - capacity?: Quantity; - description?: string; - identifier?: Identifier[]; - specimenQuantity?: Quantity; - type?: CodeableConcept; -} - -export interface SpecimenProcessing extends BackboneElement { - additive?: Reference<"Substance">[]; - description?: string; - procedure?: CodeableConcept; - timeDateTime?: string; - timePeriod?: Period; -} - -// 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<("AUT" | "CFU" | "CLOT" | "CON" | "COOL" | "FROZ" | "HEM" | "LIVE" | "ROOM" | "SNR" | string)>[]; - container?: SpecimenContainer[]; - identifier?: Identifier[]; - note?: Annotation[]; - parent?: Reference<"Specimen">[]; - processing?: SpecimenProcessing[]; - receivedTime?: string; - _receivedTime?: Element; - request?: Reference<"ServiceRequest">[]; - status?: ("available" | "unavailable" | "unsatisfactory" | "entered-in-error"); - _status?: Element; - subject?: Reference<"Device" | "Group" | "Location" | "Patient" | "Substance">; - type?: CodeableConcept; -} -export const isSpecimen = (resource: unknown): resource is Specimen => { - return resource !== null && typeof resource === "object" && (resource as {resourceType: string}).resourceType === "Specimen"; -} 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 deleted file mode 100644 index 98baeb5c4..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/SpecimenDefinition.ts +++ /dev/null @@ -1,72 +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 { BackboneElement } from "../hl7-fhir-r4-core/BackboneElement"; -import type { CodeableConcept } from "../hl7-fhir-r4-core/CodeableConcept"; -import type { DomainResource } from "../hl7-fhir-r4-core/DomainResource"; -import type { Duration } from "../hl7-fhir-r4-core/Duration"; -import type { Identifier } from "../hl7-fhir-r4-core/Identifier"; -import type { Quantity } from "../hl7-fhir-r4-core/Quantity"; -import type { Range } from "../hl7-fhir-r4-core/Range"; -import type { Reference } from "../hl7-fhir-r4-core/Reference"; - -import type { Element } from "../hl7-fhir-r4-core/Element"; -export type { BackboneElement } from "../hl7-fhir-r4-core/BackboneElement"; -export type { CodeableConcept } from "../hl7-fhir-r4-core/CodeableConcept"; -export type { Duration } from "../hl7-fhir-r4-core/Duration"; -export type { Identifier } from "../hl7-fhir-r4-core/Identifier"; -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"; - -export interface SpecimenDefinitionTypeTested extends BackboneElement { - container?: SpecimenDefinitionTypeTestedContainer; - handling?: SpecimenDefinitionTypeTestedHandling[]; - isDerived?: boolean; - preference: ("preferred" | "alternate"); - rejectionCriterion?: CodeableConcept[]; - requirement?: string; - retentionTime?: Duration; - type?: CodeableConcept; -} - -export interface SpecimenDefinitionTypeTestedContainer extends BackboneElement { - additive?: SpecimenDefinitionTypeTestedContainerAdditive[]; - cap?: CodeableConcept; - capacity?: Quantity; - description?: string; - material?: CodeableConcept; - minimumVolumeQuantity?: Quantity; - minimumVolumeString?: string; - preparation?: string; - type?: CodeableConcept; -} - -export interface SpecimenDefinitionTypeTestedContainerAdditive extends BackboneElement { - additiveCodeableConcept?: CodeableConcept; - additiveReference?: Reference<"Substance">; -} - -export interface SpecimenDefinitionTypeTestedHandling extends BackboneElement { - instruction?: string; - maxDuration?: Duration; - temperatureQualifier?: CodeableConcept; - temperatureRange?: Range; -} - -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/SpecimenDefinition (pkg: hl7.fhir.r4.core#4.0.1) -export interface SpecimenDefinition extends DomainResource { - resourceType: "SpecimenDefinition"; - - collection?: CodeableConcept[]; - identifier?: Identifier; - patientPreparation?: CodeableConcept[]; - timeAspect?: string; - _timeAspect?: Element; - typeCollected?: CodeableConcept; - typeTested?: SpecimenDefinitionTypeTested[]; -} -export const isSpecimenDefinition = (resource: unknown): resource is SpecimenDefinition => { - return resource !== null && typeof resource === "object" && (resource as {resourceType: string}).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 deleted file mode 100644 index e5399670a..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/StructureDefinition.ts +++ /dev/null @@ -1,95 +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 { BackboneElement } from "../hl7-fhir-r4-core/BackboneElement"; -import type { CodeableConcept } from "../hl7-fhir-r4-core/CodeableConcept"; -import type { Coding } from "../hl7-fhir-r4-core/Coding"; -import type { ContactDetail } from "../hl7-fhir-r4-core/ContactDetail"; -import type { DomainResource } from "../hl7-fhir-r4-core/DomainResource"; -import type { ElementDefinition } from "../hl7-fhir-r4-core/ElementDefinition"; -import type { Identifier } from "../hl7-fhir-r4-core/Identifier"; -import type { UsageContext } from "../hl7-fhir-r4-core/UsageContext"; - -import type { Element } from "../hl7-fhir-r4-core/Element"; -export type { BackboneElement } from "../hl7-fhir-r4-core/BackboneElement"; -export type { CodeableConcept } from "../hl7-fhir-r4-core/CodeableConcept"; -export type { Coding } from "../hl7-fhir-r4-core/Coding"; -export type { ContactDetail } from "../hl7-fhir-r4-core/ContactDetail"; -export type { ElementDefinition } from "../hl7-fhir-r4-core/ElementDefinition"; -export type { Identifier } from "../hl7-fhir-r4-core/Identifier"; -export type { UsageContext } from "../hl7-fhir-r4-core/UsageContext"; - -export interface StructureDefinitionContext extends BackboneElement { - expression: string; - type: ("fhirpath" | "element" | "extension"); -} - -export interface StructureDefinitionDifferential extends BackboneElement { - element: ElementDefinition[]; -} - -export interface StructureDefinitionMapping extends BackboneElement { - comment?: string; - identity: string; - name?: string; - uri?: string; -} - -export interface StructureDefinitionSnapshot extends BackboneElement { - element: ElementDefinition[]; -} - -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/StructureDefinition (pkg: hl7.fhir.r4.core#4.0.1) -export interface StructureDefinition extends DomainResource { - resourceType: "StructureDefinition"; - - abstract: boolean; - _abstract?: Element; - baseDefinition?: string; - _baseDefinition?: Element; - contact?: ContactDetail[]; - context?: StructureDefinitionContext[]; - contextInvariant?: string[]; - _contextInvariant?: (Element | null)[]; - copyright?: string; - _copyright?: Element; - date?: string; - _date?: Element; - derivation?: ("specialization" | "constraint"); - _derivation?: Element; - description?: string; - _description?: Element; - differential?: StructureDefinitionDifferential; - 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; - identifier?: Identifier[]; - jurisdiction?: CodeableConcept[]; - keyword?: Coding<("fhir-structure" | "custom-resource" | "dam" | "wire-format" | "archetype" | "template" | string)>[]; - kind: ("primitive-type" | "complex-type" | "resource" | "logical"); - _kind?: Element; - mapping?: StructureDefinitionMapping[]; - name: string; - _name?: Element; - publisher?: string; - _publisher?: Element; - purpose?: string; - _purpose?: Element; - snapshot?: StructureDefinitionSnapshot; - status: ("draft" | "active" | "retired" | "unknown"); - _status?: Element; - title?: string; - _title?: Element; - type: string; - _type?: Element; - url: string; - _url?: Element; - useContext?: UsageContext[]; - version?: string; - _version?: Element; -} -export const isStructureDefinition = (resource: unknown): resource is StructureDefinition => { - return resource !== null && typeof resource === "object" && (resource as {resourceType: string}).resourceType === "StructureDefinition"; -} 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 deleted file mode 100644 index 7e1aeeae1..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/StructureMap.ts +++ /dev/null @@ -1,229 +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 { Address } from "../hl7-fhir-r4-core/Address"; -import type { Age } from "../hl7-fhir-r4-core/Age"; -import type { Annotation } from "../hl7-fhir-r4-core/Annotation"; -import type { Attachment } from "../hl7-fhir-r4-core/Attachment"; -import type { BackboneElement } from "../hl7-fhir-r4-core/BackboneElement"; -import type { CodeableConcept } from "../hl7-fhir-r4-core/CodeableConcept"; -import type { Coding } from "../hl7-fhir-r4-core/Coding"; -import type { ContactDetail } from "../hl7-fhir-r4-core/ContactDetail"; -import type { ContactPoint } from "../hl7-fhir-r4-core/ContactPoint"; -import type { Contributor } from "../hl7-fhir-r4-core/Contributor"; -import type { Count } from "../hl7-fhir-r4-core/Count"; -import type { DataRequirement } from "../hl7-fhir-r4-core/DataRequirement"; -import type { Distance } from "../hl7-fhir-r4-core/Distance"; -import type { DomainResource } from "../hl7-fhir-r4-core/DomainResource"; -import type { Dosage } from "../hl7-fhir-r4-core/Dosage"; -import type { Duration } from "../hl7-fhir-r4-core/Duration"; -import type { Expression } from "../hl7-fhir-r4-core/Expression"; -import type { HumanName } from "../hl7-fhir-r4-core/HumanName"; -import type { Identifier } from "../hl7-fhir-r4-core/Identifier"; -import type { Meta } from "../hl7-fhir-r4-core/Meta"; -import type { Money } from "../hl7-fhir-r4-core/Money"; -import type { ParameterDefinition } from "../hl7-fhir-r4-core/ParameterDefinition"; -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 { RelatedArtifact } from "../hl7-fhir-r4-core/RelatedArtifact"; -import type { SampledData } from "../hl7-fhir-r4-core/SampledData"; -import type { Signature } from "../hl7-fhir-r4-core/Signature"; -import type { Timing } from "../hl7-fhir-r4-core/Timing"; -import type { TriggerDefinition } from "../hl7-fhir-r4-core/TriggerDefinition"; -import type { UsageContext } from "../hl7-fhir-r4-core/UsageContext"; - -import type { Element } from "../hl7-fhir-r4-core/Element"; -export type { Address } from "../hl7-fhir-r4-core/Address"; -export type { Age } from "../hl7-fhir-r4-core/Age"; -export type { Annotation } from "../hl7-fhir-r4-core/Annotation"; -export type { Attachment } from "../hl7-fhir-r4-core/Attachment"; -export type { BackboneElement } from "../hl7-fhir-r4-core/BackboneElement"; -export type { CodeableConcept } from "../hl7-fhir-r4-core/CodeableConcept"; -export type { Coding } from "../hl7-fhir-r4-core/Coding"; -export type { ContactDetail } from "../hl7-fhir-r4-core/ContactDetail"; -export type { ContactPoint } from "../hl7-fhir-r4-core/ContactPoint"; -export type { Contributor } from "../hl7-fhir-r4-core/Contributor"; -export type { Count } from "../hl7-fhir-r4-core/Count"; -export type { DataRequirement } from "../hl7-fhir-r4-core/DataRequirement"; -export type { Distance } from "../hl7-fhir-r4-core/Distance"; -export type { Dosage } from "../hl7-fhir-r4-core/Dosage"; -export type { Duration } from "../hl7-fhir-r4-core/Duration"; -export type { Expression } from "../hl7-fhir-r4-core/Expression"; -export type { HumanName } from "../hl7-fhir-r4-core/HumanName"; -export type { Identifier } from "../hl7-fhir-r4-core/Identifier"; -export type { Meta } from "../hl7-fhir-r4-core/Meta"; -export type { Money } from "../hl7-fhir-r4-core/Money"; -export type { ParameterDefinition } from "../hl7-fhir-r4-core/ParameterDefinition"; -export type { Period } from "../hl7-fhir-r4-core/Period"; -export type { Quantity } from "../hl7-fhir-r4-core/Quantity"; -export type { Range } from "../hl7-fhir-r4-core/Range"; -export type { Ratio } from "../hl7-fhir-r4-core/Ratio"; -export type { Reference } from "../hl7-fhir-r4-core/Reference"; -export type { RelatedArtifact } from "../hl7-fhir-r4-core/RelatedArtifact"; -export type { SampledData } from "../hl7-fhir-r4-core/SampledData"; -export type { Signature } from "../hl7-fhir-r4-core/Signature"; -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"; - -export interface StructureMapGroup extends BackboneElement { - documentation?: string; - extends?: string; - input: StructureMapGroupInput[]; - name: string; - rule: StructureMapGroupRule[]; - typeMode: ("none" | "types" | "type-and-types"); -} - -export interface StructureMapGroupInput extends BackboneElement { - documentation?: string; - mode: ("source" | "target"); - name: string; - type?: string; -} - -export interface StructureMapGroupRule extends BackboneElement { - dependent?: StructureMapGroupRuleDependent[]; - documentation?: string; - name: string; - rule?: StructureMapGroupRule[]; - source: StructureMapGroupRuleSource[]; - target?: StructureMapGroupRuleTarget[]; -} - -export interface StructureMapGroupRuleDependent extends BackboneElement { - name: string; - variable: string[]; -} - -export interface StructureMapGroupRuleSource extends BackboneElement { - check?: string; - condition?: string; - context: string; - defaultValueAddress?: Address; - defaultValueAge?: Age; - defaultValueAnnotation?: Annotation; - defaultValueAttachment?: Attachment; - defaultValueBase64Binary?: string; - defaultValueBoolean?: boolean; - defaultValueCanonical?: string; - defaultValueCode?: string; - defaultValueCodeableConcept?: CodeableConcept; - defaultValueCoding?: Coding; - defaultValueContactDetail?: ContactDetail; - defaultValueContactPoint?: ContactPoint; - defaultValueContributor?: Contributor; - defaultValueCount?: Count; - defaultValueDataRequirement?: DataRequirement; - defaultValueDate?: string; - defaultValueDateTime?: string; - defaultValueDecimal?: number; - defaultValueDistance?: Distance; - defaultValueDosage?: Dosage; - defaultValueDuration?: Duration; - defaultValueExpression?: Expression; - defaultValueHumanName?: HumanName; - defaultValueId?: string; - defaultValueIdentifier?: Identifier; - defaultValueInstant?: string; - defaultValueInteger?: number; - defaultValueMarkdown?: string; - defaultValueMeta?: Meta; - defaultValueMoney?: Money; - defaultValueOid?: string; - defaultValueParameterDefinition?: ParameterDefinition; - defaultValuePeriod?: Period; - defaultValuePositiveInt?: number; - defaultValueQuantity?: Quantity; - defaultValueRange?: Range; - defaultValueRatio?: Ratio; - defaultValueReference?: Reference; - defaultValueRelatedArtifact?: RelatedArtifact; - defaultValueSampledData?: SampledData; - defaultValueSignature?: Signature; - defaultValueString?: string; - defaultValueTime?: string; - defaultValueTiming?: Timing; - defaultValueTriggerDefinition?: TriggerDefinition; - defaultValueUnsignedInt?: number; - defaultValueUri?: string; - defaultValueUrl?: string; - defaultValueUsageContext?: UsageContext; - defaultValueUuid?: string; - element?: string; - listMode?: ("first" | "not_first" | "last" | "not_last" | "only_one"); - logMessage?: string; - max?: string; - min?: number; - type?: string; - variable?: string; -} - -export interface StructureMapGroupRuleTarget extends BackboneElement { - context?: string; - contextType?: ("type" | "variable"); - element?: string; - listMode?: ("first" | "share" | "last" | "collate")[]; - listRuleId?: string; - parameter?: StructureMapGroupRuleTargetParameter[]; - transform?: ("create" | "copy" | "truncate" | "escape" | "cast" | "append" | "translate" | "reference" | "dateOp" | "uuid" | "pointer" | "evaluate" | "cc" | "c" | "qty" | "id" | "cp"); - variable?: string; -} - -export interface StructureMapGroupRuleTargetParameter extends BackboneElement { - valueBoolean?: boolean; - valueDecimal?: number; - valueId?: string; - valueInteger?: number; - valueString?: string; -} - -export interface StructureMapStructure extends BackboneElement { - alias?: string; - documentation?: string; - mode: ("source" | "queried" | "target" | "produced"); - url: string; -} - -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/StructureMap (pkg: hl7.fhir.r4.core#4.0.1) -export interface StructureMap extends DomainResource { - resourceType: "StructureMap"; - - contact?: ContactDetail[]; - copyright?: string; - _copyright?: Element; - date?: string; - _date?: Element; - description?: string; - _description?: Element; - experimental?: boolean; - _experimental?: Element; - group: StructureMapGroup[]; - identifier?: Identifier[]; - "import"?: string[]; - _import?: (Element | null)[]; - jurisdiction?: CodeableConcept[]; - name: string; - _name?: Element; - publisher?: string; - _publisher?: Element; - purpose?: string; - _purpose?: Element; - status: ("draft" | "active" | "retired" | "unknown"); - _status?: Element; - structure?: StructureMapStructure[]; - title?: string; - _title?: Element; - url: string; - _url?: Element; - useContext?: UsageContext[]; - version?: string; - _version?: Element; -} -export const isStructureMap = (resource: unknown): resource is StructureMap => { - return resource !== null && typeof resource === "object" && (resource as {resourceType: string}).resourceType === "StructureMap"; -} 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 deleted file mode 100644 index e2bab54d0..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/Subscription.ts +++ /dev/null @@ -1,39 +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 { BackboneElement } from "../hl7-fhir-r4-core/BackboneElement"; -import type { ContactPoint } from "../hl7-fhir-r4-core/ContactPoint"; -import type { DomainResource } from "../hl7-fhir-r4-core/DomainResource"; - -import type { Element } from "../hl7-fhir-r4-core/Element"; -export type { BackboneElement } from "../hl7-fhir-r4-core/BackboneElement"; -export type { ContactPoint } from "../hl7-fhir-r4-core/ContactPoint"; - -export interface SubscriptionChannel extends BackboneElement { - endpoint?: string; - header?: string[]; - payload?: string; - type: ("rest-hook" | "websocket" | "email" | "sms" | "message"); -} - -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/Subscription (pkg: hl7.fhir.r4.core#4.0.1) -export interface Subscription extends DomainResource { - resourceType: "Subscription"; - - channel: SubscriptionChannel; - contact?: ContactPoint[]; - criteria: string; - _criteria?: Element; - end?: string; - _end?: Element; - error?: string; - _error?: Element; - reason: string; - _reason?: Element; - status: ("requested" | "active" | "error" | "off"); - _status?: Element; -} -export const isSubscription = (resource: unknown): resource is Subscription => { - return resource !== null && typeof resource === "object" && (resource as {resourceType: string}).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 deleted file mode 100644 index 6eb9a28f2..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/Substance.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 { BackboneElement } from "../hl7-fhir-r4-core/BackboneElement"; -import type { CodeableConcept } from "../hl7-fhir-r4-core/CodeableConcept"; -import type { DomainResource } from "../hl7-fhir-r4-core/DomainResource"; -import type { Identifier } from "../hl7-fhir-r4-core/Identifier"; -import type { Quantity } from "../hl7-fhir-r4-core/Quantity"; -import type { Ratio } from "../hl7-fhir-r4-core/Ratio"; -import type { Reference } from "../hl7-fhir-r4-core/Reference"; - -import type { Element } from "../hl7-fhir-r4-core/Element"; -export type { BackboneElement } from "../hl7-fhir-r4-core/BackboneElement"; -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"; -export type { Ratio } from "../hl7-fhir-r4-core/Ratio"; -export type { Reference } from "../hl7-fhir-r4-core/Reference"; - -export interface SubstanceIngredient extends BackboneElement { - quantity?: Ratio; - substanceCodeableConcept?: CodeableConcept; - substanceReference?: Reference<"Substance">; -} - -export interface SubstanceInstance extends BackboneElement { - expiry?: string; - identifier?: Identifier; - quantity?: Quantity; -} - -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/Substance (pkg: hl7.fhir.r4.core#4.0.1) -export interface Substance extends DomainResource { - resourceType: "Substance"; - - category?: CodeableConcept<("allergen" | "biological" | "body" | "chemical" | "food" | "drug" | "material" | string)>[]; - code: CodeableConcept; - description?: string; - _description?: Element; - identifier?: Identifier[]; - ingredient?: SubstanceIngredient[]; - instance?: SubstanceInstance[]; - status?: ("active" | "inactive" | "entered-in-error"); - _status?: Element; -} -export const isSubstance = (resource: unknown): resource is Substance => { - return resource !== null && typeof resource === "object" && (resource as {resourceType: string}).resourceType === "Substance"; -} 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 deleted file mode 100644 index a8af10401..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/SubstanceAmount.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 { BackboneElement } from "../hl7-fhir-r4-core/BackboneElement"; -import type { CodeableConcept } from "../hl7-fhir-r4-core/CodeableConcept"; -import type { Element } from "../hl7-fhir-r4-core/Element"; -import type { Quantity } from "../hl7-fhir-r4-core/Quantity"; -import type { Range } from "../hl7-fhir-r4-core/Range"; - -export type { BackboneElement } from "../hl7-fhir-r4-core/BackboneElement"; -export type { CodeableConcept } from "../hl7-fhir-r4-core/CodeableConcept"; -export type { Element } from "../hl7-fhir-r4-core/Element"; -export type { Quantity } from "../hl7-fhir-r4-core/Quantity"; -export type { Range } from "../hl7-fhir-r4-core/Range"; - -export interface SubstanceAmountReferenceRange extends Element { - highLimit?: Quantity; - lowLimit?: Quantity; -} - -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/SubstanceAmount (pkg: hl7.fhir.r4.core#4.0.1) -export interface SubstanceAmount extends BackboneElement { - amountQuantity?: Quantity; - amountRange?: Range; - amountString?: string; - _amountString?: Element; - amountText?: string; - _amountText?: Element; - amountType?: CodeableConcept; - 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 deleted file mode 100644 index 048167bac..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/SubstanceNucleicAcid.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 { Attachment } from "../hl7-fhir-r4-core/Attachment"; -import type { BackboneElement } from "../hl7-fhir-r4-core/BackboneElement"; -import type { CodeableConcept } from "../hl7-fhir-r4-core/CodeableConcept"; -import type { DomainResource } from "../hl7-fhir-r4-core/DomainResource"; -import type { Identifier } from "../hl7-fhir-r4-core/Identifier"; - -import type { Element } from "../hl7-fhir-r4-core/Element"; -export type { Attachment } from "../hl7-fhir-r4-core/Attachment"; -export type { BackboneElement } from "../hl7-fhir-r4-core/BackboneElement"; -export type { CodeableConcept } from "../hl7-fhir-r4-core/CodeableConcept"; -export type { Identifier } from "../hl7-fhir-r4-core/Identifier"; - -export interface SubstanceNucleicAcidSubunit extends BackboneElement { - fivePrime?: CodeableConcept; - length?: number; - linkage?: SubstanceNucleicAcidSubunitLinkage[]; - sequence?: string; - sequenceAttachment?: Attachment; - subunit?: number; - sugar?: SubstanceNucleicAcidSubunitSugar[]; - threePrime?: CodeableConcept; -} - -export interface SubstanceNucleicAcidSubunitLinkage extends BackboneElement { - connectivity?: string; - identifier?: Identifier; - name?: string; - residueSite?: string; -} - -export interface SubstanceNucleicAcidSubunitSugar extends BackboneElement { - identifier?: Identifier; - name?: string; - residueSite?: string; -} - -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/SubstanceNucleicAcid (pkg: hl7.fhir.r4.core#4.0.1) -export interface SubstanceNucleicAcid extends DomainResource { - resourceType: "SubstanceNucleicAcid"; - - areaOfHybridisation?: string; - _areaOfHybridisation?: Element; - numberOfSubunits?: number; - _numberOfSubunits?: Element; - oligoNucleotideType?: CodeableConcept; - sequenceType?: CodeableConcept; - subunit?: SubstanceNucleicAcidSubunit[]; -} -export const isSubstanceNucleicAcid = (resource: unknown): resource is SubstanceNucleicAcid => { - return resource !== null && typeof resource === "object" && (resource as {resourceType: string}).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 deleted file mode 100644 index e7f5ec785..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/SubstancePolymer.ts +++ /dev/null @@ -1,69 +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-r4-core/Attachment"; -import type { BackboneElement } from "../hl7-fhir-r4-core/BackboneElement"; -import type { CodeableConcept } from "../hl7-fhir-r4-core/CodeableConcept"; -import type { DomainResource } from "../hl7-fhir-r4-core/DomainResource"; -import type { SubstanceAmount } from "../hl7-fhir-r4-core/SubstanceAmount"; - -import type { Element } from "../hl7-fhir-r4-core/Element"; -export type { Attachment } from "../hl7-fhir-r4-core/Attachment"; -export type { BackboneElement } from "../hl7-fhir-r4-core/BackboneElement"; -export type { CodeableConcept } from "../hl7-fhir-r4-core/CodeableConcept"; -export type { SubstanceAmount } from "../hl7-fhir-r4-core/SubstanceAmount"; - -export interface SubstancePolymerMonomerSet extends BackboneElement { - ratioType?: CodeableConcept; - startingMaterial?: SubstancePolymerMonomerSetStartingMaterial[]; -} - -export interface SubstancePolymerMonomerSetStartingMaterial extends BackboneElement { - amount?: SubstanceAmount; - isDefining?: boolean; - material?: CodeableConcept; - type?: CodeableConcept; -} - -export interface SubstancePolymerRepeat extends BackboneElement { - averageMolecularFormula?: string; - numberOfUnits?: number; - repeatUnit?: SubstancePolymerRepeatRepeatUnit[]; - repeatUnitAmountType?: CodeableConcept; -} - -export interface SubstancePolymerRepeatRepeatUnit extends BackboneElement { - amount?: SubstanceAmount; - degreeOfPolymerisation?: SubstancePolymerRepeatRepeatUnitDegreeOfPolymerisation[]; - orientationOfPolymerisation?: CodeableConcept; - repeatUnit?: string; - structuralRepresentation?: SubstancePolymerRepeatRepeatUnitStructuralRepresentation[]; -} - -export interface SubstancePolymerRepeatRepeatUnitDegreeOfPolymerisation extends BackboneElement { - amount?: SubstanceAmount; - degree?: CodeableConcept; -} - -export interface SubstancePolymerRepeatRepeatUnitStructuralRepresentation extends BackboneElement { - attachment?: Attachment; - representation?: string; - type?: CodeableConcept; -} - -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/SubstancePolymer (pkg: hl7.fhir.r4.core#4.0.1) -export interface SubstancePolymer extends DomainResource { - resourceType: "SubstancePolymer"; - - "class"?: CodeableConcept; - copolymerConnectivity?: CodeableConcept[]; - geometry?: CodeableConcept; - modification?: string[]; - _modification?: (Element | null)[]; - monomerSet?: SubstancePolymerMonomerSet[]; - repeat?: SubstancePolymerRepeat[]; -} -export const isSubstancePolymer = (resource: unknown): resource is SubstancePolymer => { - return resource !== null && typeof resource === "object" && (resource as {resourceType: string}).resourceType === "SubstancePolymer"; -} 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 deleted file mode 100644 index 3edb00f94..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/SubstanceProtein.ts +++ /dev/null @@ -1,41 +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-r4-core/Attachment"; -import type { BackboneElement } from "../hl7-fhir-r4-core/BackboneElement"; -import type { CodeableConcept } from "../hl7-fhir-r4-core/CodeableConcept"; -import type { DomainResource } from "../hl7-fhir-r4-core/DomainResource"; -import type { Identifier } from "../hl7-fhir-r4-core/Identifier"; - -import type { Element } from "../hl7-fhir-r4-core/Element"; -export type { Attachment } from "../hl7-fhir-r4-core/Attachment"; -export type { BackboneElement } from "../hl7-fhir-r4-core/BackboneElement"; -export type { CodeableConcept } from "../hl7-fhir-r4-core/CodeableConcept"; -export type { Identifier } from "../hl7-fhir-r4-core/Identifier"; - -export interface SubstanceProteinSubunit extends BackboneElement { - cTerminalModification?: string; - cTerminalModificationId?: Identifier; - length?: number; - nTerminalModification?: string; - nTerminalModificationId?: Identifier; - sequence?: string; - sequenceAttachment?: Attachment; - subunit?: number; -} - -// 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 | null)[]; - numberOfSubunits?: number; - _numberOfSubunits?: Element; - sequenceType?: CodeableConcept; - subunit?: SubstanceProteinSubunit[]; -} -export const isSubstanceProtein = (resource: unknown): resource is SubstanceProtein => { - return resource !== null && typeof resource === "object" && (resource as {resourceType: string}).resourceType === "SubstanceProtein"; -} 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 deleted file mode 100644 index f3f61d475..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/SubstanceReferenceInformation.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 { BackboneElement } from "../hl7-fhir-r4-core/BackboneElement"; -import type { CodeableConcept } from "../hl7-fhir-r4-core/CodeableConcept"; -import type { DomainResource } from "../hl7-fhir-r4-core/DomainResource"; -import type { Identifier } from "../hl7-fhir-r4-core/Identifier"; -import type { Quantity } from "../hl7-fhir-r4-core/Quantity"; -import type { Range } from "../hl7-fhir-r4-core/Range"; -import type { Reference } from "../hl7-fhir-r4-core/Reference"; - -import type { Element } from "../hl7-fhir-r4-core/Element"; -export type { BackboneElement } from "../hl7-fhir-r4-core/BackboneElement"; -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"; -export type { Range } from "../hl7-fhir-r4-core/Range"; -export type { Reference } from "../hl7-fhir-r4-core/Reference"; - -export interface SubstanceReferenceInformationClassification extends BackboneElement { - classification?: CodeableConcept; - domain?: CodeableConcept; - source?: Reference<"DocumentReference">[]; - subtype?: CodeableConcept[]; -} - -export interface SubstanceReferenceInformationGene extends BackboneElement { - gene?: CodeableConcept; - geneSequenceOrigin?: CodeableConcept; - source?: Reference<"DocumentReference">[]; -} - -export interface SubstanceReferenceInformationGeneElement extends BackboneElement { - element?: Identifier; - source?: Reference<"DocumentReference">[]; - type?: CodeableConcept; -} - -export interface SubstanceReferenceInformationTarget extends BackboneElement { - amountQuantity?: Quantity; - amountRange?: Range; - amountString?: string; - amountType?: CodeableConcept; - interaction?: CodeableConcept; - organism?: CodeableConcept; - organismType?: CodeableConcept; - source?: Reference<"DocumentReference">[]; - target?: Identifier; - type?: CodeableConcept; -} - -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/SubstanceReferenceInformation (pkg: hl7.fhir.r4.core#4.0.1) -export interface SubstanceReferenceInformation extends DomainResource { - resourceType: "SubstanceReferenceInformation"; - - classification?: SubstanceReferenceInformationClassification[]; - comment?: string; - _comment?: Element; - gene?: SubstanceReferenceInformationGene[]; - geneElement?: SubstanceReferenceInformationGeneElement[]; - target?: SubstanceReferenceInformationTarget[]; -} -export const isSubstanceReferenceInformation = (resource: unknown): resource is SubstanceReferenceInformation => { - return resource !== null && typeof resource === "object" && (resource as {resourceType: string}).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 deleted file mode 100644 index a87a73064..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/SubstanceSourceMaterial.ts +++ /dev/null @@ -1,79 +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 { BackboneElement } from "../hl7-fhir-r4-core/BackboneElement"; -import type { CodeableConcept } from "../hl7-fhir-r4-core/CodeableConcept"; -import type { DomainResource } from "../hl7-fhir-r4-core/DomainResource"; -import type { Identifier } from "../hl7-fhir-r4-core/Identifier"; - -import type { Element } from "../hl7-fhir-r4-core/Element"; -export type { BackboneElement } from "../hl7-fhir-r4-core/BackboneElement"; -export type { CodeableConcept } from "../hl7-fhir-r4-core/CodeableConcept"; -export type { Identifier } from "../hl7-fhir-r4-core/Identifier"; - -export interface SubstanceSourceMaterialFractionDescription extends BackboneElement { - fraction?: string; - materialType?: CodeableConcept; -} - -export interface SubstanceSourceMaterialOrganism extends BackboneElement { - author?: SubstanceSourceMaterialOrganismAuthor[]; - family?: CodeableConcept; - genus?: CodeableConcept; - hybrid?: SubstanceSourceMaterialOrganismHybrid; - intraspecificDescription?: string; - intraspecificType?: CodeableConcept; - organismGeneral?: SubstanceSourceMaterialOrganismOrganismGeneral; - species?: CodeableConcept; -} - -export interface SubstanceSourceMaterialOrganismAuthor extends BackboneElement { - authorDescription?: string; - authorType?: CodeableConcept; -} - -export interface SubstanceSourceMaterialOrganismHybrid extends BackboneElement { - hybridType?: CodeableConcept; - maternalOrganismId?: string; - maternalOrganismName?: string; - paternalOrganismId?: string; - paternalOrganismName?: string; -} - -export interface SubstanceSourceMaterialOrganismOrganismGeneral extends BackboneElement { - "class"?: CodeableConcept; - kingdom?: CodeableConcept; - order?: CodeableConcept; - phylum?: CodeableConcept; -} - -export interface SubstanceSourceMaterialPartDescription extends BackboneElement { - part?: CodeableConcept; - partLocation?: CodeableConcept; -} - -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/SubstanceSourceMaterial (pkg: hl7.fhir.r4.core#4.0.1) -export interface SubstanceSourceMaterial extends DomainResource { - resourceType: "SubstanceSourceMaterial"; - - countryOfOrigin?: CodeableConcept[]; - developmentStage?: CodeableConcept; - fractionDescription?: SubstanceSourceMaterialFractionDescription[]; - geographicalLocation?: string[]; - _geographicalLocation?: (Element | null)[]; - organism?: SubstanceSourceMaterialOrganism; - organismId?: Identifier; - organismName?: string; - _organismName?: Element; - parentSubstanceId?: Identifier[]; - parentSubstanceName?: string[]; - _parentSubstanceName?: (Element | null)[]; - partDescription?: SubstanceSourceMaterialPartDescription[]; - sourceMaterialClass?: CodeableConcept; - sourceMaterialState?: CodeableConcept; - sourceMaterialType?: CodeableConcept; -} -export const isSubstanceSourceMaterial = (resource: unknown): resource is SubstanceSourceMaterial => { - return resource !== null && typeof resource === "object" && (resource as {resourceType: string}).resourceType === "SubstanceSourceMaterial"; -} 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 deleted file mode 100644 index 17bb0afb7..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/SubstanceSpecification.ts +++ /dev/null @@ -1,147 +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-r4-core/Attachment"; -import type { BackboneElement } from "../hl7-fhir-r4-core/BackboneElement"; -import type { CodeableConcept } from "../hl7-fhir-r4-core/CodeableConcept"; -import type { DomainResource } from "../hl7-fhir-r4-core/DomainResource"; -import type { Identifier } from "../hl7-fhir-r4-core/Identifier"; -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 { Element } from "../hl7-fhir-r4-core/Element"; -export type { Attachment } from "../hl7-fhir-r4-core/Attachment"; -export type { BackboneElement } from "../hl7-fhir-r4-core/BackboneElement"; -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"; -export type { Range } from "../hl7-fhir-r4-core/Range"; -export type { Ratio } from "../hl7-fhir-r4-core/Ratio"; -export type { Reference } from "../hl7-fhir-r4-core/Reference"; - -export interface SubstanceSpecificationCode extends BackboneElement { - code?: CodeableConcept; - comment?: string; - source?: Reference<"DocumentReference">[]; - status?: CodeableConcept; - statusDate?: string; -} - -export interface SubstanceSpecificationMoiety extends BackboneElement { - amountQuantity?: Quantity; - amountString?: string; - identifier?: Identifier; - molecularFormula?: string; - name?: string; - opticalActivity?: CodeableConcept; - role?: CodeableConcept; - stereochemistry?: CodeableConcept; -} - -export interface SubstanceSpecificationName extends BackboneElement { - domain?: CodeableConcept[]; - jurisdiction?: CodeableConcept[]; - language?: CodeableConcept[]; - name: string; - official?: SubstanceSpecificationNameOfficial[]; - preferred?: boolean; - source?: Reference<"DocumentReference">[]; - status?: CodeableConcept; - synonym?: SubstanceSpecificationName[]; - translation?: SubstanceSpecificationName[]; - type?: CodeableConcept; -} - -export interface SubstanceSpecificationNameOfficial extends BackboneElement { - authority?: CodeableConcept; - date?: string; - status?: CodeableConcept; -} - -export interface SubstanceSpecificationProperty extends BackboneElement { - amountQuantity?: Quantity; - amountString?: string; - category?: CodeableConcept; - code?: CodeableConcept; - definingSubstanceCodeableConcept?: CodeableConcept; - definingSubstanceReference?: Reference<"Substance" | "SubstanceSpecification">; - parameters?: string; -} - -export interface SubstanceSpecificationRelationship extends BackboneElement { - amountQuantity?: Quantity; - amountRange?: Range; - amountRatio?: Ratio; - amountRatioLowLimit?: Ratio; - amountString?: string; - amountType?: CodeableConcept; - isDefining?: boolean; - relationship?: CodeableConcept; - source?: Reference<"DocumentReference">[]; - substanceCodeableConcept?: CodeableConcept; - substanceReference?: Reference<"SubstanceSpecification">; -} - -export interface SubstanceSpecificationStructure extends BackboneElement { - isotope?: SubstanceSpecificationStructureIsotope[]; - molecularFormula?: string; - molecularFormulaByMoiety?: string; - molecularWeight?: SubstanceSpecificationStructureIsotopeMolecularWeight; - opticalActivity?: CodeableConcept; - representation?: SubstanceSpecificationStructureRepresentation[]; - source?: Reference<"DocumentReference">[]; - stereochemistry?: CodeableConcept; -} - -export interface SubstanceSpecificationStructureIsotope extends BackboneElement { - halfLife?: Quantity; - identifier?: Identifier; - molecularWeight?: SubstanceSpecificationStructureIsotopeMolecularWeight; - name?: CodeableConcept; - substitution?: CodeableConcept; -} - -export interface SubstanceSpecificationStructureIsotopeMolecularWeight extends BackboneElement { - amount?: Quantity; - method?: CodeableConcept; - type?: CodeableConcept; -} - -export interface SubstanceSpecificationStructureRepresentation extends BackboneElement { - attachment?: Attachment; - representation?: string; - type?: CodeableConcept; -} - -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/SubstanceSpecification (pkg: hl7.fhir.r4.core#4.0.1) -export interface SubstanceSpecification extends DomainResource { - resourceType: "SubstanceSpecification"; - - code?: SubstanceSpecificationCode[]; - comment?: string; - _comment?: Element; - description?: string; - _description?: Element; - domain?: CodeableConcept; - identifier?: Identifier; - moiety?: SubstanceSpecificationMoiety[]; - molecularWeight?: SubstanceSpecificationStructureIsotopeMolecularWeight[]; - name?: SubstanceSpecificationName[]; - nucleicAcid?: Reference<"SubstanceNucleicAcid">; - polymer?: Reference<"SubstancePolymer">; - property?: SubstanceSpecificationProperty[]; - protein?: Reference<"SubstanceProtein">; - referenceInformation?: Reference<"SubstanceReferenceInformation">; - relationship?: SubstanceSpecificationRelationship[]; - source?: Reference<"DocumentReference">[]; - sourceMaterial?: Reference<"SubstanceSourceMaterial">; - status?: CodeableConcept; - structure?: SubstanceSpecificationStructure; - type?: CodeableConcept; -} -export const isSubstanceSpecification = (resource: unknown): resource is SubstanceSpecification => { - return resource !== null && typeof resource === "object" && (resource as {resourceType: string}).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 deleted file mode 100644 index dd757cf1d..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/SupplyDelivery.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 { BackboneElement } from "../hl7-fhir-r4-core/BackboneElement"; -import type { CodeableConcept } from "../hl7-fhir-r4-core/CodeableConcept"; -import type { DomainResource } from "../hl7-fhir-r4-core/DomainResource"; -import type { Identifier } from "../hl7-fhir-r4-core/Identifier"; -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"; -import type { Timing } from "../hl7-fhir-r4-core/Timing"; - -import type { Element } from "../hl7-fhir-r4-core/Element"; -export type { BackboneElement } from "../hl7-fhir-r4-core/BackboneElement"; -export type { CodeableConcept } from "../hl7-fhir-r4-core/CodeableConcept"; -export type { Identifier } from "../hl7-fhir-r4-core/Identifier"; -export type { Period } from "../hl7-fhir-r4-core/Period"; -export type { Quantity } from "../hl7-fhir-r4-core/Quantity"; -export type { Reference } from "../hl7-fhir-r4-core/Reference"; -export type { Timing } from "../hl7-fhir-r4-core/Timing"; - -export interface SupplyDeliverySuppliedItem extends BackboneElement { - itemCodeableConcept?: CodeableConcept; - itemReference?: Reference<"Device" | "Medication" | "Substance">; - quantity?: Quantity; -} - -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/SupplyDelivery (pkg: hl7.fhir.r4.core#4.0.1) -export interface SupplyDelivery extends DomainResource { - resourceType: "SupplyDelivery"; - - basedOn?: Reference<"SupplyRequest">[]; - destination?: Reference<"Location">; - identifier?: Identifier[]; - occurrenceDateTime?: string; - _occurrenceDateTime?: Element; - occurrencePeriod?: Period; - occurrenceTiming?: Timing; - partOf?: Reference<"Contract" | "SupplyDelivery">[]; - patient?: Reference<"Patient">; - receiver?: Reference<"Practitioner" | "PractitionerRole">[]; - status?: ("in-progress" | "completed" | "abandoned" | "entered-in-error"); - _status?: Element; - suppliedItem?: SupplyDeliverySuppliedItem; - supplier?: Reference<"Organization" | "Practitioner" | "PractitionerRole">; - 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 deleted file mode 100644 index 121a3101a..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/SupplyRequest.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 { BackboneElement } from "../hl7-fhir-r4-core/BackboneElement"; -import type { CodeableConcept } from "../hl7-fhir-r4-core/CodeableConcept"; -import type { DomainResource } from "../hl7-fhir-r4-core/DomainResource"; -import type { Identifier } from "../hl7-fhir-r4-core/Identifier"; -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 { Reference } from "../hl7-fhir-r4-core/Reference"; -import type { Timing } from "../hl7-fhir-r4-core/Timing"; - -import type { Element } from "../hl7-fhir-r4-core/Element"; -export type { BackboneElement } from "../hl7-fhir-r4-core/BackboneElement"; -export type { CodeableConcept } from "../hl7-fhir-r4-core/CodeableConcept"; -export type { Identifier } from "../hl7-fhir-r4-core/Identifier"; -export type { Period } from "../hl7-fhir-r4-core/Period"; -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"; -export type { Timing } from "../hl7-fhir-r4-core/Timing"; - -export interface SupplyRequestParameter extends BackboneElement { - code?: CodeableConcept; - valueBoolean?: boolean; - valueCodeableConcept?: CodeableConcept; - valueQuantity?: Quantity; - valueRange?: Range; -} - -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/SupplyRequest (pkg: hl7.fhir.r4.core#4.0.1) -export interface SupplyRequest extends DomainResource { - resourceType: "SupplyRequest"; - - authoredOn?: string; - _authoredOn?: Element; - category?: CodeableConcept; - deliverFrom?: Reference<"Location" | "Organization">; - deliverTo?: Reference<"Location" | "Organization" | "Patient">; - identifier?: Identifier[]; - itemCodeableConcept?: CodeableConcept; - itemReference?: Reference<"Device" | "Medication" | "Substance">; - occurrenceDateTime?: string; - _occurrenceDateTime?: Element; - occurrencePeriod?: Period; - occurrenceTiming?: Timing; - parameter?: SupplyRequestParameter[]; - priority?: ("routine" | "urgent" | "asap" | "stat"); - _priority?: Element; - quantity: Quantity; - reasonCode?: CodeableConcept[]; - reasonReference?: Reference<"Condition" | "DiagnosticReport" | "DocumentReference" | "Observation">[]; - requester?: Reference<"Device" | "Organization" | "Patient" | "Practitioner" | "PractitionerRole" | "RelatedPerson">; - status?: ("draft" | "active" | "suspended" | "cancelled" | "completed" | "entered-in-error" | "unknown"); - _status?: Element; - supplier?: Reference<"HealthcareService" | "Organization">[]; -} -export const isSupplyRequest = (resource: unknown): resource is SupplyRequest => { - return resource !== null && typeof resource === "object" && (resource as {resourceType: string}).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 deleted file mode 100644 index abaa69114..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/Task.ts +++ /dev/null @@ -1,233 +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 { Address } from "../hl7-fhir-r4-core/Address"; -import type { Age } from "../hl7-fhir-r4-core/Age"; -import type { Annotation } from "../hl7-fhir-r4-core/Annotation"; -import type { Attachment } from "../hl7-fhir-r4-core/Attachment"; -import type { BackboneElement } from "../hl7-fhir-r4-core/BackboneElement"; -import type { CodeableConcept } from "../hl7-fhir-r4-core/CodeableConcept"; -import type { Coding } from "../hl7-fhir-r4-core/Coding"; -import type { ContactDetail } from "../hl7-fhir-r4-core/ContactDetail"; -import type { ContactPoint } from "../hl7-fhir-r4-core/ContactPoint"; -import type { Contributor } from "../hl7-fhir-r4-core/Contributor"; -import type { Count } from "../hl7-fhir-r4-core/Count"; -import type { DataRequirement } from "../hl7-fhir-r4-core/DataRequirement"; -import type { Distance } from "../hl7-fhir-r4-core/Distance"; -import type { DomainResource } from "../hl7-fhir-r4-core/DomainResource"; -import type { Dosage } from "../hl7-fhir-r4-core/Dosage"; -import type { Duration } from "../hl7-fhir-r4-core/Duration"; -import type { Expression } from "../hl7-fhir-r4-core/Expression"; -import type { HumanName } from "../hl7-fhir-r4-core/HumanName"; -import type { Identifier } from "../hl7-fhir-r4-core/Identifier"; -import type { Meta } from "../hl7-fhir-r4-core/Meta"; -import type { Money } from "../hl7-fhir-r4-core/Money"; -import type { ParameterDefinition } from "../hl7-fhir-r4-core/ParameterDefinition"; -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 { RelatedArtifact } from "../hl7-fhir-r4-core/RelatedArtifact"; -import type { SampledData } from "../hl7-fhir-r4-core/SampledData"; -import type { Signature } from "../hl7-fhir-r4-core/Signature"; -import type { Timing } from "../hl7-fhir-r4-core/Timing"; -import type { TriggerDefinition } from "../hl7-fhir-r4-core/TriggerDefinition"; -import type { UsageContext } from "../hl7-fhir-r4-core/UsageContext"; - -import type { Element } from "../hl7-fhir-r4-core/Element"; -export type { Address } from "../hl7-fhir-r4-core/Address"; -export type { Age } from "../hl7-fhir-r4-core/Age"; -export type { Annotation } from "../hl7-fhir-r4-core/Annotation"; -export type { Attachment } from "../hl7-fhir-r4-core/Attachment"; -export type { BackboneElement } from "../hl7-fhir-r4-core/BackboneElement"; -export type { CodeableConcept } from "../hl7-fhir-r4-core/CodeableConcept"; -export type { Coding } from "../hl7-fhir-r4-core/Coding"; -export type { ContactDetail } from "../hl7-fhir-r4-core/ContactDetail"; -export type { ContactPoint } from "../hl7-fhir-r4-core/ContactPoint"; -export type { Contributor } from "../hl7-fhir-r4-core/Contributor"; -export type { Count } from "../hl7-fhir-r4-core/Count"; -export type { DataRequirement } from "../hl7-fhir-r4-core/DataRequirement"; -export type { Distance } from "../hl7-fhir-r4-core/Distance"; -export type { Dosage } from "../hl7-fhir-r4-core/Dosage"; -export type { Duration } from "../hl7-fhir-r4-core/Duration"; -export type { Expression } from "../hl7-fhir-r4-core/Expression"; -export type { HumanName } from "../hl7-fhir-r4-core/HumanName"; -export type { Identifier } from "../hl7-fhir-r4-core/Identifier"; -export type { Meta } from "../hl7-fhir-r4-core/Meta"; -export type { Money } from "../hl7-fhir-r4-core/Money"; -export type { ParameterDefinition } from "../hl7-fhir-r4-core/ParameterDefinition"; -export type { Period } from "../hl7-fhir-r4-core/Period"; -export type { Quantity } from "../hl7-fhir-r4-core/Quantity"; -export type { Range } from "../hl7-fhir-r4-core/Range"; -export type { Ratio } from "../hl7-fhir-r4-core/Ratio"; -export type { Reference } from "../hl7-fhir-r4-core/Reference"; -export type { RelatedArtifact } from "../hl7-fhir-r4-core/RelatedArtifact"; -export type { SampledData } from "../hl7-fhir-r4-core/SampledData"; -export type { Signature } from "../hl7-fhir-r4-core/Signature"; -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"; - -export interface TaskInput extends BackboneElement { - type: CodeableConcept; - valueAddress?: Address; - valueAge?: Age; - valueAnnotation?: Annotation; - valueAttachment?: Attachment; - valueBase64Binary?: string; - valueBoolean?: boolean; - valueCanonical?: string; - valueCode?: string; - valueCodeableConcept?: CodeableConcept; - valueCoding?: Coding; - valueContactDetail?: ContactDetail; - valueContactPoint?: ContactPoint; - valueContributor?: Contributor; - valueCount?: Count; - valueDataRequirement?: DataRequirement; - valueDate?: string; - valueDateTime?: string; - valueDecimal?: number; - valueDistance?: Distance; - valueDosage?: Dosage; - valueDuration?: Duration; - valueExpression?: Expression; - valueHumanName?: HumanName; - valueId?: string; - valueIdentifier?: Identifier; - valueInstant?: string; - valueInteger?: number; - valueMarkdown?: string; - valueMeta?: Meta; - valueMoney?: Money; - valueOid?: string; - valueParameterDefinition?: ParameterDefinition; - valuePeriod?: Period; - valuePositiveInt?: number; - valueQuantity?: Quantity; - valueRange?: Range; - valueRatio?: Ratio; - valueReference?: Reference; - valueRelatedArtifact?: RelatedArtifact; - valueSampledData?: SampledData; - valueSignature?: Signature; - valueString?: string; - valueTime?: string; - valueTiming?: Timing; - valueTriggerDefinition?: TriggerDefinition; - valueUnsignedInt?: number; - valueUri?: string; - valueUrl?: string; - valueUsageContext?: UsageContext; - valueUuid?: string; -} - -export interface TaskOutput extends BackboneElement { - type: CodeableConcept; - valueAddress?: Address; - valueAge?: Age; - valueAnnotation?: Annotation; - valueAttachment?: Attachment; - valueBase64Binary?: string; - valueBoolean?: boolean; - valueCanonical?: string; - valueCode?: string; - valueCodeableConcept?: CodeableConcept; - valueCoding?: Coding; - valueContactDetail?: ContactDetail; - valueContactPoint?: ContactPoint; - valueContributor?: Contributor; - valueCount?: Count; - valueDataRequirement?: DataRequirement; - valueDate?: string; - valueDateTime?: string; - valueDecimal?: number; - valueDistance?: Distance; - valueDosage?: Dosage; - valueDuration?: Duration; - valueExpression?: Expression; - valueHumanName?: HumanName; - valueId?: string; - valueIdentifier?: Identifier; - valueInstant?: string; - valueInteger?: number; - valueMarkdown?: string; - valueMeta?: Meta; - valueMoney?: Money; - valueOid?: string; - valueParameterDefinition?: ParameterDefinition; - valuePeriod?: Period; - valuePositiveInt?: number; - valueQuantity?: Quantity; - valueRange?: Range; - valueRatio?: Ratio; - valueReference?: Reference; - valueRelatedArtifact?: RelatedArtifact; - valueSampledData?: SampledData; - valueSignature?: Signature; - valueString?: string; - valueTime?: string; - valueTiming?: Timing; - valueTriggerDefinition?: TriggerDefinition; - valueUnsignedInt?: number; - valueUri?: string; - valueUrl?: string; - valueUsageContext?: UsageContext; - valueUuid?: string; -} - -export interface TaskRestriction extends BackboneElement { - period?: Period; - recipient?: Reference<"Group" | "Organization" | "Patient" | "Practitioner" | "PractitionerRole" | "RelatedPerson">[]; - repetitions?: number; -} - -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/Task (pkg: hl7.fhir.r4.core#4.0.1) -export interface Task extends DomainResource { - resourceType: "Task"; - - authoredOn?: string; - _authoredOn?: Element; - basedOn?: Reference<"Resource">[]; - businessStatus?: CodeableConcept; - code?: CodeableConcept; - description?: string; - _description?: Element; - encounter?: Reference<"Encounter">; - executionPeriod?: Period; - focus?: Reference<"Resource">; - "for"?: Reference<"Resource">; - groupIdentifier?: Identifier; - identifier?: Identifier[]; - input?: TaskInput[]; - instantiatesCanonical?: string; - _instantiatesCanonical?: Element; - instantiatesUri?: string; - _instantiatesUri?: Element; - insurance?: Reference<"ClaimResponse" | "Coverage">[]; - intent: ("unknown" | "proposal" | "plan" | "order" | "original-order" | "reflex-order" | "filler-order" | "instance-order" | "option"); - _intent?: Element; - lastModified?: string; - _lastModified?: Element; - location?: Reference<"Location">; - note?: Annotation[]; - output?: TaskOutput[]; - owner?: Reference<"CareTeam" | "Device" | "HealthcareService" | "Organization" | "Patient" | "Practitioner" | "PractitionerRole" | "RelatedPerson">; - partOf?: Reference<"Task">[]; - performerType?: CodeableConcept[]; - priority?: ("routine" | "urgent" | "asap" | "stat"); - _priority?: Element; - reasonCode?: CodeableConcept; - reasonReference?: Reference<"Resource">; - relevantHistory?: Reference<"Provenance">[]; - requester?: Reference<"Device" | "Organization" | "Patient" | "Practitioner" | "PractitionerRole" | "RelatedPerson">; - restriction?: TaskRestriction; - status: ("draft" | "requested" | "received" | "accepted" | "rejected" | "ready" | "cancelled" | "in-progress" | "on-hold" | "failed" | "completed" | "entered-in-error"); - _status?: Element; - statusReason?: CodeableConcept; -} -export const isTask = (resource: unknown): resource is Task => { - return resource !== null && typeof resource === "object" && (resource as {resourceType: string}).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 deleted file mode 100644 index c229c57b1..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/TerminologyCapabilities.ts +++ /dev/null @@ -1,117 +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 { BackboneElement } from "../hl7-fhir-r4-core/BackboneElement"; -import type { CodeableConcept } from "../hl7-fhir-r4-core/CodeableConcept"; -import type { ContactDetail } from "../hl7-fhir-r4-core/ContactDetail"; -import type { DomainResource } from "../hl7-fhir-r4-core/DomainResource"; -import type { UsageContext } from "../hl7-fhir-r4-core/UsageContext"; - -import type { Element } from "../hl7-fhir-r4-core/Element"; -export type { BackboneElement } from "../hl7-fhir-r4-core/BackboneElement"; -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"; - -export interface TerminologyCapabilitiesClosure extends BackboneElement { - translation?: boolean; -} - -export interface TerminologyCapabilitiesCodeSystem extends BackboneElement { - subsumption?: boolean; - uri?: string; - version?: TerminologyCapabilitiesCodeSystemVersion[]; -} - -export interface TerminologyCapabilitiesCodeSystemVersion extends BackboneElement { - code?: string; - compositional?: boolean; - filter?: TerminologyCapabilitiesCodeSystemVersionFilter[]; - isDefault?: boolean; - language?: string[]; - property?: string[]; -} - -export interface TerminologyCapabilitiesCodeSystemVersionFilter extends BackboneElement { - code: string; - op: string[]; -} - -export interface TerminologyCapabilitiesExpansion extends BackboneElement { - hierarchical?: boolean; - incomplete?: boolean; - paging?: boolean; - parameter?: TerminologyCapabilitiesExpansionParameter[]; - textFilter?: string; -} - -export interface TerminologyCapabilitiesExpansionParameter extends BackboneElement { - documentation?: string; - name: string; -} - -export interface TerminologyCapabilitiesImplementation extends BackboneElement { - description: string; - url?: string; -} - -export interface TerminologyCapabilitiesSoftware extends BackboneElement { - name: string; - version?: string; -} - -export interface TerminologyCapabilitiesTranslation extends BackboneElement { - needsMap: boolean; -} - -export interface TerminologyCapabilitiesValidateCode extends BackboneElement { - translations: boolean; -} - -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/TerminologyCapabilities (pkg: hl7.fhir.r4.core#4.0.1) -export interface TerminologyCapabilities extends DomainResource { - resourceType: "TerminologyCapabilities"; - - closure?: TerminologyCapabilitiesClosure; - codeSearch?: ("explicit" | "all"); - _codeSearch?: Element; - codeSystem?: TerminologyCapabilitiesCodeSystem[]; - contact?: ContactDetail[]; - copyright?: string; - _copyright?: Element; - date: string; - _date?: Element; - description?: string; - _description?: Element; - expansion?: TerminologyCapabilitiesExpansion; - experimental?: boolean; - _experimental?: Element; - implementation?: TerminologyCapabilitiesImplementation; - jurisdiction?: CodeableConcept[]; - kind: ("instance" | "capability" | "requirements"); - _kind?: Element; - lockedDate?: boolean; - _lockedDate?: Element; - name?: string; - _name?: Element; - publisher?: string; - _publisher?: Element; - purpose?: string; - _purpose?: Element; - software?: TerminologyCapabilitiesSoftware; - status: ("draft" | "active" | "retired" | "unknown"); - _status?: Element; - title?: string; - _title?: Element; - translation?: TerminologyCapabilitiesTranslation; - url?: string; - _url?: Element; - useContext?: UsageContext[]; - validateCode?: TerminologyCapabilitiesValidateCode; - version?: string; - _version?: Element; -} -export const isTerminologyCapabilities = (resource: unknown): resource is TerminologyCapabilities => { - return resource !== null && typeof resource === "object" && (resource as {resourceType: string}).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 deleted file mode 100644 index 56748a2aa..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/TestReport.ts +++ /dev/null @@ -1,86 +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 { BackboneElement } from "../hl7-fhir-r4-core/BackboneElement"; -import type { DomainResource } from "../hl7-fhir-r4-core/DomainResource"; -import type { Identifier } from "../hl7-fhir-r4-core/Identifier"; -import type { Reference } from "../hl7-fhir-r4-core/Reference"; - -import type { Element } from "../hl7-fhir-r4-core/Element"; -export type { BackboneElement } from "../hl7-fhir-r4-core/BackboneElement"; -export type { Identifier } from "../hl7-fhir-r4-core/Identifier"; -export type { Reference } from "../hl7-fhir-r4-core/Reference"; - -export interface TestReportParticipant extends BackboneElement { - display?: string; - type: ("test-engine" | "client" | "server"); - uri: string; -} - -export interface TestReportSetup extends BackboneElement { - action: TestReportSetupAction[]; -} - -export interface TestReportSetupAction extends BackboneElement { - assert?: TestReportSetupActionAssert; - operation?: TestReportSetupActionOperation; -} - -export interface TestReportSetupActionAssert extends BackboneElement { - detail?: string; - message?: string; - result: ("pass" | "skip" | "fail" | "warning" | "error"); -} - -export interface TestReportSetupActionOperation extends BackboneElement { - detail?: string; - message?: string; - result: ("pass" | "skip" | "fail" | "warning" | "error"); -} - -export interface TestReportTeardown extends BackboneElement { - action: TestReportTeardownAction[]; -} - -export interface TestReportTeardownAction extends BackboneElement { - operation: TestReportSetupActionOperation; -} - -export interface TestReportTest extends BackboneElement { - action: TestReportTestAction[]; - description?: string; - name?: string; -} - -export interface TestReportTestAction extends BackboneElement { - assert?: TestReportSetupActionAssert; - operation?: TestReportSetupActionOperation; -} - -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/TestReport (pkg: hl7.fhir.r4.core#4.0.1) -export interface TestReport extends DomainResource { - resourceType: "TestReport"; - - identifier?: Identifier; - issued?: string; - _issued?: Element; - name?: string; - _name?: Element; - participant?: TestReportParticipant[]; - result: ("pass" | "fail" | "pending"); - _result?: Element; - score?: number; - _score?: Element; - setup?: TestReportSetup; - status: ("completed" | "in-progress" | "waiting" | "stopped" | "entered-in-error"); - _status?: Element; - teardown?: TestReportTeardown; - test?: TestReportTest[]; - tester?: string; - _tester?: Element; - testScript: Reference<"TestScript">; -} -export const isTestReport = (resource: unknown): resource is TestReport => { - return resource !== null && typeof resource === "object" && (resource as {resourceType: string}).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 deleted file mode 100644 index 4269e20a5..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/TestScript.ts +++ /dev/null @@ -1,190 +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 { BackboneElement } from "../hl7-fhir-r4-core/BackboneElement"; -import type { CodeableConcept } from "../hl7-fhir-r4-core/CodeableConcept"; -import type { Coding } from "../hl7-fhir-r4-core/Coding"; -import type { ContactDetail } from "../hl7-fhir-r4-core/ContactDetail"; -import type { DomainResource } from "../hl7-fhir-r4-core/DomainResource"; -import type { Identifier } from "../hl7-fhir-r4-core/Identifier"; -import type { Reference } from "../hl7-fhir-r4-core/Reference"; -import type { UsageContext } from "../hl7-fhir-r4-core/UsageContext"; - -import type { Element } from "../hl7-fhir-r4-core/Element"; -export type { BackboneElement } from "../hl7-fhir-r4-core/BackboneElement"; -export type { CodeableConcept } from "../hl7-fhir-r4-core/CodeableConcept"; -export type { Coding } from "../hl7-fhir-r4-core/Coding"; -export type { ContactDetail } from "../hl7-fhir-r4-core/ContactDetail"; -export type { Identifier } from "../hl7-fhir-r4-core/Identifier"; -export type { Reference } from "../hl7-fhir-r4-core/Reference"; -export type { UsageContext } from "../hl7-fhir-r4-core/UsageContext"; - -export interface TestScriptDestination extends BackboneElement { - index: number; - profile: Coding<("FHIR-Server" | "FHIR-SDC-FormManager" | "FHIR-SDC-FormProcessor" | "FHIR-SDC-FormReceiver" | string)>; -} - -export interface TestScriptFixture extends BackboneElement { - autocreate: boolean; - autodelete: boolean; - resource?: Reference<"Resource">; -} - -export interface TestScriptMetadata extends BackboneElement { - capability: TestScriptMetadataCapability[]; - link?: TestScriptMetadataLink[]; -} - -export interface TestScriptMetadataCapability extends BackboneElement { - capabilities: string; - description?: string; - destination?: number; - link?: string[]; - origin?: number[]; - required: boolean; - validated: boolean; -} - -export interface TestScriptMetadataLink extends BackboneElement { - description?: string; - url: string; -} - -export interface TestScriptOrigin extends BackboneElement { - index: number; - profile: Coding<("FHIR-Client" | "FHIR-SDC-FormFiller" | string)>; -} - -export interface TestScriptSetup extends BackboneElement { - action: TestScriptSetupAction[]; -} - -export interface TestScriptSetupAction extends BackboneElement { - assert?: TestScriptSetupActionAssert; - operation?: TestScriptSetupActionOperation; -} - -export interface TestScriptSetupActionAssert extends BackboneElement { - compareToSourceExpression?: string; - compareToSourceId?: string; - compareToSourcePath?: string; - contentType?: string; - description?: string; - direction?: ("response" | "request"); - expression?: string; - headerField?: string; - label?: string; - minimumId?: string; - navigationLinks?: boolean; - operator?: ("equals" | "notEquals" | "in" | "notIn" | "greaterThan" | "lessThan" | "empty" | "notEmpty" | "contains" | "notContains" | "eval"); - path?: string; - requestMethod?: ("delete" | "get" | "options" | "patch" | "post" | "put" | "head"); - requestURL?: string; - resource?: string; - response?: ("okay" | "created" | "noContent" | "notModified" | "bad" | "forbidden" | "notFound" | "methodNotAllowed" | "conflict" | "gone" | "preconditionFailed" | "unprocessable"); - responseCode?: string; - sourceId?: string; - validateProfileId?: string; - value?: string; - warningOnly: boolean; -} - -export interface TestScriptSetupActionOperation extends BackboneElement { - accept?: string; - contentType?: string; - description?: string; - destination?: number; - encodeRequestUrl: boolean; - label?: string; - method?: ("delete" | "get" | "options" | "patch" | "post" | "put" | "head"); - origin?: number; - params?: string; - requestHeader?: TestScriptSetupActionOperationRequestHeader[]; - requestId?: string; - resource?: string; - responseId?: string; - sourceId?: string; - targetId?: string; - 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; -} - -export interface TestScriptSetupActionOperationRequestHeader extends BackboneElement { - field: string; - value: string; -} - -export interface TestScriptTeardown extends BackboneElement { - action: TestScriptTeardownAction[]; -} - -export interface TestScriptTeardownAction extends BackboneElement { - operation: TestScriptSetupActionOperation; -} - -export interface TestScriptTest extends BackboneElement { - action: TestScriptTestAction[]; - description?: string; - name?: string; -} - -export interface TestScriptTestAction extends BackboneElement { - assert?: TestScriptSetupActionAssert; - operation?: TestScriptSetupActionOperation; -} - -export interface TestScriptVariable extends BackboneElement { - defaultValue?: string; - description?: string; - expression?: string; - headerField?: string; - hint?: string; - name: string; - path?: string; - sourceId?: string; -} - -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/TestScript (pkg: hl7.fhir.r4.core#4.0.1) -export interface TestScript extends DomainResource { - resourceType: "TestScript"; - - contact?: ContactDetail[]; - copyright?: string; - _copyright?: Element; - date?: string; - _date?: Element; - description?: string; - _description?: Element; - destination?: TestScriptDestination[]; - experimental?: boolean; - _experimental?: Element; - fixture?: TestScriptFixture[]; - identifier?: Identifier; - jurisdiction?: CodeableConcept[]; - metadata?: TestScriptMetadata; - name: string; - _name?: Element; - origin?: TestScriptOrigin[]; - profile?: Reference<"Resource">[]; - publisher?: string; - _publisher?: Element; - purpose?: string; - _purpose?: Element; - setup?: TestScriptSetup; - status: ("draft" | "active" | "retired" | "unknown"); - _status?: Element; - teardown?: TestScriptTeardown; - test?: TestScriptTest[]; - title?: string; - _title?: Element; - url: string; - _url?: Element; - useContext?: UsageContext[]; - variable?: TestScriptVariable[]; - version?: string; - _version?: Element; -} -export const isTestScript = (resource: unknown): resource is TestScript => { - return resource !== null && typeof resource === "object" && (resource as {resourceType: string}).resourceType === "TestScript"; -} 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 deleted file mode 100644 index 38ce995b4..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/ValueSet.ts +++ /dev/null @@ -1,122 +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 { BackboneElement } from "../hl7-fhir-r4-core/BackboneElement"; -import type { CodeableConcept } from "../hl7-fhir-r4-core/CodeableConcept"; -import type { Coding } from "../hl7-fhir-r4-core/Coding"; -import type { ContactDetail } from "../hl7-fhir-r4-core/ContactDetail"; -import type { DomainResource } from "../hl7-fhir-r4-core/DomainResource"; -import type { Identifier } from "../hl7-fhir-r4-core/Identifier"; -import type { UsageContext } from "../hl7-fhir-r4-core/UsageContext"; - -import type { Element } from "../hl7-fhir-r4-core/Element"; -export type { BackboneElement } from "../hl7-fhir-r4-core/BackboneElement"; -export type { CodeableConcept } from "../hl7-fhir-r4-core/CodeableConcept"; -export type { Coding } from "../hl7-fhir-r4-core/Coding"; -export type { ContactDetail } from "../hl7-fhir-r4-core/ContactDetail"; -export type { Identifier } from "../hl7-fhir-r4-core/Identifier"; -export type { UsageContext } from "../hl7-fhir-r4-core/UsageContext"; - -export interface ValueSetCompose extends BackboneElement { - exclude?: ValueSetComposeInclude[]; - inactive?: boolean; - include: ValueSetComposeInclude[]; - lockedDate?: string; -} - -export interface ValueSetComposeInclude extends BackboneElement { - concept?: ValueSetComposeIncludeConcept[]; - filter?: ValueSetComposeIncludeFilter[]; - system?: string; - valueSet?: string[]; - version?: string; -} - -export interface ValueSetComposeIncludeConcept extends BackboneElement { - code: string; - designation?: ValueSetComposeIncludeConceptDesignation[]; - display?: string; -} - -export interface ValueSetComposeIncludeConceptDesignation extends BackboneElement { - 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; -} - -export interface ValueSetComposeIncludeFilter extends BackboneElement { - op: ("=" | "is-a" | "descendent-of" | "is-not-a" | "regex" | "in" | "not-in" | "generalizes" | "exists"); - property: string; - value: string; -} - -export interface ValueSetExpansion extends BackboneElement { - contains?: ValueSetExpansionContains[]; - identifier?: string; - offset?: number; - parameter?: ValueSetExpansionParameter[]; - timestamp: string; - total?: number; -} - -export interface ValueSetExpansionContains extends BackboneElement { - abstract?: boolean; - code?: string; - contains?: ValueSetExpansionContains[]; - designation?: ValueSetComposeIncludeConceptDesignation[]; - display?: string; - inactive?: boolean; - system?: string; - version?: string; -} - -export interface ValueSetExpansionParameter extends BackboneElement { - name: string; - valueBoolean?: boolean; - valueCode?: string; - valueDateTime?: string; - valueDecimal?: number; - valueInteger?: number; - valueString?: string; - valueUri?: string; -} - -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/ValueSet (pkg: hl7.fhir.r4.core#4.0.1) -export interface ValueSet extends DomainResource { - resourceType: "ValueSet"; - - compose?: ValueSetCompose; - contact?: ContactDetail[]; - copyright?: string; - _copyright?: Element; - date?: string; - _date?: Element; - description?: string; - _description?: Element; - expansion?: ValueSetExpansion; - experimental?: boolean; - _experimental?: Element; - identifier?: Identifier[]; - immutable?: boolean; - _immutable?: Element; - jurisdiction?: CodeableConcept[]; - name?: string; - _name?: Element; - publisher?: string; - _publisher?: Element; - purpose?: string; - _purpose?: Element; - status: ("draft" | "active" | "retired" | "unknown"); - _status?: Element; - title?: string; - _title?: Element; - url?: string; - _url?: Element; - useContext?: UsageContext[]; - version?: string; - _version?: Element; -} -export const isValueSet = (resource: unknown): resource is ValueSet => { - return resource !== null && typeof resource === "object" && (resource as {resourceType: string}).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 deleted file mode 100644 index 4f6ed13fe..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/VerificationResult.ts +++ /dev/null @@ -1,72 +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 { BackboneElement } from "../hl7-fhir-r4-core/BackboneElement"; -import type { CodeableConcept } from "../hl7-fhir-r4-core/CodeableConcept"; -import type { DomainResource } from "../hl7-fhir-r4-core/DomainResource"; -import type { Reference } from "../hl7-fhir-r4-core/Reference"; -import type { Signature } from "../hl7-fhir-r4-core/Signature"; -import type { Timing } from "../hl7-fhir-r4-core/Timing"; - -import type { Element } from "../hl7-fhir-r4-core/Element"; -export type { BackboneElement } from "../hl7-fhir-r4-core/BackboneElement"; -export type { CodeableConcept } from "../hl7-fhir-r4-core/CodeableConcept"; -export type { Reference } from "../hl7-fhir-r4-core/Reference"; -export type { Signature } from "../hl7-fhir-r4-core/Signature"; -export type { Timing } from "../hl7-fhir-r4-core/Timing"; - -export interface VerificationResultAttestation extends BackboneElement { - communicationMethod?: CodeableConcept; - date?: string; - onBehalfOf?: Reference<"Organization" | "Practitioner" | "PractitionerRole">; - proxyIdentityCertificate?: string; - proxySignature?: Signature; - sourceIdentityCertificate?: string; - sourceSignature?: Signature; - who?: Reference<"Organization" | "Practitioner" | "PractitionerRole">; -} - -export interface VerificationResultPrimarySource extends BackboneElement { - canPushUpdates?: CodeableConcept<("yes" | "no" | "undetermined" | string)>; - communicationMethod?: CodeableConcept[]; - pushTypeAvailable?: CodeableConcept<("specific" | "any" | "source" | string)>[]; - type?: CodeableConcept[]; - validationDate?: string; - validationStatus?: CodeableConcept<("successful" | "failed" | "unknown" | string)>; - who?: Reference<"Organization" | "Practitioner" | "PractitionerRole">; -} - -export interface VerificationResultValidator extends BackboneElement { - attestationSignature?: Signature; - identityCertificate?: string; - organization: Reference<"Organization">; -} - -// 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<("fatal" | "warn" | "rec-only" | "none" | string)>; - frequency?: Timing; - lastPerformed?: string; - _lastPerformed?: Element; - need?: CodeableConcept<("none" | "initial" | "periodic" | string)>; - nextScheduled?: string; - _nextScheduled?: Element; - primarySource?: VerificationResultPrimarySource[]; - status: ("attested" | "validated" | "in-process" | "req-revalid" | "val-fail" | "reval-fail"); - _status?: Element; - statusDate?: string; - _statusDate?: Element; - target?: Reference<"Resource">[]; - targetLocation?: string[]; - _targetLocation?: (Element | null)[]; - validationProcess?: CodeableConcept[]; - validationType?: CodeableConcept<("nothing" | "primary" | "multiple" | string)>; - validator?: VerificationResultValidator[]; -} -export const isVerificationResult = (resource: unknown): resource is VerificationResult => { - return resource !== null && typeof resource === "object" && (resource as {resourceType: string}).resourceType === "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 deleted file mode 100644 index e95b927fa..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/VisionPrescription.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 { Annotation } from "../hl7-fhir-r4-core/Annotation"; -import type { BackboneElement } from "../hl7-fhir-r4-core/BackboneElement"; -import type { CodeableConcept } from "../hl7-fhir-r4-core/CodeableConcept"; -import type { DomainResource } from "../hl7-fhir-r4-core/DomainResource"; -import type { Identifier } from "../hl7-fhir-r4-core/Identifier"; -import type { Quantity } from "../hl7-fhir-r4-core/Quantity"; -import type { Reference } from "../hl7-fhir-r4-core/Reference"; - -import type { Element } from "../hl7-fhir-r4-core/Element"; -export type { Annotation } from "../hl7-fhir-r4-core/Annotation"; -export type { BackboneElement } from "../hl7-fhir-r4-core/BackboneElement"; -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"; -export type { Reference } from "../hl7-fhir-r4-core/Reference"; - -export interface VisionPrescriptionLensSpecification extends BackboneElement { - add?: number; - axis?: number; - backCurve?: number; - brand?: string; - color?: string; - cylinder?: number; - diameter?: number; - duration?: Quantity; - eye: ("right" | "left"); - note?: Annotation[]; - power?: number; - prism?: VisionPrescriptionLensSpecificationPrism[]; - product: CodeableConcept; - sphere?: number; -} - -export interface VisionPrescriptionLensSpecificationPrism extends BackboneElement { - amount: number; - base: ("up" | "down" | "in" | "out"); -} - -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/VisionPrescription (pkg: hl7.fhir.r4.core#4.0.1) -export interface VisionPrescription extends DomainResource { - resourceType: "VisionPrescription"; - - created: string; - _created?: Element; - dateWritten: string; - _dateWritten?: Element; - encounter?: Reference<"Encounter">; - identifier?: Identifier[]; - lensSpecification: VisionPrescriptionLensSpecification[]; - patient: Reference<"Patient">; - prescriber: Reference<"Practitioner" | "PractitionerRole">; - status: ("active" | "cancelled" | "draft" | "entered-in-error"); - _status?: Element; -} -export const isVisionPrescription = (resource: unknown): resource is VisionPrescription => { - return resource !== null && typeof resource === "object" && (resource as {resourceType: string}).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 a6c7bacad..82c1509ab 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 @@ -1,341 +1,44 @@ export * from "./profiles"; -export type { Account, AccountCoverage, AccountGuarantor } from "./Account"; -export { isAccount } from "./Account"; -export type { ActivityDefinition, ActivityDefinitionDynamicValue, ActivityDefinitionParticipant } from "./ActivityDefinition"; -export { isActivityDefinition } from "./ActivityDefinition"; export type { Address } from "./Address"; -export type { AdverseEvent, AdverseEventSuspectEntity, AdverseEventSuspectEntityCausality } from "./AdverseEvent"; -export { isAdverseEvent } from "./AdverseEvent"; export type { Age } from "./Age"; -export type { AllergyIntolerance, AllergyIntoleranceReaction } from "./AllergyIntolerance"; -export { isAllergyIntolerance } from "./AllergyIntolerance"; export type { Annotation } from "./Annotation"; -export type { Appointment, AppointmentParticipant } from "./Appointment"; -export { isAppointment } from "./Appointment"; -export type { AppointmentResponse } from "./AppointmentResponse"; -export { isAppointmentResponse } from "./AppointmentResponse"; export type { Attachment } from "./Attachment"; -export type { AuditEvent, AuditEventAgent, AuditEventAgentNetwork, AuditEventEntity, AuditEventEntityDetail, AuditEventSource } from "./AuditEvent"; -export { isAuditEvent } from "./AuditEvent"; export type { BackboneElement } from "./BackboneElement"; -export type { Basic } from "./Basic"; -export { isBasic } from "./Basic"; -export type { Binary } from "./Binary"; -export { isBinary } from "./Binary"; -export type { BiologicallyDerivedProduct, BiologicallyDerivedProductCollection, BiologicallyDerivedProductManipulation, BiologicallyDerivedProductProcessing, BiologicallyDerivedProductStorage } from "./BiologicallyDerivedProduct"; -export { isBiologicallyDerivedProduct } from "./BiologicallyDerivedProduct"; -export type { BodyStructure } from "./BodyStructure"; -export { isBodyStructure } from "./BodyStructure"; -export type { Bundle, BundleEntry, BundleEntryRequest, BundleEntryResponse, BundleEntrySearch, BundleLink } from "./Bundle"; -export { isBundle } from "./Bundle"; -export type { CapabilityStatement, CapabilityStatementDocument, CapabilityStatementImplementation, CapabilityStatementMessaging, CapabilityStatementMessagingEndpoint, CapabilityStatementMessagingSupportedMessage, CapabilityStatementRest, CapabilityStatementRestInteraction, CapabilityStatementRestResource, CapabilityStatementRestResourceInteraction, CapabilityStatementRestResourceOperation, CapabilityStatementRestResourceSearchParam, CapabilityStatementRestSecurity, CapabilityStatementSoftware } from "./CapabilityStatement"; -export { isCapabilityStatement } from "./CapabilityStatement"; -export type { CarePlan, CarePlanActivity, CarePlanActivityDetail } from "./CarePlan"; -export { isCarePlan } from "./CarePlan"; -export type { CareTeam, CareTeamParticipant } from "./CareTeam"; -export { isCareTeam } from "./CareTeam"; -export type { CatalogEntry, CatalogEntryRelatedEntry } from "./CatalogEntry"; -export { isCatalogEntry } from "./CatalogEntry"; -export type { ChargeItem, ChargeItemPerformer } from "./ChargeItem"; -export { isChargeItem } from "./ChargeItem"; -export type { ChargeItemDefinition, ChargeItemDefinitionApplicability, ChargeItemDefinitionPropertyGroup, ChargeItemDefinitionPropertyGroupPriceComponent } from "./ChargeItemDefinition"; -export { isChargeItemDefinition } from "./ChargeItemDefinition"; -export type { Claim, ClaimAccident, ClaimCareTeam, ClaimDiagnosis, ClaimInsurance, ClaimItem, ClaimItemDetail, ClaimItemDetailSubDetail, ClaimPayee, ClaimProcedure, ClaimRelated, ClaimSupportingInfo } from "./Claim"; -export { isClaim } from "./Claim"; -export type { ClaimResponse, ClaimResponseAddItem, ClaimResponseAddItemDetail, ClaimResponseAddItemDetailSubDetail, ClaimResponseError, ClaimResponseInsurance, ClaimResponseItem, ClaimResponseItemAdjudication, ClaimResponseItemDetail, ClaimResponseItemDetailSubDetail, ClaimResponsePayment, ClaimResponseProcessNote, ClaimResponseTotal } from "./ClaimResponse"; -export { isClaimResponse } from "./ClaimResponse"; -export type { ClinicalImpression, ClinicalImpressionFinding, ClinicalImpressionInvestigation } from "./ClinicalImpression"; -export { isClinicalImpression } from "./ClinicalImpression"; export type { CodeableConcept } from "./CodeableConcept"; -export type { CodeSystem, CodeSystemConcept, CodeSystemConceptDesignation, CodeSystemConceptProperty, CodeSystemFilter, CodeSystemProperty } from "./CodeSystem"; -export { isCodeSystem } from "./CodeSystem"; export type { Coding } from "./Coding"; -export type { Communication, CommunicationPayload } from "./Communication"; -export { isCommunication } from "./Communication"; -export type { CommunicationRequest, CommunicationRequestPayload } from "./CommunicationRequest"; -export { isCommunicationRequest } from "./CommunicationRequest"; -export type { CompartmentDefinition, CompartmentDefinitionResource } from "./CompartmentDefinition"; -export { isCompartmentDefinition } from "./CompartmentDefinition"; -export type { Composition, CompositionAttester, CompositionEvent, CompositionRelatesTo, CompositionSection } from "./Composition"; -export { isComposition } from "./Composition"; -export type { ConceptMap, ConceptMapGroup, ConceptMapGroupElement, ConceptMapGroupElementTarget, ConceptMapGroupElementTargetDependsOn, ConceptMapGroupUnmapped } from "./ConceptMap"; -export { isConceptMap } from "./ConceptMap"; -export type { Condition, ConditionEvidence, ConditionStage } from "./Condition"; -export { isCondition } from "./Condition"; -export type { Consent, ConsentPolicy, ConsentProvision, ConsentProvisionActor, ConsentProvisionData, ConsentVerification } from "./Consent"; -export { isConsent } from "./Consent"; export type { ContactDetail } from "./ContactDetail"; export type { ContactPoint } from "./ContactPoint"; -export type { Contract, ContractContentDefinition, ContractFriendly, ContractLegal, ContractRule, ContractSigner, ContractTerm, ContractTermAction, ContractTermActionSubject, ContractTermAsset, ContractTermAssetContext, ContractTermAssetValuedItem, ContractTermOffer, ContractTermOfferAnswer, ContractTermOfferParty, ContractTermSecurityLabel } from "./Contract"; -export { isContract } from "./Contract"; export type { Contributor } from "./Contributor"; export type { Count } from "./Count"; -export type { Coverage, CoverageClass, CoverageCostToBeneficiary, CoverageCostToBeneficiaryException } from "./Coverage"; -export { isCoverage } from "./Coverage"; -export type { CoverageEligibilityRequest, CoverageEligibilityRequestInsurance, CoverageEligibilityRequestItem, CoverageEligibilityRequestItemDiagnosis, CoverageEligibilityRequestSupportingInfo } from "./CoverageEligibilityRequest"; -export { isCoverageEligibilityRequest } from "./CoverageEligibilityRequest"; -export type { CoverageEligibilityResponse, CoverageEligibilityResponseError, CoverageEligibilityResponseInsurance, CoverageEligibilityResponseInsuranceItem, CoverageEligibilityResponseInsuranceItemBenefit } from "./CoverageEligibilityResponse"; -export { isCoverageEligibilityResponse } from "./CoverageEligibilityResponse"; export type { DataRequirement } from "./DataRequirement"; -export type { Definition } from "./Definition"; -export type { DetectedIssue, DetectedIssueEvidence, DetectedIssueMitigation } from "./DetectedIssue"; -export { isDetectedIssue } from "./DetectedIssue"; -export type { Device, DeviceDeviceName, DeviceProperty, DeviceSpecialization, DeviceUdiCarrier, DeviceVersion } from "./Device"; -export { isDevice } from "./Device"; -export type { DeviceDefinition, DeviceDefinitionCapability, DeviceDefinitionDeviceName, DeviceDefinitionMaterial, DeviceDefinitionProperty, DeviceDefinitionSpecialization, DeviceDefinitionUdiDeviceIdentifier } from "./DeviceDefinition"; -export { isDeviceDefinition } from "./DeviceDefinition"; -export type { DeviceMetric, DeviceMetricCalibration } from "./DeviceMetric"; -export { isDeviceMetric } from "./DeviceMetric"; -export type { DeviceRequest, DeviceRequestParameter } from "./DeviceRequest"; -export { isDeviceRequest } from "./DeviceRequest"; -export type { DeviceUseStatement } from "./DeviceUseStatement"; -export { isDeviceUseStatement } from "./DeviceUseStatement"; -export type { DiagnosticReport, DiagnosticReportMedia } from "./DiagnosticReport"; -export { isDiagnosticReport } from "./DiagnosticReport"; export type { Distance } from "./Distance"; -export type { DocumentManifest, DocumentManifestRelated } from "./DocumentManifest"; -export { isDocumentManifest } from "./DocumentManifest"; -export type { DocumentReference, DocumentReferenceContent, DocumentReferenceContext, DocumentReferenceRelatesTo } from "./DocumentReference"; -export { isDocumentReference } from "./DocumentReference"; export type { DomainResource } from "./DomainResource"; export { isDomainResource } from "./DomainResource"; export type { Dosage } from "./Dosage"; export type { Duration } from "./Duration"; -export type { EffectEvidenceSynthesis, EffectEvidenceSynthesisCertainty, EffectEvidenceSynthesisCertaintyCertaintySubcomponent, EffectEvidenceSynthesisEffectEstimate, EffectEvidenceSynthesisEffectEstimatePrecisionEstimate, EffectEvidenceSynthesisResultsByExposure, EffectEvidenceSynthesisSampleSize } from "./EffectEvidenceSynthesis"; -export { isEffectEvidenceSynthesis } from "./EffectEvidenceSynthesis"; export type { Element } from "./Element"; -export type { ElementDefinition } from "./ElementDefinition"; -export type { Encounter, EncounterClassHistory, EncounterDiagnosis, EncounterHospitalization, EncounterLocation, EncounterParticipant, EncounterStatusHistory } from "./Encounter"; -export { isEncounter } from "./Encounter"; -export type { Endpoint } from "./Endpoint"; -export { isEndpoint } from "./Endpoint"; -export type { EnrollmentRequest } from "./EnrollmentRequest"; -export { isEnrollmentRequest } from "./EnrollmentRequest"; -export type { EnrollmentResponse } from "./EnrollmentResponse"; -export { isEnrollmentResponse } from "./EnrollmentResponse"; -export type { EpisodeOfCare, EpisodeOfCareDiagnosis, EpisodeOfCareStatusHistory } from "./EpisodeOfCare"; -export { isEpisodeOfCare } from "./EpisodeOfCare"; -export type { Event } from "./Event"; -export type { EventDefinition } from "./EventDefinition"; -export { isEventDefinition } from "./EventDefinition"; -export type { Evidence } from "./Evidence"; -export { isEvidence } from "./Evidence"; -export type { EvidenceVariable, EvidenceVariableCharacteristic } from "./EvidenceVariable"; -export { isEvidenceVariable } from "./EvidenceVariable"; -export type { ExampleScenario, ExampleScenarioActor, ExampleScenarioInstance, ExampleScenarioInstanceContainedInstance, ExampleScenarioInstanceVersion, ExampleScenarioProcess, ExampleScenarioProcessStep, ExampleScenarioProcessStepAlternative, ExampleScenarioProcessStepOperation } from "./ExampleScenario"; -export { isExampleScenario } from "./ExampleScenario"; -export type { ExplanationOfBenefit, ExplanationOfBenefitAccident, ExplanationOfBenefitAddItem, ExplanationOfBenefitAddItemDetail, ExplanationOfBenefitAddItemDetailSubDetail, ExplanationOfBenefitBenefitBalance, ExplanationOfBenefitBenefitBalanceFinancial, ExplanationOfBenefitCareTeam, ExplanationOfBenefitDiagnosis, ExplanationOfBenefitInsurance, ExplanationOfBenefitItem, ExplanationOfBenefitItemAdjudication, ExplanationOfBenefitItemDetail, ExplanationOfBenefitItemDetailSubDetail, ExplanationOfBenefitPayee, ExplanationOfBenefitPayment, ExplanationOfBenefitProcedure, ExplanationOfBenefitProcessNote, ExplanationOfBenefitRelated, ExplanationOfBenefitSupportingInfo, ExplanationOfBenefitTotal } from "./ExplanationOfBenefit"; -export { isExplanationOfBenefit } from "./ExplanationOfBenefit"; export type { Expression } from "./Expression"; export type { Extension } from "./Extension"; -export type { FiveWs } from "./FiveWs"; -export type { Flag } from "./Flag"; -export { isFlag } from "./Flag"; -export type { Goal, GoalTarget } from "./Goal"; -export { isGoal } from "./Goal"; -export type { GraphDefinition, GraphDefinitionLink, GraphDefinitionLinkTarget, GraphDefinitionLinkTargetCompartment } from "./GraphDefinition"; -export { isGraphDefinition } from "./GraphDefinition"; -export type { Group, GroupCharacteristic, GroupMember } from "./Group"; -export { isGroup } from "./Group"; -export type { GuidanceResponse } from "./GuidanceResponse"; -export { isGuidanceResponse } from "./GuidanceResponse"; -export type { HealthcareService, HealthcareServiceAvailableTime, HealthcareServiceEligibility, HealthcareServiceNotAvailable } from "./HealthcareService"; -export { isHealthcareService } from "./HealthcareService"; export type { HumanName } from "./HumanName"; export type { Identifier } from "./Identifier"; -export type { ImagingStudy, ImagingStudySeries, ImagingStudySeriesInstance, ImagingStudySeriesPerformer } from "./ImagingStudy"; -export { isImagingStudy } from "./ImagingStudy"; -export type { Immunization, ImmunizationEducation, ImmunizationPerformer, ImmunizationProtocolApplied, ImmunizationReaction } from "./Immunization"; -export { isImmunization } from "./Immunization"; -export type { ImmunizationEvaluation } from "./ImmunizationEvaluation"; -export { isImmunizationEvaluation } from "./ImmunizationEvaluation"; -export type { ImmunizationRecommendation, ImmunizationRecommendationRecommendation, ImmunizationRecommendationRecommendationDateCriterion } from "./ImmunizationRecommendation"; -export { isImmunizationRecommendation } from "./ImmunizationRecommendation"; -export type { ImplementationGuide, ImplementationGuideDefinition, ImplementationGuideDefinitionGrouping, ImplementationGuideDefinitionPage, ImplementationGuideDefinitionParameter, ImplementationGuideDefinitionResource, ImplementationGuideDefinitionTemplate, ImplementationGuideDependsOn, ImplementationGuideGlobal, ImplementationGuideManifest, ImplementationGuideManifestPage, ImplementationGuideManifestResource } from "./ImplementationGuide"; -export { isImplementationGuide } from "./ImplementationGuide"; -export type { InsurancePlan, InsurancePlanContact, InsurancePlanCoverage, InsurancePlanCoverageBenefit, InsurancePlanCoverageBenefitLimit, InsurancePlanPlan, InsurancePlanPlanGeneralCost, InsurancePlanPlanSpecificCost, InsurancePlanPlanSpecificCostBenefit, InsurancePlanPlanSpecificCostBenefitCost } from "./InsurancePlan"; -export { isInsurancePlan } from "./InsurancePlan"; -export type { Invoice, InvoiceLineItem, InvoiceLineItemPriceComponent, InvoiceParticipant } from "./Invoice"; -export { isInvoice } from "./Invoice"; -export type { Library } from "./Library"; -export { isLibrary } from "./Library"; -export type { Linkage, LinkageItem } from "./Linkage"; -export { isLinkage } from "./Linkage"; -export type { List, ListEntry } from "./List"; -export { isList } from "./List"; -export type { Location, LocationHoursOfOperation, LocationPosition } from "./Location"; -export { isLocation } from "./Location"; -export type { MarketingStatus } from "./MarketingStatus"; -export type { Measure, MeasureGroup, MeasureGroupPopulation, MeasureGroupStratifier, MeasureGroupStratifierComponent, MeasureSupplementalData } from "./Measure"; -export { isMeasure } from "./Measure"; -export type { MeasureReport, MeasureReportGroup, MeasureReportGroupPopulation, MeasureReportGroupStratifier, MeasureReportGroupStratifierStratum, MeasureReportGroupStratifierStratumComponent, MeasureReportGroupStratifierStratumPopulation } from "./MeasureReport"; -export { isMeasureReport } from "./MeasureReport"; -export type { Media } from "./Media"; -export { isMedia } from "./Media"; -export type { Medication, MedicationBatch, MedicationIngredient } from "./Medication"; -export { isMedication } from "./Medication"; -export type { MedicationAdministration, MedicationAdministrationDosage, MedicationAdministrationPerformer } from "./MedicationAdministration"; -export { isMedicationAdministration } from "./MedicationAdministration"; -export type { MedicationDispense, MedicationDispensePerformer, MedicationDispenseSubstitution } from "./MedicationDispense"; -export { isMedicationDispense } from "./MedicationDispense"; -export type { MedicationKnowledge, MedicationKnowledgeAdministrationGuidelines, MedicationKnowledgeAdministrationGuidelinesDosage, MedicationKnowledgeAdministrationGuidelinesPatientCharacteristics, MedicationKnowledgeCost, MedicationKnowledgeDrugCharacteristic, MedicationKnowledgeIngredient, MedicationKnowledgeKinetics, MedicationKnowledgeMedicineClassification, MedicationKnowledgeMonitoringProgram, MedicationKnowledgeMonograph, MedicationKnowledgePackaging, MedicationKnowledgeRegulatory, MedicationKnowledgeRegulatoryMaxDispense, MedicationKnowledgeRegulatorySchedule, MedicationKnowledgeRegulatorySubstitution, MedicationKnowledgeRelatedMedicationKnowledge } from "./MedicationKnowledge"; -export { isMedicationKnowledge } from "./MedicationKnowledge"; -export type { MedicationRequest, MedicationRequestDispenseRequest, MedicationRequestDispenseRequestInitialFill, MedicationRequestSubstitution } from "./MedicationRequest"; -export { isMedicationRequest } from "./MedicationRequest"; -export type { MedicationStatement } from "./MedicationStatement"; -export { isMedicationStatement } from "./MedicationStatement"; -export type { MedicinalProduct, MedicinalProductManufacturingBusinessOperation, MedicinalProductName, MedicinalProductNameCountryLanguage, MedicinalProductNameNamePart, MedicinalProductSpecialDesignation } from "./MedicinalProduct"; -export { isMedicinalProduct } from "./MedicinalProduct"; -export type { MedicinalProductAuthorization, MedicinalProductAuthorizationJurisdictionalAuthorization, MedicinalProductAuthorizationProcedure } from "./MedicinalProductAuthorization"; -export { isMedicinalProductAuthorization } from "./MedicinalProductAuthorization"; -export type { MedicinalProductContraindication, MedicinalProductContraindicationOtherTherapy } from "./MedicinalProductContraindication"; -export { isMedicinalProductContraindication } from "./MedicinalProductContraindication"; -export type { MedicinalProductIndication, MedicinalProductIndicationOtherTherapy } from "./MedicinalProductIndication"; -export { isMedicinalProductIndication } from "./MedicinalProductIndication"; -export type { MedicinalProductIngredient, MedicinalProductIngredientSpecifiedSubstance, MedicinalProductIngredientSpecifiedSubstanceStrength, MedicinalProductIngredientSpecifiedSubstanceStrengthReferenceStrength, MedicinalProductIngredientSubstance } from "./MedicinalProductIngredient"; -export { isMedicinalProductIngredient } from "./MedicinalProductIngredient"; -export type { MedicinalProductInteraction, MedicinalProductInteractionInteractant } from "./MedicinalProductInteraction"; -export { isMedicinalProductInteraction } from "./MedicinalProductInteraction"; -export type { MedicinalProductManufactured } from "./MedicinalProductManufactured"; -export { isMedicinalProductManufactured } from "./MedicinalProductManufactured"; -export type { MedicinalProductPackaged, MedicinalProductPackagedBatchIdentifier, MedicinalProductPackagedPackageItem } from "./MedicinalProductPackaged"; -export { isMedicinalProductPackaged } from "./MedicinalProductPackaged"; -export type { MedicinalProductPharmaceutical, MedicinalProductPharmaceuticalCharacteristics, MedicinalProductPharmaceuticalRouteOfAdministration, MedicinalProductPharmaceuticalRouteOfAdministrationTargetSpecies, MedicinalProductPharmaceuticalRouteOfAdministrationTargetSpeciesWithdrawalPeriod } from "./MedicinalProductPharmaceutical"; -export { isMedicinalProductPharmaceutical } from "./MedicinalProductPharmaceutical"; -export type { MedicinalProductUndesirableEffect } from "./MedicinalProductUndesirableEffect"; -export { isMedicinalProductUndesirableEffect } from "./MedicinalProductUndesirableEffect"; -export type { MessageDefinition, MessageDefinitionAllowedResponse, MessageDefinitionFocus } from "./MessageDefinition"; -export { isMessageDefinition } from "./MessageDefinition"; -export type { MessageHeader, MessageHeaderDestination, MessageHeaderResponse, MessageHeaderSource } from "./MessageHeader"; -export { isMessageHeader } from "./MessageHeader"; export type { Meta } from "./Meta"; -export type { MetadataResource } from "./MetadataResource"; -export type { MolecularSequence, MolecularSequenceQuality, MolecularSequenceQualityRoc, MolecularSequenceReferenceSeq, MolecularSequenceRepository, MolecularSequenceStructureVariant, MolecularSequenceStructureVariantInner, MolecularSequenceStructureVariantOuter, MolecularSequenceVariant } from "./MolecularSequence"; -export { isMolecularSequence } from "./MolecularSequence"; export type { Money } from "./Money"; -export type { NamingSystem, NamingSystemUniqueId } from "./NamingSystem"; -export { isNamingSystem } from "./NamingSystem"; export type { Narrative } from "./Narrative"; -export type { NutritionOrder, NutritionOrderEnteralFormula, NutritionOrderEnteralFormulaAdministration, NutritionOrderOralDiet, NutritionOrderOralDietNutrient, NutritionOrderOralDietTexture, NutritionOrderSupplement } from "./NutritionOrder"; -export { isNutritionOrder } from "./NutritionOrder"; export type { Observation, ObservationComponent, ObservationReferenceRange } from "./Observation"; export { isObservation } from "./Observation"; -export type { ObservationDefinition, ObservationDefinitionQualifiedInterval, ObservationDefinitionQuantitativeDetails } from "./ObservationDefinition"; -export { isObservationDefinition } from "./ObservationDefinition"; -export type { OperationDefinition, OperationDefinitionOverload, OperationDefinitionParameter, OperationDefinitionParameterBinding, OperationDefinitionParameterReferencedFrom } from "./OperationDefinition"; -export { isOperationDefinition } from "./OperationDefinition"; -export type { OperationOutcome, OperationOutcomeIssue } from "./OperationOutcome"; -export { isOperationOutcome } from "./OperationOutcome"; -export type { Organization, OrganizationContact } from "./Organization"; -export { isOrganization } from "./Organization"; -export type { OrganizationAffiliation } from "./OrganizationAffiliation"; -export { isOrganizationAffiliation } from "./OrganizationAffiliation"; export type { ParameterDefinition } from "./ParameterDefinition"; -export type { Parameters, ParametersParameter } from "./Parameters"; -export { isParameters } from "./Parameters"; export type { Patient, PatientCommunication, PatientContact, PatientLink } from "./Patient"; export { isPatient } from "./Patient"; -export type { PaymentNotice } from "./PaymentNotice"; -export { isPaymentNotice } from "./PaymentNotice"; -export type { PaymentReconciliation, PaymentReconciliationDetail, PaymentReconciliationProcessNote } from "./PaymentReconciliation"; -export { isPaymentReconciliation } from "./PaymentReconciliation"; export type { Period } from "./Period"; -export type { Person, PersonLink } from "./Person"; -export { isPerson } from "./Person"; -export type { PlanDefinition, PlanDefinitionAction, PlanDefinitionActionCondition, PlanDefinitionActionDynamicValue, PlanDefinitionActionParticipant, PlanDefinitionActionRelatedAction, PlanDefinitionGoal, PlanDefinitionGoalTarget } from "./PlanDefinition"; -export { isPlanDefinition } from "./PlanDefinition"; -export type { Population } from "./Population"; -export type { Practitioner, PractitionerQualification } from "./Practitioner"; -export { isPractitioner } from "./Practitioner"; -export type { PractitionerRole, PractitionerRoleAvailableTime, PractitionerRoleNotAvailable } from "./PractitionerRole"; -export { isPractitionerRole } from "./PractitionerRole"; -export type { Procedure, ProcedureFocalDevice, ProcedurePerformer } from "./Procedure"; -export { isProcedure } from "./Procedure"; -export type { ProdCharacteristic } from "./ProdCharacteristic"; -export type { ProductShelfLife } from "./ProductShelfLife"; -export type { Provenance, ProvenanceAgent, ProvenanceEntity } from "./Provenance"; -export { isProvenance } from "./Provenance"; export type { Quantity } from "./Quantity"; -export type { Questionnaire, QuestionnaireItem, QuestionnaireItemAnswerOption, QuestionnaireItemEnableWhen, QuestionnaireItemInitial } from "./Questionnaire"; -export { isQuestionnaire } from "./Questionnaire"; -export type { QuestionnaireResponse, QuestionnaireResponseItem, QuestionnaireResponseItemAnswer } from "./QuestionnaireResponse"; -export { isQuestionnaireResponse } from "./QuestionnaireResponse"; export type { Range } from "./Range"; export type { Ratio } from "./Ratio"; export type { Reference } from "./Reference"; export type { RelatedArtifact } from "./RelatedArtifact"; -export type { RelatedPerson, RelatedPersonCommunication } from "./RelatedPerson"; -export { isRelatedPerson } from "./RelatedPerson"; -export type { Request } from "./Request"; -export type { RequestGroup, RequestGroupAction, RequestGroupActionCondition, RequestGroupActionRelatedAction } from "./RequestGroup"; -export { isRequestGroup } from "./RequestGroup"; -export type { ResearchDefinition } from "./ResearchDefinition"; -export { isResearchDefinition } from "./ResearchDefinition"; -export type { ResearchElementDefinition, ResearchElementDefinitionCharacteristic } from "./ResearchElementDefinition"; -export { isResearchElementDefinition } from "./ResearchElementDefinition"; -export type { ResearchStudy, ResearchStudyArm, ResearchStudyObjective } from "./ResearchStudy"; -export { isResearchStudy } from "./ResearchStudy"; -export type { ResearchSubject } from "./ResearchSubject"; -export { isResearchSubject } from "./ResearchSubject"; export type { Resource } from "./Resource"; export { isResource } from "./Resource"; -export type { RiskAssessment, RiskAssessmentPrediction } from "./RiskAssessment"; -export { isRiskAssessment } from "./RiskAssessment"; -export type { RiskEvidenceSynthesis, RiskEvidenceSynthesisCertainty, RiskEvidenceSynthesisCertaintyCertaintySubcomponent, RiskEvidenceSynthesisRiskEstimate, RiskEvidenceSynthesisRiskEstimatePrecisionEstimate, RiskEvidenceSynthesisSampleSize } from "./RiskEvidenceSynthesis"; -export { isRiskEvidenceSynthesis } from "./RiskEvidenceSynthesis"; export type { SampledData } from "./SampledData"; -export type { Schedule } from "./Schedule"; -export { isSchedule } from "./Schedule"; -export type { SearchParameter, SearchParameterComponent } from "./SearchParameter"; -export { isSearchParameter } from "./SearchParameter"; -export type { ServiceRequest } from "./ServiceRequest"; -export { isServiceRequest } from "./ServiceRequest"; export type { Signature } from "./Signature"; -export type { Slot } from "./Slot"; -export { isSlot } from "./Slot"; -export type { Specimen, SpecimenCollection, SpecimenContainer, SpecimenProcessing } from "./Specimen"; -export { isSpecimen } from "./Specimen"; -export type { SpecimenDefinition, SpecimenDefinitionTypeTested, SpecimenDefinitionTypeTestedContainer, SpecimenDefinitionTypeTestedContainerAdditive, SpecimenDefinitionTypeTestedHandling } from "./SpecimenDefinition"; -export { isSpecimenDefinition } from "./SpecimenDefinition"; -export type { StructureDefinition, StructureDefinitionContext, StructureDefinitionDifferential, StructureDefinitionMapping, StructureDefinitionSnapshot } from "./StructureDefinition"; -export { isStructureDefinition } from "./StructureDefinition"; -export type { StructureMap, StructureMapGroup, StructureMapGroupInput, StructureMapGroupRule, StructureMapGroupRuleDependent, StructureMapGroupRuleSource, StructureMapGroupRuleTarget, StructureMapGroupRuleTargetParameter, StructureMapStructure } from "./StructureMap"; -export { isStructureMap } from "./StructureMap"; -export type { Subscription, SubscriptionChannel } from "./Subscription"; -export { isSubscription } from "./Subscription"; -export type { Substance, SubstanceIngredient, SubstanceInstance } from "./Substance"; -export { isSubstance } from "./Substance"; -export type { SubstanceAmount } from "./SubstanceAmount"; -export type { SubstanceNucleicAcid, SubstanceNucleicAcidSubunit, SubstanceNucleicAcidSubunitLinkage, SubstanceNucleicAcidSubunitSugar } from "./SubstanceNucleicAcid"; -export { isSubstanceNucleicAcid } from "./SubstanceNucleicAcid"; -export type { SubstancePolymer, SubstancePolymerMonomerSet, SubstancePolymerMonomerSetStartingMaterial, SubstancePolymerRepeat, SubstancePolymerRepeatRepeatUnit, SubstancePolymerRepeatRepeatUnitDegreeOfPolymerisation, SubstancePolymerRepeatRepeatUnitStructuralRepresentation } from "./SubstancePolymer"; -export { isSubstancePolymer } from "./SubstancePolymer"; -export type { SubstanceProtein, SubstanceProteinSubunit } from "./SubstanceProtein"; -export { isSubstanceProtein } from "./SubstanceProtein"; -export type { SubstanceReferenceInformation, SubstanceReferenceInformationClassification, SubstanceReferenceInformationGene, SubstanceReferenceInformationGeneElement, SubstanceReferenceInformationTarget } from "./SubstanceReferenceInformation"; -export { isSubstanceReferenceInformation } from "./SubstanceReferenceInformation"; -export type { SubstanceSourceMaterial, SubstanceSourceMaterialFractionDescription, SubstanceSourceMaterialOrganism, SubstanceSourceMaterialOrganismAuthor, SubstanceSourceMaterialOrganismHybrid, SubstanceSourceMaterialOrganismOrganismGeneral, SubstanceSourceMaterialPartDescription } from "./SubstanceSourceMaterial"; -export { isSubstanceSourceMaterial } from "./SubstanceSourceMaterial"; -export type { SubstanceSpecification, SubstanceSpecificationCode, SubstanceSpecificationMoiety, SubstanceSpecificationName, SubstanceSpecificationNameOfficial, SubstanceSpecificationProperty, SubstanceSpecificationRelationship, SubstanceSpecificationStructure, SubstanceSpecificationStructureIsotope, SubstanceSpecificationStructureIsotopeMolecularWeight, SubstanceSpecificationStructureRepresentation } from "./SubstanceSpecification"; -export { isSubstanceSpecification } from "./SubstanceSpecification"; -export type { SupplyDelivery, SupplyDeliverySuppliedItem } from "./SupplyDelivery"; -export { isSupplyDelivery } from "./SupplyDelivery"; -export type { SupplyRequest, SupplyRequestParameter } from "./SupplyRequest"; -export { isSupplyRequest } from "./SupplyRequest"; -export type { Task, TaskInput, TaskOutput, TaskRestriction } from "./Task"; -export { isTask } from "./Task"; -export type { TerminologyCapabilities, TerminologyCapabilitiesClosure, TerminologyCapabilitiesCodeSystem, TerminologyCapabilitiesCodeSystemVersion, TerminologyCapabilitiesCodeSystemVersionFilter, TerminologyCapabilitiesExpansion, TerminologyCapabilitiesExpansionParameter, TerminologyCapabilitiesImplementation, TerminologyCapabilitiesSoftware, TerminologyCapabilitiesTranslation, TerminologyCapabilitiesValidateCode } from "./TerminologyCapabilities"; -export { isTerminologyCapabilities } from "./TerminologyCapabilities"; -export type { TestReport, TestReportParticipant, TestReportSetup, TestReportSetupAction, TestReportSetupActionAssert, TestReportSetupActionOperation, TestReportTeardown, TestReportTeardownAction, TestReportTest, TestReportTestAction } from "./TestReport"; -export { isTestReport } from "./TestReport"; -export type { TestScript, TestScriptDestination, TestScriptFixture, TestScriptMetadata, TestScriptMetadataCapability, TestScriptMetadataLink, TestScriptOrigin, TestScriptSetup, TestScriptSetupAction, TestScriptSetupActionAssert, TestScriptSetupActionOperation, TestScriptSetupActionOperationRequestHeader, TestScriptTeardown, TestScriptTeardownAction, TestScriptTest, TestScriptTestAction, TestScriptVariable } from "./TestScript"; -export { isTestScript } from "./TestScript"; export type { Timing } from "./Timing"; export type { TriggerDefinition } from "./TriggerDefinition"; export type { UsageContext } from "./UsageContext"; -export type { ValueSet, ValueSetCompose, ValueSetComposeInclude, ValueSetComposeIncludeConcept, ValueSetComposeIncludeConceptDesignation, ValueSetComposeIncludeFilter, ValueSetExpansion, ValueSetExpansionContains, ValueSetExpansionParameter } from "./ValueSet"; -export { isValueSet } from "./ValueSet"; -export type { VerificationResult, VerificationResultAttestation, VerificationResultPrimarySource, VerificationResultValidator } from "./VerificationResult"; -export { isVerificationResult } from "./VerificationResult"; -export type { VisionPrescription, VisionPrescriptionLensSpecification, VisionPrescriptionLensSpecificationPrism } from "./VisionPrescription"; -export { isVisionPrescription } from "./VisionPrescription"; 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 deleted file mode 100644 index ed779359f..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/ActivityDefinition_Shareable_ActivityDefinition.ts +++ /dev/null @@ -1,138 +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"; - -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/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 deleted file mode 100644 index 415fc54a8..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/AuditEvent_EHRS_FM_Record_Lifecycle_Event___Audit_Event.ts +++ /dev/null @@ -1,105 +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"; -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/CodeSystem_Shareable_CodeSystem.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/CodeSystem_Shareable_CodeSystem.ts deleted file mode 100644 index d85873b39..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/CodeSystem_Shareable_CodeSystem.ts +++ /dev/null @@ -1,165 +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"; - -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 deleted file mode 100644 index 9ea73fd37..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Composition_Clinical_Document.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 { 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/Composition_DocumentSectionLibrary.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Composition_DocumentSectionLibrary.ts deleted file mode 100644 index 22b75932d..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Composition_DocumentSectionLibrary.ts +++ /dev/null @@ -1,145 +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 { CompositionSection } from "../../hl7-fhir-r4-core/Composition"; - -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, 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 { - return this.resource - } - - public setProcedure (input: DocumentSectionLibrary_Section_ProcedureSliceInput): this { - const match = {"code":{"coding":[{"system":"http://loinc.org","code":"29554-3","display":"Procedure Narrative"}]}} as Record - const value = applySliceMatch(input as Record, match) as unknown as CompositionSection - const list = (this.resource.section ??= []) - const index = list.findIndex((item) => matchesSlice(item, match)) - if (index === -1) { - list.push(value) - } else { - list[index] = value - } - return this - } - - public setMedications (input: DocumentSectionLibrary_Section_MedicationsSliceInput): this { - const match = {"code":{"coding":[{"system":"http://loinc.org","code":"29549-3","display":"Medication administered Narrative"}]}} as Record - const value = applySliceMatch(input as Record, match) as unknown as CompositionSection - const list = (this.resource.section ??= []) - const index = list.findIndex((item) => matchesSlice(item, match)) - if (index === -1) { - list.push(value) - } else { - list[index] = value - } - return this - } - - public setPlan (input: DocumentSectionLibrary_Section_PlanSliceInput): this { - const match = {"code":{"coding":[{"system":"http://loinc.org","code":"18776-5","display":"Plan of treatment (narrative)"}]}} as Record - const value = applySliceMatch(input as Record, match) as unknown as CompositionSection - const list = (this.resource.section ??= []) - const index = list.findIndex((item) => matchesSlice(item, match)) - if (index === -1) { - list.push(value) - } else { - list[index] = value - } - return this - } - - public getProcedure (): DocumentSectionLibrary_Section_ProcedureSliceInput | undefined { - const match = {"code":{"coding":[{"system":"http://loinc.org","code":"29554-3","display":"Procedure Narrative"}]}} as Record - const list = this.resource.section - 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 DocumentSectionLibrary_Section_ProcedureSliceInput - } - - public getProcedureRaw (): CompositionSection | undefined { - const match = {"code":{"coding":[{"system":"http://loinc.org","code":"29554-3","display":"Procedure Narrative"}]}} as Record - const list = this.resource.section - if (!list) return undefined - const item = list.find((item) => matchesSlice(item, match)) - return item - } - - public getMedications (): DocumentSectionLibrary_Section_MedicationsSliceInput | undefined { - const match = {"code":{"coding":[{"system":"http://loinc.org","code":"29549-3","display":"Medication administered Narrative"}]}} as Record - const list = this.resource.section - 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 DocumentSectionLibrary_Section_MedicationsSliceInput - } - - public getMedicationsRaw (): CompositionSection | undefined { - const match = {"code":{"coding":[{"system":"http://loinc.org","code":"29549-3","display":"Medication administered Narrative"}]}} as Record - const list = this.resource.section - if (!list) return undefined - const item = list.find((item) => matchesSlice(item, match)) - return item - } - - public getPlan (): DocumentSectionLibrary_Section_PlanSliceInput | undefined { - const match = {"code":{"coding":[{"system":"http://loinc.org","code":"18776-5","display":"Plan of treatment (narrative)"}]}} as Record - const list = this.resource.section - 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 DocumentSectionLibrary_Section_PlanSliceInput - } - - public getPlanRaw (): CompositionSection | undefined { - const match = {"code":{"coding":[{"system":"http://loinc.org","code":"18776-5","display":"Plan of treatment (narrative)"}]}} as Record - const list = this.resource.section - 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 - 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 deleted file mode 100644 index d67236662..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Composition_DocumentStructure.ts +++ /dev/null @@ -1,50 +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 { 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 deleted file mode 100644 index f7007d212..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Composition_Profile_for_Catalog.ts +++ /dev/null @@ -1,116 +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"; - -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/DiagnosticReport_DiagnosticReport_Genetics.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/DiagnosticReport_DiagnosticReport_Genetics.ts deleted file mode 100644 index e7866f651..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/DiagnosticReport_DiagnosticReport_Genetics.ts +++ /dev/null @@ -1,151 +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 { Extension } from "../../hl7-fhir-r4-core/Extension"; -import type { Reference } from "../../hl7-fhir-r4-core/Reference"; - -export type DiagnosticReport_Genetics_AnalysisInput = { - type: CodeableConcept; - interpretation?: CodeableConcept; -} - -export type DiagnosticReport_Genetics_ReferencesInput = { - description?: string; - reference?: string[]; - type?: CodeableConcept; -} - -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 { - return this.resource - } - - public setAssessedCondition (value: Reference): this { - const list = (this.resource.extension ??= []) - 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 } as Extension) - return this - } - - public setAnalysis (input: DiagnosticReport_Genetics_AnalysisInput): this { - const subExtensions: Extension[] = [] - if (input.type !== undefined) { - subExtensions.push({ url: "type", valueCodeableConcept: input.type }) - } - if (input.interpretation !== undefined) { - subExtensions.push({ url: "interpretation", valueCodeableConcept: input.interpretation }) - } - const list = (this.resource.extension ??= []) - list.push({ url: "http://hl7.org/fhir/StructureDefinition/DiagnosticReport-geneticsAnalysis", extension: subExtensions }) - return this - } - - public setReferences (input: DiagnosticReport_Genetics_ReferencesInput): this { - const subExtensions: Extension[] = [] - if (input.description !== undefined) { - subExtensions.push({ url: "description", valueString: input.description }) - } - if (input.reference) { - for (const item of input.reference) { - subExtensions.push({ url: "reference", valueUri: item }) - } - } - if (input.type !== undefined) { - subExtensions.push({ url: "type", valueCodeableConcept: input.type }) - } - const list = (this.resource.extension ??= []) - list.push({ url: "http://hl7.org/fhir/StructureDefinition/DiagnosticReport-geneticsReferences", extension: subExtensions }) - return this - } - - public getAssessedCondition (): Reference | undefined { - const ext = this.resource.extension?.find(e => e.url === "http://hl7.org/fhir/StructureDefinition/DiagnosticReport-geneticsAssessedCondition") - return (ext as Record | undefined)?.valueReference as Reference | undefined - } - - public getAssessedConditionExtension (): Extension | undefined { - const ext = this.resource.extension?.find(e => e.url === "http://hl7.org/fhir/StructureDefinition/DiagnosticReport-geneticsAssessedCondition") - return ext - } - - public getFamilyMemberHistory (): Reference | undefined { - const ext = this.resource.extension?.find(e => e.url === "http://hl7.org/fhir/StructureDefinition/DiagnosticReport-geneticsFamilyMemberHistory") - return (ext as Record | undefined)?.valueReference as Reference | undefined - } - - public getFamilyMemberHistoryExtension (): Extension | undefined { - const ext = this.resource.extension?.find(e => e.url === "http://hl7.org/fhir/StructureDefinition/DiagnosticReport-geneticsFamilyMemberHistory") - return ext - } - - public getAnalysis (): DiagnosticReport_Genetics_AnalysisInput | undefined { - const ext = this.resource.extension?.find(e => e.url === "http://hl7.org/fhir/StructureDefinition/DiagnosticReport-geneticsAnalysis") - if (!ext) return undefined - const config = [{ name: "type", valueField: "valueCodeableConcept", isArray: false }, { name: "interpretation", valueField: "valueCodeableConcept", isArray: false }] - return extractComplexExtension(ext as unknown as { extension?: Array<{ url?: string; [key: string]: unknown }> }, config) as DiagnosticReport_Genetics_AnalysisInput - } - - public getAnalysisExtension (): Extension | undefined { - const ext = this.resource.extension?.find(e => e.url === "http://hl7.org/fhir/StructureDefinition/DiagnosticReport-geneticsAnalysis") - return ext - } - - public getReferences (): DiagnosticReport_Genetics_ReferencesInput | undefined { - const ext = this.resource.extension?.find(e => e.url === "http://hl7.org/fhir/StructureDefinition/DiagnosticReport-geneticsReferences") - if (!ext) return undefined - const config = [{ name: "description", valueField: "valueString", isArray: false }, { name: "reference", valueField: "valueUri", isArray: true }, { name: "type", valueField: "valueCodeableConcept", isArray: false }] - return extractComplexExtension(ext as unknown as { extension?: Array<{ url?: string; [key: string]: unknown }> }, config) as DiagnosticReport_Genetics_ReferencesInput - } - - public getReferencesExtension (): Extension | undefined { - const ext = this.resource.extension?.find(e => e.url === "http://hl7.org/fhir/StructureDefinition/DiagnosticReport-geneticsReferences") - 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 deleted file mode 100644 index e62710bb7..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/DiagnosticReport_Example_Lipid_Profile.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 { 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/DiagnosticReport_Profile_for_HLA_Genotyping_Results.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/DiagnosticReport_Profile_for_HLA_Genotyping_Results.ts deleted file mode 100644 index 186de2c64..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/DiagnosticReport_Profile_for_HLA_Genotyping_Results.ts +++ /dev/null @@ -1,148 +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 { Extension } from "../../hl7-fhir-r4-core/Extension"; - -export type Profile_for_HLA_Genotyping_Results_GlstringInput = { - url?: string; - text?: string; -} - -export type Profile_for_HLA_Genotyping_Results_HaploidInput = { - locus?: CodeableConcept; - type?: CodeableConcept; - method?: CodeableConcept; -} - -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 { - return this.resource - } - - 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 } as Extension) - return this - } - - public setGlstring (input: Profile_for_HLA_Genotyping_Results_GlstringInput): this { - const subExtensions: Extension[] = [] - if (input.url !== undefined) { - subExtensions.push({ url: "url", valueUri: input.url }) - } - if (input.text !== undefined) { - subExtensions.push({ url: "text", valueString: input.text }) - } - const list = (this.resource.extension ??= []) - list.push({ url: "http://hl7.org/fhir/StructureDefinition/hla-genotyping-results-glstring", extension: subExtensions }) - return this - } - - public setHaploid (input: Profile_for_HLA_Genotyping_Results_HaploidInput): this { - const subExtensions: Extension[] = [] - if (input.locus !== undefined) { - subExtensions.push({ url: "locus", valueCodeableConcept: input.locus }) - } - if (input.type !== undefined) { - subExtensions.push({ url: "type", valueCodeableConcept: input.type }) - } - if (input.method !== undefined) { - subExtensions.push({ url: "method", valueCodeableConcept: input.method }) - } - const list = (this.resource.extension ??= []) - list.push({ url: "http://hl7.org/fhir/StructureDefinition/hla-genotyping-results-haploid", extension: subExtensions }) - return this - } - - public setMethod (value: CodeableConcept): this { - const list = (this.resource.extension ??= []) - 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 as Record | undefined)?.valueCodeableConcept as CodeableConcept | undefined - } - - public getAlleleDatabaseExtension (): Extension | undefined { - const ext = this.resource.extension?.find(e => e.url === "http://hl7.org/fhir/StructureDefinition/hla-genotyping-results-allele-database") - return ext - } - - public getGlstring (): Profile_for_HLA_Genotyping_Results_GlstringInput | undefined { - const ext = this.resource.extension?.find(e => e.url === "http://hl7.org/fhir/StructureDefinition/hla-genotyping-results-glstring") - if (!ext) return undefined - const config = [{ name: "url", valueField: "valueUri", isArray: false }, { name: "text", valueField: "valueString", isArray: false }] - return extractComplexExtension(ext as unknown as { extension?: Array<{ url?: string; [key: string]: unknown }> }, config) as Profile_for_HLA_Genotyping_Results_GlstringInput - } - - public getGlstringExtension (): Extension | undefined { - const ext = this.resource.extension?.find(e => e.url === "http://hl7.org/fhir/StructureDefinition/hla-genotyping-results-glstring") - return ext - } - - public getHaploid (): Profile_for_HLA_Genotyping_Results_HaploidInput | undefined { - const ext = this.resource.extension?.find(e => e.url === "http://hl7.org/fhir/StructureDefinition/hla-genotyping-results-haploid") - if (!ext) return undefined - const config = [{ name: "locus", valueField: "valueCodeableConcept", isArray: false }, { name: "type", valueField: "valueCodeableConcept", isArray: false }, { name: "method", valueField: "valueCodeableConcept", isArray: false }] - return extractComplexExtension(ext as unknown as { extension?: Array<{ url?: string; [key: string]: unknown }> }, config) as Profile_for_HLA_Genotyping_Results_HaploidInput - } - - public getHaploidExtension (): Extension | undefined { - const ext = this.resource.extension?.find(e => e.url === "http://hl7.org/fhir/StructureDefinition/hla-genotyping-results-haploid") - return ext - } - - public getMethod (): CodeableConcept | undefined { - const ext = this.resource.extension?.find(e => e.url === "http://hl7.org/fhir/StructureDefinition/hla-genotyping-results-method") - return (ext as Record | undefined)?.valueCodeableConcept as CodeableConcept | undefined - } - - public getMethodExtension (): Extension | undefined { - const ext = this.resource.extension?.find(e => e.url === "http://hl7.org/fhir/StructureDefinition/hla-genotyping-results-method") - 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/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 deleted file mode 100644 index 5fd05375b..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/ElementDefinition_DataElement_constraint_on_ElementDefinition_data_type.ts +++ /dev/null @@ -1,72 +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 { 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/EvidenceVariable_PICO_Element_Profile.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/EvidenceVariable_PICO_Element_Profile.ts deleted file mode 100644 index 809738997..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/EvidenceVariable_PICO_Element_Profile.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 { 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 deleted file mode 100644 index 92bdd93bd..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Evidence_Evidence_Synthesis_Profile.ts +++ /dev/null @@ -1,115 +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"; - -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/Extension_ADXP_additionalLocator.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_ADXP_additionalLocator.ts deleted file mode 100644 index 89c7971b9..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_ADXP_additionalLocator.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-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 deleted file mode 100644 index f4b05a123..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_ADXP_buildingNumberSuffix.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-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 deleted file mode 100644 index d2b45398f..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_ADXP_careOf.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-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 deleted file mode 100644 index 4ba641a2d..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_ADXP_censusTract.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-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 deleted file mode 100644 index 5a2b129d9..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_ADXP_delimiter.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-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 deleted file mode 100644 index 5eb405775..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_ADXP_deliveryAddressLine.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-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 deleted file mode 100644 index b68421f78..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_ADXP_deliveryInstallationArea.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-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 deleted file mode 100644 index acf518bea..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_ADXP_deliveryInstallationQualifier.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-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 deleted file mode 100644 index 38fcc89a6..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_ADXP_deliveryInstallationType.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-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 deleted file mode 100644 index 1ea5676c2..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_ADXP_deliveryMode.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-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 deleted file mode 100644 index b8233643f..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_ADXP_deliveryModeIdentifier.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-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 deleted file mode 100644 index 8be1bd3d8..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_ADXP_direction.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-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 deleted file mode 100644 index be9c2bafb..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_ADXP_houseNumber.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-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 deleted file mode 100644 index 44759e03a..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_ADXP_houseNumberNumeric.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-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 deleted file mode 100644 index 9b235045b..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_ADXP_postBox.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-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 deleted file mode 100644 index 29d243e74..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_ADXP_precinct.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-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 deleted file mode 100644 index 0c6271dd8..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_ADXP_streetAddressLine.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-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 deleted file mode 100644 index 2b1b5a4fb..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_ADXP_streetName.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-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 deleted file mode 100644 index 0ff04c6c3..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_ADXP_streetNameBase.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-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 deleted file mode 100644 index f61b29aea..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_ADXP_streetNameType.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-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 deleted file mode 100644 index 077f2fcbe..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_ADXP_unitID.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-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 deleted file mode 100644 index 49c240649..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_ADXP_unitType.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-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 deleted file mode 100644 index ce8a79bd9..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_AD_use.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-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 deleted file mode 100644 index e257375af..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_Accession.ts +++ /dev/null @@ -1,74 +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 { 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 deleted file mode 100644 index c17e41e58..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_Allele.ts +++ /dev/null @@ -1,105 +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 { 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 deleted file mode 100644 index f5688e83c..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_AminoAcidChange.ts +++ /dev/null @@ -1,89 +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 { 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 deleted file mode 100644 index 9b54de260..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_Analysis.ts +++ /dev/null @@ -1,104 +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 { 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 deleted file mode 100644 index 4a029f967..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_Ancestry.ts +++ /dev/null @@ -1,120 +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 { 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 deleted file mode 100644 index 827d5664f..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_Anonymized.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-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 deleted file mode 100644 index 31355ef36..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_AssessedCondition.ts +++ /dev/null @@ -1,74 +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 { 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 deleted file mode 100644 index ead0789f2..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_BodyStructure_Reference.ts +++ /dev/null @@ -1,74 +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 { 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 deleted file mode 100644 index 0be4d13d0..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_CopyNumberEvent.ts +++ /dev/null @@ -1,74 +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 { 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 deleted file mode 100644 index 057c5c6d1..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_DNARegionName.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-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 deleted file mode 100644 index f87a3a41a..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_Data_Absent_Reason.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-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 deleted file mode 100644 index ee7cc7245..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_Design_Note.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-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 deleted file mode 100644 index 0393f0374..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_Display_Name.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-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 deleted file mode 100644 index e4449a1bd..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_EN_qualifier.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-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 deleted file mode 100644 index dd4900826..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_EN_representation.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-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 deleted file mode 100644 index 7296eb1dc..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_EN_use.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-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 deleted file mode 100644 index a64022775..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_Encrypted.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-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 deleted file mode 100644 index 8d96cb3c8..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_FamilyMemberHistory.ts +++ /dev/null @@ -1,74 +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 { 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 deleted file mode 100644 index f7382f337..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_Gene.ts +++ /dev/null @@ -1,74 +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 { 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 deleted file mode 100644 index b0888da49..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_GenomicSourceClass.ts +++ /dev/null @@ -1,74 +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 { 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 deleted file mode 100644 index c66742362..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_Geolocation.ts +++ /dev/null @@ -1,103 +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 { 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 deleted file mode 100644 index 8c924ea1f..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_Human_Language.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-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 deleted file mode 100644 index c9e87f40d..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_Instance.ts +++ /dev/null @@ -1,74 +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 { 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 deleted file mode 100644 index 62c75a94e..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_Interpretation.ts +++ /dev/null @@ -1,74 +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 { 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 deleted file mode 100644 index df54942bb..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_Item.ts +++ /dev/null @@ -1,137 +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 { 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 deleted file mode 100644 index bb81ea48d..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_MPPS.ts +++ /dev/null @@ -1,74 +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 { 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 deleted file mode 100644 index 8f7b1d191..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_Narrative_Link.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-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 deleted file mode 100644 index e7a4a50a7..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_NotificationEndpoint.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-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 deleted file mode 100644 index 95b071c88..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_NumberOfInstances.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-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 deleted file mode 100644 index 2a80b6619..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_Ordinal_Value.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-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 deleted file mode 100644 index 2d606f1fb..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_Original_Text.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-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 deleted file mode 100644 index e31af2c4a..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_PQ_translation.ts +++ /dev/null @@ -1,74 +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 { 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 deleted file mode 100644 index d4f23040e..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_ParticipantObjectContainsStudy.ts +++ /dev/null @@ -1,74 +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 { 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 deleted file mode 100644 index 3b88b6580..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_PhaseSet.ts +++ /dev/null @@ -1,89 +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 { 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 deleted file mode 100644 index d8303cf3e..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_References.ts +++ /dev/null @@ -1,105 +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 { 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 deleted file mode 100644 index bbcad7822..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_Relative_Date_Criteria.ts +++ /dev/null @@ -1,121 +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 { 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 deleted file mode 100644 index 3913df725..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_Rendered_Value.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-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 deleted file mode 100644 index dc4382a3e..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_SC_coding.ts +++ /dev/null @@ -1,74 +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 { 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 deleted file mode 100644 index af60b77ed..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_SOPClass.ts +++ /dev/null @@ -1,74 +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 { 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 deleted file mode 100644 index ec0db4aeb..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_TEL_address.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-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 deleted file mode 100644 index 833b8fd3f..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_Timezone_Code.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-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 deleted file mode 100644 index 0a11946d2..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_Timezone_Offset.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-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 deleted file mode 100644 index 506fe01bf..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_Transcriber.ts +++ /dev/null @@ -1,74 +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 { 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 deleted file mode 100644 index 513155040..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_Translation.ts +++ /dev/null @@ -1,103 +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 { 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 deleted file mode 100644 index 3026e0b37..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_ValidityPeriod.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-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 deleted file mode 100644 index 4d4b012a9..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_Variable.ts +++ /dev/null @@ -1,74 +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 { 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 deleted file mode 100644 index b34d6d6d3..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_Variant.ts +++ /dev/null @@ -1,105 +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 { 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 deleted file mode 100644 index 214a50984..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_Witness.ts +++ /dev/null @@ -1,74 +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 { 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 deleted file mode 100644 index b262638b4..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_abatement.ts +++ /dev/null @@ -1,87 +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 { 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 deleted file mode 100644 index 82a637c79..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_acceptance.ts +++ /dev/null @@ -1,121 +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 { 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 deleted file mode 100644 index 6beb2d930..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_activityStatusDate.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-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 deleted file mode 100644 index a4b251924..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_activity_title.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-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 deleted file mode 100644 index 8d815f757..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_adaptiveFeedingDevice.ts +++ /dev/null @@ -1,74 +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 { 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 deleted file mode 100644 index 4a778eecd..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_addendumOf.ts +++ /dev/null @@ -1,74 +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 { 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 deleted file mode 100644 index 578d59011..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_administration.ts +++ /dev/null @@ -1,74 +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 { 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 deleted file mode 100644 index 6e889db07..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_adoptionInfo.ts +++ /dev/null @@ -1,74 +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 { 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 deleted file mode 100644 index 7874c5b03..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_allele_database.ts +++ /dev/null @@ -1,74 +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 { 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 deleted file mode 100644 index e5794c9d1..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_allowedUnits.ts +++ /dev/null @@ -1,78 +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 { 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 deleted file mode 100644 index 68d99f939..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_allowed_type.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-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 deleted file mode 100644 index d2713f9e1..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_alternate.ts +++ /dev/null @@ -1,104 +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 { 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 deleted file mode 100644 index a6b806fdf..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_ancestor.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-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 deleted file mode 100644 index 477d7f1cd..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_animal.ts +++ /dev/null @@ -1,120 +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 { 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 deleted file mode 100644 index c607c9875..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_animalSpecies.ts +++ /dev/null @@ -1,74 +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 { 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 deleted file mode 100644 index f4e532580..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_applicable_version.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-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 deleted file mode 100644 index b746cb6b2..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_approachBodyStructure.ts +++ /dev/null @@ -1,74 +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 { 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 deleted file mode 100644 index 612613046..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_approvalDate.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-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 deleted file mode 100644 index 8bfa54759..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_area.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-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 deleted file mode 100644 index ae2864738..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_assembly_order.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-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 deleted file mode 100644 index b72fe886e..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_assertedDate.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-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 deleted file mode 100644 index d15214f98..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_associatedEncounter.ts +++ /dev/null @@ -1,74 +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 { 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 deleted file mode 100644 index 7efc82cb4..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_author.ts +++ /dev/null @@ -1,74 +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 { 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 deleted file mode 100644 index d8fe17510..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_authoritativeSource.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-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 deleted file mode 100644 index b101a4478..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_authority.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-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 deleted file mode 100644 index 2efb6be7d..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_baseType.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-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 deleted file mode 100644 index b44a93a89..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_basedOn.ts +++ /dev/null @@ -1,74 +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 { 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 deleted file mode 100644 index 4ae9e79d9..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_bestpractice.ts +++ /dev/null @@ -1,78 +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 { 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 deleted file mode 100644 index bc4f7ec7c..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_bestpractice_explanation.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-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 deleted file mode 100644 index ce93dcd27..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_bidirectional.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-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 deleted file mode 100644 index 9b4e5acfc..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_bindingName.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-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 deleted file mode 100644 index 9e5a63ebc..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_birthPlace.ts +++ /dev/null @@ -1,74 +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 { 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 deleted file mode 100644 index bff1c3abb..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_birthTime.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-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 deleted file mode 100644 index 8ad8a7375..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_bodyPosition.ts +++ /dev/null @@ -1,74 +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 { 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 deleted file mode 100644 index 8a56a7c81..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_boundary_geojson.ts +++ /dev/null @@ -1,74 +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-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 deleted file mode 100644 index 692641855..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_cadavericDonor.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-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 deleted file mode 100644 index cc2b9b21d..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_calculatedValue.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-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 deleted file mode 100644 index aa370418e..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_candidateList.ts +++ /dev/null @@ -1,74 +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 { 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 deleted file mode 100644 index 7421231ca..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_capabilities.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-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 deleted file mode 100644 index 0c196782b..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_careplan.ts +++ /dev/null @@ -1,74 +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 { 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 deleted file mode 100644 index a8056a660..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_caseSensitive.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-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 deleted file mode 100644 index 3d0a97916..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_category.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-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 deleted file mode 100644 index 3227c2f83..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_causedBy.ts +++ /dev/null @@ -1,74 +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 { 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 deleted file mode 100644 index 40bd2208f..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_cdsHooksEndpoint.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-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 deleted file mode 100644 index 0c389621a..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_certainty.ts +++ /dev/null @@ -1,74 +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 { 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 deleted file mode 100644 index d8b993f69..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_changeBase.ts +++ /dev/null @@ -1,74 +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 { 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 deleted file mode 100644 index 3a8d99d3f..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_choiceOrientation.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-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 deleted file mode 100644 index b79910ba3..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_citation.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-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 deleted file mode 100644 index d947d87ac..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_citizenship.ts +++ /dev/null @@ -1,90 +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 { 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 deleted file mode 100644 index 1f2100b1a..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_codegen_super.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-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 deleted file mode 100644 index c26923022..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_collectionPriority.ts +++ /dev/null @@ -1,74 +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 { 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 deleted file mode 100644 index 081a77e73..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_completionMode.ts +++ /dev/null @@ -1,74 +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 { 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 deleted file mode 100644 index cc599a06e..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_conceptOrder.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-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 deleted file mode 100644 index b699327fb..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_concept_comments.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-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 deleted file mode 100644 index 1acd26cc6..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_concept_definition.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-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 deleted file mode 100644 index b9565e96b..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_congregation.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-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 deleted file mode 100644 index f47a08dd9..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_constraint.ts +++ /dev/null @@ -1,167 +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 { 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 deleted file mode 100644 index e746c1c6d..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_country.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-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 deleted file mode 100644 index 109e1b32a..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_dayOfMonth.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-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 deleted file mode 100644 index 4319a367e..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_daysOfCycle.ts +++ /dev/null @@ -1,87 +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 { 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 deleted file mode 100644 index 728da8fe8..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_delta.ts +++ /dev/null @@ -1,74 +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 { 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 deleted file mode 100644 index d20531127..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_dependencies.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-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 deleted file mode 100644 index 6d57ef281..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_deprecated.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-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 deleted file mode 100644 index 6eb199e7c..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_detail.ts +++ /dev/null @@ -1,74 +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 { 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 deleted file mode 100644 index 19ae8bf2f..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_detectedIssue.ts +++ /dev/null @@ -1,74 +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 { 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 deleted file mode 100644 index e58bb39b9..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_deviceCode.ts +++ /dev/null @@ -1,74 +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 { 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 deleted file mode 100644 index 3617d8f1b..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_directedBy.ts +++ /dev/null @@ -1,79 +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 { 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 deleted file mode 100644 index 742f846c4..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_disability.ts +++ /dev/null @@ -1,74 +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 { 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 deleted file mode 100644 index 979a0c633..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_displayCategory.ts +++ /dev/null @@ -1,74 +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 { 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 deleted file mode 100644 index 8c1f1a91a..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_display_hint.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-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 deleted file mode 100644 index 07edecf12..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_doNotPerform.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-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 deleted file mode 100644 index 68577c925..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_dueTo.ts +++ /dev/null @@ -1,79 +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 { 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 deleted file mode 100644 index e0425e00e..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_duration.ts +++ /dev/null @@ -1,74 +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 { 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 deleted file mode 100644 index 3bfda7c87..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_effectiveDate.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-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 deleted file mode 100644 index 30413fc3e..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_effectivePeriod.ts +++ /dev/null @@ -1,74 +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 { 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 deleted file mode 100644 index c05508d0a..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_encounterClass.ts +++ /dev/null @@ -1,74 +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 { 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 deleted file mode 100644 index 908f33d75..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_encounterType.ts +++ /dev/null @@ -1,74 +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 { 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 deleted file mode 100644 index 9b5ba444f..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_entryFormat.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-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 deleted file mode 100644 index e259c30b7..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_episodeOfCare.ts +++ /dev/null @@ -1,74 +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 { 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 deleted file mode 100644 index a700adb2a..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_equivalence.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-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 deleted file mode 100644 index 209199d97..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_eventHistory.ts +++ /dev/null @@ -1,74 +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 { 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 deleted file mode 100644 index 1d41f3570..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_exact.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-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 deleted file mode 100644 index a3f3beb00..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_expand_group.ts +++ /dev/null @@ -1,104 +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 { 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 deleted file mode 100644 index 443f1a47a..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_expand_rules.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-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 deleted file mode 100644 index 4bd8e4866..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_expansionSource.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-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 deleted file mode 100644 index a374e3d09..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_expectation.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-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 deleted file mode 100644 index 95a03871a..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_expirationDate.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-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 deleted file mode 100644 index 0af591e6e..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_explicit_type_name.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-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 deleted file mode 100644 index f2a3f09ae..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_exposureDate.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-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 deleted file mode 100644 index fd7e434fc..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_exposureDescription.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-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 deleted file mode 100644 index 888bb7837..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_exposureDuration.ts +++ /dev/null @@ -1,74 +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 { 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 deleted file mode 100644 index d0418098a..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_expression.ts +++ /dev/null @@ -1,74 +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 { 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 deleted file mode 100644 index 8774e5675..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_extends.ts +++ /dev/null @@ -1,74 +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 { 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 deleted file mode 100644 index 68c33404d..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_extensible.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-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 deleted file mode 100644 index 9eb46f7d2..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_extension.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-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 deleted file mode 100644 index 078efde1c..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_fathers_family.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-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 deleted file mode 100644 index bf36adc24..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_fhirType.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-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 deleted file mode 100644 index 28ca36966..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_fhir_type.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-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 deleted file mode 100644 index ab79f225c..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_fmm.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-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 deleted file mode 100644 index 14e1656aa..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_fmm_no_warnings.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-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 deleted file mode 100644 index 69eaa85cd..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_focusCode.ts +++ /dev/null @@ -1,74 +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 { 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 deleted file mode 100644 index 1ca962d94..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_fullUrl.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-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 deleted file mode 100644 index 5ac7004e0..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_gatewayDevice.ts +++ /dev/null @@ -1,74 +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 { 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 deleted file mode 100644 index 3c6b941de..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_genderIdentity.ts +++ /dev/null @@ -1,74 +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 { 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 deleted file mode 100644 index 4031554d3..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_glstring.ts +++ /dev/null @@ -1,79 +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 { 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 deleted file mode 100644 index 292062d3f..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_group.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-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 deleted file mode 100644 index de13dafe4..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_haploid.ts +++ /dev/null @@ -1,105 +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 { 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 deleted file mode 100644 index b06ac8567..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_hidden.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-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 deleted file mode 100644 index d0907bb07..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_hierarchy.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-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 deleted file mode 100644 index 4faf16f71..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_history.ts +++ /dev/null @@ -1,82 +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 { 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 deleted file mode 100644 index 5220f3076..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_http_response_header.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-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 deleted file mode 100644 index f4e5fda26..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_identifier.ts +++ /dev/null @@ -1,74 +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 { 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 deleted file mode 100644 index 27af43b11..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_implantStatus.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-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 deleted file mode 100644 index 6c5848f31..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_importance.ts +++ /dev/null @@ -1,74 +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 { 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 deleted file mode 100644 index 5f02b6917..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_incisionDateTime.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-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 deleted file mode 100644 index 1fc0103aa..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_inheritedExtensibleValueSet.ts +++ /dev/null @@ -1,77 +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 { 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 deleted file mode 100644 index 6d5b21aff..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_initialValue.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-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 deleted file mode 100644 index 39b782a56..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_initiatingLocation.ts +++ /dev/null @@ -1,74 +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 { 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 deleted file mode 100644 index 130afe8f0..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_initiatingOrganization.ts +++ /dev/null @@ -1,74 +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 { 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 deleted file mode 100644 index 301b9aa71..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_initiatingPerson.ts +++ /dev/null @@ -1,74 +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 { 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 deleted file mode 100644 index 2bcb25ad2..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_instantiatesCanonical.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-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 deleted file mode 100644 index c99a22ead..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_instantiatesUri.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-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 deleted file mode 100644 index 6f274b3ea..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_insurance.ts +++ /dev/null @@ -1,74 +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 { 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 deleted file mode 100644 index cf1bf248b..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_interpreterRequired.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-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 deleted file mode 100644 index 47cfb3294..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_isCommonBinding.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-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 deleted file mode 100644 index 67e916585..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_isDryWeight.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-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 deleted file mode 100644 index 6352f58fe..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_issue_source.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-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 deleted file mode 100644 index 647a31230..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_itemControl.ts +++ /dev/null @@ -1,74 +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 { 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 deleted file mode 100644 index 5c8b6d47d..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_keyWord.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-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 deleted file mode 100644 index bf8df3563..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_label.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-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 deleted file mode 100644 index 10741568c..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_lastReviewDate.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-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 deleted file mode 100644 index 22f4e1826..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_library.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-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 deleted file mode 100644 index 331ec1d7f..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_local.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-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 deleted file mode 100644 index 25a93b78c..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_location.ts +++ /dev/null @@ -1,74 +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 { 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 deleted file mode 100644 index 61f8ee883..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_locationPerformed.ts +++ /dev/null @@ -1,74 +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 { 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 deleted file mode 100644 index 4a96ccac3..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_location_distance.ts +++ /dev/null @@ -1,74 +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 { 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 deleted file mode 100644 index d7800885f..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_management.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-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 deleted file mode 100644 index 73acaa3c6..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_map.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-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 deleted file mode 100644 index 76876b20c..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_markdown.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-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 deleted file mode 100644 index a88529530..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_match_grade.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-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 deleted file mode 100644 index 37519db32..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_maxDecimalPlaces.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-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 deleted file mode 100644 index 996da9a84..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_maxOccurs.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-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 deleted file mode 100644 index 4c33e7224..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_maxSize.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-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 deleted file mode 100644 index 264d108eb..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_maxValue.ts +++ /dev/null @@ -1,113 +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 { 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 deleted file mode 100644 index 4a471f7b4..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_maxValueSet.ts +++ /dev/null @@ -1,77 +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 { 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 deleted file mode 100644 index 4dfd16443..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_measureInfo.ts +++ /dev/null @@ -1,104 +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 { 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 deleted file mode 100644 index c9b9101f1..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_media.ts +++ /dev/null @@ -1,74 +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-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 deleted file mode 100644 index a506756c5..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_messageheader_response_request.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-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 deleted file mode 100644 index 9e442d316..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_method.ts +++ /dev/null @@ -1,74 +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 { 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 deleted file mode 100644 index 69e137143..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_mimeType.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-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 deleted file mode 100644 index eca24e635..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_minLength.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-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 deleted file mode 100644 index 488f41db3..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_minOccurs.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-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 deleted file mode 100644 index 5526dbf2f..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_minValue.ts +++ /dev/null @@ -1,104 +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 { 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 deleted file mode 100644 index 713e17f4b..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_minValueSet.ts +++ /dev/null @@ -1,77 +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 { 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 deleted file mode 100644 index 065c18483..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_modeOfArrival.ts +++ /dev/null @@ -1,74 +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 { 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 deleted file mode 100644 index 1535d1bb5..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_mothersMaidenName.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-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 deleted file mode 100644 index 4877fba59..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_mothers_family.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-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 deleted file mode 100644 index 52d9711e1..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_namespace.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-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 deleted file mode 100644 index 798d58709..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_nationality.ts +++ /dev/null @@ -1,90 +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 { 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 deleted file mode 100644 index 8fcd3e263..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_normative_version.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-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 deleted file mode 100644 index ba6c7147a..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_nullFlavor.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-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 deleted file mode 100644 index ad52f423b..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_oauth_uris.ts +++ /dev/null @@ -1,135 +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 { 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 deleted file mode 100644 index d02073ecf..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_objectClass.ts +++ /dev/null @@ -1,74 +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 { 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 deleted file mode 100644 index 6b62a9d9c..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_objectClassProperty.ts +++ /dev/null @@ -1,74 +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 { 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 deleted file mode 100644 index 9a9f80046..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_observation.ts +++ /dev/null @@ -1,74 +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 { 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 deleted file mode 100644 index 952fbdbb9..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_occurredFollowing.ts +++ /dev/null @@ -1,79 +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 { 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 deleted file mode 100644 index 942fddf54..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_optionExclusive.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-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 deleted file mode 100644 index 4c2ca6c5d..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_optionPrefix.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-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 deleted file mode 100644 index d8f212539..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_otherConfidentiality.ts +++ /dev/null @@ -1,74 +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 { 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 deleted file mode 100644 index 2477bb9b8..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_otherName.ts +++ /dev/null @@ -1,103 +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 { 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 deleted file mode 100644 index 13ef4400a..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_outcome.ts +++ /dev/null @@ -1,74 +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 { 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 deleted file mode 100644 index 3dfb4962f..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_own_name.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-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 deleted file mode 100644 index 9a505e7bb..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_own_prefix.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-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 deleted file mode 100644 index 2f51dea30..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_parameterSource.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-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 deleted file mode 100644 index b6d42910a..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_parent.ts +++ /dev/null @@ -1,105 +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 { 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 deleted file mode 100644 index b147a6b08..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_partOf.ts +++ /dev/null @@ -1,74 +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 { 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 deleted file mode 100644 index fb33aff06..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_partner_name.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-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 deleted file mode 100644 index 16d0af55d..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_partner_prefix.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-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 deleted file mode 100644 index d80888fdf..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_patientInstruction.ts +++ /dev/null @@ -1,103 +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 { 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 deleted file mode 100644 index 9a411d2b4..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_patient_record.ts +++ /dev/null @@ -1,74 +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 { 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 deleted file mode 100644 index 616ef0789..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_performerFunction.ts +++ /dev/null @@ -1,74 +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 { 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 deleted file mode 100644 index 2dd677778..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_performerOrder.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-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 deleted file mode 100644 index 236598e4c..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_period.ts +++ /dev/null @@ -1,74 +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 { 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 deleted file mode 100644 index 023e5cd89..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_permitted_value_conceptmap.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-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 deleted file mode 100644 index 438a8d071..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_permitted_value_valueset.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-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 deleted file mode 100644 index 51265b2f8..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_pertainsToGoal.ts +++ /dev/null @@ -1,74 +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 { 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 deleted file mode 100644 index cb1382ccb..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_precision.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-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 deleted file mode 100644 index f644a397a..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_precondition.ts +++ /dev/null @@ -1,74 +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 { 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 deleted file mode 100644 index 019e5b82c..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_preferenceType.ts +++ /dev/null @@ -1,74 +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 { 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 deleted file mode 100644 index 189bd2359..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_preferred.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-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 deleted file mode 100644 index 24991bb42..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_preferredContact.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-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 deleted file mode 100644 index c21dc884f..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_primaryInd.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-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 deleted file mode 100644 index 64ec8e246..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_priority.ts +++ /dev/null @@ -1,74 +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 { 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 deleted file mode 100644 index 988f67737..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_processingTime.ts +++ /dev/null @@ -1,79 +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 { 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 deleted file mode 100644 index d918861a6..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_proficiency.ts +++ /dev/null @@ -1,89 +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 { 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 deleted file mode 100644 index bb2e260d6..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_profile.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-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 deleted file mode 100644 index d846fbe11..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_profile_element.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-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 deleted file mode 100644 index ff073c1ff..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_progressStatus.ts +++ /dev/null @@ -1,74 +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 { 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 deleted file mode 100644 index 643e84361..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_prohibited.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-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 deleted file mode 100644 index 703a91b8f..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_qualityOfEvidence.ts +++ /dev/null @@ -1,74 +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 { 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 deleted file mode 100644 index 959a8cd4d..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_question.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-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 deleted file mode 100644 index 3d1338fd2..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_questionnaireRequest.ts +++ /dev/null @@ -1,74 +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 { 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 deleted file mode 100644 index 7faa34cda..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_reagent.ts +++ /dev/null @@ -1,74 +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 { 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 deleted file mode 100644 index 63d74de20..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_reason.ts +++ /dev/null @@ -1,74 +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 { 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 deleted file mode 100644 index 174ed039c..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_reasonCancelled.ts +++ /dev/null @@ -1,74 +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 { 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 deleted file mode 100644 index ea4032c67..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_reasonCode.ts +++ /dev/null @@ -1,74 +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 { 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 deleted file mode 100644 index 1dc87dc71..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_reasonReference.ts +++ /dev/null @@ -1,74 +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 { 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 deleted file mode 100644 index 2d35f3c58..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_reasonRefuted.ts +++ /dev/null @@ -1,74 +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 { 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 deleted file mode 100644 index 28c983c74..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_reasonRejected.ts +++ /dev/null @@ -1,74 +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 { 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 deleted file mode 100644 index f59b94c6f..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_receivingOrganization.ts +++ /dev/null @@ -1,74 +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 { 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 deleted file mode 100644 index 9e7d714b3..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_receivingPerson.ts +++ /dev/null @@ -1,74 +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 { 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 deleted file mode 100644 index 8e0e6f774..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_recipientLanguage.ts +++ /dev/null @@ -1,74 +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 { 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 deleted file mode 100644 index e249e1e6d..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_recipientType.ts +++ /dev/null @@ -1,74 +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 { 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 deleted file mode 100644 index 3a5bd00a6..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_reference.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-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 deleted file mode 100644 index 9e7ebbf3f..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_referenceFilter.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-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 deleted file mode 100644 index bfbf69df8..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_referenceProfile.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-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 deleted file mode 100644 index 15689c36c..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_referenceResource.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-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 deleted file mode 100644 index 55fc202ca..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_regex.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-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 deleted file mode 100644 index 54dc023fb..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_related.ts +++ /dev/null @@ -1,74 +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 { 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 deleted file mode 100644 index df3ce5858..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_relatedArtifact.ts +++ /dev/null @@ -1,74 +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 { 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 deleted file mode 100644 index bc0fef460..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_relatedPerson.ts +++ /dev/null @@ -1,74 +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 { 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 deleted file mode 100644 index 592f337a9..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_relationship.ts +++ /dev/null @@ -1,105 +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 { 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 deleted file mode 100644 index f255a7225..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_relativeDateTime.ts +++ /dev/null @@ -1,137 +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 { 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 deleted file mode 100644 index fe2492ccc..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_relevantHistory.ts +++ /dev/null @@ -1,74 +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 { 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 deleted file mode 100644 index 26bc82755..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_religion.ts +++ /dev/null @@ -1,74 +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 { 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 deleted file mode 100644 index a33a8b0b4..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_replacedby.ts +++ /dev/null @@ -1,74 +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 { 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 deleted file mode 100644 index 05ab79de2..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_replaces.ts +++ /dev/null @@ -1,74 +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 { 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 deleted file mode 100644 index fd50ef0a1..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_researchStudy.ts +++ /dev/null @@ -1,74 +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 { 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 deleted file mode 100644 index af384239e..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_resolutionAge.ts +++ /dev/null @@ -1,74 +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 { 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 deleted file mode 100644 index abf67d2f1..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_reviewer.ts +++ /dev/null @@ -1,74 +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 { 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 deleted file mode 100644 index 809266007..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_risk.ts +++ /dev/null @@ -1,74 +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 { 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 deleted file mode 100644 index 5ac54bf7a..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_ruledOut.ts +++ /dev/null @@ -1,74 +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 { 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 deleted file mode 100644 index e80c3161c..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_rules_text.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-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 deleted file mode 100644 index a09407ab4..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_schedule.ts +++ /dev/null @@ -1,74 +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 { 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 deleted file mode 100644 index 1a76da337..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_sctdescid.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-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 deleted file mode 100644 index 7bb43c669..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_search_parameter_combination.ts +++ /dev/null @@ -1,103 +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 { 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 deleted file mode 100644 index f466bcb45..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_secondaryFinding.ts +++ /dev/null @@ -1,74 +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 { 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 deleted file mode 100644 index 79b8cbe48..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_section_subject.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-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 deleted file mode 100644 index 91793e9c5..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_security_category.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-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 deleted file mode 100644 index 37e81b627..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_selector.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-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 deleted file mode 100644 index 15a7d9268..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_sequelTo.ts +++ /dev/null @@ -1,74 +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 { 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 deleted file mode 100644 index 937daa45a..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_sequenceNumber.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-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 deleted file mode 100644 index f556b5c2e..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_severity.ts +++ /dev/null @@ -1,74 +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 { 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 deleted file mode 100644 index da4c26d11..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_sibling.ts +++ /dev/null @@ -1,105 +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 { 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 deleted file mode 100644 index c877b7eda..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_signature.ts +++ /dev/null @@ -1,74 +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 { 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 deleted file mode 100644 index 600bd15fb..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_signatureRequired.ts +++ /dev/null @@ -1,74 +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 { 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 deleted file mode 100644 index 04a713ae7..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_sliderStepValue.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-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 deleted file mode 100644 index ebcb94367..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_sourceReference.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-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 deleted file mode 100644 index bc8f96bcb..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_specialHandling.ts +++ /dev/null @@ -1,74 +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 { 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 deleted file mode 100644 index 4085333e2..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_special_status.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-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 deleted file mode 100644 index bc80a95b6..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_specimenCode.ts +++ /dev/null @@ -1,74 +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 { 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 deleted file mode 100644 index 16c2ee267..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_standards_status.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-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 deleted file mode 100644 index 5c6087fd8..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_statusReason.ts +++ /dev/null @@ -1,74 +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 { 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 deleted file mode 100644 index f6a269b71..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_steward.ts +++ /dev/null @@ -1,74 +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 { 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 deleted file mode 100644 index f2dcda7b6..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_strengthOfRecommendation.ts +++ /dev/null @@ -1,74 +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 { 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 deleted file mode 100644 index 521299263..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_style.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-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 deleted file mode 100644 index 2f719786a..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_styleSensitive.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-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 deleted file mode 100644 index 4e768051b..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_substanceExposureRisk.ts +++ /dev/null @@ -1,104 +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 { 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 deleted file mode 100644 index ee371679b..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_summary.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-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 deleted file mode 100644 index 3e9ad850d..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_summaryOf.ts +++ /dev/null @@ -1,74 +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 { 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 deleted file mode 100644 index ba6680faf..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_supplement.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-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 deleted file mode 100644 index e214c314e..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_supportLink.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-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 deleted file mode 100644 index 923ba4630..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_supported_system.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-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 deleted file mode 100644 index b765a2e46..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_supportingInfo.ts +++ /dev/null @@ -1,74 +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 { 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 deleted file mode 100644 index f60ddd349..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_system.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-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 deleted file mode 100644 index 496c2e5d0..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_systemName.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-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 deleted file mode 100644 index 94b0844f7..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_systemRef.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-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 deleted file mode 100644 index f725bd2d1..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_systemUserLanguage.ts +++ /dev/null @@ -1,74 +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 { 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 deleted file mode 100644 index 50d34a2bf..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_systemUserTaskContext.ts +++ /dev/null @@ -1,74 +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 { 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 deleted file mode 100644 index 95484a69d..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_systemUserType.ts +++ /dev/null @@ -1,74 +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 { 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 deleted file mode 100644 index 6e42c5d99..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_table_name.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-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 deleted file mode 100644 index 187aa2ecb..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_targetBodyStructure.ts +++ /dev/null @@ -1,74 +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 { 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 deleted file mode 100644 index efb2f84bc..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_template_status.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-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 deleted file mode 100644 index 6c1642408..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_test.ts +++ /dev/null @@ -1,74 +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 { 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 deleted file mode 100644 index dccd8a2f8..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_timeOffset.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-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 deleted file mode 100644 index d563c5662..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_toocostly.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-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 deleted file mode 100644 index b02bc20dd..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_translatable.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-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 deleted file mode 100644 index 32c5f3a5f..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_trusted_expansion.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-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 deleted file mode 100644 index 8ef357794..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_type.ts +++ /dev/null @@ -1,74 +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 { 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 deleted file mode 100644 index 22b225f15..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_uncertainty.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-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 deleted file mode 100644 index c2d09381c..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_uncertaintyType.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-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 deleted file mode 100644 index 21f3626c3..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_unclosed.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-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 deleted file mode 100644 index 2c1a949ba..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_unit.ts +++ /dev/null @@ -1,74 +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 { 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 deleted file mode 100644 index 274537c71..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_unitOption.ts +++ /dev/null @@ -1,74 +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 { 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 deleted file mode 100644 index f388ea61d..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_unitValueSet.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-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 deleted file mode 100644 index c271f7c45..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_usage.ts +++ /dev/null @@ -1,103 +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 { 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 deleted file mode 100644 index 92e8bd8da..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_usageMode.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-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 deleted file mode 100644 index 00f58969b..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_validDate.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-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 deleted file mode 100644 index 3406b520e..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_versionNumber.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-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 deleted file mode 100644 index cff62a49a..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_warning.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-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 deleted file mode 100644 index b4b576c1a..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_websocket.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-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 deleted file mode 100644 index a80e6892e..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_wg.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-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 deleted file mode 100644 index 162bc9cf2..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_workflowStatus.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-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 deleted file mode 100644 index ccf56aefe..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_xhtml.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-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 deleted file mode 100644 index 367af00f3..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Extension_xml_no_order.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-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 deleted file mode 100644 index a1a10e04f..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/FamilyMemberHistory_Family_member_history_for_genetics_analysis.ts +++ /dev/null @@ -1,246 +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 { 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/Group_Actual_Group.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Group_Actual_Group.ts deleted file mode 100644 index 50215a453..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Group_Actual_Group.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 { 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 deleted file mode 100644 index ddbde805a..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Group_Group_Definition.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 { 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 deleted file mode 100644 index 86431b2dd..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/GuidanceResponse_CDS_Hooks_GuidanceResponse.ts +++ /dev/null @@ -1,117 +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"; - -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 deleted file mode 100644 index 99401f273..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Library_CQL_Library.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 { 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 deleted file mode 100644 index 682f6f778..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Library_Shareable_Library.ts +++ /dev/null @@ -1,138 +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"; - -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 deleted file mode 100644 index 46d73c0bc..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Measure_Shareable_Measure.ts +++ /dev/null @@ -1,138 +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"; - -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/Observation_Device_Metric_Observation_Profile.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Observation_Device_Metric_Observation_Profile.ts deleted file mode 100644 index 36ae2e8e5..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Observation_Device_Metric_Observation_Profile.ts +++ /dev/null @@ -1,217 +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 { 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 deleted file mode 100644 index ca7a09b9b..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Observation_Example_Lipid_Profile.ts +++ /dev/null @@ -1,100 +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 { 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/Observation_Observation_genetics.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Observation_Observation_genetics.ts deleted file mode 100644 index 4e69d9269..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Observation_Observation_genetics.ts +++ /dev/null @@ -1,297 +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"; - -export type Observation_genetics_VariantInput = { - Name?: CodeableConcept; - Id?: CodeableConcept; - Type?: CodeableConcept; -} - -export type Observation_genetics_AminoAcidChangeInput = { - Name?: CodeableConcept; - Type?: CodeableConcept; -} - -export type Observation_genetics_AlleleInput = { - Name?: CodeableConcept; - State?: CodeableConcept; - Frequency?: number; -} - -export type Observation_genetics_AncestryInput = { - Name: CodeableConcept; - Percentage?: number; - Source?: CodeableConcept; -} - -export type Observation_genetics_PhaseSetInput = { - Id?: string; - MolecularSequence: Reference[]; -} - -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 { - return this.resource - } - - public setGene (value: CodeableConcept): this { - const list = (this.resource.extension ??= []) - 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 } 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 } 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 } 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 } as Extension) - return this - } - - public setVariant (input: Observation_genetics_VariantInput): this { - const subExtensions: Extension[] = [] - if (input.Name !== undefined) { - subExtensions.push({ url: "Name", valueCodeableConcept: input.Name }) - } - if (input.Id !== undefined) { - subExtensions.push({ url: "Id", valueCodeableConcept: input.Id }) - } - if (input.Type !== undefined) { - subExtensions.push({ url: "Type", valueCodeableConcept: input.Type }) - } - const list = (this.resource.extension ??= []) - list.push({ url: "http://hl7.org/fhir/StructureDefinition/observation-geneticsVariant", extension: subExtensions }) - return this - } - - public setAminoAcidChange (input: Observation_genetics_AminoAcidChangeInput): this { - const subExtensions: Extension[] = [] - if (input.Name !== undefined) { - subExtensions.push({ url: "Name", valueCodeableConcept: input.Name }) - } - if (input.Type !== undefined) { - subExtensions.push({ url: "Type", valueCodeableConcept: input.Type }) - } - const list = (this.resource.extension ??= []) - list.push({ url: "http://hl7.org/fhir/StructureDefinition/observation-geneticsAminoAcidChange", extension: subExtensions }) - return this - } - - public setAllele (input: Observation_genetics_AlleleInput): this { - const subExtensions: Extension[] = [] - if (input.Name !== undefined) { - subExtensions.push({ url: "Name", valueCodeableConcept: input.Name }) - } - if (input.State !== undefined) { - subExtensions.push({ url: "State", valueCodeableConcept: input.State }) - } - if (input.Frequency !== undefined) { - subExtensions.push({ url: "Frequency", valueDecimal: input.Frequency }) - } - const list = (this.resource.extension ??= []) - list.push({ url: "http://hl7.org/fhir/StructureDefinition/observation-geneticsAllele", extension: subExtensions }) - return this - } - - public setAncestry (input: Observation_genetics_AncestryInput): this { - const subExtensions: Extension[] = [] - if (input.Name !== undefined) { - subExtensions.push({ url: "Name", valueCodeableConcept: input.Name }) - } - if (input.Percentage !== undefined) { - subExtensions.push({ url: "Percentage", valueDecimal: input.Percentage }) - } - if (input.Source !== undefined) { - subExtensions.push({ url: "Source", valueCodeableConcept: input.Source }) - } - const list = (this.resource.extension ??= []) - list.push({ url: "http://hl7.org/fhir/StructureDefinition/observation-geneticsAncestry", extension: subExtensions }) - return this - } - - public setPhaseSet (input: Observation_genetics_PhaseSetInput): this { - const subExtensions: Extension[] = [] - if (input.Id !== undefined) { - subExtensions.push({ url: "Id", valueUri: input.Id }) - } - if (input.MolecularSequence) { - for (const item of input.MolecularSequence) { - subExtensions.push({ url: "MolecularSequence", valueReference: item }) - } - } - const list = (this.resource.extension ??= []) - list.push({ url: "http://hl7.org/fhir/StructureDefinition/observation-geneticsPhaseSet", extension: subExtensions }) - return this - } - - public getGene (): CodeableConcept | undefined { - const ext = this.resource.extension?.find(e => e.url === "http://hl7.org/fhir/StructureDefinition/observation-geneticsGene") - return (ext as Record | undefined)?.valueCodeableConcept as CodeableConcept | undefined - } - - public getGeneExtension (): Extension | undefined { - const ext = this.resource.extension?.find(e => e.url === "http://hl7.org/fhir/StructureDefinition/observation-geneticsGene") - return ext - } - - public getDnaregionName (): string | undefined { - const ext = this.resource.extension?.find(e => e.url === "http://hl7.org/fhir/StructureDefinition/observation-geneticsDNARegionName") - return (ext as Record | undefined)?.valueString as string | undefined - } - - public getDnaregionNameExtension (): Extension | undefined { - const ext = this.resource.extension?.find(e => e.url === "http://hl7.org/fhir/StructureDefinition/observation-geneticsDNARegionName") - return ext - } - - public getCopyNumberEvent (): CodeableConcept | undefined { - const ext = this.resource.extension?.find(e => e.url === "http://hl7.org/fhir/StructureDefinition/observation-geneticsCopyNumberEvent") - return (ext as Record | undefined)?.valueCodeableConcept as CodeableConcept | undefined - } - - public getCopyNumberEventExtension (): Extension | undefined { - const ext = this.resource.extension?.find(e => e.url === "http://hl7.org/fhir/StructureDefinition/observation-geneticsCopyNumberEvent") - return ext - } - - public getGenomicSourceClass (): CodeableConcept | undefined { - const ext = this.resource.extension?.find(e => e.url === "http://hl7.org/fhir/StructureDefinition/observation-geneticsGenomicSourceClass") - return (ext as Record | undefined)?.valueCodeableConcept as CodeableConcept | undefined - } - - public getGenomicSourceClassExtension (): Extension | undefined { - const ext = this.resource.extension?.find(e => e.url === "http://hl7.org/fhir/StructureDefinition/observation-geneticsGenomicSourceClass") - return ext - } - - public getInterpretation (): Reference | undefined { - const ext = this.resource.extension?.find(e => e.url === "http://hl7.org/fhir/StructureDefinition/observation-geneticsInterpretation") - return (ext as Record | undefined)?.valueReference as Reference | undefined - } - - public getInterpretationExtension (): Extension | undefined { - const ext = this.resource.extension?.find(e => e.url === "http://hl7.org/fhir/StructureDefinition/observation-geneticsInterpretation") - return ext - } - - public getVariant (): Observation_genetics_VariantInput | undefined { - const ext = this.resource.extension?.find(e => e.url === "http://hl7.org/fhir/StructureDefinition/observation-geneticsVariant") - if (!ext) return undefined - const config = [{ name: "Name", valueField: "valueCodeableConcept", isArray: false }, { name: "Id", valueField: "valueCodeableConcept", isArray: false }, { name: "Type", valueField: "valueCodeableConcept", isArray: false }] - return extractComplexExtension(ext as unknown as { extension?: Array<{ url?: string; [key: string]: unknown }> }, config) as Observation_genetics_VariantInput - } - - public getVariantExtension (): Extension | undefined { - const ext = this.resource.extension?.find(e => e.url === "http://hl7.org/fhir/StructureDefinition/observation-geneticsVariant") - return ext - } - - public getAminoAcidChange (): Observation_genetics_AminoAcidChangeInput | undefined { - const ext = this.resource.extension?.find(e => e.url === "http://hl7.org/fhir/StructureDefinition/observation-geneticsAminoAcidChange") - if (!ext) return undefined - const config = [{ name: "Name", valueField: "valueCodeableConcept", isArray: false }, { name: "Type", valueField: "valueCodeableConcept", isArray: false }] - return extractComplexExtension(ext as unknown as { extension?: Array<{ url?: string; [key: string]: unknown }> }, config) as Observation_genetics_AminoAcidChangeInput - } - - public getAminoAcidChangeExtension (): Extension | undefined { - const ext = this.resource.extension?.find(e => e.url === "http://hl7.org/fhir/StructureDefinition/observation-geneticsAminoAcidChange") - return ext - } - - public getAllele (): Observation_genetics_AlleleInput | undefined { - const ext = this.resource.extension?.find(e => e.url === "http://hl7.org/fhir/StructureDefinition/observation-geneticsAllele") - if (!ext) return undefined - const config = [{ name: "Name", valueField: "valueCodeableConcept", isArray: false }, { name: "State", valueField: "valueCodeableConcept", isArray: false }, { name: "Frequency", valueField: "valueDecimal", isArray: false }] - return extractComplexExtension(ext as unknown as { extension?: Array<{ url?: string; [key: string]: unknown }> }, config) as Observation_genetics_AlleleInput - } - - public getAlleleExtension (): Extension | undefined { - const ext = this.resource.extension?.find(e => e.url === "http://hl7.org/fhir/StructureDefinition/observation-geneticsAllele") - return ext - } - - public getAncestry (): Observation_genetics_AncestryInput | undefined { - const ext = this.resource.extension?.find(e => e.url === "http://hl7.org/fhir/StructureDefinition/observation-geneticsAncestry") - if (!ext) return undefined - const config = [{ name: "Name", valueField: "valueCodeableConcept", isArray: false }, { name: "Percentage", valueField: "valueDecimal", isArray: false }, { name: "Source", valueField: "valueCodeableConcept", isArray: false }] - return extractComplexExtension(ext as unknown as { extension?: Array<{ url?: string; [key: string]: unknown }> }, config) as Observation_genetics_AncestryInput - } - - public getAncestryExtension (): Extension | undefined { - const ext = this.resource.extension?.find(e => e.url === "http://hl7.org/fhir/StructureDefinition/observation-geneticsAncestry") - return ext - } - - public getPhaseSet (): Observation_genetics_PhaseSetInput | undefined { - const ext = this.resource.extension?.find(e => e.url === "http://hl7.org/fhir/StructureDefinition/observation-geneticsPhaseSet") - if (!ext) return undefined - const config = [{ name: "Id", valueField: "valueUri", isArray: false }, { name: "MolecularSequence", valueField: "valueReference", isArray: true }] - return extractComplexExtension(ext as unknown as { extension?: Array<{ url?: string; [key: string]: unknown }> }, config) as Observation_genetics_PhaseSetInput - } - - public getPhaseSetExtension (): Extension | undefined { - const ext = this.resource.extension?.find(e => e.url === "http://hl7.org/fhir/StructureDefinition/observation-geneticsPhaseSet") - 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 deleted file mode 100644 index 9762ff307..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Observation_observation_bmi.ts +++ /dev/null @@ -1,185 +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 { 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 deleted file mode 100644 index 3bca252df..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Observation_observation_bodyheight.ts +++ /dev/null @@ -1,184 +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 { 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 deleted file mode 100644 index 6f03164cf..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Observation_observation_bodytemp.ts +++ /dev/null @@ -1,184 +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 { 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 deleted file mode 100644 index 2449e9d88..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Observation_observation_bodyweight.ts +++ /dev/null @@ -1,184 +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 { 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 deleted file mode 100644 index 2445da991..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Observation_observation_bp.ts +++ /dev/null @@ -1,264 +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 { 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 deleted file mode 100644 index 197d18b21..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Observation_observation_headcircum.ts +++ /dev/null @@ -1,184 +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 { 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 deleted file mode 100644 index e7b397f89..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Observation_observation_heartrate.ts +++ /dev/null @@ -1,184 +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 { 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 deleted file mode 100644 index 43774b909..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Observation_observation_oxygensat.ts +++ /dev/null @@ -1,184 +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 { 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 deleted file mode 100644 index 5ef7c1efd..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Observation_observation_resprate.ts +++ /dev/null @@ -1,184 +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 { 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_vitalspanel.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Observation_observation_vitalspanel.ts deleted file mode 100644 index da16179da..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Observation_observation_vitalspanel.ts +++ /dev/null @@ -1,187 +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 { 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/PlanDefinition_CDS_Hooks_Service_PlanDefinition.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/PlanDefinition_CDS_Hooks_Service_PlanDefinition.ts deleted file mode 100644 index 8dfce9c51..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/PlanDefinition_CDS_Hooks_Service_PlanDefinition.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 { 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 deleted file mode 100644 index 4520ad090..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/PlanDefinition_Computable_PlanDefinition.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 { 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 deleted file mode 100644 index d0783ec4e..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/PlanDefinition_Shareable_PlanDefinition.ts +++ /dev/null @@ -1,138 +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"; - -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/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 deleted file mode 100644 index bb06d6fc1..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Provenance_EHRS_FM_Record_Lifecycle_Event___Provenance.ts +++ /dev/null @@ -1,93 +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"; -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 deleted file mode 100644 index 83c9917bb..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Provenance_Provenance_Relevant_History.ts +++ /dev/null @@ -1,148 +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"; -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 deleted file mode 100644 index 96f3aa00b..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Quantity_MoneyQuantity.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 { 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 deleted file mode 100644 index b9f125635..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Quantity_SimpleQuantity.ts +++ /dev/null @@ -1,45 +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 { 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 deleted file mode 100644 index 5c0a493bd..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/Questionnaire_CQF_Questionnaire.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 { 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 deleted file mode 100644 index d6b4c2fc3..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/RequestGroup_CDS_Hooks_RequestGroup.ts +++ /dev/null @@ -1,90 +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"; - -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/ServiceRequest_ServiceRequest_Genetics.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/ServiceRequest_ServiceRequest_Genetics.ts deleted file mode 100644 index cb815fa76..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/ServiceRequest_ServiceRequest_Genetics.ts +++ /dev/null @@ -1,91 +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"; - -export type ServiceRequest_Genetics_ItemInput = { - code: CodeableConcept; - geneticsObservation?: Reference; - specimen?: Reference; - status?: string; -} - -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 { - return this.resource - } - - public setItem (input: ServiceRequest_Genetics_ItemInput): this { - const subExtensions: Extension[] = [] - if (input.code !== undefined) { - subExtensions.push({ url: "code", valueCodeableConcept: input.code }) - } - if (input.geneticsObservation !== undefined) { - subExtensions.push({ url: "geneticsObservation", valueReference: input.geneticsObservation }) - } - if (input.specimen !== undefined) { - subExtensions.push({ url: "specimen", valueReference: input.specimen }) - } - if (input.status !== undefined) { - subExtensions.push({ url: "status", valueCode: input.status }) - } - const list = (this.resource.extension ??= []) - list.push({ url: "http://hl7.org/fhir/StructureDefinition/servicerequest-geneticsItem", extension: subExtensions }) - return this - } - - public getItem (): ServiceRequest_Genetics_ItemInput | undefined { - const ext = this.resource.extension?.find(e => e.url === "http://hl7.org/fhir/StructureDefinition/servicerequest-geneticsItem") - if (!ext) return undefined - const config = [{ name: "code", valueField: "valueCodeableConcept", isArray: false }, { name: "geneticsObservation", valueField: "valueReference", isArray: false }, { name: "specimen", valueField: "valueReference", isArray: false }, { name: "status", valueField: "valueCode", isArray: false }] - return extractComplexExtension(ext as unknown as { extension?: Array<{ url?: string; [key: string]: unknown }> }, config) as ServiceRequest_Genetics_ItemInput - } - - public getItemExtension (): Extension | undefined { - const ext = this.resource.extension?.find(e => e.url === "http://hl7.org/fhir/StructureDefinition/servicerequest-geneticsItem") - 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/ValueSet_Shareable_ValueSet.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/ValueSet_Shareable_ValueSet.ts deleted file mode 100644 index 651a78378..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-core/profiles/ValueSet_Shareable_ValueSet.ts +++ /dev/null @@ -1,151 +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"; - -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 775aafe53..ee3698e49 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,427 +1,2 @@ -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 deleted file mode 100644 index 47399f70c..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/Account.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 { BackboneElement } from "../hl7-fhir-r4-examples/BackboneElement"; -import type { CodeableConcept } from "../hl7-fhir-r4-examples/CodeableConcept"; -import type { DomainResource } from "../hl7-fhir-r4-examples/DomainResource"; -import type { Identifier } from "../hl7-fhir-r4-examples/Identifier"; -import type { Period } from "../hl7-fhir-r4-examples/Period"; -import type { Reference } from "../hl7-fhir-r4-examples/Reference"; - -import type { Element } from "../hl7-fhir-r4-examples/Element"; -export type { BackboneElement } from "../hl7-fhir-r4-examples/BackboneElement"; -export type { CodeableConcept } from "../hl7-fhir-r4-examples/CodeableConcept"; -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"; - -export interface AccountCoverage extends BackboneElement { - coverage: Reference<"Coverage">; - priority?: number; -} - -export interface AccountGuarantor extends BackboneElement { - onHold?: boolean; - party: Reference<"Organization" | "Patient" | "RelatedPerson">; - period?: Period; -} - -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/Account (pkg: hl7.fhir.r4.examples#4.0.1) -export interface Account extends DomainResource { - resourceType: "Account"; - - coverage?: AccountCoverage[]; - description?: string; - _description?: Element; - guarantor?: AccountGuarantor[]; - identifier?: Identifier[]; - name?: string; - _name?: Element; - owner?: Reference<"Organization">; - partOf?: Reference<"Account">; - servicePeriod?: Period; - status: ("active" | "inactive" | "entered-in-error" | "on-hold" | "unknown"); - _status?: Element; - subject?: Reference<"Device" | "HealthcareService" | "Location" | "Organization" | "Patient" | "Practitioner" | "PractitionerRole">[]; - type?: CodeableConcept; -} -export const isAccount = (resource: unknown): resource is Account => { - return resource !== null && typeof resource === "object" && (resource as {resourceType: string}).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 deleted file mode 100644 index f0db52dde..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/ActivityDefinition.ts +++ /dev/null @@ -1,132 +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 { Age } from "../hl7-fhir-r4-examples/Age"; -import type { BackboneElement } from "../hl7-fhir-r4-examples/BackboneElement"; -import type { CodeableConcept } from "../hl7-fhir-r4-examples/CodeableConcept"; -import type { ContactDetail } from "../hl7-fhir-r4-examples/ContactDetail"; -import type { DomainResource } from "../hl7-fhir-r4-examples/DomainResource"; -import type { Dosage } from "../hl7-fhir-r4-examples/Dosage"; -import type { Duration } from "../hl7-fhir-r4-examples/Duration"; -import type { Expression } from "../hl7-fhir-r4-examples/Expression"; -import type { Identifier } from "../hl7-fhir-r4-examples/Identifier"; -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 { Reference } from "../hl7-fhir-r4-examples/Reference"; -import type { RelatedArtifact } from "../hl7-fhir-r4-examples/RelatedArtifact"; -import type { Timing } from "../hl7-fhir-r4-examples/Timing"; -import type { UsageContext } from "../hl7-fhir-r4-examples/UsageContext"; - -import type { Element } from "../hl7-fhir-r4-examples/Element"; -export type { Age } from "../hl7-fhir-r4-examples/Age"; -export type { BackboneElement } from "../hl7-fhir-r4-examples/BackboneElement"; -export type { CodeableConcept } from "../hl7-fhir-r4-examples/CodeableConcept"; -export type { ContactDetail } from "../hl7-fhir-r4-examples/ContactDetail"; -export type { Dosage } from "../hl7-fhir-r4-examples/Dosage"; -export type { Duration } from "../hl7-fhir-r4-examples/Duration"; -export type { Expression } from "../hl7-fhir-r4-examples/Expression"; -export type { Identifier } from "../hl7-fhir-r4-examples/Identifier"; -export type { Period } from "../hl7-fhir-r4-examples/Period"; -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"; -export type { RelatedArtifact } from "../hl7-fhir-r4-examples/RelatedArtifact"; -export type { Timing } from "../hl7-fhir-r4-examples/Timing"; -export type { UsageContext } from "../hl7-fhir-r4-examples/UsageContext"; - -export interface ActivityDefinitionDynamicValue extends BackboneElement { - expression: Expression; - path: string; -} - -export interface ActivityDefinitionParticipant extends BackboneElement { - role?: CodeableConcept; - type: ("patient" | "practitioner" | "related-person" | "device"); -} - -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/ActivityDefinition (pkg: hl7.fhir.r4.examples#4.0.1) -export interface ActivityDefinition extends DomainResource { - resourceType: "ActivityDefinition"; - - approvalDate?: string; - _approvalDate?: Element; - author?: ContactDetail[]; - bodySite?: CodeableConcept[]; - code?: CodeableConcept; - contact?: ContactDetail[]; - copyright?: string; - _copyright?: Element; - date?: string; - _date?: Element; - description?: string; - _description?: Element; - doNotPerform?: boolean; - _doNotPerform?: Element; - dosage?: Dosage[]; - dynamicValue?: ActivityDefinitionDynamicValue[]; - editor?: ContactDetail[]; - effectivePeriod?: Period; - endorser?: ContactDetail[]; - experimental?: boolean; - _experimental?: Element; - identifier?: Identifier[]; - intent?: ("proposal" | "plan" | "directive" | "order" | "original-order" | "reflex-order" | "filler-order" | "instance-order" | "option"); - _intent?: Element; - jurisdiction?: CodeableConcept[]; - kind?: ("Appointment" | "AppointmentResponse" | "CarePlan" | "Claim" | "CommunicationRequest" | "Contract" | "DeviceRequest" | "EnrollmentRequest" | "ImmunizationRecommendation" | "MedicationRequest" | "NutritionOrder" | "ServiceRequest" | "SupplyRequest" | "Task" | "VisionPrescription"); - _kind?: Element; - lastReviewDate?: string; - _lastReviewDate?: Element; - library?: string[]; - _library?: (Element | null)[]; - location?: Reference<"Location">; - name?: string; - _name?: Element; - observationRequirement?: Reference<"ObservationDefinition">[]; - observationResultRequirement?: Reference<"ObservationDefinition">[]; - participant?: ActivityDefinitionParticipant[]; - priority?: ("routine" | "urgent" | "asap" | "stat"); - _priority?: Element; - productCodeableConcept?: CodeableConcept; - productReference?: Reference<"Medication" | "Substance">; - profile?: string; - _profile?: Element; - publisher?: string; - _publisher?: Element; - purpose?: string; - _purpose?: Element; - quantity?: Quantity; - relatedArtifact?: RelatedArtifact[]; - reviewer?: ContactDetail[]; - specimenRequirement?: Reference<"SpecimenDefinition">[]; - status: ("draft" | "active" | "retired" | "unknown"); - _status?: Element; - subjectCodeableConcept?: CodeableConcept; - subjectReference?: Reference<"Group">; - subtitle?: string; - _subtitle?: Element; - timingAge?: Age; - timingDateTime?: string; - _timingDateTime?: Element; - timingDuration?: Duration; - timingPeriod?: Period; - timingRange?: Range; - timingTiming?: Timing; - title?: string; - _title?: Element; - topic?: CodeableConcept[]; - transform?: string; - _transform?: Element; - url?: string; - _url?: Element; - usage?: string; - _usage?: Element; - useContext?: UsageContext[]; - version?: string; - _version?: Element; -} -export const isActivityDefinition = (resource: unknown): resource is ActivityDefinition => { - return resource !== null && typeof resource === "object" && (resource as {resourceType: string}).resourceType === "ActivityDefinition"; -} 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 deleted file mode 100644 index 0e7af23a5..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/Address.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 { Element } from "../hl7-fhir-r4-examples/Element"; -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 (pkg: hl7.fhir.r4.examples#4.0.1) -export interface Address extends Element { - city?: string; - _city?: Element; - country?: string; - _country?: Element; - district?: string; - _district?: Element; - line?: string[]; - _line?: (Element | null)[]; - period?: Period; - postalCode?: string; - _postalCode?: Element; - state?: string; - _state?: Element; - text?: string; - _text?: Element; - type?: ("postal" | "physical" | "both"); - _type?: Element; - use?: ("home" | "work" | "temp" | "old" | "billing"); - _use?: 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 deleted file mode 100644 index ed01253f4..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/AdverseEvent.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 { BackboneElement } from "../hl7-fhir-r4-examples/BackboneElement"; -import type { CodeableConcept } from "../hl7-fhir-r4-examples/CodeableConcept"; -import type { DomainResource } from "../hl7-fhir-r4-examples/DomainResource"; -import type { Identifier } from "../hl7-fhir-r4-examples/Identifier"; -import type { Reference } from "../hl7-fhir-r4-examples/Reference"; - -import type { Element } from "../hl7-fhir-r4-examples/Element"; -export type { BackboneElement } from "../hl7-fhir-r4-examples/BackboneElement"; -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"; - -export interface AdverseEventSuspectEntity extends BackboneElement { - causality?: AdverseEventSuspectEntityCausality[]; - instance: Reference<"Device" | "Immunization" | "Medication" | "MedicationAdministration" | "MedicationStatement" | "Procedure" | "Substance">; -} - -export interface AdverseEventSuspectEntityCausality extends BackboneElement { - assessment?: CodeableConcept; - author?: Reference<"Practitioner" | "PractitionerRole">; - method?: CodeableConcept; - productRelatedness?: string; -} - -// 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<("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; - detected?: string; - _detected?: Element; - encounter?: Reference<"Encounter">; - event?: CodeableConcept; - identifier?: Identifier; - location?: Reference<"Location">; - 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<("mild" | "moderate" | "severe")>; - study?: Reference<"ResearchStudy">[]; - subject: Reference<"Group" | "Patient" | "Practitioner" | "RelatedPerson">; - subjectMedicalHistory?: Reference<"AllergyIntolerance" | "Condition" | "DocumentReference" | "FamilyMemberHistory" | "Immunization" | "Media" | "Observation" | "Procedure">[]; - suspectEntity?: AdverseEventSuspectEntity[]; -} -export const isAdverseEvent = (resource: unknown): resource is AdverseEvent => { - return resource !== null && typeof resource === "object" && (resource as {resourceType: string}).resourceType === "AdverseEvent"; -} 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 deleted file mode 100644 index 2c18569ec..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/Age.ts +++ /dev/null @@ -1,11 +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 { Quantity } from "../hl7-fhir-r4-examples/Quantity"; - -export type { Quantity } from "../hl7-fhir-r4-examples/Quantity"; - -// 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 deleted file mode 100644 index 1baef0ca7..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/AllergyIntolerance.ts +++ /dev/null @@ -1,69 +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 { Age } from "../hl7-fhir-r4-examples/Age"; -import type { Annotation } from "../hl7-fhir-r4-examples/Annotation"; -import type { BackboneElement } from "../hl7-fhir-r4-examples/BackboneElement"; -import type { CodeableConcept } from "../hl7-fhir-r4-examples/CodeableConcept"; -import type { DomainResource } from "../hl7-fhir-r4-examples/DomainResource"; -import type { Identifier } from "../hl7-fhir-r4-examples/Identifier"; -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"; - -import type { Element } from "../hl7-fhir-r4-examples/Element"; -export type { Age } from "../hl7-fhir-r4-examples/Age"; -export type { Annotation } from "../hl7-fhir-r4-examples/Annotation"; -export type { BackboneElement } from "../hl7-fhir-r4-examples/BackboneElement"; -export type { CodeableConcept } from "../hl7-fhir-r4-examples/CodeableConcept"; -export type { Identifier } from "../hl7-fhir-r4-examples/Identifier"; -export type { Period } from "../hl7-fhir-r4-examples/Period"; -export type { Range } from "../hl7-fhir-r4-examples/Range"; -export type { Reference } from "../hl7-fhir-r4-examples/Reference"; - -export interface AllergyIntoleranceReaction extends BackboneElement { - description?: string; - exposureRoute?: CodeableConcept; - manifestation: CodeableConcept[]; - note?: Annotation[]; - onset?: string; - severity?: ("mild" | "moderate" | "severe"); - substance?: CodeableConcept; -} - -// 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 | null)[]; - clinicalStatus?: CodeableConcept<("active" | "inactive" | "resolved")>; - code?: CodeableConcept; - criticality?: ("low" | "high" | "unable-to-assess"); - _criticality?: Element; - encounter?: Reference<"Encounter">; - identifier?: Identifier[]; - lastOccurrence?: string; - _lastOccurrence?: Element; - note?: Annotation[]; - onsetAge?: Age; - onsetDateTime?: string; - _onsetDateTime?: Element; - onsetPeriod?: Period; - onsetRange?: Range; - onsetString?: string; - _onsetString?: Element; - patient: Reference<"Patient">; - reaction?: AllergyIntoleranceReaction[]; - recordedDate?: string; - _recordedDate?: Element; - recorder?: Reference<"Patient" | "Practitioner" | "PractitionerRole" | "RelatedPerson">; - type?: ("allergy" | "intolerance"); - _type?: Element; - 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 deleted file mode 100644 index 2e5e94789..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/Annotation.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 { Element } from "../hl7-fhir-r4-examples/Element"; -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 (pkg: hl7.fhir.r4.examples#4.0.1) -export interface Annotation extends Element { - authorReference?: Reference<"Organization" | "Patient" | "Practitioner" | "RelatedPerson">; - authorString?: string; - _authorString?: Element; - text: string; - _text?: Element; - time?: string; - _time?: Element; -} 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 deleted file mode 100644 index 5f7157cfe..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/Appointment.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 { BackboneElement } from "../hl7-fhir-r4-examples/BackboneElement"; -import type { CodeableConcept } from "../hl7-fhir-r4-examples/CodeableConcept"; -import type { DomainResource } from "../hl7-fhir-r4-examples/DomainResource"; -import type { Identifier } from "../hl7-fhir-r4-examples/Identifier"; -import type { Period } from "../hl7-fhir-r4-examples/Period"; -import type { Reference } from "../hl7-fhir-r4-examples/Reference"; - -import type { Element } from "../hl7-fhir-r4-examples/Element"; -export type { BackboneElement } from "../hl7-fhir-r4-examples/BackboneElement"; -export type { CodeableConcept } from "../hl7-fhir-r4-examples/CodeableConcept"; -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"; - -export interface AppointmentParticipant extends BackboneElement { - actor?: Reference<"Device" | "HealthcareService" | "Location" | "Patient" | "Practitioner" | "PractitionerRole" | "RelatedPerson">; - period?: Period; - required?: ("required" | "optional" | "information-only"); - status: ("accepted" | "declined" | "tentative" | "needs-action"); - type?: CodeableConcept<("SPRF" | "PPRF" | "PART" | "translator" | "emergency" | string)>[]; -} - -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/Appointment (pkg: hl7.fhir.r4.examples#4.0.1) -export interface Appointment extends DomainResource { - resourceType: "Appointment"; - - appointmentType?: CodeableConcept<("CHECKUP" | "EMERGENCY" | "FOLLOWUP" | "ROUTINE" | "WALKIN" | string)>; - basedOn?: Reference<"ServiceRequest">[]; - cancelationReason?: CodeableConcept; - comment?: string; - _comment?: Element; - created?: string; - _created?: Element; - description?: string; - _description?: Element; - end?: string; - _end?: Element; - identifier?: Identifier[]; - minutesDuration?: number; - _minutesDuration?: Element; - participant: AppointmentParticipant[]; - patientInstruction?: string; - _patientInstruction?: Element; - priority?: number; - _priority?: Element; - reasonCode?: CodeableConcept[]; - reasonReference?: Reference<"Condition" | "ImmunizationRecommendation" | "Observation" | "Procedure">[]; - requestedPeriod?: Period[]; - serviceCategory?: CodeableConcept[]; - serviceType?: CodeableConcept[]; - slot?: Reference<"Slot">[]; - specialty?: CodeableConcept[]; - start?: string; - _start?: Element; - status: ("proposed" | "pending" | "booked" | "arrived" | "fulfilled" | "cancelled" | "noshow" | "entered-in-error" | "checked-in" | "waitlist"); - _status?: Element; - supportingInformation?: Reference<"Resource">[]; -} -export const isAppointment = (resource: unknown): resource is Appointment => { - return resource !== null && typeof resource === "object" && (resource as {resourceType: string}).resourceType === "Appointment"; -} 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 deleted file mode 100644 index fea45cb36..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/AppointmentResponse.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 { CodeableConcept } from "../hl7-fhir-r4-examples/CodeableConcept"; -import type { DomainResource } from "../hl7-fhir-r4-examples/DomainResource"; -import type { Identifier } from "../hl7-fhir-r4-examples/Identifier"; -import type { Reference } from "../hl7-fhir-r4-examples/Reference"; - -import type { Element } from "../hl7-fhir-r4-examples/Element"; -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 (pkg: hl7.fhir.r4.examples#4.0.1) -export interface AppointmentResponse extends DomainResource { - resourceType: "AppointmentResponse"; - - actor?: Reference<"Device" | "HealthcareService" | "Location" | "Patient" | "Practitioner" | "PractitionerRole" | "RelatedPerson">; - appointment: Reference<"Appointment">; - comment?: string; - _comment?: Element; - end?: string; - _end?: Element; - identifier?: Identifier[]; - participantStatus: ("accepted" | "declined" | "tentative" | "needs-action"); - _participantStatus?: Element; - participantType?: CodeableConcept<("SPRF" | "PPRF" | "PART" | "translator" | "emergency" | string)>[]; - start?: string; - _start?: Element; -} -export const isAppointmentResponse = (resource: unknown): resource is AppointmentResponse => { - return resource !== null && typeof resource === "object" && (resource as {resourceType: string}).resourceType === "AppointmentResponse"; -} 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 deleted file mode 100644 index b28cdbd6b..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/Attachment.ts +++ /dev/null @@ -1,27 +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 { Element } from "../hl7-fhir-r4-examples/Element"; - -export type { Element } from "../hl7-fhir-r4-examples/Element"; - -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/Attachment (pkg: hl7.fhir.r4.examples#4.0.1) -export interface Attachment extends Element { - contentType?: string; - _contentType?: Element; - creation?: string; - _creation?: Element; - data?: string; - _data?: Element; - hash?: string; - _hash?: Element; - 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; - title?: string; - _title?: Element; - url?: string; - _url?: 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 deleted file mode 100644 index b8eea8c0f..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/AuditEvent.ts +++ /dev/null @@ -1,84 +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 { BackboneElement } from "../hl7-fhir-r4-examples/BackboneElement"; -import type { CodeableConcept } from "../hl7-fhir-r4-examples/CodeableConcept"; -import type { Coding } from "../hl7-fhir-r4-examples/Coding"; -import type { DomainResource } from "../hl7-fhir-r4-examples/DomainResource"; -import type { Period } from "../hl7-fhir-r4-examples/Period"; -import type { Reference } from "../hl7-fhir-r4-examples/Reference"; - -import type { Element } from "../hl7-fhir-r4-examples/Element"; -export type { BackboneElement } from "../hl7-fhir-r4-examples/BackboneElement"; -export type { CodeableConcept } from "../hl7-fhir-r4-examples/CodeableConcept"; -export type { Coding } from "../hl7-fhir-r4-examples/Coding"; -export type { Period } from "../hl7-fhir-r4-examples/Period"; -export type { Reference } from "../hl7-fhir-r4-examples/Reference"; - -export interface AuditEventAgent extends BackboneElement { - altId?: string; - location?: Reference<"Location">; - 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<("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">; -} - -export interface AuditEventAgentNetwork extends BackboneElement { - address?: string; - type?: ("1" | "2" | "3" | "4" | "5"); -} - -export interface AuditEventEntity extends BackboneElement { - description?: string; - detail?: AuditEventEntityDetail[]; - 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<("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">; -} - -export interface AuditEventEntityDetail extends BackboneElement { - type: string; - valueBase64Binary?: string; - valueString?: string; -} - -export interface AuditEventSource extends BackboneElement { - observer: Reference<"Device" | "Organization" | "Patient" | "Practitioner" | "PractitionerRole" | "RelatedPerson">; - site?: string; - type?: Coding<("1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | string)>[]; -} - -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/AuditEvent (pkg: hl7.fhir.r4.examples#4.0.1) -export interface AuditEvent extends DomainResource { - resourceType: "AuditEvent"; - - action?: ("C" | "R" | "U" | "D" | "E"); - _action?: Element; - agent: AuditEventAgent[]; - entity?: AuditEventEntity[]; - outcome?: ("0" | "4" | "8" | "12"); - _outcome?: Element; - outcomeDesc?: string; - _outcomeDesc?: Element; - period?: Period; - purposeOfEvent?: CodeableConcept[]; - recorded: string; - _recorded?: Element; - source: AuditEventSource; - 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 deleted file mode 100644 index 6637913bd..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/BackboneElement.ts +++ /dev/null @@ -1,14 +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 { Element } from "../hl7-fhir-r4-examples/Element"; -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 (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 deleted file mode 100644 index c9459fa57..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/Basic.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 { CodeableConcept } from "../hl7-fhir-r4-examples/CodeableConcept"; -import type { DomainResource } from "../hl7-fhir-r4-examples/DomainResource"; -import type { Identifier } from "../hl7-fhir-r4-examples/Identifier"; -import type { Reference } from "../hl7-fhir-r4-examples/Reference"; - -import type { Element } from "../hl7-fhir-r4-examples/Element"; -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 (pkg: hl7.fhir.r4.examples#4.0.1) -export interface Basic extends DomainResource { - resourceType: "Basic"; - - author?: Reference<"Organization" | "Patient" | "Practitioner" | "PractitionerRole" | "RelatedPerson">; - code: CodeableConcept; - created?: string; - _created?: Element; - identifier?: Identifier[]; - subject?: Reference<"Resource">; -} -export const isBasic = (resource: unknown): resource is Basic => { - return resource !== null && typeof resource === "object" && (resource as {resourceType: string}).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 deleted file mode 100644 index 66f3107e1..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/Binary.ts +++ /dev/null @@ -1,23 +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 { Reference } from "../hl7-fhir-r4-examples/Reference"; -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 (pkg: hl7.fhir.r4.examples#4.0.1) -export interface Binary extends Resource { - resourceType: "Binary"; - - contentType: string; - _contentType?: Element; - data?: string; - _data?: Element; - securityContext?: Reference<"Resource">; -} -export const isBinary = (resource: unknown): resource is Binary => { - return resource !== null && typeof resource === "object" && (resource as {resourceType: string}).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 deleted file mode 100644 index 9eef35744..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/BiologicallyDerivedProduct.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 { BackboneElement } from "../hl7-fhir-r4-examples/BackboneElement"; -import type { CodeableConcept } from "../hl7-fhir-r4-examples/CodeableConcept"; -import type { DomainResource } from "../hl7-fhir-r4-examples/DomainResource"; -import type { Identifier } from "../hl7-fhir-r4-examples/Identifier"; -import type { Period } from "../hl7-fhir-r4-examples/Period"; -import type { Reference } from "../hl7-fhir-r4-examples/Reference"; - -import type { Element } from "../hl7-fhir-r4-examples/Element"; -export type { BackboneElement } from "../hl7-fhir-r4-examples/BackboneElement"; -export type { CodeableConcept } from "../hl7-fhir-r4-examples/CodeableConcept"; -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"; - -export interface BiologicallyDerivedProductCollection extends BackboneElement { - collectedDateTime?: string; - collectedPeriod?: Period; - collector?: Reference<"Practitioner" | "PractitionerRole">; - source?: Reference<"Organization" | "Patient">; -} - -export interface BiologicallyDerivedProductManipulation extends BackboneElement { - description?: string; - timeDateTime?: string; - timePeriod?: Period; -} - -export interface BiologicallyDerivedProductProcessing extends BackboneElement { - additive?: Reference<"Substance">; - description?: string; - procedure?: CodeableConcept; - timeDateTime?: string; - timePeriod?: Period; -} - -export interface BiologicallyDerivedProductStorage extends BackboneElement { - description?: string; - duration?: Period; - scale?: ("farenheit" | "celsius" | "kelvin"); - temperature?: number; -} - -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/BiologicallyDerivedProduct (pkg: hl7.fhir.r4.examples#4.0.1) -export interface BiologicallyDerivedProduct extends DomainResource { - resourceType: "BiologicallyDerivedProduct"; - - collection?: BiologicallyDerivedProductCollection; - identifier?: Identifier[]; - manipulation?: BiologicallyDerivedProductManipulation; - parent?: Reference<"BiologicallyDerivedProduct">[]; - processing?: BiologicallyDerivedProductProcessing[]; - productCategory?: ("organ" | "tissue" | "fluid" | "cells" | "biologicalAgent"); - _productCategory?: Element; - productCode?: CodeableConcept; - quantity?: number; - _quantity?: Element; - request?: Reference<"ServiceRequest">[]; - status?: ("available" | "unavailable"); - _status?: Element; - storage?: BiologicallyDerivedProductStorage[]; -} -export const isBiologicallyDerivedProduct = (resource: unknown): resource is BiologicallyDerivedProduct => { - return resource !== null && typeof resource === "object" && (resource as {resourceType: string}).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 deleted file mode 100644 index 2c90e1f00..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/BodyStructure.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 { Attachment } from "../hl7-fhir-r4-examples/Attachment"; -import type { CodeableConcept } from "../hl7-fhir-r4-examples/CodeableConcept"; -import type { DomainResource } from "../hl7-fhir-r4-examples/DomainResource"; -import type { Identifier } from "../hl7-fhir-r4-examples/Identifier"; -import type { Reference } from "../hl7-fhir-r4-examples/Reference"; - -import type { Element } from "../hl7-fhir-r4-examples/Element"; -export type { Attachment } from "../hl7-fhir-r4-examples/Attachment"; -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 (pkg: hl7.fhir.r4.examples#4.0.1) -export interface BodyStructure extends DomainResource { - resourceType: "BodyStructure"; - - active?: boolean; - _active?: Element; - description?: string; - _description?: Element; - identifier?: Identifier[]; - image?: Attachment[]; - location?: CodeableConcept; - locationQualifier?: CodeableConcept[]; - morphology?: CodeableConcept; - patient: Reference<"Patient">; -} -export const isBodyStructure = (resource: unknown): resource is BodyStructure => { - return resource !== null && typeof resource === "object" && (resource as {resourceType: string}).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 deleted file mode 100644 index 4a24af76a..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/Bundle.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 { BackboneElement } from "../hl7-fhir-r4-examples/BackboneElement"; -import type { Identifier } from "../hl7-fhir-r4-examples/Identifier"; -import type { Resource } from "../hl7-fhir-r4-examples/Resource"; -import type { Signature } from "../hl7-fhir-r4-examples/Signature"; - -import type { Element } from "../hl7-fhir-r4-examples/Element"; -export type { BackboneElement } from "../hl7-fhir-r4-examples/BackboneElement"; -export type { Identifier } from "../hl7-fhir-r4-examples/Identifier"; -export type { Signature } from "../hl7-fhir-r4-examples/Signature"; - -export interface BundleEntry extends BackboneElement { - fullUrl?: string; - link?: BundleLink[]; - request?: BundleEntryRequest; - resource?: Resource; - response?: BundleEntryResponse; - search?: BundleEntrySearch; -} - -export interface BundleEntryRequest extends BackboneElement { - ifMatch?: string; - ifModifiedSince?: string; - ifNoneExist?: string; - ifNoneMatch?: string; - method: ("GET" | "HEAD" | "POST" | "PUT" | "DELETE" | "PATCH"); - url: string; -} - -export interface BundleEntryResponse extends BackboneElement { - etag?: string; - lastModified?: string; - location?: string; - outcome?: Resource; - status: string; -} - -export interface BundleEntrySearch extends BackboneElement { - mode?: ("match" | "include" | "outcome"); - score?: number; -} - -export interface BundleLink extends BackboneElement { - relation: string; - url: string; -} - -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/Bundle (pkg: hl7.fhir.r4.examples#4.0.1) -export interface Bundle extends Resource { - resourceType: "Bundle"; - - entry?: BundleEntry[]; - identifier?: Identifier; - link?: BundleLink[]; - signature?: Signature; - timestamp?: string; - _timestamp?: Element; - total?: number; - _total?: Element; - type: ("document" | "message" | "transaction" | "transaction-response" | "batch" | "batch-response" | "history" | "searchset" | "collection"); - _type?: Element; -} -export const isBundle = (resource: unknown): resource is Bundle => { - return resource !== null && typeof resource === "object" && (resource as {resourceType: string}).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 deleted file mode 100644 index 9940a61ef..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/CapabilityStatement.ts +++ /dev/null @@ -1,167 +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 { BackboneElement } from "../hl7-fhir-r4-examples/BackboneElement"; -import type { CodeableConcept } from "../hl7-fhir-r4-examples/CodeableConcept"; -import type { Coding } from "../hl7-fhir-r4-examples/Coding"; -import type { ContactDetail } from "../hl7-fhir-r4-examples/ContactDetail"; -import type { DomainResource } from "../hl7-fhir-r4-examples/DomainResource"; -import type { Reference } from "../hl7-fhir-r4-examples/Reference"; -import type { UsageContext } from "../hl7-fhir-r4-examples/UsageContext"; - -import type { Element } from "../hl7-fhir-r4-examples/Element"; -export type { BackboneElement } from "../hl7-fhir-r4-examples/BackboneElement"; -export type { CodeableConcept } from "../hl7-fhir-r4-examples/CodeableConcept"; -export type { Coding } from "../hl7-fhir-r4-examples/Coding"; -export type { ContactDetail } from "../hl7-fhir-r4-examples/ContactDetail"; -export type { Reference } from "../hl7-fhir-r4-examples/Reference"; -export type { UsageContext } from "../hl7-fhir-r4-examples/UsageContext"; - -export interface CapabilityStatementDocument extends BackboneElement { - documentation?: string; - mode: ("producer" | "consumer"); - profile: string; -} - -export interface CapabilityStatementImplementation extends BackboneElement { - custodian?: Reference<"Organization">; - description: string; - url?: string; -} - -export interface CapabilityStatementMessaging extends BackboneElement { - documentation?: string; - endpoint?: CapabilityStatementMessagingEndpoint[]; - reliableCache?: number; - supportedMessage?: CapabilityStatementMessagingSupportedMessage[]; -} - -export interface CapabilityStatementMessagingEndpoint extends BackboneElement { - address: string; - protocol: Coding<("http" | "ftp" | "mllp" | string)>; -} - -export interface CapabilityStatementMessagingSupportedMessage extends BackboneElement { - definition: string; - mode: ("sender" | "receiver"); -} - -export interface CapabilityStatementRest extends BackboneElement { - compartment?: string[]; - documentation?: string; - interaction?: CapabilityStatementRestInteraction[]; - mode: ("client" | "server"); - operation?: CapabilityStatementRestResourceOperation[]; - resource?: CapabilityStatementRestResource[]; - searchParam?: CapabilityStatementRestResourceSearchParam[]; - security?: CapabilityStatementRestSecurity; -} - -export interface CapabilityStatementRestInteraction extends BackboneElement { - code: ("transaction" | "batch" | "search-system" | "history-system"); - documentation?: string; -} - -export interface CapabilityStatementRestResource extends BackboneElement { - conditionalCreate?: boolean; - conditionalDelete?: ("not-supported" | "single" | "multiple"); - conditionalRead?: ("not-supported" | "modified-since" | "not-match" | "full-support"); - conditionalUpdate?: boolean; - documentation?: string; - interaction?: CapabilityStatementRestResourceInteraction[]; - operation?: CapabilityStatementRestResourceOperation[]; - profile?: string; - readHistory?: boolean; - referencePolicy?: ("literal" | "logical" | "resolves" | "enforced" | "local")[]; - searchInclude?: string[]; - searchParam?: CapabilityStatementRestResourceSearchParam[]; - searchRevInclude?: string[]; - supportedProfile?: string[]; - type: string; - updateCreate?: boolean; - versioning?: ("no-version" | "versioned" | "versioned-update"); -} - -export interface CapabilityStatementRestResourceInteraction extends BackboneElement { - code: ("read" | "vread" | "update" | "patch" | "delete" | "history-instance" | "history-type" | "create" | "search-type"); - documentation?: string; -} - -export interface CapabilityStatementRestResourceOperation extends BackboneElement { - definition: string; - documentation?: string; - name: string; -} - -export interface CapabilityStatementRestResourceSearchParam extends BackboneElement { - definition?: string; - documentation?: string; - name: string; - type: ("number" | "date" | "string" | "token" | "reference" | "composite" | "quantity" | "uri" | "special"); -} - -export interface CapabilityStatementRestSecurity extends BackboneElement { - cors?: boolean; - description?: string; - service?: CodeableConcept<("OAuth" | "SMART-on-FHIR" | "NTLM" | "Basic" | "Kerberos" | "Certificates" | string)>[]; -} - -export interface CapabilityStatementSoftware extends BackboneElement { - name: string; - releaseDate?: string; - version?: string; -} - -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/CapabilityStatement (pkg: hl7.fhir.r4.examples#4.0.1) -export interface CapabilityStatement extends DomainResource { - resourceType: "CapabilityStatement"; - - contact?: ContactDetail[]; - copyright?: string; - _copyright?: Element; - date: string; - _date?: Element; - description?: string; - _description?: Element; - document?: CapabilityStatementDocument[]; - 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; - format: string[]; - _format?: (Element | null)[]; - implementation?: CapabilityStatementImplementation; - implementationGuide?: string[]; - _implementationGuide?: (Element | null)[]; - imports?: string[]; - _imports?: (Element | null)[]; - instantiates?: string[]; - _instantiates?: (Element | null)[]; - jurisdiction?: CodeableConcept[]; - kind: ("instance" | "capability" | "requirements"); - _kind?: Element; - messaging?: CapabilityStatementMessaging[]; - name?: string; - _name?: Element; - patchFormat?: string[]; - _patchFormat?: (Element | null)[]; - publisher?: string; - _publisher?: Element; - purpose?: string; - _purpose?: Element; - rest?: CapabilityStatementRest[]; - software?: CapabilityStatementSoftware; - status: ("draft" | "active" | "retired" | "unknown"); - _status?: Element; - title?: string; - _title?: Element; - url?: string; - _url?: Element; - useContext?: UsageContext[]; - version?: string; - _version?: Element; -} -export const isCapabilityStatement = (resource: unknown): resource is CapabilityStatement => { - return resource !== null && typeof resource === "object" && (resource as {resourceType: string}).resourceType === "CapabilityStatement"; -} 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 deleted file mode 100644 index 2a724e72c..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/CarePlan.ts +++ /dev/null @@ -1,93 +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 { Annotation } from "../hl7-fhir-r4-examples/Annotation"; -import type { BackboneElement } from "../hl7-fhir-r4-examples/BackboneElement"; -import type { CodeableConcept } from "../hl7-fhir-r4-examples/CodeableConcept"; -import type { DomainResource } from "../hl7-fhir-r4-examples/DomainResource"; -import type { Identifier } from "../hl7-fhir-r4-examples/Identifier"; -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"; -import type { Timing } from "../hl7-fhir-r4-examples/Timing"; - -import type { Element } from "../hl7-fhir-r4-examples/Element"; -export type { Annotation } from "../hl7-fhir-r4-examples/Annotation"; -export type { BackboneElement } from "../hl7-fhir-r4-examples/BackboneElement"; -export type { CodeableConcept } from "../hl7-fhir-r4-examples/CodeableConcept"; -export type { Identifier } from "../hl7-fhir-r4-examples/Identifier"; -export type { Period } from "../hl7-fhir-r4-examples/Period"; -export type { Quantity } from "../hl7-fhir-r4-examples/Quantity"; -export type { Reference } from "../hl7-fhir-r4-examples/Reference"; -export type { Timing } from "../hl7-fhir-r4-examples/Timing"; - -export interface CarePlanActivity extends BackboneElement { - detail?: CarePlanActivityDetail; - outcomeCodeableConcept?: CodeableConcept[]; - outcomeReference?: Reference<"Resource">[]; - progress?: Annotation[]; - reference?: Reference<"Appointment" | "CommunicationRequest" | "DeviceRequest" | "MedicationRequest" | "NutritionOrder" | "RequestGroup" | "ServiceRequest" | "Task" | "VisionPrescription">; -} - -export interface CarePlanActivityDetail extends BackboneElement { - code?: CodeableConcept; - dailyAmount?: Quantity; - description?: string; - doNotPerform?: boolean; - goal?: Reference<"Goal">[]; - instantiatesCanonical?: string[]; - instantiatesUri?: string[]; - kind?: ("Appointment" | "CommunicationRequest" | "DeviceRequest" | "MedicationRequest" | "NutritionOrder" | "Task" | "ServiceRequest" | "VisionPrescription"); - location?: Reference<"Location">; - performer?: Reference<"CareTeam" | "Device" | "HealthcareService" | "Organization" | "Patient" | "Practitioner" | "PractitionerRole" | "RelatedPerson">[]; - productCodeableConcept?: CodeableConcept; - productReference?: Reference<"Medication" | "Substance">; - quantity?: Quantity; - reasonCode?: CodeableConcept[]; - reasonReference?: Reference<"Condition" | "DiagnosticReport" | "DocumentReference" | "Observation">[]; - scheduledPeriod?: Period; - scheduledString?: string; - scheduledTiming?: Timing; - status: ("not-started" | "scheduled" | "in-progress" | "on-hold" | "completed" | "cancelled" | "stopped" | "unknown" | "entered-in-error"); - statusReason?: CodeableConcept; -} - -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/CarePlan (pkg: hl7.fhir.r4.examples#4.0.1) -export interface CarePlan extends DomainResource { - resourceType: "CarePlan"; - - activity?: CarePlanActivity[]; - addresses?: Reference<"Condition">[]; - author?: Reference<"CareTeam" | "Device" | "Organization" | "Patient" | "Practitioner" | "PractitionerRole" | "RelatedPerson">; - basedOn?: Reference<"CarePlan">[]; - careTeam?: Reference<"CareTeam">[]; - category?: CodeableConcept[]; - contributor?: Reference<"CareTeam" | "Device" | "Organization" | "Patient" | "Practitioner" | "PractitionerRole" | "RelatedPerson">[]; - created?: string; - _created?: Element; - description?: string; - _description?: Element; - encounter?: Reference<"Encounter">; - goal?: Reference<"Goal">[]; - identifier?: Identifier[]; - instantiatesCanonical?: string[]; - _instantiatesCanonical?: (Element | null)[]; - instantiatesUri?: string[]; - _instantiatesUri?: (Element | null)[]; - intent: ("proposal" | "plan" | "order" | "option"); - _intent?: Element; - note?: Annotation[]; - partOf?: Reference<"CarePlan">[]; - period?: Period; - replaces?: Reference<"CarePlan">[]; - status: ("draft" | "active" | "on-hold" | "revoked" | "completed" | "entered-in-error" | "unknown"); - _status?: Element; - subject: Reference<"Group" | "Patient">; - supportingInfo?: Reference<"Resource">[]; - title?: string; - _title?: Element; -} -export const isCarePlan = (resource: unknown): resource is CarePlan => { - return resource !== null && typeof resource === "object" && (resource as {resourceType: string}).resourceType === "CarePlan"; -} 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 deleted file mode 100644 index 5ee917eb1..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/CareTeam.ts +++ /dev/null @@ -1,52 +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 { Annotation } from "../hl7-fhir-r4-examples/Annotation"; -import type { BackboneElement } from "../hl7-fhir-r4-examples/BackboneElement"; -import type { CodeableConcept } from "../hl7-fhir-r4-examples/CodeableConcept"; -import type { ContactPoint } from "../hl7-fhir-r4-examples/ContactPoint"; -import type { DomainResource } from "../hl7-fhir-r4-examples/DomainResource"; -import type { Identifier } from "../hl7-fhir-r4-examples/Identifier"; -import type { Period } from "../hl7-fhir-r4-examples/Period"; -import type { Reference } from "../hl7-fhir-r4-examples/Reference"; - -import type { Element } from "../hl7-fhir-r4-examples/Element"; -export type { Annotation } from "../hl7-fhir-r4-examples/Annotation"; -export type { BackboneElement } from "../hl7-fhir-r4-examples/BackboneElement"; -export type { CodeableConcept } from "../hl7-fhir-r4-examples/CodeableConcept"; -export type { ContactPoint } from "../hl7-fhir-r4-examples/ContactPoint"; -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"; - -export interface CareTeamParticipant extends BackboneElement { - member?: Reference<"CareTeam" | "Organization" | "Patient" | "Practitioner" | "PractitionerRole" | "RelatedPerson">; - onBehalfOf?: Reference<"Organization">; - period?: Period; - role?: CodeableConcept[]; -} - -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/CareTeam (pkg: hl7.fhir.r4.examples#4.0.1) -export interface CareTeam extends DomainResource { - resourceType: "CareTeam"; - - category?: CodeableConcept[]; - encounter?: Reference<"Encounter">; - identifier?: Identifier[]; - managingOrganization?: Reference<"Organization">[]; - name?: string; - _name?: Element; - note?: Annotation[]; - participant?: CareTeamParticipant[]; - period?: Period; - reasonCode?: CodeableConcept[]; - reasonReference?: Reference<"Condition">[]; - status?: ("proposed" | "active" | "suspended" | "inactive" | "entered-in-error"); - _status?: Element; - subject?: Reference<"Group" | "Patient">; - telecom?: ContactPoint[]; -} -export const isCareTeam = (resource: unknown): resource is CareTeam => { - return resource !== null && typeof resource === "object" && (resource as {resourceType: string}).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 deleted file mode 100644 index a81847a66..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/CatalogEntry.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 { BackboneElement } from "../hl7-fhir-r4-examples/BackboneElement"; -import type { CodeableConcept } from "../hl7-fhir-r4-examples/CodeableConcept"; -import type { DomainResource } from "../hl7-fhir-r4-examples/DomainResource"; -import type { Identifier } from "../hl7-fhir-r4-examples/Identifier"; -import type { Period } from "../hl7-fhir-r4-examples/Period"; -import type { Reference } from "../hl7-fhir-r4-examples/Reference"; - -import type { Element } from "../hl7-fhir-r4-examples/Element"; -export type { BackboneElement } from "../hl7-fhir-r4-examples/BackboneElement"; -export type { CodeableConcept } from "../hl7-fhir-r4-examples/CodeableConcept"; -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"; - -export interface CatalogEntryRelatedEntry extends BackboneElement { - item: Reference<"CatalogEntry">; - relationtype: ("triggers" | "is-replaced-by"); -} - -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/CatalogEntry (pkg: hl7.fhir.r4.examples#4.0.1) -export interface CatalogEntry extends DomainResource { - resourceType: "CatalogEntry"; - - additionalCharacteristic?: CodeableConcept[]; - additionalClassification?: CodeableConcept[]; - additionalIdentifier?: Identifier[]; - classification?: CodeableConcept[]; - identifier?: Identifier[]; - lastUpdated?: string; - _lastUpdated?: Element; - orderable: boolean; - _orderable?: Element; - referencedItem: Reference<"ActivityDefinition" | "Binary" | "Device" | "HealthcareService" | "Medication" | "ObservationDefinition" | "Organization" | "PlanDefinition" | "Practitioner" | "PractitionerRole" | "SpecimenDefinition">; - relatedEntry?: CatalogEntryRelatedEntry[]; - status?: ("draft" | "active" | "retired" | "unknown"); - _status?: Element; - type?: CodeableConcept; - validityPeriod?: Period; - validTo?: string; - _validTo?: Element; -} -export const isCatalogEntry = (resource: unknown): resource is CatalogEntry => { - return resource !== null && typeof resource === "object" && (resource as {resourceType: string}).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 deleted file mode 100644 index 042c9ee29..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/ChargeItem.ts +++ /dev/null @@ -1,75 +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 { Annotation } from "../hl7-fhir-r4-examples/Annotation"; -import type { BackboneElement } from "../hl7-fhir-r4-examples/BackboneElement"; -import type { CodeableConcept } from "../hl7-fhir-r4-examples/CodeableConcept"; -import type { DomainResource } from "../hl7-fhir-r4-examples/DomainResource"; -import type { Identifier } from "../hl7-fhir-r4-examples/Identifier"; -import type { Money } from "../hl7-fhir-r4-examples/Money"; -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"; -import type { Timing } from "../hl7-fhir-r4-examples/Timing"; - -import type { Element } from "../hl7-fhir-r4-examples/Element"; -export type { Annotation } from "../hl7-fhir-r4-examples/Annotation"; -export type { BackboneElement } from "../hl7-fhir-r4-examples/BackboneElement"; -export type { CodeableConcept } from "../hl7-fhir-r4-examples/CodeableConcept"; -export type { Identifier } from "../hl7-fhir-r4-examples/Identifier"; -export type { Money } from "../hl7-fhir-r4-examples/Money"; -export type { Period } from "../hl7-fhir-r4-examples/Period"; -export type { Quantity } from "../hl7-fhir-r4-examples/Quantity"; -export type { Reference } from "../hl7-fhir-r4-examples/Reference"; -export type { Timing } from "../hl7-fhir-r4-examples/Timing"; - -export interface ChargeItemPerformer extends BackboneElement { - actor: Reference<"CareTeam" | "Device" | "Organization" | "Patient" | "Practitioner" | "PractitionerRole" | "RelatedPerson">; - "function"?: CodeableConcept; -} - -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/ChargeItem (pkg: hl7.fhir.r4.examples#4.0.1) -export interface ChargeItem extends DomainResource { - resourceType: "ChargeItem"; - - account?: Reference<"Account">[]; - bodysite?: CodeableConcept[]; - code: CodeableConcept; - context?: Reference<"Encounter" | "EpisodeOfCare">; - costCenter?: Reference<"Organization">; - definitionCanonical?: string[]; - _definitionCanonical?: (Element | null)[]; - definitionUri?: string[]; - _definitionUri?: (Element | null)[]; - enteredDate?: string; - _enteredDate?: Element; - enterer?: Reference<"Device" | "Organization" | "Patient" | "Practitioner" | "PractitionerRole" | "RelatedPerson">; - factorOverride?: number; - _factorOverride?: Element; - identifier?: Identifier[]; - note?: Annotation[]; - occurrenceDateTime?: string; - _occurrenceDateTime?: Element; - occurrencePeriod?: Period; - occurrenceTiming?: Timing; - overrideReason?: string; - _overrideReason?: Element; - partOf?: Reference<"ChargeItem">[]; - performer?: ChargeItemPerformer[]; - performingOrganization?: Reference<"Organization">; - priceOverride?: Money; - productCodeableConcept?: CodeableConcept; - productReference?: Reference<"Device" | "Medication" | "Substance">; - quantity?: Quantity; - reason?: CodeableConcept[]; - requestingOrganization?: Reference<"Organization">; - service?: Reference<"DiagnosticReport" | "ImagingStudy" | "Immunization" | "MedicationAdministration" | "MedicationDispense" | "Observation" | "Procedure" | "SupplyDelivery">[]; - status: ("planned" | "billable" | "not-billable" | "aborted" | "billed" | "entered-in-error" | "unknown"); - _status?: Element; - subject: Reference<"Group" | "Patient">; - supportingInformation?: Reference<"Resource">[]; -} -export const isChargeItem = (resource: unknown): resource is ChargeItem => { - return resource !== null && typeof resource === "object" && (resource as {resourceType: string}).resourceType === "ChargeItem"; -} 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 deleted file mode 100644 index 325c904a2..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/ChargeItemDefinition.ts +++ /dev/null @@ -1,87 +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 { BackboneElement } from "../hl7-fhir-r4-examples/BackboneElement"; -import type { CodeableConcept } from "../hl7-fhir-r4-examples/CodeableConcept"; -import type { ContactDetail } from "../hl7-fhir-r4-examples/ContactDetail"; -import type { DomainResource } from "../hl7-fhir-r4-examples/DomainResource"; -import type { Identifier } from "../hl7-fhir-r4-examples/Identifier"; -import type { Money } from "../hl7-fhir-r4-examples/Money"; -import type { Period } from "../hl7-fhir-r4-examples/Period"; -import type { Reference } from "../hl7-fhir-r4-examples/Reference"; -import type { UsageContext } from "../hl7-fhir-r4-examples/UsageContext"; - -import type { Element } from "../hl7-fhir-r4-examples/Element"; -export type { BackboneElement } from "../hl7-fhir-r4-examples/BackboneElement"; -export type { CodeableConcept } from "../hl7-fhir-r4-examples/CodeableConcept"; -export type { ContactDetail } from "../hl7-fhir-r4-examples/ContactDetail"; -export type { Identifier } from "../hl7-fhir-r4-examples/Identifier"; -export type { Money } from "../hl7-fhir-r4-examples/Money"; -export type { Period } from "../hl7-fhir-r4-examples/Period"; -export type { Reference } from "../hl7-fhir-r4-examples/Reference"; -export type { UsageContext } from "../hl7-fhir-r4-examples/UsageContext"; - -export interface ChargeItemDefinitionApplicability extends BackboneElement { - description?: string; - expression?: string; - language?: string; -} - -export interface ChargeItemDefinitionPropertyGroup extends BackboneElement { - applicability?: ChargeItemDefinitionApplicability[]; - priceComponent?: ChargeItemDefinitionPropertyGroupPriceComponent[]; -} - -export interface ChargeItemDefinitionPropertyGroupPriceComponent extends BackboneElement { - amount?: Money; - code?: CodeableConcept; - factor?: number; - type: ("base" | "surcharge" | "deduction" | "discount" | "tax" | "informational"); -} - -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/ChargeItemDefinition (pkg: hl7.fhir.r4.examples#4.0.1) -export interface ChargeItemDefinition extends DomainResource { - resourceType: "ChargeItemDefinition"; - - applicability?: ChargeItemDefinitionApplicability[]; - approvalDate?: string; - _approvalDate?: Element; - code?: CodeableConcept; - contact?: ContactDetail[]; - copyright?: string; - _copyright?: Element; - date?: string; - _date?: Element; - derivedFromUri?: string[]; - _derivedFromUri?: (Element | null)[]; - description?: string; - _description?: Element; - effectivePeriod?: Period; - experimental?: boolean; - _experimental?: Element; - identifier?: Identifier[]; - instance?: Reference<"Device" | "Medication" | "Substance">[]; - jurisdiction?: CodeableConcept[]; - lastReviewDate?: string; - _lastReviewDate?: Element; - partOf?: string[]; - _partOf?: (Element | null)[]; - propertyGroup?: ChargeItemDefinitionPropertyGroup[]; - publisher?: string; - _publisher?: Element; - replaces?: string[]; - _replaces?: (Element | null)[]; - status: ("draft" | "active" | "retired" | "unknown"); - _status?: Element; - title?: string; - _title?: Element; - url: string; - _url?: Element; - useContext?: UsageContext[]; - version?: string; - _version?: Element; -} -export const isChargeItemDefinition = (resource: unknown): resource is ChargeItemDefinition => { - return resource !== null && typeof resource === "object" && (resource as {resourceType: string}).resourceType === "ChargeItemDefinition"; -} 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 deleted file mode 100644 index fd25d5ed0..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/Claim.ts +++ /dev/null @@ -1,188 +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 { Address } from "../hl7-fhir-r4-examples/Address"; -import type { Attachment } from "../hl7-fhir-r4-examples/Attachment"; -import type { BackboneElement } from "../hl7-fhir-r4-examples/BackboneElement"; -import type { CodeableConcept } from "../hl7-fhir-r4-examples/CodeableConcept"; -import type { DomainResource } from "../hl7-fhir-r4-examples/DomainResource"; -import type { Identifier } from "../hl7-fhir-r4-examples/Identifier"; -import type { Money } from "../hl7-fhir-r4-examples/Money"; -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"; - -import type { Element } from "../hl7-fhir-r4-examples/Element"; -export type { Address } from "../hl7-fhir-r4-examples/Address"; -export type { Attachment } from "../hl7-fhir-r4-examples/Attachment"; -export type { BackboneElement } from "../hl7-fhir-r4-examples/BackboneElement"; -export type { CodeableConcept } from "../hl7-fhir-r4-examples/CodeableConcept"; -export type { Identifier } from "../hl7-fhir-r4-examples/Identifier"; -export type { Money } from "../hl7-fhir-r4-examples/Money"; -export type { Period } from "../hl7-fhir-r4-examples/Period"; -export type { Quantity } from "../hl7-fhir-r4-examples/Quantity"; -export type { Reference } from "../hl7-fhir-r4-examples/Reference"; - -export interface ClaimAccident extends BackboneElement { - date: string; - locationAddress?: Address; - locationReference?: Reference<"Location">; - type?: CodeableConcept; -} - -export interface ClaimCareTeam extends BackboneElement { - provider: Reference<"Organization" | "Practitioner" | "PractitionerRole">; - qualification?: CodeableConcept; - responsible?: boolean; - role?: CodeableConcept; - sequence: number; -} - -export interface ClaimDiagnosis extends BackboneElement { - diagnosisCodeableConcept?: CodeableConcept; - diagnosisReference?: Reference<"Condition">; - onAdmission?: CodeableConcept; - packageCode?: CodeableConcept; - sequence: number; - type?: CodeableConcept[]; -} - -export interface ClaimInsurance extends BackboneElement { - businessArrangement?: string; - claimResponse?: Reference<"ClaimResponse">; - coverage: Reference<"Coverage">; - focal: boolean; - identifier?: Identifier; - preAuthRef?: string[]; - sequence: number; -} - -export interface ClaimItem extends BackboneElement { - bodySite?: CodeableConcept; - careTeamSequence?: number[]; - category?: CodeableConcept; - detail?: ClaimItemDetail[]; - diagnosisSequence?: number[]; - encounter?: Reference<"Encounter">[]; - factor?: number; - informationSequence?: number[]; - locationAddress?: Address; - locationCodeableConcept?: CodeableConcept; - locationReference?: Reference<"Location">; - modifier?: CodeableConcept[]; - net?: Money; - procedureSequence?: number[]; - productOrService: CodeableConcept; - programCode?: CodeableConcept[]; - quantity?: Quantity; - revenue?: CodeableConcept; - sequence: number; - servicedDate?: string; - servicedPeriod?: Period; - subSite?: CodeableConcept[]; - udi?: Reference<"Device">[]; - unitPrice?: Money; -} - -export interface ClaimItemDetail extends BackboneElement { - category?: CodeableConcept; - factor?: number; - modifier?: CodeableConcept[]; - net?: Money; - productOrService: CodeableConcept; - programCode?: CodeableConcept[]; - quantity?: Quantity; - revenue?: CodeableConcept; - sequence: number; - subDetail?: ClaimItemDetailSubDetail[]; - udi?: Reference<"Device">[]; - unitPrice?: Money; -} - -export interface ClaimItemDetailSubDetail extends BackboneElement { - category?: CodeableConcept; - factor?: number; - modifier?: CodeableConcept[]; - net?: Money; - productOrService: CodeableConcept; - programCode?: CodeableConcept[]; - quantity?: Quantity; - revenue?: CodeableConcept; - sequence: number; - udi?: Reference<"Device">[]; - unitPrice?: Money; -} - -export interface ClaimPayee extends BackboneElement { - party?: Reference<"Organization" | "Patient" | "Practitioner" | "PractitionerRole" | "RelatedPerson">; - type: CodeableConcept; -} - -export interface ClaimProcedure extends BackboneElement { - date?: string; - procedureCodeableConcept?: CodeableConcept; - procedureReference?: Reference<"Procedure">; - sequence: number; - type?: CodeableConcept[]; - udi?: Reference<"Device">[]; -} - -export interface ClaimRelated extends BackboneElement { - claim?: Reference<"Claim">; - reference?: Identifier; - relationship?: CodeableConcept; -} - -export interface ClaimSupportingInfo extends BackboneElement { - category: CodeableConcept; - code?: CodeableConcept; - reason?: CodeableConcept; - sequence: number; - timingDate?: string; - timingPeriod?: Period; - valueAttachment?: Attachment; - valueBoolean?: boolean; - valueQuantity?: Quantity; - valueReference?: Reference<"Resource">; - valueString?: string; -} - -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/Claim (pkg: hl7.fhir.r4.examples#4.0.1) -export interface Claim extends DomainResource { - resourceType: "Claim"; - - accident?: ClaimAccident; - billablePeriod?: Period; - careTeam?: ClaimCareTeam[]; - created: string; - _created?: Element; - diagnosis?: ClaimDiagnosis[]; - enterer?: Reference<"Practitioner" | "PractitionerRole">; - facility?: Reference<"Location">; - fundsReserve?: CodeableConcept; - identifier?: Identifier[]; - insurance: ClaimInsurance[]; - insurer?: Reference<"Organization">; - item?: ClaimItem[]; - originalPrescription?: Reference<"DeviceRequest" | "MedicationRequest" | "VisionPrescription">; - patient: Reference<"Patient">; - payee?: ClaimPayee; - prescription?: Reference<"DeviceRequest" | "MedicationRequest" | "VisionPrescription">; - priority: CodeableConcept; - procedure?: ClaimProcedure[]; - provider: Reference<"Organization" | "Practitioner" | "PractitionerRole">; - referral?: Reference<"ServiceRequest">; - related?: ClaimRelated[]; - status: ("active" | "cancelled" | "draft" | "entered-in-error"); - _status?: Element; - subType?: CodeableConcept; - supportingInfo?: ClaimSupportingInfo[]; - total?: Money; - type: CodeableConcept<("institutional" | "oral" | "pharmacy" | "professional" | "vision" | string)>; - use: ("claim" | "preauthorization" | "predetermination"); - _use?: Element; -} -export const isClaim = (resource: unknown): resource is Claim => { - return resource !== null && typeof resource === "object" && (resource as {resourceType: string}).resourceType === "Claim"; -} 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 deleted file mode 100644 index 504b3d0e5..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/ClaimResponse.ts +++ /dev/null @@ -1,177 +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 { Address } from "../hl7-fhir-r4-examples/Address"; -import type { Attachment } from "../hl7-fhir-r4-examples/Attachment"; -import type { BackboneElement } from "../hl7-fhir-r4-examples/BackboneElement"; -import type { CodeableConcept } from "../hl7-fhir-r4-examples/CodeableConcept"; -import type { DomainResource } from "../hl7-fhir-r4-examples/DomainResource"; -import type { Identifier } from "../hl7-fhir-r4-examples/Identifier"; -import type { Money } from "../hl7-fhir-r4-examples/Money"; -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"; - -import type { Element } from "../hl7-fhir-r4-examples/Element"; -export type { Address } from "../hl7-fhir-r4-examples/Address"; -export type { Attachment } from "../hl7-fhir-r4-examples/Attachment"; -export type { BackboneElement } from "../hl7-fhir-r4-examples/BackboneElement"; -export type { CodeableConcept } from "../hl7-fhir-r4-examples/CodeableConcept"; -export type { Identifier } from "../hl7-fhir-r4-examples/Identifier"; -export type { Money } from "../hl7-fhir-r4-examples/Money"; -export type { Period } from "../hl7-fhir-r4-examples/Period"; -export type { Quantity } from "../hl7-fhir-r4-examples/Quantity"; -export type { Reference } from "../hl7-fhir-r4-examples/Reference"; - -export interface ClaimResponseAddItem extends BackboneElement { - adjudication: ClaimResponseItemAdjudication[]; - bodySite?: CodeableConcept; - detail?: ClaimResponseAddItemDetail[]; - detailSequence?: number[]; - factor?: number; - itemSequence?: number[]; - locationAddress?: Address; - locationCodeableConcept?: CodeableConcept; - locationReference?: Reference<"Location">; - modifier?: CodeableConcept[]; - net?: Money; - noteNumber?: number[]; - productOrService: CodeableConcept; - programCode?: CodeableConcept[]; - provider?: Reference<"Organization" | "Practitioner" | "PractitionerRole">[]; - quantity?: Quantity; - servicedDate?: string; - servicedPeriod?: Period; - subdetailSequence?: number[]; - subSite?: CodeableConcept[]; - unitPrice?: Money; -} - -export interface ClaimResponseAddItemDetail extends BackboneElement { - adjudication: ClaimResponseItemAdjudication[]; - factor?: number; - modifier?: CodeableConcept[]; - net?: Money; - noteNumber?: number[]; - productOrService: CodeableConcept; - quantity?: Quantity; - subDetail?: ClaimResponseAddItemDetailSubDetail[]; - unitPrice?: Money; -} - -export interface ClaimResponseAddItemDetailSubDetail extends BackboneElement { - adjudication: ClaimResponseItemAdjudication[]; - factor?: number; - modifier?: CodeableConcept[]; - net?: Money; - noteNumber?: number[]; - productOrService: CodeableConcept; - quantity?: Quantity; - unitPrice?: Money; -} - -export interface ClaimResponseError extends BackboneElement { - code: CodeableConcept; - detailSequence?: number; - itemSequence?: number; - subDetailSequence?: number; -} - -export interface ClaimResponseInsurance extends BackboneElement { - businessArrangement?: string; - claimResponse?: Reference<"ClaimResponse">; - coverage: Reference<"Coverage">; - focal: boolean; - sequence: number; -} - -export interface ClaimResponseItem extends BackboneElement { - adjudication: ClaimResponseItemAdjudication[]; - detail?: ClaimResponseItemDetail[]; - itemSequence: number; - noteNumber?: number[]; -} - -export interface ClaimResponseItemAdjudication extends BackboneElement { - amount?: Money; - category: CodeableConcept; - reason?: CodeableConcept; - value?: number; -} - -export interface ClaimResponseItemDetail extends BackboneElement { - adjudication: ClaimResponseItemAdjudication[]; - detailSequence: number; - noteNumber?: number[]; - subDetail?: ClaimResponseItemDetailSubDetail[]; -} - -export interface ClaimResponseItemDetailSubDetail extends BackboneElement { - adjudication?: ClaimResponseItemAdjudication[]; - noteNumber?: number[]; - subDetailSequence: number; -} - -export interface ClaimResponsePayment extends BackboneElement { - adjustment?: Money; - adjustmentReason?: CodeableConcept; - amount: Money; - date?: string; - identifier?: Identifier; - type: CodeableConcept; -} - -export interface ClaimResponseProcessNote extends BackboneElement { - 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"); -} - -export interface ClaimResponseTotal extends BackboneElement { - amount: Money; - category: CodeableConcept; -} - -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/ClaimResponse (pkg: hl7.fhir.r4.examples#4.0.1) -export interface ClaimResponse extends DomainResource { - resourceType: "ClaimResponse"; - - addItem?: ClaimResponseAddItem[]; - adjudication?: ClaimResponseItemAdjudication[]; - communicationRequest?: Reference<"CommunicationRequest">[]; - created: string; - _created?: Element; - disposition?: string; - _disposition?: Element; - error?: ClaimResponseError[]; - form?: Attachment; - formCode?: CodeableConcept; - fundsReserve?: CodeableConcept; - identifier?: Identifier[]; - insurance?: ClaimResponseInsurance[]; - insurer: Reference<"Organization">; - item?: ClaimResponseItem[]; - outcome: ("queued" | "complete" | "error" | "partial"); - _outcome?: Element; - patient: Reference<"Patient">; - payeeType?: CodeableConcept; - payment?: ClaimResponsePayment; - preAuthPeriod?: Period; - preAuthRef?: string; - _preAuthRef?: Element; - processNote?: ClaimResponseProcessNote[]; - request?: Reference<"Claim">; - requestor?: Reference<"Organization" | "Practitioner" | "PractitionerRole">; - status: ("active" | "cancelled" | "draft" | "entered-in-error"); - _status?: Element; - subType?: CodeableConcept; - total?: ClaimResponseTotal[]; - type: CodeableConcept<("institutional" | "oral" | "pharmacy" | "professional" | "vision" | string)>; - use: ("claim" | "preauthorization" | "predetermination"); - _use?: Element; -} -export const isClaimResponse = (resource: unknown): resource is ClaimResponse => { - return resource !== null && typeof resource === "object" && (resource as {resourceType: string}).resourceType === "ClaimResponse"; -} 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 deleted file mode 100644 index 3ab0ec10a..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/ClinicalImpression.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 { Annotation } from "../hl7-fhir-r4-examples/Annotation"; -import type { BackboneElement } from "../hl7-fhir-r4-examples/BackboneElement"; -import type { CodeableConcept } from "../hl7-fhir-r4-examples/CodeableConcept"; -import type { DomainResource } from "../hl7-fhir-r4-examples/DomainResource"; -import type { Identifier } from "../hl7-fhir-r4-examples/Identifier"; -import type { Period } from "../hl7-fhir-r4-examples/Period"; -import type { Reference } from "../hl7-fhir-r4-examples/Reference"; - -import type { Element } from "../hl7-fhir-r4-examples/Element"; -export type { Annotation } from "../hl7-fhir-r4-examples/Annotation"; -export type { BackboneElement } from "../hl7-fhir-r4-examples/BackboneElement"; -export type { CodeableConcept } from "../hl7-fhir-r4-examples/CodeableConcept"; -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"; - -export interface ClinicalImpressionFinding extends BackboneElement { - basis?: string; - itemCodeableConcept?: CodeableConcept; - itemReference?: Reference<"Condition" | "Media" | "Observation">; -} - -export interface ClinicalImpressionInvestigation extends BackboneElement { - code: CodeableConcept; - item?: Reference<"DiagnosticReport" | "FamilyMemberHistory" | "ImagingStudy" | "Media" | "Observation" | "QuestionnaireResponse" | "RiskAssessment">[]; -} - -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/ClinicalImpression (pkg: hl7.fhir.r4.examples#4.0.1) -export interface ClinicalImpression extends DomainResource { - resourceType: "ClinicalImpression"; - - assessor?: Reference<"Practitioner" | "PractitionerRole">; - code?: CodeableConcept; - date?: string; - _date?: Element; - description?: string; - _description?: Element; - effectiveDateTime?: string; - _effectiveDateTime?: Element; - effectivePeriod?: Period; - encounter?: Reference<"Encounter">; - finding?: ClinicalImpressionFinding[]; - identifier?: Identifier[]; - investigation?: ClinicalImpressionInvestigation[]; - note?: Annotation[]; - previous?: Reference<"ClinicalImpression">; - problem?: Reference<"AllergyIntolerance" | "Condition">[]; - prognosisCodeableConcept?: CodeableConcept[]; - prognosisReference?: Reference<"RiskAssessment">[]; - protocol?: string[]; - _protocol?: (Element | null)[]; - status: ("in-progress" | "completed" | "entered-in-error"); - _status?: Element; - statusReason?: CodeableConcept; - subject: Reference<"Group" | "Patient">; - summary?: string; - _summary?: Element; - supportingInfo?: Reference<"Resource">[]; -} -export const isClinicalImpression = (resource: unknown): resource is ClinicalImpression => { - return resource !== null && typeof resource === "object" && (resource as {resourceType: string}).resourceType === "ClinicalImpression"; -} 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 deleted file mode 100644 index 6bb6a8740..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/CodeSystem.ts +++ /dev/null @@ -1,113 +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 { BackboneElement } from "../hl7-fhir-r4-examples/BackboneElement"; -import type { CodeableConcept } from "../hl7-fhir-r4-examples/CodeableConcept"; -import type { Coding } from "../hl7-fhir-r4-examples/Coding"; -import type { ContactDetail } from "../hl7-fhir-r4-examples/ContactDetail"; -import type { DomainResource } from "../hl7-fhir-r4-examples/DomainResource"; -import type { Identifier } from "../hl7-fhir-r4-examples/Identifier"; -import type { UsageContext } from "../hl7-fhir-r4-examples/UsageContext"; - -import type { Element } from "../hl7-fhir-r4-examples/Element"; -export type { BackboneElement } from "../hl7-fhir-r4-examples/BackboneElement"; -export type { CodeableConcept } from "../hl7-fhir-r4-examples/CodeableConcept"; -export type { Coding } from "../hl7-fhir-r4-examples/Coding"; -export type { ContactDetail } from "../hl7-fhir-r4-examples/ContactDetail"; -export type { Identifier } from "../hl7-fhir-r4-examples/Identifier"; -export type { UsageContext } from "../hl7-fhir-r4-examples/UsageContext"; - -export interface CodeSystemConcept extends BackboneElement { - code: string; - concept?: CodeSystemConcept[]; - definition?: string; - designation?: CodeSystemConceptDesignation[]; - display?: string; - property?: CodeSystemConceptProperty[]; -} - -export interface CodeSystemConceptDesignation extends BackboneElement { - 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; -} - -export interface CodeSystemConceptProperty extends BackboneElement { - code: string; - valueBoolean?: boolean; - valueCode?: string; - valueCoding?: Coding; - valueDateTime?: string; - valueDecimal?: number; - valueInteger?: number; - valueString?: string; -} - -export interface CodeSystemFilter extends BackboneElement { - code: string; - description?: string; - operator: ("=" | "is-a" | "descendent-of" | "is-not-a" | "regex" | "in" | "not-in" | "generalizes" | "exists")[]; - value: string; -} - -export interface CodeSystemProperty extends BackboneElement { - code: string; - description?: string; - type: ("code" | "Coding" | "string" | "integer" | "boolean" | "dateTime" | "decimal"); - uri?: string; -} - -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/CodeSystem (pkg: hl7.fhir.r4.examples#4.0.1) -export interface CodeSystem extends DomainResource { - resourceType: "CodeSystem"; - - caseSensitive?: boolean; - _caseSensitive?: Element; - compositional?: boolean; - _compositional?: Element; - concept?: CodeSystemConcept[]; - contact?: ContactDetail[]; - content: ("not-present" | "example" | "fragment" | "complete" | "supplement"); - _content?: Element; - copyright?: string; - _copyright?: Element; - count?: number; - _count?: Element; - date?: string; - _date?: Element; - description?: string; - _description?: Element; - experimental?: boolean; - _experimental?: Element; - filter?: CodeSystemFilter[]; - hierarchyMeaning?: ("grouped-by" | "is-a" | "part-of" | "classified-with"); - _hierarchyMeaning?: Element; - identifier?: Identifier[]; - jurisdiction?: CodeableConcept[]; - name?: string; - _name?: Element; - property?: CodeSystemProperty[]; - publisher?: string; - _publisher?: Element; - purpose?: string; - _purpose?: Element; - status: ("draft" | "active" | "retired" | "unknown"); - _status?: Element; - supplements?: string; - _supplements?: Element; - title?: string; - _title?: Element; - url?: string; - _url?: Element; - useContext?: UsageContext[]; - valueSet?: string; - _valueSet?: Element; - version?: string; - _version?: Element; - versionNeeded?: boolean; - _versionNeeded?: Element; -} -export const isCodeSystem = (resource: unknown): resource is CodeSystem => { - return resource !== null && typeof resource === "object" && (resource as {resourceType: string}).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 deleted file mode 100644 index 1d4aebd41..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/CodeableConcept.ts +++ /dev/null @@ -1,16 +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 { Coding } from "../hl7-fhir-r4-examples/Coding"; -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 (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 deleted file mode 100644 index 5111b6287..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/Coding.ts +++ /dev/null @@ -1,21 +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 { Element } from "../hl7-fhir-r4-examples/Element"; - -export type { Element } from "../hl7-fhir-r4-examples/Element"; - -// 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; - system?: string; - _system?: Element; - userSelected?: boolean; - _userSelected?: Element; - version?: string; - _version?: 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 deleted file mode 100644 index 1a6d404c3..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/Communication.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 { Annotation } from "../hl7-fhir-r4-examples/Annotation"; -import type { Attachment } from "../hl7-fhir-r4-examples/Attachment"; -import type { BackboneElement } from "../hl7-fhir-r4-examples/BackboneElement"; -import type { CodeableConcept } from "../hl7-fhir-r4-examples/CodeableConcept"; -import type { DomainResource } from "../hl7-fhir-r4-examples/DomainResource"; -import type { Identifier } from "../hl7-fhir-r4-examples/Identifier"; -import type { Reference } from "../hl7-fhir-r4-examples/Reference"; - -import type { Element } from "../hl7-fhir-r4-examples/Element"; -export type { Annotation } from "../hl7-fhir-r4-examples/Annotation"; -export type { Attachment } from "../hl7-fhir-r4-examples/Attachment"; -export type { BackboneElement } from "../hl7-fhir-r4-examples/BackboneElement"; -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"; - -export interface CommunicationPayload extends BackboneElement { - contentAttachment?: Attachment; - contentReference?: Reference<"Resource">; - contentString?: string; -} - -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/Communication (pkg: hl7.fhir.r4.examples#4.0.1) -export interface Communication extends DomainResource { - resourceType: "Communication"; - - about?: Reference<"Resource">[]; - basedOn?: Reference<"Resource">[]; - category?: CodeableConcept[]; - encounter?: Reference<"Encounter">; - identifier?: Identifier[]; - inResponseTo?: Reference<"Communication">[]; - instantiatesCanonical?: string[]; - _instantiatesCanonical?: (Element | null)[]; - instantiatesUri?: string[]; - _instantiatesUri?: (Element | null)[]; - medium?: CodeableConcept[]; - note?: Annotation[]; - partOf?: Reference<"Resource">[]; - payload?: CommunicationPayload[]; - priority?: ("routine" | "urgent" | "asap" | "stat"); - _priority?: Element; - reasonCode?: CodeableConcept[]; - reasonReference?: Reference<"Condition" | "DiagnosticReport" | "DocumentReference" | "Observation">[]; - received?: string; - _received?: Element; - recipient?: Reference<"CareTeam" | "Device" | "Group" | "HealthcareService" | "Organization" | "Patient" | "Practitioner" | "PractitionerRole" | "RelatedPerson">[]; - sender?: Reference<"Device" | "HealthcareService" | "Organization" | "Patient" | "Practitioner" | "PractitionerRole" | "RelatedPerson">; - sent?: string; - _sent?: Element; - status: ("preparation" | "in-progress" | "not-done" | "on-hold" | "stopped" | "completed" | "entered-in-error" | "unknown"); - _status?: Element; - statusReason?: CodeableConcept; - subject?: Reference<"Group" | "Patient">; - topic?: CodeableConcept; -} -export const isCommunication = (resource: unknown): resource is Communication => { - return resource !== null && typeof resource === "object" && (resource as {resourceType: string}).resourceType === "Communication"; -} 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 deleted file mode 100644 index 701458ef1..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/CommunicationRequest.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 { Annotation } from "../hl7-fhir-r4-examples/Annotation"; -import type { Attachment } from "../hl7-fhir-r4-examples/Attachment"; -import type { BackboneElement } from "../hl7-fhir-r4-examples/BackboneElement"; -import type { CodeableConcept } from "../hl7-fhir-r4-examples/CodeableConcept"; -import type { DomainResource } from "../hl7-fhir-r4-examples/DomainResource"; -import type { Identifier } from "../hl7-fhir-r4-examples/Identifier"; -import type { Period } from "../hl7-fhir-r4-examples/Period"; -import type { Reference } from "../hl7-fhir-r4-examples/Reference"; - -import type { Element } from "../hl7-fhir-r4-examples/Element"; -export type { Annotation } from "../hl7-fhir-r4-examples/Annotation"; -export type { Attachment } from "../hl7-fhir-r4-examples/Attachment"; -export type { BackboneElement } from "../hl7-fhir-r4-examples/BackboneElement"; -export type { CodeableConcept } from "../hl7-fhir-r4-examples/CodeableConcept"; -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"; - -export interface CommunicationRequestPayload extends BackboneElement { - contentAttachment?: Attachment; - contentReference?: Reference<"Resource">; - contentString?: string; -} - -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/CommunicationRequest (pkg: hl7.fhir.r4.examples#4.0.1) -export interface CommunicationRequest extends DomainResource { - resourceType: "CommunicationRequest"; - - about?: Reference<"Resource">[]; - authoredOn?: string; - _authoredOn?: Element; - basedOn?: Reference<"Resource">[]; - category?: CodeableConcept[]; - doNotPerform?: boolean; - _doNotPerform?: Element; - encounter?: Reference<"Encounter">; - groupIdentifier?: Identifier; - identifier?: Identifier[]; - medium?: CodeableConcept[]; - note?: Annotation[]; - occurrenceDateTime?: string; - _occurrenceDateTime?: Element; - occurrencePeriod?: Period; - payload?: CommunicationRequestPayload[]; - priority?: ("routine" | "urgent" | "asap" | "stat"); - _priority?: Element; - reasonCode?: CodeableConcept[]; - reasonReference?: Reference<"Condition" | "DiagnosticReport" | "DocumentReference" | "Observation">[]; - recipient?: Reference<"CareTeam" | "Device" | "Group" | "HealthcareService" | "Organization" | "Patient" | "Practitioner" | "PractitionerRole" | "RelatedPerson">[]; - replaces?: Reference<"CommunicationRequest">[]; - requester?: Reference<"Device" | "Organization" | "Patient" | "Practitioner" | "PractitionerRole" | "RelatedPerson">; - sender?: Reference<"Device" | "HealthcareService" | "Organization" | "Patient" | "Practitioner" | "PractitionerRole" | "RelatedPerson">; - status: ("draft" | "active" | "on-hold" | "revoked" | "completed" | "entered-in-error" | "unknown"); - _status?: Element; - statusReason?: CodeableConcept; - subject?: Reference<"Group" | "Patient">; -} -export const isCommunicationRequest = (resource: unknown): resource is CommunicationRequest => { - return resource !== null && typeof resource === "object" && (resource as {resourceType: string}).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 deleted file mode 100644 index 6e47a9d69..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/CompartmentDefinition.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 { BackboneElement } from "../hl7-fhir-r4-examples/BackboneElement"; -import type { ContactDetail } from "../hl7-fhir-r4-examples/ContactDetail"; -import type { DomainResource } from "../hl7-fhir-r4-examples/DomainResource"; -import type { UsageContext } from "../hl7-fhir-r4-examples/UsageContext"; - -import type { Element } from "../hl7-fhir-r4-examples/Element"; -export type { BackboneElement } from "../hl7-fhir-r4-examples/BackboneElement"; -export type { ContactDetail } from "../hl7-fhir-r4-examples/ContactDetail"; -export type { UsageContext } from "../hl7-fhir-r4-examples/UsageContext"; - -export interface CompartmentDefinitionResource extends BackboneElement { - code: string; - documentation?: string; - param?: string[]; -} - -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/CompartmentDefinition (pkg: hl7.fhir.r4.examples#4.0.1) -export interface CompartmentDefinition extends DomainResource { - resourceType: "CompartmentDefinition"; - - code: ("Patient" | "Encounter" | "RelatedPerson" | "Practitioner" | "Device"); - _code?: Element; - contact?: ContactDetail[]; - date?: string; - _date?: Element; - description?: string; - _description?: Element; - experimental?: boolean; - _experimental?: Element; - name: string; - _name?: Element; - publisher?: string; - _publisher?: Element; - purpose?: string; - _purpose?: Element; - resource?: CompartmentDefinitionResource[]; - search: boolean; - _search?: Element; - status: ("draft" | "active" | "retired" | "unknown"); - _status?: Element; - url: string; - _url?: Element; - useContext?: UsageContext[]; - version?: string; - _version?: Element; -} -export const isCompartmentDefinition = (resource: unknown): resource is CompartmentDefinition => { - return resource !== null && typeof resource === "object" && (resource as {resourceType: string}).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 deleted file mode 100644 index 1fcac7e75..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/Composition.ts +++ /dev/null @@ -1,78 +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 { BackboneElement } from "../hl7-fhir-r4-examples/BackboneElement"; -import type { CodeableConcept } from "../hl7-fhir-r4-examples/CodeableConcept"; -import type { DomainResource } from "../hl7-fhir-r4-examples/DomainResource"; -import type { Identifier } from "../hl7-fhir-r4-examples/Identifier"; -import type { Narrative } from "../hl7-fhir-r4-examples/Narrative"; -import type { Period } from "../hl7-fhir-r4-examples/Period"; -import type { Reference } from "../hl7-fhir-r4-examples/Reference"; - -import type { Element } from "../hl7-fhir-r4-examples/Element"; -export type { BackboneElement } from "../hl7-fhir-r4-examples/BackboneElement"; -export type { CodeableConcept } from "../hl7-fhir-r4-examples/CodeableConcept"; -export type { Identifier } from "../hl7-fhir-r4-examples/Identifier"; -export type { Narrative } from "../hl7-fhir-r4-examples/Narrative"; -export type { Period } from "../hl7-fhir-r4-examples/Period"; -export type { Reference } from "../hl7-fhir-r4-examples/Reference"; - -export interface CompositionAttester extends BackboneElement { - mode: ("personal" | "professional" | "legal" | "official"); - party?: Reference<"Organization" | "Patient" | "Practitioner" | "PractitionerRole" | "RelatedPerson">; - time?: string; -} - -export interface CompositionEvent extends BackboneElement { - code?: CodeableConcept[]; - detail?: Reference<"Resource">[]; - period?: Period; -} - -export interface CompositionRelatesTo extends BackboneElement { - code: ("replaces" | "transforms" | "signs" | "appends"); - targetIdentifier?: Identifier; - targetReference?: Reference<"Composition">; -} - -export interface CompositionSection extends BackboneElement { - author?: Reference<"Device" | "Organization" | "Patient" | "Practitioner" | "PractitionerRole" | "RelatedPerson">[]; - code?: CodeableConcept; - emptyReason?: CodeableConcept<("nilknown" | "notasked" | "withheld" | "unavailable" | "notstarted" | "closed" | string)>; - entry?: Reference<"Resource">[]; - focus?: Reference<"Resource">; - mode?: ("working" | "snapshot" | "changes"); - 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 (pkg: hl7.fhir.r4.examples#4.0.1) -export interface Composition extends DomainResource { - resourceType: "Composition"; - - attester?: CompositionAttester[]; - author: Reference<"Device" | "Organization" | "Patient" | "Practitioner" | "PractitionerRole" | "RelatedPerson">[]; - category?: CodeableConcept[]; - confidentiality?: ("U" | "L" | "M" | "N" | "R" | "V"); - _confidentiality?: Element; - custodian?: Reference<"Organization">; - date: string; - _date?: Element; - encounter?: Reference<"Encounter">; - event?: CompositionEvent[]; - identifier?: Identifier; - relatesTo?: CompositionRelatesTo[]; - section?: CompositionSection[]; - status: ("preliminary" | "final" | "amended" | "entered-in-error"); - _status?: Element; - subject?: Reference<"Resource">; - title: string; - _title?: Element; - type: CodeableConcept; -} -export const isComposition = (resource: unknown): resource is Composition => { - return resource !== null && typeof resource === "object" && (resource as {resourceType: string}).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 deleted file mode 100644 index 142aaa7dd..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/ConceptMap.ts +++ /dev/null @@ -1,99 +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 { BackboneElement } from "../hl7-fhir-r4-examples/BackboneElement"; -import type { CodeableConcept } from "../hl7-fhir-r4-examples/CodeableConcept"; -import type { ContactDetail } from "../hl7-fhir-r4-examples/ContactDetail"; -import type { DomainResource } from "../hl7-fhir-r4-examples/DomainResource"; -import type { Identifier } from "../hl7-fhir-r4-examples/Identifier"; -import type { UsageContext } from "../hl7-fhir-r4-examples/UsageContext"; - -import type { Element } from "../hl7-fhir-r4-examples/Element"; -export type { BackboneElement } from "../hl7-fhir-r4-examples/BackboneElement"; -export type { CodeableConcept } from "../hl7-fhir-r4-examples/CodeableConcept"; -export type { ContactDetail } from "../hl7-fhir-r4-examples/ContactDetail"; -export type { Identifier } from "../hl7-fhir-r4-examples/Identifier"; -export type { UsageContext } from "../hl7-fhir-r4-examples/UsageContext"; - -export interface ConceptMapGroup extends BackboneElement { - element: ConceptMapGroupElement[]; - source?: string; - sourceVersion?: string; - target?: string; - targetVersion?: string; - unmapped?: ConceptMapGroupUnmapped; -} - -export interface ConceptMapGroupElement extends BackboneElement { - code?: string; - display?: string; - target?: ConceptMapGroupElementTarget[]; -} - -export interface ConceptMapGroupElementTarget extends BackboneElement { - code?: string; - comment?: string; - dependsOn?: ConceptMapGroupElementTargetDependsOn[]; - display?: string; - equivalence: ("relatedto" | "equivalent" | "equal" | "wider" | "subsumes" | "narrower" | "specializes" | "inexact" | "unmatched" | "disjoint"); - product?: ConceptMapGroupElementTargetDependsOn[]; -} - -export interface ConceptMapGroupElementTargetDependsOn extends BackboneElement { - display?: string; - property: string; - system?: string; - value: string; -} - -export interface ConceptMapGroupUnmapped extends BackboneElement { - code?: string; - display?: string; - mode: ("provided" | "fixed" | "other-map"); - url?: string; -} - -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/ConceptMap (pkg: hl7.fhir.r4.examples#4.0.1) -export interface ConceptMap extends DomainResource { - resourceType: "ConceptMap"; - - contact?: ContactDetail[]; - copyright?: string; - _copyright?: Element; - date?: string; - _date?: Element; - description?: string; - _description?: Element; - experimental?: boolean; - _experimental?: Element; - group?: ConceptMapGroup[]; - identifier?: Identifier; - jurisdiction?: CodeableConcept[]; - name?: string; - _name?: Element; - publisher?: string; - _publisher?: Element; - purpose?: string; - _purpose?: Element; - sourceCanonical?: string; - _sourceCanonical?: Element; - sourceUri?: string; - _sourceUri?: Element; - status: ("draft" | "active" | "retired" | "unknown"); - _status?: Element; - targetCanonical?: string; - _targetCanonical?: Element; - targetUri?: string; - _targetUri?: Element; - title?: string; - _title?: Element; - url?: string; - _url?: Element; - useContext?: UsageContext[]; - version?: string; - _version?: Element; -} -export const isConceptMap = (resource: unknown): resource is ConceptMap => { - return resource !== null && typeof resource === "object" && (resource as {resourceType: string}).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 deleted file mode 100644 index 811633182..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/Condition.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 { Age } from "../hl7-fhir-r4-examples/Age"; -import type { Annotation } from "../hl7-fhir-r4-examples/Annotation"; -import type { BackboneElement } from "../hl7-fhir-r4-examples/BackboneElement"; -import type { CodeableConcept } from "../hl7-fhir-r4-examples/CodeableConcept"; -import type { DomainResource } from "../hl7-fhir-r4-examples/DomainResource"; -import type { Identifier } from "../hl7-fhir-r4-examples/Identifier"; -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"; - -import type { Element } from "../hl7-fhir-r4-examples/Element"; -export type { Age } from "../hl7-fhir-r4-examples/Age"; -export type { Annotation } from "../hl7-fhir-r4-examples/Annotation"; -export type { BackboneElement } from "../hl7-fhir-r4-examples/BackboneElement"; -export type { CodeableConcept } from "../hl7-fhir-r4-examples/CodeableConcept"; -export type { Identifier } from "../hl7-fhir-r4-examples/Identifier"; -export type { Period } from "../hl7-fhir-r4-examples/Period"; -export type { Range } from "../hl7-fhir-r4-examples/Range"; -export type { Reference } from "../hl7-fhir-r4-examples/Reference"; - -export interface ConditionEvidence extends BackboneElement { - code?: CodeableConcept[]; - detail?: Reference<"Resource">[]; -} - -export interface ConditionStage extends BackboneElement { - assessment?: Reference<"ClinicalImpression" | "DiagnosticReport" | "Observation">[]; - summary?: CodeableConcept; - type?: CodeableConcept; -} - -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/Condition (pkg: hl7.fhir.r4.examples#4.0.1) -export interface Condition extends DomainResource { - resourceType: "Condition"; - - abatementAge?: Age; - abatementDateTime?: string; - _abatementDateTime?: Element; - abatementPeriod?: Period; - abatementRange?: Range; - abatementString?: string; - _abatementString?: Element; - asserter?: Reference<"Patient" | "Practitioner" | "PractitionerRole" | "RelatedPerson">; - bodySite?: CodeableConcept[]; - category?: CodeableConcept<("problem-list-item" | "encounter-diagnosis" | string)>[]; - clinicalStatus?: CodeableConcept<("active" | "recurrence" | "relapse" | "inactive" | "remission" | "resolved")>; - code?: CodeableConcept; - encounter?: Reference<"Encounter">; - evidence?: ConditionEvidence[]; - identifier?: Identifier[]; - note?: Annotation[]; - onsetAge?: Age; - onsetDateTime?: string; - _onsetDateTime?: Element; - onsetPeriod?: Period; - onsetRange?: Range; - onsetString?: string; - _onsetString?: Element; - recordedDate?: string; - _recordedDate?: Element; - recorder?: Reference<"Patient" | "Practitioner" | "PractitionerRole" | "RelatedPerson">; - severity?: CodeableConcept<("24484000" | "6736007" | "255604002" | string)>; - stage?: ConditionStage[]; - subject: Reference<"Group" | "Patient">; - 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 deleted file mode 100644 index a19cad60c..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/Consent.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 { Attachment } from "../hl7-fhir-r4-examples/Attachment"; -import type { BackboneElement } from "../hl7-fhir-r4-examples/BackboneElement"; -import type { CodeableConcept } from "../hl7-fhir-r4-examples/CodeableConcept"; -import type { Coding } from "../hl7-fhir-r4-examples/Coding"; -import type { DomainResource } from "../hl7-fhir-r4-examples/DomainResource"; -import type { Identifier } from "../hl7-fhir-r4-examples/Identifier"; -import type { Period } from "../hl7-fhir-r4-examples/Period"; -import type { Reference } from "../hl7-fhir-r4-examples/Reference"; - -import type { Element } from "../hl7-fhir-r4-examples/Element"; -export type { Attachment } from "../hl7-fhir-r4-examples/Attachment"; -export type { BackboneElement } from "../hl7-fhir-r4-examples/BackboneElement"; -export type { CodeableConcept } from "../hl7-fhir-r4-examples/CodeableConcept"; -export type { Coding } from "../hl7-fhir-r4-examples/Coding"; -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"; - -export interface ConsentPolicy extends BackboneElement { - authority?: string; - uri?: string; -} - -export interface ConsentProvision extends BackboneElement { - action?: CodeableConcept[]; - actor?: ConsentProvisionActor[]; - "class"?: Coding[]; - code?: CodeableConcept[]; - data?: ConsentProvisionData[]; - dataPeriod?: Period; - period?: Period; - provision?: ConsentProvision[]; - purpose?: Coding[]; - securityLabel?: Coding[]; - type?: ("deny" | "permit"); -} - -export interface ConsentProvisionActor extends BackboneElement { - reference: Reference<"CareTeam" | "Device" | "Group" | "Organization" | "Patient" | "Practitioner" | "PractitionerRole" | "RelatedPerson">; - 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 { - meaning: ("instance" | "related" | "dependents" | "authoredby"); - reference: Reference<"Resource">; -} - -export interface ConsentVerification extends BackboneElement { - verificationDate?: string; - verified: boolean; - verifiedWith?: Reference<"Patient" | "RelatedPerson">; -} - -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/Consent (pkg: hl7.fhir.r4.examples#4.0.1) -export interface Consent extends DomainResource { - resourceType: "Consent"; - - 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[]; - organization?: Reference<"Organization">[]; - patient?: Reference<"Patient">; - performer?: Reference<"Organization" | "Patient" | "Practitioner" | "PractitionerRole" | "RelatedPerson">[]; - policy?: ConsentPolicy[]; - 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<("adr" | "research" | "patient-privacy" | "treatment" | string)>; - sourceAttachment?: Attachment; - sourceReference?: Reference<"Consent" | "Contract" | "DocumentReference" | "QuestionnaireResponse">; - status: ("draft" | "proposed" | "active" | "rejected" | "inactive" | "entered-in-error"); - _status?: Element; - verification?: ConsentVerification[]; -} -export const isConsent = (resource: unknown): resource is Consent => { - return resource !== null && typeof resource === "object" && (resource as {resourceType: string}).resourceType === "Consent"; -} 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 deleted file mode 100644 index 234712830..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/ContactDetail.ts +++ /dev/null @@ -1,16 +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-examples/ContactPoint"; -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 (pkg: hl7.fhir.r4.examples#4.0.1) -export interface ContactDetail extends Element { - name?: string; - _name?: Element; - telecom?: ContactPoint[]; -} 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 deleted file mode 100644 index 75cfc1abe..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/ContactPoint.ts +++ /dev/null @@ -1,22 +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 { Element } from "../hl7-fhir-r4-examples/Element"; -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 (pkg: hl7.fhir.r4.examples#4.0.1) -export interface ContactPoint extends Element { - period?: Period; - rank?: number; - _rank?: Element; - system?: ("phone" | "fax" | "email" | "pager" | "url" | "sms" | "other"); - _system?: Element; - use?: ("home" | "work" | "temp" | "old" | "mobile"); - _use?: Element; - value?: string; - _value?: Element; -} 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 deleted file mode 100644 index df0f87340..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/Contract.ts +++ /dev/null @@ -1,243 +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 { Annotation } from "../hl7-fhir-r4-examples/Annotation"; -import type { Attachment } from "../hl7-fhir-r4-examples/Attachment"; -import type { BackboneElement } from "../hl7-fhir-r4-examples/BackboneElement"; -import type { CodeableConcept } from "../hl7-fhir-r4-examples/CodeableConcept"; -import type { Coding } from "../hl7-fhir-r4-examples/Coding"; -import type { DomainResource } from "../hl7-fhir-r4-examples/DomainResource"; -import type { Identifier } from "../hl7-fhir-r4-examples/Identifier"; -import type { Money } from "../hl7-fhir-r4-examples/Money"; -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"; -import type { Signature } from "../hl7-fhir-r4-examples/Signature"; -import type { Timing } from "../hl7-fhir-r4-examples/Timing"; - -import type { Element } from "../hl7-fhir-r4-examples/Element"; -export type { Annotation } from "../hl7-fhir-r4-examples/Annotation"; -export type { Attachment } from "../hl7-fhir-r4-examples/Attachment"; -export type { BackboneElement } from "../hl7-fhir-r4-examples/BackboneElement"; -export type { CodeableConcept } from "../hl7-fhir-r4-examples/CodeableConcept"; -export type { Coding } from "../hl7-fhir-r4-examples/Coding"; -export type { Identifier } from "../hl7-fhir-r4-examples/Identifier"; -export type { Money } from "../hl7-fhir-r4-examples/Money"; -export type { Period } from "../hl7-fhir-r4-examples/Period"; -export type { Quantity } from "../hl7-fhir-r4-examples/Quantity"; -export type { Reference } from "../hl7-fhir-r4-examples/Reference"; -export type { Signature } from "../hl7-fhir-r4-examples/Signature"; -export type { Timing } from "../hl7-fhir-r4-examples/Timing"; - -export interface ContractContentDefinition extends BackboneElement { - copyright?: string; - publicationDate?: string; - publicationStatus: ("amended" | "appended" | "cancelled" | "disputed" | "entered-in-error" | "executable" | "executed" | "negotiable" | "offered" | "policy" | "rejected" | "renewed" | "revoked" | "resolved" | "terminated"); - publisher?: Reference<"Organization" | "Practitioner" | "PractitionerRole">; - subType?: CodeableConcept; - type: CodeableConcept; -} - -export interface ContractFriendly extends BackboneElement { - contentAttachment?: Attachment; - contentReference?: Reference<"Composition" | "DocumentReference" | "QuestionnaireResponse">; -} - -export interface ContractLegal extends BackboneElement { - contentAttachment?: Attachment; - contentReference?: Reference<"Composition" | "DocumentReference" | "QuestionnaireResponse">; -} - -export interface ContractRule extends BackboneElement { - contentAttachment?: Attachment; - contentReference?: Reference<"DocumentReference">; -} - -export interface ContractSigner extends BackboneElement { - party: Reference<"Organization" | "Patient" | "Practitioner" | "PractitionerRole" | "RelatedPerson">; - signature: Signature[]; - 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 { - action?: ContractTermAction[]; - applies?: Period; - asset?: ContractTermAsset[]; - group?: ContractTerm[]; - identifier?: Identifier; - issued?: string; - offer: ContractTermOffer; - securityLabel?: ContractTermSecurityLabel[]; - subType?: CodeableConcept; - text?: string; - topicCodeableConcept?: CodeableConcept; - topicReference?: Reference<"Resource">; - type?: CodeableConcept; -} - -export interface ContractTermAction extends BackboneElement { - context?: Reference<"Encounter" | "EpisodeOfCare">; - contextLinkId?: string[]; - doNotPerform?: boolean; - intent: CodeableConcept; - linkId?: string[]; - note?: Annotation[]; - occurrenceDateTime?: string; - occurrencePeriod?: Period; - occurrenceTiming?: Timing; - performer?: Reference<"CareTeam" | "Device" | "Location" | "Organization" | "Patient" | "Practitioner" | "PractitionerRole" | "RelatedPerson" | "Substance">; - performerLinkId?: string[]; - performerRole?: CodeableConcept; - performerType?: CodeableConcept[]; - reason?: string[]; - reasonCode?: CodeableConcept[]; - reasonLinkId?: string[]; - reasonReference?: Reference<"Condition" | "DiagnosticReport" | "DocumentReference" | "Observation" | "Questionnaire" | "QuestionnaireResponse">[]; - requester?: Reference<"Device" | "Group" | "Organization" | "Patient" | "Practitioner" | "PractitionerRole" | "RelatedPerson">[]; - requesterLinkId?: string[]; - securityLabelNumber?: number[]; - status: CodeableConcept; - subject?: ContractTermActionSubject[]; - type: CodeableConcept; -} - -export interface ContractTermActionSubject extends BackboneElement { - reference: Reference<"Device" | "Group" | "Organization" | "Patient" | "Practitioner" | "PractitionerRole" | "RelatedPerson">[]; - role?: CodeableConcept; -} - -export interface ContractTermAsset extends BackboneElement { - answer?: ContractTermOfferAnswer[]; - condition?: string; - context?: ContractTermAssetContext[]; - linkId?: string[]; - period?: Period[]; - periodType?: CodeableConcept[]; - relationship?: Coding; - scope?: CodeableConcept; - securityLabelNumber?: number[]; - subtype?: CodeableConcept[]; - text?: string; - type?: CodeableConcept[]; - typeReference?: Reference<"Resource">[]; - usePeriod?: Period[]; - valuedItem?: ContractTermAssetValuedItem[]; -} - -export interface ContractTermAssetContext extends BackboneElement { - code?: CodeableConcept[]; - reference?: Reference<"Resource">; - text?: string; -} - -export interface ContractTermAssetValuedItem extends BackboneElement { - effectiveTime?: string; - entityCodeableConcept?: CodeableConcept; - entityReference?: Reference<"Resource">; - factor?: number; - identifier?: Identifier; - linkId?: string[]; - net?: Money; - payment?: string; - paymentDate?: string; - points?: number; - quantity?: Quantity; - recipient?: Reference<"Organization" | "Patient" | "Practitioner" | "PractitionerRole" | "RelatedPerson">; - responsible?: Reference<"Organization" | "Patient" | "Practitioner" | "PractitionerRole" | "RelatedPerson">; - securityLabelNumber?: number[]; - unitPrice?: Money; -} - -export interface ContractTermOffer extends BackboneElement { - answer?: ContractTermOfferAnswer[]; - decision?: CodeableConcept; - decisionMode?: CodeableConcept[]; - identifier?: Identifier[]; - linkId?: string[]; - party?: ContractTermOfferParty[]; - securityLabelNumber?: number[]; - text?: string; - topic?: Reference<"Resource">; - type?: CodeableConcept; -} - -export interface ContractTermOfferAnswer extends BackboneElement { - valueAttachment?: Attachment; - valueBoolean?: boolean; - valueCoding?: Coding; - valueDate?: string; - valueDateTime?: string; - valueDecimal?: number; - valueInteger?: number; - valueQuantity?: Quantity; - valueReference?: Reference<"Resource">; - valueString?: string; - valueTime?: string; - valueUri?: string; -} - -export interface ContractTermOfferParty extends BackboneElement { - reference: Reference<"Device" | "Group" | "Organization" | "Patient" | "Practitioner" | "PractitionerRole" | "RelatedPerson">[]; - role: CodeableConcept; -} - -export interface ContractTermSecurityLabel extends BackboneElement { - category?: Coding[]; - classification: Coding; - control?: Coding[]; - number?: number[]; -} - -// 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 | null)[]; - applies?: Period; - author?: Reference<"Organization" | "Patient" | "Practitioner" | "PractitionerRole">; - authority?: Reference<"Organization">[]; - contentDefinition?: ContractContentDefinition; - contentDerivative?: CodeableConcept; - domain?: Reference<"Location">[]; - expirationType?: CodeableConcept; - friendly?: ContractFriendly[]; - identifier?: Identifier[]; - instantiatesCanonical?: Reference<"Contract">; - instantiatesUri?: string; - _instantiatesUri?: Element; - issued?: string; - _issued?: Element; - legal?: ContractLegal[]; - legallyBindingAttachment?: Attachment; - legallyBindingReference?: Reference<"Composition" | "Contract" | "DocumentReference" | "QuestionnaireResponse">; - 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">[]; - rule?: ContractRule[]; - scope?: CodeableConcept; - signer?: ContractSigner[]; - site?: Reference<"Location">[]; - status?: ("amended" | "appended" | "cancelled" | "disputed" | "entered-in-error" | "executable" | "executed" | "negotiable" | "offered" | "policy" | "rejected" | "renewed" | "revoked" | "resolved" | "terminated"); - _status?: Element; - subject?: Reference<"Resource">[]; - subtitle?: string; - _subtitle?: Element; - subType?: CodeableConcept[]; - supportingInfo?: Reference<"Resource">[]; - term?: ContractTerm[]; - title?: string; - _title?: Element; - topicCodeableConcept?: CodeableConcept; - topicReference?: Reference<"Resource">; - type?: CodeableConcept; - url?: string; - _url?: Element; - version?: string; - _version?: Element; -} -export const isContract = (resource: unknown): resource is Contract => { - return resource !== null && typeof resource === "object" && (resource as {resourceType: string}).resourceType === "Contract"; -} 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 deleted file mode 100644 index f5fa9c220..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/Contributor.ts +++ /dev/null @@ -1,18 +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 { ContactDetail } from "../hl7-fhir-r4-examples/ContactDetail"; -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 (pkg: hl7.fhir.r4.examples#4.0.1) -export interface Contributor extends Element { - contact?: ContactDetail[]; - name: string; - _name?: Element; - type: ("author" | "editor" | "reviewer" | "endorser"); - _type?: Element; -} 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 deleted file mode 100644 index c793a7703..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/Count.ts +++ /dev/null @@ -1,11 +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 { Quantity } from "../hl7-fhir-r4-examples/Quantity"; - -export type { Quantity } from "../hl7-fhir-r4-examples/Quantity"; - -// 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 deleted file mode 100644 index 4af59ccef..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/Coverage.ts +++ /dev/null @@ -1,71 +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 { BackboneElement } from "../hl7-fhir-r4-examples/BackboneElement"; -import type { CodeableConcept } from "../hl7-fhir-r4-examples/CodeableConcept"; -import type { DomainResource } from "../hl7-fhir-r4-examples/DomainResource"; -import type { Identifier } from "../hl7-fhir-r4-examples/Identifier"; -import type { Money } from "../hl7-fhir-r4-examples/Money"; -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"; - -import type { Element } from "../hl7-fhir-r4-examples/Element"; -export type { BackboneElement } from "../hl7-fhir-r4-examples/BackboneElement"; -export type { CodeableConcept } from "../hl7-fhir-r4-examples/CodeableConcept"; -export type { Identifier } from "../hl7-fhir-r4-examples/Identifier"; -export type { Money } from "../hl7-fhir-r4-examples/Money"; -export type { Period } from "../hl7-fhir-r4-examples/Period"; -export type { Quantity } from "../hl7-fhir-r4-examples/Quantity"; -export type { Reference } from "../hl7-fhir-r4-examples/Reference"; - -export interface CoverageClass extends BackboneElement { - name?: string; - 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<("gpvisit" | "spvisit" | "emergency" | "inpthosp" | "televisit" | "urgentcare" | "copaypct" | "copay" | "deductible" | "maxoutofpocket" | string)>; - valueMoney?: Money; - valueQuantity?: Quantity; -} - -export interface CoverageCostToBeneficiaryException extends BackboneElement { - period?: Period; - type: CodeableConcept; -} - -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/Coverage (pkg: hl7.fhir.r4.examples#4.0.1) -export interface Coverage extends DomainResource { - resourceType: "Coverage"; - - beneficiary: Reference<"Patient">; - "class"?: CoverageClass[]; - contract?: Reference<"Contract">[]; - costToBeneficiary?: CoverageCostToBeneficiary[]; - dependent?: string; - _dependent?: Element; - identifier?: Identifier[]; - network?: string; - _network?: Element; - order?: number; - _order?: Element; - payor: Reference<"Organization" | "Patient" | "RelatedPerson">[]; - period?: Period; - policyHolder?: Reference<"Organization" | "Patient" | "RelatedPerson">; - 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?: string; - _subscriberId?: Element; - 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 deleted file mode 100644 index b1adb6fe3..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/CoverageEligibilityRequest.ts +++ /dev/null @@ -1,79 +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 { BackboneElement } from "../hl7-fhir-r4-examples/BackboneElement"; -import type { CodeableConcept } from "../hl7-fhir-r4-examples/CodeableConcept"; -import type { DomainResource } from "../hl7-fhir-r4-examples/DomainResource"; -import type { Identifier } from "../hl7-fhir-r4-examples/Identifier"; -import type { Money } from "../hl7-fhir-r4-examples/Money"; -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"; - -import type { Element } from "../hl7-fhir-r4-examples/Element"; -export type { BackboneElement } from "../hl7-fhir-r4-examples/BackboneElement"; -export type { CodeableConcept } from "../hl7-fhir-r4-examples/CodeableConcept"; -export type { Identifier } from "../hl7-fhir-r4-examples/Identifier"; -export type { Money } from "../hl7-fhir-r4-examples/Money"; -export type { Period } from "../hl7-fhir-r4-examples/Period"; -export type { Quantity } from "../hl7-fhir-r4-examples/Quantity"; -export type { Reference } from "../hl7-fhir-r4-examples/Reference"; - -export interface CoverageEligibilityRequestInsurance extends BackboneElement { - businessArrangement?: string; - coverage: Reference<"Coverage">; - focal?: boolean; -} - -export interface CoverageEligibilityRequestItem extends BackboneElement { - category?: CodeableConcept; - detail?: Reference<"Resource">[]; - diagnosis?: CoverageEligibilityRequestItemDiagnosis[]; - facility?: Reference<"Location" | "Organization">; - modifier?: CodeableConcept[]; - productOrService?: CodeableConcept; - provider?: Reference<"Practitioner" | "PractitionerRole">; - quantity?: Quantity; - supportingInfoSequence?: number[]; - unitPrice?: Money; -} - -export interface CoverageEligibilityRequestItemDiagnosis extends BackboneElement { - diagnosisCodeableConcept?: CodeableConcept; - diagnosisReference?: Reference<"Condition">; -} - -export interface CoverageEligibilityRequestSupportingInfo extends BackboneElement { - appliesToAll?: boolean; - information: Reference<"Resource">; - sequence: number; -} - -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/CoverageEligibilityRequest (pkg: hl7.fhir.r4.examples#4.0.1) -export interface CoverageEligibilityRequest extends DomainResource { - resourceType: "CoverageEligibilityRequest"; - - created: string; - _created?: Element; - enterer?: Reference<"Practitioner" | "PractitionerRole">; - facility?: Reference<"Location">; - identifier?: Identifier[]; - insurance?: CoverageEligibilityRequestInsurance[]; - insurer: Reference<"Organization">; - item?: CoverageEligibilityRequestItem[]; - patient: Reference<"Patient">; - priority?: CodeableConcept; - provider?: Reference<"Organization" | "Practitioner" | "PractitionerRole">; - purpose: ("auth-requirements" | "benefits" | "discovery" | "validation")[]; - _purpose?: (Element | null)[]; - servicedDate?: string; - _servicedDate?: Element; - servicedPeriod?: Period; - status: ("active" | "cancelled" | "draft" | "entered-in-error"); - _status?: Element; - supportingInfo?: CoverageEligibilityRequestSupportingInfo[]; -} -export const isCoverageEligibilityRequest = (resource: unknown): resource is CoverageEligibilityRequest => { - return resource !== null && typeof resource === "object" && (resource as {resourceType: string}).resourceType === "CoverageEligibilityRequest"; -} 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 deleted file mode 100644 index dcd09ef27..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/CoverageEligibilityResponse.ts +++ /dev/null @@ -1,89 +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 { BackboneElement } from "../hl7-fhir-r4-examples/BackboneElement"; -import type { CodeableConcept } from "../hl7-fhir-r4-examples/CodeableConcept"; -import type { DomainResource } from "../hl7-fhir-r4-examples/DomainResource"; -import type { Identifier } from "../hl7-fhir-r4-examples/Identifier"; -import type { Money } from "../hl7-fhir-r4-examples/Money"; -import type { Period } from "../hl7-fhir-r4-examples/Period"; -import type { Reference } from "../hl7-fhir-r4-examples/Reference"; - -import type { Element } from "../hl7-fhir-r4-examples/Element"; -export type { BackboneElement } from "../hl7-fhir-r4-examples/BackboneElement"; -export type { CodeableConcept } from "../hl7-fhir-r4-examples/CodeableConcept"; -export type { Identifier } from "../hl7-fhir-r4-examples/Identifier"; -export type { Money } from "../hl7-fhir-r4-examples/Money"; -export type { Period } from "../hl7-fhir-r4-examples/Period"; -export type { Reference } from "../hl7-fhir-r4-examples/Reference"; - -export interface CoverageEligibilityResponseError extends BackboneElement { - code: CodeableConcept; -} - -export interface CoverageEligibilityResponseInsurance extends BackboneElement { - benefitPeriod?: Period; - coverage: Reference<"Coverage">; - inforce?: boolean; - item?: CoverageEligibilityResponseInsuranceItem[]; -} - -export interface CoverageEligibilityResponseInsuranceItem extends BackboneElement { - authorizationRequired?: boolean; - authorizationSupporting?: CodeableConcept[]; - authorizationUrl?: string; - benefit?: CoverageEligibilityResponseInsuranceItemBenefit[]; - category?: CodeableConcept; - description?: string; - excluded?: boolean; - modifier?: CodeableConcept[]; - name?: string; - network?: CodeableConcept; - productOrService?: CodeableConcept; - provider?: Reference<"Practitioner" | "PractitionerRole">; - term?: CodeableConcept; - unit?: CodeableConcept; -} - -export interface CoverageEligibilityResponseInsuranceItemBenefit extends BackboneElement { - allowedMoney?: Money; - allowedString?: string; - allowedUnsignedInt?: number; - type: CodeableConcept; - usedMoney?: Money; - usedString?: string; - usedUnsignedInt?: number; -} - -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/CoverageEligibilityResponse (pkg: hl7.fhir.r4.examples#4.0.1) -export interface CoverageEligibilityResponse extends DomainResource { - resourceType: "CoverageEligibilityResponse"; - - created: string; - _created?: Element; - disposition?: string; - _disposition?: Element; - error?: CoverageEligibilityResponseError[]; - form?: CodeableConcept; - identifier?: Identifier[]; - insurance?: CoverageEligibilityResponseInsurance[]; - insurer: Reference<"Organization">; - outcome: ("queued" | "complete" | "error" | "partial"); - _outcome?: Element; - patient: Reference<"Patient">; - preAuthRef?: string; - _preAuthRef?: Element; - purpose: ("auth-requirements" | "benefits" | "discovery" | "validation")[]; - _purpose?: (Element | null)[]; - request: Reference<"CoverageEligibilityRequest">; - requestor?: Reference<"Organization" | "Practitioner" | "PractitionerRole">; - servicedDate?: string; - _servicedDate?: Element; - servicedPeriod?: Period; - status: ("active" | "cancelled" | "draft" | "entered-in-error"); - _status?: Element; -} -export const isCoverageEligibilityResponse = (resource: unknown): resource is CoverageEligibilityResponse => { - return resource !== null && typeof resource === "object" && (resource as {resourceType: string}).resourceType === "CoverageEligibilityResponse"; -} 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 deleted file mode 100644 index 273271b72..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/DataRequirement.ts +++ /dev/null @@ -1,54 +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 { Coding } from "../hl7-fhir-r4-examples/Coding"; -import type { Duration } from "../hl7-fhir-r4-examples/Duration"; -import type { Element } from "../hl7-fhir-r4-examples/Element"; -import type { Period } from "../hl7-fhir-r4-examples/Period"; -import type { Reference } from "../hl7-fhir-r4-examples/Reference"; - -export type { CodeableConcept } from "../hl7-fhir-r4-examples/CodeableConcept"; -export type { Coding } from "../hl7-fhir-r4-examples/Coding"; -export type { Duration } from "../hl7-fhir-r4-examples/Duration"; -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"; - -export interface DataRequirementCodeFilter extends Element { - code?: Coding[]; - path?: string; - searchParam?: string; - valueSet?: string; -} - -export interface DataRequirementDateFilter extends Element { - path?: string; - searchParam?: string; - valueDateTime?: string; - valueDuration?: Duration; - valuePeriod?: Period; -} - -export interface DataRequirementSort extends Element { - direction: ("ascending" | "descending"); - path: string; -} - -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/DataRequirement (pkg: hl7.fhir.r4.examples#4.0.1) -export interface DataRequirement extends Element { - codeFilter?: DataRequirementCodeFilter[]; - dateFilter?: DataRequirementDateFilter[]; - limit?: number; - _limit?: Element; - mustSupport?: string[]; - _mustSupport?: (Element | null)[]; - profile?: string[]; - _profile?: (Element | null)[]; - sort?: DataRequirementSort[]; - subjectCodeableConcept?: CodeableConcept; - subjectReference?: Reference<"Group">; - type: string; - _type?: Element; -} 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 deleted file mode 100644 index 022fe49d6..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/Definition.ts +++ /dev/null @@ -1,6 +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. - -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/Definition (pkg: hl7.fhir.r4.examples#4.0.1) -export type Definition = object; 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 deleted file mode 100644 index 1d24cf0ad..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/DetectedIssue.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 { BackboneElement } from "../hl7-fhir-r4-examples/BackboneElement"; -import type { CodeableConcept } from "../hl7-fhir-r4-examples/CodeableConcept"; -import type { DomainResource } from "../hl7-fhir-r4-examples/DomainResource"; -import type { Identifier } from "../hl7-fhir-r4-examples/Identifier"; -import type { Period } from "../hl7-fhir-r4-examples/Period"; -import type { Reference } from "../hl7-fhir-r4-examples/Reference"; - -import type { Element } from "../hl7-fhir-r4-examples/Element"; -export type { BackboneElement } from "../hl7-fhir-r4-examples/BackboneElement"; -export type { CodeableConcept } from "../hl7-fhir-r4-examples/CodeableConcept"; -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"; - -export interface DetectedIssueEvidence extends BackboneElement { - code?: CodeableConcept[]; - detail?: Reference<"Resource">[]; -} - -export interface DetectedIssueMitigation extends BackboneElement { - action: CodeableConcept; - author?: Reference<"Practitioner" | "PractitionerRole">; - date?: string; -} - -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/DetectedIssue (pkg: hl7.fhir.r4.examples#4.0.1) -export interface DetectedIssue extends DomainResource { - resourceType: "DetectedIssue"; - - author?: Reference<"Device" | "Practitioner" | "PractitionerRole">; - code?: CodeableConcept; - detail?: string; - _detail?: Element; - evidence?: DetectedIssueEvidence[]; - identifiedDateTime?: string; - _identifiedDateTime?: Element; - identifiedPeriod?: Period; - identifier?: Identifier[]; - implicated?: Reference<"Resource">[]; - mitigation?: DetectedIssueMitigation[]; - patient?: Reference<"Patient">; - reference?: string; - _reference?: Element; - severity?: ("high" | "moderate" | "low"); - _severity?: Element; - status: ("registered" | "preliminary" | "final" | "amended" | "corrected" | "cancelled" | "entered-in-error" | "unknown"); - _status?: Element; -} -export const isDetectedIssue = (resource: unknown): resource is DetectedIssue => { - return resource !== null && typeof resource === "object" && (resource as {resourceType: string}).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 deleted file mode 100644 index cb8754893..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/Device.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 { Annotation } from "../hl7-fhir-r4-examples/Annotation"; -import type { BackboneElement } from "../hl7-fhir-r4-examples/BackboneElement"; -import type { CodeableConcept } from "../hl7-fhir-r4-examples/CodeableConcept"; -import type { ContactPoint } from "../hl7-fhir-r4-examples/ContactPoint"; -import type { DomainResource } from "../hl7-fhir-r4-examples/DomainResource"; -import type { Identifier } from "../hl7-fhir-r4-examples/Identifier"; -import type { Quantity } from "../hl7-fhir-r4-examples/Quantity"; -import type { Reference } from "../hl7-fhir-r4-examples/Reference"; - -import type { Element } from "../hl7-fhir-r4-examples/Element"; -export type { Annotation } from "../hl7-fhir-r4-examples/Annotation"; -export type { BackboneElement } from "../hl7-fhir-r4-examples/BackboneElement"; -export type { CodeableConcept } from "../hl7-fhir-r4-examples/CodeableConcept"; -export type { ContactPoint } from "../hl7-fhir-r4-examples/ContactPoint"; -export type { Identifier } from "../hl7-fhir-r4-examples/Identifier"; -export type { Quantity } from "../hl7-fhir-r4-examples/Quantity"; -export type { Reference } from "../hl7-fhir-r4-examples/Reference"; - -export interface DeviceDeviceName extends BackboneElement { - name: string; - type: ("udi-label-name" | "user-friendly-name" | "patient-reported-name" | "manufacturer-name" | "model-name" | "other"); -} - -export interface DeviceProperty extends BackboneElement { - type: CodeableConcept; - valueCode?: CodeableConcept[]; - valueQuantity?: Quantity[]; -} - -export interface DeviceSpecialization extends BackboneElement { - systemType: CodeableConcept; - version?: string; -} - -export interface DeviceUdiCarrier extends BackboneElement { - carrierAIDC?: string; - carrierHRF?: string; - deviceIdentifier?: string; - entryType?: ("barcode" | "rfid" | "manual" | "card" | "self-reported" | "unknown"); - issuer?: string; - jurisdiction?: string; -} - -export interface DeviceVersion extends BackboneElement { - component?: Identifier; - type?: CodeableConcept; - value: string; -} - -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/Device (pkg: hl7.fhir.r4.examples#4.0.1) -export interface Device extends DomainResource { - resourceType: "Device"; - - contact?: ContactPoint[]; - definition?: Reference<"DeviceDefinition">; - deviceName?: DeviceDeviceName[]; - distinctIdentifier?: string; - _distinctIdentifier?: Element; - expirationDate?: string; - _expirationDate?: Element; - identifier?: Identifier[]; - location?: Reference<"Location">; - lotNumber?: string; - _lotNumber?: Element; - manufactureDate?: string; - _manufactureDate?: Element; - manufacturer?: string; - _manufacturer?: Element; - modelNumber?: string; - _modelNumber?: Element; - note?: Annotation[]; - owner?: Reference<"Organization">; - parent?: Reference<"Device">; - partNumber?: string; - _partNumber?: Element; - patient?: Reference<"Patient">; - property?: DeviceProperty[]; - safety?: CodeableConcept[]; - serialNumber?: string; - _serialNumber?: Element; - specialization?: DeviceSpecialization[]; - status?: ("active" | "inactive" | "entered-in-error" | "unknown"); - _status?: Element; - statusReason?: CodeableConcept<("online" | "paused" | "standby" | "offline" | "not-ready" | "transduc-discon" | "hw-discon" | "off" | string)>[]; - type?: CodeableConcept; - udiCarrier?: DeviceUdiCarrier[]; - url?: string; - _url?: Element; - version?: DeviceVersion[]; -} -export const isDevice = (resource: unknown): resource is Device => { - return resource !== null && typeof resource === "object" && (resource as {resourceType: string}).resourceType === "Device"; -} 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 deleted file mode 100644 index 08e5c62d5..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/DeviceDefinition.ts +++ /dev/null @@ -1,95 +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 { Annotation } from "../hl7-fhir-r4-examples/Annotation"; -import type { BackboneElement } from "../hl7-fhir-r4-examples/BackboneElement"; -import type { CodeableConcept } from "../hl7-fhir-r4-examples/CodeableConcept"; -import type { ContactPoint } from "../hl7-fhir-r4-examples/ContactPoint"; -import type { DomainResource } from "../hl7-fhir-r4-examples/DomainResource"; -import type { Identifier } from "../hl7-fhir-r4-examples/Identifier"; -import type { ProdCharacteristic } from "../hl7-fhir-r4-examples/ProdCharacteristic"; -import type { ProductShelfLife } from "../hl7-fhir-r4-examples/ProductShelfLife"; -import type { Quantity } from "../hl7-fhir-r4-examples/Quantity"; -import type { Reference } from "../hl7-fhir-r4-examples/Reference"; - -import type { Element } from "../hl7-fhir-r4-examples/Element"; -export type { Annotation } from "../hl7-fhir-r4-examples/Annotation"; -export type { BackboneElement } from "../hl7-fhir-r4-examples/BackboneElement"; -export type { CodeableConcept } from "../hl7-fhir-r4-examples/CodeableConcept"; -export type { ContactPoint } from "../hl7-fhir-r4-examples/ContactPoint"; -export type { Identifier } from "../hl7-fhir-r4-examples/Identifier"; -export type { ProdCharacteristic } from "../hl7-fhir-r4-examples/ProdCharacteristic"; -export type { ProductShelfLife } from "../hl7-fhir-r4-examples/ProductShelfLife"; -export type { Quantity } from "../hl7-fhir-r4-examples/Quantity"; -export type { Reference } from "../hl7-fhir-r4-examples/Reference"; - -export interface DeviceDefinitionCapability extends BackboneElement { - description?: CodeableConcept[]; - type: CodeableConcept; -} - -export interface DeviceDefinitionDeviceName extends BackboneElement { - name: string; - type: ("udi-label-name" | "user-friendly-name" | "patient-reported-name" | "manufacturer-name" | "model-name" | "other"); -} - -export interface DeviceDefinitionMaterial extends BackboneElement { - allergenicIndicator?: boolean; - alternate?: boolean; - substance: CodeableConcept; -} - -export interface DeviceDefinitionProperty extends BackboneElement { - type: CodeableConcept; - valueCode?: CodeableConcept[]; - valueQuantity?: Quantity[]; -} - -export interface DeviceDefinitionSpecialization extends BackboneElement { - systemType: string; - version?: string; -} - -export interface DeviceDefinitionUdiDeviceIdentifier extends BackboneElement { - deviceIdentifier: string; - issuer: string; - jurisdiction: string; -} - -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/DeviceDefinition (pkg: hl7.fhir.r4.examples#4.0.1) -export interface DeviceDefinition extends DomainResource { - resourceType: "DeviceDefinition"; - - capability?: DeviceDefinitionCapability[]; - contact?: ContactPoint[]; - deviceName?: DeviceDefinitionDeviceName[]; - identifier?: Identifier[]; - languageCode?: CodeableConcept[]; - manufacturerReference?: Reference<"Organization">; - manufacturerString?: string; - _manufacturerString?: Element; - material?: DeviceDefinitionMaterial[]; - modelNumber?: string; - _modelNumber?: Element; - note?: Annotation[]; - onlineInformation?: string; - _onlineInformation?: Element; - owner?: Reference<"Organization">; - parentDevice?: Reference<"DeviceDefinition">; - physicalCharacteristics?: ProdCharacteristic; - property?: DeviceDefinitionProperty[]; - quantity?: Quantity; - safety?: CodeableConcept[]; - shelfLifeStorage?: ProductShelfLife[]; - specialization?: DeviceDefinitionSpecialization[]; - type?: CodeableConcept; - udiDeviceIdentifier?: DeviceDefinitionUdiDeviceIdentifier[]; - url?: string; - _url?: Element; - version?: string[]; - _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 deleted file mode 100644 index 51e763906..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/DeviceMetric.ts +++ /dev/null @@ -1,45 +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 { BackboneElement } from "../hl7-fhir-r4-examples/BackboneElement"; -import type { CodeableConcept } from "../hl7-fhir-r4-examples/CodeableConcept"; -import type { DomainResource } from "../hl7-fhir-r4-examples/DomainResource"; -import type { Identifier } from "../hl7-fhir-r4-examples/Identifier"; -import type { Reference } from "../hl7-fhir-r4-examples/Reference"; -import type { Timing } from "../hl7-fhir-r4-examples/Timing"; - -import type { Element } from "../hl7-fhir-r4-examples/Element"; -export type { BackboneElement } from "../hl7-fhir-r4-examples/BackboneElement"; -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"; -export type { Timing } from "../hl7-fhir-r4-examples/Timing"; - -export interface DeviceMetricCalibration extends BackboneElement { - state?: ("not-calibrated" | "calibration-required" | "calibrated" | "unspecified"); - time?: string; - type?: ("unspecified" | "offset" | "gain" | "two-point"); -} - -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/DeviceMetric (pkg: hl7.fhir.r4.examples#4.0.1) -export interface DeviceMetric extends DomainResource { - resourceType: "DeviceMetric"; - - calibration?: DeviceMetricCalibration[]; - category: ("measurement" | "setting" | "calculation" | "unspecified"); - _category?: Element; - color?: ("black" | "red" | "green" | "yellow" | "blue" | "magenta" | "cyan" | "white"); - _color?: Element; - identifier?: Identifier[]; - measurementPeriod?: Timing; - operationalStatus?: ("on" | "off" | "standby" | "entered-in-error"); - _operationalStatus?: Element; - parent?: Reference<"Device">; - source?: Reference<"Device">; - type: CodeableConcept; - unit?: CodeableConcept; -} -export const isDeviceMetric = (resource: unknown): resource is DeviceMetric => { - return resource !== null && typeof resource === "object" && (resource as {resourceType: string}).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 deleted file mode 100644 index 1d56c46b8..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/DeviceRequest.ts +++ /dev/null @@ -1,76 +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 { Annotation } from "../hl7-fhir-r4-examples/Annotation"; -import type { BackboneElement } from "../hl7-fhir-r4-examples/BackboneElement"; -import type { CodeableConcept } from "../hl7-fhir-r4-examples/CodeableConcept"; -import type { DomainResource } from "../hl7-fhir-r4-examples/DomainResource"; -import type { Identifier } from "../hl7-fhir-r4-examples/Identifier"; -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 { Reference } from "../hl7-fhir-r4-examples/Reference"; -import type { Timing } from "../hl7-fhir-r4-examples/Timing"; - -import type { Element } from "../hl7-fhir-r4-examples/Element"; -export type { Annotation } from "../hl7-fhir-r4-examples/Annotation"; -export type { BackboneElement } from "../hl7-fhir-r4-examples/BackboneElement"; -export type { CodeableConcept } from "../hl7-fhir-r4-examples/CodeableConcept"; -export type { Identifier } from "../hl7-fhir-r4-examples/Identifier"; -export type { Period } from "../hl7-fhir-r4-examples/Period"; -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"; -export type { Timing } from "../hl7-fhir-r4-examples/Timing"; - -export interface DeviceRequestParameter extends BackboneElement { - code?: CodeableConcept; - valueBoolean?: boolean; - valueCodeableConcept?: CodeableConcept; - valueQuantity?: Quantity; - valueRange?: Range; -} - -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/DeviceRequest (pkg: hl7.fhir.r4.examples#4.0.1) -export interface DeviceRequest extends DomainResource { - resourceType: "DeviceRequest"; - - authoredOn?: string; - _authoredOn?: Element; - basedOn?: Reference<"Resource">[]; - codeCodeableConcept?: CodeableConcept; - codeReference?: Reference<"Device">; - encounter?: Reference<"Encounter">; - groupIdentifier?: Identifier; - identifier?: Identifier[]; - instantiatesCanonical?: string[]; - _instantiatesCanonical?: (Element | null)[]; - instantiatesUri?: string[]; - _instantiatesUri?: (Element | null)[]; - insurance?: Reference<"ClaimResponse" | "Coverage">[]; - intent: ("proposal" | "plan" | "directive" | "order" | "original-order" | "reflex-order" | "filler-order" | "instance-order" | "option"); - _intent?: Element; - note?: Annotation[]; - occurrenceDateTime?: string; - _occurrenceDateTime?: Element; - occurrencePeriod?: Period; - occurrenceTiming?: Timing; - parameter?: DeviceRequestParameter[]; - performer?: Reference<"CareTeam" | "Device" | "HealthcareService" | "Organization" | "Patient" | "Practitioner" | "PractitionerRole" | "RelatedPerson">; - performerType?: CodeableConcept; - priority?: ("routine" | "urgent" | "asap" | "stat"); - _priority?: Element; - priorRequest?: Reference<"Resource">[]; - reasonCode?: CodeableConcept[]; - reasonReference?: Reference<"Condition" | "DiagnosticReport" | "DocumentReference" | "Observation">[]; - relevantHistory?: Reference<"Provenance">[]; - requester?: Reference<"Device" | "Organization" | "Practitioner" | "PractitionerRole">; - status?: ("draft" | "active" | "on-hold" | "revoked" | "completed" | "entered-in-error" | "unknown"); - _status?: Element; - subject: Reference<"Device" | "Group" | "Location" | "Patient">; - supportingInfo?: Reference<"Resource">[]; -} -export const isDeviceRequest = (resource: unknown): resource is DeviceRequest => { - return resource !== null && typeof resource === "object" && (resource as {resourceType: string}).resourceType === "DeviceRequest"; -} 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 deleted file mode 100644 index e89ff1a8d..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/DeviceUseStatement.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 { Annotation } from "../hl7-fhir-r4-examples/Annotation"; -import type { CodeableConcept } from "../hl7-fhir-r4-examples/CodeableConcept"; -import type { DomainResource } from "../hl7-fhir-r4-examples/DomainResource"; -import type { Identifier } from "../hl7-fhir-r4-examples/Identifier"; -import type { Period } from "../hl7-fhir-r4-examples/Period"; -import type { Reference } from "../hl7-fhir-r4-examples/Reference"; -import type { Timing } from "../hl7-fhir-r4-examples/Timing"; - -import type { Element } from "../hl7-fhir-r4-examples/Element"; -export type { Annotation } from "../hl7-fhir-r4-examples/Annotation"; -export type { CodeableConcept } from "../hl7-fhir-r4-examples/CodeableConcept"; -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"; -export type { Timing } from "../hl7-fhir-r4-examples/Timing"; - -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/DeviceUseStatement (pkg: hl7.fhir.r4.examples#4.0.1) -export interface DeviceUseStatement extends DomainResource { - resourceType: "DeviceUseStatement"; - - basedOn?: Reference<"ServiceRequest">[]; - bodySite?: CodeableConcept; - derivedFrom?: Reference<"Claim" | "DocumentReference" | "Observation" | "Procedure" | "QuestionnaireResponse" | "ServiceRequest">[]; - device: Reference<"Device">; - identifier?: Identifier[]; - note?: Annotation[]; - reasonCode?: CodeableConcept[]; - reasonReference?: Reference<"Condition" | "DiagnosticReport" | "DocumentReference" | "Media" | "Observation">[]; - recordedOn?: string; - _recordedOn?: Element; - source?: Reference<"Patient" | "Practitioner" | "PractitionerRole" | "RelatedPerson">; - status: ("active" | "completed" | "entered-in-error" | "intended" | "stopped" | "on-hold"); - _status?: Element; - subject: Reference<"Group" | "Patient">; - timingDateTime?: string; - _timingDateTime?: Element; - timingPeriod?: Period; - timingTiming?: Timing; -} -export const isDeviceUseStatement = (resource: unknown): resource is DeviceUseStatement => { - return resource !== null && typeof resource === "object" && (resource as {resourceType: string}).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 deleted file mode 100644 index 67dc2ea6b..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/DiagnosticReport.ts +++ /dev/null @@ -1,56 +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-r4-examples/Attachment"; -import type { BackboneElement } from "../hl7-fhir-r4-examples/BackboneElement"; -import type { CodeableConcept } from "../hl7-fhir-r4-examples/CodeableConcept"; -import type { DomainResource } from "../hl7-fhir-r4-examples/DomainResource"; -import type { Identifier } from "../hl7-fhir-r4-examples/Identifier"; -import type { Period } from "../hl7-fhir-r4-examples/Period"; -import type { Reference } from "../hl7-fhir-r4-examples/Reference"; - -import type { Element } from "../hl7-fhir-r4-examples/Element"; -export type { Attachment } from "../hl7-fhir-r4-examples/Attachment"; -export type { BackboneElement } from "../hl7-fhir-r4-examples/BackboneElement"; -export type { CodeableConcept } from "../hl7-fhir-r4-examples/CodeableConcept"; -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"; - -export interface DiagnosticReportMedia extends BackboneElement { - comment?: string; - link: Reference<"Media">; -} - -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/DiagnosticReport (pkg: hl7.fhir.r4.examples#4.0.1) -export interface DiagnosticReport extends DomainResource { - resourceType: "DiagnosticReport"; - - basedOn?: Reference<"CarePlan" | "ImmunizationRecommendation" | "MedicationRequest" | "NutritionOrder" | "ServiceRequest">[]; - category?: CodeableConcept[]; - code: CodeableConcept; - conclusion?: string; - _conclusion?: Element; - conclusionCode?: CodeableConcept[]; - effectiveDateTime?: string; - _effectiveDateTime?: Element; - effectivePeriod?: Period; - encounter?: Reference<"Encounter">; - identifier?: Identifier[]; - imagingStudy?: Reference<"ImagingStudy">[]; - issued?: string; - _issued?: Element; - media?: DiagnosticReportMedia[]; - performer?: Reference<"CareTeam" | "Organization" | "Practitioner" | "PractitionerRole">[]; - presentedForm?: Attachment[]; - result?: Reference<"Observation">[]; - resultsInterpreter?: Reference<"CareTeam" | "Organization" | "Practitioner" | "PractitionerRole">[]; - specimen?: Reference<"Specimen">[]; - status: ("registered" | "partial" | "preliminary" | "final" | "amended" | "corrected" | "appended" | "cancelled" | "entered-in-error" | "unknown"); - _status?: Element; - subject?: Reference<"Device" | "Group" | "Location" | "Patient">; -} -export const isDiagnosticReport = (resource: unknown): resource is DiagnosticReport => { - return resource !== null && typeof resource === "object" && (resource as {resourceType: string}).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 deleted file mode 100644 index 7adb52441..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/Distance.ts +++ /dev/null @@ -1,11 +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 { Quantity } from "../hl7-fhir-r4-examples/Quantity"; - -export type { Quantity } from "../hl7-fhir-r4-examples/Quantity"; - -// 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 deleted file mode 100644 index ac4e93af2..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/DocumentManifest.ts +++ /dev/null @@ -1,45 +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 { BackboneElement } from "../hl7-fhir-r4-examples/BackboneElement"; -import type { CodeableConcept } from "../hl7-fhir-r4-examples/CodeableConcept"; -import type { DomainResource } from "../hl7-fhir-r4-examples/DomainResource"; -import type { Identifier } from "../hl7-fhir-r4-examples/Identifier"; -import type { Reference } from "../hl7-fhir-r4-examples/Reference"; - -import type { Element } from "../hl7-fhir-r4-examples/Element"; -export type { BackboneElement } from "../hl7-fhir-r4-examples/BackboneElement"; -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"; - -export interface DocumentManifestRelated extends BackboneElement { - identifier?: Identifier; - ref?: Reference<"Resource">; -} - -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/DocumentManifest (pkg: hl7.fhir.r4.examples#4.0.1) -export interface DocumentManifest extends DomainResource { - resourceType: "DocumentManifest"; - - author?: Reference<"Device" | "Organization" | "Patient" | "Practitioner" | "PractitionerRole" | "RelatedPerson">[]; - content: Reference<"Resource">[]; - created?: string; - _created?: Element; - description?: string; - _description?: Element; - identifier?: Identifier[]; - masterIdentifier?: Identifier; - recipient?: Reference<"Organization" | "Patient" | "Practitioner" | "PractitionerRole" | "RelatedPerson">[]; - related?: DocumentManifestRelated[]; - source?: string; - _source?: Element; - status: ("current" | "superseded" | "entered-in-error"); - _status?: Element; - subject?: Reference<"Device" | "Group" | "Patient" | "Practitioner">; - type?: CodeableConcept; -} -export const isDocumentManifest = (resource: unknown): resource is DocumentManifest => { - return resource !== null && typeof resource === "object" && (resource as {resourceType: string}).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 deleted file mode 100644 index 59f01b76c..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/DocumentReference.ts +++ /dev/null @@ -1,70 +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-r4-examples/Attachment"; -import type { BackboneElement } from "../hl7-fhir-r4-examples/BackboneElement"; -import type { CodeableConcept } from "../hl7-fhir-r4-examples/CodeableConcept"; -import type { Coding } from "../hl7-fhir-r4-examples/Coding"; -import type { DomainResource } from "../hl7-fhir-r4-examples/DomainResource"; -import type { Identifier } from "../hl7-fhir-r4-examples/Identifier"; -import type { Period } from "../hl7-fhir-r4-examples/Period"; -import type { Reference } from "../hl7-fhir-r4-examples/Reference"; - -import type { Element } from "../hl7-fhir-r4-examples/Element"; -export type { Attachment } from "../hl7-fhir-r4-examples/Attachment"; -export type { BackboneElement } from "../hl7-fhir-r4-examples/BackboneElement"; -export type { CodeableConcept } from "../hl7-fhir-r4-examples/CodeableConcept"; -export type { Coding } from "../hl7-fhir-r4-examples/Coding"; -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"; - -export interface DocumentReferenceContent extends BackboneElement { - attachment: Attachment; - format?: Coding; -} - -export interface DocumentReferenceContext extends BackboneElement { - encounter?: Reference<"Encounter" | "EpisodeOfCare">[]; - event?: CodeableConcept[]; - facilityType?: CodeableConcept; - period?: Period; - practiceSetting?: CodeableConcept; - related?: Reference<"Resource">[]; - sourcePatientInfo?: Reference<"Patient">; -} - -export interface DocumentReferenceRelatesTo extends BackboneElement { - code: ("replaces" | "transforms" | "signs" | "appends"); - target: Reference<"DocumentReference">; -} - -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/DocumentReference (pkg: hl7.fhir.r4.examples#4.0.1) -export interface DocumentReference extends DomainResource { - resourceType: "DocumentReference"; - - authenticator?: Reference<"Organization" | "Practitioner" | "PractitionerRole">; - author?: Reference<"Device" | "Organization" | "Patient" | "Practitioner" | "PractitionerRole" | "RelatedPerson">[]; - category?: CodeableConcept[]; - content: DocumentReferenceContent[]; - context?: DocumentReferenceContext; - custodian?: Reference<"Organization">; - date?: string; - _date?: Element; - description?: string; - _description?: Element; - docStatus?: ("preliminary" | "final" | "amended" | "entered-in-error"); - _docStatus?: Element; - identifier?: Identifier[]; - masterIdentifier?: Identifier; - relatesTo?: DocumentReferenceRelatesTo[]; - securityLabel?: CodeableConcept[]; - status: ("current" | "superseded" | "entered-in-error"); - _status?: Element; - subject?: Reference<"Device" | "Group" | "Patient" | "Practitioner">; - type?: CodeableConcept; -} -export const isDocumentReference = (resource: unknown): resource is DocumentReference => { - return resource !== null && typeof resource === "object" && (resource as {resourceType: string}).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 deleted file mode 100644 index 67d26deab..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/DomainResource.ts +++ /dev/null @@ -1,23 +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 { Narrative } from "../hl7-fhir-r4-examples/Narrative"; -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 (pkg: hl7.fhir.r4.examples#4.0.1) -export interface DomainResource extends Resource { - 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[]; - modifierExtension?: Extension[]; - text?: Narrative; -} -export const isDomainResource = (resource: unknown): resource is DomainResource => { - return resource !== null && typeof resource === "object" && (resource as {resourceType: string}).resourceType === "DomainResource"; -} 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 deleted file mode 100644 index d06e1356c..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/Dosage.ts +++ /dev/null @@ -1,50 +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 { BackboneElement } from "../hl7-fhir-r4-examples/BackboneElement"; -import type { CodeableConcept } from "../hl7-fhir-r4-examples/CodeableConcept"; -import type { Element } from "../hl7-fhir-r4-examples/Element"; -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 { Timing } from "../hl7-fhir-r4-examples/Timing"; - -export type { BackboneElement } from "../hl7-fhir-r4-examples/BackboneElement"; -export type { CodeableConcept } from "../hl7-fhir-r4-examples/CodeableConcept"; -export type { Element } from "../hl7-fhir-r4-examples/Element"; -export type { Quantity } from "../hl7-fhir-r4-examples/Quantity"; -export type { Range } from "../hl7-fhir-r4-examples/Range"; -export type { Ratio } from "../hl7-fhir-r4-examples/Ratio"; -export type { Timing } from "../hl7-fhir-r4-examples/Timing"; - -export interface DosageDoseAndRate extends Element { - doseQuantity?: Quantity; - doseRange?: Range; - rateQuantity?: Quantity; - rateRange?: Range; - rateRatio?: Ratio; - type?: CodeableConcept; -} - -// 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?: DosageDoseAndRate[]; - maxDosePerAdministration?: Quantity; - maxDosePerLifetime?: Quantity; - maxDosePerPeriod?: Ratio; - method?: CodeableConcept; - patientInstruction?: string; - _patientInstruction?: Element; - route?: CodeableConcept; - sequence?: number; - _sequence?: Element; - site?: CodeableConcept; - text?: string; - _text?: Element; - timing?: Timing; -} 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 deleted file mode 100644 index e0084833a..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/Duration.ts +++ /dev/null @@ -1,11 +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 { Quantity } from "../hl7-fhir-r4-examples/Quantity"; - -export type { Quantity } from "../hl7-fhir-r4-examples/Quantity"; - -// 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 deleted file mode 100644 index a697a337c..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/EffectEvidenceSynthesis.ts +++ /dev/null @@ -1,119 +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 { Annotation } from "../hl7-fhir-r4-examples/Annotation"; -import type { BackboneElement } from "../hl7-fhir-r4-examples/BackboneElement"; -import type { CodeableConcept } from "../hl7-fhir-r4-examples/CodeableConcept"; -import type { ContactDetail } from "../hl7-fhir-r4-examples/ContactDetail"; -import type { DomainResource } from "../hl7-fhir-r4-examples/DomainResource"; -import type { Identifier } from "../hl7-fhir-r4-examples/Identifier"; -import type { Period } from "../hl7-fhir-r4-examples/Period"; -import type { Reference } from "../hl7-fhir-r4-examples/Reference"; -import type { RelatedArtifact } from "../hl7-fhir-r4-examples/RelatedArtifact"; -import type { UsageContext } from "../hl7-fhir-r4-examples/UsageContext"; - -import type { Element } from "../hl7-fhir-r4-examples/Element"; -export type { Annotation } from "../hl7-fhir-r4-examples/Annotation"; -export type { BackboneElement } from "../hl7-fhir-r4-examples/BackboneElement"; -export type { CodeableConcept } from "../hl7-fhir-r4-examples/CodeableConcept"; -export type { ContactDetail } from "../hl7-fhir-r4-examples/ContactDetail"; -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"; -export type { RelatedArtifact } from "../hl7-fhir-r4-examples/RelatedArtifact"; -export type { UsageContext } from "../hl7-fhir-r4-examples/UsageContext"; - -export interface EffectEvidenceSynthesisCertainty extends BackboneElement { - certaintySubcomponent?: EffectEvidenceSynthesisCertaintyCertaintySubcomponent[]; - note?: Annotation[]; - rating?: CodeableConcept<("high" | "moderate" | "low" | "very-low" | string)>[]; -} - -export interface EffectEvidenceSynthesisCertaintyCertaintySubcomponent extends BackboneElement { - note?: Annotation[]; - 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<("relative-RR" | "relative-OR" | "relative-HR" | "absolute-ARD" | "absolute-MeanDiff" | "absolute-SMD" | "absolute-MedianDiff" | string)>; - unitOfMeasure?: CodeableConcept; - value?: number; - variantState?: CodeableConcept<("low-risk" | "medium-risk" | "high-risk" | string)>; -} - -export interface EffectEvidenceSynthesisEffectEstimatePrecisionEstimate extends BackboneElement { - from?: number; - level?: number; - to?: number; - type?: CodeableConcept<("CI" | "IQR" | "SD" | "SE" | string)>; -} - -export interface EffectEvidenceSynthesisResultsByExposure extends BackboneElement { - description?: string; - exposureState?: ("exposure" | "exposure-alternative"); - riskEvidenceSynthesis: Reference<"RiskEvidenceSynthesis">; - variantState?: CodeableConcept<("low-risk" | "medium-risk" | "high-risk" | string)>; -} - -export interface EffectEvidenceSynthesisSampleSize extends BackboneElement { - description?: string; - numberOfParticipants?: number; - numberOfStudies?: number; -} - -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/EffectEvidenceSynthesis (pkg: hl7.fhir.r4.examples#4.0.1) -export interface EffectEvidenceSynthesis extends DomainResource { - resourceType: "EffectEvidenceSynthesis"; - - approvalDate?: string; - _approvalDate?: Element; - author?: ContactDetail[]; - certainty?: EffectEvidenceSynthesisCertainty[]; - contact?: ContactDetail[]; - copyright?: string; - _copyright?: Element; - date?: string; - _date?: Element; - description?: string; - _description?: Element; - editor?: ContactDetail[]; - effectEstimate?: EffectEvidenceSynthesisEffectEstimate[]; - effectivePeriod?: Period; - endorser?: ContactDetail[]; - exposure: Reference<"EvidenceVariable">; - exposureAlternative: Reference<"EvidenceVariable">; - identifier?: Identifier[]; - jurisdiction?: CodeableConcept[]; - lastReviewDate?: string; - _lastReviewDate?: Element; - name?: string; - _name?: Element; - note?: Annotation[]; - outcome: Reference<"EvidenceVariable">; - population: Reference<"EvidenceVariable">; - publisher?: string; - _publisher?: Element; - relatedArtifact?: RelatedArtifact[]; - resultsByExposure?: EffectEvidenceSynthesisResultsByExposure[]; - reviewer?: ContactDetail[]; - sampleSize?: EffectEvidenceSynthesisSampleSize; - status: ("draft" | "active" | "retired" | "unknown"); - _status?: Element; - 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[]; - url?: string; - _url?: Element; - useContext?: UsageContext[]; - version?: string; - _version?: Element; -} -export const isEffectEvidenceSynthesis = (resource: unknown): resource is EffectEvidenceSynthesis => { - return resource !== null && typeof resource === "object" && (resource as {resourceType: string}).resourceType === "EffectEvidenceSynthesis"; -} 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 deleted file mode 100644 index a5881f0b4..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/Element.ts +++ /dev/null @@ -1,14 +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"; - -export type { Extension } from "../hl7-fhir-r4-examples/Extension"; - -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/Element (pkg: hl7.fhir.r4.examples#4.0.1) -export interface Element { - extension?: Extension[]; - id?: string; - _id?: Element; -} 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 deleted file mode 100644 index 392fbebba..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/ElementDefinition.ts +++ /dev/null @@ -1,469 +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 { Address } from "../hl7-fhir-r4-examples/Address"; -import type { Age } from "../hl7-fhir-r4-examples/Age"; -import type { Annotation } from "../hl7-fhir-r4-examples/Annotation"; -import type { Attachment } from "../hl7-fhir-r4-examples/Attachment"; -import type { BackboneElement } from "../hl7-fhir-r4-examples/BackboneElement"; -import type { CodeableConcept } from "../hl7-fhir-r4-examples/CodeableConcept"; -import type { Coding } from "../hl7-fhir-r4-examples/Coding"; -import type { ContactDetail } from "../hl7-fhir-r4-examples/ContactDetail"; -import type { ContactPoint } from "../hl7-fhir-r4-examples/ContactPoint"; -import type { Contributor } from "../hl7-fhir-r4-examples/Contributor"; -import type { Count } from "../hl7-fhir-r4-examples/Count"; -import type { DataRequirement } from "../hl7-fhir-r4-examples/DataRequirement"; -import type { Distance } from "../hl7-fhir-r4-examples/Distance"; -import type { Dosage } from "../hl7-fhir-r4-examples/Dosage"; -import type { Duration } from "../hl7-fhir-r4-examples/Duration"; -import type { Element } from "../hl7-fhir-r4-examples/Element"; -import type { Expression } from "../hl7-fhir-r4-examples/Expression"; -import type { HumanName } from "../hl7-fhir-r4-examples/HumanName"; -import type { Identifier } from "../hl7-fhir-r4-examples/Identifier"; -import type { Meta } from "../hl7-fhir-r4-examples/Meta"; -import type { Money } from "../hl7-fhir-r4-examples/Money"; -import type { ParameterDefinition } from "../hl7-fhir-r4-examples/ParameterDefinition"; -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 { RelatedArtifact } from "../hl7-fhir-r4-examples/RelatedArtifact"; -import type { SampledData } from "../hl7-fhir-r4-examples/SampledData"; -import type { Signature } from "../hl7-fhir-r4-examples/Signature"; -import type { Timing } from "../hl7-fhir-r4-examples/Timing"; -import type { TriggerDefinition } from "../hl7-fhir-r4-examples/TriggerDefinition"; -import type { UsageContext } from "../hl7-fhir-r4-examples/UsageContext"; - -export type { Address } from "../hl7-fhir-r4-examples/Address"; -export type { Age } from "../hl7-fhir-r4-examples/Age"; -export type { Annotation } from "../hl7-fhir-r4-examples/Annotation"; -export type { Attachment } from "../hl7-fhir-r4-examples/Attachment"; -export type { BackboneElement } from "../hl7-fhir-r4-examples/BackboneElement"; -export type { CodeableConcept } from "../hl7-fhir-r4-examples/CodeableConcept"; -export type { Coding } from "../hl7-fhir-r4-examples/Coding"; -export type { ContactDetail } from "../hl7-fhir-r4-examples/ContactDetail"; -export type { ContactPoint } from "../hl7-fhir-r4-examples/ContactPoint"; -export type { Contributor } from "../hl7-fhir-r4-examples/Contributor"; -export type { Count } from "../hl7-fhir-r4-examples/Count"; -export type { DataRequirement } from "../hl7-fhir-r4-examples/DataRequirement"; -export type { Distance } from "../hl7-fhir-r4-examples/Distance"; -export type { Dosage } from "../hl7-fhir-r4-examples/Dosage"; -export type { Duration } from "../hl7-fhir-r4-examples/Duration"; -export type { Element } from "../hl7-fhir-r4-examples/Element"; -export type { Expression } from "../hl7-fhir-r4-examples/Expression"; -export type { HumanName } from "../hl7-fhir-r4-examples/HumanName"; -export type { Identifier } from "../hl7-fhir-r4-examples/Identifier"; -export type { Meta } from "../hl7-fhir-r4-examples/Meta"; -export type { Money } from "../hl7-fhir-r4-examples/Money"; -export type { ParameterDefinition } from "../hl7-fhir-r4-examples/ParameterDefinition"; -export type { Period } from "../hl7-fhir-r4-examples/Period"; -export type { Quantity } from "../hl7-fhir-r4-examples/Quantity"; -export type { Range } from "../hl7-fhir-r4-examples/Range"; -export type { Ratio } from "../hl7-fhir-r4-examples/Ratio"; -export type { Reference } from "../hl7-fhir-r4-examples/Reference"; -export type { RelatedArtifact } from "../hl7-fhir-r4-examples/RelatedArtifact"; -export type { SampledData } from "../hl7-fhir-r4-examples/SampledData"; -export type { Signature } from "../hl7-fhir-r4-examples/Signature"; -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"; - -export interface ElementDefinitionBase extends Element { - max: string; - min: number; - path: string; -} - -export interface ElementDefinitionBinding extends Element { - description?: string; - strength: ("required" | "extensible" | "preferred" | "example"); - valueSet?: string; -} - -export interface ElementDefinitionConstraint extends Element { - expression?: string; - human: string; - key: string; - requirements?: string; - severity: ("error" | "warning"); - source?: string; - xpath?: string; -} - -export interface ElementDefinitionExample extends Element { - label: string; - valueAddress?: Address; - valueAge?: Age; - valueAnnotation?: Annotation; - valueAttachment?: Attachment; - valueBase64Binary?: string; - valueBoolean?: boolean; - valueCanonical?: string; - valueCode?: string; - valueCodeableConcept?: CodeableConcept; - valueCoding?: Coding; - valueContactDetail?: ContactDetail; - valueContactPoint?: ContactPoint; - valueContributor?: Contributor; - valueCount?: Count; - valueDataRequirement?: DataRequirement; - valueDate?: string; - valueDateTime?: string; - valueDecimal?: number; - valueDistance?: Distance; - valueDosage?: Dosage; - valueDuration?: Duration; - valueExpression?: Expression; - valueHumanName?: HumanName; - valueId?: string; - valueIdentifier?: Identifier; - valueInstant?: string; - valueInteger?: number; - valueMarkdown?: string; - valueMeta?: Meta; - valueMoney?: Money; - valueOid?: string; - valueParameterDefinition?: ParameterDefinition; - valuePeriod?: Period; - valuePositiveInt?: number; - valueQuantity?: Quantity; - valueRange?: Range; - valueRatio?: Ratio; - valueReference?: Reference; - valueRelatedArtifact?: RelatedArtifact; - valueSampledData?: SampledData; - valueSignature?: Signature; - valueString?: string; - valueTime?: string; - valueTiming?: Timing; - valueTriggerDefinition?: TriggerDefinition; - valueUnsignedInt?: number; - valueUri?: string; - valueUrl?: string; - valueUsageContext?: UsageContext; - valueUuid?: string; -} - -export interface ElementDefinitionMapping extends Element { - comment?: string; - identity: string; - language?: string; - map: string; -} - -export interface ElementDefinitionSlicing extends Element { - description?: string; - discriminator?: ElementDefinitionSlicingDiscriminator[]; - ordered?: boolean; - rules: ("closed" | "open" | "openAtEnd"); -} - -export interface ElementDefinitionSlicingDiscriminator extends Element { - path: string; - type: ("value" | "exists" | "pattern" | "type" | "profile"); -} - -export interface ElementDefinitionType extends Element { - aggregation?: ("contained" | "referenced" | "bundled")[]; - code: string; - profile?: string[]; - targetProfile?: string[]; - versioning?: ("either" | "independent" | "specific"); -} - -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/ElementDefinition (pkg: hl7.fhir.r4.examples#4.0.1) -export interface ElementDefinition extends BackboneElement { - alias?: string[]; - _alias?: (Element | null)[]; - base?: ElementDefinitionBase; - binding?: ElementDefinitionBinding; - code?: Coding[]; - comment?: string; - _comment?: Element; - condition?: string[]; - _condition?: (Element | null)[]; - constraint?: ElementDefinitionConstraint[]; - contentReference?: string; - _contentReference?: Element; - defaultValueAddress?: Address; - defaultValueAge?: Age; - defaultValueAnnotation?: Annotation; - defaultValueAttachment?: Attachment; - defaultValueBase64Binary?: string; - _defaultValueBase64Binary?: Element; - defaultValueBoolean?: boolean; - _defaultValueBoolean?: Element; - defaultValueCanonical?: string; - _defaultValueCanonical?: Element; - defaultValueCode?: string; - _defaultValueCode?: Element; - defaultValueCodeableConcept?: CodeableConcept; - defaultValueCoding?: Coding; - defaultValueContactDetail?: ContactDetail; - defaultValueContactPoint?: ContactPoint; - defaultValueContributor?: Contributor; - defaultValueCount?: Count; - defaultValueDataRequirement?: DataRequirement; - defaultValueDate?: string; - _defaultValueDate?: Element; - defaultValueDateTime?: string; - _defaultValueDateTime?: Element; - defaultValueDecimal?: number; - _defaultValueDecimal?: Element; - defaultValueDistance?: Distance; - defaultValueDosage?: Dosage; - defaultValueDuration?: Duration; - defaultValueExpression?: Expression; - defaultValueHumanName?: HumanName; - defaultValueId?: string; - _defaultValueId?: Element; - defaultValueIdentifier?: Identifier; - defaultValueInstant?: string; - _defaultValueInstant?: Element; - defaultValueInteger?: number; - _defaultValueInteger?: Element; - defaultValueMarkdown?: string; - _defaultValueMarkdown?: Element; - defaultValueMeta?: Meta; - defaultValueMoney?: Money; - defaultValueOid?: string; - _defaultValueOid?: Element; - defaultValueParameterDefinition?: ParameterDefinition; - defaultValuePeriod?: Period; - defaultValuePositiveInt?: number; - _defaultValuePositiveInt?: Element; - defaultValueQuantity?: Quantity; - defaultValueRange?: Range; - defaultValueRatio?: Ratio; - defaultValueReference?: Reference; - defaultValueRelatedArtifact?: RelatedArtifact; - defaultValueSampledData?: SampledData; - defaultValueSignature?: Signature; - defaultValueString?: string; - _defaultValueString?: Element; - defaultValueTime?: string; - _defaultValueTime?: Element; - defaultValueTiming?: Timing; - defaultValueTriggerDefinition?: TriggerDefinition; - defaultValueUnsignedInt?: number; - _defaultValueUnsignedInt?: Element; - defaultValueUri?: string; - _defaultValueUri?: Element; - defaultValueUrl?: string; - _defaultValueUrl?: Element; - defaultValueUsageContext?: UsageContext; - defaultValueUuid?: string; - _defaultValueUuid?: Element; - definition?: string; - _definition?: Element; - example?: ElementDefinitionExample[]; - fixedAddress?: Address; - fixedAge?: Age; - fixedAnnotation?: Annotation; - fixedAttachment?: Attachment; - fixedBase64Binary?: string; - _fixedBase64Binary?: Element; - fixedBoolean?: boolean; - _fixedBoolean?: Element; - fixedCanonical?: string; - _fixedCanonical?: Element; - fixedCode?: string; - _fixedCode?: Element; - fixedCodeableConcept?: CodeableConcept; - fixedCoding?: Coding; - fixedContactDetail?: ContactDetail; - fixedContactPoint?: ContactPoint; - fixedContributor?: Contributor; - fixedCount?: Count; - fixedDataRequirement?: DataRequirement; - fixedDate?: string; - _fixedDate?: Element; - fixedDateTime?: string; - _fixedDateTime?: Element; - fixedDecimal?: number; - _fixedDecimal?: Element; - fixedDistance?: Distance; - fixedDosage?: Dosage; - fixedDuration?: Duration; - fixedExpression?: Expression; - fixedHumanName?: HumanName; - fixedId?: string; - _fixedId?: Element; - fixedIdentifier?: Identifier; - fixedInstant?: string; - _fixedInstant?: Element; - fixedInteger?: number; - _fixedInteger?: Element; - fixedMarkdown?: string; - _fixedMarkdown?: Element; - fixedMeta?: Meta; - fixedMoney?: Money; - fixedOid?: string; - _fixedOid?: Element; - fixedParameterDefinition?: ParameterDefinition; - fixedPeriod?: Period; - fixedPositiveInt?: number; - _fixedPositiveInt?: Element; - fixedQuantity?: Quantity; - fixedRange?: Range; - fixedRatio?: Ratio; - fixedReference?: Reference; - fixedRelatedArtifact?: RelatedArtifact; - fixedSampledData?: SampledData; - fixedSignature?: Signature; - fixedString?: string; - _fixedString?: Element; - fixedTime?: string; - _fixedTime?: Element; - fixedTiming?: Timing; - fixedTriggerDefinition?: TriggerDefinition; - fixedUnsignedInt?: number; - _fixedUnsignedInt?: Element; - fixedUri?: string; - _fixedUri?: Element; - fixedUrl?: string; - _fixedUrl?: Element; - fixedUsageContext?: UsageContext; - fixedUuid?: string; - _fixedUuid?: Element; - isModifier?: boolean; - _isModifier?: Element; - isModifierReason?: string; - _isModifierReason?: Element; - isSummary?: boolean; - _isSummary?: Element; - label?: string; - _label?: Element; - mapping?: ElementDefinitionMapping[]; - max?: string; - _max?: Element; - maxLength?: number; - _maxLength?: Element; - maxValueDate?: string; - _maxValueDate?: Element; - maxValueDateTime?: string; - _maxValueDateTime?: Element; - maxValueDecimal?: number; - _maxValueDecimal?: Element; - maxValueInstant?: string; - _maxValueInstant?: Element; - maxValueInteger?: number; - _maxValueInteger?: Element; - maxValuePositiveInt?: number; - _maxValuePositiveInt?: Element; - maxValueQuantity?: Quantity; - maxValueTime?: string; - _maxValueTime?: Element; - maxValueUnsignedInt?: number; - _maxValueUnsignedInt?: Element; - meaningWhenMissing?: string; - _meaningWhenMissing?: Element; - min?: number; - _min?: Element; - minValueDate?: string; - _minValueDate?: Element; - minValueDateTime?: string; - _minValueDateTime?: Element; - minValueDecimal?: number; - _minValueDecimal?: Element; - minValueInstant?: string; - _minValueInstant?: Element; - minValueInteger?: number; - _minValueInteger?: Element; - minValuePositiveInt?: number; - _minValuePositiveInt?: Element; - minValueQuantity?: Quantity; - minValueTime?: string; - _minValueTime?: Element; - minValueUnsignedInt?: number; - _minValueUnsignedInt?: Element; - mustSupport?: boolean; - _mustSupport?: Element; - orderMeaning?: string; - _orderMeaning?: Element; - path: string; - _path?: Element; - patternAddress?: Address; - patternAge?: Age; - patternAnnotation?: Annotation; - patternAttachment?: Attachment; - patternBase64Binary?: string; - _patternBase64Binary?: Element; - patternBoolean?: boolean; - _patternBoolean?: Element; - patternCanonical?: string; - _patternCanonical?: Element; - patternCode?: string; - _patternCode?: Element; - patternCodeableConcept?: CodeableConcept; - patternCoding?: Coding; - patternContactDetail?: ContactDetail; - patternContactPoint?: ContactPoint; - patternContributor?: Contributor; - patternCount?: Count; - patternDataRequirement?: DataRequirement; - patternDate?: string; - _patternDate?: Element; - patternDateTime?: string; - _patternDateTime?: Element; - patternDecimal?: number; - _patternDecimal?: Element; - patternDistance?: Distance; - patternDosage?: Dosage; - patternDuration?: Duration; - patternExpression?: Expression; - patternHumanName?: HumanName; - patternId?: string; - _patternId?: Element; - patternIdentifier?: Identifier; - patternInstant?: string; - _patternInstant?: Element; - patternInteger?: number; - _patternInteger?: Element; - patternMarkdown?: string; - _patternMarkdown?: Element; - patternMeta?: Meta; - patternMoney?: Money; - patternOid?: string; - _patternOid?: Element; - patternParameterDefinition?: ParameterDefinition; - patternPeriod?: Period; - patternPositiveInt?: number; - _patternPositiveInt?: Element; - patternQuantity?: Quantity; - patternRange?: Range; - patternRatio?: Ratio; - patternReference?: Reference; - patternRelatedArtifact?: RelatedArtifact; - patternSampledData?: SampledData; - patternSignature?: Signature; - patternString?: string; - _patternString?: Element; - patternTime?: string; - _patternTime?: Element; - patternTiming?: Timing; - patternTriggerDefinition?: TriggerDefinition; - patternUnsignedInt?: number; - _patternUnsignedInt?: Element; - patternUri?: string; - _patternUri?: Element; - patternUrl?: string; - _patternUrl?: Element; - patternUsageContext?: UsageContext; - patternUuid?: string; - _patternUuid?: Element; - representation?: ("xmlAttr" | "xmlText" | "typeAttr" | "cdaText" | "xhtml")[]; - _representation?: (Element | null)[]; - requirements?: string; - _requirements?: Element; - short?: string; - _short?: Element; - sliceIsConstraining?: boolean; - _sliceIsConstraining?: Element; - sliceName?: string; - _sliceName?: 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 deleted file mode 100644 index 051d0da96..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/Encounter.ts +++ /dev/null @@ -1,95 +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 { BackboneElement } from "../hl7-fhir-r4-examples/BackboneElement"; -import type { CodeableConcept } from "../hl7-fhir-r4-examples/CodeableConcept"; -import type { Coding } from "../hl7-fhir-r4-examples/Coding"; -import type { DomainResource } from "../hl7-fhir-r4-examples/DomainResource"; -import type { Duration } from "../hl7-fhir-r4-examples/Duration"; -import type { Identifier } from "../hl7-fhir-r4-examples/Identifier"; -import type { Period } from "../hl7-fhir-r4-examples/Period"; -import type { Reference } from "../hl7-fhir-r4-examples/Reference"; - -import type { Element } from "../hl7-fhir-r4-examples/Element"; -export type { BackboneElement } from "../hl7-fhir-r4-examples/BackboneElement"; -export type { CodeableConcept } from "../hl7-fhir-r4-examples/CodeableConcept"; -export type { Coding } from "../hl7-fhir-r4-examples/Coding"; -export type { Duration } from "../hl7-fhir-r4-examples/Duration"; -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"; - -export interface EncounterClassHistory extends BackboneElement { - "class": Coding; - period: Period; -} - -export interface EncounterDiagnosis extends BackboneElement { - condition: Reference<"Condition" | "Procedure">; - rank?: number; - use?: CodeableConcept<("AD" | "DD" | "CC" | "CM" | "pre-op" | "post-op" | "billing" | string)>; -} - -export interface EncounterHospitalization extends BackboneElement { - 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<("wheel" | "add-bed" | "int" | "att" | "dog" | string)>[]; - specialCourtesy?: CodeableConcept<("EXT" | "NRM" | "PRF" | "STF" | "VIP" | "UNK" | string)>[]; -} - -export interface EncounterLocation extends BackboneElement { - location: Reference<"Location">; - period?: Period; - physicalType?: CodeableConcept; - status?: ("planned" | "active" | "reserved" | "completed"); -} - -export interface EncounterParticipant extends BackboneElement { - individual?: Reference<"Practitioner" | "PractitionerRole" | "RelatedPerson">; - period?: Period; - type?: CodeableConcept<("SPRF" | "PPRF" | "PART" | "translator" | "emergency" | string)>[]; -} - -export interface EncounterStatusHistory extends BackboneElement { - period: Period; - status: ("planned" | "arrived" | "triaged" | "in-progress" | "onleave" | "finished" | "cancelled" | "entered-in-error" | "unknown"); -} - -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/Encounter (pkg: hl7.fhir.r4.examples#4.0.1) -export interface Encounter extends DomainResource { - resourceType: "Encounter"; - - account?: Reference<"Account">[]; - appointment?: Reference<"Appointment">[]; - basedOn?: Reference<"ServiceRequest">[]; - "class": Coding; - classHistory?: EncounterClassHistory[]; - diagnosis?: EncounterDiagnosis[]; - episodeOfCare?: Reference<"EpisodeOfCare">[]; - hospitalization?: EncounterHospitalization; - identifier?: Identifier[]; - length?: Duration; - location?: EncounterLocation[]; - participant?: EncounterParticipant[]; - partOf?: Reference<"Encounter">; - period?: Period; - priority?: CodeableConcept; - reasonCode?: CodeableConcept[]; - reasonReference?: Reference<"Condition" | "ImmunizationRecommendation" | "Observation" | "Procedure">[]; - serviceProvider?: Reference<"Organization">; - serviceType?: CodeableConcept; - status: ("planned" | "arrived" | "triaged" | "in-progress" | "onleave" | "finished" | "cancelled" | "entered-in-error" | "unknown"); - _status?: Element; - statusHistory?: EncounterStatusHistory[]; - subject?: Reference<"Group" | "Patient">; - type?: CodeableConcept[]; -} -export const isEncounter = (resource: unknown): resource is Encounter => { - return resource !== null && typeof resource === "object" && (resource as {resourceType: string}).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 deleted file mode 100644 index 30a0efd3f..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/Endpoint.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 { CodeableConcept } from "../hl7-fhir-r4-examples/CodeableConcept"; -import type { Coding } from "../hl7-fhir-r4-examples/Coding"; -import type { ContactPoint } from "../hl7-fhir-r4-examples/ContactPoint"; -import type { DomainResource } from "../hl7-fhir-r4-examples/DomainResource"; -import type { Identifier } from "../hl7-fhir-r4-examples/Identifier"; -import type { Period } from "../hl7-fhir-r4-examples/Period"; -import type { Reference } from "../hl7-fhir-r4-examples/Reference"; - -import type { Element } from "../hl7-fhir-r4-examples/Element"; -export type { CodeableConcept } from "../hl7-fhir-r4-examples/CodeableConcept"; -export type { Coding } from "../hl7-fhir-r4-examples/Coding"; -export type { ContactPoint } from "../hl7-fhir-r4-examples/ContactPoint"; -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 (pkg: hl7.fhir.r4.examples#4.0.1) -export interface Endpoint extends DomainResource { - resourceType: "Endpoint"; - - address: string; - _address?: Element; - 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 | null)[]; - identifier?: Identifier[]; - managingOrganization?: Reference<"Organization">; - name?: string; - _name?: Element; - payloadMimeType?: string[]; - _payloadMimeType?: (Element | null)[]; - payloadType: CodeableConcept[]; - period?: Period; - status: ("active" | "suspended" | "error" | "off" | "entered-in-error" | "test"); - _status?: Element; -} -export const isEndpoint = (resource: unknown): resource is Endpoint => { - return resource !== null && typeof resource === "object" && (resource as {resourceType: string}).resourceType === "Endpoint"; -} 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 deleted file mode 100644 index b694b7c6d..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/EnrollmentRequest.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 { DomainResource } from "../hl7-fhir-r4-examples/DomainResource"; -import type { Identifier } from "../hl7-fhir-r4-examples/Identifier"; -import type { Reference } from "../hl7-fhir-r4-examples/Reference"; - -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 (pkg: hl7.fhir.r4.examples#4.0.1) -export interface EnrollmentRequest extends DomainResource { - resourceType: "EnrollmentRequest"; - - candidate?: Reference<"Patient">; - coverage?: Reference<"Coverage">; - created?: string; - _created?: Element; - identifier?: Identifier[]; - insurer?: Reference<"Organization">; - provider?: Reference<"Organization" | "Practitioner" | "PractitionerRole">; - status?: ("active" | "cancelled" | "draft" | "entered-in-error"); - _status?: Element; -} -export const isEnrollmentRequest = (resource: unknown): resource is EnrollmentRequest => { - return resource !== null && typeof resource === "object" && (resource as {resourceType: string}).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 deleted file mode 100644 index 5724fdaf7..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/EnrollmentResponse.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 { DomainResource } from "../hl7-fhir-r4-examples/DomainResource"; -import type { Identifier } from "../hl7-fhir-r4-examples/Identifier"; -import type { Reference } from "../hl7-fhir-r4-examples/Reference"; - -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 (pkg: hl7.fhir.r4.examples#4.0.1) -export interface EnrollmentResponse extends DomainResource { - resourceType: "EnrollmentResponse"; - - created?: string; - _created?: Element; - disposition?: string; - _disposition?: Element; - identifier?: Identifier[]; - organization?: Reference<"Organization">; - outcome?: ("queued" | "complete" | "error" | "partial"); - _outcome?: Element; - request?: Reference<"EnrollmentRequest">; - requestProvider?: Reference<"Organization" | "Practitioner" | "PractitionerRole">; - status?: ("active" | "cancelled" | "draft" | "entered-in-error"); - _status?: Element; -} -export const isEnrollmentResponse = (resource: unknown): resource is EnrollmentResponse => { - return resource !== null && typeof resource === "object" && (resource as {resourceType: string}).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 deleted file mode 100644 index 94e5d8395..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/EpisodeOfCare.ts +++ /dev/null @@ -1,50 +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 { BackboneElement } from "../hl7-fhir-r4-examples/BackboneElement"; -import type { CodeableConcept } from "../hl7-fhir-r4-examples/CodeableConcept"; -import type { DomainResource } from "../hl7-fhir-r4-examples/DomainResource"; -import type { Identifier } from "../hl7-fhir-r4-examples/Identifier"; -import type { Period } from "../hl7-fhir-r4-examples/Period"; -import type { Reference } from "../hl7-fhir-r4-examples/Reference"; - -import type { Element } from "../hl7-fhir-r4-examples/Element"; -export type { BackboneElement } from "../hl7-fhir-r4-examples/BackboneElement"; -export type { CodeableConcept } from "../hl7-fhir-r4-examples/CodeableConcept"; -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"; - -export interface EpisodeOfCareDiagnosis extends BackboneElement { - condition: Reference<"Condition">; - rank?: number; - role?: CodeableConcept<("AD" | "DD" | "CC" | "CM" | "pre-op" | "post-op" | "billing" | string)>; -} - -export interface EpisodeOfCareStatusHistory extends BackboneElement { - period: Period; - status: ("planned" | "waitlist" | "active" | "onhold" | "finished" | "cancelled" | "entered-in-error"); -} - -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/EpisodeOfCare (pkg: hl7.fhir.r4.examples#4.0.1) -export interface EpisodeOfCare extends DomainResource { - resourceType: "EpisodeOfCare"; - - account?: Reference<"Account">[]; - careManager?: Reference<"Practitioner" | "PractitionerRole">; - diagnosis?: EpisodeOfCareDiagnosis[]; - identifier?: Identifier[]; - managingOrganization?: Reference<"Organization">; - patient: Reference<"Patient">; - period?: Period; - referralRequest?: Reference<"ServiceRequest">[]; - status: ("planned" | "waitlist" | "active" | "onhold" | "finished" | "cancelled" | "entered-in-error"); - _status?: Element; - statusHistory?: EpisodeOfCareStatusHistory[]; - team?: Reference<"CareTeam">[]; - type?: CodeableConcept[]; -} -export const isEpisodeOfCare = (resource: unknown): resource is EpisodeOfCare => { - return resource !== null && typeof resource === "object" && (resource as {resourceType: string}).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 deleted file mode 100644 index e444e56fb..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/Event.ts +++ /dev/null @@ -1,6 +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. - -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/Event (pkg: hl7.fhir.r4.examples#4.0.1) -export type Event = object; 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 deleted file mode 100644 index bf59ec44c..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/EventDefinition.ts +++ /dev/null @@ -1,76 +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 { ContactDetail } from "../hl7-fhir-r4-examples/ContactDetail"; -import type { DomainResource } from "../hl7-fhir-r4-examples/DomainResource"; -import type { Identifier } from "../hl7-fhir-r4-examples/Identifier"; -import type { Period } from "../hl7-fhir-r4-examples/Period"; -import type { Reference } from "../hl7-fhir-r4-examples/Reference"; -import type { RelatedArtifact } from "../hl7-fhir-r4-examples/RelatedArtifact"; -import type { TriggerDefinition } from "../hl7-fhir-r4-examples/TriggerDefinition"; -import type { UsageContext } from "../hl7-fhir-r4-examples/UsageContext"; - -import type { Element } from "../hl7-fhir-r4-examples/Element"; -export type { CodeableConcept } from "../hl7-fhir-r4-examples/CodeableConcept"; -export type { ContactDetail } from "../hl7-fhir-r4-examples/ContactDetail"; -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"; -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 (pkg: hl7.fhir.r4.examples#4.0.1) -export interface EventDefinition extends DomainResource { - resourceType: "EventDefinition"; - - approvalDate?: string; - _approvalDate?: Element; - author?: ContactDetail[]; - contact?: ContactDetail[]; - copyright?: string; - _copyright?: Element; - date?: string; - _date?: Element; - description?: string; - _description?: Element; - editor?: ContactDetail[]; - effectivePeriod?: Period; - endorser?: ContactDetail[]; - experimental?: boolean; - _experimental?: Element; - identifier?: Identifier[]; - jurisdiction?: CodeableConcept[]; - lastReviewDate?: string; - _lastReviewDate?: Element; - name?: string; - _name?: Element; - publisher?: string; - _publisher?: Element; - purpose?: string; - _purpose?: Element; - relatedArtifact?: RelatedArtifact[]; - reviewer?: ContactDetail[]; - status: ("draft" | "active" | "retired" | "unknown"); - _status?: Element; - subjectCodeableConcept?: CodeableConcept; - subjectReference?: Reference<"Group">; - subtitle?: string; - _subtitle?: Element; - title?: string; - _title?: Element; - topic?: CodeableConcept[]; - trigger: TriggerDefinition[]; - url?: string; - _url?: Element; - usage?: string; - _usage?: Element; - useContext?: UsageContext[]; - version?: string; - _version?: Element; -} -export const isEventDefinition = (resource: unknown): resource is EventDefinition => { - return resource !== null && typeof resource === "object" && (resource as {resourceType: string}).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 deleted file mode 100644 index f3a4aff68..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/Evidence.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 { Annotation } from "../hl7-fhir-r4-examples/Annotation"; -import type { CodeableConcept } from "../hl7-fhir-r4-examples/CodeableConcept"; -import type { ContactDetail } from "../hl7-fhir-r4-examples/ContactDetail"; -import type { DomainResource } from "../hl7-fhir-r4-examples/DomainResource"; -import type { Identifier } from "../hl7-fhir-r4-examples/Identifier"; -import type { Period } from "../hl7-fhir-r4-examples/Period"; -import type { Reference } from "../hl7-fhir-r4-examples/Reference"; -import type { RelatedArtifact } from "../hl7-fhir-r4-examples/RelatedArtifact"; -import type { UsageContext } from "../hl7-fhir-r4-examples/UsageContext"; - -import type { Element } from "../hl7-fhir-r4-examples/Element"; -export type { Annotation } from "../hl7-fhir-r4-examples/Annotation"; -export type { CodeableConcept } from "../hl7-fhir-r4-examples/CodeableConcept"; -export type { ContactDetail } from "../hl7-fhir-r4-examples/ContactDetail"; -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"; -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 (pkg: hl7.fhir.r4.examples#4.0.1) -export interface Evidence extends DomainResource { - resourceType: "Evidence"; - - approvalDate?: string; - _approvalDate?: Element; - author?: ContactDetail[]; - contact?: ContactDetail[]; - copyright?: string; - _copyright?: Element; - date?: string; - _date?: Element; - description?: string; - _description?: Element; - editor?: ContactDetail[]; - effectivePeriod?: Period; - endorser?: ContactDetail[]; - exposureBackground: Reference<"EvidenceVariable">; - exposureVariant?: Reference<"EvidenceVariable">[]; - identifier?: Identifier[]; - jurisdiction?: CodeableConcept[]; - lastReviewDate?: string; - _lastReviewDate?: Element; - name?: string; - _name?: Element; - note?: Annotation[]; - outcome?: Reference<"EvidenceVariable">[]; - publisher?: string; - _publisher?: Element; - relatedArtifact?: RelatedArtifact[]; - reviewer?: ContactDetail[]; - shortTitle?: string; - _shortTitle?: Element; - status: ("draft" | "active" | "retired" | "unknown"); - _status?: Element; - subtitle?: string; - _subtitle?: Element; - title?: string; - _title?: Element; - topic?: CodeableConcept[]; - url?: string; - _url?: Element; - useContext?: UsageContext[]; - version?: string; - _version?: Element; -} -export const isEvidence = (resource: unknown): resource is Evidence => { - return resource !== null && typeof resource === "object" && (resource as {resourceType: string}).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 deleted file mode 100644 index fef432eb6..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/EvidenceVariable.ts +++ /dev/null @@ -1,103 +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 { Annotation } from "../hl7-fhir-r4-examples/Annotation"; -import type { BackboneElement } from "../hl7-fhir-r4-examples/BackboneElement"; -import type { CodeableConcept } from "../hl7-fhir-r4-examples/CodeableConcept"; -import type { ContactDetail } from "../hl7-fhir-r4-examples/ContactDetail"; -import type { DataRequirement } from "../hl7-fhir-r4-examples/DataRequirement"; -import type { DomainResource } from "../hl7-fhir-r4-examples/DomainResource"; -import type { Duration } from "../hl7-fhir-r4-examples/Duration"; -import type { Expression } from "../hl7-fhir-r4-examples/Expression"; -import type { Identifier } from "../hl7-fhir-r4-examples/Identifier"; -import type { Period } from "../hl7-fhir-r4-examples/Period"; -import type { Reference } from "../hl7-fhir-r4-examples/Reference"; -import type { RelatedArtifact } from "../hl7-fhir-r4-examples/RelatedArtifact"; -import type { Timing } from "../hl7-fhir-r4-examples/Timing"; -import type { TriggerDefinition } from "../hl7-fhir-r4-examples/TriggerDefinition"; -import type { UsageContext } from "../hl7-fhir-r4-examples/UsageContext"; - -import type { Element } from "../hl7-fhir-r4-examples/Element"; -export type { Annotation } from "../hl7-fhir-r4-examples/Annotation"; -export type { BackboneElement } from "../hl7-fhir-r4-examples/BackboneElement"; -export type { CodeableConcept } from "../hl7-fhir-r4-examples/CodeableConcept"; -export type { ContactDetail } from "../hl7-fhir-r4-examples/ContactDetail"; -export type { DataRequirement } from "../hl7-fhir-r4-examples/DataRequirement"; -export type { Duration } from "../hl7-fhir-r4-examples/Duration"; -export type { Expression } from "../hl7-fhir-r4-examples/Expression"; -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"; -export type { RelatedArtifact } from "../hl7-fhir-r4-examples/RelatedArtifact"; -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"; - -export interface EvidenceVariableCharacteristic extends BackboneElement { - definitionCanonical?: string; - definitionCodeableConcept?: CodeableConcept; - definitionDataRequirement?: DataRequirement; - definitionExpression?: Expression; - definitionReference?: Reference<"Group">; - definitionTriggerDefinition?: TriggerDefinition; - description?: string; - exclude?: boolean; - groupMeasure?: ("mean" | "median" | "mean-of-mean" | "mean-of-median" | "median-of-mean" | "median-of-median"); - participantEffectiveDateTime?: string; - participantEffectiveDuration?: Duration; - participantEffectivePeriod?: Period; - participantEffectiveTiming?: Timing; - timeFromStart?: Duration; - usageContext?: UsageContext[]; -} - -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/EvidenceVariable (pkg: hl7.fhir.r4.examples#4.0.1) -export interface EvidenceVariable extends DomainResource { - resourceType: "EvidenceVariable"; - - approvalDate?: string; - _approvalDate?: Element; - author?: ContactDetail[]; - characteristic: EvidenceVariableCharacteristic[]; - contact?: ContactDetail[]; - copyright?: string; - _copyright?: Element; - date?: string; - _date?: Element; - description?: string; - _description?: Element; - editor?: ContactDetail[]; - effectivePeriod?: Period; - endorser?: ContactDetail[]; - identifier?: Identifier[]; - jurisdiction?: CodeableConcept[]; - lastReviewDate?: string; - _lastReviewDate?: Element; - name?: string; - _name?: Element; - note?: Annotation[]; - publisher?: string; - _publisher?: Element; - relatedArtifact?: RelatedArtifact[]; - reviewer?: ContactDetail[]; - shortTitle?: string; - _shortTitle?: Element; - status: ("draft" | "active" | "retired" | "unknown"); - _status?: Element; - subtitle?: string; - _subtitle?: Element; - title?: string; - _title?: Element; - topic?: CodeableConcept[]; - type?: ("dichotomous" | "continuous" | "descriptive"); - _type?: Element; - url?: string; - _url?: Element; - useContext?: UsageContext[]; - version?: string; - _version?: Element; -} -export const isEvidenceVariable = (resource: unknown): resource is EvidenceVariable => { - return resource !== null && typeof resource === "object" && (resource as {resourceType: string}).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 deleted file mode 100644 index a5cddc4d8..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/ExampleScenario.ts +++ /dev/null @@ -1,113 +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 { BackboneElement } from "../hl7-fhir-r4-examples/BackboneElement"; -import type { CodeableConcept } from "../hl7-fhir-r4-examples/CodeableConcept"; -import type { ContactDetail } from "../hl7-fhir-r4-examples/ContactDetail"; -import type { DomainResource } from "../hl7-fhir-r4-examples/DomainResource"; -import type { Identifier } from "../hl7-fhir-r4-examples/Identifier"; -import type { UsageContext } from "../hl7-fhir-r4-examples/UsageContext"; - -import type { Element } from "../hl7-fhir-r4-examples/Element"; -export type { BackboneElement } from "../hl7-fhir-r4-examples/BackboneElement"; -export type { CodeableConcept } from "../hl7-fhir-r4-examples/CodeableConcept"; -export type { ContactDetail } from "../hl7-fhir-r4-examples/ContactDetail"; -export type { Identifier } from "../hl7-fhir-r4-examples/Identifier"; -export type { UsageContext } from "../hl7-fhir-r4-examples/UsageContext"; - -export interface ExampleScenarioActor extends BackboneElement { - actorId: string; - description?: string; - name?: string; - type: ("person" | "entity"); -} - -export interface ExampleScenarioInstance extends BackboneElement { - containedInstance?: ExampleScenarioInstanceContainedInstance[]; - description?: string; - name?: string; - resourceId: string; - resourceType: string; - version?: ExampleScenarioInstanceVersion[]; -} - -export interface ExampleScenarioInstanceContainedInstance extends BackboneElement { - resourceId: string; - versionId?: string; -} - -export interface ExampleScenarioInstanceVersion extends BackboneElement { - description: string; - versionId: string; -} - -export interface ExampleScenarioProcess extends BackboneElement { - description?: string; - postConditions?: string; - preConditions?: string; - step?: ExampleScenarioProcessStep[]; - title: string; -} - -export interface ExampleScenarioProcessStep extends BackboneElement { - alternative?: ExampleScenarioProcessStepAlternative[]; - operation?: ExampleScenarioProcessStepOperation; - pause?: boolean; - process?: ExampleScenarioProcess[]; -} - -export interface ExampleScenarioProcessStepAlternative extends BackboneElement { - description?: string; - step?: ExampleScenarioProcessStep[]; - title: string; -} - -export interface ExampleScenarioProcessStepOperation extends BackboneElement { - description?: string; - initiator?: string; - initiatorActive?: boolean; - name?: string; - number: string; - receiver?: string; - receiverActive?: boolean; - request?: ExampleScenarioInstanceContainedInstance; - response?: ExampleScenarioInstanceContainedInstance; - type?: string; -} - -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/ExampleScenario (pkg: hl7.fhir.r4.examples#4.0.1) -export interface ExampleScenario extends DomainResource { - resourceType: "ExampleScenario"; - - actor?: ExampleScenarioActor[]; - contact?: ContactDetail[]; - copyright?: string; - _copyright?: Element; - date?: string; - _date?: Element; - experimental?: boolean; - _experimental?: Element; - identifier?: Identifier[]; - instance?: ExampleScenarioInstance[]; - jurisdiction?: CodeableConcept[]; - name?: string; - _name?: Element; - process?: ExampleScenarioProcess[]; - publisher?: string; - _publisher?: Element; - purpose?: string; - _purpose?: Element; - status: ("draft" | "active" | "retired" | "unknown"); - _status?: Element; - url?: string; - _url?: Element; - useContext?: UsageContext[]; - version?: string; - _version?: Element; - workflow?: string[]; - _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 deleted file mode 100644 index 1b22128b3..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/ExplanationOfBenefit.ts +++ /dev/null @@ -1,307 +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 { Address } from "../hl7-fhir-r4-examples/Address"; -import type { Attachment } from "../hl7-fhir-r4-examples/Attachment"; -import type { BackboneElement } from "../hl7-fhir-r4-examples/BackboneElement"; -import type { CodeableConcept } from "../hl7-fhir-r4-examples/CodeableConcept"; -import type { Coding } from "../hl7-fhir-r4-examples/Coding"; -import type { DomainResource } from "../hl7-fhir-r4-examples/DomainResource"; -import type { Identifier } from "../hl7-fhir-r4-examples/Identifier"; -import type { Money } from "../hl7-fhir-r4-examples/Money"; -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"; - -import type { Element } from "../hl7-fhir-r4-examples/Element"; -export type { Address } from "../hl7-fhir-r4-examples/Address"; -export type { Attachment } from "../hl7-fhir-r4-examples/Attachment"; -export type { BackboneElement } from "../hl7-fhir-r4-examples/BackboneElement"; -export type { CodeableConcept } from "../hl7-fhir-r4-examples/CodeableConcept"; -export type { Coding } from "../hl7-fhir-r4-examples/Coding"; -export type { Identifier } from "../hl7-fhir-r4-examples/Identifier"; -export type { Money } from "../hl7-fhir-r4-examples/Money"; -export type { Period } from "../hl7-fhir-r4-examples/Period"; -export type { Quantity } from "../hl7-fhir-r4-examples/Quantity"; -export type { Reference } from "../hl7-fhir-r4-examples/Reference"; - -export interface ExplanationOfBenefitAccident extends BackboneElement { - date?: string; - locationAddress?: Address; - locationReference?: Reference<"Location">; - type?: CodeableConcept; -} - -export interface ExplanationOfBenefitAddItem extends BackboneElement { - adjudication?: ExplanationOfBenefitItemAdjudication[]; - bodySite?: CodeableConcept; - detail?: ExplanationOfBenefitAddItemDetail[]; - detailSequence?: number[]; - factor?: number; - itemSequence?: number[]; - locationAddress?: Address; - locationCodeableConcept?: CodeableConcept; - locationReference?: Reference<"Location">; - modifier?: CodeableConcept[]; - net?: Money; - noteNumber?: number[]; - productOrService: CodeableConcept; - programCode?: CodeableConcept[]; - provider?: Reference<"Organization" | "Practitioner" | "PractitionerRole">[]; - quantity?: Quantity; - servicedDate?: string; - servicedPeriod?: Period; - subDetailSequence?: number[]; - subSite?: CodeableConcept[]; - unitPrice?: Money; -} - -export interface ExplanationOfBenefitAddItemDetail extends BackboneElement { - adjudication?: ExplanationOfBenefitItemAdjudication[]; - factor?: number; - modifier?: CodeableConcept[]; - net?: Money; - noteNumber?: number[]; - productOrService: CodeableConcept; - quantity?: Quantity; - subDetail?: ExplanationOfBenefitAddItemDetailSubDetail[]; - unitPrice?: Money; -} - -export interface ExplanationOfBenefitAddItemDetailSubDetail extends BackboneElement { - adjudication?: ExplanationOfBenefitItemAdjudication[]; - factor?: number; - modifier?: CodeableConcept[]; - net?: Money; - noteNumber?: number[]; - productOrService: CodeableConcept; - quantity?: Quantity; - unitPrice?: Money; -} - -export interface ExplanationOfBenefitBenefitBalance extends BackboneElement { - category: CodeableConcept; - description?: string; - excluded?: boolean; - financial?: ExplanationOfBenefitBenefitBalanceFinancial[]; - name?: string; - network?: CodeableConcept; - term?: CodeableConcept; - unit?: CodeableConcept; -} - -export interface ExplanationOfBenefitBenefitBalanceFinancial extends BackboneElement { - allowedMoney?: Money; - allowedString?: string; - allowedUnsignedInt?: number; - type: CodeableConcept; - usedMoney?: Money; - usedUnsignedInt?: number; -} - -export interface ExplanationOfBenefitCareTeam extends BackboneElement { - provider: Reference<"Organization" | "Practitioner" | "PractitionerRole">; - qualification?: CodeableConcept; - responsible?: boolean; - role?: CodeableConcept; - sequence: number; -} - -export interface ExplanationOfBenefitDiagnosis extends BackboneElement { - diagnosisCodeableConcept?: CodeableConcept; - diagnosisReference?: Reference<"Condition">; - onAdmission?: CodeableConcept; - packageCode?: CodeableConcept; - sequence: number; - type?: CodeableConcept[]; -} - -export interface ExplanationOfBenefitInsurance extends BackboneElement { - coverage: Reference<"Coverage">; - focal: boolean; - preAuthRef?: string[]; -} - -export interface ExplanationOfBenefitItem extends BackboneElement { - adjudication?: ExplanationOfBenefitItemAdjudication[]; - bodySite?: CodeableConcept; - careTeamSequence?: number[]; - category?: CodeableConcept; - detail?: ExplanationOfBenefitItemDetail[]; - diagnosisSequence?: number[]; - encounter?: Reference<"Encounter">[]; - factor?: number; - informationSequence?: number[]; - locationAddress?: Address; - locationCodeableConcept?: CodeableConcept; - locationReference?: Reference<"Location">; - modifier?: CodeableConcept[]; - net?: Money; - noteNumber?: number[]; - procedureSequence?: number[]; - productOrService: CodeableConcept; - programCode?: CodeableConcept[]; - quantity?: Quantity; - revenue?: CodeableConcept; - sequence: number; - servicedDate?: string; - servicedPeriod?: Period; - subSite?: CodeableConcept[]; - udi?: Reference<"Device">[]; - unitPrice?: Money; -} - -export interface ExplanationOfBenefitItemAdjudication extends BackboneElement { - amount?: Money; - category: CodeableConcept; - reason?: CodeableConcept; - value?: number; -} - -export interface ExplanationOfBenefitItemDetail extends BackboneElement { - adjudication?: ExplanationOfBenefitItemAdjudication[]; - category?: CodeableConcept; - factor?: number; - modifier?: CodeableConcept[]; - net?: Money; - noteNumber?: number[]; - productOrService: CodeableConcept; - programCode?: CodeableConcept[]; - quantity?: Quantity; - revenue?: CodeableConcept; - sequence: number; - subDetail?: ExplanationOfBenefitItemDetailSubDetail[]; - udi?: Reference<"Device">[]; - unitPrice?: Money; -} - -export interface ExplanationOfBenefitItemDetailSubDetail extends BackboneElement { - adjudication?: ExplanationOfBenefitItemAdjudication[]; - category?: CodeableConcept; - factor?: number; - modifier?: CodeableConcept[]; - net?: Money; - noteNumber?: number[]; - productOrService: CodeableConcept; - programCode?: CodeableConcept[]; - quantity?: Quantity; - revenue?: CodeableConcept; - sequence: number; - udi?: Reference<"Device">[]; - unitPrice?: Money; -} - -export interface ExplanationOfBenefitPayee extends BackboneElement { - party?: Reference<"Organization" | "Patient" | "Practitioner" | "PractitionerRole" | "RelatedPerson">; - type?: CodeableConcept; -} - -export interface ExplanationOfBenefitPayment extends BackboneElement { - adjustment?: Money; - adjustmentReason?: CodeableConcept; - amount?: Money; - date?: string; - identifier?: Identifier; - type?: CodeableConcept; -} - -export interface ExplanationOfBenefitProcedure extends BackboneElement { - date?: string; - procedureCodeableConcept?: CodeableConcept; - procedureReference?: Reference<"Procedure">; - sequence: number; - type?: CodeableConcept[]; - udi?: Reference<"Device">[]; -} - -export interface ExplanationOfBenefitProcessNote extends BackboneElement { - 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"); -} - -export interface ExplanationOfBenefitRelated extends BackboneElement { - claim?: Reference<"Claim">; - reference?: Identifier; - relationship?: CodeableConcept; -} - -export interface ExplanationOfBenefitSupportingInfo extends BackboneElement { - category: CodeableConcept; - code?: CodeableConcept; - reason?: Coding; - sequence: number; - timingDate?: string; - timingPeriod?: Period; - valueAttachment?: Attachment; - valueBoolean?: boolean; - valueQuantity?: Quantity; - valueReference?: Reference<"Resource">; - valueString?: string; -} - -export interface ExplanationOfBenefitTotal extends BackboneElement { - amount: Money; - category: CodeableConcept; -} - -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/ExplanationOfBenefit (pkg: hl7.fhir.r4.examples#4.0.1) -export interface ExplanationOfBenefit extends DomainResource { - resourceType: "ExplanationOfBenefit"; - - accident?: ExplanationOfBenefitAccident; - addItem?: ExplanationOfBenefitAddItem[]; - adjudication?: ExplanationOfBenefitItemAdjudication[]; - benefitBalance?: ExplanationOfBenefitBenefitBalance[]; - benefitPeriod?: Period; - billablePeriod?: Period; - careTeam?: ExplanationOfBenefitCareTeam[]; - claim?: Reference<"Claim">; - claimResponse?: Reference<"ClaimResponse">; - created: string; - _created?: Element; - diagnosis?: ExplanationOfBenefitDiagnosis[]; - disposition?: string; - _disposition?: Element; - enterer?: Reference<"Practitioner" | "PractitionerRole">; - facility?: Reference<"Location">; - form?: Attachment; - formCode?: CodeableConcept; - fundsReserve?: CodeableConcept; - fundsReserveRequested?: CodeableConcept; - identifier?: Identifier[]; - insurance: ExplanationOfBenefitInsurance[]; - insurer: Reference<"Organization">; - item?: ExplanationOfBenefitItem[]; - originalPrescription?: Reference<"MedicationRequest">; - outcome: ("queued" | "complete" | "error" | "partial"); - _outcome?: Element; - patient: Reference<"Patient">; - payee?: ExplanationOfBenefitPayee; - payment?: ExplanationOfBenefitPayment; - preAuthRef?: string[]; - _preAuthRef?: (Element | null)[]; - preAuthRefPeriod?: Period[]; - precedence?: number; - _precedence?: Element; - prescription?: Reference<"MedicationRequest" | "VisionPrescription">; - priority?: CodeableConcept; - procedure?: ExplanationOfBenefitProcedure[]; - processNote?: ExplanationOfBenefitProcessNote[]; - provider: Reference<"Organization" | "Practitioner" | "PractitionerRole">; - referral?: Reference<"ServiceRequest">; - related?: ExplanationOfBenefitRelated[]; - status: ("active" | "cancelled" | "draft" | "entered-in-error"); - _status?: Element; - subType?: CodeableConcept; - supportingInfo?: ExplanationOfBenefitSupportingInfo[]; - total?: ExplanationOfBenefitTotal[]; - type: CodeableConcept<("institutional" | "oral" | "pharmacy" | "professional" | "vision" | string)>; - use: ("claim" | "preauthorization" | "predetermination"); - _use?: Element; -} -export const isExplanationOfBenefit = (resource: unknown): resource is ExplanationOfBenefit => { - return resource !== null && typeof resource === "object" && (resource as {resourceType: string}).resourceType === "ExplanationOfBenefit"; -} 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 deleted file mode 100644 index 494a1d3ec..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/Expression.ts +++ /dev/null @@ -1,21 +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 { Element } from "../hl7-fhir-r4-examples/Element"; - -export type { Element } from "../hl7-fhir-r4-examples/Element"; - -// 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: ("text/cql" | "text/fhirpath" | "application/x-fhir-query" | string); - _language?: Element; - name?: string; - _name?: Element; - reference?: string; - _reference?: 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 deleted file mode 100644 index 56527bef5..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/Extension.ts +++ /dev/null @@ -1,144 +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 { Address } from "../hl7-fhir-r4-examples/Address"; -import type { Age } from "../hl7-fhir-r4-examples/Age"; -import type { Annotation } from "../hl7-fhir-r4-examples/Annotation"; -import type { Attachment } from "../hl7-fhir-r4-examples/Attachment"; -import type { CodeableConcept } from "../hl7-fhir-r4-examples/CodeableConcept"; -import type { Coding } from "../hl7-fhir-r4-examples/Coding"; -import type { ContactDetail } from "../hl7-fhir-r4-examples/ContactDetail"; -import type { ContactPoint } from "../hl7-fhir-r4-examples/ContactPoint"; -import type { Contributor } from "../hl7-fhir-r4-examples/Contributor"; -import type { Count } from "../hl7-fhir-r4-examples/Count"; -import type { DataRequirement } from "../hl7-fhir-r4-examples/DataRequirement"; -import type { Distance } from "../hl7-fhir-r4-examples/Distance"; -import type { Dosage } from "../hl7-fhir-r4-examples/Dosage"; -import type { Duration } from "../hl7-fhir-r4-examples/Duration"; -import type { Element } from "../hl7-fhir-r4-examples/Element"; -import type { Expression } from "../hl7-fhir-r4-examples/Expression"; -import type { HumanName } from "../hl7-fhir-r4-examples/HumanName"; -import type { Identifier } from "../hl7-fhir-r4-examples/Identifier"; -import type { Meta } from "../hl7-fhir-r4-examples/Meta"; -import type { Money } from "../hl7-fhir-r4-examples/Money"; -import type { ParameterDefinition } from "../hl7-fhir-r4-examples/ParameterDefinition"; -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 { RelatedArtifact } from "../hl7-fhir-r4-examples/RelatedArtifact"; -import type { SampledData } from "../hl7-fhir-r4-examples/SampledData"; -import type { Signature } from "../hl7-fhir-r4-examples/Signature"; -import type { Timing } from "../hl7-fhir-r4-examples/Timing"; -import type { TriggerDefinition } from "../hl7-fhir-r4-examples/TriggerDefinition"; -import type { UsageContext } from "../hl7-fhir-r4-examples/UsageContext"; - -export type { Address } from "../hl7-fhir-r4-examples/Address"; -export type { Age } from "../hl7-fhir-r4-examples/Age"; -export type { Annotation } from "../hl7-fhir-r4-examples/Annotation"; -export type { Attachment } from "../hl7-fhir-r4-examples/Attachment"; -export type { CodeableConcept } from "../hl7-fhir-r4-examples/CodeableConcept"; -export type { Coding } from "../hl7-fhir-r4-examples/Coding"; -export type { ContactDetail } from "../hl7-fhir-r4-examples/ContactDetail"; -export type { ContactPoint } from "../hl7-fhir-r4-examples/ContactPoint"; -export type { Contributor } from "../hl7-fhir-r4-examples/Contributor"; -export type { Count } from "../hl7-fhir-r4-examples/Count"; -export type { DataRequirement } from "../hl7-fhir-r4-examples/DataRequirement"; -export type { Distance } from "../hl7-fhir-r4-examples/Distance"; -export type { Dosage } from "../hl7-fhir-r4-examples/Dosage"; -export type { Duration } from "../hl7-fhir-r4-examples/Duration"; -export type { Element } from "../hl7-fhir-r4-examples/Element"; -export type { Expression } from "../hl7-fhir-r4-examples/Expression"; -export type { HumanName } from "../hl7-fhir-r4-examples/HumanName"; -export type { Identifier } from "../hl7-fhir-r4-examples/Identifier"; -export type { Meta } from "../hl7-fhir-r4-examples/Meta"; -export type { Money } from "../hl7-fhir-r4-examples/Money"; -export type { ParameterDefinition } from "../hl7-fhir-r4-examples/ParameterDefinition"; -export type { Period } from "../hl7-fhir-r4-examples/Period"; -export type { Quantity } from "../hl7-fhir-r4-examples/Quantity"; -export type { Range } from "../hl7-fhir-r4-examples/Range"; -export type { Ratio } from "../hl7-fhir-r4-examples/Ratio"; -export type { Reference } from "../hl7-fhir-r4-examples/Reference"; -export type { RelatedArtifact } from "../hl7-fhir-r4-examples/RelatedArtifact"; -export type { SampledData } from "../hl7-fhir-r4-examples/SampledData"; -export type { Signature } from "../hl7-fhir-r4-examples/Signature"; -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 (pkg: hl7.fhir.r4.examples#4.0.1) -export interface Extension extends Element { - url: string; - _url?: Element; - valueAddress?: Address; - valueAge?: Age; - valueAnnotation?: Annotation; - valueAttachment?: Attachment; - valueBase64Binary?: string; - _valueBase64Binary?: Element; - valueBoolean?: boolean; - _valueBoolean?: Element; - valueCanonical?: string; - _valueCanonical?: Element; - valueCode?: string; - _valueCode?: Element; - valueCodeableConcept?: CodeableConcept; - valueCoding?: Coding; - valueContactDetail?: ContactDetail; - valueContactPoint?: ContactPoint; - valueContributor?: Contributor; - valueCount?: Count; - valueDataRequirement?: DataRequirement; - valueDate?: string; - _valueDate?: Element; - valueDateTime?: string; - _valueDateTime?: Element; - valueDecimal?: number; - _valueDecimal?: Element; - valueDistance?: Distance; - valueDosage?: Dosage; - valueDuration?: Duration; - valueExpression?: Expression; - valueHumanName?: HumanName; - valueId?: string; - _valueId?: Element; - valueIdentifier?: Identifier; - valueInstant?: string; - _valueInstant?: Element; - valueInteger?: number; - _valueInteger?: Element; - valueMarkdown?: string; - _valueMarkdown?: Element; - valueMeta?: Meta; - valueMoney?: Money; - valueOid?: string; - _valueOid?: Element; - valueParameterDefinition?: ParameterDefinition; - valuePeriod?: Period; - valuePositiveInt?: number; - _valuePositiveInt?: Element; - valueQuantity?: Quantity; - valueRange?: Range; - valueRatio?: Ratio; - valueReference?: Reference; - valueRelatedArtifact?: RelatedArtifact; - valueSampledData?: SampledData; - valueSignature?: Signature; - valueString?: string; - _valueString?: Element; - valueTime?: string; - _valueTime?: Element; - valueTiming?: Timing; - valueTriggerDefinition?: TriggerDefinition; - valueUnsignedInt?: number; - _valueUnsignedInt?: Element; - valueUri?: string; - _valueUri?: Element; - valueUrl?: string; - _valueUrl?: Element; - valueUsageContext?: UsageContext; - valueUuid?: string; - _valueUuid?: 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 deleted file mode 100644 index cb0da22ec..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/FamilyMemberHistory.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 { Age } from "../hl7-fhir-r4-examples/Age"; -import type { Annotation } from "../hl7-fhir-r4-examples/Annotation"; -import type { BackboneElement } from "../hl7-fhir-r4-examples/BackboneElement"; -import type { CodeableConcept } from "../hl7-fhir-r4-examples/CodeableConcept"; -import type { DomainResource } from "../hl7-fhir-r4-examples/DomainResource"; -import type { Identifier } from "../hl7-fhir-r4-examples/Identifier"; -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"; - -import type { Element } from "../hl7-fhir-r4-examples/Element"; -export type { Age } from "../hl7-fhir-r4-examples/Age"; -export type { Annotation } from "../hl7-fhir-r4-examples/Annotation"; -export type { BackboneElement } from "../hl7-fhir-r4-examples/BackboneElement"; -export type { CodeableConcept } from "../hl7-fhir-r4-examples/CodeableConcept"; -export type { Identifier } from "../hl7-fhir-r4-examples/Identifier"; -export type { Period } from "../hl7-fhir-r4-examples/Period"; -export type { Range } from "../hl7-fhir-r4-examples/Range"; -export type { Reference } from "../hl7-fhir-r4-examples/Reference"; - -export interface FamilyMemberHistoryCondition extends BackboneElement { - code: CodeableConcept; - contributedToDeath?: boolean; - note?: Annotation[]; - onsetAge?: Age; - onsetPeriod?: Period; - onsetRange?: Range; - onsetString?: string; - outcome?: CodeableConcept; -} - -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/FamilyMemberHistory (pkg: hl7.fhir.r4.examples#4.0.1) -export interface FamilyMemberHistory extends DomainResource { - resourceType: "FamilyMemberHistory"; - - ageAge?: Age; - ageRange?: Range; - ageString?: string; - _ageString?: Element; - bornDate?: string; - _bornDate?: Element; - bornPeriod?: Period; - bornString?: string; - _bornString?: Element; - condition?: FamilyMemberHistoryCondition[]; - dataAbsentReason?: CodeableConcept; - date?: string; - _date?: Element; - deceasedAge?: Age; - deceasedBoolean?: boolean; - _deceasedBoolean?: Element; - deceasedDate?: string; - _deceasedDate?: Element; - deceasedRange?: Range; - deceasedString?: string; - _deceasedString?: Element; - estimatedAge?: boolean; - _estimatedAge?: Element; - identifier?: Identifier[]; - instantiatesCanonical?: string[]; - _instantiatesCanonical?: (Element | null)[]; - instantiatesUri?: string[]; - _instantiatesUri?: (Element | null)[]; - name?: string; - _name?: Element; - note?: Annotation[]; - patient: Reference<"Patient">; - reasonCode?: CodeableConcept[]; - reasonReference?: Reference<"AllergyIntolerance" | "Condition" | "DiagnosticReport" | "DocumentReference" | "Observation" | "QuestionnaireResponse">[]; - relationship: CodeableConcept; - sex?: CodeableConcept<("male" | "female" | "other" | "unknown" | string)>; - status: ("partial" | "completed" | "entered-in-error" | "health-unknown"); - _status?: Element; -} -export const isFamilyMemberHistory = (resource: unknown): resource is FamilyMemberHistory => { - return resource !== null && typeof resource === "object" && (resource as {resourceType: string}).resourceType === "FamilyMemberHistory"; -} 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 deleted file mode 100644 index 34962ad8e..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/FiveWs.ts +++ /dev/null @@ -1,6 +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. - -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/FiveWs (pkg: hl7.fhir.r4.examples#4.0.1) -export type FiveWs = object; 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 deleted file mode 100644 index 7cbd1e755..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/Flag.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 { CodeableConcept } from "../hl7-fhir-r4-examples/CodeableConcept"; -import type { DomainResource } from "../hl7-fhir-r4-examples/DomainResource"; -import type { Identifier } from "../hl7-fhir-r4-examples/Identifier"; -import type { Period } from "../hl7-fhir-r4-examples/Period"; -import type { Reference } from "../hl7-fhir-r4-examples/Reference"; - -import type { Element } from "../hl7-fhir-r4-examples/Element"; -export type { CodeableConcept } from "../hl7-fhir-r4-examples/CodeableConcept"; -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 (pkg: hl7.fhir.r4.examples#4.0.1) -export interface Flag extends DomainResource { - resourceType: "Flag"; - - author?: Reference<"Device" | "Organization" | "Patient" | "Practitioner" | "PractitionerRole">; - category?: CodeableConcept[]; - code: CodeableConcept; - encounter?: Reference<"Encounter">; - identifier?: Identifier[]; - period?: Period; - status: ("active" | "inactive" | "entered-in-error"); - _status?: Element; - subject: Reference<"Group" | "Location" | "Medication" | "Organization" | "Patient" | "PlanDefinition" | "Practitioner" | "Procedure">; -} -export const isFlag = (resource: unknown): resource is Flag => { - return resource !== null && typeof resource === "object" && (resource as {resourceType: string}).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 deleted file mode 100644 index 53b363554..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/Goal.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 { Annotation } from "../hl7-fhir-r4-examples/Annotation"; -import type { BackboneElement } from "../hl7-fhir-r4-examples/BackboneElement"; -import type { CodeableConcept } from "../hl7-fhir-r4-examples/CodeableConcept"; -import type { DomainResource } from "../hl7-fhir-r4-examples/DomainResource"; -import type { Duration } from "../hl7-fhir-r4-examples/Duration"; -import type { Identifier } from "../hl7-fhir-r4-examples/Identifier"; -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 { Element } from "../hl7-fhir-r4-examples/Element"; -export type { Annotation } from "../hl7-fhir-r4-examples/Annotation"; -export type { BackboneElement } from "../hl7-fhir-r4-examples/BackboneElement"; -export type { CodeableConcept } from "../hl7-fhir-r4-examples/CodeableConcept"; -export type { Duration } from "../hl7-fhir-r4-examples/Duration"; -export type { Identifier } from "../hl7-fhir-r4-examples/Identifier"; -export type { Quantity } from "../hl7-fhir-r4-examples/Quantity"; -export type { Range } from "../hl7-fhir-r4-examples/Range"; -export type { Ratio } from "../hl7-fhir-r4-examples/Ratio"; -export type { Reference } from "../hl7-fhir-r4-examples/Reference"; - -export interface GoalTarget extends BackboneElement { - detailBoolean?: boolean; - detailCodeableConcept?: CodeableConcept; - detailInteger?: number; - detailQuantity?: Quantity; - detailRange?: Range; - detailRatio?: Ratio; - detailString?: string; - dueDate?: string; - dueDuration?: Duration; - measure?: CodeableConcept; -} - -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/Goal (pkg: hl7.fhir.r4.examples#4.0.1) -export interface Goal extends DomainResource { - resourceType: "Goal"; - - 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; - expressedBy?: Reference<"Patient" | "Practitioner" | "PractitionerRole" | "RelatedPerson">; - identifier?: Identifier[]; - lifecycleStatus: ("proposed" | "planned" | "accepted" | "active" | "on-hold" | "completed" | "cancelled" | "entered-in-error" | "rejected"); - _lifecycleStatus?: Element; - note?: Annotation[]; - outcomeCode?: CodeableConcept[]; - outcomeReference?: Reference<"Observation">[]; - priority?: CodeableConcept<("high-priority" | "medium-priority" | "low-priority" | string)>; - startCodeableConcept?: CodeableConcept; - startDate?: string; - _startDate?: Element; - statusDate?: string; - _statusDate?: Element; - statusReason?: string; - _statusReason?: Element; - subject: Reference<"Group" | "Organization" | "Patient">; - target?: GoalTarget[]; -} -export const isGoal = (resource: unknown): resource is Goal => { - return resource !== null && typeof resource === "object" && (resource as {resourceType: string}).resourceType === "Goal"; -} 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 deleted file mode 100644 index 050396e9a..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/GraphDefinition.ts +++ /dev/null @@ -1,75 +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 { BackboneElement } from "../hl7-fhir-r4-examples/BackboneElement"; -import type { CodeableConcept } from "../hl7-fhir-r4-examples/CodeableConcept"; -import type { ContactDetail } from "../hl7-fhir-r4-examples/ContactDetail"; -import type { DomainResource } from "../hl7-fhir-r4-examples/DomainResource"; -import type { UsageContext } from "../hl7-fhir-r4-examples/UsageContext"; - -import type { Element } from "../hl7-fhir-r4-examples/Element"; -export type { BackboneElement } from "../hl7-fhir-r4-examples/BackboneElement"; -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"; - -export interface GraphDefinitionLink extends BackboneElement { - description?: string; - max?: string; - min?: number; - path?: string; - sliceName?: string; - target?: GraphDefinitionLinkTarget[]; -} - -export interface GraphDefinitionLinkTarget extends BackboneElement { - compartment?: GraphDefinitionLinkTargetCompartment[]; - link?: GraphDefinitionLink[]; - params?: string; - profile?: string; - type: string; -} - -export interface GraphDefinitionLinkTargetCompartment extends BackboneElement { - code: ("Patient" | "Encounter" | "RelatedPerson" | "Practitioner" | "Device"); - description?: string; - expression?: string; - rule: ("identical" | "matching" | "different" | "custom"); - use: ("condition" | "requirement"); -} - -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/GraphDefinition (pkg: hl7.fhir.r4.examples#4.0.1) -export interface GraphDefinition extends DomainResource { - resourceType: "GraphDefinition"; - - contact?: ContactDetail[]; - date?: string; - _date?: Element; - description?: string; - _description?: Element; - experimental?: boolean; - _experimental?: Element; - jurisdiction?: CodeableConcept[]; - link?: GraphDefinitionLink[]; - name: string; - _name?: Element; - profile?: string; - _profile?: Element; - publisher?: string; - _publisher?: Element; - purpose?: string; - _purpose?: Element; - start: string; - _start?: Element; - status: ("draft" | "active" | "retired" | "unknown"); - _status?: Element; - url?: string; - _url?: Element; - useContext?: UsageContext[]; - version?: string; - _version?: Element; -} -export const isGraphDefinition = (resource: unknown): resource is GraphDefinition => { - return resource !== null && typeof resource === "object" && (resource as {resourceType: string}).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 deleted file mode 100644 index 0f119f705..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/Group.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 { BackboneElement } from "../hl7-fhir-r4-examples/BackboneElement"; -import type { CodeableConcept } from "../hl7-fhir-r4-examples/CodeableConcept"; -import type { DomainResource } from "../hl7-fhir-r4-examples/DomainResource"; -import type { Identifier } from "../hl7-fhir-r4-examples/Identifier"; -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 { Reference } from "../hl7-fhir-r4-examples/Reference"; - -import type { Element } from "../hl7-fhir-r4-examples/Element"; -export type { BackboneElement } from "../hl7-fhir-r4-examples/BackboneElement"; -export type { CodeableConcept } from "../hl7-fhir-r4-examples/CodeableConcept"; -export type { Identifier } from "../hl7-fhir-r4-examples/Identifier"; -export type { Period } from "../hl7-fhir-r4-examples/Period"; -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"; - -export interface GroupCharacteristic extends BackboneElement { - code: CodeableConcept; - exclude: boolean; - period?: Period; - valueBoolean?: boolean; - valueCodeableConcept?: CodeableConcept; - valueQuantity?: Quantity; - valueRange?: Range; - valueReference?: Reference; -} - -export interface GroupMember extends BackboneElement { - entity: Reference<"Device" | "Group" | "Medication" | "Patient" | "Practitioner" | "PractitionerRole" | "Substance">; - inactive?: boolean; - period?: Period; -} - -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/Group (pkg: hl7.fhir.r4.examples#4.0.1) -export interface Group extends DomainResource { - resourceType: "Group"; - - active?: boolean; - _active?: Element; - actual: boolean; - _actual?: Element; - characteristic?: GroupCharacteristic[]; - code?: CodeableConcept; - identifier?: Identifier[]; - managingEntity?: Reference<"Organization" | "Practitioner" | "PractitionerRole" | "RelatedPerson">; - member?: GroupMember[]; - name?: string; - _name?: Element; - quantity?: number; - _quantity?: Element; - type: ("person" | "animal" | "practitioner" | "device" | "medication" | "substance"); - _type?: Element; -} -export const isGroup = (resource: unknown): resource is Group => { - return resource !== null && typeof resource === "object" && (resource as {resourceType: string}).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 deleted file mode 100644 index 429de6f8f..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/GuidanceResponse.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 { Annotation } from "../hl7-fhir-r4-examples/Annotation"; -import type { CodeableConcept } from "../hl7-fhir-r4-examples/CodeableConcept"; -import type { DataRequirement } from "../hl7-fhir-r4-examples/DataRequirement"; -import type { DomainResource } from "../hl7-fhir-r4-examples/DomainResource"; -import type { Identifier } from "../hl7-fhir-r4-examples/Identifier"; -import type { Reference } from "../hl7-fhir-r4-examples/Reference"; - -import type { Element } from "../hl7-fhir-r4-examples/Element"; -export type { Annotation } from "../hl7-fhir-r4-examples/Annotation"; -export type { CodeableConcept } from "../hl7-fhir-r4-examples/CodeableConcept"; -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 (pkg: hl7.fhir.r4.examples#4.0.1) -export interface GuidanceResponse extends DomainResource { - resourceType: "GuidanceResponse"; - - dataRequirement?: DataRequirement[]; - encounter?: Reference<"Encounter">; - evaluationMessage?: Reference<"OperationOutcome">[]; - identifier?: Identifier[]; - moduleCanonical?: string; - _moduleCanonical?: Element; - moduleCodeableConcept?: CodeableConcept; - moduleUri?: string; - _moduleUri?: Element; - note?: Annotation[]; - occurrenceDateTime?: string; - _occurrenceDateTime?: Element; - outputParameters?: Reference<"Parameters">; - performer?: Reference<"Device">; - reasonCode?: CodeableConcept[]; - reasonReference?: Reference<"Condition" | "DiagnosticReport" | "DocumentReference" | "Observation">[]; - requestIdentifier?: Identifier; - result?: Reference<"CarePlan" | "RequestGroup">; - status: ("success" | "data-requested" | "data-required" | "in-progress" | "failure" | "entered-in-error"); - _status?: Element; - subject?: Reference<"Group" | "Patient">; -} -export const isGuidanceResponse = (resource: unknown): resource is GuidanceResponse => { - return resource !== null && typeof resource === "object" && (resource as {resourceType: string}).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 deleted file mode 100644 index 522cdfbd4..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/HealthcareService.ts +++ /dev/null @@ -1,77 +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-r4-examples/Attachment"; -import type { BackboneElement } from "../hl7-fhir-r4-examples/BackboneElement"; -import type { CodeableConcept } from "../hl7-fhir-r4-examples/CodeableConcept"; -import type { ContactPoint } from "../hl7-fhir-r4-examples/ContactPoint"; -import type { DomainResource } from "../hl7-fhir-r4-examples/DomainResource"; -import type { Identifier } from "../hl7-fhir-r4-examples/Identifier"; -import type { Period } from "../hl7-fhir-r4-examples/Period"; -import type { Reference } from "../hl7-fhir-r4-examples/Reference"; - -import type { Element } from "../hl7-fhir-r4-examples/Element"; -export type { Attachment } from "../hl7-fhir-r4-examples/Attachment"; -export type { BackboneElement } from "../hl7-fhir-r4-examples/BackboneElement"; -export type { CodeableConcept } from "../hl7-fhir-r4-examples/CodeableConcept"; -export type { ContactPoint } from "../hl7-fhir-r4-examples/ContactPoint"; -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"; - -export interface HealthcareServiceAvailableTime extends BackboneElement { - allDay?: boolean; - availableEndTime?: string; - availableStartTime?: string; - daysOfWeek?: ("mon" | "tue" | "wed" | "thu" | "fri" | "sat" | "sun")[]; -} - -export interface HealthcareServiceEligibility extends BackboneElement { - code?: CodeableConcept; - comment?: string; -} - -export interface HealthcareServiceNotAvailable extends BackboneElement { - description: string; - during?: Period; -} - -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/HealthcareService (pkg: hl7.fhir.r4.examples#4.0.1) -export interface HealthcareService extends DomainResource { - resourceType: "HealthcareService"; - - active?: boolean; - _active?: Element; - appointmentRequired?: boolean; - _appointmentRequired?: Element; - availabilityExceptions?: string; - _availabilityExceptions?: Element; - availableTime?: HealthcareServiceAvailableTime[]; - category?: CodeableConcept[]; - characteristic?: CodeableConcept[]; - comment?: string; - _comment?: Element; - 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">[]; - extraDetails?: string; - _extraDetails?: Element; - identifier?: Identifier[]; - location?: Reference<"Location">[]; - name?: string; - _name?: Element; - notAvailable?: HealthcareServiceNotAvailable[]; - photo?: Attachment; - program?: CodeableConcept[]; - providedBy?: Reference<"Organization">; - referralMethod?: CodeableConcept[]; - serviceProvisionCode?: CodeableConcept[]; - specialty?: CodeableConcept[]; - telecom?: ContactPoint[]; - type?: CodeableConcept[]; -} -export const isHealthcareService = (resource: unknown): resource is HealthcareService => { - return resource !== null && typeof resource === "object" && (resource as {resourceType: string}).resourceType === "HealthcareService"; -} 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 deleted file mode 100644 index 1d3004f4d..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/HumanName.ts +++ /dev/null @@ -1,26 +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 { Element } from "../hl7-fhir-r4-examples/Element"; -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 (pkg: hl7.fhir.r4.examples#4.0.1) -export interface HumanName extends Element { - family?: string; - _family?: Element; - given?: string[]; - _given?: (Element | null)[]; - period?: Period; - prefix?: string[]; - _prefix?: (Element | null)[]; - suffix?: string[]; - _suffix?: (Element | null)[]; - text?: string; - _text?: Element; - use?: ("usual" | "official" | "temp" | "nickname" | "anonymous" | "old" | "maiden"); - _use?: Element; -} 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 deleted file mode 100644 index 3e780fec2..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/Identifier.ts +++ /dev/null @@ -1,26 +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 { Element } from "../hl7-fhir-r4-examples/Element"; -import type { Period } from "../hl7-fhir-r4-examples/Period"; -import type { Reference } from "../hl7-fhir-r4-examples/Reference"; - -export type { CodeableConcept } from "../hl7-fhir-r4-examples/CodeableConcept"; -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 (pkg: hl7.fhir.r4.examples#4.0.1) -export interface Identifier extends Element { - assigner?: Reference<"Organization">; - period?: Period; - system?: string; - _system?: Element; - 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; - _value?: Element; -} 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 deleted file mode 100644 index 77db5534e..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/ImagingStudy.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 { Annotation } from "../hl7-fhir-r4-examples/Annotation"; -import type { BackboneElement } from "../hl7-fhir-r4-examples/BackboneElement"; -import type { CodeableConcept } from "../hl7-fhir-r4-examples/CodeableConcept"; -import type { Coding } from "../hl7-fhir-r4-examples/Coding"; -import type { DomainResource } from "../hl7-fhir-r4-examples/DomainResource"; -import type { Identifier } from "../hl7-fhir-r4-examples/Identifier"; -import type { Reference } from "../hl7-fhir-r4-examples/Reference"; - -import type { Element } from "../hl7-fhir-r4-examples/Element"; -export type { Annotation } from "../hl7-fhir-r4-examples/Annotation"; -export type { BackboneElement } from "../hl7-fhir-r4-examples/BackboneElement"; -export type { CodeableConcept } from "../hl7-fhir-r4-examples/CodeableConcept"; -export type { Coding } from "../hl7-fhir-r4-examples/Coding"; -export type { Identifier } from "../hl7-fhir-r4-examples/Identifier"; -export type { Reference } from "../hl7-fhir-r4-examples/Reference"; - -export interface ImagingStudySeries extends BackboneElement { - bodySite?: Coding; - description?: string; - endpoint?: Reference<"Endpoint">[]; - instance?: ImagingStudySeriesInstance[]; - laterality?: Coding; - modality: Coding; - number?: number; - numberOfInstances?: number; - performer?: ImagingStudySeriesPerformer[]; - specimen?: Reference<"Specimen">[]; - started?: string; - uid: string; -} - -export interface ImagingStudySeriesInstance extends BackboneElement { - number?: number; - sopClass: Coding; - title?: string; - uid: string; -} - -export interface ImagingStudySeriesPerformer extends BackboneElement { - actor: Reference<"CareTeam" | "Device" | "Organization" | "Patient" | "Practitioner" | "PractitionerRole" | "RelatedPerson">; - "function"?: CodeableConcept<("CON" | "VRF" | "PRF" | "SPRF" | "REF" | string)>; -} - -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/ImagingStudy (pkg: hl7.fhir.r4.examples#4.0.1) -export interface ImagingStudy extends DomainResource { - resourceType: "ImagingStudy"; - - basedOn?: Reference<"Appointment" | "AppointmentResponse" | "CarePlan" | "ServiceRequest" | "Task">[]; - description?: string; - _description?: Element; - encounter?: Reference<"Encounter">; - endpoint?: Reference<"Endpoint">[]; - identifier?: Identifier[]; - interpreter?: Reference<"Practitioner" | "PractitionerRole">[]; - location?: Reference<"Location">; - modality?: Coding[]; - note?: Annotation[]; - numberOfInstances?: number; - _numberOfInstances?: Element; - numberOfSeries?: number; - _numberOfSeries?: Element; - procedureCode?: CodeableConcept[]; - procedureReference?: Reference<"Procedure">; - reasonCode?: CodeableConcept[]; - reasonReference?: Reference<"Condition" | "DiagnosticReport" | "DocumentReference" | "Media" | "Observation">[]; - referrer?: Reference<"Practitioner" | "PractitionerRole">; - series?: ImagingStudySeries[]; - started?: string; - _started?: Element; - status: ("registered" | "available" | "cancelled" | "entered-in-error" | "unknown"); - _status?: Element; - subject: Reference<"Device" | "Group" | "Patient">; -} -export const isImagingStudy = (resource: unknown): resource is ImagingStudy => { - return resource !== null && typeof resource === "object" && (resource as {resourceType: string}).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 deleted file mode 100644 index 4b9bb6534..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/Immunization.ts +++ /dev/null @@ -1,93 +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 { Annotation } from "../hl7-fhir-r4-examples/Annotation"; -import type { BackboneElement } from "../hl7-fhir-r4-examples/BackboneElement"; -import type { CodeableConcept } from "../hl7-fhir-r4-examples/CodeableConcept"; -import type { DomainResource } from "../hl7-fhir-r4-examples/DomainResource"; -import type { Identifier } from "../hl7-fhir-r4-examples/Identifier"; -import type { Quantity } from "../hl7-fhir-r4-examples/Quantity"; -import type { Reference } from "../hl7-fhir-r4-examples/Reference"; - -import type { Element } from "../hl7-fhir-r4-examples/Element"; -export type { Annotation } from "../hl7-fhir-r4-examples/Annotation"; -export type { BackboneElement } from "../hl7-fhir-r4-examples/BackboneElement"; -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"; -export type { Reference } from "../hl7-fhir-r4-examples/Reference"; - -export interface ImmunizationEducation extends BackboneElement { - documentType?: string; - presentationDate?: string; - publicationDate?: string; - reference?: string; -} - -export interface ImmunizationPerformer extends BackboneElement { - actor: Reference<"Organization" | "Practitioner" | "PractitionerRole">; - "function"?: CodeableConcept<("OP" | "AP" | string)>; -} - -export interface ImmunizationProtocolApplied extends BackboneElement { - authority?: Reference<"Organization">; - doseNumberPositiveInt?: number; - doseNumberString?: string; - series?: string; - seriesDosesPositiveInt?: number; - seriesDosesString?: string; - targetDisease?: CodeableConcept[]; -} - -export interface ImmunizationReaction extends BackboneElement { - date?: string; - detail?: Reference<"Observation">; - reported?: boolean; -} - -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/Immunization (pkg: hl7.fhir.r4.examples#4.0.1) -export interface Immunization extends DomainResource { - resourceType: "Immunization"; - - doseQuantity?: Quantity; - education?: ImmunizationEducation[]; - encounter?: Reference<"Encounter">; - expirationDate?: string; - _expirationDate?: Element; - fundingSource?: CodeableConcept; - identifier?: Identifier[]; - isSubpotent?: boolean; - _isSubpotent?: Element; - location?: Reference<"Location">; - lotNumber?: string; - _lotNumber?: Element; - manufacturer?: Reference<"Organization">; - note?: Annotation[]; - occurrenceDateTime?: string; - _occurrenceDateTime?: Element; - occurrenceString?: string; - _occurrenceString?: Element; - patient: Reference<"Patient">; - performer?: ImmunizationPerformer[]; - primarySource?: boolean; - _primarySource?: Element; - programEligibility?: CodeableConcept[]; - protocolApplied?: ImmunizationProtocolApplied[]; - reaction?: ImmunizationReaction[]; - reasonCode?: CodeableConcept[]; - reasonReference?: Reference<"Condition" | "DiagnosticReport" | "Observation">[]; - recorded?: string; - _recorded?: Element; - reportOrigin?: CodeableConcept; - route?: CodeableConcept; - site?: CodeableConcept; - status: ("completed" | "entered-in-error" | "not-done"); - _status?: Element; - statusReason?: CodeableConcept; - subpotentReason?: CodeableConcept[]; - vaccineCode: CodeableConcept; -} -export const isImmunization = (resource: unknown): resource is Immunization => { - return resource !== null && typeof resource === "object" && (resource as {resourceType: string}).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 deleted file mode 100644 index f3cc7f094..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/ImmunizationEvaluation.ts +++ /dev/null @@ -1,45 +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 { DomainResource } from "../hl7-fhir-r4-examples/DomainResource"; -import type { Identifier } from "../hl7-fhir-r4-examples/Identifier"; -import type { Reference } from "../hl7-fhir-r4-examples/Reference"; - -import type { Element } from "../hl7-fhir-r4-examples/Element"; -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 (pkg: hl7.fhir.r4.examples#4.0.1) -export interface ImmunizationEvaluation extends DomainResource { - resourceType: "ImmunizationEvaluation"; - - authority?: Reference<"Organization">; - date?: string; - _date?: Element; - description?: string; - _description?: Element; - doseNumberPositiveInt?: number; - _doseNumberPositiveInt?: Element; - doseNumberString?: string; - _doseNumberString?: Element; - doseStatus: CodeableConcept; - doseStatusReason?: CodeableConcept[]; - identifier?: Identifier[]; - immunizationEvent: Reference<"Immunization">; - patient: Reference<"Patient">; - series?: string; - _series?: Element; - seriesDosesPositiveInt?: number; - _seriesDosesPositiveInt?: Element; - seriesDosesString?: string; - _seriesDosesString?: Element; - status: ("completed" | "entered-in-error"); - _status?: Element; - targetDisease: CodeableConcept; -} -export const isImmunizationEvaluation = (resource: unknown): resource is ImmunizationEvaluation => { - return resource !== null && typeof resource === "object" && (resource as {resourceType: string}).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 deleted file mode 100644 index 9400bc213..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/ImmunizationRecommendation.ts +++ /dev/null @@ -1,52 +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 { BackboneElement } from "../hl7-fhir-r4-examples/BackboneElement"; -import type { CodeableConcept } from "../hl7-fhir-r4-examples/CodeableConcept"; -import type { DomainResource } from "../hl7-fhir-r4-examples/DomainResource"; -import type { Identifier } from "../hl7-fhir-r4-examples/Identifier"; -import type { Reference } from "../hl7-fhir-r4-examples/Reference"; - -import type { Element } from "../hl7-fhir-r4-examples/Element"; -export type { BackboneElement } from "../hl7-fhir-r4-examples/BackboneElement"; -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"; - -export interface ImmunizationRecommendationRecommendation extends BackboneElement { - contraindicatedVaccineCode?: CodeableConcept[]; - dateCriterion?: ImmunizationRecommendationRecommendationDateCriterion[]; - description?: string; - doseNumberPositiveInt?: number; - doseNumberString?: string; - forecastReason?: CodeableConcept[]; - forecastStatus: CodeableConcept; - series?: string; - seriesDosesPositiveInt?: number; - seriesDosesString?: string; - supportingImmunization?: Reference<"Immunization" | "ImmunizationEvaluation">[]; - supportingPatientInformation?: Reference<"Resource">[]; - targetDisease?: CodeableConcept; - vaccineCode?: CodeableConcept[]; -} - -export interface ImmunizationRecommendationRecommendationDateCriterion extends BackboneElement { - code: CodeableConcept; - value: string; -} - -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/ImmunizationRecommendation (pkg: hl7.fhir.r4.examples#4.0.1) -export interface ImmunizationRecommendation extends DomainResource { - resourceType: "ImmunizationRecommendation"; - - authority?: Reference<"Organization">; - date: string; - _date?: Element; - identifier?: Identifier[]; - patient: Reference<"Patient">; - recommendation: ImmunizationRecommendationRecommendation[]; -} -export const isImmunizationRecommendation = (resource: unknown): resource is ImmunizationRecommendation => { - return resource !== null && typeof resource === "object" && (resource as {resourceType: string}).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 deleted file mode 100644 index f8141fcd4..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/ImplementationGuide.ts +++ /dev/null @@ -1,133 +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 { BackboneElement } from "../hl7-fhir-r4-examples/BackboneElement"; -import type { CodeableConcept } from "../hl7-fhir-r4-examples/CodeableConcept"; -import type { ContactDetail } from "../hl7-fhir-r4-examples/ContactDetail"; -import type { DomainResource } from "../hl7-fhir-r4-examples/DomainResource"; -import type { Reference } from "../hl7-fhir-r4-examples/Reference"; -import type { UsageContext } from "../hl7-fhir-r4-examples/UsageContext"; - -import type { Element } from "../hl7-fhir-r4-examples/Element"; -export type { BackboneElement } from "../hl7-fhir-r4-examples/BackboneElement"; -export type { CodeableConcept } from "../hl7-fhir-r4-examples/CodeableConcept"; -export type { ContactDetail } from "../hl7-fhir-r4-examples/ContactDetail"; -export type { Reference } from "../hl7-fhir-r4-examples/Reference"; -export type { UsageContext } from "../hl7-fhir-r4-examples/UsageContext"; - -export interface ImplementationGuideDefinition extends BackboneElement { - grouping?: ImplementationGuideDefinitionGrouping[]; - page?: ImplementationGuideDefinitionPage; - parameter?: ImplementationGuideDefinitionParameter[]; - resource: ImplementationGuideDefinitionResource[]; - template?: ImplementationGuideDefinitionTemplate[]; -} - -export interface ImplementationGuideDefinitionGrouping extends BackboneElement { - description?: string; - name: string; -} - -export interface ImplementationGuideDefinitionPage extends BackboneElement { - generation: ("html" | "markdown" | "xml" | "generated"); - nameReference?: Reference<"Binary">; - nameUrl?: string; - page?: ImplementationGuideDefinitionPage[]; - title: string; -} - -export interface ImplementationGuideDefinitionParameter extends BackboneElement { - code: ("apply" | "path-resource" | "path-pages" | "path-tx-cache" | "expansion-parameter" | "rule-broken-links" | "generate-xml" | "generate-json" | "generate-turtle" | "html-template"); - value: string; -} - -export interface ImplementationGuideDefinitionResource extends BackboneElement { - description?: string; - exampleBoolean?: boolean; - exampleCanonical?: string; - 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")[]; - groupingId?: string; - name?: string; - reference: Reference<"Resource">; -} - -export interface ImplementationGuideDefinitionTemplate extends BackboneElement { - code: string; - scope?: string; - source: string; -} - -export interface ImplementationGuideDependsOn extends BackboneElement { - packageId?: string; - uri: string; - version?: string; -} - -export interface ImplementationGuideGlobal extends BackboneElement { - profile: string; - type: string; -} - -export interface ImplementationGuideManifest extends BackboneElement { - image?: string[]; - other?: string[]; - page?: ImplementationGuideManifestPage[]; - rendering?: string; - resource: ImplementationGuideManifestResource[]; -} - -export interface ImplementationGuideManifestPage extends BackboneElement { - anchor?: string[]; - name: string; - title?: string; -} - -export interface ImplementationGuideManifestResource extends BackboneElement { - exampleBoolean?: boolean; - exampleCanonical?: string; - reference: Reference<"Resource">; - relativePath?: string; -} - -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/ImplementationGuide (pkg: hl7.fhir.r4.examples#4.0.1) -export interface ImplementationGuide extends DomainResource { - resourceType: "ImplementationGuide"; - - contact?: ContactDetail[]; - copyright?: string; - _copyright?: Element; - date?: string; - _date?: Element; - definition?: ImplementationGuideDefinition; - dependsOn?: ImplementationGuideDependsOn[]; - description?: string; - _description?: Element; - 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 | null)[]; - global?: ImplementationGuideGlobal[]; - jurisdiction?: CodeableConcept[]; - license?: string; - _license?: Element; - manifest?: ImplementationGuideManifest; - name: string; - _name?: Element; - packageId: string; - _packageId?: Element; - publisher?: string; - _publisher?: Element; - status: ("draft" | "active" | "retired" | "unknown"); - _status?: Element; - title?: string; - _title?: Element; - url: string; - _url?: Element; - useContext?: UsageContext[]; - version?: string; - _version?: Element; -} -export const isImplementationGuide = (resource: unknown): resource is ImplementationGuide => { - return resource !== null && typeof resource === "object" && (resource as {resourceType: string}).resourceType === "ImplementationGuide"; -} 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 deleted file mode 100644 index 05dc609b1..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/InsurancePlan.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 { Address } from "../hl7-fhir-r4-examples/Address"; -import type { BackboneElement } from "../hl7-fhir-r4-examples/BackboneElement"; -import type { CodeableConcept } from "../hl7-fhir-r4-examples/CodeableConcept"; -import type { ContactPoint } from "../hl7-fhir-r4-examples/ContactPoint"; -import type { DomainResource } from "../hl7-fhir-r4-examples/DomainResource"; -import type { HumanName } from "../hl7-fhir-r4-examples/HumanName"; -import type { Identifier } from "../hl7-fhir-r4-examples/Identifier"; -import type { Money } from "../hl7-fhir-r4-examples/Money"; -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"; - -import type { Element } from "../hl7-fhir-r4-examples/Element"; -export type { Address } from "../hl7-fhir-r4-examples/Address"; -export type { BackboneElement } from "../hl7-fhir-r4-examples/BackboneElement"; -export type { CodeableConcept } from "../hl7-fhir-r4-examples/CodeableConcept"; -export type { ContactPoint } from "../hl7-fhir-r4-examples/ContactPoint"; -export type { HumanName } from "../hl7-fhir-r4-examples/HumanName"; -export type { Identifier } from "../hl7-fhir-r4-examples/Identifier"; -export type { Money } from "../hl7-fhir-r4-examples/Money"; -export type { Period } from "../hl7-fhir-r4-examples/Period"; -export type { Quantity } from "../hl7-fhir-r4-examples/Quantity"; -export type { Reference } from "../hl7-fhir-r4-examples/Reference"; - -export interface InsurancePlanContact extends BackboneElement { - address?: Address; - name?: HumanName; - purpose?: CodeableConcept<("BILL" | "ADMIN" | "HR" | "PAYOR" | "PATINF" | "PRESS" | string)>; - telecom?: ContactPoint[]; -} - -export interface InsurancePlanCoverage extends BackboneElement { - benefit: InsurancePlanCoverageBenefit[]; - network?: Reference<"Organization">[]; - type: CodeableConcept; -} - -export interface InsurancePlanCoverageBenefit extends BackboneElement { - limit?: InsurancePlanCoverageBenefitLimit[]; - requirement?: string; - type: CodeableConcept; -} - -export interface InsurancePlanCoverageBenefitLimit extends BackboneElement { - code?: CodeableConcept; - value?: Quantity; -} - -export interface InsurancePlanPlan extends BackboneElement { - coverageArea?: Reference<"Location">[]; - generalCost?: InsurancePlanPlanGeneralCost[]; - identifier?: Identifier[]; - network?: Reference<"Organization">[]; - specificCost?: InsurancePlanPlanSpecificCost[]; - type?: CodeableConcept; -} - -export interface InsurancePlanPlanGeneralCost extends BackboneElement { - comment?: string; - cost?: Money; - groupSize?: number; - type?: CodeableConcept; -} - -export interface InsurancePlanPlanSpecificCost extends BackboneElement { - benefit?: InsurancePlanPlanSpecificCostBenefit[]; - category: CodeableConcept; -} - -export interface InsurancePlanPlanSpecificCostBenefit extends BackboneElement { - cost?: InsurancePlanPlanSpecificCostBenefitCost[]; - type: CodeableConcept; -} - -export interface InsurancePlanPlanSpecificCostBenefitCost extends BackboneElement { - applicability?: CodeableConcept<("in-network" | "out-of-network" | "other")>; - qualifiers?: CodeableConcept[]; - type: CodeableConcept; - value?: Quantity; -} - -// 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 | null)[]; - contact?: InsurancePlanContact[]; - coverage?: InsurancePlanCoverage[]; - coverageArea?: Reference<"Location">[]; - endpoint?: Reference<"Endpoint">[]; - identifier?: Identifier[]; - name?: string; - _name?: Element; - network?: Reference<"Organization">[]; - ownedBy?: Reference<"Organization">; - period?: Period; - plan?: InsurancePlanPlan[]; - status?: ("draft" | "active" | "retired" | "unknown"); - _status?: Element; - type?: CodeableConcept[]; -} -export const isInsurancePlan = (resource: unknown): resource is InsurancePlan => { - return resource !== null && typeof resource === "object" && (resource as {resourceType: string}).resourceType === "InsurancePlan"; -} 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 deleted file mode 100644 index be8ba9c63..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/Invoice.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 { Annotation } from "../hl7-fhir-r4-examples/Annotation"; -import type { BackboneElement } from "../hl7-fhir-r4-examples/BackboneElement"; -import type { CodeableConcept } from "../hl7-fhir-r4-examples/CodeableConcept"; -import type { DomainResource } from "../hl7-fhir-r4-examples/DomainResource"; -import type { Identifier } from "../hl7-fhir-r4-examples/Identifier"; -import type { Money } from "../hl7-fhir-r4-examples/Money"; -import type { Reference } from "../hl7-fhir-r4-examples/Reference"; - -import type { Element } from "../hl7-fhir-r4-examples/Element"; -export type { Annotation } from "../hl7-fhir-r4-examples/Annotation"; -export type { BackboneElement } from "../hl7-fhir-r4-examples/BackboneElement"; -export type { CodeableConcept } from "../hl7-fhir-r4-examples/CodeableConcept"; -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"; - -export interface InvoiceLineItem extends BackboneElement { - chargeItemCodeableConcept?: CodeableConcept; - chargeItemReference?: Reference<"ChargeItem">; - priceComponent?: InvoiceLineItemPriceComponent[]; - sequence?: number; -} - -export interface InvoiceLineItemPriceComponent extends BackboneElement { - amount?: Money; - code?: CodeableConcept; - factor?: number; - type: ("base" | "surcharge" | "deduction" | "discount" | "tax" | "informational"); -} - -export interface InvoiceParticipant extends BackboneElement { - actor: Reference<"Device" | "Organization" | "Patient" | "Practitioner" | "PractitionerRole" | "RelatedPerson">; - role?: CodeableConcept; -} - -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/Invoice (pkg: hl7.fhir.r4.examples#4.0.1) -export interface Invoice extends DomainResource { - resourceType: "Invoice"; - - account?: Reference<"Account">; - cancelledReason?: string; - _cancelledReason?: Element; - date?: string; - _date?: Element; - identifier?: Identifier[]; - issuer?: Reference<"Organization">; - lineItem?: InvoiceLineItem[]; - note?: Annotation[]; - participant?: InvoiceParticipant[]; - paymentTerms?: string; - _paymentTerms?: Element; - recipient?: Reference<"Organization" | "Patient" | "RelatedPerson">; - status: ("draft" | "issued" | "balanced" | "cancelled" | "entered-in-error"); - _status?: Element; - subject?: Reference<"Group" | "Patient">; - totalGross?: Money; - totalNet?: Money; - totalPriceComponent?: InvoiceLineItemPriceComponent[]; - type?: CodeableConcept; -} -export const isInvoice = (resource: unknown): resource is Invoice => { - return resource !== null && typeof resource === "object" && (resource as {resourceType: string}).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 deleted file mode 100644 index 3b41810f3..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/Library.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 { Attachment } from "../hl7-fhir-r4-examples/Attachment"; -import type { CodeableConcept } from "../hl7-fhir-r4-examples/CodeableConcept"; -import type { ContactDetail } from "../hl7-fhir-r4-examples/ContactDetail"; -import type { DataRequirement } from "../hl7-fhir-r4-examples/DataRequirement"; -import type { DomainResource } from "../hl7-fhir-r4-examples/DomainResource"; -import type { Identifier } from "../hl7-fhir-r4-examples/Identifier"; -import type { ParameterDefinition } from "../hl7-fhir-r4-examples/ParameterDefinition"; -import type { Period } from "../hl7-fhir-r4-examples/Period"; -import type { Reference } from "../hl7-fhir-r4-examples/Reference"; -import type { RelatedArtifact } from "../hl7-fhir-r4-examples/RelatedArtifact"; -import type { UsageContext } from "../hl7-fhir-r4-examples/UsageContext"; - -import type { Element } from "../hl7-fhir-r4-examples/Element"; -export type { Attachment } from "../hl7-fhir-r4-examples/Attachment"; -export type { CodeableConcept } from "../hl7-fhir-r4-examples/CodeableConcept"; -export type { ContactDetail } from "../hl7-fhir-r4-examples/ContactDetail"; -export type { DataRequirement } from "../hl7-fhir-r4-examples/DataRequirement"; -export type { Identifier } from "../hl7-fhir-r4-examples/Identifier"; -export type { ParameterDefinition } from "../hl7-fhir-r4-examples/ParameterDefinition"; -export type { Period } from "../hl7-fhir-r4-examples/Period"; -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 (pkg: hl7.fhir.r4.examples#4.0.1) -export interface Library extends DomainResource { - resourceType: "Library"; - - approvalDate?: string; - _approvalDate?: Element; - author?: ContactDetail[]; - contact?: ContactDetail[]; - content?: Attachment[]; - copyright?: string; - _copyright?: Element; - dataRequirement?: DataRequirement[]; - date?: string; - _date?: Element; - description?: string; - _description?: Element; - editor?: ContactDetail[]; - effectivePeriod?: Period; - endorser?: ContactDetail[]; - experimental?: boolean; - _experimental?: Element; - identifier?: Identifier[]; - jurisdiction?: CodeableConcept[]; - lastReviewDate?: string; - _lastReviewDate?: Element; - name?: string; - _name?: Element; - parameter?: ParameterDefinition[]; - publisher?: string; - _publisher?: Element; - purpose?: string; - _purpose?: Element; - relatedArtifact?: RelatedArtifact[]; - reviewer?: ContactDetail[]; - status: ("draft" | "active" | "retired" | "unknown"); - _status?: Element; - subjectCodeableConcept?: CodeableConcept; - subjectReference?: Reference<"Group">; - subtitle?: string; - _subtitle?: Element; - title?: string; - _title?: Element; - topic?: CodeableConcept[]; - type: CodeableConcept<("logic-library" | "model-definition" | "asset-collection" | "module-definition" | string)>; - url?: string; - _url?: Element; - usage?: string; - _usage?: Element; - useContext?: UsageContext[]; - version?: string; - _version?: Element; -} -export const isLibrary = (resource: unknown): resource is Library => { - return resource !== null && typeof resource === "object" && (resource as {resourceType: string}).resourceType === "Library"; -} 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 deleted file mode 100644 index 96618d173..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/Linkage.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 { BackboneElement } from "../hl7-fhir-r4-examples/BackboneElement"; -import type { DomainResource } from "../hl7-fhir-r4-examples/DomainResource"; -import type { Reference } from "../hl7-fhir-r4-examples/Reference"; - -import type { Element } from "../hl7-fhir-r4-examples/Element"; -export type { BackboneElement } from "../hl7-fhir-r4-examples/BackboneElement"; -export type { Reference } from "../hl7-fhir-r4-examples/Reference"; - -export interface LinkageItem extends BackboneElement { - resource: Reference<"Resource">; - type: ("source" | "alternate" | "historical"); -} - -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/Linkage (pkg: hl7.fhir.r4.examples#4.0.1) -export interface Linkage extends DomainResource { - resourceType: "Linkage"; - - active?: boolean; - _active?: Element; - author?: Reference<"Organization" | "Practitioner" | "PractitionerRole">; - item: LinkageItem[]; -} -export const isLinkage = (resource: unknown): resource is Linkage => { - return resource !== null && typeof resource === "object" && (resource as {resourceType: string}).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 deleted file mode 100644 index 3f28676ac..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/List.ts +++ /dev/null @@ -1,50 +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 { Annotation } from "../hl7-fhir-r4-examples/Annotation"; -import type { BackboneElement } from "../hl7-fhir-r4-examples/BackboneElement"; -import type { CodeableConcept } from "../hl7-fhir-r4-examples/CodeableConcept"; -import type { DomainResource } from "../hl7-fhir-r4-examples/DomainResource"; -import type { Identifier } from "../hl7-fhir-r4-examples/Identifier"; -import type { Reference } from "../hl7-fhir-r4-examples/Reference"; - -import type { Element } from "../hl7-fhir-r4-examples/Element"; -export type { Annotation } from "../hl7-fhir-r4-examples/Annotation"; -export type { BackboneElement } from "../hl7-fhir-r4-examples/BackboneElement"; -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"; - -export interface ListEntry extends BackboneElement { - date?: string; - deleted?: boolean; - flag?: CodeableConcept; - item: Reference<"Resource">; -} - -// 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<("nilknown" | "notasked" | "withheld" | "unavailable" | "notstarted" | "closed" | string)>; - encounter?: Reference<"Encounter">; - entry?: ListEntry[]; - identifier?: Identifier[]; - mode: ("working" | "snapshot" | "changes"); - _mode?: Element; - note?: Annotation[]; - 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; - subject?: Reference<"Device" | "Group" | "Location" | "Patient">; - title?: string; - _title?: Element; -} -export const isList = (resource: unknown): resource is List => { - return resource !== null && typeof resource === "object" && (resource as {resourceType: string}).resourceType === "List"; -} 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 deleted file mode 100644 index 158fbf46c..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/Location.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 { Address } from "../hl7-fhir-r4-examples/Address"; -import type { BackboneElement } from "../hl7-fhir-r4-examples/BackboneElement"; -import type { CodeableConcept } from "../hl7-fhir-r4-examples/CodeableConcept"; -import type { Coding } from "../hl7-fhir-r4-examples/Coding"; -import type { ContactPoint } from "../hl7-fhir-r4-examples/ContactPoint"; -import type { DomainResource } from "../hl7-fhir-r4-examples/DomainResource"; -import type { Identifier } from "../hl7-fhir-r4-examples/Identifier"; -import type { Reference } from "../hl7-fhir-r4-examples/Reference"; - -import type { Element } from "../hl7-fhir-r4-examples/Element"; -export type { Address } from "../hl7-fhir-r4-examples/Address"; -export type { BackboneElement } from "../hl7-fhir-r4-examples/BackboneElement"; -export type { CodeableConcept } from "../hl7-fhir-r4-examples/CodeableConcept"; -export type { Coding } from "../hl7-fhir-r4-examples/Coding"; -export type { ContactPoint } from "../hl7-fhir-r4-examples/ContactPoint"; -export type { Identifier } from "../hl7-fhir-r4-examples/Identifier"; -export type { Reference } from "../hl7-fhir-r4-examples/Reference"; - -export interface LocationHoursOfOperation extends BackboneElement { - allDay?: boolean; - closingTime?: string; - daysOfWeek?: ("mon" | "tue" | "wed" | "thu" | "fri" | "sat" | "sun")[]; - openingTime?: string; -} - -export interface LocationPosition extends BackboneElement { - altitude?: number; - latitude: number; - longitude: number; -} - -// 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 | null)[]; - availabilityExceptions?: string; - _availabilityExceptions?: Element; - description?: string; - _description?: Element; - endpoint?: Reference<"Endpoint">[]; - hoursOfOperation?: LocationHoursOfOperation[]; - identifier?: Identifier[]; - managingOrganization?: Reference<"Organization">; - mode?: ("instance" | "kind"); - _mode?: Element; - name?: string; - _name?: Element; - operationalStatus?: Coding<("C" | "H" | "I" | "K" | "O" | "U" | string)>; - partOf?: Reference<"Location">; - physicalType?: CodeableConcept; - position?: LocationPosition; - status?: ("active" | "suspended" | "inactive"); - _status?: Element; - telecom?: ContactPoint[]; - type?: CodeableConcept[]; -} -export const isLocation = (resource: unknown): resource is Location => { - return resource !== null && typeof resource === "object" && (resource as {resourceType: string}).resourceType === "Location"; -} 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 deleted file mode 100644 index a1dae1821..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/MarketingStatus.ts +++ /dev/null @@ -1,22 +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 { BackboneElement } from "../hl7-fhir-r4-examples/BackboneElement"; -import type { CodeableConcept } from "../hl7-fhir-r4-examples/CodeableConcept"; -import type { Period } from "../hl7-fhir-r4-examples/Period"; - -import type { Element } from "../hl7-fhir-r4-examples/Element"; -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 (pkg: hl7.fhir.r4.examples#4.0.1) -export interface MarketingStatus extends BackboneElement { - country: CodeableConcept; - dateRange: Period; - jurisdiction?: CodeableConcept; - restoreDate?: string; - _restoreDate?: Element; - status: CodeableConcept; -} 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 deleted file mode 100644 index 29bf94f01..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/Measure.ts +++ /dev/null @@ -1,132 +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 { BackboneElement } from "../hl7-fhir-r4-examples/BackboneElement"; -import type { CodeableConcept } from "../hl7-fhir-r4-examples/CodeableConcept"; -import type { ContactDetail } from "../hl7-fhir-r4-examples/ContactDetail"; -import type { DomainResource } from "../hl7-fhir-r4-examples/DomainResource"; -import type { Expression } from "../hl7-fhir-r4-examples/Expression"; -import type { Identifier } from "../hl7-fhir-r4-examples/Identifier"; -import type { Period } from "../hl7-fhir-r4-examples/Period"; -import type { Reference } from "../hl7-fhir-r4-examples/Reference"; -import type { RelatedArtifact } from "../hl7-fhir-r4-examples/RelatedArtifact"; -import type { UsageContext } from "../hl7-fhir-r4-examples/UsageContext"; - -import type { Element } from "../hl7-fhir-r4-examples/Element"; -export type { BackboneElement } from "../hl7-fhir-r4-examples/BackboneElement"; -export type { CodeableConcept } from "../hl7-fhir-r4-examples/CodeableConcept"; -export type { ContactDetail } from "../hl7-fhir-r4-examples/ContactDetail"; -export type { Expression } from "../hl7-fhir-r4-examples/Expression"; -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"; -export type { RelatedArtifact } from "../hl7-fhir-r4-examples/RelatedArtifact"; -export type { UsageContext } from "../hl7-fhir-r4-examples/UsageContext"; - -export interface MeasureGroup extends BackboneElement { - code?: CodeableConcept; - description?: string; - population?: MeasureGroupPopulation[]; - stratifier?: MeasureGroupStratifier[]; -} - -export interface MeasureGroupPopulation extends BackboneElement { - code?: CodeableConcept<("initial-population" | "numerator" | "numerator-exclusion" | "denominator" | "denominator-exclusion" | "denominator-exception" | "measure-population" | "measure-population-exclusion" | "measure-observation" | string)>; - criteria: Expression; - description?: string; -} - -export interface MeasureGroupStratifier extends BackboneElement { - code?: CodeableConcept; - component?: MeasureGroupStratifierComponent[]; - criteria?: Expression; - description?: string; -} - -export interface MeasureGroupStratifierComponent extends BackboneElement { - code?: CodeableConcept; - criteria: Expression; - description?: string; -} - -export interface MeasureSupplementalData extends BackboneElement { - code?: CodeableConcept; - criteria: Expression; - description?: string; - usage?: CodeableConcept<("supplemental-data" | "risk-adjustment-factor" | string)>[]; -} - -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/Measure (pkg: hl7.fhir.r4.examples#4.0.1) -export interface Measure extends DomainResource { - resourceType: "Measure"; - - approvalDate?: string; - _approvalDate?: Element; - author?: ContactDetail[]; - clinicalRecommendationStatement?: string; - _clinicalRecommendationStatement?: Element; - compositeScoring?: CodeableConcept<("opportunity" | "all-or-nothing" | "linear" | "weighted" | string)>; - contact?: ContactDetail[]; - copyright?: string; - _copyright?: Element; - date?: string; - _date?: Element; - definition?: string[]; - _definition?: (Element | null)[]; - description?: string; - _description?: Element; - disclaimer?: string; - _disclaimer?: Element; - editor?: ContactDetail[]; - effectivePeriod?: Period; - endorser?: ContactDetail[]; - experimental?: boolean; - _experimental?: Element; - group?: MeasureGroup[]; - guidance?: string; - _guidance?: Element; - identifier?: Identifier[]; - improvementNotation?: CodeableConcept<("increase" | "decrease")>; - jurisdiction?: CodeableConcept[]; - lastReviewDate?: string; - _lastReviewDate?: Element; - library?: string[]; - _library?: (Element | null)[]; - name?: string; - _name?: Element; - publisher?: string; - _publisher?: Element; - purpose?: string; - _purpose?: Element; - rateAggregation?: string; - _rateAggregation?: Element; - rationale?: string; - _rationale?: Element; - relatedArtifact?: RelatedArtifact[]; - reviewer?: ContactDetail[]; - riskAdjustment?: string; - _riskAdjustment?: Element; - scoring?: CodeableConcept<("proportion" | "ratio" | "continuous-variable" | "cohort" | string)>; - status: ("draft" | "active" | "retired" | "unknown"); - _status?: Element; - subjectCodeableConcept?: CodeableConcept; - subjectReference?: Reference<"Group">; - subtitle?: string; - _subtitle?: Element; - supplementalData?: MeasureSupplementalData[]; - title?: string; - _title?: Element; - topic?: CodeableConcept[]; - type?: CodeableConcept<("process" | "outcome" | "structure" | "patient-reported-outcome" | "composite" | string)>[]; - url?: string; - _url?: Element; - usage?: string; - _usage?: Element; - useContext?: UsageContext[]; - version?: string; - _version?: Element; -} -export const isMeasure = (resource: unknown): resource is Measure => { - return resource !== null && typeof resource === "object" && (resource as {resourceType: string}).resourceType === "Measure"; -} 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 deleted file mode 100644 index 54dc4bd50..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/MeasureReport.ts +++ /dev/null @@ -1,79 +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 { BackboneElement } from "../hl7-fhir-r4-examples/BackboneElement"; -import type { CodeableConcept } from "../hl7-fhir-r4-examples/CodeableConcept"; -import type { DomainResource } from "../hl7-fhir-r4-examples/DomainResource"; -import type { Identifier } from "../hl7-fhir-r4-examples/Identifier"; -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"; - -import type { Element } from "../hl7-fhir-r4-examples/Element"; -export type { BackboneElement } from "../hl7-fhir-r4-examples/BackboneElement"; -export type { CodeableConcept } from "../hl7-fhir-r4-examples/CodeableConcept"; -export type { Identifier } from "../hl7-fhir-r4-examples/Identifier"; -export type { Period } from "../hl7-fhir-r4-examples/Period"; -export type { Quantity } from "../hl7-fhir-r4-examples/Quantity"; -export type { Reference } from "../hl7-fhir-r4-examples/Reference"; - -export interface MeasureReportGroup extends BackboneElement { - code?: CodeableConcept; - measureScore?: Quantity; - population?: MeasureReportGroupPopulation[]; - stratifier?: MeasureReportGroupStratifier[]; -} - -export interface MeasureReportGroupPopulation extends BackboneElement { - 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">; -} - -export interface MeasureReportGroupStratifier extends BackboneElement { - code?: CodeableConcept[]; - stratum?: MeasureReportGroupStratifierStratum[]; -} - -export interface MeasureReportGroupStratifierStratum extends BackboneElement { - component?: MeasureReportGroupStratifierStratumComponent[]; - measureScore?: Quantity; - population?: MeasureReportGroupStratifierStratumPopulation[]; - value?: CodeableConcept; -} - -export interface MeasureReportGroupStratifierStratumComponent extends BackboneElement { - code: CodeableConcept; - value: CodeableConcept; -} - -export interface MeasureReportGroupStratifierStratumPopulation extends BackboneElement { - 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 (pkg: hl7.fhir.r4.examples#4.0.1) -export interface MeasureReport extends DomainResource { - resourceType: "MeasureReport"; - - date?: string; - _date?: Element; - evaluatedResource?: Reference<"Resource">[]; - group?: MeasureReportGroup[]; - identifier?: Identifier[]; - improvementNotation?: CodeableConcept<("increase" | "decrease")>; - measure: string; - _measure?: Element; - period: Period; - reporter?: Reference<"Location" | "Organization" | "Practitioner" | "PractitionerRole">; - status: ("complete" | "pending" | "error"); - _status?: Element; - subject?: Reference<"Device" | "Group" | "Location" | "Patient" | "Practitioner" | "PractitionerRole" | "RelatedPerson">; - type: ("individual" | "subject-list" | "summary" | "data-collection"); - _type?: Element; -} -export const isMeasureReport = (resource: unknown): resource is MeasureReport => { - return resource !== null && typeof resource === "object" && (resource as {resourceType: string}).resourceType === "MeasureReport"; -} 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 deleted file mode 100644 index 7f4b0ece7..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/Media.ts +++ /dev/null @@ -1,59 +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 { Annotation } from "../hl7-fhir-r4-examples/Annotation"; -import type { Attachment } from "../hl7-fhir-r4-examples/Attachment"; -import type { CodeableConcept } from "../hl7-fhir-r4-examples/CodeableConcept"; -import type { DomainResource } from "../hl7-fhir-r4-examples/DomainResource"; -import type { Identifier } from "../hl7-fhir-r4-examples/Identifier"; -import type { Period } from "../hl7-fhir-r4-examples/Period"; -import type { Reference } from "../hl7-fhir-r4-examples/Reference"; - -import type { Element } from "../hl7-fhir-r4-examples/Element"; -export type { Annotation } from "../hl7-fhir-r4-examples/Annotation"; -export type { Attachment } from "../hl7-fhir-r4-examples/Attachment"; -export type { CodeableConcept } from "../hl7-fhir-r4-examples/CodeableConcept"; -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 (pkg: hl7.fhir.r4.examples#4.0.1) -export interface Media extends DomainResource { - resourceType: "Media"; - - basedOn?: Reference<"CarePlan" | "ServiceRequest">[]; - bodySite?: CodeableConcept; - content: Attachment; - createdDateTime?: string; - _createdDateTime?: Element; - createdPeriod?: Period; - device?: Reference<"Device" | "DeviceMetric">; - deviceName?: string; - _deviceName?: Element; - duration?: number; - _duration?: Element; - encounter?: Reference<"Encounter">; - frames?: number; - _frames?: Element; - height?: number; - _height?: Element; - identifier?: Identifier[]; - issued?: string; - _issued?: Element; - modality?: CodeableConcept; - note?: Annotation[]; - operator?: Reference<"CareTeam" | "Device" | "Organization" | "Patient" | "Practitioner" | "PractitionerRole" | "RelatedPerson">; - partOf?: Reference<"Resource">[]; - reasonCode?: CodeableConcept[]; - 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<("image" | "video" | "audio" | string)>; - view?: CodeableConcept; - width?: number; - _width?: Element; -} -export const isMedia = (resource: unknown): resource is Media => { - return resource !== null && typeof resource === "object" && (resource as {resourceType: string}).resourceType === "Media"; -} 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 deleted file mode 100644 index bcc109df2..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/Medication.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 { BackboneElement } from "../hl7-fhir-r4-examples/BackboneElement"; -import type { CodeableConcept } from "../hl7-fhir-r4-examples/CodeableConcept"; -import type { DomainResource } from "../hl7-fhir-r4-examples/DomainResource"; -import type { Identifier } from "../hl7-fhir-r4-examples/Identifier"; -import type { Ratio } from "../hl7-fhir-r4-examples/Ratio"; -import type { Reference } from "../hl7-fhir-r4-examples/Reference"; - -import type { Element } from "../hl7-fhir-r4-examples/Element"; -export type { BackboneElement } from "../hl7-fhir-r4-examples/BackboneElement"; -export type { CodeableConcept } from "../hl7-fhir-r4-examples/CodeableConcept"; -export type { Identifier } from "../hl7-fhir-r4-examples/Identifier"; -export type { Ratio } from "../hl7-fhir-r4-examples/Ratio"; -export type { Reference } from "../hl7-fhir-r4-examples/Reference"; - -export interface MedicationBatch extends BackboneElement { - expirationDate?: string; - lotNumber?: string; -} - -export interface MedicationIngredient extends BackboneElement { - isActive?: boolean; - itemCodeableConcept?: CodeableConcept; - itemReference?: Reference<"Medication" | "Substance">; - strength?: Ratio; -} - -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/Medication (pkg: hl7.fhir.r4.examples#4.0.1) -export interface Medication extends DomainResource { - resourceType: "Medication"; - - amount?: Ratio; - batch?: MedicationBatch; - code?: CodeableConcept; - form?: CodeableConcept; - identifier?: Identifier[]; - ingredient?: MedicationIngredient[]; - manufacturer?: Reference<"Organization">; - status?: ("active" | "inactive" | "entered-in-error"); - _status?: Element; -} -export const isMedication = (resource: unknown): resource is Medication => { - return resource !== null && typeof resource === "object" && (resource as {resourceType: string}).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 deleted file mode 100644 index 12d66a278..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/MedicationAdministration.ts +++ /dev/null @@ -1,71 +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 { Annotation } from "../hl7-fhir-r4-examples/Annotation"; -import type { BackboneElement } from "../hl7-fhir-r4-examples/BackboneElement"; -import type { CodeableConcept } from "../hl7-fhir-r4-examples/CodeableConcept"; -import type { DomainResource } from "../hl7-fhir-r4-examples/DomainResource"; -import type { Identifier } from "../hl7-fhir-r4-examples/Identifier"; -import type { Period } from "../hl7-fhir-r4-examples/Period"; -import type { Quantity } from "../hl7-fhir-r4-examples/Quantity"; -import type { Ratio } from "../hl7-fhir-r4-examples/Ratio"; -import type { Reference } from "../hl7-fhir-r4-examples/Reference"; - -import type { Element } from "../hl7-fhir-r4-examples/Element"; -export type { Annotation } from "../hl7-fhir-r4-examples/Annotation"; -export type { BackboneElement } from "../hl7-fhir-r4-examples/BackboneElement"; -export type { CodeableConcept } from "../hl7-fhir-r4-examples/CodeableConcept"; -export type { Identifier } from "../hl7-fhir-r4-examples/Identifier"; -export type { Period } from "../hl7-fhir-r4-examples/Period"; -export type { Quantity } from "../hl7-fhir-r4-examples/Quantity"; -export type { Ratio } from "../hl7-fhir-r4-examples/Ratio"; -export type { Reference } from "../hl7-fhir-r4-examples/Reference"; - -export interface MedicationAdministrationDosage extends BackboneElement { - dose?: Quantity; - method?: CodeableConcept; - rateQuantity?: Quantity; - rateRatio?: Ratio; - route?: CodeableConcept; - site?: CodeableConcept; - text?: string; -} - -export interface MedicationAdministrationPerformer extends BackboneElement { - actor: Reference<"Device" | "Patient" | "Practitioner" | "PractitionerRole" | "RelatedPerson">; - "function"?: CodeableConcept; -} - -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/MedicationAdministration (pkg: hl7.fhir.r4.examples#4.0.1) -export interface MedicationAdministration extends DomainResource { - resourceType: "MedicationAdministration"; - - category?: CodeableConcept<("inpatient" | "outpatient" | "community" | string)>; - context?: Reference<"Encounter" | "EpisodeOfCare">; - device?: Reference<"Device">[]; - dosage?: MedicationAdministrationDosage; - effectiveDateTime?: string; - _effectiveDateTime?: Element; - effectivePeriod?: Period; - eventHistory?: Reference<"Provenance">[]; - identifier?: Identifier[]; - instantiates?: string[]; - _instantiates?: (Element | null)[]; - medicationCodeableConcept?: CodeableConcept; - medicationReference?: Reference<"Medication">; - note?: Annotation[]; - partOf?: Reference<"MedicationAdministration" | "Procedure">[]; - performer?: MedicationAdministrationPerformer[]; - reasonCode?: CodeableConcept[]; - reasonReference?: Reference<"Condition" | "DiagnosticReport" | "Observation">[]; - request?: Reference<"MedicationRequest">; - status: ("in-progress" | "not-done" | "on-hold" | "completed" | "entered-in-error" | "stopped" | "unknown"); - _status?: Element; - statusReason?: CodeableConcept[]; - subject: Reference<"Group" | "Patient">; - supportingInformation?: Reference<"Resource">[]; -} -export const isMedicationAdministration = (resource: unknown): resource is MedicationAdministration => { - return resource !== null && typeof resource === "object" && (resource as {resourceType: string}).resourceType === "MedicationAdministration"; -} 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 deleted file mode 100644 index ceadf1169..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/MedicationDispense.ts +++ /dev/null @@ -1,71 +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 { Annotation } from "../hl7-fhir-r4-examples/Annotation"; -import type { BackboneElement } from "../hl7-fhir-r4-examples/BackboneElement"; -import type { CodeableConcept } from "../hl7-fhir-r4-examples/CodeableConcept"; -import type { DomainResource } from "../hl7-fhir-r4-examples/DomainResource"; -import type { Dosage } from "../hl7-fhir-r4-examples/Dosage"; -import type { Identifier } from "../hl7-fhir-r4-examples/Identifier"; -import type { Quantity } from "../hl7-fhir-r4-examples/Quantity"; -import type { Reference } from "../hl7-fhir-r4-examples/Reference"; - -import type { Element } from "../hl7-fhir-r4-examples/Element"; -export type { Annotation } from "../hl7-fhir-r4-examples/Annotation"; -export type { BackboneElement } from "../hl7-fhir-r4-examples/BackboneElement"; -export type { CodeableConcept } from "../hl7-fhir-r4-examples/CodeableConcept"; -export type { Dosage } from "../hl7-fhir-r4-examples/Dosage"; -export type { Identifier } from "../hl7-fhir-r4-examples/Identifier"; -export type { Quantity } from "../hl7-fhir-r4-examples/Quantity"; -export type { Reference } from "../hl7-fhir-r4-examples/Reference"; - -export interface MedicationDispensePerformer extends BackboneElement { - actor: Reference<"Device" | "Organization" | "Patient" | "Practitioner" | "PractitionerRole" | "RelatedPerson">; - "function"?: CodeableConcept; -} - -export interface MedicationDispenseSubstitution extends BackboneElement { - reason?: CodeableConcept[]; - responsibleParty?: Reference<"Practitioner" | "PractitionerRole">[]; - type?: CodeableConcept; - wasSubstituted: boolean; -} - -// 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<("inpatient" | "outpatient" | "community" | "discharge" | string)>; - context?: Reference<"Encounter" | "EpisodeOfCare">; - daysSupply?: Quantity; - destination?: Reference<"Location">; - detectedIssue?: Reference<"DetectedIssue">[]; - dosageInstruction?: Dosage[]; - eventHistory?: Reference<"Provenance">[]; - identifier?: Identifier[]; - location?: Reference<"Location">; - medicationCodeableConcept?: CodeableConcept; - medicationReference?: Reference<"Medication">; - note?: Annotation[]; - partOf?: Reference<"Procedure">[]; - performer?: MedicationDispensePerformer[]; - quantity?: Quantity; - receiver?: Reference<"Patient" | "Practitioner">[]; - status: ("preparation" | "in-progress" | "cancelled" | "on-hold" | "completed" | "entered-in-error" | "stopped" | "declined" | "unknown"); - _status?: Element; - statusReasonCodeableConcept?: CodeableConcept; - statusReasonReference?: Reference<"DetectedIssue">; - subject?: Reference<"Group" | "Patient">; - substitution?: MedicationDispenseSubstitution; - supportingInformation?: Reference<"Resource">[]; - type?: CodeableConcept; - whenHandedOver?: string; - _whenHandedOver?: Element; - whenPrepared?: string; - _whenPrepared?: Element; -} -export const isMedicationDispense = (resource: unknown): resource is MedicationDispense => { - return resource !== null && typeof resource === "object" && (resource as {resourceType: string}).resourceType === "MedicationDispense"; -} 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 deleted file mode 100644 index 630b76082..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/MedicationKnowledge.ts +++ /dev/null @@ -1,148 +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 { BackboneElement } from "../hl7-fhir-r4-examples/BackboneElement"; -import type { CodeableConcept } from "../hl7-fhir-r4-examples/CodeableConcept"; -import type { DomainResource } from "../hl7-fhir-r4-examples/DomainResource"; -import type { Dosage } from "../hl7-fhir-r4-examples/Dosage"; -import type { Duration } from "../hl7-fhir-r4-examples/Duration"; -import type { Money } from "../hl7-fhir-r4-examples/Money"; -import type { Quantity } from "../hl7-fhir-r4-examples/Quantity"; -import type { Ratio } from "../hl7-fhir-r4-examples/Ratio"; -import type { Reference } from "../hl7-fhir-r4-examples/Reference"; - -import type { Element } from "../hl7-fhir-r4-examples/Element"; -export type { BackboneElement } from "../hl7-fhir-r4-examples/BackboneElement"; -export type { CodeableConcept } from "../hl7-fhir-r4-examples/CodeableConcept"; -export type { Dosage } from "../hl7-fhir-r4-examples/Dosage"; -export type { Duration } from "../hl7-fhir-r4-examples/Duration"; -export type { Money } from "../hl7-fhir-r4-examples/Money"; -export type { Quantity } from "../hl7-fhir-r4-examples/Quantity"; -export type { Ratio } from "../hl7-fhir-r4-examples/Ratio"; -export type { Reference } from "../hl7-fhir-r4-examples/Reference"; - -export interface MedicationKnowledgeAdministrationGuidelines extends BackboneElement { - dosage?: MedicationKnowledgeAdministrationGuidelinesDosage[]; - indicationCodeableConcept?: CodeableConcept; - indicationReference?: Reference<"ObservationDefinition">; - patientCharacteristics?: MedicationKnowledgeAdministrationGuidelinesPatientCharacteristics[]; -} - -export interface MedicationKnowledgeAdministrationGuidelinesDosage extends BackboneElement { - dosage: Dosage[]; - type: CodeableConcept; -} - -export interface MedicationKnowledgeAdministrationGuidelinesPatientCharacteristics extends BackboneElement { - characteristicCodeableConcept?: CodeableConcept; - characteristicQuantity?: Quantity; - value?: string[]; -} - -export interface MedicationKnowledgeCost extends BackboneElement { - cost: Money; - source?: string; - type: CodeableConcept; -} - -export interface MedicationKnowledgeDrugCharacteristic extends BackboneElement { - type?: CodeableConcept; - valueBase64Binary?: string; - valueCodeableConcept?: CodeableConcept; - valueQuantity?: Quantity; - valueString?: string; -} - -export interface MedicationKnowledgeIngredient extends BackboneElement { - isActive?: boolean; - itemCodeableConcept?: CodeableConcept; - itemReference?: Reference<"Substance">; - strength?: Ratio; -} - -export interface MedicationKnowledgeKinetics extends BackboneElement { - areaUnderCurve?: Quantity[]; - halfLifePeriod?: Duration; - lethalDose50?: Quantity[]; -} - -export interface MedicationKnowledgeMedicineClassification extends BackboneElement { - classification?: CodeableConcept[]; - type: CodeableConcept; -} - -export interface MedicationKnowledgeMonitoringProgram extends BackboneElement { - name?: string; - type?: CodeableConcept; -} - -export interface MedicationKnowledgeMonograph extends BackboneElement { - source?: Reference<"DocumentReference" | "Media">; - type?: CodeableConcept; -} - -export interface MedicationKnowledgePackaging extends BackboneElement { - quantity?: Quantity; - type?: CodeableConcept; -} - -export interface MedicationKnowledgeRegulatory extends BackboneElement { - maxDispense?: MedicationKnowledgeRegulatoryMaxDispense; - regulatoryAuthority: Reference<"Organization">; - schedule?: MedicationKnowledgeRegulatorySchedule[]; - substitution?: MedicationKnowledgeRegulatorySubstitution[]; -} - -export interface MedicationKnowledgeRegulatoryMaxDispense extends BackboneElement { - period?: Duration; - quantity: Quantity; -} - -export interface MedicationKnowledgeRegulatorySchedule extends BackboneElement { - schedule: CodeableConcept; -} - -export interface MedicationKnowledgeRegulatorySubstitution extends BackboneElement { - allowed: boolean; - type: CodeableConcept; -} - -export interface MedicationKnowledgeRelatedMedicationKnowledge extends BackboneElement { - reference: Reference<"MedicationKnowledge">[]; - type: CodeableConcept; -} - -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/MedicationKnowledge (pkg: hl7.fhir.r4.examples#4.0.1) -export interface MedicationKnowledge extends DomainResource { - resourceType: "MedicationKnowledge"; - - administrationGuidelines?: MedicationKnowledgeAdministrationGuidelines[]; - amount?: Quantity; - associatedMedication?: Reference<"Medication">[]; - code?: CodeableConcept; - contraindication?: Reference<"DetectedIssue">[]; - cost?: MedicationKnowledgeCost[]; - doseForm?: CodeableConcept; - drugCharacteristic?: MedicationKnowledgeDrugCharacteristic[]; - ingredient?: MedicationKnowledgeIngredient[]; - intendedRoute?: CodeableConcept[]; - kinetics?: MedicationKnowledgeKinetics[]; - manufacturer?: Reference<"Organization">; - medicineClassification?: MedicationKnowledgeMedicineClassification[]; - monitoringProgram?: MedicationKnowledgeMonitoringProgram[]; - monograph?: MedicationKnowledgeMonograph[]; - packaging?: MedicationKnowledgePackaging; - preparationInstruction?: string; - _preparationInstruction?: Element; - productType?: CodeableConcept[]; - regulatory?: MedicationKnowledgeRegulatory[]; - relatedMedicationKnowledge?: MedicationKnowledgeRelatedMedicationKnowledge[]; - status?: ("active" | "inactive" | "entered-in-error"); - _status?: Element; - synonym?: string[]; - _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 deleted file mode 100644 index 870598af3..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/MedicationRequest.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 { Annotation } from "../hl7-fhir-r4-examples/Annotation"; -import type { BackboneElement } from "../hl7-fhir-r4-examples/BackboneElement"; -import type { CodeableConcept } from "../hl7-fhir-r4-examples/CodeableConcept"; -import type { DomainResource } from "../hl7-fhir-r4-examples/DomainResource"; -import type { Dosage } from "../hl7-fhir-r4-examples/Dosage"; -import type { Duration } from "../hl7-fhir-r4-examples/Duration"; -import type { Identifier } from "../hl7-fhir-r4-examples/Identifier"; -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"; - -import type { Element } from "../hl7-fhir-r4-examples/Element"; -export type { Annotation } from "../hl7-fhir-r4-examples/Annotation"; -export type { BackboneElement } from "../hl7-fhir-r4-examples/BackboneElement"; -export type { CodeableConcept } from "../hl7-fhir-r4-examples/CodeableConcept"; -export type { Dosage } from "../hl7-fhir-r4-examples/Dosage"; -export type { Duration } from "../hl7-fhir-r4-examples/Duration"; -export type { Identifier } from "../hl7-fhir-r4-examples/Identifier"; -export type { Period } from "../hl7-fhir-r4-examples/Period"; -export type { Quantity } from "../hl7-fhir-r4-examples/Quantity"; -export type { Reference } from "../hl7-fhir-r4-examples/Reference"; - -export interface MedicationRequestDispenseRequest extends BackboneElement { - dispenseInterval?: Duration; - expectedSupplyDuration?: Duration; - initialFill?: MedicationRequestDispenseRequestInitialFill; - numberOfRepeatsAllowed?: number; - performer?: Reference<"Organization">; - quantity?: Quantity; - validityPeriod?: Period; -} - -export interface MedicationRequestDispenseRequestInitialFill extends BackboneElement { - duration?: Duration; - quantity?: Quantity; -} - -export interface MedicationRequestSubstitution extends BackboneElement { - allowedBoolean?: boolean; - allowedCodeableConcept?: CodeableConcept; - reason?: CodeableConcept; -} - -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/MedicationRequest (pkg: hl7.fhir.r4.examples#4.0.1) -export interface MedicationRequest extends DomainResource { - resourceType: "MedicationRequest"; - - authoredOn?: string; - _authoredOn?: Element; - basedOn?: Reference<"CarePlan" | "ImmunizationRecommendation" | "MedicationRequest" | "ServiceRequest">[]; - category?: CodeableConcept[]; - courseOfTherapyType?: CodeableConcept; - detectedIssue?: Reference<"DetectedIssue">[]; - dispenseRequest?: MedicationRequestDispenseRequest; - doNotPerform?: boolean; - _doNotPerform?: Element; - dosageInstruction?: Dosage[]; - encounter?: Reference<"Encounter">; - eventHistory?: Reference<"Provenance">[]; - groupIdentifier?: Identifier; - identifier?: Identifier[]; - instantiatesCanonical?: string[]; - _instantiatesCanonical?: (Element | null)[]; - instantiatesUri?: string[]; - _instantiatesUri?: (Element | null)[]; - insurance?: Reference<"ClaimResponse" | "Coverage">[]; - intent: ("proposal" | "plan" | "order" | "original-order" | "reflex-order" | "filler-order" | "instance-order" | "option"); - _intent?: Element; - medicationCodeableConcept?: CodeableConcept; - medicationReference?: Reference<"Medication">; - note?: Annotation[]; - performer?: Reference<"CareTeam" | "Device" | "Organization" | "Patient" | "Practitioner" | "PractitionerRole" | "RelatedPerson">; - performerType?: CodeableConcept; - priority?: ("routine" | "urgent" | "asap" | "stat"); - _priority?: Element; - priorPrescription?: Reference<"MedicationRequest">; - reasonCode?: CodeableConcept[]; - reasonReference?: Reference<"Condition" | "Observation">[]; - recorder?: Reference<"Practitioner" | "PractitionerRole">; - reportedBoolean?: boolean; - _reportedBoolean?: Element; - reportedReference?: Reference<"Organization" | "Patient" | "Practitioner" | "PractitionerRole" | "RelatedPerson">; - requester?: Reference<"Device" | "Organization" | "Patient" | "Practitioner" | "PractitionerRole" | "RelatedPerson">; - status: ("active" | "on-hold" | "cancelled" | "completed" | "entered-in-error" | "stopped" | "draft" | "unknown"); - _status?: Element; - statusReason?: CodeableConcept; - subject: Reference<"Group" | "Patient">; - substitution?: MedicationRequestSubstitution; - supportingInformation?: Reference<"Resource">[]; -} -export const isMedicationRequest = (resource: unknown): resource is MedicationRequest => { - return resource !== null && typeof resource === "object" && (resource as {resourceType: string}).resourceType === "MedicationRequest"; -} 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 deleted file mode 100644 index 159eec0ba..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/MedicationStatement.ts +++ /dev/null @@ -1,50 +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 { Annotation } from "../hl7-fhir-r4-examples/Annotation"; -import type { CodeableConcept } from "../hl7-fhir-r4-examples/CodeableConcept"; -import type { DomainResource } from "../hl7-fhir-r4-examples/DomainResource"; -import type { Dosage } from "../hl7-fhir-r4-examples/Dosage"; -import type { Identifier } from "../hl7-fhir-r4-examples/Identifier"; -import type { Period } from "../hl7-fhir-r4-examples/Period"; -import type { Reference } from "../hl7-fhir-r4-examples/Reference"; - -import type { Element } from "../hl7-fhir-r4-examples/Element"; -export type { Annotation } from "../hl7-fhir-r4-examples/Annotation"; -export type { CodeableConcept } from "../hl7-fhir-r4-examples/CodeableConcept"; -export type { Dosage } from "../hl7-fhir-r4-examples/Dosage"; -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 (pkg: hl7.fhir.r4.examples#4.0.1) -export interface MedicationStatement extends DomainResource { - resourceType: "MedicationStatement"; - - basedOn?: Reference<"CarePlan" | "MedicationRequest" | "ServiceRequest">[]; - category?: CodeableConcept<("inpatient" | "outpatient" | "community" | "patientspecified" | string)>; - context?: Reference<"Encounter" | "EpisodeOfCare">; - dateAsserted?: string; - _dateAsserted?: Element; - derivedFrom?: Reference<"Resource">[]; - dosage?: Dosage[]; - effectiveDateTime?: string; - _effectiveDateTime?: Element; - effectivePeriod?: Period; - identifier?: Identifier[]; - informationSource?: Reference<"Organization" | "Patient" | "Practitioner" | "PractitionerRole" | "RelatedPerson">; - medicationCodeableConcept?: CodeableConcept; - medicationReference?: Reference<"Medication">; - note?: Annotation[]; - partOf?: Reference<"MedicationAdministration" | "MedicationDispense" | "MedicationStatement" | "Observation" | "Procedure">[]; - reasonCode?: CodeableConcept[]; - reasonReference?: Reference<"Condition" | "DiagnosticReport" | "Observation">[]; - status: ("active" | "completed" | "entered-in-error" | "intended" | "stopped" | "on-hold" | "unknown" | "not-taken"); - _status?: Element; - statusReason?: CodeableConcept[]; - subject: Reference<"Group" | "Patient">; -} -export const isMedicationStatement = (resource: unknown): resource is MedicationStatement => { - return resource !== null && typeof resource === "object" && (resource as {resourceType: string}).resourceType === "MedicationStatement"; -} 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 deleted file mode 100644 index 31841c69c..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/MedicinalProduct.ts +++ /dev/null @@ -1,86 +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 { BackboneElement } from "../hl7-fhir-r4-examples/BackboneElement"; -import type { CodeableConcept } from "../hl7-fhir-r4-examples/CodeableConcept"; -import type { Coding } from "../hl7-fhir-r4-examples/Coding"; -import type { DomainResource } from "../hl7-fhir-r4-examples/DomainResource"; -import type { Identifier } from "../hl7-fhir-r4-examples/Identifier"; -import type { MarketingStatus } from "../hl7-fhir-r4-examples/MarketingStatus"; -import type { Reference } from "../hl7-fhir-r4-examples/Reference"; - -import type { Element } from "../hl7-fhir-r4-examples/Element"; -export type { BackboneElement } from "../hl7-fhir-r4-examples/BackboneElement"; -export type { CodeableConcept } from "../hl7-fhir-r4-examples/CodeableConcept"; -export type { Coding } from "../hl7-fhir-r4-examples/Coding"; -export type { Identifier } from "../hl7-fhir-r4-examples/Identifier"; -export type { MarketingStatus } from "../hl7-fhir-r4-examples/MarketingStatus"; -export type { Reference } from "../hl7-fhir-r4-examples/Reference"; - -export interface MedicinalProductManufacturingBusinessOperation extends BackboneElement { - authorisationReferenceNumber?: Identifier; - confidentialityIndicator?: CodeableConcept; - effectiveDate?: string; - manufacturer?: Reference<"Organization">[]; - operationType?: CodeableConcept; - regulator?: Reference<"Organization">; -} - -export interface MedicinalProductName extends BackboneElement { - countryLanguage?: MedicinalProductNameCountryLanguage[]; - namePart?: MedicinalProductNameNamePart[]; - productName: string; -} - -export interface MedicinalProductNameCountryLanguage extends BackboneElement { - country: CodeableConcept; - jurisdiction?: CodeableConcept; - language: CodeableConcept; -} - -export interface MedicinalProductNameNamePart extends BackboneElement { - part: string; - type: Coding; -} - -export interface MedicinalProductSpecialDesignation extends BackboneElement { - date?: string; - identifier?: Identifier[]; - indicationCodeableConcept?: CodeableConcept; - indicationReference?: Reference<"MedicinalProductIndication">; - intendedUse?: CodeableConcept; - species?: CodeableConcept; - status?: CodeableConcept; - type?: CodeableConcept; -} - -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/MedicinalProduct (pkg: hl7.fhir.r4.examples#4.0.1) -export interface MedicinalProduct extends DomainResource { - resourceType: "MedicinalProduct"; - - additionalMonitoringIndicator?: CodeableConcept; - attachedDocument?: Reference<"DocumentReference">[]; - clinicalTrial?: Reference<"ResearchStudy">[]; - combinedPharmaceuticalDoseForm?: CodeableConcept; - contact?: Reference<"Organization" | "PractitionerRole">[]; - crossReference?: Identifier[]; - domain?: Coding; - identifier?: Identifier[]; - legalStatusOfSupply?: CodeableConcept; - manufacturingBusinessOperation?: MedicinalProductManufacturingBusinessOperation[]; - marketingStatus?: MarketingStatus[]; - masterFile?: Reference<"DocumentReference">[]; - name: MedicinalProductName[]; - packagedMedicinalProduct?: Reference<"MedicinalProductPackaged">[]; - paediatricUseIndicator?: CodeableConcept; - pharmaceuticalProduct?: Reference<"MedicinalProductPharmaceutical">[]; - productClassification?: CodeableConcept[]; - specialDesignation?: MedicinalProductSpecialDesignation[]; - specialMeasures?: string[]; - _specialMeasures?: (Element | null)[]; - type?: CodeableConcept; -} -export const isMedicinalProduct = (resource: unknown): resource is MedicinalProduct => { - return resource !== null && typeof resource === "object" && (resource as {resourceType: string}).resourceType === "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 deleted file mode 100644 index f35bf0260..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/MedicinalProductAuthorization.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 { BackboneElement } from "../hl7-fhir-r4-examples/BackboneElement"; -import type { CodeableConcept } from "../hl7-fhir-r4-examples/CodeableConcept"; -import type { DomainResource } from "../hl7-fhir-r4-examples/DomainResource"; -import type { Identifier } from "../hl7-fhir-r4-examples/Identifier"; -import type { Period } from "../hl7-fhir-r4-examples/Period"; -import type { Reference } from "../hl7-fhir-r4-examples/Reference"; - -import type { Element } from "../hl7-fhir-r4-examples/Element"; -export type { BackboneElement } from "../hl7-fhir-r4-examples/BackboneElement"; -export type { CodeableConcept } from "../hl7-fhir-r4-examples/CodeableConcept"; -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"; - -export interface MedicinalProductAuthorizationJurisdictionalAuthorization extends BackboneElement { - country?: CodeableConcept; - identifier?: Identifier[]; - jurisdiction?: CodeableConcept[]; - legalStatusOfSupply?: CodeableConcept; - validityPeriod?: Period; -} - -export interface MedicinalProductAuthorizationProcedure extends BackboneElement { - application?: MedicinalProductAuthorizationProcedure[]; - dateDateTime?: string; - datePeriod?: Period; - identifier?: Identifier; - type: CodeableConcept; -} - -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/MedicinalProductAuthorization (pkg: hl7.fhir.r4.examples#4.0.1) -export interface MedicinalProductAuthorization extends DomainResource { - resourceType: "MedicinalProductAuthorization"; - - country?: CodeableConcept[]; - dataExclusivityPeriod?: Period; - dateOfFirstAuthorization?: string; - _dateOfFirstAuthorization?: Element; - holder?: Reference<"Organization">; - identifier?: Identifier[]; - internationalBirthDate?: string; - _internationalBirthDate?: Element; - jurisdiction?: CodeableConcept[]; - jurisdictionalAuthorization?: MedicinalProductAuthorizationJurisdictionalAuthorization[]; - legalBasis?: CodeableConcept; - procedure?: MedicinalProductAuthorizationProcedure; - regulator?: Reference<"Organization">; - restoreDate?: string; - _restoreDate?: Element; - status?: CodeableConcept; - statusDate?: string; - _statusDate?: Element; - subject?: Reference<"MedicinalProduct" | "MedicinalProductPackaged">; - validityPeriod?: Period; -} -export const isMedicinalProductAuthorization = (resource: unknown): resource is MedicinalProductAuthorization => { - return resource !== null && typeof resource === "object" && (resource as {resourceType: string}).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 deleted file mode 100644 index 67d89b757..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/MedicinalProductContraindication.ts +++ /dev/null @@ -1,36 +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 { BackboneElement } from "../hl7-fhir-r4-examples/BackboneElement"; -import type { CodeableConcept } from "../hl7-fhir-r4-examples/CodeableConcept"; -import type { DomainResource } from "../hl7-fhir-r4-examples/DomainResource"; -import type { Population } from "../hl7-fhir-r4-examples/Population"; -import type { Reference } from "../hl7-fhir-r4-examples/Reference"; - -export type { BackboneElement } from "../hl7-fhir-r4-examples/BackboneElement"; -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"; - -export interface MedicinalProductContraindicationOtherTherapy extends BackboneElement { - medicationCodeableConcept?: CodeableConcept; - medicationReference?: Reference<"Medication" | "MedicinalProduct" | "Substance" | "SubstanceSpecification">; - therapyRelationshipType: CodeableConcept; -} - -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/MedicinalProductContraindication (pkg: hl7.fhir.r4.examples#4.0.1) -export interface MedicinalProductContraindication extends DomainResource { - resourceType: "MedicinalProductContraindication"; - - comorbidity?: CodeableConcept[]; - disease?: CodeableConcept; - diseaseStatus?: CodeableConcept; - otherTherapy?: MedicinalProductContraindicationOtherTherapy[]; - population?: Population[]; - subject?: Reference<"Medication" | "MedicinalProduct">[]; - therapeuticIndication?: Reference<"MedicinalProductIndication">[]; -} -export const isMedicinalProductContraindication = (resource: unknown): resource is MedicinalProductContraindication => { - return resource !== null && typeof resource === "object" && (resource as {resourceType: string}).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 deleted file mode 100644 index ca5b31fe5..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/MedicinalProductIndication.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 { BackboneElement } from "../hl7-fhir-r4-examples/BackboneElement"; -import type { CodeableConcept } from "../hl7-fhir-r4-examples/CodeableConcept"; -import type { DomainResource } from "../hl7-fhir-r4-examples/DomainResource"; -import type { Population } from "../hl7-fhir-r4-examples/Population"; -import type { Quantity } from "../hl7-fhir-r4-examples/Quantity"; -import type { Reference } from "../hl7-fhir-r4-examples/Reference"; - -export type { BackboneElement } from "../hl7-fhir-r4-examples/BackboneElement"; -export type { CodeableConcept } from "../hl7-fhir-r4-examples/CodeableConcept"; -export type { Population } from "../hl7-fhir-r4-examples/Population"; -export type { Quantity } from "../hl7-fhir-r4-examples/Quantity"; -export type { Reference } from "../hl7-fhir-r4-examples/Reference"; - -export interface MedicinalProductIndicationOtherTherapy extends BackboneElement { - medicationCodeableConcept?: CodeableConcept; - medicationReference?: Reference<"Medication" | "MedicinalProduct" | "Substance" | "SubstanceSpecification">; - therapyRelationshipType: CodeableConcept; -} - -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/MedicinalProductIndication (pkg: hl7.fhir.r4.examples#4.0.1) -export interface MedicinalProductIndication extends DomainResource { - resourceType: "MedicinalProductIndication"; - - comorbidity?: CodeableConcept[]; - diseaseStatus?: CodeableConcept; - diseaseSymptomProcedure?: CodeableConcept; - duration?: Quantity; - intendedEffect?: CodeableConcept; - otherTherapy?: MedicinalProductIndicationOtherTherapy[]; - population?: Population[]; - subject?: Reference<"Medication" | "MedicinalProduct">[]; - undesirableEffect?: Reference<"MedicinalProductUndesirableEffect">[]; -} -export const isMedicinalProductIndication = (resource: unknown): resource is MedicinalProductIndication => { - return resource !== null && typeof resource === "object" && (resource as {resourceType: string}).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 deleted file mode 100644 index 0d313fa34..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/MedicinalProductIngredient.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 { BackboneElement } from "../hl7-fhir-r4-examples/BackboneElement"; -import type { CodeableConcept } from "../hl7-fhir-r4-examples/CodeableConcept"; -import type { DomainResource } from "../hl7-fhir-r4-examples/DomainResource"; -import type { Identifier } from "../hl7-fhir-r4-examples/Identifier"; -import type { Ratio } from "../hl7-fhir-r4-examples/Ratio"; -import type { Reference } from "../hl7-fhir-r4-examples/Reference"; - -import type { Element } from "../hl7-fhir-r4-examples/Element"; -export type { BackboneElement } from "../hl7-fhir-r4-examples/BackboneElement"; -export type { CodeableConcept } from "../hl7-fhir-r4-examples/CodeableConcept"; -export type { Identifier } from "../hl7-fhir-r4-examples/Identifier"; -export type { Ratio } from "../hl7-fhir-r4-examples/Ratio"; -export type { Reference } from "../hl7-fhir-r4-examples/Reference"; - -export interface MedicinalProductIngredientSpecifiedSubstance extends BackboneElement { - code: CodeableConcept; - confidentiality?: CodeableConcept; - group: CodeableConcept; - strength?: MedicinalProductIngredientSpecifiedSubstanceStrength[]; -} - -export interface MedicinalProductIngredientSpecifiedSubstanceStrength extends BackboneElement { - concentration?: Ratio; - concentrationLowLimit?: Ratio; - country?: CodeableConcept[]; - measurementPoint?: string; - presentation: Ratio; - presentationLowLimit?: Ratio; - referenceStrength?: MedicinalProductIngredientSpecifiedSubstanceStrengthReferenceStrength[]; -} - -export interface MedicinalProductIngredientSpecifiedSubstanceStrengthReferenceStrength extends BackboneElement { - country?: CodeableConcept[]; - measurementPoint?: string; - strength: Ratio; - strengthLowLimit?: Ratio; - substance?: CodeableConcept; -} - -export interface MedicinalProductIngredientSubstance extends BackboneElement { - code: CodeableConcept; - strength?: MedicinalProductIngredientSpecifiedSubstanceStrength[]; -} - -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/MedicinalProductIngredient (pkg: hl7.fhir.r4.examples#4.0.1) -export interface MedicinalProductIngredient extends DomainResource { - resourceType: "MedicinalProductIngredient"; - - allergenicIndicator?: boolean; - _allergenicIndicator?: Element; - identifier?: Identifier; - manufacturer?: Reference<"Organization">[]; - role: CodeableConcept; - specifiedSubstance?: MedicinalProductIngredientSpecifiedSubstance[]; - substance?: MedicinalProductIngredientSubstance; -} -export const isMedicinalProductIngredient = (resource: unknown): resource is MedicinalProductIngredient => { - return resource !== null && typeof resource === "object" && (resource as {resourceType: string}).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 deleted file mode 100644 index 1c6377b27..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/MedicinalProductInteraction.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 { BackboneElement } from "../hl7-fhir-r4-examples/BackboneElement"; -import type { CodeableConcept } from "../hl7-fhir-r4-examples/CodeableConcept"; -import type { DomainResource } from "../hl7-fhir-r4-examples/DomainResource"; -import type { Reference } from "../hl7-fhir-r4-examples/Reference"; - -import type { Element } from "../hl7-fhir-r4-examples/Element"; -export type { BackboneElement } from "../hl7-fhir-r4-examples/BackboneElement"; -export type { CodeableConcept } from "../hl7-fhir-r4-examples/CodeableConcept"; -export type { Reference } from "../hl7-fhir-r4-examples/Reference"; - -export interface MedicinalProductInteractionInteractant extends BackboneElement { - itemCodeableConcept?: CodeableConcept; - itemReference?: Reference<"Medication" | "MedicinalProduct" | "ObservationDefinition" | "Substance">; -} - -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/MedicinalProductInteraction (pkg: hl7.fhir.r4.examples#4.0.1) -export interface MedicinalProductInteraction extends DomainResource { - resourceType: "MedicinalProductInteraction"; - - description?: string; - _description?: Element; - effect?: CodeableConcept; - incidence?: CodeableConcept; - interactant?: MedicinalProductInteractionInteractant[]; - management?: CodeableConcept; - subject?: Reference<"Medication" | "MedicinalProduct" | "Substance">[]; - type?: CodeableConcept; -} -export const isMedicinalProductInteraction = (resource: unknown): resource is MedicinalProductInteraction => { - return resource !== null && typeof resource === "object" && (resource as {resourceType: string}).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 deleted file mode 100644 index 89288c386..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/MedicinalProductManufactured.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 { CodeableConcept } from "../hl7-fhir-r4-examples/CodeableConcept"; -import type { DomainResource } from "../hl7-fhir-r4-examples/DomainResource"; -import type { ProdCharacteristic } from "../hl7-fhir-r4-examples/ProdCharacteristic"; -import type { Quantity } from "../hl7-fhir-r4-examples/Quantity"; -import type { Reference } from "../hl7-fhir-r4-examples/Reference"; - -export type { CodeableConcept } from "../hl7-fhir-r4-examples/CodeableConcept"; -export type { ProdCharacteristic } from "../hl7-fhir-r4-examples/ProdCharacteristic"; -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 (pkg: hl7.fhir.r4.examples#4.0.1) -export interface MedicinalProductManufactured extends DomainResource { - resourceType: "MedicinalProductManufactured"; - - ingredient?: Reference<"MedicinalProductIngredient">[]; - manufacturedDoseForm: CodeableConcept; - manufacturer?: Reference<"Organization">[]; - otherCharacteristics?: CodeableConcept[]; - physicalCharacteristics?: ProdCharacteristic; - quantity: Quantity; - unitOfPresentation?: CodeableConcept; -} -export const isMedicinalProductManufactured = (resource: unknown): resource is MedicinalProductManufactured => { - return resource !== null && typeof resource === "object" && (resource as {resourceType: string}).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 deleted file mode 100644 index 79076b39c..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/MedicinalProductPackaged.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 { BackboneElement } from "../hl7-fhir-r4-examples/BackboneElement"; -import type { CodeableConcept } from "../hl7-fhir-r4-examples/CodeableConcept"; -import type { DomainResource } from "../hl7-fhir-r4-examples/DomainResource"; -import type { Identifier } from "../hl7-fhir-r4-examples/Identifier"; -import type { MarketingStatus } from "../hl7-fhir-r4-examples/MarketingStatus"; -import type { ProdCharacteristic } from "../hl7-fhir-r4-examples/ProdCharacteristic"; -import type { ProductShelfLife } from "../hl7-fhir-r4-examples/ProductShelfLife"; -import type { Quantity } from "../hl7-fhir-r4-examples/Quantity"; -import type { Reference } from "../hl7-fhir-r4-examples/Reference"; - -import type { Element } from "../hl7-fhir-r4-examples/Element"; -export type { BackboneElement } from "../hl7-fhir-r4-examples/BackboneElement"; -export type { CodeableConcept } from "../hl7-fhir-r4-examples/CodeableConcept"; -export type { Identifier } from "../hl7-fhir-r4-examples/Identifier"; -export type { MarketingStatus } from "../hl7-fhir-r4-examples/MarketingStatus"; -export type { ProdCharacteristic } from "../hl7-fhir-r4-examples/ProdCharacteristic"; -export type { ProductShelfLife } from "../hl7-fhir-r4-examples/ProductShelfLife"; -export type { Quantity } from "../hl7-fhir-r4-examples/Quantity"; -export type { Reference } from "../hl7-fhir-r4-examples/Reference"; - -export interface MedicinalProductPackagedBatchIdentifier extends BackboneElement { - immediatePackaging?: Identifier; - outerPackaging: Identifier; -} - -export interface MedicinalProductPackagedPackageItem extends BackboneElement { - alternateMaterial?: CodeableConcept[]; - device?: Reference<"DeviceDefinition">[]; - identifier?: Identifier[]; - manufacturedItem?: Reference<"MedicinalProductManufactured">[]; - manufacturer?: Reference<"Organization">[]; - material?: CodeableConcept[]; - otherCharacteristics?: CodeableConcept[]; - packageItem?: MedicinalProductPackagedPackageItem[]; - physicalCharacteristics?: ProdCharacteristic; - quantity: Quantity; - shelfLifeStorage?: ProductShelfLife[]; - type: CodeableConcept; -} - -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/MedicinalProductPackaged (pkg: hl7.fhir.r4.examples#4.0.1) -export interface MedicinalProductPackaged extends DomainResource { - resourceType: "MedicinalProductPackaged"; - - batchIdentifier?: MedicinalProductPackagedBatchIdentifier[]; - description?: string; - _description?: Element; - identifier?: Identifier[]; - legalStatusOfSupply?: CodeableConcept; - manufacturer?: Reference<"Organization">[]; - marketingAuthorization?: Reference<"MedicinalProductAuthorization">; - marketingStatus?: MarketingStatus[]; - packageItem: MedicinalProductPackagedPackageItem[]; - subject?: Reference<"MedicinalProduct">[]; -} -export const isMedicinalProductPackaged = (resource: unknown): resource is MedicinalProductPackaged => { - return resource !== null && typeof resource === "object" && (resource as {resourceType: string}).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 deleted file mode 100644 index 097aa7028..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/MedicinalProductPharmaceutical.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 { BackboneElement } from "../hl7-fhir-r4-examples/BackboneElement"; -import type { CodeableConcept } from "../hl7-fhir-r4-examples/CodeableConcept"; -import type { DomainResource } from "../hl7-fhir-r4-examples/DomainResource"; -import type { Duration } from "../hl7-fhir-r4-examples/Duration"; -import type { Identifier } from "../hl7-fhir-r4-examples/Identifier"; -import type { Quantity } from "../hl7-fhir-r4-examples/Quantity"; -import type { Ratio } from "../hl7-fhir-r4-examples/Ratio"; -import type { Reference } from "../hl7-fhir-r4-examples/Reference"; - -export type { BackboneElement } from "../hl7-fhir-r4-examples/BackboneElement"; -export type { CodeableConcept } from "../hl7-fhir-r4-examples/CodeableConcept"; -export type { Duration } from "../hl7-fhir-r4-examples/Duration"; -export type { Identifier } from "../hl7-fhir-r4-examples/Identifier"; -export type { Quantity } from "../hl7-fhir-r4-examples/Quantity"; -export type { Ratio } from "../hl7-fhir-r4-examples/Ratio"; -export type { Reference } from "../hl7-fhir-r4-examples/Reference"; - -export interface MedicinalProductPharmaceuticalCharacteristics extends BackboneElement { - code: CodeableConcept; - status?: CodeableConcept; -} - -export interface MedicinalProductPharmaceuticalRouteOfAdministration extends BackboneElement { - code: CodeableConcept; - firstDose?: Quantity; - maxDosePerDay?: Quantity; - maxDosePerTreatmentPeriod?: Ratio; - maxSingleDose?: Quantity; - maxTreatmentPeriod?: Duration; - targetSpecies?: MedicinalProductPharmaceuticalRouteOfAdministrationTargetSpecies[]; -} - -export interface MedicinalProductPharmaceuticalRouteOfAdministrationTargetSpecies extends BackboneElement { - code: CodeableConcept; - withdrawalPeriod?: MedicinalProductPharmaceuticalRouteOfAdministrationTargetSpeciesWithdrawalPeriod[]; -} - -export interface MedicinalProductPharmaceuticalRouteOfAdministrationTargetSpeciesWithdrawalPeriod extends BackboneElement { - supportingInformation?: string; - tissue: CodeableConcept; - value: Quantity; -} - -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/MedicinalProductPharmaceutical (pkg: hl7.fhir.r4.examples#4.0.1) -export interface MedicinalProductPharmaceutical extends DomainResource { - resourceType: "MedicinalProductPharmaceutical"; - - administrableDoseForm: CodeableConcept; - characteristics?: MedicinalProductPharmaceuticalCharacteristics[]; - device?: Reference<"DeviceDefinition">[]; - identifier?: Identifier[]; - ingredient?: Reference<"MedicinalProductIngredient">[]; - routeOfAdministration: MedicinalProductPharmaceuticalRouteOfAdministration[]; - unitOfPresentation?: CodeableConcept; -} -export const isMedicinalProductPharmaceutical = (resource: unknown): resource is MedicinalProductPharmaceutical => { - return resource !== null && typeof resource === "object" && (resource as {resourceType: string}).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 deleted file mode 100644 index ce75bd27e..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/MedicinalProductUndesirableEffect.ts +++ /dev/null @@ -1,26 +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 { DomainResource } from "../hl7-fhir-r4-examples/DomainResource"; -import type { Population } from "../hl7-fhir-r4-examples/Population"; -import type { Reference } from "../hl7-fhir-r4-examples/Reference"; - -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 (pkg: hl7.fhir.r4.examples#4.0.1) -export interface MedicinalProductUndesirableEffect extends DomainResource { - resourceType: "MedicinalProductUndesirableEffect"; - - classification?: CodeableConcept; - frequencyOfOccurrence?: CodeableConcept; - population?: Population[]; - subject?: Reference<"Medication" | "MedicinalProduct">[]; - symptomConditionEffect?: CodeableConcept; -} -export const isMedicinalProductUndesirableEffect = (resource: unknown): resource is MedicinalProductUndesirableEffect => { - return resource !== null && typeof resource === "object" && (resource as {resourceType: string}).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 deleted file mode 100644 index 2ce13f945..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/MessageDefinition.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 { BackboneElement } from "../hl7-fhir-r4-examples/BackboneElement"; -import type { CodeableConcept } from "../hl7-fhir-r4-examples/CodeableConcept"; -import type { Coding } from "../hl7-fhir-r4-examples/Coding"; -import type { ContactDetail } from "../hl7-fhir-r4-examples/ContactDetail"; -import type { DomainResource } from "../hl7-fhir-r4-examples/DomainResource"; -import type { Identifier } from "../hl7-fhir-r4-examples/Identifier"; -import type { UsageContext } from "../hl7-fhir-r4-examples/UsageContext"; - -import type { Element } from "../hl7-fhir-r4-examples/Element"; -export type { BackboneElement } from "../hl7-fhir-r4-examples/BackboneElement"; -export type { CodeableConcept } from "../hl7-fhir-r4-examples/CodeableConcept"; -export type { Coding } from "../hl7-fhir-r4-examples/Coding"; -export type { ContactDetail } from "../hl7-fhir-r4-examples/ContactDetail"; -export type { Identifier } from "../hl7-fhir-r4-examples/Identifier"; -export type { UsageContext } from "../hl7-fhir-r4-examples/UsageContext"; - -export interface MessageDefinitionAllowedResponse extends BackboneElement { - message: string; - situation?: string; -} - -export interface MessageDefinitionFocus extends BackboneElement { - code: string; - max?: string; - min: number; - profile?: string; -} - -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/MessageDefinition (pkg: hl7.fhir.r4.examples#4.0.1) -export interface MessageDefinition extends DomainResource { - resourceType: "MessageDefinition"; - - allowedResponse?: MessageDefinitionAllowedResponse[]; - base?: string; - _base?: Element; - category?: ("consequence" | "currency" | "notification"); - _category?: Element; - contact?: ContactDetail[]; - copyright?: string; - _copyright?: Element; - date: string; - _date?: Element; - description?: string; - _description?: Element; - eventCoding?: Coding; - eventUri?: string; - _eventUri?: Element; - experimental?: boolean; - _experimental?: Element; - focus?: MessageDefinitionFocus[]; - graph?: string[]; - _graph?: (Element | null)[]; - identifier?: Identifier[]; - jurisdiction?: CodeableConcept[]; - name?: string; - _name?: Element; - parent?: string[]; - _parent?: (Element | null)[]; - publisher?: string; - _publisher?: Element; - purpose?: string; - _purpose?: Element; - replaces?: string[]; - _replaces?: (Element | null)[]; - responseRequired?: ("always" | "on-error" | "never" | "on-success"); - _responseRequired?: Element; - status: ("draft" | "active" | "retired" | "unknown"); - _status?: Element; - title?: string; - _title?: Element; - url?: string; - _url?: Element; - useContext?: UsageContext[]; - version?: string; - _version?: Element; -} -export const isMessageDefinition = (resource: unknown): resource is MessageDefinition => { - return resource !== null && typeof resource === "object" && (resource as {resourceType: string}).resourceType === "MessageDefinition"; -} 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 deleted file mode 100644 index 21367c144..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/MessageHeader.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 { BackboneElement } from "../hl7-fhir-r4-examples/BackboneElement"; -import type { CodeableConcept } from "../hl7-fhir-r4-examples/CodeableConcept"; -import type { Coding } from "../hl7-fhir-r4-examples/Coding"; -import type { ContactPoint } from "../hl7-fhir-r4-examples/ContactPoint"; -import type { DomainResource } from "../hl7-fhir-r4-examples/DomainResource"; -import type { Reference } from "../hl7-fhir-r4-examples/Reference"; - -import type { Element } from "../hl7-fhir-r4-examples/Element"; -export type { BackboneElement } from "../hl7-fhir-r4-examples/BackboneElement"; -export type { CodeableConcept } from "../hl7-fhir-r4-examples/CodeableConcept"; -export type { Coding } from "../hl7-fhir-r4-examples/Coding"; -export type { ContactPoint } from "../hl7-fhir-r4-examples/ContactPoint"; -export type { Reference } from "../hl7-fhir-r4-examples/Reference"; - -export interface MessageHeaderDestination extends BackboneElement { - endpoint: string; - name?: string; - receiver?: Reference<"Organization" | "Practitioner" | "PractitionerRole">; - target?: Reference<"Device">; -} - -export interface MessageHeaderResponse extends BackboneElement { - code: ("ok" | "transient-error" | "fatal-error"); - details?: Reference<"OperationOutcome">; - identifier: string; -} - -export interface MessageHeaderSource extends BackboneElement { - contact?: ContactPoint; - endpoint: string; - name?: string; - software?: string; - version?: string; -} - -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/MessageHeader (pkg: hl7.fhir.r4.examples#4.0.1) -export interface MessageHeader extends DomainResource { - resourceType: "MessageHeader"; - - author?: Reference<"Practitioner" | "PractitionerRole">; - definition?: string; - _definition?: Element; - destination?: MessageHeaderDestination[]; - enterer?: Reference<"Practitioner" | "PractitionerRole">; - eventCoding?: Coding; - eventUri?: string; - _eventUri?: Element; - focus?: Reference<"Resource">[]; - reason?: CodeableConcept; - response?: MessageHeaderResponse; - responsible?: Reference<"Organization" | "Practitioner" | "PractitionerRole">; - sender?: Reference<"Organization" | "Practitioner" | "PractitionerRole">; - source: MessageHeaderSource; -} -export const isMessageHeader = (resource: unknown): resource is MessageHeader => { - return resource !== null && typeof resource === "object" && (resource as {resourceType: string}).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 deleted file mode 100644 index 93e8a4534..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/Meta.ts +++ /dev/null @@ -1,23 +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 { Coding } from "../hl7-fhir-r4-examples/Coding"; -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 (pkg: hl7.fhir.r4.examples#4.0.1) -export interface Meta extends Element { - lastUpdated?: string; - _lastUpdated?: Element; - profile?: string[]; - _profile?: (Element | null)[]; - security?: Coding[]; - source?: string; - _source?: Element; - tag?: Coding[]; - versionId?: string; - _versionId?: 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 deleted file mode 100644 index df18386ef..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/MetadataResource.ts +++ /dev/null @@ -1,38 +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 { ContactDetail } from "../hl7-fhir-r4-examples/ContactDetail"; -import type { DomainResource } from "../hl7-fhir-r4-examples/DomainResource"; -import type { UsageContext } from "../hl7-fhir-r4-examples/UsageContext"; - -import type { Element } from "../hl7-fhir-r4-examples/Element"; -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 (pkg: hl7.fhir.r4.examples#4.0.1) -export interface MetadataResource extends DomainResource { - contact?: ContactDetail[]; - date?: string; - _date?: Element; - description?: string; - _description?: Element; - experimental?: boolean; - _experimental?: Element; - jurisdiction?: CodeableConcept[]; - name?: string; - _name?: Element; - publisher?: string; - _publisher?: Element; - status: ("draft" | "active" | "retired" | "unknown"); - _status?: Element; - title?: string; - _title?: Element; - url?: string; - _url?: Element; - useContext?: UsageContext[]; - version?: string; - _version?: Element; -} 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 deleted file mode 100644 index 095f24458..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/MolecularSequence.ts +++ /dev/null @@ -1,122 +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 { BackboneElement } from "../hl7-fhir-r4-examples/BackboneElement"; -import type { CodeableConcept } from "../hl7-fhir-r4-examples/CodeableConcept"; -import type { DomainResource } from "../hl7-fhir-r4-examples/DomainResource"; -import type { Identifier } from "../hl7-fhir-r4-examples/Identifier"; -import type { Quantity } from "../hl7-fhir-r4-examples/Quantity"; -import type { Reference } from "../hl7-fhir-r4-examples/Reference"; - -import type { Element } from "../hl7-fhir-r4-examples/Element"; -export type { BackboneElement } from "../hl7-fhir-r4-examples/BackboneElement"; -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"; -export type { Reference } from "../hl7-fhir-r4-examples/Reference"; - -export interface MolecularSequenceQuality extends BackboneElement { - end?: number; - fScore?: number; - gtFP?: number; - method?: CodeableConcept; - precision?: number; - queryFP?: number; - queryTP?: number; - recall?: number; - roc?: MolecularSequenceQualityRoc; - score?: Quantity; - standardSequence?: CodeableConcept; - start?: number; - truthFN?: number; - truthTP?: number; - type: ("indel" | "snp" | "unknown"); -} - -export interface MolecularSequenceQualityRoc extends BackboneElement { - fMeasure?: number[]; - numFN?: number[]; - numFP?: number[]; - numTP?: number[]; - precision?: number[]; - score?: number[]; - sensitivity?: number[]; -} - -export interface MolecularSequenceReferenceSeq extends BackboneElement { - chromosome?: CodeableConcept; - genomeBuild?: string; - orientation?: ("sense" | "antisense"); - referenceSeqId?: CodeableConcept; - referenceSeqPointer?: Reference<"MolecularSequence">; - referenceSeqString?: string; - strand?: ("watson" | "crick"); - windowEnd?: number; - windowStart?: number; -} - -export interface MolecularSequenceRepository extends BackboneElement { - datasetId?: string; - name?: string; - readsetId?: string; - type: ("directlink" | "openapi" | "login" | "oauth" | "other"); - url?: string; - variantsetId?: string; -} - -export interface MolecularSequenceStructureVariant extends BackboneElement { - exact?: boolean; - inner?: MolecularSequenceStructureVariantInner; - length?: number; - outer?: MolecularSequenceStructureVariantOuter; - variantType?: CodeableConcept; -} - -export interface MolecularSequenceStructureVariantInner extends BackboneElement { - end?: number; - start?: number; -} - -export interface MolecularSequenceStructureVariantOuter extends BackboneElement { - end?: number; - start?: number; -} - -export interface MolecularSequenceVariant extends BackboneElement { - cigar?: string; - end?: number; - observedAllele?: string; - referenceAllele?: string; - start?: number; - variantPointer?: Reference<"Observation">; -} - -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/MolecularSequence (pkg: hl7.fhir.r4.examples#4.0.1) -export interface MolecularSequence extends DomainResource { - resourceType: "MolecularSequence"; - - coordinateSystem: number; - _coordinateSystem?: Element; - device?: Reference<"Device">; - identifier?: Identifier[]; - observedSeq?: string; - _observedSeq?: Element; - patient?: Reference<"Patient">; - performer?: Reference<"Organization">; - pointer?: Reference<"MolecularSequence">[]; - quality?: MolecularSequenceQuality[]; - quantity?: Quantity; - readCoverage?: number; - _readCoverage?: Element; - referenceSeq?: MolecularSequenceReferenceSeq; - repository?: MolecularSequenceRepository[]; - specimen?: Reference<"Specimen">; - structureVariant?: MolecularSequenceStructureVariant[]; - type?: ("aa" | "dna" | "rna"); - _type?: Element; - variant?: MolecularSequenceVariant[]; -} -export const isMolecularSequence = (resource: unknown): resource is MolecularSequence => { - return resource !== null && typeof resource === "object" && (resource as {resourceType: string}).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 deleted file mode 100644 index 23948aedd..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/Money.ts +++ /dev/null @@ -1,15 +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 { Element } from "../hl7-fhir-r4-examples/Element"; - -export type { Element } from "../hl7-fhir-r4-examples/Element"; - -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/Money (pkg: hl7.fhir.r4.examples#4.0.1) -export interface Money extends Element { - currency?: string; - _currency?: Element; - value?: number; - _value?: 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 deleted file mode 100644 index b879d09f4..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/NamingSystem.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 { BackboneElement } from "../hl7-fhir-r4-examples/BackboneElement"; -import type { CodeableConcept } from "../hl7-fhir-r4-examples/CodeableConcept"; -import type { ContactDetail } from "../hl7-fhir-r4-examples/ContactDetail"; -import type { DomainResource } from "../hl7-fhir-r4-examples/DomainResource"; -import type { Period } from "../hl7-fhir-r4-examples/Period"; -import type { UsageContext } from "../hl7-fhir-r4-examples/UsageContext"; - -import type { Element } from "../hl7-fhir-r4-examples/Element"; -export type { BackboneElement } from "../hl7-fhir-r4-examples/BackboneElement"; -export type { CodeableConcept } from "../hl7-fhir-r4-examples/CodeableConcept"; -export type { ContactDetail } from "../hl7-fhir-r4-examples/ContactDetail"; -export type { Period } from "../hl7-fhir-r4-examples/Period"; -export type { UsageContext } from "../hl7-fhir-r4-examples/UsageContext"; - -export interface NamingSystemUniqueId extends BackboneElement { - comment?: string; - period?: Period; - preferred?: boolean; - type: ("oid" | "uuid" | "uri" | "other"); - value: string; -} - -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/NamingSystem (pkg: hl7.fhir.r4.examples#4.0.1) -export interface NamingSystem extends DomainResource { - resourceType: "NamingSystem"; - - contact?: ContactDetail[]; - date: string; - _date?: Element; - description?: string; - _description?: Element; - jurisdiction?: CodeableConcept[]; - kind: ("codesystem" | "identifier" | "root"); - _kind?: Element; - name: string; - _name?: Element; - publisher?: string; - _publisher?: Element; - responsible?: string; - _responsible?: Element; - status: ("draft" | "active" | "retired" | "unknown"); - _status?: Element; - 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; - useContext?: UsageContext[]; -} -export const isNamingSystem = (resource: unknown): resource is NamingSystem => { - return resource !== null && typeof resource === "object" && (resource as {resourceType: string}).resourceType === "NamingSystem"; -} 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 deleted file mode 100644 index aa0438ad2..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/Narrative.ts +++ /dev/null @@ -1,15 +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 { Element } from "../hl7-fhir-r4-examples/Element"; - -export type { Element } from "../hl7-fhir-r4-examples/Element"; - -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/Narrative (pkg: hl7.fhir.r4.examples#4.0.1) -export interface Narrative extends Element { - div: string; - _div?: Element; - status: ("generated" | "extensions" | "additional" | "empty"); - _status?: 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 deleted file mode 100644 index 62b02dbea..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/NutritionOrder.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 { Annotation } from "../hl7-fhir-r4-examples/Annotation"; -import type { BackboneElement } from "../hl7-fhir-r4-examples/BackboneElement"; -import type { CodeableConcept } from "../hl7-fhir-r4-examples/CodeableConcept"; -import type { DomainResource } from "../hl7-fhir-r4-examples/DomainResource"; -import type { Identifier } from "../hl7-fhir-r4-examples/Identifier"; -import type { Quantity } from "../hl7-fhir-r4-examples/Quantity"; -import type { Ratio } from "../hl7-fhir-r4-examples/Ratio"; -import type { Reference } from "../hl7-fhir-r4-examples/Reference"; -import type { Timing } from "../hl7-fhir-r4-examples/Timing"; - -import type { Element } from "../hl7-fhir-r4-examples/Element"; -export type { Annotation } from "../hl7-fhir-r4-examples/Annotation"; -export type { BackboneElement } from "../hl7-fhir-r4-examples/BackboneElement"; -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"; -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"; - -export interface NutritionOrderEnteralFormula extends BackboneElement { - additiveProductName?: string; - additiveType?: CodeableConcept; - administration?: NutritionOrderEnteralFormulaAdministration[]; - administrationInstruction?: string; - baseFormulaProductName?: string; - baseFormulaType?: CodeableConcept; - caloricDensity?: Quantity; - maxVolumeToDeliver?: Quantity; - routeofAdministration?: CodeableConcept<("PO" | "EFT" | "ENTINSTL" | "GT" | "NGT" | "OGT" | "GJT" | "JJTINSTL" | "OJJ" | string)>; -} - -export interface NutritionOrderEnteralFormulaAdministration extends BackboneElement { - quantity?: Quantity; - rateQuantity?: Quantity; - rateRatio?: Ratio; - schedule?: Timing; -} - -export interface NutritionOrderOralDiet extends BackboneElement { - fluidConsistencyType?: CodeableConcept[]; - instruction?: string; - nutrient?: NutritionOrderOralDietNutrient[]; - schedule?: Timing[]; - texture?: NutritionOrderOralDietTexture[]; - type?: CodeableConcept[]; -} - -export interface NutritionOrderOralDietNutrient extends BackboneElement { - amount?: Quantity; - modifier?: CodeableConcept; -} - -export interface NutritionOrderOralDietTexture extends BackboneElement { - foodType?: CodeableConcept; - modifier?: CodeableConcept; -} - -export interface NutritionOrderSupplement extends BackboneElement { - instruction?: string; - productName?: string; - quantity?: Quantity; - schedule?: Timing[]; - type?: CodeableConcept; -} - -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/NutritionOrder (pkg: hl7.fhir.r4.examples#4.0.1) -export interface NutritionOrder extends DomainResource { - resourceType: "NutritionOrder"; - - allergyIntolerance?: Reference<"AllergyIntolerance">[]; - dateTime: string; - _dateTime?: Element; - encounter?: Reference<"Encounter">; - enteralFormula?: NutritionOrderEnteralFormula; - excludeFoodModifier?: CodeableConcept[]; - foodPreferenceModifier?: CodeableConcept[]; - identifier?: Identifier[]; - instantiates?: string[]; - _instantiates?: (Element | null)[]; - instantiatesCanonical?: string[]; - _instantiatesCanonical?: (Element | null)[]; - instantiatesUri?: string[]; - _instantiatesUri?: (Element | null)[]; - intent: ("proposal" | "plan" | "directive" | "order" | "original-order" | "reflex-order" | "filler-order" | "instance-order" | "option"); - _intent?: Element; - note?: Annotation[]; - oralDiet?: NutritionOrderOralDiet; - orderer?: Reference<"Practitioner" | "PractitionerRole">; - patient: Reference<"Patient">; - status: ("draft" | "active" | "on-hold" | "revoked" | "completed" | "entered-in-error" | "unknown"); - _status?: Element; - supplement?: NutritionOrderSupplement[]; -} -export const isNutritionOrder = (resource: unknown): resource is NutritionOrder => { - return resource !== null && typeof resource === "object" && (resource as {resourceType: string}).resourceType === "NutritionOrder"; -} 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 deleted file mode 100644 index 012b4fd14..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/Observation.ts +++ /dev/null @@ -1,111 +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 { Annotation } from "../hl7-fhir-r4-examples/Annotation"; -import type { BackboneElement } from "../hl7-fhir-r4-examples/BackboneElement"; -import type { CodeableConcept } from "../hl7-fhir-r4-examples/CodeableConcept"; -import type { DomainResource } from "../hl7-fhir-r4-examples/DomainResource"; -import type { Identifier } from "../hl7-fhir-r4-examples/Identifier"; -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"; -import type { Timing } from "../hl7-fhir-r4-examples/Timing"; - -import type { Element } from "../hl7-fhir-r4-examples/Element"; -export type { Annotation } from "../hl7-fhir-r4-examples/Annotation"; -export type { BackboneElement } from "../hl7-fhir-r4-examples/BackboneElement"; -export type { CodeableConcept } from "../hl7-fhir-r4-examples/CodeableConcept"; -export type { Identifier } from "../hl7-fhir-r4-examples/Identifier"; -export type { Period } from "../hl7-fhir-r4-examples/Period"; -export type { Quantity } from "../hl7-fhir-r4-examples/Quantity"; -export type { Range } from "../hl7-fhir-r4-examples/Range"; -export type { Ratio } from "../hl7-fhir-r4-examples/Ratio"; -export type { Reference } from "../hl7-fhir-r4-examples/Reference"; -export type { SampledData } from "../hl7-fhir-r4-examples/SampledData"; -export type { Timing } from "../hl7-fhir-r4-examples/Timing"; - -export interface ObservationComponent extends BackboneElement { - code: 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; - valueDateTime?: string; - valueInteger?: number; - valuePeriod?: Period; - valueQuantity?: Quantity; - valueRange?: Range; - valueRatio?: Ratio; - valueSampledData?: SampledData; - valueString?: string; - valueTime?: string; -} - -export interface ObservationReferenceRange extends BackboneElement { - age?: Range; - appliesTo?: CodeableConcept[]; - high?: Quantity; - low?: Quantity; - text?: string; - type?: CodeableConcept<("type" | "normal" | "recommended" | "treatment" | "therapeutic" | "pre" | "post" | "endocrine" | "pre-puberty" | "follicular" | "midcycle" | "luteal" | "postmenopausal" | string)>; -} - -// 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<("social-history" | "vital-signs" | "imaging" | "laboratory" | "procedure" | "survey" | "exam" | "therapy" | "activity" | string)>[]; - code: CodeableConcept; - component?: ObservationComponent[]; - 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; - _effectiveDateTime?: Element; - effectiveInstant?: string; - _effectiveInstant?: Element; - effectivePeriod?: Period; - effectiveTiming?: Timing; - encounter?: Reference<"Encounter">; - focus?: Reference<"Resource">[]; - hasMember?: Reference<"MolecularSequence" | "Observation" | "QuestionnaireResponse">[]; - identifier?: Identifier[]; - 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; - note?: Annotation[]; - partOf?: Reference<"ImagingStudy" | "Immunization" | "MedicationAdministration" | "MedicationDispense" | "MedicationStatement" | "Procedure">[]; - performer?: Reference<"CareTeam" | "Organization" | "Patient" | "Practitioner" | "PractitionerRole" | "RelatedPerson">[]; - referenceRange?: ObservationReferenceRange[]; - specimen?: Reference<"Specimen">; - status: ("registered" | "preliminary" | "final" | "amended" | "corrected" | "cancelled" | "entered-in-error" | "unknown"); - _status?: Element; - subject?: Reference<"Device" | "Group" | "Location" | "Patient">; - valueBoolean?: boolean; - _valueBoolean?: Element; - valueCodeableConcept?: CodeableConcept; - valueDateTime?: string; - _valueDateTime?: Element; - valueInteger?: number; - _valueInteger?: Element; - valuePeriod?: Period; - valueQuantity?: Quantity; - valueRange?: Range; - valueRatio?: Ratio; - valueSampledData?: SampledData; - valueString?: string; - _valueString?: Element; - valueTime?: string; - _valueTime?: Element; -} -export const isObservation = (resource: unknown): resource is Observation => { - return resource !== null && typeof resource === "object" && (resource as {resourceType: string}).resourceType === "Observation"; -} 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 deleted file mode 100644 index a62c71a57..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/ObservationDefinition.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 { BackboneElement } from "../hl7-fhir-r4-examples/BackboneElement"; -import type { CodeableConcept } from "../hl7-fhir-r4-examples/CodeableConcept"; -import type { DomainResource } from "../hl7-fhir-r4-examples/DomainResource"; -import type { Identifier } from "../hl7-fhir-r4-examples/Identifier"; -import type { Range } from "../hl7-fhir-r4-examples/Range"; -import type { Reference } from "../hl7-fhir-r4-examples/Reference"; - -import type { Element } from "../hl7-fhir-r4-examples/Element"; -export type { BackboneElement } from "../hl7-fhir-r4-examples/BackboneElement"; -export type { CodeableConcept } from "../hl7-fhir-r4-examples/CodeableConcept"; -export type { Identifier } from "../hl7-fhir-r4-examples/Identifier"; -export type { Range } from "../hl7-fhir-r4-examples/Range"; -export type { Reference } from "../hl7-fhir-r4-examples/Reference"; - -export interface ObservationDefinitionQualifiedInterval extends BackboneElement { - age?: Range; - appliesTo?: CodeableConcept[]; - category?: ("reference" | "critical" | "absolute"); - condition?: string; - 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; -} - -export interface ObservationDefinitionQuantitativeDetails extends BackboneElement { - conversionFactor?: number; - customaryUnit?: CodeableConcept; - decimalPrecision?: number; - unit?: CodeableConcept; -} - -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/ObservationDefinition (pkg: hl7.fhir.r4.examples#4.0.1) -export interface ObservationDefinition extends DomainResource { - resourceType: "ObservationDefinition"; - - abnormalCodedValueSet?: Reference<"ValueSet">; - category?: CodeableConcept[]; - code: CodeableConcept; - criticalCodedValueSet?: Reference<"ValueSet">; - identifier?: Identifier[]; - method?: CodeableConcept; - multipleResultsAllowed?: boolean; - _multipleResultsAllowed?: Element; - normalCodedValueSet?: Reference<"ValueSet">; - permittedDataType?: ("Quantity" | "CodeableConcept" | "string" | "boolean" | "integer" | "Range" | "Ratio" | "SampledData" | "time" | "dateTime" | "Period")[]; - _permittedDataType?: (Element | null)[]; - preferredReportName?: string; - _preferredReportName?: Element; - qualifiedInterval?: ObservationDefinitionQualifiedInterval[]; - quantitativeDetails?: ObservationDefinitionQuantitativeDetails; - validCodedValueSet?: Reference<"ValueSet">; -} -export const isObservationDefinition = (resource: unknown): resource is ObservationDefinition => { - return resource !== null && typeof resource === "object" && (resource as {resourceType: string}).resourceType === "ObservationDefinition"; -} 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 deleted file mode 100644 index 2e1113e28..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/OperationDefinition.ts +++ /dev/null @@ -1,100 +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 { BackboneElement } from "../hl7-fhir-r4-examples/BackboneElement"; -import type { CodeableConcept } from "../hl7-fhir-r4-examples/CodeableConcept"; -import type { ContactDetail } from "../hl7-fhir-r4-examples/ContactDetail"; -import type { DomainResource } from "../hl7-fhir-r4-examples/DomainResource"; -import type { UsageContext } from "../hl7-fhir-r4-examples/UsageContext"; - -import type { Element } from "../hl7-fhir-r4-examples/Element"; -export type { BackboneElement } from "../hl7-fhir-r4-examples/BackboneElement"; -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"; - -export interface OperationDefinitionOverload extends BackboneElement { - comment?: string; - parameterName?: string[]; -} - -export interface OperationDefinitionParameter extends BackboneElement { - binding?: OperationDefinitionParameterBinding; - documentation?: string; - max: string; - min: number; - name: string; - part?: OperationDefinitionParameter[]; - referencedFrom?: OperationDefinitionParameterReferencedFrom[]; - searchType?: ("number" | "date" | "string" | "token" | "reference" | "composite" | "quantity" | "uri" | "special"); - targetProfile?: string[]; - type?: string; - use: ("in" | "out"); -} - -export interface OperationDefinitionParameterBinding extends BackboneElement { - strength: ("required" | "extensible" | "preferred" | "example"); - valueSet: string; -} - -export interface OperationDefinitionParameterReferencedFrom extends BackboneElement { - source: string; - sourceId?: string; -} - -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/OperationDefinition (pkg: hl7.fhir.r4.examples#4.0.1) -export interface OperationDefinition extends DomainResource { - resourceType: "OperationDefinition"; - - affectsState?: boolean; - _affectsState?: Element; - base?: string; - _base?: Element; - code: string; - _code?: Element; - comment?: string; - _comment?: Element; - contact?: ContactDetail[]; - date?: string; - _date?: Element; - description?: string; - _description?: Element; - experimental?: boolean; - _experimental?: Element; - inputProfile?: string; - _inputProfile?: Element; - instance: boolean; - _instance?: Element; - jurisdiction?: CodeableConcept[]; - kind: ("operation" | "query"); - _kind?: Element; - name: string; - _name?: Element; - outputProfile?: string; - _outputProfile?: Element; - overload?: OperationDefinitionOverload[]; - parameter?: OperationDefinitionParameter[]; - publisher?: string; - _publisher?: Element; - purpose?: string; - _purpose?: Element; - resource?: string[]; - _resource?: (Element | null)[]; - status: ("draft" | "active" | "retired" | "unknown"); - _status?: Element; - system: boolean; - _system?: Element; - title?: string; - _title?: Element; - type: boolean; - _type?: Element; - url?: string; - _url?: Element; - useContext?: UsageContext[]; - version?: string; - _version?: Element; -} -export const isOperationDefinition = (resource: unknown): resource is OperationDefinition => { - return resource !== null && typeof resource === "object" && (resource as {resourceType: string}).resourceType === "OperationDefinition"; -} 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 deleted file mode 100644 index 561c059c0..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/OperationOutcome.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 { BackboneElement } from "../hl7-fhir-r4-examples/BackboneElement"; -import type { CodeableConcept } from "../hl7-fhir-r4-examples/CodeableConcept"; -import type { DomainResource } from "../hl7-fhir-r4-examples/DomainResource"; - -export type { BackboneElement } from "../hl7-fhir-r4-examples/BackboneElement"; -export type { CodeableConcept } from "../hl7-fhir-r4-examples/CodeableConcept"; - -export interface OperationOutcomeIssue extends BackboneElement { - code: ("invalid" | "structure" | "required" | "value" | "invariant" | "security" | "login" | "unknown" | "expired" | "forbidden" | "suppressed" | "processing" | "not-supported" | "duplicate" | "multiple-matches" | "not-found" | "deleted" | "too-long" | "code-invalid" | "extension" | "too-costly" | "business-rule" | "conflict" | "transient" | "lock-error" | "no-store" | "exception" | "timeout" | "incomplete" | "throttled" | "informational"); - details?: CodeableConcept; - diagnostics?: string; - expression?: string[]; - location?: string[]; - severity: ("fatal" | "error" | "warning" | "information"); -} - -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/OperationOutcome (pkg: hl7.fhir.r4.examples#4.0.1) -export interface OperationOutcome extends DomainResource { - resourceType: "OperationOutcome"; - - issue: OperationOutcomeIssue[]; -} -export const isOperationOutcome = (resource: unknown): resource is OperationOutcome => { - return resource !== null && typeof resource === "object" && (resource as {resourceType: string}).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 deleted file mode 100644 index 8f2e2c0c8..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/Organization.ts +++ /dev/null @@ -1,50 +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 { Address } from "../hl7-fhir-r4-examples/Address"; -import type { BackboneElement } from "../hl7-fhir-r4-examples/BackboneElement"; -import type { CodeableConcept } from "../hl7-fhir-r4-examples/CodeableConcept"; -import type { ContactPoint } from "../hl7-fhir-r4-examples/ContactPoint"; -import type { DomainResource } from "../hl7-fhir-r4-examples/DomainResource"; -import type { HumanName } from "../hl7-fhir-r4-examples/HumanName"; -import type { Identifier } from "../hl7-fhir-r4-examples/Identifier"; -import type { Reference } from "../hl7-fhir-r4-examples/Reference"; - -import type { Element } from "../hl7-fhir-r4-examples/Element"; -export type { Address } from "../hl7-fhir-r4-examples/Address"; -export type { BackboneElement } from "../hl7-fhir-r4-examples/BackboneElement"; -export type { CodeableConcept } from "../hl7-fhir-r4-examples/CodeableConcept"; -export type { ContactPoint } from "../hl7-fhir-r4-examples/ContactPoint"; -export type { HumanName } from "../hl7-fhir-r4-examples/HumanName"; -export type { Identifier } from "../hl7-fhir-r4-examples/Identifier"; -export type { Reference } from "../hl7-fhir-r4-examples/Reference"; - -export interface OrganizationContact extends BackboneElement { - address?: Address; - name?: HumanName; - purpose?: CodeableConcept<("BILL" | "ADMIN" | "HR" | "PAYOR" | "PATINF" | "PRESS" | string)>; - telecom?: ContactPoint[]; -} - -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/Organization (pkg: hl7.fhir.r4.examples#4.0.1) -export interface Organization extends DomainResource { - resourceType: "Organization"; - - active?: boolean; - _active?: Element; - address?: Address[]; - alias?: string[]; - _alias?: (Element | null)[]; - contact?: OrganizationContact[]; - endpoint?: Reference<"Endpoint">[]; - identifier?: Identifier[]; - name?: string; - _name?: Element; - partOf?: Reference<"Organization">; - telecom?: ContactPoint[]; - type?: CodeableConcept[]; -} -export const isOrganization = (resource: unknown): resource is Organization => { - return resource !== null && typeof resource === "object" && (resource as {resourceType: string}).resourceType === "Organization"; -} 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 deleted file mode 100644 index f85c107c9..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/OrganizationAffiliation.ts +++ /dev/null @@ -1,39 +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 { ContactPoint } from "../hl7-fhir-r4-examples/ContactPoint"; -import type { DomainResource } from "../hl7-fhir-r4-examples/DomainResource"; -import type { Identifier } from "../hl7-fhir-r4-examples/Identifier"; -import type { Period } from "../hl7-fhir-r4-examples/Period"; -import type { Reference } from "../hl7-fhir-r4-examples/Reference"; - -import type { Element } from "../hl7-fhir-r4-examples/Element"; -export type { CodeableConcept } from "../hl7-fhir-r4-examples/CodeableConcept"; -export type { ContactPoint } from "../hl7-fhir-r4-examples/ContactPoint"; -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 (pkg: hl7.fhir.r4.examples#4.0.1) -export interface OrganizationAffiliation extends DomainResource { - resourceType: "OrganizationAffiliation"; - - active?: boolean; - _active?: Element; - code?: CodeableConcept[]; - endpoint?: Reference<"Endpoint">[]; - healthcareService?: Reference<"HealthcareService">[]; - identifier?: Identifier[]; - location?: Reference<"Location">[]; - network?: Reference<"Organization">[]; - organization?: Reference<"Organization">; - participatingOrganization?: Reference<"Organization">; - period?: Period; - specialty?: CodeableConcept[]; - telecom?: ContactPoint[]; -} -export const isOrganizationAffiliation = (resource: unknown): resource is OrganizationAffiliation => { - return resource !== null && typeof resource === "object" && (resource as {resourceType: string}).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 deleted file mode 100644 index 95026efc4..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/ParameterDefinition.ts +++ /dev/null @@ -1,25 +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 { Element } from "../hl7-fhir-r4-examples/Element"; - -export type { Element } from "../hl7-fhir-r4-examples/Element"; - -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/ParameterDefinition (pkg: hl7.fhir.r4.examples#4.0.1) -export interface ParameterDefinition extends Element { - documentation?: string; - _documentation?: Element; - max?: string; - _max?: Element; - min?: number; - _min?: Element; - name?: string; - _name?: Element; - profile?: string; - _profile?: Element; - type: string; - _type?: Element; - use: ("in" | "out"); - _use?: 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 deleted file mode 100644 index 802cdf56c..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/Parameters.ts +++ /dev/null @@ -1,136 +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 { Address } from "../hl7-fhir-r4-examples/Address"; -import type { Age } from "../hl7-fhir-r4-examples/Age"; -import type { Annotation } from "../hl7-fhir-r4-examples/Annotation"; -import type { Attachment } from "../hl7-fhir-r4-examples/Attachment"; -import type { BackboneElement } from "../hl7-fhir-r4-examples/BackboneElement"; -import type { CodeableConcept } from "../hl7-fhir-r4-examples/CodeableConcept"; -import type { Coding } from "../hl7-fhir-r4-examples/Coding"; -import type { ContactDetail } from "../hl7-fhir-r4-examples/ContactDetail"; -import type { ContactPoint } from "../hl7-fhir-r4-examples/ContactPoint"; -import type { Contributor } from "../hl7-fhir-r4-examples/Contributor"; -import type { Count } from "../hl7-fhir-r4-examples/Count"; -import type { DataRequirement } from "../hl7-fhir-r4-examples/DataRequirement"; -import type { Distance } from "../hl7-fhir-r4-examples/Distance"; -import type { Dosage } from "../hl7-fhir-r4-examples/Dosage"; -import type { Duration } from "../hl7-fhir-r4-examples/Duration"; -import type { Expression } from "../hl7-fhir-r4-examples/Expression"; -import type { HumanName } from "../hl7-fhir-r4-examples/HumanName"; -import type { Identifier } from "../hl7-fhir-r4-examples/Identifier"; -import type { Meta } from "../hl7-fhir-r4-examples/Meta"; -import type { Money } from "../hl7-fhir-r4-examples/Money"; -import type { ParameterDefinition } from "../hl7-fhir-r4-examples/ParameterDefinition"; -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 { RelatedArtifact } from "../hl7-fhir-r4-examples/RelatedArtifact"; -import type { Resource } from "../hl7-fhir-r4-examples/Resource"; -import type { SampledData } from "../hl7-fhir-r4-examples/SampledData"; -import type { Signature } from "../hl7-fhir-r4-examples/Signature"; -import type { Timing } from "../hl7-fhir-r4-examples/Timing"; -import type { TriggerDefinition } from "../hl7-fhir-r4-examples/TriggerDefinition"; -import type { UsageContext } from "../hl7-fhir-r4-examples/UsageContext"; - -export type { Address } from "../hl7-fhir-r4-examples/Address"; -export type { Age } from "../hl7-fhir-r4-examples/Age"; -export type { Annotation } from "../hl7-fhir-r4-examples/Annotation"; -export type { Attachment } from "../hl7-fhir-r4-examples/Attachment"; -export type { BackboneElement } from "../hl7-fhir-r4-examples/BackboneElement"; -export type { CodeableConcept } from "../hl7-fhir-r4-examples/CodeableConcept"; -export type { Coding } from "../hl7-fhir-r4-examples/Coding"; -export type { ContactDetail } from "../hl7-fhir-r4-examples/ContactDetail"; -export type { ContactPoint } from "../hl7-fhir-r4-examples/ContactPoint"; -export type { Contributor } from "../hl7-fhir-r4-examples/Contributor"; -export type { Count } from "../hl7-fhir-r4-examples/Count"; -export type { DataRequirement } from "../hl7-fhir-r4-examples/DataRequirement"; -export type { Distance } from "../hl7-fhir-r4-examples/Distance"; -export type { Dosage } from "../hl7-fhir-r4-examples/Dosage"; -export type { Duration } from "../hl7-fhir-r4-examples/Duration"; -export type { Expression } from "../hl7-fhir-r4-examples/Expression"; -export type { HumanName } from "../hl7-fhir-r4-examples/HumanName"; -export type { Identifier } from "../hl7-fhir-r4-examples/Identifier"; -export type { Meta } from "../hl7-fhir-r4-examples/Meta"; -export type { Money } from "../hl7-fhir-r4-examples/Money"; -export type { ParameterDefinition } from "../hl7-fhir-r4-examples/ParameterDefinition"; -export type { Period } from "../hl7-fhir-r4-examples/Period"; -export type { Quantity } from "../hl7-fhir-r4-examples/Quantity"; -export type { Range } from "../hl7-fhir-r4-examples/Range"; -export type { Ratio } from "../hl7-fhir-r4-examples/Ratio"; -export type { Reference } from "../hl7-fhir-r4-examples/Reference"; -export type { RelatedArtifact } from "../hl7-fhir-r4-examples/RelatedArtifact"; -export type { SampledData } from "../hl7-fhir-r4-examples/SampledData"; -export type { Signature } from "../hl7-fhir-r4-examples/Signature"; -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"; - -export interface ParametersParameter extends BackboneElement { - name: string; - part?: ParametersParameter[]; - resource?: Resource; - valueAddress?: Address; - valueAge?: Age; - valueAnnotation?: Annotation; - valueAttachment?: Attachment; - valueBase64Binary?: string; - valueBoolean?: boolean; - valueCanonical?: string; - valueCode?: string; - valueCodeableConcept?: CodeableConcept; - valueCoding?: Coding; - valueContactDetail?: ContactDetail; - valueContactPoint?: ContactPoint; - valueContributor?: Contributor; - valueCount?: Count; - valueDataRequirement?: DataRequirement; - valueDate?: string; - valueDateTime?: string; - valueDecimal?: number; - valueDistance?: Distance; - valueDosage?: Dosage; - valueDuration?: Duration; - valueExpression?: Expression; - valueHumanName?: HumanName; - valueId?: string; - valueIdentifier?: Identifier; - valueInstant?: string; - valueInteger?: number; - valueMarkdown?: string; - valueMeta?: Meta; - valueMoney?: Money; - valueOid?: string; - valueParameterDefinition?: ParameterDefinition; - valuePeriod?: Period; - valuePositiveInt?: number; - valueQuantity?: Quantity; - valueRange?: Range; - valueRatio?: Ratio; - valueReference?: Reference; - valueRelatedArtifact?: RelatedArtifact; - valueSampledData?: SampledData; - valueSignature?: Signature; - valueString?: string; - valueTime?: string; - valueTiming?: Timing; - valueTriggerDefinition?: TriggerDefinition; - valueUnsignedInt?: number; - valueUri?: string; - valueUrl?: string; - valueUsageContext?: UsageContext; - valueUuid?: string; -} - -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/Parameters (pkg: hl7.fhir.r4.examples#4.0.1) -export interface Parameters extends Resource { - resourceType: "Parameters"; - - parameter?: ParametersParameter[]; -} -export const isParameters = (resource: unknown): resource is Parameters => { - return resource !== null && typeof resource === "object" && (resource as {resourceType: string}).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 deleted file mode 100644 index 929926656..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/Patient.ts +++ /dev/null @@ -1,79 +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 { Address } from "../hl7-fhir-r4-examples/Address"; -import type { Attachment } from "../hl7-fhir-r4-examples/Attachment"; -import type { BackboneElement } from "../hl7-fhir-r4-examples/BackboneElement"; -import type { CodeableConcept } from "../hl7-fhir-r4-examples/CodeableConcept"; -import type { ContactPoint } from "../hl7-fhir-r4-examples/ContactPoint"; -import type { DomainResource } from "../hl7-fhir-r4-examples/DomainResource"; -import type { HumanName } from "../hl7-fhir-r4-examples/HumanName"; -import type { Identifier } from "../hl7-fhir-r4-examples/Identifier"; -import type { Period } from "../hl7-fhir-r4-examples/Period"; -import type { Reference } from "../hl7-fhir-r4-examples/Reference"; - -import type { Element } from "../hl7-fhir-r4-examples/Element"; -export type { Address } from "../hl7-fhir-r4-examples/Address"; -export type { Attachment } from "../hl7-fhir-r4-examples/Attachment"; -export type { BackboneElement } from "../hl7-fhir-r4-examples/BackboneElement"; -export type { CodeableConcept } from "../hl7-fhir-r4-examples/CodeableConcept"; -export type { ContactPoint } from "../hl7-fhir-r4-examples/ContactPoint"; -export type { HumanName } from "../hl7-fhir-r4-examples/HumanName"; -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"; - -export interface PatientCommunication extends BackboneElement { - 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; -} - -export interface PatientContact extends BackboneElement { - address?: Address; - gender?: ("male" | "female" | "other" | "unknown"); - name?: HumanName; - organization?: Reference<"Organization">; - period?: Period; - relationship?: CodeableConcept[]; - telecom?: ContactPoint[]; -} - -export interface PatientLink extends BackboneElement { - other: Reference<"Patient" | "RelatedPerson">; - type: ("replaced-by" | "replaces" | "refer" | "seealso"); -} - -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/Patient (pkg: hl7.fhir.r4.examples#4.0.1) -export interface Patient extends DomainResource { - resourceType: "Patient"; - - active?: boolean; - _active?: Element; - address?: Address[]; - birthDate?: string; - _birthDate?: Element; - communication?: PatientCommunication[]; - contact?: PatientContact[]; - deceasedBoolean?: boolean; - _deceasedBoolean?: Element; - deceasedDateTime?: string; - _deceasedDateTime?: Element; - gender?: ("male" | "female" | "other" | "unknown"); - _gender?: Element; - generalPractitioner?: Reference<"Organization" | "Practitioner" | "PractitionerRole">[]; - identifier?: Identifier[]; - link?: PatientLink[]; - managingOrganization?: Reference<"Organization">; - maritalStatus?: CodeableConcept<("A" | "D" | "I" | "L" | "M" | "P" | "S" | "T" | "U" | "W" | "UNK" | string)>; - multipleBirthBoolean?: boolean; - _multipleBirthBoolean?: Element; - multipleBirthInteger?: number; - _multipleBirthInteger?: Element; - name?: HumanName[]; - photo?: Attachment[]; - telecom?: ContactPoint[]; -} -export const isPatient = (resource: unknown): resource is Patient => { - return resource !== null && typeof resource === "object" && (resource as {resourceType: string}).resourceType === "Patient"; -} 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 deleted file mode 100644 index 9fa43a66d..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/PaymentNotice.ts +++ /dev/null @@ -1,39 +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 { DomainResource } from "../hl7-fhir-r4-examples/DomainResource"; -import type { Identifier } from "../hl7-fhir-r4-examples/Identifier"; -import type { Money } from "../hl7-fhir-r4-examples/Money"; -import type { Reference } from "../hl7-fhir-r4-examples/Reference"; - -import type { Element } from "../hl7-fhir-r4-examples/Element"; -export type { CodeableConcept } from "../hl7-fhir-r4-examples/CodeableConcept"; -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 (pkg: hl7.fhir.r4.examples#4.0.1) -export interface PaymentNotice extends DomainResource { - resourceType: "PaymentNotice"; - - amount: Money; - created: string; - _created?: Element; - identifier?: Identifier[]; - payee?: Reference<"Organization" | "Practitioner" | "PractitionerRole">; - payment: Reference<"PaymentReconciliation">; - paymentDate?: string; - _paymentDate?: Element; - paymentStatus?: CodeableConcept; - provider?: Reference<"Organization" | "Practitioner" | "PractitionerRole">; - recipient: Reference<"Organization">; - request?: Reference<"Resource">; - response?: Reference<"Resource">; - status: ("active" | "cancelled" | "draft" | "entered-in-error"); - _status?: Element; -} -export const isPaymentNotice = (resource: unknown): resource is PaymentNotice => { - return resource !== null && typeof resource === "object" && (resource as {resourceType: string}).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 deleted file mode 100644 index 76ad6dd02..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/PaymentReconciliation.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 { BackboneElement } from "../hl7-fhir-r4-examples/BackboneElement"; -import type { CodeableConcept } from "../hl7-fhir-r4-examples/CodeableConcept"; -import type { DomainResource } from "../hl7-fhir-r4-examples/DomainResource"; -import type { Identifier } from "../hl7-fhir-r4-examples/Identifier"; -import type { Money } from "../hl7-fhir-r4-examples/Money"; -import type { Period } from "../hl7-fhir-r4-examples/Period"; -import type { Reference } from "../hl7-fhir-r4-examples/Reference"; - -import type { Element } from "../hl7-fhir-r4-examples/Element"; -export type { BackboneElement } from "../hl7-fhir-r4-examples/BackboneElement"; -export type { CodeableConcept } from "../hl7-fhir-r4-examples/CodeableConcept"; -export type { Identifier } from "../hl7-fhir-r4-examples/Identifier"; -export type { Money } from "../hl7-fhir-r4-examples/Money"; -export type { Period } from "../hl7-fhir-r4-examples/Period"; -export type { Reference } from "../hl7-fhir-r4-examples/Reference"; - -export interface PaymentReconciliationDetail extends BackboneElement { - amount?: Money; - date?: string; - identifier?: Identifier; - payee?: Reference<"Organization" | "Practitioner" | "PractitionerRole">; - predecessor?: Identifier; - request?: Reference<"Resource">; - response?: Reference<"Resource">; - responsible?: Reference<"PractitionerRole">; - submitter?: Reference<"Organization" | "Practitioner" | "PractitionerRole">; - type: CodeableConcept; -} - -export interface PaymentReconciliationProcessNote extends BackboneElement { - text?: string; - type?: ("display" | "print" | "printoper"); -} - -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/PaymentReconciliation (pkg: hl7.fhir.r4.examples#4.0.1) -export interface PaymentReconciliation extends DomainResource { - resourceType: "PaymentReconciliation"; - - created: string; - _created?: Element; - detail?: PaymentReconciliationDetail[]; - disposition?: string; - _disposition?: Element; - formCode?: CodeableConcept; - identifier?: Identifier[]; - outcome?: ("queued" | "complete" | "error" | "partial"); - _outcome?: Element; - paymentAmount: Money; - paymentDate: string; - _paymentDate?: Element; - paymentIdentifier?: Identifier; - paymentIssuer?: Reference<"Organization">; - period?: Period; - processNote?: PaymentReconciliationProcessNote[]; - request?: Reference<"Task">; - requestor?: Reference<"Organization" | "Practitioner" | "PractitionerRole">; - status: ("active" | "cancelled" | "draft" | "entered-in-error"); - _status?: Element; -} -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-r4-examples/Period.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/Period.ts deleted file mode 100644 index 4f9c45830..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/Period.ts +++ /dev/null @@ -1,15 +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 { Element } from "../hl7-fhir-r4-examples/Element"; - -export type { Element } from "../hl7-fhir-r4-examples/Element"; - -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/Period (pkg: hl7.fhir.r4.examples#4.0.1) -export interface Period extends Element { - end?: string; - _end?: Element; - start?: string; - _start?: 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 deleted file mode 100644 index ace79e170..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/Person.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 { Address } from "../hl7-fhir-r4-examples/Address"; -import type { Attachment } from "../hl7-fhir-r4-examples/Attachment"; -import type { BackboneElement } from "../hl7-fhir-r4-examples/BackboneElement"; -import type { ContactPoint } from "../hl7-fhir-r4-examples/ContactPoint"; -import type { DomainResource } from "../hl7-fhir-r4-examples/DomainResource"; -import type { HumanName } from "../hl7-fhir-r4-examples/HumanName"; -import type { Identifier } from "../hl7-fhir-r4-examples/Identifier"; -import type { Reference } from "../hl7-fhir-r4-examples/Reference"; - -import type { Element } from "../hl7-fhir-r4-examples/Element"; -export type { Address } from "../hl7-fhir-r4-examples/Address"; -export type { Attachment } from "../hl7-fhir-r4-examples/Attachment"; -export type { BackboneElement } from "../hl7-fhir-r4-examples/BackboneElement"; -export type { ContactPoint } from "../hl7-fhir-r4-examples/ContactPoint"; -export type { HumanName } from "../hl7-fhir-r4-examples/HumanName"; -export type { Identifier } from "../hl7-fhir-r4-examples/Identifier"; -export type { Reference } from "../hl7-fhir-r4-examples/Reference"; - -export interface PersonLink extends BackboneElement { - assurance?: ("level1" | "level2" | "level3" | "level4"); - target: Reference<"Patient" | "Person" | "Practitioner" | "RelatedPerson">; -} - -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/Person (pkg: hl7.fhir.r4.examples#4.0.1) -export interface Person extends DomainResource { - resourceType: "Person"; - - active?: boolean; - _active?: Element; - address?: Address[]; - birthDate?: string; - _birthDate?: Element; - gender?: ("male" | "female" | "other" | "unknown"); - _gender?: Element; - identifier?: Identifier[]; - link?: PersonLink[]; - managingOrganization?: Reference<"Organization">; - name?: HumanName[]; - photo?: Attachment; - telecom?: ContactPoint[]; -} -export const isPerson = (resource: unknown): resource is Person => { - return resource !== null && typeof resource === "object" && (resource as {resourceType: string}).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 deleted file mode 100644 index 274899174..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/PlanDefinition.ts +++ /dev/null @@ -1,173 +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 { Age } from "../hl7-fhir-r4-examples/Age"; -import type { BackboneElement } from "../hl7-fhir-r4-examples/BackboneElement"; -import type { CodeableConcept } from "../hl7-fhir-r4-examples/CodeableConcept"; -import type { ContactDetail } from "../hl7-fhir-r4-examples/ContactDetail"; -import type { DataRequirement } from "../hl7-fhir-r4-examples/DataRequirement"; -import type { DomainResource } from "../hl7-fhir-r4-examples/DomainResource"; -import type { Duration } from "../hl7-fhir-r4-examples/Duration"; -import type { Expression } from "../hl7-fhir-r4-examples/Expression"; -import type { Identifier } from "../hl7-fhir-r4-examples/Identifier"; -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 { Reference } from "../hl7-fhir-r4-examples/Reference"; -import type { RelatedArtifact } from "../hl7-fhir-r4-examples/RelatedArtifact"; -import type { Timing } from "../hl7-fhir-r4-examples/Timing"; -import type { TriggerDefinition } from "../hl7-fhir-r4-examples/TriggerDefinition"; -import type { UsageContext } from "../hl7-fhir-r4-examples/UsageContext"; - -import type { Element } from "../hl7-fhir-r4-examples/Element"; -export type { Age } from "../hl7-fhir-r4-examples/Age"; -export type { BackboneElement } from "../hl7-fhir-r4-examples/BackboneElement"; -export type { CodeableConcept } from "../hl7-fhir-r4-examples/CodeableConcept"; -export type { ContactDetail } from "../hl7-fhir-r4-examples/ContactDetail"; -export type { DataRequirement } from "../hl7-fhir-r4-examples/DataRequirement"; -export type { Duration } from "../hl7-fhir-r4-examples/Duration"; -export type { Expression } from "../hl7-fhir-r4-examples/Expression"; -export type { Identifier } from "../hl7-fhir-r4-examples/Identifier"; -export type { Period } from "../hl7-fhir-r4-examples/Period"; -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"; -export type { RelatedArtifact } from "../hl7-fhir-r4-examples/RelatedArtifact"; -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"; - -export interface PlanDefinitionAction extends BackboneElement { - action?: PlanDefinitionAction[]; - cardinalityBehavior?: ("single" | "multiple"); - code?: CodeableConcept[]; - condition?: PlanDefinitionActionCondition[]; - definitionCanonical?: string; - definitionUri?: string; - description?: string; - documentation?: RelatedArtifact[]; - dynamicValue?: PlanDefinitionActionDynamicValue[]; - goalId?: string[]; - groupingBehavior?: ("visual-group" | "logical-group" | "sentence-group"); - input?: DataRequirement[]; - output?: DataRequirement[]; - participant?: PlanDefinitionActionParticipant[]; - precheckBehavior?: ("yes" | "no"); - prefix?: string; - priority?: ("routine" | "urgent" | "asap" | "stat"); - reason?: CodeableConcept[]; - relatedAction?: PlanDefinitionActionRelatedAction[]; - requiredBehavior?: ("must" | "could" | "must-unless-documented"); - selectionBehavior?: ("any" | "all" | "all-or-none" | "exactly-one" | "at-most-one" | "one-or-more"); - subjectCodeableConcept?: CodeableConcept; - subjectReference?: Reference<"Group">; - textEquivalent?: string; - timingAge?: Age; - timingDateTime?: string; - timingDuration?: Duration; - timingPeriod?: Period; - timingRange?: Range; - timingTiming?: Timing; - title?: string; - transform?: string; - trigger?: TriggerDefinition[]; - type?: CodeableConcept<("create" | "update" | "remove" | "fire-event" | string)>; -} - -export interface PlanDefinitionActionCondition extends BackboneElement { - expression?: Expression; - kind: ("applicability" | "start" | "stop"); -} - -export interface PlanDefinitionActionDynamicValue extends BackboneElement { - expression?: Expression; - path?: string; -} - -export interface PlanDefinitionActionParticipant extends BackboneElement { - role?: CodeableConcept; - type: ("patient" | "practitioner" | "related-person" | "device"); -} - -export interface PlanDefinitionActionRelatedAction extends BackboneElement { - actionId: string; - offsetDuration?: Duration; - offsetRange?: Range; - relationship: ("before-start" | "before" | "before-end" | "concurrent-with-start" | "concurrent" | "concurrent-with-end" | "after-start" | "after" | "after-end"); -} - -export interface PlanDefinitionGoal extends BackboneElement { - addresses?: CodeableConcept[]; - category?: CodeableConcept; - description: CodeableConcept; - documentation?: RelatedArtifact[]; - priority?: CodeableConcept<("high-priority" | "medium-priority" | "low-priority" | string)>; - start?: CodeableConcept; - target?: PlanDefinitionGoalTarget[]; -} - -export interface PlanDefinitionGoalTarget extends BackboneElement { - detailCodeableConcept?: CodeableConcept; - detailQuantity?: Quantity; - detailRange?: Range; - due?: Duration; - measure?: CodeableConcept; -} - -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/PlanDefinition (pkg: hl7.fhir.r4.examples#4.0.1) -export interface PlanDefinition extends DomainResource { - resourceType: "PlanDefinition"; - - action?: PlanDefinitionAction[]; - approvalDate?: string; - _approvalDate?: Element; - author?: ContactDetail[]; - contact?: ContactDetail[]; - copyright?: string; - _copyright?: Element; - date?: string; - _date?: Element; - description?: string; - _description?: Element; - editor?: ContactDetail[]; - effectivePeriod?: Period; - endorser?: ContactDetail[]; - experimental?: boolean; - _experimental?: Element; - goal?: PlanDefinitionGoal[]; - identifier?: Identifier[]; - jurisdiction?: CodeableConcept[]; - lastReviewDate?: string; - _lastReviewDate?: Element; - library?: string[]; - _library?: (Element | null)[]; - name?: string; - _name?: Element; - publisher?: string; - _publisher?: Element; - purpose?: string; - _purpose?: Element; - relatedArtifact?: RelatedArtifact[]; - reviewer?: ContactDetail[]; - status: ("draft" | "active" | "retired" | "unknown"); - _status?: Element; - subjectCodeableConcept?: CodeableConcept; - subjectReference?: Reference<"Group">; - subtitle?: string; - _subtitle?: Element; - title?: string; - _title?: Element; - topic?: CodeableConcept[]; - type?: CodeableConcept<("order-set" | "clinical-protocol" | "eca-rule" | "workflow-definition" | string)>; - url?: string; - _url?: Element; - usage?: string; - _usage?: Element; - useContext?: UsageContext[]; - version?: string; - _version?: Element; -} -export const isPlanDefinition = (resource: unknown): resource is PlanDefinition => { - return resource !== null && typeof resource === "object" && (resource as {resourceType: string}).resourceType === "PlanDefinition"; -} 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 deleted file mode 100644 index b0dd3ccd9..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/Population.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 { BackboneElement } from "../hl7-fhir-r4-examples/BackboneElement"; -import type { CodeableConcept } from "../hl7-fhir-r4-examples/CodeableConcept"; -import type { Range } from "../hl7-fhir-r4-examples/Range"; - -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 (pkg: hl7.fhir.r4.examples#4.0.1) -export interface Population extends BackboneElement { - ageCodeableConcept?: CodeableConcept; - ageRange?: Range; - gender?: CodeableConcept; - physiologicalCondition?: CodeableConcept; - race?: CodeableConcept; -} 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 deleted file mode 100644 index 8a3240d4d..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/Practitioner.ts +++ /dev/null @@ -1,54 +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 { Address } from "../hl7-fhir-r4-examples/Address"; -import type { Attachment } from "../hl7-fhir-r4-examples/Attachment"; -import type { BackboneElement } from "../hl7-fhir-r4-examples/BackboneElement"; -import type { CodeableConcept } from "../hl7-fhir-r4-examples/CodeableConcept"; -import type { ContactPoint } from "../hl7-fhir-r4-examples/ContactPoint"; -import type { DomainResource } from "../hl7-fhir-r4-examples/DomainResource"; -import type { HumanName } from "../hl7-fhir-r4-examples/HumanName"; -import type { Identifier } from "../hl7-fhir-r4-examples/Identifier"; -import type { Period } from "../hl7-fhir-r4-examples/Period"; -import type { Reference } from "../hl7-fhir-r4-examples/Reference"; - -import type { Element } from "../hl7-fhir-r4-examples/Element"; -export type { Address } from "../hl7-fhir-r4-examples/Address"; -export type { Attachment } from "../hl7-fhir-r4-examples/Attachment"; -export type { BackboneElement } from "../hl7-fhir-r4-examples/BackboneElement"; -export type { CodeableConcept } from "../hl7-fhir-r4-examples/CodeableConcept"; -export type { ContactPoint } from "../hl7-fhir-r4-examples/ContactPoint"; -export type { HumanName } from "../hl7-fhir-r4-examples/HumanName"; -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"; - -export interface PractitionerQualification extends BackboneElement { - code: CodeableConcept; - identifier?: Identifier[]; - issuer?: Reference<"Organization">; - period?: Period; -} - -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/Practitioner (pkg: hl7.fhir.r4.examples#4.0.1) -export interface Practitioner extends DomainResource { - resourceType: "Practitioner"; - - active?: boolean; - _active?: Element; - address?: Address[]; - birthDate?: string; - _birthDate?: Element; - 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[]; - name?: HumanName[]; - photo?: Attachment[]; - qualification?: PractitionerQualification[]; - telecom?: ContactPoint[]; -} -export const isPractitioner = (resource: unknown): resource is Practitioner => { - return resource !== null && typeof resource === "object" && (resource as {resourceType: string}).resourceType === "Practitioner"; -} 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 deleted file mode 100644 index 6a73778f5..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/PractitionerRole.ts +++ /dev/null @@ -1,56 +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 { BackboneElement } from "../hl7-fhir-r4-examples/BackboneElement"; -import type { CodeableConcept } from "../hl7-fhir-r4-examples/CodeableConcept"; -import type { ContactPoint } from "../hl7-fhir-r4-examples/ContactPoint"; -import type { DomainResource } from "../hl7-fhir-r4-examples/DomainResource"; -import type { Identifier } from "../hl7-fhir-r4-examples/Identifier"; -import type { Period } from "../hl7-fhir-r4-examples/Period"; -import type { Reference } from "../hl7-fhir-r4-examples/Reference"; - -import type { Element } from "../hl7-fhir-r4-examples/Element"; -export type { BackboneElement } from "../hl7-fhir-r4-examples/BackboneElement"; -export type { CodeableConcept } from "../hl7-fhir-r4-examples/CodeableConcept"; -export type { ContactPoint } from "../hl7-fhir-r4-examples/ContactPoint"; -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"; - -export interface PractitionerRoleAvailableTime extends BackboneElement { - allDay?: boolean; - availableEndTime?: string; - availableStartTime?: string; - daysOfWeek?: ("mon" | "tue" | "wed" | "thu" | "fri" | "sat" | "sun")[]; -} - -export interface PractitionerRoleNotAvailable extends BackboneElement { - description: string; - during?: Period; -} - -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/PractitionerRole (pkg: hl7.fhir.r4.examples#4.0.1) -export interface PractitionerRole extends DomainResource { - resourceType: "PractitionerRole"; - - active?: boolean; - _active?: Element; - availabilityExceptions?: string; - _availabilityExceptions?: Element; - availableTime?: PractitionerRoleAvailableTime[]; - code?: CodeableConcept[]; - endpoint?: Reference<"Endpoint">[]; - healthcareService?: Reference<"HealthcareService">[]; - identifier?: Identifier[]; - location?: Reference<"Location">[]; - notAvailable?: PractitionerRoleNotAvailable[]; - organization?: Reference<"Organization">; - period?: Period; - practitioner?: Reference<"Practitioner">; - specialty?: CodeableConcept[]; - telecom?: ContactPoint[]; -} -export const isPractitionerRole = (resource: unknown): resource is PractitionerRole => { - return resource !== null && typeof resource === "object" && (resource as {resourceType: string}).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 deleted file mode 100644 index 3b8872b8d..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/Procedure.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 { Age } from "../hl7-fhir-r4-examples/Age"; -import type { Annotation } from "../hl7-fhir-r4-examples/Annotation"; -import type { BackboneElement } from "../hl7-fhir-r4-examples/BackboneElement"; -import type { CodeableConcept } from "../hl7-fhir-r4-examples/CodeableConcept"; -import type { DomainResource } from "../hl7-fhir-r4-examples/DomainResource"; -import type { Identifier } from "../hl7-fhir-r4-examples/Identifier"; -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"; - -import type { Element } from "../hl7-fhir-r4-examples/Element"; -export type { Age } from "../hl7-fhir-r4-examples/Age"; -export type { Annotation } from "../hl7-fhir-r4-examples/Annotation"; -export type { BackboneElement } from "../hl7-fhir-r4-examples/BackboneElement"; -export type { CodeableConcept } from "../hl7-fhir-r4-examples/CodeableConcept"; -export type { Identifier } from "../hl7-fhir-r4-examples/Identifier"; -export type { Period } from "../hl7-fhir-r4-examples/Period"; -export type { Range } from "../hl7-fhir-r4-examples/Range"; -export type { Reference } from "../hl7-fhir-r4-examples/Reference"; - -export interface ProcedureFocalDevice extends BackboneElement { - action?: CodeableConcept; - manipulated: Reference<"Device">; -} - -export interface ProcedurePerformer extends BackboneElement { - actor: Reference<"Device" | "Organization" | "Patient" | "Practitioner" | "PractitionerRole" | "RelatedPerson">; - "function"?: CodeableConcept; - onBehalfOf?: Reference<"Organization">; -} - -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/Procedure (pkg: hl7.fhir.r4.examples#4.0.1) -export interface Procedure extends DomainResource { - resourceType: "Procedure"; - - asserter?: Reference<"Patient" | "Practitioner" | "PractitionerRole" | "RelatedPerson">; - basedOn?: Reference<"CarePlan" | "ServiceRequest">[]; - bodySite?: CodeableConcept[]; - category?: CodeableConcept; - code?: CodeableConcept; - complication?: CodeableConcept[]; - complicationDetail?: Reference<"Condition">[]; - encounter?: Reference<"Encounter">; - focalDevice?: ProcedureFocalDevice[]; - followUp?: CodeableConcept[]; - identifier?: Identifier[]; - instantiatesCanonical?: string[]; - _instantiatesCanonical?: (Element | null)[]; - instantiatesUri?: string[]; - _instantiatesUri?: (Element | null)[]; - location?: Reference<"Location">; - note?: Annotation[]; - outcome?: CodeableConcept; - partOf?: Reference<"MedicationAdministration" | "Observation" | "Procedure">[]; - performedAge?: Age; - performedDateTime?: string; - _performedDateTime?: Element; - performedPeriod?: Period; - performedRange?: Range; - performedString?: string; - _performedString?: Element; - performer?: ProcedurePerformer[]; - reasonCode?: CodeableConcept[]; - reasonReference?: Reference<"Condition" | "DiagnosticReport" | "DocumentReference" | "Observation" | "Procedure">[]; - recorder?: Reference<"Patient" | "Practitioner" | "PractitionerRole" | "RelatedPerson">; - report?: Reference<"Composition" | "DiagnosticReport" | "DocumentReference">[]; - status: ("preparation" | "in-progress" | "not-done" | "on-hold" | "stopped" | "completed" | "entered-in-error" | "unknown"); - _status?: Element; - statusReason?: CodeableConcept; - subject: Reference<"Group" | "Patient">; - usedCode?: CodeableConcept[]; - usedReference?: Reference<"Device" | "Medication" | "Substance">[]; -} -export const isProcedure = (resource: unknown): resource is Procedure => { - return resource !== null && typeof resource === "object" && (resource as {resourceType: string}).resourceType === "Procedure"; -} 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 deleted file mode 100644 index a3166b4ee..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/ProdCharacteristic.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 { Attachment } from "../hl7-fhir-r4-examples/Attachment"; -import type { BackboneElement } from "../hl7-fhir-r4-examples/BackboneElement"; -import type { CodeableConcept } from "../hl7-fhir-r4-examples/CodeableConcept"; -import type { Quantity } from "../hl7-fhir-r4-examples/Quantity"; - -import type { Element } from "../hl7-fhir-r4-examples/Element"; -export type { Attachment } from "../hl7-fhir-r4-examples/Attachment"; -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 (pkg: hl7.fhir.r4.examples#4.0.1) -export interface ProdCharacteristic extends BackboneElement { - color?: string[]; - _color?: (Element | null)[]; - depth?: Quantity; - externalDiameter?: Quantity; - height?: Quantity; - image?: Attachment[]; - imprint?: string[]; - _imprint?: (Element | null)[]; - nominalVolume?: Quantity; - scoring?: CodeableConcept; - shape?: string; - _shape?: Element; - weight?: Quantity; - width?: Quantity; -} 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 deleted file mode 100644 index 55afac613..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/ProductShelfLife.ts +++ /dev/null @@ -1,21 +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 { BackboneElement } from "../hl7-fhir-r4-examples/BackboneElement"; -import type { CodeableConcept } from "../hl7-fhir-r4-examples/CodeableConcept"; -import type { Identifier } from "../hl7-fhir-r4-examples/Identifier"; -import type { Quantity } from "../hl7-fhir-r4-examples/Quantity"; - -export type { BackboneElement } from "../hl7-fhir-r4-examples/BackboneElement"; -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 (pkg: hl7.fhir.r4.examples#4.0.1) -export interface ProductShelfLife extends BackboneElement { - identifier?: Identifier; - period: Quantity; - specialPrecautionsForStorage?: CodeableConcept[]; - type: CodeableConcept; -} 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 deleted file mode 100644 index 200254ead..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/Provenance.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 { BackboneElement } from "../hl7-fhir-r4-examples/BackboneElement"; -import type { CodeableConcept } from "../hl7-fhir-r4-examples/CodeableConcept"; -import type { DomainResource } from "../hl7-fhir-r4-examples/DomainResource"; -import type { Period } from "../hl7-fhir-r4-examples/Period"; -import type { Reference } from "../hl7-fhir-r4-examples/Reference"; -import type { Signature } from "../hl7-fhir-r4-examples/Signature"; - -import type { Element } from "../hl7-fhir-r4-examples/Element"; -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"; -export type { Reference } from "../hl7-fhir-r4-examples/Reference"; -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<("enterer" | "performer" | "author" | "verifier" | "legal" | "attester" | "informant" | "custodian" | "assembler" | "composer" | string)>; - who: Reference<"Device" | "Organization" | "Patient" | "Practitioner" | "PractitionerRole" | "RelatedPerson">; -} - -export interface ProvenanceEntity extends BackboneElement { - agent?: ProvenanceAgent[]; - role: ("derivation" | "revision" | "quotation" | "source" | "removal"); - what: Reference<"Resource">; -} - -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/Provenance (pkg: hl7.fhir.r4.examples#4.0.1) -export interface Provenance extends DomainResource { - resourceType: "Provenance"; - - 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">; - occurredDateTime?: string; - _occurredDateTime?: Element; - occurredPeriod?: Period; - policy?: string[]; - _policy?: (Element | null)[]; - reason?: CodeableConcept[]; - recorded: string; - _recorded?: Element; - signature?: Signature[]; - target: Reference<"Resource">[]; -} -export const isProvenance = (resource: unknown): resource is Provenance => { - return resource !== null && typeof resource === "object" && (resource as {resourceType: string}).resourceType === "Provenance"; -} 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 deleted file mode 100644 index 27d75674f..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/Quantity.ts +++ /dev/null @@ -1,21 +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 { Element } from "../hl7-fhir-r4-examples/Element"; - -export type { Element } from "../hl7-fhir-r4-examples/Element"; - -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/Quantity (pkg: hl7.fhir.r4.examples#4.0.1) -export interface Quantity extends Element { - code?: string; - _code?: Element; - comparator?: ("<" | "<=" | ">=" | ">"); - _comparator?: Element; - system?: string; - _system?: Element; - unit?: string; - _unit?: Element; - value?: number; - _value?: 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 deleted file mode 100644 index 0b9a0829b..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/Questionnaire.ts +++ /dev/null @@ -1,132 +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-r4-examples/Attachment"; -import type { BackboneElement } from "../hl7-fhir-r4-examples/BackboneElement"; -import type { CodeableConcept } from "../hl7-fhir-r4-examples/CodeableConcept"; -import type { Coding } from "../hl7-fhir-r4-examples/Coding"; -import type { ContactDetail } from "../hl7-fhir-r4-examples/ContactDetail"; -import type { DomainResource } from "../hl7-fhir-r4-examples/DomainResource"; -import type { Identifier } from "../hl7-fhir-r4-examples/Identifier"; -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"; -import type { UsageContext } from "../hl7-fhir-r4-examples/UsageContext"; - -import type { Element } from "../hl7-fhir-r4-examples/Element"; -export type { Attachment } from "../hl7-fhir-r4-examples/Attachment"; -export type { BackboneElement } from "../hl7-fhir-r4-examples/BackboneElement"; -export type { CodeableConcept } from "../hl7-fhir-r4-examples/CodeableConcept"; -export type { Coding } from "../hl7-fhir-r4-examples/Coding"; -export type { ContactDetail } from "../hl7-fhir-r4-examples/ContactDetail"; -export type { Identifier } from "../hl7-fhir-r4-examples/Identifier"; -export type { Period } from "../hl7-fhir-r4-examples/Period"; -export type { Quantity } from "../hl7-fhir-r4-examples/Quantity"; -export type { Reference } from "../hl7-fhir-r4-examples/Reference"; -export type { UsageContext } from "../hl7-fhir-r4-examples/UsageContext"; - -export interface QuestionnaireItem extends BackboneElement { - answerOption?: QuestionnaireItemAnswerOption[]; - answerValueSet?: string; - code?: Coding[]; - definition?: string; - enableBehavior?: ("all" | "any"); - enableWhen?: QuestionnaireItemEnableWhen[]; - initial?: QuestionnaireItemInitial[]; - item?: QuestionnaireItem[]; - linkId: string; - maxLength?: number; - prefix?: string; - readOnly?: boolean; - repeats?: boolean; - required?: boolean; - text?: string; - type: ("group" | "display" | "question" | "boolean" | "decimal" | "integer" | "date" | "dateTime" | "time" | "string" | "text" | "url" | "choice" | "open-choice" | "attachment" | "reference" | "quantity"); -} - -export interface QuestionnaireItemAnswerOption extends BackboneElement { - initialSelected?: boolean; - valueCoding?: Coding; - valueDate?: string; - valueInteger?: number; - valueReference?: Reference<"Resource">; - valueString?: string; - valueTime?: string; -} - -export interface QuestionnaireItemEnableWhen extends BackboneElement { - answerBoolean?: boolean; - answerCoding?: Coding; - answerDate?: string; - answerDateTime?: string; - answerDecimal?: number; - answerInteger?: number; - answerQuantity?: Quantity; - answerReference?: Reference<"Resource">; - answerString?: string; - answerTime?: string; - operator: ("exists" | "=" | "!=" | ">" | "<" | ">=" | "<="); - question: string; -} - -export interface QuestionnaireItemInitial extends BackboneElement { - valueAttachment?: Attachment; - valueBoolean?: boolean; - valueCoding?: Coding; - valueDate?: string; - valueDateTime?: string; - valueDecimal?: number; - valueInteger?: number; - valueQuantity?: Quantity; - valueReference?: Reference<"Resource">; - valueString?: string; - valueTime?: string; - valueUri?: string; -} - -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/Questionnaire (pkg: hl7.fhir.r4.examples#4.0.1) -export interface Questionnaire extends DomainResource { - resourceType: "Questionnaire"; - - approvalDate?: string; - _approvalDate?: Element; - code?: Coding[]; - contact?: ContactDetail[]; - copyright?: string; - _copyright?: Element; - date?: string; - _date?: Element; - derivedFrom?: string[]; - _derivedFrom?: (Element | null)[]; - description?: string; - _description?: Element; - effectivePeriod?: Period; - experimental?: boolean; - _experimental?: Element; - identifier?: Identifier[]; - item?: QuestionnaireItem[]; - jurisdiction?: CodeableConcept[]; - lastReviewDate?: string; - _lastReviewDate?: Element; - name?: string; - _name?: Element; - publisher?: string; - _publisher?: Element; - purpose?: string; - _purpose?: Element; - status: ("draft" | "active" | "retired" | "unknown"); - _status?: Element; - subjectType?: string[]; - _subjectType?: (Element | null)[]; - title?: string; - _title?: Element; - url?: string; - _url?: Element; - useContext?: UsageContext[]; - version?: string; - _version?: Element; -} -export const isQuestionnaire = (resource: unknown): resource is Questionnaire => { - return resource !== null && typeof resource === "object" && (resource as {resourceType: string}).resourceType === "Questionnaire"; -} 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 deleted file mode 100644 index 99a968632..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/QuestionnaireResponse.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 { Attachment } from "../hl7-fhir-r4-examples/Attachment"; -import type { BackboneElement } from "../hl7-fhir-r4-examples/BackboneElement"; -import type { Coding } from "../hl7-fhir-r4-examples/Coding"; -import type { DomainResource } from "../hl7-fhir-r4-examples/DomainResource"; -import type { Identifier } from "../hl7-fhir-r4-examples/Identifier"; -import type { Quantity } from "../hl7-fhir-r4-examples/Quantity"; -import type { Reference } from "../hl7-fhir-r4-examples/Reference"; - -import type { Element } from "../hl7-fhir-r4-examples/Element"; -export type { Attachment } from "../hl7-fhir-r4-examples/Attachment"; -export type { BackboneElement } from "../hl7-fhir-r4-examples/BackboneElement"; -export type { Coding } from "../hl7-fhir-r4-examples/Coding"; -export type { Identifier } from "../hl7-fhir-r4-examples/Identifier"; -export type { Quantity } from "../hl7-fhir-r4-examples/Quantity"; -export type { Reference } from "../hl7-fhir-r4-examples/Reference"; - -export interface QuestionnaireResponseItem extends BackboneElement { - answer?: QuestionnaireResponseItemAnswer[]; - definition?: string; - item?: QuestionnaireResponseItem[]; - linkId: string; - text?: string; -} - -export interface QuestionnaireResponseItemAnswer extends BackboneElement { - item?: QuestionnaireResponseItem[]; - valueAttachment?: Attachment; - valueBoolean?: boolean; - valueCoding?: Coding; - valueDate?: string; - valueDateTime?: string; - valueDecimal?: number; - valueInteger?: number; - valueQuantity?: Quantity; - valueReference?: Reference<"Resource">; - valueString?: string; - valueTime?: string; - valueUri?: string; -} - -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse (pkg: hl7.fhir.r4.examples#4.0.1) -export interface QuestionnaireResponse extends DomainResource { - resourceType: "QuestionnaireResponse"; - - author?: Reference<"Device" | "Organization" | "Patient" | "Practitioner" | "PractitionerRole" | "RelatedPerson">; - authored?: string; - _authored?: Element; - basedOn?: Reference<"CarePlan" | "ServiceRequest">[]; - encounter?: Reference<"Encounter">; - identifier?: Identifier; - item?: QuestionnaireResponseItem[]; - partOf?: Reference<"Observation" | "Procedure">[]; - questionnaire?: string; - _questionnaire?: Element; - source?: Reference<"Patient" | "Practitioner" | "PractitionerRole" | "RelatedPerson">; - status: ("in-progress" | "completed" | "amended" | "entered-in-error" | "stopped"); - _status?: Element; - subject?: Reference<"Resource">; -} -export const isQuestionnaireResponse = (resource: unknown): resource is QuestionnaireResponse => { - return resource !== null && typeof resource === "object" && (resource as {resourceType: string}).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 deleted file mode 100644 index f28af821f..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/Range.ts +++ /dev/null @@ -1,15 +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 { Element } from "../hl7-fhir-r4-examples/Element"; -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 (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 deleted file mode 100644 index c534e0a78..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/Ratio.ts +++ /dev/null @@ -1,15 +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 { Element } from "../hl7-fhir-r4-examples/Element"; -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 (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 deleted file mode 100644 index 62680f8c3..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/Reference.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 { Element } from "../hl7-fhir-r4-examples/Element"; -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 (pkg: hl7.fhir.r4.examples#4.0.1) -export interface Reference extends Element { - display?: string; - _display?: Element; - identifier?: Identifier; - reference?: `${T}/${string}`; - _reference?: Element; - type?: string; - _type?: 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 deleted file mode 100644 index 30f50ce48..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/RelatedArtifact.ts +++ /dev/null @@ -1,26 +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-r4-examples/Attachment"; -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 (pkg: hl7.fhir.r4.examples#4.0.1) -export interface RelatedArtifact extends Element { - citation?: string; - _citation?: Element; - display?: string; - _display?: Element; - document?: Attachment; - label?: string; - _label?: Element; - resource?: string; - _resource?: Element; - type: ("documentation" | "justification" | "citation" | "predecessor" | "successor" | "derived-from" | "depends-on" | "composed-of"); - _type?: Element; - url?: string; - _url?: 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 deleted file mode 100644 index a797964e7..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/RelatedPerson.ts +++ /dev/null @@ -1,54 +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 { Address } from "../hl7-fhir-r4-examples/Address"; -import type { Attachment } from "../hl7-fhir-r4-examples/Attachment"; -import type { BackboneElement } from "../hl7-fhir-r4-examples/BackboneElement"; -import type { CodeableConcept } from "../hl7-fhir-r4-examples/CodeableConcept"; -import type { ContactPoint } from "../hl7-fhir-r4-examples/ContactPoint"; -import type { DomainResource } from "../hl7-fhir-r4-examples/DomainResource"; -import type { HumanName } from "../hl7-fhir-r4-examples/HumanName"; -import type { Identifier } from "../hl7-fhir-r4-examples/Identifier"; -import type { Period } from "../hl7-fhir-r4-examples/Period"; -import type { Reference } from "../hl7-fhir-r4-examples/Reference"; - -import type { Element } from "../hl7-fhir-r4-examples/Element"; -export type { Address } from "../hl7-fhir-r4-examples/Address"; -export type { Attachment } from "../hl7-fhir-r4-examples/Attachment"; -export type { BackboneElement } from "../hl7-fhir-r4-examples/BackboneElement"; -export type { CodeableConcept } from "../hl7-fhir-r4-examples/CodeableConcept"; -export type { ContactPoint } from "../hl7-fhir-r4-examples/ContactPoint"; -export type { HumanName } from "../hl7-fhir-r4-examples/HumanName"; -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"; - -export interface RelatedPersonCommunication extends BackboneElement { - 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 (pkg: hl7.fhir.r4.examples#4.0.1) -export interface RelatedPerson extends DomainResource { - resourceType: "RelatedPerson"; - - active?: boolean; - _active?: Element; - address?: Address[]; - birthDate?: string; - _birthDate?: Element; - communication?: RelatedPersonCommunication[]; - gender?: ("male" | "female" | "other" | "unknown"); - _gender?: Element; - identifier?: Identifier[]; - name?: HumanName[]; - patient: Reference<"Patient">; - period?: Period; - photo?: Attachment[]; - 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 => { - return resource !== null && typeof resource === "object" && (resource as {resourceType: string}).resourceType === "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 deleted file mode 100644 index 8fcade52b..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/Request.ts +++ /dev/null @@ -1,6 +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. - -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/Request (pkg: hl7.fhir.r4.examples#4.0.1) -export type Request = object; 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 deleted file mode 100644 index 44dcc3d02..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/RequestGroup.ts +++ /dev/null @@ -1,103 +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 { Age } from "../hl7-fhir-r4-examples/Age"; -import type { Annotation } from "../hl7-fhir-r4-examples/Annotation"; -import type { BackboneElement } from "../hl7-fhir-r4-examples/BackboneElement"; -import type { CodeableConcept } from "../hl7-fhir-r4-examples/CodeableConcept"; -import type { DomainResource } from "../hl7-fhir-r4-examples/DomainResource"; -import type { Duration } from "../hl7-fhir-r4-examples/Duration"; -import type { Expression } from "../hl7-fhir-r4-examples/Expression"; -import type { Identifier } from "../hl7-fhir-r4-examples/Identifier"; -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"; -import type { RelatedArtifact } from "../hl7-fhir-r4-examples/RelatedArtifact"; -import type { Timing } from "../hl7-fhir-r4-examples/Timing"; - -import type { Element } from "../hl7-fhir-r4-examples/Element"; -export type { Age } from "../hl7-fhir-r4-examples/Age"; -export type { Annotation } from "../hl7-fhir-r4-examples/Annotation"; -export type { BackboneElement } from "../hl7-fhir-r4-examples/BackboneElement"; -export type { CodeableConcept } from "../hl7-fhir-r4-examples/CodeableConcept"; -export type { Duration } from "../hl7-fhir-r4-examples/Duration"; -export type { Expression } from "../hl7-fhir-r4-examples/Expression"; -export type { Identifier } from "../hl7-fhir-r4-examples/Identifier"; -export type { Period } from "../hl7-fhir-r4-examples/Period"; -export type { Range } from "../hl7-fhir-r4-examples/Range"; -export type { Reference } from "../hl7-fhir-r4-examples/Reference"; -export type { RelatedArtifact } from "../hl7-fhir-r4-examples/RelatedArtifact"; -export type { Timing } from "../hl7-fhir-r4-examples/Timing"; - -export interface RequestGroupAction extends BackboneElement { - action?: RequestGroupAction[]; - cardinalityBehavior?: ("single" | "multiple"); - code?: CodeableConcept[]; - condition?: RequestGroupActionCondition[]; - description?: string; - documentation?: RelatedArtifact[]; - groupingBehavior?: ("visual-group" | "logical-group" | "sentence-group"); - participant?: Reference<"Device" | "Patient" | "Practitioner" | "PractitionerRole" | "RelatedPerson">[]; - precheckBehavior?: ("yes" | "no"); - prefix?: string; - priority?: ("routine" | "urgent" | "asap" | "stat"); - relatedAction?: RequestGroupActionRelatedAction[]; - requiredBehavior?: ("must" | "could" | "must-unless-documented"); - resource?: Reference<"Resource">; - selectionBehavior?: ("any" | "all" | "all-or-none" | "exactly-one" | "at-most-one" | "one-or-more"); - textEquivalent?: string; - timingAge?: Age; - timingDateTime?: string; - timingDuration?: Duration; - timingPeriod?: Period; - timingRange?: Range; - timingTiming?: Timing; - title?: string; - type?: CodeableConcept<("create" | "update" | "remove" | "fire-event" | string)>; -} - -export interface RequestGroupActionCondition extends BackboneElement { - expression?: Expression; - kind: ("applicability" | "start" | "stop"); -} - -export interface RequestGroupActionRelatedAction extends BackboneElement { - actionId: string; - offsetDuration?: Duration; - offsetRange?: Range; - 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 (pkg: hl7.fhir.r4.examples#4.0.1) -export interface RequestGroup extends DomainResource { - resourceType: "RequestGroup"; - - action?: RequestGroupAction[]; - author?: Reference<"Device" | "Practitioner" | "PractitionerRole">; - authoredOn?: string; - _authoredOn?: Element; - basedOn?: Reference<"Resource">[]; - code?: CodeableConcept; - encounter?: Reference<"Encounter">; - groupIdentifier?: Identifier; - identifier?: Identifier[]; - instantiatesCanonical?: string[]; - _instantiatesCanonical?: (Element | null)[]; - instantiatesUri?: string[]; - _instantiatesUri?: (Element | null)[]; - intent: ("proposal" | "plan" | "directive" | "order" | "original-order" | "reflex-order" | "filler-order" | "instance-order" | "option"); - _intent?: Element; - note?: Annotation[]; - priority?: ("routine" | "urgent" | "asap" | "stat"); - _priority?: Element; - reasonCode?: CodeableConcept[]; - reasonReference?: Reference<"Condition" | "DiagnosticReport" | "DocumentReference" | "Observation">[]; - replaces?: Reference<"Resource">[]; - status: ("draft" | "active" | "on-hold" | "revoked" | "completed" | "entered-in-error" | "unknown"); - _status?: Element; - subject?: Reference<"Group" | "Patient">; -} -export const isRequestGroup = (resource: unknown): resource is RequestGroup => { - return resource !== null && typeof resource === "object" && (resource as {resourceType: string}).resourceType === "RequestGroup"; -} 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 deleted file mode 100644 index 57db630af..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/ResearchDefinition.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 { CodeableConcept } from "../hl7-fhir-r4-examples/CodeableConcept"; -import type { ContactDetail } from "../hl7-fhir-r4-examples/ContactDetail"; -import type { DomainResource } from "../hl7-fhir-r4-examples/DomainResource"; -import type { Identifier } from "../hl7-fhir-r4-examples/Identifier"; -import type { Period } from "../hl7-fhir-r4-examples/Period"; -import type { Reference } from "../hl7-fhir-r4-examples/Reference"; -import type { RelatedArtifact } from "../hl7-fhir-r4-examples/RelatedArtifact"; -import type { UsageContext } from "../hl7-fhir-r4-examples/UsageContext"; - -import type { Element } from "../hl7-fhir-r4-examples/Element"; -export type { CodeableConcept } from "../hl7-fhir-r4-examples/CodeableConcept"; -export type { ContactDetail } from "../hl7-fhir-r4-examples/ContactDetail"; -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"; -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 (pkg: hl7.fhir.r4.examples#4.0.1) -export interface ResearchDefinition extends DomainResource { - resourceType: "ResearchDefinition"; - - approvalDate?: string; - _approvalDate?: Element; - author?: ContactDetail[]; - comment?: string[]; - _comment?: (Element | null)[]; - contact?: ContactDetail[]; - copyright?: string; - _copyright?: Element; - date?: string; - _date?: Element; - description?: string; - _description?: Element; - editor?: ContactDetail[]; - effectivePeriod?: Period; - endorser?: ContactDetail[]; - experimental?: boolean; - _experimental?: Element; - exposure?: Reference<"ResearchElementDefinition">; - exposureAlternative?: Reference<"ResearchElementDefinition">; - identifier?: Identifier[]; - jurisdiction?: CodeableConcept[]; - lastReviewDate?: string; - _lastReviewDate?: Element; - library?: string[]; - _library?: (Element | null)[]; - name?: string; - _name?: Element; - outcome?: Reference<"ResearchElementDefinition">; - population: Reference<"ResearchElementDefinition">; - publisher?: string; - _publisher?: Element; - purpose?: string; - _purpose?: Element; - relatedArtifact?: RelatedArtifact[]; - reviewer?: ContactDetail[]; - shortTitle?: string; - _shortTitle?: Element; - status: ("draft" | "active" | "retired" | "unknown"); - _status?: Element; - subjectCodeableConcept?: CodeableConcept; - subjectReference?: Reference<"Group">; - subtitle?: string; - _subtitle?: Element; - title?: string; - _title?: Element; - topic?: CodeableConcept[]; - url?: string; - _url?: Element; - usage?: string; - _usage?: Element; - useContext?: UsageContext[]; - version?: string; - _version?: Element; -} -export const isResearchDefinition = (resource: unknown): resource is ResearchDefinition => { - return resource !== null && typeof resource === "object" && (resource as {resourceType: string}).resourceType === "ResearchDefinition"; -} 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 deleted file mode 100644 index 2b1e009d3..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/ResearchElementDefinition.ts +++ /dev/null @@ -1,118 +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 { BackboneElement } from "../hl7-fhir-r4-examples/BackboneElement"; -import type { CodeableConcept } from "../hl7-fhir-r4-examples/CodeableConcept"; -import type { ContactDetail } from "../hl7-fhir-r4-examples/ContactDetail"; -import type { DataRequirement } from "../hl7-fhir-r4-examples/DataRequirement"; -import type { DomainResource } from "../hl7-fhir-r4-examples/DomainResource"; -import type { Duration } from "../hl7-fhir-r4-examples/Duration"; -import type { Expression } from "../hl7-fhir-r4-examples/Expression"; -import type { Identifier } from "../hl7-fhir-r4-examples/Identifier"; -import type { Period } from "../hl7-fhir-r4-examples/Period"; -import type { Reference } from "../hl7-fhir-r4-examples/Reference"; -import type { RelatedArtifact } from "../hl7-fhir-r4-examples/RelatedArtifact"; -import type { Timing } from "../hl7-fhir-r4-examples/Timing"; -import type { UsageContext } from "../hl7-fhir-r4-examples/UsageContext"; - -import type { Element } from "../hl7-fhir-r4-examples/Element"; -export type { BackboneElement } from "../hl7-fhir-r4-examples/BackboneElement"; -export type { CodeableConcept } from "../hl7-fhir-r4-examples/CodeableConcept"; -export type { ContactDetail } from "../hl7-fhir-r4-examples/ContactDetail"; -export type { DataRequirement } from "../hl7-fhir-r4-examples/DataRequirement"; -export type { Duration } from "../hl7-fhir-r4-examples/Duration"; -export type { Expression } from "../hl7-fhir-r4-examples/Expression"; -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"; -export type { RelatedArtifact } from "../hl7-fhir-r4-examples/RelatedArtifact"; -export type { Timing } from "../hl7-fhir-r4-examples/Timing"; -export type { UsageContext } from "../hl7-fhir-r4-examples/UsageContext"; - -export interface ResearchElementDefinitionCharacteristic extends BackboneElement { - definitionCanonical?: string; - definitionCodeableConcept?: CodeableConcept; - definitionDataRequirement?: DataRequirement; - definitionExpression?: Expression; - exclude?: boolean; - participantEffectiveDateTime?: string; - participantEffectiveDescription?: string; - participantEffectiveDuration?: Duration; - participantEffectiveGroupMeasure?: ("mean" | "median" | "mean-of-mean" | "mean-of-median" | "median-of-mean" | "median-of-median"); - participantEffectivePeriod?: Period; - participantEffectiveTimeFromStart?: Duration; - participantEffectiveTiming?: Timing; - studyEffectiveDateTime?: string; - studyEffectiveDescription?: string; - studyEffectiveDuration?: Duration; - studyEffectiveGroupMeasure?: ("mean" | "median" | "mean-of-mean" | "mean-of-median" | "median-of-mean" | "median-of-median"); - studyEffectivePeriod?: Period; - studyEffectiveTimeFromStart?: Duration; - studyEffectiveTiming?: Timing; - unitOfMeasure?: CodeableConcept; - usageContext?: UsageContext[]; -} - -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/ResearchElementDefinition (pkg: hl7.fhir.r4.examples#4.0.1) -export interface ResearchElementDefinition extends DomainResource { - resourceType: "ResearchElementDefinition"; - - approvalDate?: string; - _approvalDate?: Element; - author?: ContactDetail[]; - characteristic: ResearchElementDefinitionCharacteristic[]; - comment?: string[]; - _comment?: (Element | null)[]; - contact?: ContactDetail[]; - copyright?: string; - _copyright?: Element; - date?: string; - _date?: Element; - description?: string; - _description?: Element; - editor?: ContactDetail[]; - effectivePeriod?: Period; - endorser?: ContactDetail[]; - experimental?: boolean; - _experimental?: Element; - identifier?: Identifier[]; - jurisdiction?: CodeableConcept[]; - lastReviewDate?: string; - _lastReviewDate?: Element; - library?: string[]; - _library?: (Element | null)[]; - name?: string; - _name?: Element; - publisher?: string; - _publisher?: Element; - purpose?: string; - _purpose?: Element; - relatedArtifact?: RelatedArtifact[]; - reviewer?: ContactDetail[]; - shortTitle?: string; - _shortTitle?: Element; - status: ("draft" | "active" | "retired" | "unknown"); - _status?: Element; - subjectCodeableConcept?: CodeableConcept; - subjectReference?: Reference<"Group">; - subtitle?: string; - _subtitle?: Element; - title?: string; - _title?: Element; - topic?: CodeableConcept[]; - type: ("population" | "exposure" | "outcome"); - _type?: Element; - url?: string; - _url?: Element; - usage?: string; - _usage?: Element; - useContext?: UsageContext[]; - variableType?: ("dichotomous" | "continuous" | "descriptive"); - _variableType?: Element; - version?: string; - _version?: Element; -} -export const isResearchElementDefinition = (resource: unknown): resource is ResearchElementDefinition => { - return resource !== null && typeof resource === "object" && (resource as {resourceType: string}).resourceType === "ResearchElementDefinition"; -} 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 deleted file mode 100644 index 4b41fc2db..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/ResearchStudy.ts +++ /dev/null @@ -1,70 +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 { Annotation } from "../hl7-fhir-r4-examples/Annotation"; -import type { BackboneElement } from "../hl7-fhir-r4-examples/BackboneElement"; -import type { CodeableConcept } from "../hl7-fhir-r4-examples/CodeableConcept"; -import type { ContactDetail } from "../hl7-fhir-r4-examples/ContactDetail"; -import type { DomainResource } from "../hl7-fhir-r4-examples/DomainResource"; -import type { Identifier } from "../hl7-fhir-r4-examples/Identifier"; -import type { Period } from "../hl7-fhir-r4-examples/Period"; -import type { Reference } from "../hl7-fhir-r4-examples/Reference"; -import type { RelatedArtifact } from "../hl7-fhir-r4-examples/RelatedArtifact"; - -import type { Element } from "../hl7-fhir-r4-examples/Element"; -export type { Annotation } from "../hl7-fhir-r4-examples/Annotation"; -export type { BackboneElement } from "../hl7-fhir-r4-examples/BackboneElement"; -export type { CodeableConcept } from "../hl7-fhir-r4-examples/CodeableConcept"; -export type { ContactDetail } from "../hl7-fhir-r4-examples/ContactDetail"; -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"; -export type { RelatedArtifact } from "../hl7-fhir-r4-examples/RelatedArtifact"; - -export interface ResearchStudyArm extends BackboneElement { - description?: string; - name: string; - type?: CodeableConcept; -} - -export interface ResearchStudyObjective extends BackboneElement { - name?: string; - type?: CodeableConcept<("primary" | "secondary" | "exploratory" | string)>; -} - -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/ResearchStudy (pkg: hl7.fhir.r4.examples#4.0.1) -export interface ResearchStudy extends DomainResource { - resourceType: "ResearchStudy"; - - arm?: ResearchStudyArm[]; - category?: CodeableConcept[]; - condition?: CodeableConcept[]; - contact?: ContactDetail[]; - description?: string; - _description?: Element; - enrollment?: Reference<"Group">[]; - focus?: CodeableConcept[]; - identifier?: Identifier[]; - keyword?: CodeableConcept[]; - location?: CodeableConcept[]; - note?: Annotation[]; - objective?: ResearchStudyObjective[]; - partOf?: Reference<"ResearchStudy">[]; - period?: Period; - phase?: 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; - relatedArtifact?: RelatedArtifact[]; - site?: Reference<"Location">[]; - sponsor?: Reference<"Organization">; - status: ("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"); - _status?: Element; - title?: string; - _title?: Element; -} -export const isResearchStudy = (resource: unknown): resource is ResearchStudy => { - return resource !== null && typeof resource === "object" && (resource as {resourceType: string}).resourceType === "ResearchStudy"; -} 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 deleted file mode 100644 index 9992b5514..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/ResearchSubject.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 { DomainResource } from "../hl7-fhir-r4-examples/DomainResource"; -import type { Identifier } from "../hl7-fhir-r4-examples/Identifier"; -import type { Period } from "../hl7-fhir-r4-examples/Period"; -import type { Reference } from "../hl7-fhir-r4-examples/Reference"; - -import type { Element } from "../hl7-fhir-r4-examples/Element"; -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 (pkg: hl7.fhir.r4.examples#4.0.1) -export interface ResearchSubject extends DomainResource { - resourceType: "ResearchSubject"; - - actualArm?: string; - _actualArm?: Element; - assignedArm?: string; - _assignedArm?: Element; - consent?: Reference<"Consent">; - identifier?: Identifier[]; - individual: Reference<"Patient">; - period?: Period; - status: ("candidate" | "eligible" | "follow-up" | "ineligible" | "not-registered" | "off-study" | "on-study" | "on-study-intervention" | "on-study-observation" | "pending-on-study" | "potential-candidate" | "screening" | "withdrawn"); - _status?: Element; - study: Reference<"ResearchStudy">; -} -export const isResearchSubject = (resource: unknown): resource is ResearchSubject => { - return resource !== null && typeof resource === "object" && (resource as {resourceType: string}).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 deleted file mode 100644 index 486fe95d5..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/Resource.ts +++ /dev/null @@ -1,24 +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 { 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 (pkg: hl7.fhir.r4.examples#4.0.1) -export interface Resource { - 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?: ("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; -} -export const isResource = (resource: unknown): resource is Resource => { - return resource !== null && typeof resource === "object" && (resource as {resourceType: string}).resourceType === "Resource"; -} 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 deleted file mode 100644 index 7be219b3e..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/RiskAssessment.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 { Annotation } from "../hl7-fhir-r4-examples/Annotation"; -import type { BackboneElement } from "../hl7-fhir-r4-examples/BackboneElement"; -import type { CodeableConcept } from "../hl7-fhir-r4-examples/CodeableConcept"; -import type { DomainResource } from "../hl7-fhir-r4-examples/DomainResource"; -import type { Identifier } from "../hl7-fhir-r4-examples/Identifier"; -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"; - -import type { Element } from "../hl7-fhir-r4-examples/Element"; -export type { Annotation } from "../hl7-fhir-r4-examples/Annotation"; -export type { BackboneElement } from "../hl7-fhir-r4-examples/BackboneElement"; -export type { CodeableConcept } from "../hl7-fhir-r4-examples/CodeableConcept"; -export type { Identifier } from "../hl7-fhir-r4-examples/Identifier"; -export type { Period } from "../hl7-fhir-r4-examples/Period"; -export type { Range } from "../hl7-fhir-r4-examples/Range"; -export type { Reference } from "../hl7-fhir-r4-examples/Reference"; - -export interface RiskAssessmentPrediction extends BackboneElement { - outcome?: CodeableConcept; - probabilityDecimal?: number; - probabilityRange?: Range; - qualitativeRisk?: CodeableConcept; - rationale?: string; - relativeRisk?: number; - whenPeriod?: Period; - whenRange?: Range; -} - -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/RiskAssessment (pkg: hl7.fhir.r4.examples#4.0.1) -export interface RiskAssessment extends DomainResource { - resourceType: "RiskAssessment"; - - basedOn?: Reference<"Resource">; - basis?: Reference<"Resource">[]; - code?: CodeableConcept; - condition?: Reference<"Condition">; - encounter?: Reference<"Encounter">; - identifier?: Identifier[]; - method?: CodeableConcept; - mitigation?: string; - _mitigation?: Element; - note?: Annotation[]; - occurrenceDateTime?: string; - _occurrenceDateTime?: Element; - occurrencePeriod?: Period; - parent?: Reference<"Resource">; - performer?: Reference<"Device" | "Practitioner" | "PractitionerRole">; - prediction?: RiskAssessmentPrediction[]; - reasonCode?: CodeableConcept[]; - reasonReference?: Reference<"Condition" | "DiagnosticReport" | "DocumentReference" | "Observation">[]; - status: ("registered" | "preliminary" | "final" | "amended" | "corrected" | "cancelled" | "entered-in-error" | "unknown"); - _status?: Element; - subject: Reference<"Group" | "Patient">; -} -export const isRiskAssessment = (resource: unknown): resource is RiskAssessment => { - return resource !== null && typeof resource === "object" && (resource as {resourceType: string}).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 deleted file mode 100644 index 0b490d1d3..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/RiskEvidenceSynthesis.ts +++ /dev/null @@ -1,111 +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 { Annotation } from "../hl7-fhir-r4-examples/Annotation"; -import type { BackboneElement } from "../hl7-fhir-r4-examples/BackboneElement"; -import type { CodeableConcept } from "../hl7-fhir-r4-examples/CodeableConcept"; -import type { ContactDetail } from "../hl7-fhir-r4-examples/ContactDetail"; -import type { DomainResource } from "../hl7-fhir-r4-examples/DomainResource"; -import type { Identifier } from "../hl7-fhir-r4-examples/Identifier"; -import type { Period } from "../hl7-fhir-r4-examples/Period"; -import type { Reference } from "../hl7-fhir-r4-examples/Reference"; -import type { RelatedArtifact } from "../hl7-fhir-r4-examples/RelatedArtifact"; -import type { UsageContext } from "../hl7-fhir-r4-examples/UsageContext"; - -import type { Element } from "../hl7-fhir-r4-examples/Element"; -export type { Annotation } from "../hl7-fhir-r4-examples/Annotation"; -export type { BackboneElement } from "../hl7-fhir-r4-examples/BackboneElement"; -export type { CodeableConcept } from "../hl7-fhir-r4-examples/CodeableConcept"; -export type { ContactDetail } from "../hl7-fhir-r4-examples/ContactDetail"; -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"; -export type { RelatedArtifact } from "../hl7-fhir-r4-examples/RelatedArtifact"; -export type { UsageContext } from "../hl7-fhir-r4-examples/UsageContext"; - -export interface RiskEvidenceSynthesisCertainty extends BackboneElement { - certaintySubcomponent?: RiskEvidenceSynthesisCertaintyCertaintySubcomponent[]; - note?: Annotation[]; - rating?: CodeableConcept<("high" | "moderate" | "low" | "very-low" | string)>[]; -} - -export interface RiskEvidenceSynthesisCertaintyCertaintySubcomponent extends BackboneElement { - note?: Annotation[]; - 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 { - denominatorCount?: number; - description?: string; - numeratorCount?: number; - precisionEstimate?: RiskEvidenceSynthesisRiskEstimatePrecisionEstimate[]; - type?: CodeableConcept<("proportion" | "derivedProportion" | "mean" | "median" | "count" | "descriptive" | string)>; - unitOfMeasure?: CodeableConcept; - value?: number; -} - -export interface RiskEvidenceSynthesisRiskEstimatePrecisionEstimate extends BackboneElement { - from?: number; - level?: number; - to?: number; - type?: CodeableConcept<("CI" | "IQR" | "SD" | "SE" | string)>; -} - -export interface RiskEvidenceSynthesisSampleSize extends BackboneElement { - description?: string; - numberOfParticipants?: number; - numberOfStudies?: number; -} - -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/RiskEvidenceSynthesis (pkg: hl7.fhir.r4.examples#4.0.1) -export interface RiskEvidenceSynthesis extends DomainResource { - resourceType: "RiskEvidenceSynthesis"; - - approvalDate?: string; - _approvalDate?: Element; - author?: ContactDetail[]; - certainty?: RiskEvidenceSynthesisCertainty[]; - contact?: ContactDetail[]; - copyright?: string; - _copyright?: Element; - date?: string; - _date?: Element; - description?: string; - _description?: Element; - editor?: ContactDetail[]; - effectivePeriod?: Period; - endorser?: ContactDetail[]; - exposure?: Reference<"EvidenceVariable">; - identifier?: Identifier[]; - jurisdiction?: CodeableConcept[]; - lastReviewDate?: string; - _lastReviewDate?: Element; - name?: string; - _name?: Element; - note?: Annotation[]; - outcome: Reference<"EvidenceVariable">; - population: Reference<"EvidenceVariable">; - publisher?: string; - _publisher?: Element; - relatedArtifact?: RelatedArtifact[]; - reviewer?: ContactDetail[]; - riskEstimate?: RiskEvidenceSynthesisRiskEstimate; - sampleSize?: RiskEvidenceSynthesisSampleSize; - status: ("draft" | "active" | "retired" | "unknown"); - _status?: Element; - 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[]; - url?: string; - _url?: Element; - useContext?: UsageContext[]; - version?: string; - _version?: Element; -} -export const isRiskEvidenceSynthesis = (resource: unknown): resource is RiskEvidenceSynthesis => { - return resource !== null && typeof resource === "object" && (resource as {resourceType: string}).resourceType === "RiskEvidenceSynthesis"; -} 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 deleted file mode 100644 index 5532a52ae..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/SampledData.ts +++ /dev/null @@ -1,26 +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 { Element } from "../hl7-fhir-r4-examples/Element"; -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 (pkg: hl7.fhir.r4.examples#4.0.1) -export interface SampledData extends Element { - data?: string; - _data?: Element; - dimensions: number; - _dimensions?: Element; - factor?: number; - _factor?: Element; - lowerLimit?: number; - _lowerLimit?: Element; - origin: Quantity; - period: number; - _period?: Element; - upperLimit?: number; - _upperLimit?: 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 deleted file mode 100644 index e3c158e22..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/Schedule.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 { CodeableConcept } from "../hl7-fhir-r4-examples/CodeableConcept"; -import type { DomainResource } from "../hl7-fhir-r4-examples/DomainResource"; -import type { Identifier } from "../hl7-fhir-r4-examples/Identifier"; -import type { Period } from "../hl7-fhir-r4-examples/Period"; -import type { Reference } from "../hl7-fhir-r4-examples/Reference"; - -import type { Element } from "../hl7-fhir-r4-examples/Element"; -export type { CodeableConcept } from "../hl7-fhir-r4-examples/CodeableConcept"; -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 (pkg: hl7.fhir.r4.examples#4.0.1) -export interface Schedule extends DomainResource { - resourceType: "Schedule"; - - active?: boolean; - _active?: Element; - actor: Reference<"Device" | "HealthcareService" | "Location" | "Patient" | "Practitioner" | "PractitionerRole" | "RelatedPerson">[]; - comment?: string; - _comment?: Element; - identifier?: Identifier[]; - planningHorizon?: Period; - serviceCategory?: CodeableConcept[]; - serviceType?: CodeableConcept[]; - specialty?: CodeableConcept[]; -} -export const isSchedule = (resource: unknown): resource is Schedule => { - return resource !== null && typeof resource === "object" && (resource as {resourceType: string}).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 deleted file mode 100644 index 1f5eb4a58..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/SearchParameter.ts +++ /dev/null @@ -1,77 +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 { BackboneElement } from "../hl7-fhir-r4-examples/BackboneElement"; -import type { CodeableConcept } from "../hl7-fhir-r4-examples/CodeableConcept"; -import type { ContactDetail } from "../hl7-fhir-r4-examples/ContactDetail"; -import type { DomainResource } from "../hl7-fhir-r4-examples/DomainResource"; -import type { UsageContext } from "../hl7-fhir-r4-examples/UsageContext"; - -import type { Element } from "../hl7-fhir-r4-examples/Element"; -export type { BackboneElement } from "../hl7-fhir-r4-examples/BackboneElement"; -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"; - -export interface SearchParameterComponent extends BackboneElement { - definition: string; - expression: string; -} - -// 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 | null)[]; - chain?: string[]; - _chain?: (Element | null)[]; - code: string; - _code?: Element; - comparator?: ("eq" | "ne" | "gt" | "lt" | "ge" | "le" | "sa" | "eb" | "ap")[]; - _comparator?: (Element | null)[]; - component?: SearchParameterComponent[]; - contact?: ContactDetail[]; - date?: string; - _date?: Element; - derivedFrom?: string; - _derivedFrom?: Element; - description: string; - _description?: Element; - experimental?: boolean; - _experimental?: Element; - expression?: string; - _expression?: Element; - jurisdiction?: CodeableConcept[]; - modifier?: ("missing" | "exact" | "contains" | "not" | "text" | "in" | "not-in" | "below" | "above" | "type" | "identifier" | "ofType")[]; - _modifier?: (Element | null)[]; - multipleAnd?: boolean; - _multipleAnd?: Element; - multipleOr?: boolean; - _multipleOr?: Element; - name: string; - _name?: Element; - publisher?: string; - _publisher?: Element; - purpose?: string; - _purpose?: Element; - status: ("draft" | "active" | "retired" | "unknown"); - _status?: Element; - target?: string[]; - _target?: (Element | null)[]; - type: ("number" | "date" | "string" | "token" | "reference" | "composite" | "quantity" | "uri" | "special"); - _type?: Element; - url: string; - _url?: Element; - useContext?: UsageContext[]; - version?: string; - _version?: Element; - xpath?: string; - _xpath?: Element; - xpathUsage?: ("normal" | "phonetic" | "nearby" | "distance" | "other"); - _xpathUsage?: Element; -} -export const isSearchParameter = (resource: unknown): resource is SearchParameter => { - return resource !== null && typeof resource === "object" && (resource as {resourceType: string}).resourceType === "SearchParameter"; -} 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 deleted file mode 100644 index b4ffa14a6..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/ServiceRequest.ts +++ /dev/null @@ -1,82 +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 { Annotation } from "../hl7-fhir-r4-examples/Annotation"; -import type { CodeableConcept } from "../hl7-fhir-r4-examples/CodeableConcept"; -import type { DomainResource } from "../hl7-fhir-r4-examples/DomainResource"; -import type { Identifier } from "../hl7-fhir-r4-examples/Identifier"; -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 { Timing } from "../hl7-fhir-r4-examples/Timing"; - -import type { Element } from "../hl7-fhir-r4-examples/Element"; -export type { Annotation } from "../hl7-fhir-r4-examples/Annotation"; -export type { CodeableConcept } from "../hl7-fhir-r4-examples/CodeableConcept"; -export type { Identifier } from "../hl7-fhir-r4-examples/Identifier"; -export type { Period } from "../hl7-fhir-r4-examples/Period"; -export type { Quantity } from "../hl7-fhir-r4-examples/Quantity"; -export type { Range } from "../hl7-fhir-r4-examples/Range"; -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 (pkg: hl7.fhir.r4.examples#4.0.1) -export interface ServiceRequest extends DomainResource { - resourceType: "ServiceRequest"; - - asNeededBoolean?: boolean; - _asNeededBoolean?: Element; - asNeededCodeableConcept?: CodeableConcept; - authoredOn?: string; - _authoredOn?: Element; - basedOn?: Reference<"CarePlan" | "MedicationRequest" | "ServiceRequest">[]; - bodySite?: CodeableConcept[]; - category?: CodeableConcept[]; - code?: CodeableConcept; - doNotPerform?: boolean; - _doNotPerform?: Element; - encounter?: Reference<"Encounter">; - identifier?: Identifier[]; - instantiatesCanonical?: string[]; - _instantiatesCanonical?: (Element | null)[]; - instantiatesUri?: string[]; - _instantiatesUri?: (Element | null)[]; - insurance?: Reference<"ClaimResponse" | "Coverage">[]; - intent: ("proposal" | "plan" | "directive" | "order" | "original-order" | "reflex-order" | "filler-order" | "instance-order" | "option"); - _intent?: Element; - locationCode?: CodeableConcept[]; - locationReference?: Reference<"Location">[]; - note?: Annotation[]; - occurrenceDateTime?: string; - _occurrenceDateTime?: Element; - occurrencePeriod?: Period; - occurrenceTiming?: Timing; - orderDetail?: CodeableConcept[]; - patientInstruction?: string; - _patientInstruction?: Element; - performer?: Reference<"CareTeam" | "Device" | "HealthcareService" | "Organization" | "Patient" | "Practitioner" | "PractitionerRole" | "RelatedPerson">[]; - performerType?: CodeableConcept; - priority?: ("routine" | "urgent" | "asap" | "stat"); - _priority?: Element; - quantityQuantity?: Quantity; - quantityRange?: Range; - quantityRatio?: Ratio; - reasonCode?: CodeableConcept[]; - reasonReference?: Reference<"Condition" | "DiagnosticReport" | "DocumentReference" | "Observation">[]; - relevantHistory?: Reference<"Provenance">[]; - replaces?: Reference<"ServiceRequest">[]; - requester?: Reference<"Device" | "Organization" | "Patient" | "Practitioner" | "PractitionerRole" | "RelatedPerson">; - requisition?: Identifier; - specimen?: Reference<"Specimen">[]; - status: ("draft" | "active" | "on-hold" | "revoked" | "completed" | "entered-in-error" | "unknown"); - _status?: Element; - subject: Reference<"Device" | "Group" | "Location" | "Patient">; - supportingInfo?: Reference<"Resource">[]; -} -export const isServiceRequest = (resource: unknown): resource is ServiceRequest => { - return resource !== null && typeof resource === "object" && (resource as {resourceType: string}).resourceType === "ServiceRequest"; -} 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 deleted file mode 100644 index 9007cc4e9..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/Signature.ts +++ /dev/null @@ -1,26 +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 { Coding } from "../hl7-fhir-r4-examples/Coding"; -import type { Element } from "../hl7-fhir-r4-examples/Element"; -import type { Reference } from "../hl7-fhir-r4-examples/Reference"; - -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 (pkg: hl7.fhir.r4.examples#4.0.1) -export interface Signature extends Element { - data?: string; - _data?: Element; - onBehalfOf?: Reference<"Device" | "Organization" | "Patient" | "Practitioner" | "PractitionerRole" | "RelatedPerson">; - sigFormat?: string; - _sigFormat?: Element; - targetFormat?: string; - _targetFormat?: Element; - 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 deleted file mode 100644 index 2fa7e78e6..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/Slot.ts +++ /dev/null @@ -1,38 +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 { DomainResource } from "../hl7-fhir-r4-examples/DomainResource"; -import type { Identifier } from "../hl7-fhir-r4-examples/Identifier"; -import type { Reference } from "../hl7-fhir-r4-examples/Reference"; - -import type { Element } from "../hl7-fhir-r4-examples/Element"; -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 (pkg: hl7.fhir.r4.examples#4.0.1) -export interface Slot extends DomainResource { - resourceType: "Slot"; - - appointmentType?: CodeableConcept<("CHECKUP" | "EMERGENCY" | "FOLLOWUP" | "ROUTINE" | "WALKIN" | string)>; - comment?: string; - _comment?: Element; - end: string; - _end?: Element; - identifier?: Identifier[]; - overbooked?: boolean; - _overbooked?: Element; - schedule: Reference<"Schedule">; - serviceCategory?: CodeableConcept[]; - serviceType?: CodeableConcept[]; - specialty?: CodeableConcept[]; - start: string; - _start?: Element; - status: ("busy" | "free" | "busy-unavailable" | "busy-tentative" | "entered-in-error"); - _status?: Element; -} -export const isSlot = (resource: unknown): resource is Slot => { - return resource !== null && typeof resource === "object" && (resource as {resourceType: string}).resourceType === "Slot"; -} 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 deleted file mode 100644 index e3759bd34..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/Specimen.ts +++ /dev/null @@ -1,77 +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 { Annotation } from "../hl7-fhir-r4-examples/Annotation"; -import type { BackboneElement } from "../hl7-fhir-r4-examples/BackboneElement"; -import type { CodeableConcept } from "../hl7-fhir-r4-examples/CodeableConcept"; -import type { DomainResource } from "../hl7-fhir-r4-examples/DomainResource"; -import type { Duration } from "../hl7-fhir-r4-examples/Duration"; -import type { Identifier } from "../hl7-fhir-r4-examples/Identifier"; -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"; - -import type { Element } from "../hl7-fhir-r4-examples/Element"; -export type { Annotation } from "../hl7-fhir-r4-examples/Annotation"; -export type { BackboneElement } from "../hl7-fhir-r4-examples/BackboneElement"; -export type { CodeableConcept } from "../hl7-fhir-r4-examples/CodeableConcept"; -export type { Duration } from "../hl7-fhir-r4-examples/Duration"; -export type { Identifier } from "../hl7-fhir-r4-examples/Identifier"; -export type { Period } from "../hl7-fhir-r4-examples/Period"; -export type { Quantity } from "../hl7-fhir-r4-examples/Quantity"; -export type { Reference } from "../hl7-fhir-r4-examples/Reference"; - -export interface SpecimenCollection extends BackboneElement { - bodySite?: CodeableConcept; - collectedDateTime?: string; - collectedPeriod?: Period; - collector?: Reference<"Practitioner" | "PractitionerRole">; - duration?: Duration; - fastingStatusCodeableConcept?: CodeableConcept; - fastingStatusDuration?: Duration; - method?: CodeableConcept; - quantity?: Quantity; -} - -export interface SpecimenContainer extends BackboneElement { - additiveCodeableConcept?: CodeableConcept; - additiveReference?: Reference<"Substance">; - capacity?: Quantity; - description?: string; - identifier?: Identifier[]; - specimenQuantity?: Quantity; - type?: CodeableConcept; -} - -export interface SpecimenProcessing extends BackboneElement { - additive?: Reference<"Substance">[]; - description?: string; - procedure?: CodeableConcept; - timeDateTime?: string; - timePeriod?: Period; -} - -// 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<("AUT" | "CFU" | "CLOT" | "CON" | "COOL" | "FROZ" | "HEM" | "LIVE" | "ROOM" | "SNR" | string)>[]; - container?: SpecimenContainer[]; - identifier?: Identifier[]; - note?: Annotation[]; - parent?: Reference<"Specimen">[]; - processing?: SpecimenProcessing[]; - receivedTime?: string; - _receivedTime?: Element; - request?: Reference<"ServiceRequest">[]; - status?: ("available" | "unavailable" | "unsatisfactory" | "entered-in-error"); - _status?: Element; - subject?: Reference<"Device" | "Group" | "Location" | "Patient" | "Substance">; - type?: CodeableConcept; -} -export const isSpecimen = (resource: unknown): resource is Specimen => { - return resource !== null && typeof resource === "object" && (resource as {resourceType: string}).resourceType === "Specimen"; -} 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 deleted file mode 100644 index 7b32baf9d..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/SpecimenDefinition.ts +++ /dev/null @@ -1,72 +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 { BackboneElement } from "../hl7-fhir-r4-examples/BackboneElement"; -import type { CodeableConcept } from "../hl7-fhir-r4-examples/CodeableConcept"; -import type { DomainResource } from "../hl7-fhir-r4-examples/DomainResource"; -import type { Duration } from "../hl7-fhir-r4-examples/Duration"; -import type { Identifier } from "../hl7-fhir-r4-examples/Identifier"; -import type { Quantity } from "../hl7-fhir-r4-examples/Quantity"; -import type { Range } from "../hl7-fhir-r4-examples/Range"; -import type { Reference } from "../hl7-fhir-r4-examples/Reference"; - -import type { Element } from "../hl7-fhir-r4-examples/Element"; -export type { BackboneElement } from "../hl7-fhir-r4-examples/BackboneElement"; -export type { CodeableConcept } from "../hl7-fhir-r4-examples/CodeableConcept"; -export type { Duration } from "../hl7-fhir-r4-examples/Duration"; -export type { Identifier } from "../hl7-fhir-r4-examples/Identifier"; -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"; - -export interface SpecimenDefinitionTypeTested extends BackboneElement { - container?: SpecimenDefinitionTypeTestedContainer; - handling?: SpecimenDefinitionTypeTestedHandling[]; - isDerived?: boolean; - preference: ("preferred" | "alternate"); - rejectionCriterion?: CodeableConcept[]; - requirement?: string; - retentionTime?: Duration; - type?: CodeableConcept; -} - -export interface SpecimenDefinitionTypeTestedContainer extends BackboneElement { - additive?: SpecimenDefinitionTypeTestedContainerAdditive[]; - cap?: CodeableConcept; - capacity?: Quantity; - description?: string; - material?: CodeableConcept; - minimumVolumeQuantity?: Quantity; - minimumVolumeString?: string; - preparation?: string; - type?: CodeableConcept; -} - -export interface SpecimenDefinitionTypeTestedContainerAdditive extends BackboneElement { - additiveCodeableConcept?: CodeableConcept; - additiveReference?: Reference<"Substance">; -} - -export interface SpecimenDefinitionTypeTestedHandling extends BackboneElement { - instruction?: string; - maxDuration?: Duration; - temperatureQualifier?: CodeableConcept; - temperatureRange?: Range; -} - -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/SpecimenDefinition (pkg: hl7.fhir.r4.examples#4.0.1) -export interface SpecimenDefinition extends DomainResource { - resourceType: "SpecimenDefinition"; - - collection?: CodeableConcept[]; - identifier?: Identifier; - patientPreparation?: CodeableConcept[]; - timeAspect?: string; - _timeAspect?: Element; - typeCollected?: CodeableConcept; - typeTested?: SpecimenDefinitionTypeTested[]; -} -export const isSpecimenDefinition = (resource: unknown): resource is SpecimenDefinition => { - return resource !== null && typeof resource === "object" && (resource as {resourceType: string}).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 deleted file mode 100644 index eaac55861..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/StructureDefinition.ts +++ /dev/null @@ -1,95 +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 { BackboneElement } from "../hl7-fhir-r4-examples/BackboneElement"; -import type { CodeableConcept } from "../hl7-fhir-r4-examples/CodeableConcept"; -import type { Coding } from "../hl7-fhir-r4-examples/Coding"; -import type { ContactDetail } from "../hl7-fhir-r4-examples/ContactDetail"; -import type { DomainResource } from "../hl7-fhir-r4-examples/DomainResource"; -import type { ElementDefinition } from "../hl7-fhir-r4-examples/ElementDefinition"; -import type { Identifier } from "../hl7-fhir-r4-examples/Identifier"; -import type { UsageContext } from "../hl7-fhir-r4-examples/UsageContext"; - -import type { Element } from "../hl7-fhir-r4-examples/Element"; -export type { BackboneElement } from "../hl7-fhir-r4-examples/BackboneElement"; -export type { CodeableConcept } from "../hl7-fhir-r4-examples/CodeableConcept"; -export type { Coding } from "../hl7-fhir-r4-examples/Coding"; -export type { ContactDetail } from "../hl7-fhir-r4-examples/ContactDetail"; -export type { ElementDefinition } from "../hl7-fhir-r4-examples/ElementDefinition"; -export type { Identifier } from "../hl7-fhir-r4-examples/Identifier"; -export type { UsageContext } from "../hl7-fhir-r4-examples/UsageContext"; - -export interface StructureDefinitionContext extends BackboneElement { - expression: string; - type: ("fhirpath" | "element" | "extension"); -} - -export interface StructureDefinitionDifferential extends BackboneElement { - element: ElementDefinition[]; -} - -export interface StructureDefinitionMapping extends BackboneElement { - comment?: string; - identity: string; - name?: string; - uri?: string; -} - -export interface StructureDefinitionSnapshot extends BackboneElement { - element: ElementDefinition[]; -} - -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/StructureDefinition (pkg: hl7.fhir.r4.examples#4.0.1) -export interface StructureDefinition extends DomainResource { - resourceType: "StructureDefinition"; - - abstract: boolean; - _abstract?: Element; - baseDefinition?: string; - _baseDefinition?: Element; - contact?: ContactDetail[]; - context?: StructureDefinitionContext[]; - contextInvariant?: string[]; - _contextInvariant?: (Element | null)[]; - copyright?: string; - _copyright?: Element; - date?: string; - _date?: Element; - derivation?: ("specialization" | "constraint"); - _derivation?: Element; - description?: string; - _description?: Element; - differential?: StructureDefinitionDifferential; - 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; - identifier?: Identifier[]; - jurisdiction?: CodeableConcept[]; - keyword?: Coding<("fhir-structure" | "custom-resource" | "dam" | "wire-format" | "archetype" | "template" | string)>[]; - kind: ("primitive-type" | "complex-type" | "resource" | "logical"); - _kind?: Element; - mapping?: StructureDefinitionMapping[]; - name: string; - _name?: Element; - publisher?: string; - _publisher?: Element; - purpose?: string; - _purpose?: Element; - snapshot?: StructureDefinitionSnapshot; - status: ("draft" | "active" | "retired" | "unknown"); - _status?: Element; - title?: string; - _title?: Element; - type: string; - _type?: Element; - url: string; - _url?: Element; - useContext?: UsageContext[]; - version?: string; - _version?: Element; -} -export const isStructureDefinition = (resource: unknown): resource is StructureDefinition => { - return resource !== null && typeof resource === "object" && (resource as {resourceType: string}).resourceType === "StructureDefinition"; -} 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 deleted file mode 100644 index d8bd5e409..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/StructureMap.ts +++ /dev/null @@ -1,229 +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 { Address } from "../hl7-fhir-r4-examples/Address"; -import type { Age } from "../hl7-fhir-r4-examples/Age"; -import type { Annotation } from "../hl7-fhir-r4-examples/Annotation"; -import type { Attachment } from "../hl7-fhir-r4-examples/Attachment"; -import type { BackboneElement } from "../hl7-fhir-r4-examples/BackboneElement"; -import type { CodeableConcept } from "../hl7-fhir-r4-examples/CodeableConcept"; -import type { Coding } from "../hl7-fhir-r4-examples/Coding"; -import type { ContactDetail } from "../hl7-fhir-r4-examples/ContactDetail"; -import type { ContactPoint } from "../hl7-fhir-r4-examples/ContactPoint"; -import type { Contributor } from "../hl7-fhir-r4-examples/Contributor"; -import type { Count } from "../hl7-fhir-r4-examples/Count"; -import type { DataRequirement } from "../hl7-fhir-r4-examples/DataRequirement"; -import type { Distance } from "../hl7-fhir-r4-examples/Distance"; -import type { DomainResource } from "../hl7-fhir-r4-examples/DomainResource"; -import type { Dosage } from "../hl7-fhir-r4-examples/Dosage"; -import type { Duration } from "../hl7-fhir-r4-examples/Duration"; -import type { Expression } from "../hl7-fhir-r4-examples/Expression"; -import type { HumanName } from "../hl7-fhir-r4-examples/HumanName"; -import type { Identifier } from "../hl7-fhir-r4-examples/Identifier"; -import type { Meta } from "../hl7-fhir-r4-examples/Meta"; -import type { Money } from "../hl7-fhir-r4-examples/Money"; -import type { ParameterDefinition } from "../hl7-fhir-r4-examples/ParameterDefinition"; -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 { RelatedArtifact } from "../hl7-fhir-r4-examples/RelatedArtifact"; -import type { SampledData } from "../hl7-fhir-r4-examples/SampledData"; -import type { Signature } from "../hl7-fhir-r4-examples/Signature"; -import type { Timing } from "../hl7-fhir-r4-examples/Timing"; -import type { TriggerDefinition } from "../hl7-fhir-r4-examples/TriggerDefinition"; -import type { UsageContext } from "../hl7-fhir-r4-examples/UsageContext"; - -import type { Element } from "../hl7-fhir-r4-examples/Element"; -export type { Address } from "../hl7-fhir-r4-examples/Address"; -export type { Age } from "../hl7-fhir-r4-examples/Age"; -export type { Annotation } from "../hl7-fhir-r4-examples/Annotation"; -export type { Attachment } from "../hl7-fhir-r4-examples/Attachment"; -export type { BackboneElement } from "../hl7-fhir-r4-examples/BackboneElement"; -export type { CodeableConcept } from "../hl7-fhir-r4-examples/CodeableConcept"; -export type { Coding } from "../hl7-fhir-r4-examples/Coding"; -export type { ContactDetail } from "../hl7-fhir-r4-examples/ContactDetail"; -export type { ContactPoint } from "../hl7-fhir-r4-examples/ContactPoint"; -export type { Contributor } from "../hl7-fhir-r4-examples/Contributor"; -export type { Count } from "../hl7-fhir-r4-examples/Count"; -export type { DataRequirement } from "../hl7-fhir-r4-examples/DataRequirement"; -export type { Distance } from "../hl7-fhir-r4-examples/Distance"; -export type { Dosage } from "../hl7-fhir-r4-examples/Dosage"; -export type { Duration } from "../hl7-fhir-r4-examples/Duration"; -export type { Expression } from "../hl7-fhir-r4-examples/Expression"; -export type { HumanName } from "../hl7-fhir-r4-examples/HumanName"; -export type { Identifier } from "../hl7-fhir-r4-examples/Identifier"; -export type { Meta } from "../hl7-fhir-r4-examples/Meta"; -export type { Money } from "../hl7-fhir-r4-examples/Money"; -export type { ParameterDefinition } from "../hl7-fhir-r4-examples/ParameterDefinition"; -export type { Period } from "../hl7-fhir-r4-examples/Period"; -export type { Quantity } from "../hl7-fhir-r4-examples/Quantity"; -export type { Range } from "../hl7-fhir-r4-examples/Range"; -export type { Ratio } from "../hl7-fhir-r4-examples/Ratio"; -export type { Reference } from "../hl7-fhir-r4-examples/Reference"; -export type { RelatedArtifact } from "../hl7-fhir-r4-examples/RelatedArtifact"; -export type { SampledData } from "../hl7-fhir-r4-examples/SampledData"; -export type { Signature } from "../hl7-fhir-r4-examples/Signature"; -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"; - -export interface StructureMapGroup extends BackboneElement { - documentation?: string; - extends?: string; - input: StructureMapGroupInput[]; - name: string; - rule: StructureMapGroupRule[]; - typeMode: ("none" | "types" | "type-and-types"); -} - -export interface StructureMapGroupInput extends BackboneElement { - documentation?: string; - mode: ("source" | "target"); - name: string; - type?: string; -} - -export interface StructureMapGroupRule extends BackboneElement { - dependent?: StructureMapGroupRuleDependent[]; - documentation?: string; - name: string; - rule?: StructureMapGroupRule[]; - source: StructureMapGroupRuleSource[]; - target?: StructureMapGroupRuleTarget[]; -} - -export interface StructureMapGroupRuleDependent extends BackboneElement { - name: string; - variable: string[]; -} - -export interface StructureMapGroupRuleSource extends BackboneElement { - check?: string; - condition?: string; - context: string; - defaultValueAddress?: Address; - defaultValueAge?: Age; - defaultValueAnnotation?: Annotation; - defaultValueAttachment?: Attachment; - defaultValueBase64Binary?: string; - defaultValueBoolean?: boolean; - defaultValueCanonical?: string; - defaultValueCode?: string; - defaultValueCodeableConcept?: CodeableConcept; - defaultValueCoding?: Coding; - defaultValueContactDetail?: ContactDetail; - defaultValueContactPoint?: ContactPoint; - defaultValueContributor?: Contributor; - defaultValueCount?: Count; - defaultValueDataRequirement?: DataRequirement; - defaultValueDate?: string; - defaultValueDateTime?: string; - defaultValueDecimal?: number; - defaultValueDistance?: Distance; - defaultValueDosage?: Dosage; - defaultValueDuration?: Duration; - defaultValueExpression?: Expression; - defaultValueHumanName?: HumanName; - defaultValueId?: string; - defaultValueIdentifier?: Identifier; - defaultValueInstant?: string; - defaultValueInteger?: number; - defaultValueMarkdown?: string; - defaultValueMeta?: Meta; - defaultValueMoney?: Money; - defaultValueOid?: string; - defaultValueParameterDefinition?: ParameterDefinition; - defaultValuePeriod?: Period; - defaultValuePositiveInt?: number; - defaultValueQuantity?: Quantity; - defaultValueRange?: Range; - defaultValueRatio?: Ratio; - defaultValueReference?: Reference; - defaultValueRelatedArtifact?: RelatedArtifact; - defaultValueSampledData?: SampledData; - defaultValueSignature?: Signature; - defaultValueString?: string; - defaultValueTime?: string; - defaultValueTiming?: Timing; - defaultValueTriggerDefinition?: TriggerDefinition; - defaultValueUnsignedInt?: number; - defaultValueUri?: string; - defaultValueUrl?: string; - defaultValueUsageContext?: UsageContext; - defaultValueUuid?: string; - element?: string; - listMode?: ("first" | "not_first" | "last" | "not_last" | "only_one"); - logMessage?: string; - max?: string; - min?: number; - type?: string; - variable?: string; -} - -export interface StructureMapGroupRuleTarget extends BackboneElement { - context?: string; - contextType?: ("type" | "variable"); - element?: string; - listMode?: ("first" | "share" | "last" | "collate")[]; - listRuleId?: string; - parameter?: StructureMapGroupRuleTargetParameter[]; - transform?: ("create" | "copy" | "truncate" | "escape" | "cast" | "append" | "translate" | "reference" | "dateOp" | "uuid" | "pointer" | "evaluate" | "cc" | "c" | "qty" | "id" | "cp"); - variable?: string; -} - -export interface StructureMapGroupRuleTargetParameter extends BackboneElement { - valueBoolean?: boolean; - valueDecimal?: number; - valueId?: string; - valueInteger?: number; - valueString?: string; -} - -export interface StructureMapStructure extends BackboneElement { - alias?: string; - documentation?: string; - mode: ("source" | "queried" | "target" | "produced"); - url: string; -} - -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/StructureMap (pkg: hl7.fhir.r4.examples#4.0.1) -export interface StructureMap extends DomainResource { - resourceType: "StructureMap"; - - contact?: ContactDetail[]; - copyright?: string; - _copyright?: Element; - date?: string; - _date?: Element; - description?: string; - _description?: Element; - experimental?: boolean; - _experimental?: Element; - group: StructureMapGroup[]; - identifier?: Identifier[]; - "import"?: string[]; - _import?: (Element | null)[]; - jurisdiction?: CodeableConcept[]; - name: string; - _name?: Element; - publisher?: string; - _publisher?: Element; - purpose?: string; - _purpose?: Element; - status: ("draft" | "active" | "retired" | "unknown"); - _status?: Element; - structure?: StructureMapStructure[]; - title?: string; - _title?: Element; - url: string; - _url?: Element; - useContext?: UsageContext[]; - version?: string; - _version?: Element; -} -export const isStructureMap = (resource: unknown): resource is StructureMap => { - return resource !== null && typeof resource === "object" && (resource as {resourceType: string}).resourceType === "StructureMap"; -} 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 deleted file mode 100644 index b5330b825..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/Subscription.ts +++ /dev/null @@ -1,39 +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 { BackboneElement } from "../hl7-fhir-r4-examples/BackboneElement"; -import type { ContactPoint } from "../hl7-fhir-r4-examples/ContactPoint"; -import type { DomainResource } from "../hl7-fhir-r4-examples/DomainResource"; - -import type { Element } from "../hl7-fhir-r4-examples/Element"; -export type { BackboneElement } from "../hl7-fhir-r4-examples/BackboneElement"; -export type { ContactPoint } from "../hl7-fhir-r4-examples/ContactPoint"; - -export interface SubscriptionChannel extends BackboneElement { - endpoint?: string; - header?: string[]; - payload?: string; - type: ("rest-hook" | "websocket" | "email" | "sms" | "message"); -} - -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/Subscription (pkg: hl7.fhir.r4.examples#4.0.1) -export interface Subscription extends DomainResource { - resourceType: "Subscription"; - - channel: SubscriptionChannel; - contact?: ContactPoint[]; - criteria: string; - _criteria?: Element; - end?: string; - _end?: Element; - error?: string; - _error?: Element; - reason: string; - _reason?: Element; - status: ("requested" | "active" | "error" | "off"); - _status?: Element; -} -export const isSubscription = (resource: unknown): resource is Subscription => { - return resource !== null && typeof resource === "object" && (resource as {resourceType: string}).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 deleted file mode 100644 index 36d859e08..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/Substance.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 { BackboneElement } from "../hl7-fhir-r4-examples/BackboneElement"; -import type { CodeableConcept } from "../hl7-fhir-r4-examples/CodeableConcept"; -import type { DomainResource } from "../hl7-fhir-r4-examples/DomainResource"; -import type { Identifier } from "../hl7-fhir-r4-examples/Identifier"; -import type { Quantity } from "../hl7-fhir-r4-examples/Quantity"; -import type { Ratio } from "../hl7-fhir-r4-examples/Ratio"; -import type { Reference } from "../hl7-fhir-r4-examples/Reference"; - -import type { Element } from "../hl7-fhir-r4-examples/Element"; -export type { BackboneElement } from "../hl7-fhir-r4-examples/BackboneElement"; -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"; -export type { Ratio } from "../hl7-fhir-r4-examples/Ratio"; -export type { Reference } from "../hl7-fhir-r4-examples/Reference"; - -export interface SubstanceIngredient extends BackboneElement { - quantity?: Ratio; - substanceCodeableConcept?: CodeableConcept; - substanceReference?: Reference<"Substance">; -} - -export interface SubstanceInstance extends BackboneElement { - expiry?: string; - identifier?: Identifier; - quantity?: Quantity; -} - -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/Substance (pkg: hl7.fhir.r4.examples#4.0.1) -export interface Substance extends DomainResource { - resourceType: "Substance"; - - category?: CodeableConcept<("allergen" | "biological" | "body" | "chemical" | "food" | "drug" | "material" | string)>[]; - code: CodeableConcept; - description?: string; - _description?: Element; - identifier?: Identifier[]; - ingredient?: SubstanceIngredient[]; - instance?: SubstanceInstance[]; - status?: ("active" | "inactive" | "entered-in-error"); - _status?: Element; -} -export const isSubstance = (resource: unknown): resource is Substance => { - return resource !== null && typeof resource === "object" && (resource as {resourceType: string}).resourceType === "Substance"; -} 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 deleted file mode 100644 index 83bc0ecc7..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/SubstanceAmount.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 { BackboneElement } from "../hl7-fhir-r4-examples/BackboneElement"; -import type { CodeableConcept } from "../hl7-fhir-r4-examples/CodeableConcept"; -import type { Element } from "../hl7-fhir-r4-examples/Element"; -import type { Quantity } from "../hl7-fhir-r4-examples/Quantity"; -import type { Range } from "../hl7-fhir-r4-examples/Range"; - -export type { BackboneElement } from "../hl7-fhir-r4-examples/BackboneElement"; -export type { CodeableConcept } from "../hl7-fhir-r4-examples/CodeableConcept"; -export type { Element } from "../hl7-fhir-r4-examples/Element"; -export type { Quantity } from "../hl7-fhir-r4-examples/Quantity"; -export type { Range } from "../hl7-fhir-r4-examples/Range"; - -export interface SubstanceAmountReferenceRange extends Element { - highLimit?: Quantity; - lowLimit?: Quantity; -} - -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/SubstanceAmount (pkg: hl7.fhir.r4.examples#4.0.1) -export interface SubstanceAmount extends BackboneElement { - amountQuantity?: Quantity; - amountRange?: Range; - amountString?: string; - _amountString?: Element; - amountText?: string; - _amountText?: Element; - amountType?: CodeableConcept; - 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 deleted file mode 100644 index 9632688d7..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/SubstanceNucleicAcid.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 { Attachment } from "../hl7-fhir-r4-examples/Attachment"; -import type { BackboneElement } from "../hl7-fhir-r4-examples/BackboneElement"; -import type { CodeableConcept } from "../hl7-fhir-r4-examples/CodeableConcept"; -import type { DomainResource } from "../hl7-fhir-r4-examples/DomainResource"; -import type { Identifier } from "../hl7-fhir-r4-examples/Identifier"; - -import type { Element } from "../hl7-fhir-r4-examples/Element"; -export type { Attachment } from "../hl7-fhir-r4-examples/Attachment"; -export type { BackboneElement } from "../hl7-fhir-r4-examples/BackboneElement"; -export type { CodeableConcept } from "../hl7-fhir-r4-examples/CodeableConcept"; -export type { Identifier } from "../hl7-fhir-r4-examples/Identifier"; - -export interface SubstanceNucleicAcidSubunit extends BackboneElement { - fivePrime?: CodeableConcept; - length?: number; - linkage?: SubstanceNucleicAcidSubunitLinkage[]; - sequence?: string; - sequenceAttachment?: Attachment; - subunit?: number; - sugar?: SubstanceNucleicAcidSubunitSugar[]; - threePrime?: CodeableConcept; -} - -export interface SubstanceNucleicAcidSubunitLinkage extends BackboneElement { - connectivity?: string; - identifier?: Identifier; - name?: string; - residueSite?: string; -} - -export interface SubstanceNucleicAcidSubunitSugar extends BackboneElement { - identifier?: Identifier; - name?: string; - residueSite?: string; -} - -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/SubstanceNucleicAcid (pkg: hl7.fhir.r4.examples#4.0.1) -export interface SubstanceNucleicAcid extends DomainResource { - resourceType: "SubstanceNucleicAcid"; - - areaOfHybridisation?: string; - _areaOfHybridisation?: Element; - numberOfSubunits?: number; - _numberOfSubunits?: Element; - oligoNucleotideType?: CodeableConcept; - sequenceType?: CodeableConcept; - subunit?: SubstanceNucleicAcidSubunit[]; -} -export const isSubstanceNucleicAcid = (resource: unknown): resource is SubstanceNucleicAcid => { - return resource !== null && typeof resource === "object" && (resource as {resourceType: string}).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 deleted file mode 100644 index c55e371ec..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/SubstancePolymer.ts +++ /dev/null @@ -1,69 +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-r4-examples/Attachment"; -import type { BackboneElement } from "../hl7-fhir-r4-examples/BackboneElement"; -import type { CodeableConcept } from "../hl7-fhir-r4-examples/CodeableConcept"; -import type { DomainResource } from "../hl7-fhir-r4-examples/DomainResource"; -import type { SubstanceAmount } from "../hl7-fhir-r4-examples/SubstanceAmount"; - -import type { Element } from "../hl7-fhir-r4-examples/Element"; -export type { Attachment } from "../hl7-fhir-r4-examples/Attachment"; -export type { BackboneElement } from "../hl7-fhir-r4-examples/BackboneElement"; -export type { CodeableConcept } from "../hl7-fhir-r4-examples/CodeableConcept"; -export type { SubstanceAmount } from "../hl7-fhir-r4-examples/SubstanceAmount"; - -export interface SubstancePolymerMonomerSet extends BackboneElement { - ratioType?: CodeableConcept; - startingMaterial?: SubstancePolymerMonomerSetStartingMaterial[]; -} - -export interface SubstancePolymerMonomerSetStartingMaterial extends BackboneElement { - amount?: SubstanceAmount; - isDefining?: boolean; - material?: CodeableConcept; - type?: CodeableConcept; -} - -export interface SubstancePolymerRepeat extends BackboneElement { - averageMolecularFormula?: string; - numberOfUnits?: number; - repeatUnit?: SubstancePolymerRepeatRepeatUnit[]; - repeatUnitAmountType?: CodeableConcept; -} - -export interface SubstancePolymerRepeatRepeatUnit extends BackboneElement { - amount?: SubstanceAmount; - degreeOfPolymerisation?: SubstancePolymerRepeatRepeatUnitDegreeOfPolymerisation[]; - orientationOfPolymerisation?: CodeableConcept; - repeatUnit?: string; - structuralRepresentation?: SubstancePolymerRepeatRepeatUnitStructuralRepresentation[]; -} - -export interface SubstancePolymerRepeatRepeatUnitDegreeOfPolymerisation extends BackboneElement { - amount?: SubstanceAmount; - degree?: CodeableConcept; -} - -export interface SubstancePolymerRepeatRepeatUnitStructuralRepresentation extends BackboneElement { - attachment?: Attachment; - representation?: string; - type?: CodeableConcept; -} - -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/SubstancePolymer (pkg: hl7.fhir.r4.examples#4.0.1) -export interface SubstancePolymer extends DomainResource { - resourceType: "SubstancePolymer"; - - "class"?: CodeableConcept; - copolymerConnectivity?: CodeableConcept[]; - geometry?: CodeableConcept; - modification?: string[]; - _modification?: (Element | null)[]; - monomerSet?: SubstancePolymerMonomerSet[]; - repeat?: SubstancePolymerRepeat[]; -} -export const isSubstancePolymer = (resource: unknown): resource is SubstancePolymer => { - return resource !== null && typeof resource === "object" && (resource as {resourceType: string}).resourceType === "SubstancePolymer"; -} 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 deleted file mode 100644 index 85f8bb5fc..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/SubstanceProtein.ts +++ /dev/null @@ -1,41 +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-r4-examples/Attachment"; -import type { BackboneElement } from "../hl7-fhir-r4-examples/BackboneElement"; -import type { CodeableConcept } from "../hl7-fhir-r4-examples/CodeableConcept"; -import type { DomainResource } from "../hl7-fhir-r4-examples/DomainResource"; -import type { Identifier } from "../hl7-fhir-r4-examples/Identifier"; - -import type { Element } from "../hl7-fhir-r4-examples/Element"; -export type { Attachment } from "../hl7-fhir-r4-examples/Attachment"; -export type { BackboneElement } from "../hl7-fhir-r4-examples/BackboneElement"; -export type { CodeableConcept } from "../hl7-fhir-r4-examples/CodeableConcept"; -export type { Identifier } from "../hl7-fhir-r4-examples/Identifier"; - -export interface SubstanceProteinSubunit extends BackboneElement { - cTerminalModification?: string; - cTerminalModificationId?: Identifier; - length?: number; - nTerminalModification?: string; - nTerminalModificationId?: Identifier; - sequence?: string; - sequenceAttachment?: Attachment; - subunit?: number; -} - -// 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 | null)[]; - numberOfSubunits?: number; - _numberOfSubunits?: Element; - sequenceType?: CodeableConcept; - subunit?: SubstanceProteinSubunit[]; -} -export const isSubstanceProtein = (resource: unknown): resource is SubstanceProtein => { - return resource !== null && typeof resource === "object" && (resource as {resourceType: string}).resourceType === "SubstanceProtein"; -} 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 deleted file mode 100644 index 39a5db0aa..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/SubstanceReferenceInformation.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 { BackboneElement } from "../hl7-fhir-r4-examples/BackboneElement"; -import type { CodeableConcept } from "../hl7-fhir-r4-examples/CodeableConcept"; -import type { DomainResource } from "../hl7-fhir-r4-examples/DomainResource"; -import type { Identifier } from "../hl7-fhir-r4-examples/Identifier"; -import type { Quantity } from "../hl7-fhir-r4-examples/Quantity"; -import type { Range } from "../hl7-fhir-r4-examples/Range"; -import type { Reference } from "../hl7-fhir-r4-examples/Reference"; - -import type { Element } from "../hl7-fhir-r4-examples/Element"; -export type { BackboneElement } from "../hl7-fhir-r4-examples/BackboneElement"; -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"; -export type { Range } from "../hl7-fhir-r4-examples/Range"; -export type { Reference } from "../hl7-fhir-r4-examples/Reference"; - -export interface SubstanceReferenceInformationClassification extends BackboneElement { - classification?: CodeableConcept; - domain?: CodeableConcept; - source?: Reference<"DocumentReference">[]; - subtype?: CodeableConcept[]; -} - -export interface SubstanceReferenceInformationGene extends BackboneElement { - gene?: CodeableConcept; - geneSequenceOrigin?: CodeableConcept; - source?: Reference<"DocumentReference">[]; -} - -export interface SubstanceReferenceInformationGeneElement extends BackboneElement { - element?: Identifier; - source?: Reference<"DocumentReference">[]; - type?: CodeableConcept; -} - -export interface SubstanceReferenceInformationTarget extends BackboneElement { - amountQuantity?: Quantity; - amountRange?: Range; - amountString?: string; - amountType?: CodeableConcept; - interaction?: CodeableConcept; - organism?: CodeableConcept; - organismType?: CodeableConcept; - source?: Reference<"DocumentReference">[]; - target?: Identifier; - type?: CodeableConcept; -} - -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/SubstanceReferenceInformation (pkg: hl7.fhir.r4.examples#4.0.1) -export interface SubstanceReferenceInformation extends DomainResource { - resourceType: "SubstanceReferenceInformation"; - - classification?: SubstanceReferenceInformationClassification[]; - comment?: string; - _comment?: Element; - gene?: SubstanceReferenceInformationGene[]; - geneElement?: SubstanceReferenceInformationGeneElement[]; - target?: SubstanceReferenceInformationTarget[]; -} -export const isSubstanceReferenceInformation = (resource: unknown): resource is SubstanceReferenceInformation => { - return resource !== null && typeof resource === "object" && (resource as {resourceType: string}).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 deleted file mode 100644 index 4696167bd..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/SubstanceSourceMaterial.ts +++ /dev/null @@ -1,79 +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 { BackboneElement } from "../hl7-fhir-r4-examples/BackboneElement"; -import type { CodeableConcept } from "../hl7-fhir-r4-examples/CodeableConcept"; -import type { DomainResource } from "../hl7-fhir-r4-examples/DomainResource"; -import type { Identifier } from "../hl7-fhir-r4-examples/Identifier"; - -import type { Element } from "../hl7-fhir-r4-examples/Element"; -export type { BackboneElement } from "../hl7-fhir-r4-examples/BackboneElement"; -export type { CodeableConcept } from "../hl7-fhir-r4-examples/CodeableConcept"; -export type { Identifier } from "../hl7-fhir-r4-examples/Identifier"; - -export interface SubstanceSourceMaterialFractionDescription extends BackboneElement { - fraction?: string; - materialType?: CodeableConcept; -} - -export interface SubstanceSourceMaterialOrganism extends BackboneElement { - author?: SubstanceSourceMaterialOrganismAuthor[]; - family?: CodeableConcept; - genus?: CodeableConcept; - hybrid?: SubstanceSourceMaterialOrganismHybrid; - intraspecificDescription?: string; - intraspecificType?: CodeableConcept; - organismGeneral?: SubstanceSourceMaterialOrganismOrganismGeneral; - species?: CodeableConcept; -} - -export interface SubstanceSourceMaterialOrganismAuthor extends BackboneElement { - authorDescription?: string; - authorType?: CodeableConcept; -} - -export interface SubstanceSourceMaterialOrganismHybrid extends BackboneElement { - hybridType?: CodeableConcept; - maternalOrganismId?: string; - maternalOrganismName?: string; - paternalOrganismId?: string; - paternalOrganismName?: string; -} - -export interface SubstanceSourceMaterialOrganismOrganismGeneral extends BackboneElement { - "class"?: CodeableConcept; - kingdom?: CodeableConcept; - order?: CodeableConcept; - phylum?: CodeableConcept; -} - -export interface SubstanceSourceMaterialPartDescription extends BackboneElement { - part?: CodeableConcept; - partLocation?: CodeableConcept; -} - -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/SubstanceSourceMaterial (pkg: hl7.fhir.r4.examples#4.0.1) -export interface SubstanceSourceMaterial extends DomainResource { - resourceType: "SubstanceSourceMaterial"; - - countryOfOrigin?: CodeableConcept[]; - developmentStage?: CodeableConcept; - fractionDescription?: SubstanceSourceMaterialFractionDescription[]; - geographicalLocation?: string[]; - _geographicalLocation?: (Element | null)[]; - organism?: SubstanceSourceMaterialOrganism; - organismId?: Identifier; - organismName?: string; - _organismName?: Element; - parentSubstanceId?: Identifier[]; - parentSubstanceName?: string[]; - _parentSubstanceName?: (Element | null)[]; - partDescription?: SubstanceSourceMaterialPartDescription[]; - sourceMaterialClass?: CodeableConcept; - sourceMaterialState?: CodeableConcept; - sourceMaterialType?: CodeableConcept; -} -export const isSubstanceSourceMaterial = (resource: unknown): resource is SubstanceSourceMaterial => { - return resource !== null && typeof resource === "object" && (resource as {resourceType: string}).resourceType === "SubstanceSourceMaterial"; -} 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 deleted file mode 100644 index cc0c9312e..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/SubstanceSpecification.ts +++ /dev/null @@ -1,147 +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-r4-examples/Attachment"; -import type { BackboneElement } from "../hl7-fhir-r4-examples/BackboneElement"; -import type { CodeableConcept } from "../hl7-fhir-r4-examples/CodeableConcept"; -import type { DomainResource } from "../hl7-fhir-r4-examples/DomainResource"; -import type { Identifier } from "../hl7-fhir-r4-examples/Identifier"; -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 { Element } from "../hl7-fhir-r4-examples/Element"; -export type { Attachment } from "../hl7-fhir-r4-examples/Attachment"; -export type { BackboneElement } from "../hl7-fhir-r4-examples/BackboneElement"; -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"; -export type { Range } from "../hl7-fhir-r4-examples/Range"; -export type { Ratio } from "../hl7-fhir-r4-examples/Ratio"; -export type { Reference } from "../hl7-fhir-r4-examples/Reference"; - -export interface SubstanceSpecificationCode extends BackboneElement { - code?: CodeableConcept; - comment?: string; - source?: Reference<"DocumentReference">[]; - status?: CodeableConcept; - statusDate?: string; -} - -export interface SubstanceSpecificationMoiety extends BackboneElement { - amountQuantity?: Quantity; - amountString?: string; - identifier?: Identifier; - molecularFormula?: string; - name?: string; - opticalActivity?: CodeableConcept; - role?: CodeableConcept; - stereochemistry?: CodeableConcept; -} - -export interface SubstanceSpecificationName extends BackboneElement { - domain?: CodeableConcept[]; - jurisdiction?: CodeableConcept[]; - language?: CodeableConcept[]; - name: string; - official?: SubstanceSpecificationNameOfficial[]; - preferred?: boolean; - source?: Reference<"DocumentReference">[]; - status?: CodeableConcept; - synonym?: SubstanceSpecificationName[]; - translation?: SubstanceSpecificationName[]; - type?: CodeableConcept; -} - -export interface SubstanceSpecificationNameOfficial extends BackboneElement { - authority?: CodeableConcept; - date?: string; - status?: CodeableConcept; -} - -export interface SubstanceSpecificationProperty extends BackboneElement { - amountQuantity?: Quantity; - amountString?: string; - category?: CodeableConcept; - code?: CodeableConcept; - definingSubstanceCodeableConcept?: CodeableConcept; - definingSubstanceReference?: Reference<"Substance" | "SubstanceSpecification">; - parameters?: string; -} - -export interface SubstanceSpecificationRelationship extends BackboneElement { - amountQuantity?: Quantity; - amountRange?: Range; - amountRatio?: Ratio; - amountRatioLowLimit?: Ratio; - amountString?: string; - amountType?: CodeableConcept; - isDefining?: boolean; - relationship?: CodeableConcept; - source?: Reference<"DocumentReference">[]; - substanceCodeableConcept?: CodeableConcept; - substanceReference?: Reference<"SubstanceSpecification">; -} - -export interface SubstanceSpecificationStructure extends BackboneElement { - isotope?: SubstanceSpecificationStructureIsotope[]; - molecularFormula?: string; - molecularFormulaByMoiety?: string; - molecularWeight?: SubstanceSpecificationStructureIsotopeMolecularWeight; - opticalActivity?: CodeableConcept; - representation?: SubstanceSpecificationStructureRepresentation[]; - source?: Reference<"DocumentReference">[]; - stereochemistry?: CodeableConcept; -} - -export interface SubstanceSpecificationStructureIsotope extends BackboneElement { - halfLife?: Quantity; - identifier?: Identifier; - molecularWeight?: SubstanceSpecificationStructureIsotopeMolecularWeight; - name?: CodeableConcept; - substitution?: CodeableConcept; -} - -export interface SubstanceSpecificationStructureIsotopeMolecularWeight extends BackboneElement { - amount?: Quantity; - method?: CodeableConcept; - type?: CodeableConcept; -} - -export interface SubstanceSpecificationStructureRepresentation extends BackboneElement { - attachment?: Attachment; - representation?: string; - type?: CodeableConcept; -} - -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/SubstanceSpecification (pkg: hl7.fhir.r4.examples#4.0.1) -export interface SubstanceSpecification extends DomainResource { - resourceType: "SubstanceSpecification"; - - code?: SubstanceSpecificationCode[]; - comment?: string; - _comment?: Element; - description?: string; - _description?: Element; - domain?: CodeableConcept; - identifier?: Identifier; - moiety?: SubstanceSpecificationMoiety[]; - molecularWeight?: SubstanceSpecificationStructureIsotopeMolecularWeight[]; - name?: SubstanceSpecificationName[]; - nucleicAcid?: Reference<"SubstanceNucleicAcid">; - polymer?: Reference<"SubstancePolymer">; - property?: SubstanceSpecificationProperty[]; - protein?: Reference<"SubstanceProtein">; - referenceInformation?: Reference<"SubstanceReferenceInformation">; - relationship?: SubstanceSpecificationRelationship[]; - source?: Reference<"DocumentReference">[]; - sourceMaterial?: Reference<"SubstanceSourceMaterial">; - status?: CodeableConcept; - structure?: SubstanceSpecificationStructure; - type?: CodeableConcept; -} -export const isSubstanceSpecification = (resource: unknown): resource is SubstanceSpecification => { - return resource !== null && typeof resource === "object" && (resource as {resourceType: string}).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 deleted file mode 100644 index 215a1f811..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/SupplyDelivery.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 { BackboneElement } from "../hl7-fhir-r4-examples/BackboneElement"; -import type { CodeableConcept } from "../hl7-fhir-r4-examples/CodeableConcept"; -import type { DomainResource } from "../hl7-fhir-r4-examples/DomainResource"; -import type { Identifier } from "../hl7-fhir-r4-examples/Identifier"; -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"; -import type { Timing } from "../hl7-fhir-r4-examples/Timing"; - -import type { Element } from "../hl7-fhir-r4-examples/Element"; -export type { BackboneElement } from "../hl7-fhir-r4-examples/BackboneElement"; -export type { CodeableConcept } from "../hl7-fhir-r4-examples/CodeableConcept"; -export type { Identifier } from "../hl7-fhir-r4-examples/Identifier"; -export type { Period } from "../hl7-fhir-r4-examples/Period"; -export type { Quantity } from "../hl7-fhir-r4-examples/Quantity"; -export type { Reference } from "../hl7-fhir-r4-examples/Reference"; -export type { Timing } from "../hl7-fhir-r4-examples/Timing"; - -export interface SupplyDeliverySuppliedItem extends BackboneElement { - itemCodeableConcept?: CodeableConcept; - itemReference?: Reference<"Device" | "Medication" | "Substance">; - quantity?: Quantity; -} - -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/SupplyDelivery (pkg: hl7.fhir.r4.examples#4.0.1) -export interface SupplyDelivery extends DomainResource { - resourceType: "SupplyDelivery"; - - basedOn?: Reference<"SupplyRequest">[]; - destination?: Reference<"Location">; - identifier?: Identifier[]; - occurrenceDateTime?: string; - _occurrenceDateTime?: Element; - occurrencePeriod?: Period; - occurrenceTiming?: Timing; - partOf?: Reference<"Contract" | "SupplyDelivery">[]; - patient?: Reference<"Patient">; - receiver?: Reference<"Practitioner" | "PractitionerRole">[]; - status?: ("in-progress" | "completed" | "abandoned" | "entered-in-error"); - _status?: Element; - suppliedItem?: SupplyDeliverySuppliedItem; - supplier?: Reference<"Organization" | "Practitioner" | "PractitionerRole">; - 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 deleted file mode 100644 index 8221777b8..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/SupplyRequest.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 { BackboneElement } from "../hl7-fhir-r4-examples/BackboneElement"; -import type { CodeableConcept } from "../hl7-fhir-r4-examples/CodeableConcept"; -import type { DomainResource } from "../hl7-fhir-r4-examples/DomainResource"; -import type { Identifier } from "../hl7-fhir-r4-examples/Identifier"; -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 { Reference } from "../hl7-fhir-r4-examples/Reference"; -import type { Timing } from "../hl7-fhir-r4-examples/Timing"; - -import type { Element } from "../hl7-fhir-r4-examples/Element"; -export type { BackboneElement } from "../hl7-fhir-r4-examples/BackboneElement"; -export type { CodeableConcept } from "../hl7-fhir-r4-examples/CodeableConcept"; -export type { Identifier } from "../hl7-fhir-r4-examples/Identifier"; -export type { Period } from "../hl7-fhir-r4-examples/Period"; -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"; -export type { Timing } from "../hl7-fhir-r4-examples/Timing"; - -export interface SupplyRequestParameter extends BackboneElement { - code?: CodeableConcept; - valueBoolean?: boolean; - valueCodeableConcept?: CodeableConcept; - valueQuantity?: Quantity; - valueRange?: Range; -} - -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/SupplyRequest (pkg: hl7.fhir.r4.examples#4.0.1) -export interface SupplyRequest extends DomainResource { - resourceType: "SupplyRequest"; - - authoredOn?: string; - _authoredOn?: Element; - category?: CodeableConcept; - deliverFrom?: Reference<"Location" | "Organization">; - deliverTo?: Reference<"Location" | "Organization" | "Patient">; - identifier?: Identifier[]; - itemCodeableConcept?: CodeableConcept; - itemReference?: Reference<"Device" | "Medication" | "Substance">; - occurrenceDateTime?: string; - _occurrenceDateTime?: Element; - occurrencePeriod?: Period; - occurrenceTiming?: Timing; - parameter?: SupplyRequestParameter[]; - priority?: ("routine" | "urgent" | "asap" | "stat"); - _priority?: Element; - quantity: Quantity; - reasonCode?: CodeableConcept[]; - reasonReference?: Reference<"Condition" | "DiagnosticReport" | "DocumentReference" | "Observation">[]; - requester?: Reference<"Device" | "Organization" | "Patient" | "Practitioner" | "PractitionerRole" | "RelatedPerson">; - status?: ("draft" | "active" | "suspended" | "cancelled" | "completed" | "entered-in-error" | "unknown"); - _status?: Element; - supplier?: Reference<"HealthcareService" | "Organization">[]; -} -export const isSupplyRequest = (resource: unknown): resource is SupplyRequest => { - return resource !== null && typeof resource === "object" && (resource as {resourceType: string}).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 deleted file mode 100644 index aa36f2743..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/Task.ts +++ /dev/null @@ -1,233 +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 { Address } from "../hl7-fhir-r4-examples/Address"; -import type { Age } from "../hl7-fhir-r4-examples/Age"; -import type { Annotation } from "../hl7-fhir-r4-examples/Annotation"; -import type { Attachment } from "../hl7-fhir-r4-examples/Attachment"; -import type { BackboneElement } from "../hl7-fhir-r4-examples/BackboneElement"; -import type { CodeableConcept } from "../hl7-fhir-r4-examples/CodeableConcept"; -import type { Coding } from "../hl7-fhir-r4-examples/Coding"; -import type { ContactDetail } from "../hl7-fhir-r4-examples/ContactDetail"; -import type { ContactPoint } from "../hl7-fhir-r4-examples/ContactPoint"; -import type { Contributor } from "../hl7-fhir-r4-examples/Contributor"; -import type { Count } from "../hl7-fhir-r4-examples/Count"; -import type { DataRequirement } from "../hl7-fhir-r4-examples/DataRequirement"; -import type { Distance } from "../hl7-fhir-r4-examples/Distance"; -import type { DomainResource } from "../hl7-fhir-r4-examples/DomainResource"; -import type { Dosage } from "../hl7-fhir-r4-examples/Dosage"; -import type { Duration } from "../hl7-fhir-r4-examples/Duration"; -import type { Expression } from "../hl7-fhir-r4-examples/Expression"; -import type { HumanName } from "../hl7-fhir-r4-examples/HumanName"; -import type { Identifier } from "../hl7-fhir-r4-examples/Identifier"; -import type { Meta } from "../hl7-fhir-r4-examples/Meta"; -import type { Money } from "../hl7-fhir-r4-examples/Money"; -import type { ParameterDefinition } from "../hl7-fhir-r4-examples/ParameterDefinition"; -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 { RelatedArtifact } from "../hl7-fhir-r4-examples/RelatedArtifact"; -import type { SampledData } from "../hl7-fhir-r4-examples/SampledData"; -import type { Signature } from "../hl7-fhir-r4-examples/Signature"; -import type { Timing } from "../hl7-fhir-r4-examples/Timing"; -import type { TriggerDefinition } from "../hl7-fhir-r4-examples/TriggerDefinition"; -import type { UsageContext } from "../hl7-fhir-r4-examples/UsageContext"; - -import type { Element } from "../hl7-fhir-r4-examples/Element"; -export type { Address } from "../hl7-fhir-r4-examples/Address"; -export type { Age } from "../hl7-fhir-r4-examples/Age"; -export type { Annotation } from "../hl7-fhir-r4-examples/Annotation"; -export type { Attachment } from "../hl7-fhir-r4-examples/Attachment"; -export type { BackboneElement } from "../hl7-fhir-r4-examples/BackboneElement"; -export type { CodeableConcept } from "../hl7-fhir-r4-examples/CodeableConcept"; -export type { Coding } from "../hl7-fhir-r4-examples/Coding"; -export type { ContactDetail } from "../hl7-fhir-r4-examples/ContactDetail"; -export type { ContactPoint } from "../hl7-fhir-r4-examples/ContactPoint"; -export type { Contributor } from "../hl7-fhir-r4-examples/Contributor"; -export type { Count } from "../hl7-fhir-r4-examples/Count"; -export type { DataRequirement } from "../hl7-fhir-r4-examples/DataRequirement"; -export type { Distance } from "../hl7-fhir-r4-examples/Distance"; -export type { Dosage } from "../hl7-fhir-r4-examples/Dosage"; -export type { Duration } from "../hl7-fhir-r4-examples/Duration"; -export type { Expression } from "../hl7-fhir-r4-examples/Expression"; -export type { HumanName } from "../hl7-fhir-r4-examples/HumanName"; -export type { Identifier } from "../hl7-fhir-r4-examples/Identifier"; -export type { Meta } from "../hl7-fhir-r4-examples/Meta"; -export type { Money } from "../hl7-fhir-r4-examples/Money"; -export type { ParameterDefinition } from "../hl7-fhir-r4-examples/ParameterDefinition"; -export type { Period } from "../hl7-fhir-r4-examples/Period"; -export type { Quantity } from "../hl7-fhir-r4-examples/Quantity"; -export type { Range } from "../hl7-fhir-r4-examples/Range"; -export type { Ratio } from "../hl7-fhir-r4-examples/Ratio"; -export type { Reference } from "../hl7-fhir-r4-examples/Reference"; -export type { RelatedArtifact } from "../hl7-fhir-r4-examples/RelatedArtifact"; -export type { SampledData } from "../hl7-fhir-r4-examples/SampledData"; -export type { Signature } from "../hl7-fhir-r4-examples/Signature"; -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"; - -export interface TaskInput extends BackboneElement { - type: CodeableConcept; - valueAddress?: Address; - valueAge?: Age; - valueAnnotation?: Annotation; - valueAttachment?: Attachment; - valueBase64Binary?: string; - valueBoolean?: boolean; - valueCanonical?: string; - valueCode?: string; - valueCodeableConcept?: CodeableConcept; - valueCoding?: Coding; - valueContactDetail?: ContactDetail; - valueContactPoint?: ContactPoint; - valueContributor?: Contributor; - valueCount?: Count; - valueDataRequirement?: DataRequirement; - valueDate?: string; - valueDateTime?: string; - valueDecimal?: number; - valueDistance?: Distance; - valueDosage?: Dosage; - valueDuration?: Duration; - valueExpression?: Expression; - valueHumanName?: HumanName; - valueId?: string; - valueIdentifier?: Identifier; - valueInstant?: string; - valueInteger?: number; - valueMarkdown?: string; - valueMeta?: Meta; - valueMoney?: Money; - valueOid?: string; - valueParameterDefinition?: ParameterDefinition; - valuePeriod?: Period; - valuePositiveInt?: number; - valueQuantity?: Quantity; - valueRange?: Range; - valueRatio?: Ratio; - valueReference?: Reference; - valueRelatedArtifact?: RelatedArtifact; - valueSampledData?: SampledData; - valueSignature?: Signature; - valueString?: string; - valueTime?: string; - valueTiming?: Timing; - valueTriggerDefinition?: TriggerDefinition; - valueUnsignedInt?: number; - valueUri?: string; - valueUrl?: string; - valueUsageContext?: UsageContext; - valueUuid?: string; -} - -export interface TaskOutput extends BackboneElement { - type: CodeableConcept; - valueAddress?: Address; - valueAge?: Age; - valueAnnotation?: Annotation; - valueAttachment?: Attachment; - valueBase64Binary?: string; - valueBoolean?: boolean; - valueCanonical?: string; - valueCode?: string; - valueCodeableConcept?: CodeableConcept; - valueCoding?: Coding; - valueContactDetail?: ContactDetail; - valueContactPoint?: ContactPoint; - valueContributor?: Contributor; - valueCount?: Count; - valueDataRequirement?: DataRequirement; - valueDate?: string; - valueDateTime?: string; - valueDecimal?: number; - valueDistance?: Distance; - valueDosage?: Dosage; - valueDuration?: Duration; - valueExpression?: Expression; - valueHumanName?: HumanName; - valueId?: string; - valueIdentifier?: Identifier; - valueInstant?: string; - valueInteger?: number; - valueMarkdown?: string; - valueMeta?: Meta; - valueMoney?: Money; - valueOid?: string; - valueParameterDefinition?: ParameterDefinition; - valuePeriod?: Period; - valuePositiveInt?: number; - valueQuantity?: Quantity; - valueRange?: Range; - valueRatio?: Ratio; - valueReference?: Reference; - valueRelatedArtifact?: RelatedArtifact; - valueSampledData?: SampledData; - valueSignature?: Signature; - valueString?: string; - valueTime?: string; - valueTiming?: Timing; - valueTriggerDefinition?: TriggerDefinition; - valueUnsignedInt?: number; - valueUri?: string; - valueUrl?: string; - valueUsageContext?: UsageContext; - valueUuid?: string; -} - -export interface TaskRestriction extends BackboneElement { - period?: Period; - recipient?: Reference<"Group" | "Organization" | "Patient" | "Practitioner" | "PractitionerRole" | "RelatedPerson">[]; - repetitions?: number; -} - -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/Task (pkg: hl7.fhir.r4.examples#4.0.1) -export interface Task extends DomainResource { - resourceType: "Task"; - - authoredOn?: string; - _authoredOn?: Element; - basedOn?: Reference<"Resource">[]; - businessStatus?: CodeableConcept; - code?: CodeableConcept; - description?: string; - _description?: Element; - encounter?: Reference<"Encounter">; - executionPeriod?: Period; - focus?: Reference<"Resource">; - "for"?: Reference<"Resource">; - groupIdentifier?: Identifier; - identifier?: Identifier[]; - input?: TaskInput[]; - instantiatesCanonical?: string; - _instantiatesCanonical?: Element; - instantiatesUri?: string; - _instantiatesUri?: Element; - insurance?: Reference<"ClaimResponse" | "Coverage">[]; - intent: ("unknown" | "proposal" | "plan" | "order" | "original-order" | "reflex-order" | "filler-order" | "instance-order" | "option"); - _intent?: Element; - lastModified?: string; - _lastModified?: Element; - location?: Reference<"Location">; - note?: Annotation[]; - output?: TaskOutput[]; - owner?: Reference<"CareTeam" | "Device" | "HealthcareService" | "Organization" | "Patient" | "Practitioner" | "PractitionerRole" | "RelatedPerson">; - partOf?: Reference<"Task">[]; - performerType?: CodeableConcept[]; - priority?: ("routine" | "urgent" | "asap" | "stat"); - _priority?: Element; - reasonCode?: CodeableConcept; - reasonReference?: Reference<"Resource">; - relevantHistory?: Reference<"Provenance">[]; - requester?: Reference<"Device" | "Organization" | "Patient" | "Practitioner" | "PractitionerRole" | "RelatedPerson">; - restriction?: TaskRestriction; - status: ("draft" | "requested" | "received" | "accepted" | "rejected" | "ready" | "cancelled" | "in-progress" | "on-hold" | "failed" | "completed" | "entered-in-error"); - _status?: Element; - statusReason?: CodeableConcept; -} -export const isTask = (resource: unknown): resource is Task => { - return resource !== null && typeof resource === "object" && (resource as {resourceType: string}).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 deleted file mode 100644 index 6980e81ec..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/TerminologyCapabilities.ts +++ /dev/null @@ -1,117 +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 { BackboneElement } from "../hl7-fhir-r4-examples/BackboneElement"; -import type { CodeableConcept } from "../hl7-fhir-r4-examples/CodeableConcept"; -import type { ContactDetail } from "../hl7-fhir-r4-examples/ContactDetail"; -import type { DomainResource } from "../hl7-fhir-r4-examples/DomainResource"; -import type { UsageContext } from "../hl7-fhir-r4-examples/UsageContext"; - -import type { Element } from "../hl7-fhir-r4-examples/Element"; -export type { BackboneElement } from "../hl7-fhir-r4-examples/BackboneElement"; -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"; - -export interface TerminologyCapabilitiesClosure extends BackboneElement { - translation?: boolean; -} - -export interface TerminologyCapabilitiesCodeSystem extends BackboneElement { - subsumption?: boolean; - uri?: string; - version?: TerminologyCapabilitiesCodeSystemVersion[]; -} - -export interface TerminologyCapabilitiesCodeSystemVersion extends BackboneElement { - code?: string; - compositional?: boolean; - filter?: TerminologyCapabilitiesCodeSystemVersionFilter[]; - isDefault?: boolean; - language?: string[]; - property?: string[]; -} - -export interface TerminologyCapabilitiesCodeSystemVersionFilter extends BackboneElement { - code: string; - op: string[]; -} - -export interface TerminologyCapabilitiesExpansion extends BackboneElement { - hierarchical?: boolean; - incomplete?: boolean; - paging?: boolean; - parameter?: TerminologyCapabilitiesExpansionParameter[]; - textFilter?: string; -} - -export interface TerminologyCapabilitiesExpansionParameter extends BackboneElement { - documentation?: string; - name: string; -} - -export interface TerminologyCapabilitiesImplementation extends BackboneElement { - description: string; - url?: string; -} - -export interface TerminologyCapabilitiesSoftware extends BackboneElement { - name: string; - version?: string; -} - -export interface TerminologyCapabilitiesTranslation extends BackboneElement { - needsMap: boolean; -} - -export interface TerminologyCapabilitiesValidateCode extends BackboneElement { - translations: boolean; -} - -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/TerminologyCapabilities (pkg: hl7.fhir.r4.examples#4.0.1) -export interface TerminologyCapabilities extends DomainResource { - resourceType: "TerminologyCapabilities"; - - closure?: TerminologyCapabilitiesClosure; - codeSearch?: ("explicit" | "all"); - _codeSearch?: Element; - codeSystem?: TerminologyCapabilitiesCodeSystem[]; - contact?: ContactDetail[]; - copyright?: string; - _copyright?: Element; - date: string; - _date?: Element; - description?: string; - _description?: Element; - expansion?: TerminologyCapabilitiesExpansion; - experimental?: boolean; - _experimental?: Element; - implementation?: TerminologyCapabilitiesImplementation; - jurisdiction?: CodeableConcept[]; - kind: ("instance" | "capability" | "requirements"); - _kind?: Element; - lockedDate?: boolean; - _lockedDate?: Element; - name?: string; - _name?: Element; - publisher?: string; - _publisher?: Element; - purpose?: string; - _purpose?: Element; - software?: TerminologyCapabilitiesSoftware; - status: ("draft" | "active" | "retired" | "unknown"); - _status?: Element; - title?: string; - _title?: Element; - translation?: TerminologyCapabilitiesTranslation; - url?: string; - _url?: Element; - useContext?: UsageContext[]; - validateCode?: TerminologyCapabilitiesValidateCode; - version?: string; - _version?: Element; -} -export const isTerminologyCapabilities = (resource: unknown): resource is TerminologyCapabilities => { - return resource !== null && typeof resource === "object" && (resource as {resourceType: string}).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 deleted file mode 100644 index 9ef6bdd0a..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/TestReport.ts +++ /dev/null @@ -1,86 +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 { BackboneElement } from "../hl7-fhir-r4-examples/BackboneElement"; -import type { DomainResource } from "../hl7-fhir-r4-examples/DomainResource"; -import type { Identifier } from "../hl7-fhir-r4-examples/Identifier"; -import type { Reference } from "../hl7-fhir-r4-examples/Reference"; - -import type { Element } from "../hl7-fhir-r4-examples/Element"; -export type { BackboneElement } from "../hl7-fhir-r4-examples/BackboneElement"; -export type { Identifier } from "../hl7-fhir-r4-examples/Identifier"; -export type { Reference } from "../hl7-fhir-r4-examples/Reference"; - -export interface TestReportParticipant extends BackboneElement { - display?: string; - type: ("test-engine" | "client" | "server"); - uri: string; -} - -export interface TestReportSetup extends BackboneElement { - action: TestReportSetupAction[]; -} - -export interface TestReportSetupAction extends BackboneElement { - assert?: TestReportSetupActionAssert; - operation?: TestReportSetupActionOperation; -} - -export interface TestReportSetupActionAssert extends BackboneElement { - detail?: string; - message?: string; - result: ("pass" | "skip" | "fail" | "warning" | "error"); -} - -export interface TestReportSetupActionOperation extends BackboneElement { - detail?: string; - message?: string; - result: ("pass" | "skip" | "fail" | "warning" | "error"); -} - -export interface TestReportTeardown extends BackboneElement { - action: TestReportTeardownAction[]; -} - -export interface TestReportTeardownAction extends BackboneElement { - operation: TestReportSetupActionOperation; -} - -export interface TestReportTest extends BackboneElement { - action: TestReportTestAction[]; - description?: string; - name?: string; -} - -export interface TestReportTestAction extends BackboneElement { - assert?: TestReportSetupActionAssert; - operation?: TestReportSetupActionOperation; -} - -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/TestReport (pkg: hl7.fhir.r4.examples#4.0.1) -export interface TestReport extends DomainResource { - resourceType: "TestReport"; - - identifier?: Identifier; - issued?: string; - _issued?: Element; - name?: string; - _name?: Element; - participant?: TestReportParticipant[]; - result: ("pass" | "fail" | "pending"); - _result?: Element; - score?: number; - _score?: Element; - setup?: TestReportSetup; - status: ("completed" | "in-progress" | "waiting" | "stopped" | "entered-in-error"); - _status?: Element; - teardown?: TestReportTeardown; - test?: TestReportTest[]; - tester?: string; - _tester?: Element; - testScript: Reference<"TestScript">; -} -export const isTestReport = (resource: unknown): resource is TestReport => { - return resource !== null && typeof resource === "object" && (resource as {resourceType: string}).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 deleted file mode 100644 index 999a4c70d..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/TestScript.ts +++ /dev/null @@ -1,190 +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 { BackboneElement } from "../hl7-fhir-r4-examples/BackboneElement"; -import type { CodeableConcept } from "../hl7-fhir-r4-examples/CodeableConcept"; -import type { Coding } from "../hl7-fhir-r4-examples/Coding"; -import type { ContactDetail } from "../hl7-fhir-r4-examples/ContactDetail"; -import type { DomainResource } from "../hl7-fhir-r4-examples/DomainResource"; -import type { Identifier } from "../hl7-fhir-r4-examples/Identifier"; -import type { Reference } from "../hl7-fhir-r4-examples/Reference"; -import type { UsageContext } from "../hl7-fhir-r4-examples/UsageContext"; - -import type { Element } from "../hl7-fhir-r4-examples/Element"; -export type { BackboneElement } from "../hl7-fhir-r4-examples/BackboneElement"; -export type { CodeableConcept } from "../hl7-fhir-r4-examples/CodeableConcept"; -export type { Coding } from "../hl7-fhir-r4-examples/Coding"; -export type { ContactDetail } from "../hl7-fhir-r4-examples/ContactDetail"; -export type { Identifier } from "../hl7-fhir-r4-examples/Identifier"; -export type { Reference } from "../hl7-fhir-r4-examples/Reference"; -export type { UsageContext } from "../hl7-fhir-r4-examples/UsageContext"; - -export interface TestScriptDestination extends BackboneElement { - index: number; - profile: Coding<("FHIR-Server" | "FHIR-SDC-FormManager" | "FHIR-SDC-FormProcessor" | "FHIR-SDC-FormReceiver" | string)>; -} - -export interface TestScriptFixture extends BackboneElement { - autocreate: boolean; - autodelete: boolean; - resource?: Reference<"Resource">; -} - -export interface TestScriptMetadata extends BackboneElement { - capability: TestScriptMetadataCapability[]; - link?: TestScriptMetadataLink[]; -} - -export interface TestScriptMetadataCapability extends BackboneElement { - capabilities: string; - description?: string; - destination?: number; - link?: string[]; - origin?: number[]; - required: boolean; - validated: boolean; -} - -export interface TestScriptMetadataLink extends BackboneElement { - description?: string; - url: string; -} - -export interface TestScriptOrigin extends BackboneElement { - index: number; - profile: Coding<("FHIR-Client" | "FHIR-SDC-FormFiller" | string)>; -} - -export interface TestScriptSetup extends BackboneElement { - action: TestScriptSetupAction[]; -} - -export interface TestScriptSetupAction extends BackboneElement { - assert?: TestScriptSetupActionAssert; - operation?: TestScriptSetupActionOperation; -} - -export interface TestScriptSetupActionAssert extends BackboneElement { - compareToSourceExpression?: string; - compareToSourceId?: string; - compareToSourcePath?: string; - contentType?: string; - description?: string; - direction?: ("response" | "request"); - expression?: string; - headerField?: string; - label?: string; - minimumId?: string; - navigationLinks?: boolean; - operator?: ("equals" | "notEquals" | "in" | "notIn" | "greaterThan" | "lessThan" | "empty" | "notEmpty" | "contains" | "notContains" | "eval"); - path?: string; - requestMethod?: ("delete" | "get" | "options" | "patch" | "post" | "put" | "head"); - requestURL?: string; - resource?: string; - response?: ("okay" | "created" | "noContent" | "notModified" | "bad" | "forbidden" | "notFound" | "methodNotAllowed" | "conflict" | "gone" | "preconditionFailed" | "unprocessable"); - responseCode?: string; - sourceId?: string; - validateProfileId?: string; - value?: string; - warningOnly: boolean; -} - -export interface TestScriptSetupActionOperation extends BackboneElement { - accept?: string; - contentType?: string; - description?: string; - destination?: number; - encodeRequestUrl: boolean; - label?: string; - method?: ("delete" | "get" | "options" | "patch" | "post" | "put" | "head"); - origin?: number; - params?: string; - requestHeader?: TestScriptSetupActionOperationRequestHeader[]; - requestId?: string; - resource?: string; - responseId?: string; - sourceId?: string; - targetId?: string; - 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; -} - -export interface TestScriptSetupActionOperationRequestHeader extends BackboneElement { - field: string; - value: string; -} - -export interface TestScriptTeardown extends BackboneElement { - action: TestScriptTeardownAction[]; -} - -export interface TestScriptTeardownAction extends BackboneElement { - operation: TestScriptSetupActionOperation; -} - -export interface TestScriptTest extends BackboneElement { - action: TestScriptTestAction[]; - description?: string; - name?: string; -} - -export interface TestScriptTestAction extends BackboneElement { - assert?: TestScriptSetupActionAssert; - operation?: TestScriptSetupActionOperation; -} - -export interface TestScriptVariable extends BackboneElement { - defaultValue?: string; - description?: string; - expression?: string; - headerField?: string; - hint?: string; - name: string; - path?: string; - sourceId?: string; -} - -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/TestScript (pkg: hl7.fhir.r4.examples#4.0.1) -export interface TestScript extends DomainResource { - resourceType: "TestScript"; - - contact?: ContactDetail[]; - copyright?: string; - _copyright?: Element; - date?: string; - _date?: Element; - description?: string; - _description?: Element; - destination?: TestScriptDestination[]; - experimental?: boolean; - _experimental?: Element; - fixture?: TestScriptFixture[]; - identifier?: Identifier; - jurisdiction?: CodeableConcept[]; - metadata?: TestScriptMetadata; - name: string; - _name?: Element; - origin?: TestScriptOrigin[]; - profile?: Reference<"Resource">[]; - publisher?: string; - _publisher?: Element; - purpose?: string; - _purpose?: Element; - setup?: TestScriptSetup; - status: ("draft" | "active" | "retired" | "unknown"); - _status?: Element; - teardown?: TestScriptTeardown; - test?: TestScriptTest[]; - title?: string; - _title?: Element; - url: string; - _url?: Element; - useContext?: UsageContext[]; - variable?: TestScriptVariable[]; - version?: string; - _version?: Element; -} -export const isTestScript = (resource: unknown): resource is TestScript => { - return resource !== null && typeof resource === "object" && (resource as {resourceType: string}).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 deleted file mode 100644 index 3e4b2f080..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/Timing.ts +++ /dev/null @@ -1,45 +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 { BackboneElement } from "../hl7-fhir-r4-examples/BackboneElement"; -import type { CodeableConcept } from "../hl7-fhir-r4-examples/CodeableConcept"; -import type { Duration } from "../hl7-fhir-r4-examples/Duration"; -import type { Element } from "../hl7-fhir-r4-examples/Element"; -import type { Period } from "../hl7-fhir-r4-examples/Period"; -import type { Range } from "../hl7-fhir-r4-examples/Range"; - -export type { BackboneElement } from "../hl7-fhir-r4-examples/BackboneElement"; -export type { CodeableConcept } from "../hl7-fhir-r4-examples/CodeableConcept"; -export type { Duration } from "../hl7-fhir-r4-examples/Duration"; -export type { Element } from "../hl7-fhir-r4-examples/Element"; -export type { Period } from "../hl7-fhir-r4-examples/Period"; -export type { Range } from "../hl7-fhir-r4-examples/Range"; - -export interface TimingRepeat extends Element { - boundsDuration?: Duration; - boundsPeriod?: Period; - boundsRange?: Range; - count?: number; - countMax?: number; - dayOfWeek?: ("mon" | "tue" | "wed" | "thu" | "fri" | "sat" | "sun")[]; - duration?: number; - durationMax?: number; - durationUnit?: ("s" | "min" | "h" | "d" | "wk" | "mo" | "a"); - frequency?: number; - frequencyMax?: number; - offset?: number; - period?: number; - periodMax?: number; - periodUnit?: ("s" | "min" | "h" | "d" | "wk" | "mo" | "a"); - timeOfDay?: string[]; - 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 (pkg: hl7.fhir.r4.examples#4.0.1) -export interface Timing extends BackboneElement { - code?: CodeableConcept<("BID" | "TID" | "QID" | "AM" | "PM" | "QD" | "QOD" | "Q1H" | "Q2H" | "Q3H" | "Q4H" | "Q6H" | "Q8H" | "BED" | "WK" | "MO" | string)>; - event?: string[]; - _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 deleted file mode 100644 index f6efa4d6d..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/TriggerDefinition.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 { DataRequirement } from "../hl7-fhir-r4-examples/DataRequirement"; -import type { Element } from "../hl7-fhir-r4-examples/Element"; -import type { Expression } from "../hl7-fhir-r4-examples/Expression"; -import type { Reference } from "../hl7-fhir-r4-examples/Reference"; -import type { Timing } from "../hl7-fhir-r4-examples/Timing"; - -export type { DataRequirement } from "../hl7-fhir-r4-examples/DataRequirement"; -export type { Element } from "../hl7-fhir-r4-examples/Element"; -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 (pkg: hl7.fhir.r4.examples#4.0.1) -export interface TriggerDefinition extends Element { - condition?: Expression; - data?: DataRequirement[]; - name?: string; - _name?: Element; - timingDate?: string; - _timingDate?: Element; - timingDateTime?: string; - _timingDateTime?: Element; - timingReference?: Reference<"Schedule">; - timingTiming?: Timing; - type: ("named-event" | "periodic" | "data-changed" | "data-added" | "data-modified" | "data-removed" | "data-accessed" | "data-access-ended"); - _type?: Element; -} 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 deleted file mode 100644 index a21951808..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/UsageContext.ts +++ /dev/null @@ -1,26 +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 { Coding } from "../hl7-fhir-r4-examples/Coding"; -import type { Element } from "../hl7-fhir-r4-examples/Element"; -import type { Quantity } from "../hl7-fhir-r4-examples/Quantity"; -import type { Range } from "../hl7-fhir-r4-examples/Range"; -import type { Reference } from "../hl7-fhir-r4-examples/Reference"; - -export type { CodeableConcept } from "../hl7-fhir-r4-examples/CodeableConcept"; -export type { Coding } from "../hl7-fhir-r4-examples/Coding"; -export type { Element } from "../hl7-fhir-r4-examples/Element"; -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 (pkg: hl7.fhir.r4.examples#4.0.1) -export interface UsageContext extends Element { - code: Coding<("gender" | "age" | "focus" | "user" | "workflow" | "task" | "venue" | "species" | "program" | string)>; - valueCodeableConcept?: CodeableConcept; - valueQuantity?: Quantity; - valueRange?: Range; - valueReference?: Reference<"Group" | "HealthcareService" | "InsurancePlan" | "Location" | "Organization" | "PlanDefinition" | "ResearchStudy">; -} 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 deleted file mode 100644 index 7616ecae5..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/ValueSet.ts +++ /dev/null @@ -1,122 +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 { BackboneElement } from "../hl7-fhir-r4-examples/BackboneElement"; -import type { CodeableConcept } from "../hl7-fhir-r4-examples/CodeableConcept"; -import type { Coding } from "../hl7-fhir-r4-examples/Coding"; -import type { ContactDetail } from "../hl7-fhir-r4-examples/ContactDetail"; -import type { DomainResource } from "../hl7-fhir-r4-examples/DomainResource"; -import type { Identifier } from "../hl7-fhir-r4-examples/Identifier"; -import type { UsageContext } from "../hl7-fhir-r4-examples/UsageContext"; - -import type { Element } from "../hl7-fhir-r4-examples/Element"; -export type { BackboneElement } from "../hl7-fhir-r4-examples/BackboneElement"; -export type { CodeableConcept } from "../hl7-fhir-r4-examples/CodeableConcept"; -export type { Coding } from "../hl7-fhir-r4-examples/Coding"; -export type { ContactDetail } from "../hl7-fhir-r4-examples/ContactDetail"; -export type { Identifier } from "../hl7-fhir-r4-examples/Identifier"; -export type { UsageContext } from "../hl7-fhir-r4-examples/UsageContext"; - -export interface ValueSetCompose extends BackboneElement { - exclude?: ValueSetComposeInclude[]; - inactive?: boolean; - include: ValueSetComposeInclude[]; - lockedDate?: string; -} - -export interface ValueSetComposeInclude extends BackboneElement { - concept?: ValueSetComposeIncludeConcept[]; - filter?: ValueSetComposeIncludeFilter[]; - system?: string; - valueSet?: string[]; - version?: string; -} - -export interface ValueSetComposeIncludeConcept extends BackboneElement { - code: string; - designation?: ValueSetComposeIncludeConceptDesignation[]; - display?: string; -} - -export interface ValueSetComposeIncludeConceptDesignation extends BackboneElement { - 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; -} - -export interface ValueSetComposeIncludeFilter extends BackboneElement { - op: ("=" | "is-a" | "descendent-of" | "is-not-a" | "regex" | "in" | "not-in" | "generalizes" | "exists"); - property: string; - value: string; -} - -export interface ValueSetExpansion extends BackboneElement { - contains?: ValueSetExpansionContains[]; - identifier?: string; - offset?: number; - parameter?: ValueSetExpansionParameter[]; - timestamp: string; - total?: number; -} - -export interface ValueSetExpansionContains extends BackboneElement { - abstract?: boolean; - code?: string; - contains?: ValueSetExpansionContains[]; - designation?: ValueSetComposeIncludeConceptDesignation[]; - display?: string; - inactive?: boolean; - system?: string; - version?: string; -} - -export interface ValueSetExpansionParameter extends BackboneElement { - name: string; - valueBoolean?: boolean; - valueCode?: string; - valueDateTime?: string; - valueDecimal?: number; - valueInteger?: number; - valueString?: string; - valueUri?: string; -} - -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/ValueSet (pkg: hl7.fhir.r4.examples#4.0.1) -export interface ValueSet extends DomainResource { - resourceType: "ValueSet"; - - compose?: ValueSetCompose; - contact?: ContactDetail[]; - copyright?: string; - _copyright?: Element; - date?: string; - _date?: Element; - description?: string; - _description?: Element; - expansion?: ValueSetExpansion; - experimental?: boolean; - _experimental?: Element; - identifier?: Identifier[]; - immutable?: boolean; - _immutable?: Element; - jurisdiction?: CodeableConcept[]; - name?: string; - _name?: Element; - publisher?: string; - _publisher?: Element; - purpose?: string; - _purpose?: Element; - status: ("draft" | "active" | "retired" | "unknown"); - _status?: Element; - title?: string; - _title?: Element; - url?: string; - _url?: Element; - useContext?: UsageContext[]; - version?: string; - _version?: Element; -} -export const isValueSet = (resource: unknown): resource is ValueSet => { - return resource !== null && typeof resource === "object" && (resource as {resourceType: string}).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 deleted file mode 100644 index 3f42d4e12..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/VerificationResult.ts +++ /dev/null @@ -1,72 +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 { BackboneElement } from "../hl7-fhir-r4-examples/BackboneElement"; -import type { CodeableConcept } from "../hl7-fhir-r4-examples/CodeableConcept"; -import type { DomainResource } from "../hl7-fhir-r4-examples/DomainResource"; -import type { Reference } from "../hl7-fhir-r4-examples/Reference"; -import type { Signature } from "../hl7-fhir-r4-examples/Signature"; -import type { Timing } from "../hl7-fhir-r4-examples/Timing"; - -import type { Element } from "../hl7-fhir-r4-examples/Element"; -export type { BackboneElement } from "../hl7-fhir-r4-examples/BackboneElement"; -export type { CodeableConcept } from "../hl7-fhir-r4-examples/CodeableConcept"; -export type { Reference } from "../hl7-fhir-r4-examples/Reference"; -export type { Signature } from "../hl7-fhir-r4-examples/Signature"; -export type { Timing } from "../hl7-fhir-r4-examples/Timing"; - -export interface VerificationResultAttestation extends BackboneElement { - communicationMethod?: CodeableConcept; - date?: string; - onBehalfOf?: Reference<"Organization" | "Practitioner" | "PractitionerRole">; - proxyIdentityCertificate?: string; - proxySignature?: Signature; - sourceIdentityCertificate?: string; - sourceSignature?: Signature; - who?: Reference<"Organization" | "Practitioner" | "PractitionerRole">; -} - -export interface VerificationResultPrimarySource extends BackboneElement { - canPushUpdates?: CodeableConcept<("yes" | "no" | "undetermined" | string)>; - communicationMethod?: CodeableConcept[]; - pushTypeAvailable?: CodeableConcept<("specific" | "any" | "source" | string)>[]; - type?: CodeableConcept[]; - validationDate?: string; - validationStatus?: CodeableConcept<("successful" | "failed" | "unknown" | string)>; - who?: Reference<"Organization" | "Practitioner" | "PractitionerRole">; -} - -export interface VerificationResultValidator extends BackboneElement { - attestationSignature?: Signature; - identityCertificate?: string; - organization: Reference<"Organization">; -} - -// 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<("fatal" | "warn" | "rec-only" | "none" | string)>; - frequency?: Timing; - lastPerformed?: string; - _lastPerformed?: Element; - need?: CodeableConcept<("none" | "initial" | "periodic" | string)>; - nextScheduled?: string; - _nextScheduled?: Element; - primarySource?: VerificationResultPrimarySource[]; - status: ("attested" | "validated" | "in-process" | "req-revalid" | "val-fail" | "reval-fail"); - _status?: Element; - statusDate?: string; - _statusDate?: Element; - target?: Reference<"Resource">[]; - targetLocation?: string[]; - _targetLocation?: (Element | null)[]; - validationProcess?: CodeableConcept[]; - validationType?: CodeableConcept<("nothing" | "primary" | "multiple" | string)>; - validator?: VerificationResultValidator[]; -} -export const isVerificationResult = (resource: unknown): resource is VerificationResult => { - return resource !== null && typeof resource === "object" && (resource as {resourceType: string}).resourceType === "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 deleted file mode 100644 index e0b34c4f7..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/VisionPrescription.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 { Annotation } from "../hl7-fhir-r4-examples/Annotation"; -import type { BackboneElement } from "../hl7-fhir-r4-examples/BackboneElement"; -import type { CodeableConcept } from "../hl7-fhir-r4-examples/CodeableConcept"; -import type { DomainResource } from "../hl7-fhir-r4-examples/DomainResource"; -import type { Identifier } from "../hl7-fhir-r4-examples/Identifier"; -import type { Quantity } from "../hl7-fhir-r4-examples/Quantity"; -import type { Reference } from "../hl7-fhir-r4-examples/Reference"; - -import type { Element } from "../hl7-fhir-r4-examples/Element"; -export type { Annotation } from "../hl7-fhir-r4-examples/Annotation"; -export type { BackboneElement } from "../hl7-fhir-r4-examples/BackboneElement"; -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"; -export type { Reference } from "../hl7-fhir-r4-examples/Reference"; - -export interface VisionPrescriptionLensSpecification extends BackboneElement { - add?: number; - axis?: number; - backCurve?: number; - brand?: string; - color?: string; - cylinder?: number; - diameter?: number; - duration?: Quantity; - eye: ("right" | "left"); - note?: Annotation[]; - power?: number; - prism?: VisionPrescriptionLensSpecificationPrism[]; - product: CodeableConcept; - sphere?: number; -} - -export interface VisionPrescriptionLensSpecificationPrism extends BackboneElement { - amount: number; - base: ("up" | "down" | "in" | "out"); -} - -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/VisionPrescription (pkg: hl7.fhir.r4.examples#4.0.1) -export interface VisionPrescription extends DomainResource { - resourceType: "VisionPrescription"; - - created: string; - _created?: Element; - dateWritten: string; - _dateWritten?: Element; - encounter?: Reference<"Encounter">; - identifier?: Identifier[]; - lensSpecification: VisionPrescriptionLensSpecification[]; - patient: Reference<"Patient">; - prescriber: Reference<"Practitioner" | "PractitionerRole">; - status: ("active" | "cancelled" | "draft" | "entered-in-error"); - _status?: Element; -} -export const isVisionPrescription = (resource: unknown): resource is VisionPrescription => { - return resource !== null && typeof resource === "object" && (resource as {resourceType: string}).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 deleted file mode 100644 index a6c7bacad..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/index.ts +++ /dev/null @@ -1,341 +0,0 @@ -export * from "./profiles"; -export type { Account, AccountCoverage, AccountGuarantor } from "./Account"; -export { isAccount } from "./Account"; -export type { ActivityDefinition, ActivityDefinitionDynamicValue, ActivityDefinitionParticipant } from "./ActivityDefinition"; -export { isActivityDefinition } from "./ActivityDefinition"; -export type { Address } from "./Address"; -export type { AdverseEvent, AdverseEventSuspectEntity, AdverseEventSuspectEntityCausality } from "./AdverseEvent"; -export { isAdverseEvent } from "./AdverseEvent"; -export type { Age } from "./Age"; -export type { AllergyIntolerance, AllergyIntoleranceReaction } from "./AllergyIntolerance"; -export { isAllergyIntolerance } from "./AllergyIntolerance"; -export type { Annotation } from "./Annotation"; -export type { Appointment, AppointmentParticipant } from "./Appointment"; -export { isAppointment } from "./Appointment"; -export type { AppointmentResponse } from "./AppointmentResponse"; -export { isAppointmentResponse } from "./AppointmentResponse"; -export type { Attachment } from "./Attachment"; -export type { AuditEvent, AuditEventAgent, AuditEventAgentNetwork, AuditEventEntity, AuditEventEntityDetail, AuditEventSource } from "./AuditEvent"; -export { isAuditEvent } from "./AuditEvent"; -export type { BackboneElement } from "./BackboneElement"; -export type { Basic } from "./Basic"; -export { isBasic } from "./Basic"; -export type { Binary } from "./Binary"; -export { isBinary } from "./Binary"; -export type { BiologicallyDerivedProduct, BiologicallyDerivedProductCollection, BiologicallyDerivedProductManipulation, BiologicallyDerivedProductProcessing, BiologicallyDerivedProductStorage } from "./BiologicallyDerivedProduct"; -export { isBiologicallyDerivedProduct } from "./BiologicallyDerivedProduct"; -export type { BodyStructure } from "./BodyStructure"; -export { isBodyStructure } from "./BodyStructure"; -export type { Bundle, BundleEntry, BundleEntryRequest, BundleEntryResponse, BundleEntrySearch, BundleLink } from "./Bundle"; -export { isBundle } from "./Bundle"; -export type { CapabilityStatement, CapabilityStatementDocument, CapabilityStatementImplementation, CapabilityStatementMessaging, CapabilityStatementMessagingEndpoint, CapabilityStatementMessagingSupportedMessage, CapabilityStatementRest, CapabilityStatementRestInteraction, CapabilityStatementRestResource, CapabilityStatementRestResourceInteraction, CapabilityStatementRestResourceOperation, CapabilityStatementRestResourceSearchParam, CapabilityStatementRestSecurity, CapabilityStatementSoftware } from "./CapabilityStatement"; -export { isCapabilityStatement } from "./CapabilityStatement"; -export type { CarePlan, CarePlanActivity, CarePlanActivityDetail } from "./CarePlan"; -export { isCarePlan } from "./CarePlan"; -export type { CareTeam, CareTeamParticipant } from "./CareTeam"; -export { isCareTeam } from "./CareTeam"; -export type { CatalogEntry, CatalogEntryRelatedEntry } from "./CatalogEntry"; -export { isCatalogEntry } from "./CatalogEntry"; -export type { ChargeItem, ChargeItemPerformer } from "./ChargeItem"; -export { isChargeItem } from "./ChargeItem"; -export type { ChargeItemDefinition, ChargeItemDefinitionApplicability, ChargeItemDefinitionPropertyGroup, ChargeItemDefinitionPropertyGroupPriceComponent } from "./ChargeItemDefinition"; -export { isChargeItemDefinition } from "./ChargeItemDefinition"; -export type { Claim, ClaimAccident, ClaimCareTeam, ClaimDiagnosis, ClaimInsurance, ClaimItem, ClaimItemDetail, ClaimItemDetailSubDetail, ClaimPayee, ClaimProcedure, ClaimRelated, ClaimSupportingInfo } from "./Claim"; -export { isClaim } from "./Claim"; -export type { ClaimResponse, ClaimResponseAddItem, ClaimResponseAddItemDetail, ClaimResponseAddItemDetailSubDetail, ClaimResponseError, ClaimResponseInsurance, ClaimResponseItem, ClaimResponseItemAdjudication, ClaimResponseItemDetail, ClaimResponseItemDetailSubDetail, ClaimResponsePayment, ClaimResponseProcessNote, ClaimResponseTotal } from "./ClaimResponse"; -export { isClaimResponse } from "./ClaimResponse"; -export type { ClinicalImpression, ClinicalImpressionFinding, ClinicalImpressionInvestigation } from "./ClinicalImpression"; -export { isClinicalImpression } from "./ClinicalImpression"; -export type { CodeableConcept } from "./CodeableConcept"; -export type { CodeSystem, CodeSystemConcept, CodeSystemConceptDesignation, CodeSystemConceptProperty, CodeSystemFilter, CodeSystemProperty } from "./CodeSystem"; -export { isCodeSystem } from "./CodeSystem"; -export type { Coding } from "./Coding"; -export type { Communication, CommunicationPayload } from "./Communication"; -export { isCommunication } from "./Communication"; -export type { CommunicationRequest, CommunicationRequestPayload } from "./CommunicationRequest"; -export { isCommunicationRequest } from "./CommunicationRequest"; -export type { CompartmentDefinition, CompartmentDefinitionResource } from "./CompartmentDefinition"; -export { isCompartmentDefinition } from "./CompartmentDefinition"; -export type { Composition, CompositionAttester, CompositionEvent, CompositionRelatesTo, CompositionSection } from "./Composition"; -export { isComposition } from "./Composition"; -export type { ConceptMap, ConceptMapGroup, ConceptMapGroupElement, ConceptMapGroupElementTarget, ConceptMapGroupElementTargetDependsOn, ConceptMapGroupUnmapped } from "./ConceptMap"; -export { isConceptMap } from "./ConceptMap"; -export type { Condition, ConditionEvidence, ConditionStage } from "./Condition"; -export { isCondition } from "./Condition"; -export type { Consent, ConsentPolicy, ConsentProvision, ConsentProvisionActor, ConsentProvisionData, ConsentVerification } from "./Consent"; -export { isConsent } from "./Consent"; -export type { ContactDetail } from "./ContactDetail"; -export type { ContactPoint } from "./ContactPoint"; -export type { Contract, ContractContentDefinition, ContractFriendly, ContractLegal, ContractRule, ContractSigner, ContractTerm, ContractTermAction, ContractTermActionSubject, ContractTermAsset, ContractTermAssetContext, ContractTermAssetValuedItem, ContractTermOffer, ContractTermOfferAnswer, ContractTermOfferParty, ContractTermSecurityLabel } from "./Contract"; -export { isContract } from "./Contract"; -export type { Contributor } from "./Contributor"; -export type { Count } from "./Count"; -export type { Coverage, CoverageClass, CoverageCostToBeneficiary, CoverageCostToBeneficiaryException } from "./Coverage"; -export { isCoverage } from "./Coverage"; -export type { CoverageEligibilityRequest, CoverageEligibilityRequestInsurance, CoverageEligibilityRequestItem, CoverageEligibilityRequestItemDiagnosis, CoverageEligibilityRequestSupportingInfo } from "./CoverageEligibilityRequest"; -export { isCoverageEligibilityRequest } from "./CoverageEligibilityRequest"; -export type { CoverageEligibilityResponse, CoverageEligibilityResponseError, CoverageEligibilityResponseInsurance, CoverageEligibilityResponseInsuranceItem, CoverageEligibilityResponseInsuranceItemBenefit } from "./CoverageEligibilityResponse"; -export { isCoverageEligibilityResponse } from "./CoverageEligibilityResponse"; -export type { DataRequirement } from "./DataRequirement"; -export type { Definition } from "./Definition"; -export type { DetectedIssue, DetectedIssueEvidence, DetectedIssueMitigation } from "./DetectedIssue"; -export { isDetectedIssue } from "./DetectedIssue"; -export type { Device, DeviceDeviceName, DeviceProperty, DeviceSpecialization, DeviceUdiCarrier, DeviceVersion } from "./Device"; -export { isDevice } from "./Device"; -export type { DeviceDefinition, DeviceDefinitionCapability, DeviceDefinitionDeviceName, DeviceDefinitionMaterial, DeviceDefinitionProperty, DeviceDefinitionSpecialization, DeviceDefinitionUdiDeviceIdentifier } from "./DeviceDefinition"; -export { isDeviceDefinition } from "./DeviceDefinition"; -export type { DeviceMetric, DeviceMetricCalibration } from "./DeviceMetric"; -export { isDeviceMetric } from "./DeviceMetric"; -export type { DeviceRequest, DeviceRequestParameter } from "./DeviceRequest"; -export { isDeviceRequest } from "./DeviceRequest"; -export type { DeviceUseStatement } from "./DeviceUseStatement"; -export { isDeviceUseStatement } from "./DeviceUseStatement"; -export type { DiagnosticReport, DiagnosticReportMedia } from "./DiagnosticReport"; -export { isDiagnosticReport } from "./DiagnosticReport"; -export type { Distance } from "./Distance"; -export type { DocumentManifest, DocumentManifestRelated } from "./DocumentManifest"; -export { isDocumentManifest } from "./DocumentManifest"; -export type { DocumentReference, DocumentReferenceContent, DocumentReferenceContext, DocumentReferenceRelatesTo } from "./DocumentReference"; -export { isDocumentReference } from "./DocumentReference"; -export type { DomainResource } from "./DomainResource"; -export { isDomainResource } from "./DomainResource"; -export type { Dosage } from "./Dosage"; -export type { Duration } from "./Duration"; -export type { EffectEvidenceSynthesis, EffectEvidenceSynthesisCertainty, EffectEvidenceSynthesisCertaintyCertaintySubcomponent, EffectEvidenceSynthesisEffectEstimate, EffectEvidenceSynthesisEffectEstimatePrecisionEstimate, EffectEvidenceSynthesisResultsByExposure, EffectEvidenceSynthesisSampleSize } from "./EffectEvidenceSynthesis"; -export { isEffectEvidenceSynthesis } from "./EffectEvidenceSynthesis"; -export type { Element } from "./Element"; -export type { ElementDefinition } from "./ElementDefinition"; -export type { Encounter, EncounterClassHistory, EncounterDiagnosis, EncounterHospitalization, EncounterLocation, EncounterParticipant, EncounterStatusHistory } from "./Encounter"; -export { isEncounter } from "./Encounter"; -export type { Endpoint } from "./Endpoint"; -export { isEndpoint } from "./Endpoint"; -export type { EnrollmentRequest } from "./EnrollmentRequest"; -export { isEnrollmentRequest } from "./EnrollmentRequest"; -export type { EnrollmentResponse } from "./EnrollmentResponse"; -export { isEnrollmentResponse } from "./EnrollmentResponse"; -export type { EpisodeOfCare, EpisodeOfCareDiagnosis, EpisodeOfCareStatusHistory } from "./EpisodeOfCare"; -export { isEpisodeOfCare } from "./EpisodeOfCare"; -export type { Event } from "./Event"; -export type { EventDefinition } from "./EventDefinition"; -export { isEventDefinition } from "./EventDefinition"; -export type { Evidence } from "./Evidence"; -export { isEvidence } from "./Evidence"; -export type { EvidenceVariable, EvidenceVariableCharacteristic } from "./EvidenceVariable"; -export { isEvidenceVariable } from "./EvidenceVariable"; -export type { ExampleScenario, ExampleScenarioActor, ExampleScenarioInstance, ExampleScenarioInstanceContainedInstance, ExampleScenarioInstanceVersion, ExampleScenarioProcess, ExampleScenarioProcessStep, ExampleScenarioProcessStepAlternative, ExampleScenarioProcessStepOperation } from "./ExampleScenario"; -export { isExampleScenario } from "./ExampleScenario"; -export type { ExplanationOfBenefit, ExplanationOfBenefitAccident, ExplanationOfBenefitAddItem, ExplanationOfBenefitAddItemDetail, ExplanationOfBenefitAddItemDetailSubDetail, ExplanationOfBenefitBenefitBalance, ExplanationOfBenefitBenefitBalanceFinancial, ExplanationOfBenefitCareTeam, ExplanationOfBenefitDiagnosis, ExplanationOfBenefitInsurance, ExplanationOfBenefitItem, ExplanationOfBenefitItemAdjudication, ExplanationOfBenefitItemDetail, ExplanationOfBenefitItemDetailSubDetail, ExplanationOfBenefitPayee, ExplanationOfBenefitPayment, ExplanationOfBenefitProcedure, ExplanationOfBenefitProcessNote, ExplanationOfBenefitRelated, ExplanationOfBenefitSupportingInfo, ExplanationOfBenefitTotal } from "./ExplanationOfBenefit"; -export { isExplanationOfBenefit } from "./ExplanationOfBenefit"; -export type { Expression } from "./Expression"; -export type { Extension } from "./Extension"; -export type { FiveWs } from "./FiveWs"; -export type { Flag } from "./Flag"; -export { isFlag } from "./Flag"; -export type { Goal, GoalTarget } from "./Goal"; -export { isGoal } from "./Goal"; -export type { GraphDefinition, GraphDefinitionLink, GraphDefinitionLinkTarget, GraphDefinitionLinkTargetCompartment } from "./GraphDefinition"; -export { isGraphDefinition } from "./GraphDefinition"; -export type { Group, GroupCharacteristic, GroupMember } from "./Group"; -export { isGroup } from "./Group"; -export type { GuidanceResponse } from "./GuidanceResponse"; -export { isGuidanceResponse } from "./GuidanceResponse"; -export type { HealthcareService, HealthcareServiceAvailableTime, HealthcareServiceEligibility, HealthcareServiceNotAvailable } from "./HealthcareService"; -export { isHealthcareService } from "./HealthcareService"; -export type { HumanName } from "./HumanName"; -export type { Identifier } from "./Identifier"; -export type { ImagingStudy, ImagingStudySeries, ImagingStudySeriesInstance, ImagingStudySeriesPerformer } from "./ImagingStudy"; -export { isImagingStudy } from "./ImagingStudy"; -export type { Immunization, ImmunizationEducation, ImmunizationPerformer, ImmunizationProtocolApplied, ImmunizationReaction } from "./Immunization"; -export { isImmunization } from "./Immunization"; -export type { ImmunizationEvaluation } from "./ImmunizationEvaluation"; -export { isImmunizationEvaluation } from "./ImmunizationEvaluation"; -export type { ImmunizationRecommendation, ImmunizationRecommendationRecommendation, ImmunizationRecommendationRecommendationDateCriterion } from "./ImmunizationRecommendation"; -export { isImmunizationRecommendation } from "./ImmunizationRecommendation"; -export type { ImplementationGuide, ImplementationGuideDefinition, ImplementationGuideDefinitionGrouping, ImplementationGuideDefinitionPage, ImplementationGuideDefinitionParameter, ImplementationGuideDefinitionResource, ImplementationGuideDefinitionTemplate, ImplementationGuideDependsOn, ImplementationGuideGlobal, ImplementationGuideManifest, ImplementationGuideManifestPage, ImplementationGuideManifestResource } from "./ImplementationGuide"; -export { isImplementationGuide } from "./ImplementationGuide"; -export type { InsurancePlan, InsurancePlanContact, InsurancePlanCoverage, InsurancePlanCoverageBenefit, InsurancePlanCoverageBenefitLimit, InsurancePlanPlan, InsurancePlanPlanGeneralCost, InsurancePlanPlanSpecificCost, InsurancePlanPlanSpecificCostBenefit, InsurancePlanPlanSpecificCostBenefitCost } from "./InsurancePlan"; -export { isInsurancePlan } from "./InsurancePlan"; -export type { Invoice, InvoiceLineItem, InvoiceLineItemPriceComponent, InvoiceParticipant } from "./Invoice"; -export { isInvoice } from "./Invoice"; -export type { Library } from "./Library"; -export { isLibrary } from "./Library"; -export type { Linkage, LinkageItem } from "./Linkage"; -export { isLinkage } from "./Linkage"; -export type { List, ListEntry } from "./List"; -export { isList } from "./List"; -export type { Location, LocationHoursOfOperation, LocationPosition } from "./Location"; -export { isLocation } from "./Location"; -export type { MarketingStatus } from "./MarketingStatus"; -export type { Measure, MeasureGroup, MeasureGroupPopulation, MeasureGroupStratifier, MeasureGroupStratifierComponent, MeasureSupplementalData } from "./Measure"; -export { isMeasure } from "./Measure"; -export type { MeasureReport, MeasureReportGroup, MeasureReportGroupPopulation, MeasureReportGroupStratifier, MeasureReportGroupStratifierStratum, MeasureReportGroupStratifierStratumComponent, MeasureReportGroupStratifierStratumPopulation } from "./MeasureReport"; -export { isMeasureReport } from "./MeasureReport"; -export type { Media } from "./Media"; -export { isMedia } from "./Media"; -export type { Medication, MedicationBatch, MedicationIngredient } from "./Medication"; -export { isMedication } from "./Medication"; -export type { MedicationAdministration, MedicationAdministrationDosage, MedicationAdministrationPerformer } from "./MedicationAdministration"; -export { isMedicationAdministration } from "./MedicationAdministration"; -export type { MedicationDispense, MedicationDispensePerformer, MedicationDispenseSubstitution } from "./MedicationDispense"; -export { isMedicationDispense } from "./MedicationDispense"; -export type { MedicationKnowledge, MedicationKnowledgeAdministrationGuidelines, MedicationKnowledgeAdministrationGuidelinesDosage, MedicationKnowledgeAdministrationGuidelinesPatientCharacteristics, MedicationKnowledgeCost, MedicationKnowledgeDrugCharacteristic, MedicationKnowledgeIngredient, MedicationKnowledgeKinetics, MedicationKnowledgeMedicineClassification, MedicationKnowledgeMonitoringProgram, MedicationKnowledgeMonograph, MedicationKnowledgePackaging, MedicationKnowledgeRegulatory, MedicationKnowledgeRegulatoryMaxDispense, MedicationKnowledgeRegulatorySchedule, MedicationKnowledgeRegulatorySubstitution, MedicationKnowledgeRelatedMedicationKnowledge } from "./MedicationKnowledge"; -export { isMedicationKnowledge } from "./MedicationKnowledge"; -export type { MedicationRequest, MedicationRequestDispenseRequest, MedicationRequestDispenseRequestInitialFill, MedicationRequestSubstitution } from "./MedicationRequest"; -export { isMedicationRequest } from "./MedicationRequest"; -export type { MedicationStatement } from "./MedicationStatement"; -export { isMedicationStatement } from "./MedicationStatement"; -export type { MedicinalProduct, MedicinalProductManufacturingBusinessOperation, MedicinalProductName, MedicinalProductNameCountryLanguage, MedicinalProductNameNamePart, MedicinalProductSpecialDesignation } from "./MedicinalProduct"; -export { isMedicinalProduct } from "./MedicinalProduct"; -export type { MedicinalProductAuthorization, MedicinalProductAuthorizationJurisdictionalAuthorization, MedicinalProductAuthorizationProcedure } from "./MedicinalProductAuthorization"; -export { isMedicinalProductAuthorization } from "./MedicinalProductAuthorization"; -export type { MedicinalProductContraindication, MedicinalProductContraindicationOtherTherapy } from "./MedicinalProductContraindication"; -export { isMedicinalProductContraindication } from "./MedicinalProductContraindication"; -export type { MedicinalProductIndication, MedicinalProductIndicationOtherTherapy } from "./MedicinalProductIndication"; -export { isMedicinalProductIndication } from "./MedicinalProductIndication"; -export type { MedicinalProductIngredient, MedicinalProductIngredientSpecifiedSubstance, MedicinalProductIngredientSpecifiedSubstanceStrength, MedicinalProductIngredientSpecifiedSubstanceStrengthReferenceStrength, MedicinalProductIngredientSubstance } from "./MedicinalProductIngredient"; -export { isMedicinalProductIngredient } from "./MedicinalProductIngredient"; -export type { MedicinalProductInteraction, MedicinalProductInteractionInteractant } from "./MedicinalProductInteraction"; -export { isMedicinalProductInteraction } from "./MedicinalProductInteraction"; -export type { MedicinalProductManufactured } from "./MedicinalProductManufactured"; -export { isMedicinalProductManufactured } from "./MedicinalProductManufactured"; -export type { MedicinalProductPackaged, MedicinalProductPackagedBatchIdentifier, MedicinalProductPackagedPackageItem } from "./MedicinalProductPackaged"; -export { isMedicinalProductPackaged } from "./MedicinalProductPackaged"; -export type { MedicinalProductPharmaceutical, MedicinalProductPharmaceuticalCharacteristics, MedicinalProductPharmaceuticalRouteOfAdministration, MedicinalProductPharmaceuticalRouteOfAdministrationTargetSpecies, MedicinalProductPharmaceuticalRouteOfAdministrationTargetSpeciesWithdrawalPeriod } from "./MedicinalProductPharmaceutical"; -export { isMedicinalProductPharmaceutical } from "./MedicinalProductPharmaceutical"; -export type { MedicinalProductUndesirableEffect } from "./MedicinalProductUndesirableEffect"; -export { isMedicinalProductUndesirableEffect } from "./MedicinalProductUndesirableEffect"; -export type { MessageDefinition, MessageDefinitionAllowedResponse, MessageDefinitionFocus } from "./MessageDefinition"; -export { isMessageDefinition } from "./MessageDefinition"; -export type { MessageHeader, MessageHeaderDestination, MessageHeaderResponse, MessageHeaderSource } from "./MessageHeader"; -export { isMessageHeader } from "./MessageHeader"; -export type { Meta } from "./Meta"; -export type { MetadataResource } from "./MetadataResource"; -export type { MolecularSequence, MolecularSequenceQuality, MolecularSequenceQualityRoc, MolecularSequenceReferenceSeq, MolecularSequenceRepository, MolecularSequenceStructureVariant, MolecularSequenceStructureVariantInner, MolecularSequenceStructureVariantOuter, MolecularSequenceVariant } from "./MolecularSequence"; -export { isMolecularSequence } from "./MolecularSequence"; -export type { Money } from "./Money"; -export type { NamingSystem, NamingSystemUniqueId } from "./NamingSystem"; -export { isNamingSystem } from "./NamingSystem"; -export type { Narrative } from "./Narrative"; -export type { NutritionOrder, NutritionOrderEnteralFormula, NutritionOrderEnteralFormulaAdministration, NutritionOrderOralDiet, NutritionOrderOralDietNutrient, NutritionOrderOralDietTexture, NutritionOrderSupplement } from "./NutritionOrder"; -export { isNutritionOrder } from "./NutritionOrder"; -export type { Observation, ObservationComponent, ObservationReferenceRange } from "./Observation"; -export { isObservation } from "./Observation"; -export type { ObservationDefinition, ObservationDefinitionQualifiedInterval, ObservationDefinitionQuantitativeDetails } from "./ObservationDefinition"; -export { isObservationDefinition } from "./ObservationDefinition"; -export type { OperationDefinition, OperationDefinitionOverload, OperationDefinitionParameter, OperationDefinitionParameterBinding, OperationDefinitionParameterReferencedFrom } from "./OperationDefinition"; -export { isOperationDefinition } from "./OperationDefinition"; -export type { OperationOutcome, OperationOutcomeIssue } from "./OperationOutcome"; -export { isOperationOutcome } from "./OperationOutcome"; -export type { Organization, OrganizationContact } from "./Organization"; -export { isOrganization } from "./Organization"; -export type { OrganizationAffiliation } from "./OrganizationAffiliation"; -export { isOrganizationAffiliation } from "./OrganizationAffiliation"; -export type { ParameterDefinition } from "./ParameterDefinition"; -export type { Parameters, ParametersParameter } from "./Parameters"; -export { isParameters } from "./Parameters"; -export type { Patient, PatientCommunication, PatientContact, PatientLink } from "./Patient"; -export { isPatient } from "./Patient"; -export type { PaymentNotice } from "./PaymentNotice"; -export { isPaymentNotice } from "./PaymentNotice"; -export type { PaymentReconciliation, PaymentReconciliationDetail, PaymentReconciliationProcessNote } from "./PaymentReconciliation"; -export { isPaymentReconciliation } from "./PaymentReconciliation"; -export type { Period } from "./Period"; -export type { Person, PersonLink } from "./Person"; -export { isPerson } from "./Person"; -export type { PlanDefinition, PlanDefinitionAction, PlanDefinitionActionCondition, PlanDefinitionActionDynamicValue, PlanDefinitionActionParticipant, PlanDefinitionActionRelatedAction, PlanDefinitionGoal, PlanDefinitionGoalTarget } from "./PlanDefinition"; -export { isPlanDefinition } from "./PlanDefinition"; -export type { Population } from "./Population"; -export type { Practitioner, PractitionerQualification } from "./Practitioner"; -export { isPractitioner } from "./Practitioner"; -export type { PractitionerRole, PractitionerRoleAvailableTime, PractitionerRoleNotAvailable } from "./PractitionerRole"; -export { isPractitionerRole } from "./PractitionerRole"; -export type { Procedure, ProcedureFocalDevice, ProcedurePerformer } from "./Procedure"; -export { isProcedure } from "./Procedure"; -export type { ProdCharacteristic } from "./ProdCharacteristic"; -export type { ProductShelfLife } from "./ProductShelfLife"; -export type { Provenance, ProvenanceAgent, ProvenanceEntity } from "./Provenance"; -export { isProvenance } from "./Provenance"; -export type { Quantity } from "./Quantity"; -export type { Questionnaire, QuestionnaireItem, QuestionnaireItemAnswerOption, QuestionnaireItemEnableWhen, QuestionnaireItemInitial } from "./Questionnaire"; -export { isQuestionnaire } from "./Questionnaire"; -export type { QuestionnaireResponse, QuestionnaireResponseItem, QuestionnaireResponseItemAnswer } from "./QuestionnaireResponse"; -export { isQuestionnaireResponse } from "./QuestionnaireResponse"; -export type { Range } from "./Range"; -export type { Ratio } from "./Ratio"; -export type { Reference } from "./Reference"; -export type { RelatedArtifact } from "./RelatedArtifact"; -export type { RelatedPerson, RelatedPersonCommunication } from "./RelatedPerson"; -export { isRelatedPerson } from "./RelatedPerson"; -export type { Request } from "./Request"; -export type { RequestGroup, RequestGroupAction, RequestGroupActionCondition, RequestGroupActionRelatedAction } from "./RequestGroup"; -export { isRequestGroup } from "./RequestGroup"; -export type { ResearchDefinition } from "./ResearchDefinition"; -export { isResearchDefinition } from "./ResearchDefinition"; -export type { ResearchElementDefinition, ResearchElementDefinitionCharacteristic } from "./ResearchElementDefinition"; -export { isResearchElementDefinition } from "./ResearchElementDefinition"; -export type { ResearchStudy, ResearchStudyArm, ResearchStudyObjective } from "./ResearchStudy"; -export { isResearchStudy } from "./ResearchStudy"; -export type { ResearchSubject } from "./ResearchSubject"; -export { isResearchSubject } from "./ResearchSubject"; -export type { Resource } from "./Resource"; -export { isResource } from "./Resource"; -export type { RiskAssessment, RiskAssessmentPrediction } from "./RiskAssessment"; -export { isRiskAssessment } from "./RiskAssessment"; -export type { RiskEvidenceSynthesis, RiskEvidenceSynthesisCertainty, RiskEvidenceSynthesisCertaintyCertaintySubcomponent, RiskEvidenceSynthesisRiskEstimate, RiskEvidenceSynthesisRiskEstimatePrecisionEstimate, RiskEvidenceSynthesisSampleSize } from "./RiskEvidenceSynthesis"; -export { isRiskEvidenceSynthesis } from "./RiskEvidenceSynthesis"; -export type { SampledData } from "./SampledData"; -export type { Schedule } from "./Schedule"; -export { isSchedule } from "./Schedule"; -export type { SearchParameter, SearchParameterComponent } from "./SearchParameter"; -export { isSearchParameter } from "./SearchParameter"; -export type { ServiceRequest } from "./ServiceRequest"; -export { isServiceRequest } from "./ServiceRequest"; -export type { Signature } from "./Signature"; -export type { Slot } from "./Slot"; -export { isSlot } from "./Slot"; -export type { Specimen, SpecimenCollection, SpecimenContainer, SpecimenProcessing } from "./Specimen"; -export { isSpecimen } from "./Specimen"; -export type { SpecimenDefinition, SpecimenDefinitionTypeTested, SpecimenDefinitionTypeTestedContainer, SpecimenDefinitionTypeTestedContainerAdditive, SpecimenDefinitionTypeTestedHandling } from "./SpecimenDefinition"; -export { isSpecimenDefinition } from "./SpecimenDefinition"; -export type { StructureDefinition, StructureDefinitionContext, StructureDefinitionDifferential, StructureDefinitionMapping, StructureDefinitionSnapshot } from "./StructureDefinition"; -export { isStructureDefinition } from "./StructureDefinition"; -export type { StructureMap, StructureMapGroup, StructureMapGroupInput, StructureMapGroupRule, StructureMapGroupRuleDependent, StructureMapGroupRuleSource, StructureMapGroupRuleTarget, StructureMapGroupRuleTargetParameter, StructureMapStructure } from "./StructureMap"; -export { isStructureMap } from "./StructureMap"; -export type { Subscription, SubscriptionChannel } from "./Subscription"; -export { isSubscription } from "./Subscription"; -export type { Substance, SubstanceIngredient, SubstanceInstance } from "./Substance"; -export { isSubstance } from "./Substance"; -export type { SubstanceAmount } from "./SubstanceAmount"; -export type { SubstanceNucleicAcid, SubstanceNucleicAcidSubunit, SubstanceNucleicAcidSubunitLinkage, SubstanceNucleicAcidSubunitSugar } from "./SubstanceNucleicAcid"; -export { isSubstanceNucleicAcid } from "./SubstanceNucleicAcid"; -export type { SubstancePolymer, SubstancePolymerMonomerSet, SubstancePolymerMonomerSetStartingMaterial, SubstancePolymerRepeat, SubstancePolymerRepeatRepeatUnit, SubstancePolymerRepeatRepeatUnitDegreeOfPolymerisation, SubstancePolymerRepeatRepeatUnitStructuralRepresentation } from "./SubstancePolymer"; -export { isSubstancePolymer } from "./SubstancePolymer"; -export type { SubstanceProtein, SubstanceProteinSubunit } from "./SubstanceProtein"; -export { isSubstanceProtein } from "./SubstanceProtein"; -export type { SubstanceReferenceInformation, SubstanceReferenceInformationClassification, SubstanceReferenceInformationGene, SubstanceReferenceInformationGeneElement, SubstanceReferenceInformationTarget } from "./SubstanceReferenceInformation"; -export { isSubstanceReferenceInformation } from "./SubstanceReferenceInformation"; -export type { SubstanceSourceMaterial, SubstanceSourceMaterialFractionDescription, SubstanceSourceMaterialOrganism, SubstanceSourceMaterialOrganismAuthor, SubstanceSourceMaterialOrganismHybrid, SubstanceSourceMaterialOrganismOrganismGeneral, SubstanceSourceMaterialPartDescription } from "./SubstanceSourceMaterial"; -export { isSubstanceSourceMaterial } from "./SubstanceSourceMaterial"; -export type { SubstanceSpecification, SubstanceSpecificationCode, SubstanceSpecificationMoiety, SubstanceSpecificationName, SubstanceSpecificationNameOfficial, SubstanceSpecificationProperty, SubstanceSpecificationRelationship, SubstanceSpecificationStructure, SubstanceSpecificationStructureIsotope, SubstanceSpecificationStructureIsotopeMolecularWeight, SubstanceSpecificationStructureRepresentation } from "./SubstanceSpecification"; -export { isSubstanceSpecification } from "./SubstanceSpecification"; -export type { SupplyDelivery, SupplyDeliverySuppliedItem } from "./SupplyDelivery"; -export { isSupplyDelivery } from "./SupplyDelivery"; -export type { SupplyRequest, SupplyRequestParameter } from "./SupplyRequest"; -export { isSupplyRequest } from "./SupplyRequest"; -export type { Task, TaskInput, TaskOutput, TaskRestriction } from "./Task"; -export { isTask } from "./Task"; -export type { TerminologyCapabilities, TerminologyCapabilitiesClosure, TerminologyCapabilitiesCodeSystem, TerminologyCapabilitiesCodeSystemVersion, TerminologyCapabilitiesCodeSystemVersionFilter, TerminologyCapabilitiesExpansion, TerminologyCapabilitiesExpansionParameter, TerminologyCapabilitiesImplementation, TerminologyCapabilitiesSoftware, TerminologyCapabilitiesTranslation, TerminologyCapabilitiesValidateCode } from "./TerminologyCapabilities"; -export { isTerminologyCapabilities } from "./TerminologyCapabilities"; -export type { TestReport, TestReportParticipant, TestReportSetup, TestReportSetupAction, TestReportSetupActionAssert, TestReportSetupActionOperation, TestReportTeardown, TestReportTeardownAction, TestReportTest, TestReportTestAction } from "./TestReport"; -export { isTestReport } from "./TestReport"; -export type { TestScript, TestScriptDestination, TestScriptFixture, TestScriptMetadata, TestScriptMetadataCapability, TestScriptMetadataLink, TestScriptOrigin, TestScriptSetup, TestScriptSetupAction, TestScriptSetupActionAssert, TestScriptSetupActionOperation, TestScriptSetupActionOperationRequestHeader, TestScriptTeardown, TestScriptTeardownAction, TestScriptTest, TestScriptTestAction, TestScriptVariable } from "./TestScript"; -export { isTestScript } from "./TestScript"; -export type { Timing } from "./Timing"; -export type { TriggerDefinition } from "./TriggerDefinition"; -export type { UsageContext } from "./UsageContext"; -export type { ValueSet, ValueSetCompose, ValueSetComposeInclude, ValueSetComposeIncludeConcept, ValueSetComposeIncludeConceptDesignation, ValueSetComposeIncludeFilter, ValueSetExpansion, ValueSetExpansionContains, ValueSetExpansionParameter } from "./ValueSet"; -export { isValueSet } from "./ValueSet"; -export type { VerificationResult, VerificationResultAttestation, VerificationResultPrimarySource, VerificationResultValidator } from "./VerificationResult"; -export { isVerificationResult } from "./VerificationResult"; -export type { VisionPrescription, VisionPrescriptionLensSpecification, VisionPrescriptionLensSpecificationPrism } from "./VisionPrescription"; -export { isVisionPrescription } from "./VisionPrescription"; 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 deleted file mode 100644 index 77fb6597f..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/ActivityDefinition_Shareable_ActivityDefinition.ts +++ /dev/null @@ -1,138 +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"; - -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/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 deleted file mode 100644 index d0581a36d..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/AuditEvent_EHRS_FM_Record_Lifecycle_Event___Audit_Event.ts +++ /dev/null @@ -1,105 +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"; -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/CodeSystem_Shareable_CodeSystem.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/CodeSystem_Shareable_CodeSystem.ts deleted file mode 100644 index 069c63698..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/CodeSystem_Shareable_CodeSystem.ts +++ /dev/null @@ -1,165 +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"; - -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 deleted file mode 100644 index c40e98da1..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Composition_Clinical_Document.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 { 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/Composition_DocumentSectionLibrary.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Composition_DocumentSectionLibrary.ts deleted file mode 100644 index ea1a6c5de..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Composition_DocumentSectionLibrary.ts +++ /dev/null @@ -1,145 +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 { CompositionSection } from "../../hl7-fhir-r4-examples/Composition"; - -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, 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 { - return this.resource - } - - public setProcedure (input: DocumentSectionLibrary_Section_ProcedureSliceInput): this { - const match = {"code":{"coding":[{"system":"http://loinc.org","code":"29554-3","display":"Procedure Narrative"}]}} as Record - const value = applySliceMatch(input as Record, match) as unknown as CompositionSection - const list = (this.resource.section ??= []) - const index = list.findIndex((item) => matchesSlice(item, match)) - if (index === -1) { - list.push(value) - } else { - list[index] = value - } - return this - } - - public setMedications (input: DocumentSectionLibrary_Section_MedicationsSliceInput): this { - const match = {"code":{"coding":[{"system":"http://loinc.org","code":"29549-3","display":"Medication administered Narrative"}]}} as Record - const value = applySliceMatch(input as Record, match) as unknown as CompositionSection - const list = (this.resource.section ??= []) - const index = list.findIndex((item) => matchesSlice(item, match)) - if (index === -1) { - list.push(value) - } else { - list[index] = value - } - return this - } - - public setPlan (input: DocumentSectionLibrary_Section_PlanSliceInput): this { - const match = {"code":{"coding":[{"system":"http://loinc.org","code":"18776-5","display":"Plan of treatment (narrative)"}]}} as Record - const value = applySliceMatch(input as Record, match) as unknown as CompositionSection - const list = (this.resource.section ??= []) - const index = list.findIndex((item) => matchesSlice(item, match)) - if (index === -1) { - list.push(value) - } else { - list[index] = value - } - return this - } - - public getProcedure (): DocumentSectionLibrary_Section_ProcedureSliceInput | undefined { - const match = {"code":{"coding":[{"system":"http://loinc.org","code":"29554-3","display":"Procedure Narrative"}]}} as Record - const list = this.resource.section - 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 DocumentSectionLibrary_Section_ProcedureSliceInput - } - - public getProcedureRaw (): CompositionSection | undefined { - const match = {"code":{"coding":[{"system":"http://loinc.org","code":"29554-3","display":"Procedure Narrative"}]}} as Record - const list = this.resource.section - if (!list) return undefined - const item = list.find((item) => matchesSlice(item, match)) - return item - } - - public getMedications (): DocumentSectionLibrary_Section_MedicationsSliceInput | undefined { - const match = {"code":{"coding":[{"system":"http://loinc.org","code":"29549-3","display":"Medication administered Narrative"}]}} as Record - const list = this.resource.section - 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 DocumentSectionLibrary_Section_MedicationsSliceInput - } - - public getMedicationsRaw (): CompositionSection | undefined { - const match = {"code":{"coding":[{"system":"http://loinc.org","code":"29549-3","display":"Medication administered Narrative"}]}} as Record - const list = this.resource.section - if (!list) return undefined - const item = list.find((item) => matchesSlice(item, match)) - return item - } - - public getPlan (): DocumentSectionLibrary_Section_PlanSliceInput | undefined { - const match = {"code":{"coding":[{"system":"http://loinc.org","code":"18776-5","display":"Plan of treatment (narrative)"}]}} as Record - const list = this.resource.section - 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 DocumentSectionLibrary_Section_PlanSliceInput - } - - public getPlanRaw (): CompositionSection | undefined { - const match = {"code":{"coding":[{"system":"http://loinc.org","code":"18776-5","display":"Plan of treatment (narrative)"}]}} as Record - const list = this.resource.section - 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 - 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 deleted file mode 100644 index b7b819052..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Composition_DocumentStructure.ts +++ /dev/null @@ -1,50 +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 { 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 deleted file mode 100644 index db5d61571..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Composition_Profile_for_Catalog.ts +++ /dev/null @@ -1,116 +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"; - -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/DiagnosticReport_DiagnosticReport_Genetics.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/DiagnosticReport_DiagnosticReport_Genetics.ts deleted file mode 100644 index 6d15b8e2a..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/DiagnosticReport_DiagnosticReport_Genetics.ts +++ /dev/null @@ -1,151 +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 { DiagnosticReport } from "../../hl7-fhir-r4-examples/DiagnosticReport"; -import type { Extension } from "../../hl7-fhir-r4-examples/Extension"; -import type { Reference } from "../../hl7-fhir-r4-examples/Reference"; - -export type DiagnosticReport_Genetics_AnalysisInput = { - type: CodeableConcept; - interpretation?: CodeableConcept; -} - -export type DiagnosticReport_Genetics_ReferencesInput = { - description?: string; - reference?: string[]; - type?: CodeableConcept; -} - -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 { - return this.resource - } - - public setAssessedCondition (value: Reference): this { - const list = (this.resource.extension ??= []) - 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 } as Extension) - return this - } - - public setAnalysis (input: DiagnosticReport_Genetics_AnalysisInput): this { - const subExtensions: Extension[] = [] - if (input.type !== undefined) { - subExtensions.push({ url: "type", valueCodeableConcept: input.type }) - } - if (input.interpretation !== undefined) { - subExtensions.push({ url: "interpretation", valueCodeableConcept: input.interpretation }) - } - const list = (this.resource.extension ??= []) - list.push({ url: "http://hl7.org/fhir/StructureDefinition/DiagnosticReport-geneticsAnalysis", extension: subExtensions }) - return this - } - - public setReferences (input: DiagnosticReport_Genetics_ReferencesInput): this { - const subExtensions: Extension[] = [] - if (input.description !== undefined) { - subExtensions.push({ url: "description", valueString: input.description }) - } - if (input.reference) { - for (const item of input.reference) { - subExtensions.push({ url: "reference", valueUri: item }) - } - } - if (input.type !== undefined) { - subExtensions.push({ url: "type", valueCodeableConcept: input.type }) - } - const list = (this.resource.extension ??= []) - list.push({ url: "http://hl7.org/fhir/StructureDefinition/DiagnosticReport-geneticsReferences", extension: subExtensions }) - return this - } - - public getAssessedCondition (): Reference | undefined { - const ext = this.resource.extension?.find(e => e.url === "http://hl7.org/fhir/StructureDefinition/DiagnosticReport-geneticsAssessedCondition") - return (ext as Record | undefined)?.valueReference as Reference | undefined - } - - public getAssessedConditionExtension (): Extension | undefined { - const ext = this.resource.extension?.find(e => e.url === "http://hl7.org/fhir/StructureDefinition/DiagnosticReport-geneticsAssessedCondition") - return ext - } - - public getFamilyMemberHistory (): Reference | undefined { - const ext = this.resource.extension?.find(e => e.url === "http://hl7.org/fhir/StructureDefinition/DiagnosticReport-geneticsFamilyMemberHistory") - return (ext as Record | undefined)?.valueReference as Reference | undefined - } - - public getFamilyMemberHistoryExtension (): Extension | undefined { - const ext = this.resource.extension?.find(e => e.url === "http://hl7.org/fhir/StructureDefinition/DiagnosticReport-geneticsFamilyMemberHistory") - return ext - } - - public getAnalysis (): DiagnosticReport_Genetics_AnalysisInput | undefined { - const ext = this.resource.extension?.find(e => e.url === "http://hl7.org/fhir/StructureDefinition/DiagnosticReport-geneticsAnalysis") - if (!ext) return undefined - const config = [{ name: "type", valueField: "valueCodeableConcept", isArray: false }, { name: "interpretation", valueField: "valueCodeableConcept", isArray: false }] - return extractComplexExtension(ext as unknown as { extension?: Array<{ url?: string; [key: string]: unknown }> }, config) as DiagnosticReport_Genetics_AnalysisInput - } - - public getAnalysisExtension (): Extension | undefined { - const ext = this.resource.extension?.find(e => e.url === "http://hl7.org/fhir/StructureDefinition/DiagnosticReport-geneticsAnalysis") - return ext - } - - public getReferences (): DiagnosticReport_Genetics_ReferencesInput | undefined { - const ext = this.resource.extension?.find(e => e.url === "http://hl7.org/fhir/StructureDefinition/DiagnosticReport-geneticsReferences") - if (!ext) return undefined - const config = [{ name: "description", valueField: "valueString", isArray: false }, { name: "reference", valueField: "valueUri", isArray: true }, { name: "type", valueField: "valueCodeableConcept", isArray: false }] - return extractComplexExtension(ext as unknown as { extension?: Array<{ url?: string; [key: string]: unknown }> }, config) as DiagnosticReport_Genetics_ReferencesInput - } - - public getReferencesExtension (): Extension | undefined { - const ext = this.resource.extension?.find(e => e.url === "http://hl7.org/fhir/StructureDefinition/DiagnosticReport-geneticsReferences") - 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 deleted file mode 100644 index be67226ed..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/DiagnosticReport_Example_Lipid_Profile.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 { 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/DiagnosticReport_Profile_for_HLA_Genotyping_Results.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/DiagnosticReport_Profile_for_HLA_Genotyping_Results.ts deleted file mode 100644 index b5f07a410..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/DiagnosticReport_Profile_for_HLA_Genotyping_Results.ts +++ /dev/null @@ -1,148 +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 { DiagnosticReport } from "../../hl7-fhir-r4-examples/DiagnosticReport"; -import type { Extension } from "../../hl7-fhir-r4-examples/Extension"; - -export type Profile_for_HLA_Genotyping_Results_GlstringInput = { - url?: string; - text?: string; -} - -export type Profile_for_HLA_Genotyping_Results_HaploidInput = { - locus?: CodeableConcept; - type?: CodeableConcept; - method?: CodeableConcept; -} - -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 { - return this.resource - } - - 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 } as Extension) - return this - } - - public setGlstring (input: Profile_for_HLA_Genotyping_Results_GlstringInput): this { - const subExtensions: Extension[] = [] - if (input.url !== undefined) { - subExtensions.push({ url: "url", valueUri: input.url }) - } - if (input.text !== undefined) { - subExtensions.push({ url: "text", valueString: input.text }) - } - const list = (this.resource.extension ??= []) - list.push({ url: "http://hl7.org/fhir/StructureDefinition/hla-genotyping-results-glstring", extension: subExtensions }) - return this - } - - public setHaploid (input: Profile_for_HLA_Genotyping_Results_HaploidInput): this { - const subExtensions: Extension[] = [] - if (input.locus !== undefined) { - subExtensions.push({ url: "locus", valueCodeableConcept: input.locus }) - } - if (input.type !== undefined) { - subExtensions.push({ url: "type", valueCodeableConcept: input.type }) - } - if (input.method !== undefined) { - subExtensions.push({ url: "method", valueCodeableConcept: input.method }) - } - const list = (this.resource.extension ??= []) - list.push({ url: "http://hl7.org/fhir/StructureDefinition/hla-genotyping-results-haploid", extension: subExtensions }) - return this - } - - public setMethod (value: CodeableConcept): this { - const list = (this.resource.extension ??= []) - 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 as Record | undefined)?.valueCodeableConcept as CodeableConcept | undefined - } - - public getAlleleDatabaseExtension (): Extension | undefined { - const ext = this.resource.extension?.find(e => e.url === "http://hl7.org/fhir/StructureDefinition/hla-genotyping-results-allele-database") - return ext - } - - public getGlstring (): Profile_for_HLA_Genotyping_Results_GlstringInput | undefined { - const ext = this.resource.extension?.find(e => e.url === "http://hl7.org/fhir/StructureDefinition/hla-genotyping-results-glstring") - if (!ext) return undefined - const config = [{ name: "url", valueField: "valueUri", isArray: false }, { name: "text", valueField: "valueString", isArray: false }] - return extractComplexExtension(ext as unknown as { extension?: Array<{ url?: string; [key: string]: unknown }> }, config) as Profile_for_HLA_Genotyping_Results_GlstringInput - } - - public getGlstringExtension (): Extension | undefined { - const ext = this.resource.extension?.find(e => e.url === "http://hl7.org/fhir/StructureDefinition/hla-genotyping-results-glstring") - return ext - } - - public getHaploid (): Profile_for_HLA_Genotyping_Results_HaploidInput | undefined { - const ext = this.resource.extension?.find(e => e.url === "http://hl7.org/fhir/StructureDefinition/hla-genotyping-results-haploid") - if (!ext) return undefined - const config = [{ name: "locus", valueField: "valueCodeableConcept", isArray: false }, { name: "type", valueField: "valueCodeableConcept", isArray: false }, { name: "method", valueField: "valueCodeableConcept", isArray: false }] - return extractComplexExtension(ext as unknown as { extension?: Array<{ url?: string; [key: string]: unknown }> }, config) as Profile_for_HLA_Genotyping_Results_HaploidInput - } - - public getHaploidExtension (): Extension | undefined { - const ext = this.resource.extension?.find(e => e.url === "http://hl7.org/fhir/StructureDefinition/hla-genotyping-results-haploid") - return ext - } - - public getMethod (): CodeableConcept | undefined { - const ext = this.resource.extension?.find(e => e.url === "http://hl7.org/fhir/StructureDefinition/hla-genotyping-results-method") - return (ext as Record | undefined)?.valueCodeableConcept as CodeableConcept | undefined - } - - public getMethodExtension (): Extension | undefined { - const ext = this.resource.extension?.find(e => e.url === "http://hl7.org/fhir/StructureDefinition/hla-genotyping-results-method") - 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/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 deleted file mode 100644 index 8a6e05dee..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/ElementDefinition_DataElement_constraint_on_ElementDefinition_data_type.ts +++ /dev/null @@ -1,72 +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 { 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/EvidenceVariable_PICO_Element_Profile.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/EvidenceVariable_PICO_Element_Profile.ts deleted file mode 100644 index ddd147811..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/EvidenceVariable_PICO_Element_Profile.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 { 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 deleted file mode 100644 index 17c0b954e..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Evidence_Evidence_Synthesis_Profile.ts +++ /dev/null @@ -1,115 +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"; - -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/Extension_ADXP_additionalLocator.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_ADXP_additionalLocator.ts deleted file mode 100644 index 23b794018..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_ADXP_additionalLocator.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-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 deleted file mode 100644 index 70340976e..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_ADXP_buildingNumberSuffix.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-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 deleted file mode 100644 index 452770adb..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_ADXP_careOf.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-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 deleted file mode 100644 index 688632a98..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_ADXP_censusTract.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-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 deleted file mode 100644 index 74fc253bc..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_ADXP_delimiter.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-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 deleted file mode 100644 index 1f0e573f7..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_ADXP_deliveryAddressLine.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-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 deleted file mode 100644 index 0a920a2a8..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_ADXP_deliveryInstallationArea.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-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 deleted file mode 100644 index 2d19cfc70..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_ADXP_deliveryInstallationQualifier.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-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 deleted file mode 100644 index a75ecab4c..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_ADXP_deliveryInstallationType.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-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 deleted file mode 100644 index b111e80bc..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_ADXP_deliveryMode.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-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 deleted file mode 100644 index a383f9051..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_ADXP_deliveryModeIdentifier.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-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 deleted file mode 100644 index 87a423562..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_ADXP_direction.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-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 deleted file mode 100644 index 057c53ce4..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_ADXP_houseNumber.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-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 deleted file mode 100644 index 017d363b2..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_ADXP_houseNumberNumeric.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-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 deleted file mode 100644 index a14ad3699..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_ADXP_postBox.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-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 deleted file mode 100644 index db15f3e9f..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_ADXP_precinct.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-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 deleted file mode 100644 index ab14265e8..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_ADXP_streetAddressLine.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-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 deleted file mode 100644 index 4d896b6c2..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_ADXP_streetName.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-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 deleted file mode 100644 index 8a4a6f2b1..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_ADXP_streetNameBase.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-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 deleted file mode 100644 index cbe3a0d89..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_ADXP_streetNameType.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-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 deleted file mode 100644 index 24867c913..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_ADXP_unitID.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-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 deleted file mode 100644 index e8fc1e7aa..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_ADXP_unitType.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-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 deleted file mode 100644 index 93a58cea7..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_AD_use.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-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 deleted file mode 100644 index e99eb590a..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_Accession.ts +++ /dev/null @@ -1,74 +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 { 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 deleted file mode 100644 index 642a7f304..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_Allele.ts +++ /dev/null @@ -1,105 +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 { 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 deleted file mode 100644 index 15fb9a705..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_AminoAcidChange.ts +++ /dev/null @@ -1,89 +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 { 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 deleted file mode 100644 index bc578ef7b..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_Analysis.ts +++ /dev/null @@ -1,104 +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 { 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 deleted file mode 100644 index 7aa5c02d8..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_Ancestry.ts +++ /dev/null @@ -1,120 +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 { 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 deleted file mode 100644 index 1a15e2296..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_Anonymized.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-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 deleted file mode 100644 index 49337129b..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_AssessedCondition.ts +++ /dev/null @@ -1,74 +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 { 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 deleted file mode 100644 index 1c7e69aa9..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_BodyStructure_Reference.ts +++ /dev/null @@ -1,74 +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 { 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 deleted file mode 100644 index 974b63f14..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_CopyNumberEvent.ts +++ /dev/null @@ -1,74 +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 { 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 deleted file mode 100644 index d31ba455d..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_DNARegionName.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-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 deleted file mode 100644 index 08b80a070..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_Data_Absent_Reason.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-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 deleted file mode 100644 index e8a4a3629..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_Design_Note.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-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 deleted file mode 100644 index da4e3b12a..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_Display_Name.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-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 deleted file mode 100644 index 31c8be5b9..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_EN_qualifier.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-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 deleted file mode 100644 index 76d855181..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_EN_representation.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-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 deleted file mode 100644 index 47e699b4b..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_EN_use.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-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 deleted file mode 100644 index 26014caa6..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_Encrypted.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-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 deleted file mode 100644 index 7f14d75cb..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_FamilyMemberHistory.ts +++ /dev/null @@ -1,74 +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 { 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 deleted file mode 100644 index f17718274..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_Gene.ts +++ /dev/null @@ -1,74 +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 { 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 deleted file mode 100644 index c0066a96e..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_GenomicSourceClass.ts +++ /dev/null @@ -1,74 +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 { 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 deleted file mode 100644 index 3410c843e..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_Geolocation.ts +++ /dev/null @@ -1,103 +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 { 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 deleted file mode 100644 index 3b4676ee4..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_Human_Language.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-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 deleted file mode 100644 index a488720ce..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_Instance.ts +++ /dev/null @@ -1,74 +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 { 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 deleted file mode 100644 index 6b66a6670..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_Interpretation.ts +++ /dev/null @@ -1,74 +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 { 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 deleted file mode 100644 index 8e5ab182b..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_Item.ts +++ /dev/null @@ -1,137 +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 { 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 deleted file mode 100644 index d801035b4..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_MPPS.ts +++ /dev/null @@ -1,74 +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 { 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 deleted file mode 100644 index 424407629..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_Narrative_Link.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-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 deleted file mode 100644 index eaf0758c0..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_NotificationEndpoint.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-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 deleted file mode 100644 index ebe57033a..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_NumberOfInstances.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-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 deleted file mode 100644 index 06b235a73..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_Ordinal_Value.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-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 deleted file mode 100644 index 3503603a9..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_Original_Text.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-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 deleted file mode 100644 index 5ef512ff7..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_PQ_translation.ts +++ /dev/null @@ -1,74 +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 { 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 deleted file mode 100644 index ec482308b..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_ParticipantObjectContainsStudy.ts +++ /dev/null @@ -1,74 +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 { 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 deleted file mode 100644 index 10595b224..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_PhaseSet.ts +++ /dev/null @@ -1,89 +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 { 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 deleted file mode 100644 index f0824b2d2..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_References.ts +++ /dev/null @@ -1,105 +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 { 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 deleted file mode 100644 index ee36d34ab..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_Relative_Date_Criteria.ts +++ /dev/null @@ -1,121 +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 { 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 deleted file mode 100644 index 71ce388a1..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_Rendered_Value.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-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 deleted file mode 100644 index 3506af79b..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_SC_coding.ts +++ /dev/null @@ -1,74 +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 { 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 deleted file mode 100644 index b0e04b73e..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_SOPClass.ts +++ /dev/null @@ -1,74 +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 { 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 deleted file mode 100644 index d97dc89a9..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_TEL_address.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-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 deleted file mode 100644 index dbe215758..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_Timezone_Code.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-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 deleted file mode 100644 index a04a645d0..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_Timezone_Offset.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-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 deleted file mode 100644 index c654a7b77..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_Transcriber.ts +++ /dev/null @@ -1,74 +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 { 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 deleted file mode 100644 index d98bd4d68..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_Translation.ts +++ /dev/null @@ -1,103 +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 { 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 deleted file mode 100644 index e6a522c3b..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_ValidityPeriod.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-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 deleted file mode 100644 index 0075c88b5..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_Variable.ts +++ /dev/null @@ -1,74 +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 { 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 deleted file mode 100644 index 02001b633..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_Variant.ts +++ /dev/null @@ -1,105 +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 { 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 deleted file mode 100644 index 024560608..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_Witness.ts +++ /dev/null @@ -1,74 +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 { 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 deleted file mode 100644 index eb11d44dc..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_abatement.ts +++ /dev/null @@ -1,87 +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 { 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 deleted file mode 100644 index ed531bad5..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_acceptance.ts +++ /dev/null @@ -1,121 +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 { 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 deleted file mode 100644 index ded3cad92..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_activityStatusDate.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-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 deleted file mode 100644 index af9684822..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_activity_title.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-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 deleted file mode 100644 index 0803ffbf4..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_adaptiveFeedingDevice.ts +++ /dev/null @@ -1,74 +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 { 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 deleted file mode 100644 index 50cfd3cc6..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_addendumOf.ts +++ /dev/null @@ -1,74 +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 { 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 deleted file mode 100644 index ad1729cae..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_administration.ts +++ /dev/null @@ -1,74 +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 { 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 deleted file mode 100644 index 59e2dc940..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_adoptionInfo.ts +++ /dev/null @@ -1,74 +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 { 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 deleted file mode 100644 index 3f46765d6..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_allele_database.ts +++ /dev/null @@ -1,74 +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 { 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 deleted file mode 100644 index 7dae9075b..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_allowedUnits.ts +++ /dev/null @@ -1,78 +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 { 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 deleted file mode 100644 index e665c00cf..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_allowed_type.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-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 deleted file mode 100644 index ec231b935..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_alternate.ts +++ /dev/null @@ -1,104 +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 { 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 deleted file mode 100644 index a63cf8d39..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_ancestor.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-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 deleted file mode 100644 index 3a398a126..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_animal.ts +++ /dev/null @@ -1,120 +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 { 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 deleted file mode 100644 index a386f69ba..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_animalSpecies.ts +++ /dev/null @@ -1,74 +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 { 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 deleted file mode 100644 index 358b2d2af..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_applicable_version.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-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 deleted file mode 100644 index 36c9e279f..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_approachBodyStructure.ts +++ /dev/null @@ -1,74 +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 { 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 deleted file mode 100644 index 767ffda8a..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_approvalDate.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-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 deleted file mode 100644 index bbe58afd3..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_area.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-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 deleted file mode 100644 index d3dbaf1bc..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_assembly_order.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-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 deleted file mode 100644 index 60b6c6926..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_assertedDate.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-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 deleted file mode 100644 index fabbb061a..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_associatedEncounter.ts +++ /dev/null @@ -1,74 +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 { 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 deleted file mode 100644 index 3518f2f65..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_author.ts +++ /dev/null @@ -1,74 +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 { 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 deleted file mode 100644 index 093132ab7..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_authoritativeSource.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-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 deleted file mode 100644 index 47956f462..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_authority.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-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 deleted file mode 100644 index cd532f66d..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_baseType.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-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 deleted file mode 100644 index 41269ab16..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_basedOn.ts +++ /dev/null @@ -1,74 +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 { 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 deleted file mode 100644 index 29c48a292..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_bestpractice.ts +++ /dev/null @@ -1,78 +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 { 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 deleted file mode 100644 index 0e5c46e55..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_bestpractice_explanation.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-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 deleted file mode 100644 index 55e80fb5d..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_bidirectional.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-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 deleted file mode 100644 index 4fbef4f07..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_bindingName.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-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 deleted file mode 100644 index 77d449ede..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_birthPlace.ts +++ /dev/null @@ -1,74 +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 { 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 deleted file mode 100644 index 2df8e13ff..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_birthTime.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-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 deleted file mode 100644 index e466402a1..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_bodyPosition.ts +++ /dev/null @@ -1,74 +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 { 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 deleted file mode 100644 index 5817867fb..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_boundary_geojson.ts +++ /dev/null @@ -1,74 +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-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 deleted file mode 100644 index ae15cdf47..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_cadavericDonor.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-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 deleted file mode 100644 index a015bbd69..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_calculatedValue.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-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 deleted file mode 100644 index 4332015ef..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_candidateList.ts +++ /dev/null @@ -1,74 +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 { 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 deleted file mode 100644 index f2d9b2c49..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_capabilities.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-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 deleted file mode 100644 index c5baca3ee..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_careplan.ts +++ /dev/null @@ -1,74 +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 { 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 deleted file mode 100644 index 370477ccf..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_caseSensitive.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-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 deleted file mode 100644 index cc48ba4e9..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_category.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-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 deleted file mode 100644 index 0d4e4e62b..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_causedBy.ts +++ /dev/null @@ -1,74 +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 { 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 deleted file mode 100644 index 90886f68e..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_cdsHooksEndpoint.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-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 deleted file mode 100644 index 29feb6f73..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_certainty.ts +++ /dev/null @@ -1,74 +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 { 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 deleted file mode 100644 index 245910bde..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_changeBase.ts +++ /dev/null @@ -1,74 +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 { 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 deleted file mode 100644 index 4f8f0be4f..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_choiceOrientation.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-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 deleted file mode 100644 index e4e9524e5..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_citation.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-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 deleted file mode 100644 index f450bd86b..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_citizenship.ts +++ /dev/null @@ -1,90 +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 { 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 deleted file mode 100644 index a25e082ed..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_codegen_super.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-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 deleted file mode 100644 index 584db673c..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_collectionPriority.ts +++ /dev/null @@ -1,74 +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 { 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 deleted file mode 100644 index 0211c8d53..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_completionMode.ts +++ /dev/null @@ -1,74 +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 { 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 deleted file mode 100644 index 6948b4fa9..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_conceptOrder.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-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 deleted file mode 100644 index 9a586cfff..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_concept_comments.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-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 deleted file mode 100644 index 19c28d974..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_concept_definition.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-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 deleted file mode 100644 index 60a379fb0..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_congregation.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-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 deleted file mode 100644 index 9344fa660..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_constraint.ts +++ /dev/null @@ -1,167 +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 { 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 deleted file mode 100644 index c57a8538a..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_country.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-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 deleted file mode 100644 index fda47e3bb..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_dayOfMonth.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-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 deleted file mode 100644 index c76442dba..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_daysOfCycle.ts +++ /dev/null @@ -1,87 +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 { 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 deleted file mode 100644 index 3e5ed5d6e..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_delta.ts +++ /dev/null @@ -1,74 +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 { 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 deleted file mode 100644 index 84a3e8f01..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_dependencies.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-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 deleted file mode 100644 index 3b7412248..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_deprecated.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-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 deleted file mode 100644 index 36d862de8..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_detail.ts +++ /dev/null @@ -1,74 +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 { 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 deleted file mode 100644 index 1153c7338..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_detectedIssue.ts +++ /dev/null @@ -1,74 +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 { 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 deleted file mode 100644 index 686b6bcde..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_deviceCode.ts +++ /dev/null @@ -1,74 +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 { 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 deleted file mode 100644 index 73073acb1..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_directedBy.ts +++ /dev/null @@ -1,79 +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 { 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 deleted file mode 100644 index b8f733ee6..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_disability.ts +++ /dev/null @@ -1,74 +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 { 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 deleted file mode 100644 index ba7951883..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_displayCategory.ts +++ /dev/null @@ -1,74 +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 { 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 deleted file mode 100644 index fa5d5e0f6..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_display_hint.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-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 deleted file mode 100644 index e0a3177aa..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_doNotPerform.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-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 deleted file mode 100644 index f6cf6c24c..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_dueTo.ts +++ /dev/null @@ -1,79 +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 { 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 deleted file mode 100644 index 0b7e3939d..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_duration.ts +++ /dev/null @@ -1,74 +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 { 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 deleted file mode 100644 index 4f81aa6ba..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_effectiveDate.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-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 deleted file mode 100644 index 889549a30..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_effectivePeriod.ts +++ /dev/null @@ -1,74 +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 { 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 deleted file mode 100644 index db5196e08..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_encounterClass.ts +++ /dev/null @@ -1,74 +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 { 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 deleted file mode 100644 index 2eb39a148..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_encounterType.ts +++ /dev/null @@ -1,74 +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 { 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 deleted file mode 100644 index f8486f8f5..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_entryFormat.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-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 deleted file mode 100644 index 0624716c8..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_episodeOfCare.ts +++ /dev/null @@ -1,74 +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 { 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 deleted file mode 100644 index d4a05a050..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_equivalence.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-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 deleted file mode 100644 index c60d7d917..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_eventHistory.ts +++ /dev/null @@ -1,74 +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 { 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 deleted file mode 100644 index 22438adeb..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_exact.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-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 deleted file mode 100644 index 1a0457acd..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_expand_group.ts +++ /dev/null @@ -1,104 +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 { 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 deleted file mode 100644 index 7ac8fc7e1..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_expand_rules.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-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 deleted file mode 100644 index 188e9a3bd..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_expansionSource.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-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 deleted file mode 100644 index e574e532c..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_expectation.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-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 deleted file mode 100644 index cc4eb3a4a..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_expirationDate.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-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 deleted file mode 100644 index bdbfdce0d..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_explicit_type_name.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-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 deleted file mode 100644 index 497456658..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_exposureDate.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-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 deleted file mode 100644 index d320c7989..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_exposureDescription.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-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 deleted file mode 100644 index bf58c6df6..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_exposureDuration.ts +++ /dev/null @@ -1,74 +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 { 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 deleted file mode 100644 index 997e0b256..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_expression.ts +++ /dev/null @@ -1,74 +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 { 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 deleted file mode 100644 index 996e8b1f4..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_extends.ts +++ /dev/null @@ -1,74 +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 { 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 deleted file mode 100644 index 1c928dbf5..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_extensible.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-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 deleted file mode 100644 index 7e25199a9..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_extension.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-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 deleted file mode 100644 index 43cf0d557..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_fathers_family.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-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 deleted file mode 100644 index ff0720b1c..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_fhirType.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-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 deleted file mode 100644 index eb9a75bc4..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_fhir_type.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-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 deleted file mode 100644 index 8b0442d2f..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_fmm.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-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 deleted file mode 100644 index 1285d0c7c..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_fmm_no_warnings.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-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 deleted file mode 100644 index e26a8da74..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_focusCode.ts +++ /dev/null @@ -1,74 +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 { 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 deleted file mode 100644 index 9539bcf9a..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_fullUrl.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-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 deleted file mode 100644 index d35ce4e99..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_gatewayDevice.ts +++ /dev/null @@ -1,74 +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 { 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 deleted file mode 100644 index 954ac7243..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_genderIdentity.ts +++ /dev/null @@ -1,74 +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 { 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 deleted file mode 100644 index 1a8583b55..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_glstring.ts +++ /dev/null @@ -1,79 +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 { 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 deleted file mode 100644 index 137338fe9..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_group.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-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 deleted file mode 100644 index 77e5155bf..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_haploid.ts +++ /dev/null @@ -1,105 +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 { 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 deleted file mode 100644 index 182b8b40b..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_hidden.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-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 deleted file mode 100644 index ac140692d..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_hierarchy.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-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 deleted file mode 100644 index c28983a15..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_history.ts +++ /dev/null @@ -1,82 +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 { 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 deleted file mode 100644 index 28855bbb1..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_http_response_header.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-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 deleted file mode 100644 index aafbd0dbf..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_identifier.ts +++ /dev/null @@ -1,74 +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 { 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 deleted file mode 100644 index 7a0c1bbf8..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_implantStatus.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-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 deleted file mode 100644 index 6fdec9c2e..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_importance.ts +++ /dev/null @@ -1,74 +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 { 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 deleted file mode 100644 index b4a1d2ffd..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_incisionDateTime.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-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 deleted file mode 100644 index b4519ccfb..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_inheritedExtensibleValueSet.ts +++ /dev/null @@ -1,77 +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 { 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 deleted file mode 100644 index 509c9d189..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_initialValue.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-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 deleted file mode 100644 index 17e63395c..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_initiatingLocation.ts +++ /dev/null @@ -1,74 +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 { 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 deleted file mode 100644 index f245c15c0..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_initiatingOrganization.ts +++ /dev/null @@ -1,74 +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 { 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 deleted file mode 100644 index 656fab330..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_initiatingPerson.ts +++ /dev/null @@ -1,74 +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 { 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 deleted file mode 100644 index 7cbbac088..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_instantiatesCanonical.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-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 deleted file mode 100644 index 02ed54773..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_instantiatesUri.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-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 deleted file mode 100644 index c970da0be..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_insurance.ts +++ /dev/null @@ -1,74 +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 { 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 deleted file mode 100644 index 32bc2ebeb..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_interpreterRequired.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-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 deleted file mode 100644 index d3ebb2b05..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_isCommonBinding.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-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 deleted file mode 100644 index 481aebfd0..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_isDryWeight.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-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 deleted file mode 100644 index 19d7bbf7f..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_issue_source.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-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 deleted file mode 100644 index c60579704..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_itemControl.ts +++ /dev/null @@ -1,74 +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 { 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 deleted file mode 100644 index fea117921..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_keyWord.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-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 deleted file mode 100644 index 6815972e2..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_label.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-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 deleted file mode 100644 index a0e407b4b..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_lastReviewDate.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-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 deleted file mode 100644 index 9a7e6a284..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_library.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-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 deleted file mode 100644 index 317d59590..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_local.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-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 deleted file mode 100644 index ce8fbe908..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_location.ts +++ /dev/null @@ -1,74 +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 { 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 deleted file mode 100644 index 9a3c3b0b8..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_locationPerformed.ts +++ /dev/null @@ -1,74 +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 { 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 deleted file mode 100644 index 070639a3a..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_location_distance.ts +++ /dev/null @@ -1,74 +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 { 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 deleted file mode 100644 index c496051fe..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_management.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-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 deleted file mode 100644 index a77564130..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_map.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-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 deleted file mode 100644 index 31fe5c031..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_markdown.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-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 deleted file mode 100644 index edb3d4daf..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_match_grade.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-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 deleted file mode 100644 index d2724c103..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_maxDecimalPlaces.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-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 deleted file mode 100644 index fd1375469..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_maxOccurs.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-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 deleted file mode 100644 index b5fb0af01..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_maxSize.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-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 deleted file mode 100644 index f2830df23..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_maxValue.ts +++ /dev/null @@ -1,113 +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 { 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 deleted file mode 100644 index df4dcfb5e..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_maxValueSet.ts +++ /dev/null @@ -1,77 +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 { 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 deleted file mode 100644 index ec38ff71c..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_measureInfo.ts +++ /dev/null @@ -1,104 +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 { 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 deleted file mode 100644 index 9f01aa866..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_media.ts +++ /dev/null @@ -1,74 +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-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 deleted file mode 100644 index 3c07b924d..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_messageheader_response_request.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-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 deleted file mode 100644 index d76455c11..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_method.ts +++ /dev/null @@ -1,74 +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 { 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 deleted file mode 100644 index db6a39a51..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_mimeType.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-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 deleted file mode 100644 index 00b3c8148..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_minLength.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-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 deleted file mode 100644 index bdc525110..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_minOccurs.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-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 deleted file mode 100644 index 9ba985c73..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_minValue.ts +++ /dev/null @@ -1,104 +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 { 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 deleted file mode 100644 index 819e37259..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_minValueSet.ts +++ /dev/null @@ -1,77 +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 { 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 deleted file mode 100644 index f8a0d0ac0..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_modeOfArrival.ts +++ /dev/null @@ -1,74 +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 { 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 deleted file mode 100644 index 67e1ef235..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_mothersMaidenName.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-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 deleted file mode 100644 index a34d8e808..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_mothers_family.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-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 deleted file mode 100644 index 2510aefb9..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_namespace.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-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 deleted file mode 100644 index 933f1f1b9..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_nationality.ts +++ /dev/null @@ -1,90 +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 { 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 deleted file mode 100644 index 530427e1f..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_normative_version.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-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 deleted file mode 100644 index d2a153a9d..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_nullFlavor.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-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 deleted file mode 100644 index 4d2b1204f..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_oauth_uris.ts +++ /dev/null @@ -1,135 +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 { 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 deleted file mode 100644 index 9f9adbe7f..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_objectClass.ts +++ /dev/null @@ -1,74 +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 { 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 deleted file mode 100644 index 840e2aebd..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_objectClassProperty.ts +++ /dev/null @@ -1,74 +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 { 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 deleted file mode 100644 index 4ea2e4f1b..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_observation.ts +++ /dev/null @@ -1,74 +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 { 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 deleted file mode 100644 index ec30d68b0..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_occurredFollowing.ts +++ /dev/null @@ -1,79 +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 { 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 deleted file mode 100644 index cb45dfe8a..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_optionExclusive.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-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 deleted file mode 100644 index 4e4630e2e..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_optionPrefix.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-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 deleted file mode 100644 index 76e5a9d09..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_otherConfidentiality.ts +++ /dev/null @@ -1,74 +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 { 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 deleted file mode 100644 index 685cac129..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_otherName.ts +++ /dev/null @@ -1,103 +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 { 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 deleted file mode 100644 index 34734cb2e..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_outcome.ts +++ /dev/null @@ -1,74 +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 { 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 deleted file mode 100644 index eb944a940..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_own_name.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-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 deleted file mode 100644 index 135405544..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_own_prefix.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-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 deleted file mode 100644 index c67557b68..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_parameterSource.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-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 deleted file mode 100644 index 3aa29ed11..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_parent.ts +++ /dev/null @@ -1,105 +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 { 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 deleted file mode 100644 index 3a9142539..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_partOf.ts +++ /dev/null @@ -1,74 +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 { 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 deleted file mode 100644 index 06991cac4..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_partner_name.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-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 deleted file mode 100644 index 7b6a13ae9..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_partner_prefix.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-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 deleted file mode 100644 index 84084e05c..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_patientInstruction.ts +++ /dev/null @@ -1,103 +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 { 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 deleted file mode 100644 index 27ec3b8ae..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_patient_record.ts +++ /dev/null @@ -1,74 +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 { 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 deleted file mode 100644 index 877776996..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_performerFunction.ts +++ /dev/null @@ -1,74 +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 { 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 deleted file mode 100644 index c7faedff5..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_performerOrder.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-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 deleted file mode 100644 index eec1b28be..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_period.ts +++ /dev/null @@ -1,74 +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 { 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 deleted file mode 100644 index 12aecbcff..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_permitted_value_conceptmap.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-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 deleted file mode 100644 index 1c5c6b0ec..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_permitted_value_valueset.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-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 deleted file mode 100644 index 21ac52dac..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_pertainsToGoal.ts +++ /dev/null @@ -1,74 +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 { 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 deleted file mode 100644 index 4ebbfdd26..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_precision.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-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 deleted file mode 100644 index 8bb6535ab..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_precondition.ts +++ /dev/null @@ -1,74 +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 { 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 deleted file mode 100644 index 8bdf6a412..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_preferenceType.ts +++ /dev/null @@ -1,74 +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 { 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 deleted file mode 100644 index 81d00c89e..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_preferred.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-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 deleted file mode 100644 index 05365621f..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_preferredContact.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-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 deleted file mode 100644 index e637aa6a0..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_primaryInd.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-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 deleted file mode 100644 index dc164e0d8..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_priority.ts +++ /dev/null @@ -1,74 +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 { 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 deleted file mode 100644 index d17532989..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_processingTime.ts +++ /dev/null @@ -1,79 +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 { 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 deleted file mode 100644 index e77414fc6..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_proficiency.ts +++ /dev/null @@ -1,89 +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 { 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 deleted file mode 100644 index 1871405f6..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_profile.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-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 deleted file mode 100644 index 53d202cc9..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_profile_element.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-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 deleted file mode 100644 index 9d6db57ae..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_progressStatus.ts +++ /dev/null @@ -1,74 +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 { 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 deleted file mode 100644 index f5e6c04b8..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_prohibited.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-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 deleted file mode 100644 index 147cc6eee..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_qualityOfEvidence.ts +++ /dev/null @@ -1,74 +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 { 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 deleted file mode 100644 index 2e1b9ccc0..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_question.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-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 deleted file mode 100644 index f8978f918..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_questionnaireRequest.ts +++ /dev/null @@ -1,74 +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 { 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 deleted file mode 100644 index 483abed95..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_reagent.ts +++ /dev/null @@ -1,74 +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 { 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 deleted file mode 100644 index fd4fcaf4b..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_reason.ts +++ /dev/null @@ -1,74 +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 { 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 deleted file mode 100644 index eeeda0232..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_reasonCancelled.ts +++ /dev/null @@ -1,74 +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 { 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 deleted file mode 100644 index 42b5575a2..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_reasonCode.ts +++ /dev/null @@ -1,74 +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 { 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 deleted file mode 100644 index 8a4c5bd7a..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_reasonReference.ts +++ /dev/null @@ -1,74 +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 { 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 deleted file mode 100644 index 9a3274e44..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_reasonRefuted.ts +++ /dev/null @@ -1,74 +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 { 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 deleted file mode 100644 index 59bf25fbd..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_reasonRejected.ts +++ /dev/null @@ -1,74 +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 { 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 deleted file mode 100644 index 9cf01182e..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_receivingOrganization.ts +++ /dev/null @@ -1,74 +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 { 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 deleted file mode 100644 index a176749cf..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_receivingPerson.ts +++ /dev/null @@ -1,74 +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 { 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 deleted file mode 100644 index a4f35281b..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_recipientLanguage.ts +++ /dev/null @@ -1,74 +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 { 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 deleted file mode 100644 index b64033b37..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_recipientType.ts +++ /dev/null @@ -1,74 +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 { 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 deleted file mode 100644 index 4bd586712..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_reference.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-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 deleted file mode 100644 index 4a6d2fe52..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_referenceFilter.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-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 deleted file mode 100644 index cce740cec..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_referenceProfile.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-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 deleted file mode 100644 index 63fcb33bf..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_referenceResource.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-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 deleted file mode 100644 index 2eb02121c..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_regex.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-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 deleted file mode 100644 index 94f5ddb65..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_related.ts +++ /dev/null @@ -1,74 +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 { 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 deleted file mode 100644 index f02dcaa67..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_relatedArtifact.ts +++ /dev/null @@ -1,74 +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 { 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 deleted file mode 100644 index 24136898e..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_relatedPerson.ts +++ /dev/null @@ -1,74 +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 { 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 deleted file mode 100644 index 8b4bf5f2b..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_relationship.ts +++ /dev/null @@ -1,105 +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 { 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 deleted file mode 100644 index fbe6fa003..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_relativeDateTime.ts +++ /dev/null @@ -1,137 +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 { 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 deleted file mode 100644 index 136c8ba55..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_relevantHistory.ts +++ /dev/null @@ -1,74 +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 { 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 deleted file mode 100644 index ce6098402..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_religion.ts +++ /dev/null @@ -1,74 +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 { 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 deleted file mode 100644 index 124b3964d..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_replacedby.ts +++ /dev/null @@ -1,74 +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 { 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 deleted file mode 100644 index 53a7e3a91..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_replaces.ts +++ /dev/null @@ -1,74 +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 { 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 deleted file mode 100644 index e7ecb7d42..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_researchStudy.ts +++ /dev/null @@ -1,74 +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 { 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 deleted file mode 100644 index aba0a4439..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_resolutionAge.ts +++ /dev/null @@ -1,74 +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 { 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 deleted file mode 100644 index 3e13f6eb8..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_reviewer.ts +++ /dev/null @@ -1,74 +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 { 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 deleted file mode 100644 index 952823d4c..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_risk.ts +++ /dev/null @@ -1,74 +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 { 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 deleted file mode 100644 index ae4cf1cb3..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_ruledOut.ts +++ /dev/null @@ -1,74 +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 { 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 deleted file mode 100644 index 2eeea445d..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_rules_text.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-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 deleted file mode 100644 index 37310f3cc..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_schedule.ts +++ /dev/null @@ -1,74 +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 { 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 deleted file mode 100644 index cfc05f887..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_sctdescid.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-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 deleted file mode 100644 index acea4c9ee..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_search_parameter_combination.ts +++ /dev/null @@ -1,103 +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 { 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 deleted file mode 100644 index ed20a0835..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_secondaryFinding.ts +++ /dev/null @@ -1,74 +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 { 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 deleted file mode 100644 index 2bf6bbc3b..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_section_subject.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-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 deleted file mode 100644 index d82f53604..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_security_category.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-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 deleted file mode 100644 index e25cdae77..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_selector.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-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 deleted file mode 100644 index 187f5bb92..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_sequelTo.ts +++ /dev/null @@ -1,74 +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 { 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 deleted file mode 100644 index 3f75178ca..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_sequenceNumber.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-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 deleted file mode 100644 index a25289c0b..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_severity.ts +++ /dev/null @@ -1,74 +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 { 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 deleted file mode 100644 index 0d2be07a1..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_sibling.ts +++ /dev/null @@ -1,105 +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 { 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 deleted file mode 100644 index 1229ebd3f..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_signature.ts +++ /dev/null @@ -1,74 +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 { 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 deleted file mode 100644 index 586a8f264..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_signatureRequired.ts +++ /dev/null @@ -1,74 +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 { 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 deleted file mode 100644 index 5b1964e9d..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_sliderStepValue.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-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 deleted file mode 100644 index 670ddc3e3..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_sourceReference.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-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 deleted file mode 100644 index 031c74cf3..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_specialHandling.ts +++ /dev/null @@ -1,74 +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 { 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 deleted file mode 100644 index cd468f75f..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_special_status.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-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 deleted file mode 100644 index 5bb5c4f35..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_specimenCode.ts +++ /dev/null @@ -1,74 +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 { 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 deleted file mode 100644 index 00d833169..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_standards_status.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-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 deleted file mode 100644 index 968baa7be..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_statusReason.ts +++ /dev/null @@ -1,74 +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 { 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 deleted file mode 100644 index 59f655a56..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_steward.ts +++ /dev/null @@ -1,74 +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 { 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 deleted file mode 100644 index aea6ccf67..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_strengthOfRecommendation.ts +++ /dev/null @@ -1,74 +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 { 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 deleted file mode 100644 index 64a70d718..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_style.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-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 deleted file mode 100644 index 133081457..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_styleSensitive.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-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 deleted file mode 100644 index 398fb9fb3..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_substanceExposureRisk.ts +++ /dev/null @@ -1,104 +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 { 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 deleted file mode 100644 index 416cfadcf..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_summary.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-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 deleted file mode 100644 index c3e1da7ce..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_summaryOf.ts +++ /dev/null @@ -1,74 +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 { 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 deleted file mode 100644 index 93f01c983..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_supplement.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-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 deleted file mode 100644 index 459300e15..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_supportLink.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-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 deleted file mode 100644 index 7b940637f..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_supported_system.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-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 deleted file mode 100644 index 2f3f3f987..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_supportingInfo.ts +++ /dev/null @@ -1,74 +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 { 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 deleted file mode 100644 index 3d2cebbf3..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_system.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-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 deleted file mode 100644 index 9babf3504..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_systemName.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-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 deleted file mode 100644 index fbc9b19c4..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_systemRef.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-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 deleted file mode 100644 index fe849e555..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_systemUserLanguage.ts +++ /dev/null @@ -1,74 +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 { 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 deleted file mode 100644 index c62f77a5c..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_systemUserTaskContext.ts +++ /dev/null @@ -1,74 +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 { 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 deleted file mode 100644 index 42957f5ef..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_systemUserType.ts +++ /dev/null @@ -1,74 +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 { 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 deleted file mode 100644 index 13435a1b6..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_table_name.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-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 deleted file mode 100644 index 3868c9dd9..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_targetBodyStructure.ts +++ /dev/null @@ -1,74 +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 { 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 deleted file mode 100644 index 50bbcc0e8..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_template_status.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-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 deleted file mode 100644 index 117ccf557..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_test.ts +++ /dev/null @@ -1,74 +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 { 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 deleted file mode 100644 index 0495f51df..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_timeOffset.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-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 deleted file mode 100644 index 2078d02da..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_toocostly.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-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 deleted file mode 100644 index 3830637d8..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_translatable.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-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 deleted file mode 100644 index 3ee7365f8..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_trusted_expansion.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-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 deleted file mode 100644 index 41239538a..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_type.ts +++ /dev/null @@ -1,74 +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 { 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 deleted file mode 100644 index aa722f35f..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_uncertainty.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-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 deleted file mode 100644 index 91aa12a41..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_uncertaintyType.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-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 deleted file mode 100644 index 95d1e6892..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_unclosed.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-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 deleted file mode 100644 index 23a58ecee..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_unit.ts +++ /dev/null @@ -1,74 +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 { 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 deleted file mode 100644 index 7dca7f260..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_unitOption.ts +++ /dev/null @@ -1,74 +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 { 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 deleted file mode 100644 index fca75d46b..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_unitValueSet.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-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 deleted file mode 100644 index 885b20b5b..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_usage.ts +++ /dev/null @@ -1,103 +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 { 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 deleted file mode 100644 index e8c4a5ff7..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_usageMode.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-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 deleted file mode 100644 index 925f9c0f7..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_validDate.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-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 deleted file mode 100644 index 7d44de3e3..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_versionNumber.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-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 deleted file mode 100644 index 0d4f39446..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_warning.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-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 deleted file mode 100644 index 6c106dcb0..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_websocket.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-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 deleted file mode 100644 index 830260ec2..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_wg.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-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 deleted file mode 100644 index 1fcc939e3..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_workflowStatus.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-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 deleted file mode 100644 index 621511018..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_xhtml.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-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 deleted file mode 100644 index 34a4747d1..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Extension_xml_no_order.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-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/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 deleted file mode 100644 index 7f9d65aab..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/FamilyMemberHistory_Family_member_history_for_genetics_analysis.ts +++ /dev/null @@ -1,246 +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 { 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/Group_Actual_Group.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Group_Actual_Group.ts deleted file mode 100644 index 1030fb816..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Group_Actual_Group.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 { 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 deleted file mode 100644 index 21220ca2b..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Group_Group_Definition.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 { 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 deleted file mode 100644 index 300526dec..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/GuidanceResponse_CDS_Hooks_GuidanceResponse.ts +++ /dev/null @@ -1,117 +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"; - -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 deleted file mode 100644 index 5ca3f6c17..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Library_CQL_Library.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 { 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 deleted file mode 100644 index 94f3ebaf5..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Library_Shareable_Library.ts +++ /dev/null @@ -1,138 +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"; - -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 deleted file mode 100644 index 55996ef38..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Measure_Shareable_Measure.ts +++ /dev/null @@ -1,138 +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"; - -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/Observation_Device_Metric_Observation_Profile.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Observation_Device_Metric_Observation_Profile.ts deleted file mode 100644 index bd334236f..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Observation_Device_Metric_Observation_Profile.ts +++ /dev/null @@ -1,217 +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 { 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 deleted file mode 100644 index 1cc64b874..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Observation_Example_Lipid_Profile.ts +++ /dev/null @@ -1,100 +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 { 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/Observation_Observation_genetics.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Observation_Observation_genetics.ts deleted file mode 100644 index 0093da6b2..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Observation_Observation_genetics.ts +++ /dev/null @@ -1,297 +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 { Observation } from "../../hl7-fhir-r4-examples/Observation"; -import type { Reference } from "../../hl7-fhir-r4-examples/Reference"; - -export type Observation_genetics_VariantInput = { - Name?: CodeableConcept; - Id?: CodeableConcept; - Type?: CodeableConcept; -} - -export type Observation_genetics_AminoAcidChangeInput = { - Name?: CodeableConcept; - Type?: CodeableConcept; -} - -export type Observation_genetics_AlleleInput = { - Name?: CodeableConcept; - State?: CodeableConcept; - Frequency?: number; -} - -export type Observation_genetics_AncestryInput = { - Name: CodeableConcept; - Percentage?: number; - Source?: CodeableConcept; -} - -export type Observation_genetics_PhaseSetInput = { - Id?: string; - MolecularSequence: Reference[]; -} - -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 { - return this.resource - } - - public setGene (value: CodeableConcept): this { - const list = (this.resource.extension ??= []) - 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 } 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 } 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 } 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 } as Extension) - return this - } - - public setVariant (input: Observation_genetics_VariantInput): this { - const subExtensions: Extension[] = [] - if (input.Name !== undefined) { - subExtensions.push({ url: "Name", valueCodeableConcept: input.Name }) - } - if (input.Id !== undefined) { - subExtensions.push({ url: "Id", valueCodeableConcept: input.Id }) - } - if (input.Type !== undefined) { - subExtensions.push({ url: "Type", valueCodeableConcept: input.Type }) - } - const list = (this.resource.extension ??= []) - list.push({ url: "http://hl7.org/fhir/StructureDefinition/observation-geneticsVariant", extension: subExtensions }) - return this - } - - public setAminoAcidChange (input: Observation_genetics_AminoAcidChangeInput): this { - const subExtensions: Extension[] = [] - if (input.Name !== undefined) { - subExtensions.push({ url: "Name", valueCodeableConcept: input.Name }) - } - if (input.Type !== undefined) { - subExtensions.push({ url: "Type", valueCodeableConcept: input.Type }) - } - const list = (this.resource.extension ??= []) - list.push({ url: "http://hl7.org/fhir/StructureDefinition/observation-geneticsAminoAcidChange", extension: subExtensions }) - return this - } - - public setAllele (input: Observation_genetics_AlleleInput): this { - const subExtensions: Extension[] = [] - if (input.Name !== undefined) { - subExtensions.push({ url: "Name", valueCodeableConcept: input.Name }) - } - if (input.State !== undefined) { - subExtensions.push({ url: "State", valueCodeableConcept: input.State }) - } - if (input.Frequency !== undefined) { - subExtensions.push({ url: "Frequency", valueDecimal: input.Frequency }) - } - const list = (this.resource.extension ??= []) - list.push({ url: "http://hl7.org/fhir/StructureDefinition/observation-geneticsAllele", extension: subExtensions }) - return this - } - - public setAncestry (input: Observation_genetics_AncestryInput): this { - const subExtensions: Extension[] = [] - if (input.Name !== undefined) { - subExtensions.push({ url: "Name", valueCodeableConcept: input.Name }) - } - if (input.Percentage !== undefined) { - subExtensions.push({ url: "Percentage", valueDecimal: input.Percentage }) - } - if (input.Source !== undefined) { - subExtensions.push({ url: "Source", valueCodeableConcept: input.Source }) - } - const list = (this.resource.extension ??= []) - list.push({ url: "http://hl7.org/fhir/StructureDefinition/observation-geneticsAncestry", extension: subExtensions }) - return this - } - - public setPhaseSet (input: Observation_genetics_PhaseSetInput): this { - const subExtensions: Extension[] = [] - if (input.Id !== undefined) { - subExtensions.push({ url: "Id", valueUri: input.Id }) - } - if (input.MolecularSequence) { - for (const item of input.MolecularSequence) { - subExtensions.push({ url: "MolecularSequence", valueReference: item }) - } - } - const list = (this.resource.extension ??= []) - list.push({ url: "http://hl7.org/fhir/StructureDefinition/observation-geneticsPhaseSet", extension: subExtensions }) - return this - } - - public getGene (): CodeableConcept | undefined { - const ext = this.resource.extension?.find(e => e.url === "http://hl7.org/fhir/StructureDefinition/observation-geneticsGene") - return (ext as Record | undefined)?.valueCodeableConcept as CodeableConcept | undefined - } - - public getGeneExtension (): Extension | undefined { - const ext = this.resource.extension?.find(e => e.url === "http://hl7.org/fhir/StructureDefinition/observation-geneticsGene") - return ext - } - - public getDnaregionName (): string | undefined { - const ext = this.resource.extension?.find(e => e.url === "http://hl7.org/fhir/StructureDefinition/observation-geneticsDNARegionName") - return (ext as Record | undefined)?.valueString as string | undefined - } - - public getDnaregionNameExtension (): Extension | undefined { - const ext = this.resource.extension?.find(e => e.url === "http://hl7.org/fhir/StructureDefinition/observation-geneticsDNARegionName") - return ext - } - - public getCopyNumberEvent (): CodeableConcept | undefined { - const ext = this.resource.extension?.find(e => e.url === "http://hl7.org/fhir/StructureDefinition/observation-geneticsCopyNumberEvent") - return (ext as Record | undefined)?.valueCodeableConcept as CodeableConcept | undefined - } - - public getCopyNumberEventExtension (): Extension | undefined { - const ext = this.resource.extension?.find(e => e.url === "http://hl7.org/fhir/StructureDefinition/observation-geneticsCopyNumberEvent") - return ext - } - - public getGenomicSourceClass (): CodeableConcept | undefined { - const ext = this.resource.extension?.find(e => e.url === "http://hl7.org/fhir/StructureDefinition/observation-geneticsGenomicSourceClass") - return (ext as Record | undefined)?.valueCodeableConcept as CodeableConcept | undefined - } - - public getGenomicSourceClassExtension (): Extension | undefined { - const ext = this.resource.extension?.find(e => e.url === "http://hl7.org/fhir/StructureDefinition/observation-geneticsGenomicSourceClass") - return ext - } - - public getInterpretation (): Reference | undefined { - const ext = this.resource.extension?.find(e => e.url === "http://hl7.org/fhir/StructureDefinition/observation-geneticsInterpretation") - return (ext as Record | undefined)?.valueReference as Reference | undefined - } - - public getInterpretationExtension (): Extension | undefined { - const ext = this.resource.extension?.find(e => e.url === "http://hl7.org/fhir/StructureDefinition/observation-geneticsInterpretation") - return ext - } - - public getVariant (): Observation_genetics_VariantInput | undefined { - const ext = this.resource.extension?.find(e => e.url === "http://hl7.org/fhir/StructureDefinition/observation-geneticsVariant") - if (!ext) return undefined - const config = [{ name: "Name", valueField: "valueCodeableConcept", isArray: false }, { name: "Id", valueField: "valueCodeableConcept", isArray: false }, { name: "Type", valueField: "valueCodeableConcept", isArray: false }] - return extractComplexExtension(ext as unknown as { extension?: Array<{ url?: string; [key: string]: unknown }> }, config) as Observation_genetics_VariantInput - } - - public getVariantExtension (): Extension | undefined { - const ext = this.resource.extension?.find(e => e.url === "http://hl7.org/fhir/StructureDefinition/observation-geneticsVariant") - return ext - } - - public getAminoAcidChange (): Observation_genetics_AminoAcidChangeInput | undefined { - const ext = this.resource.extension?.find(e => e.url === "http://hl7.org/fhir/StructureDefinition/observation-geneticsAminoAcidChange") - if (!ext) return undefined - const config = [{ name: "Name", valueField: "valueCodeableConcept", isArray: false }, { name: "Type", valueField: "valueCodeableConcept", isArray: false }] - return extractComplexExtension(ext as unknown as { extension?: Array<{ url?: string; [key: string]: unknown }> }, config) as Observation_genetics_AminoAcidChangeInput - } - - public getAminoAcidChangeExtension (): Extension | undefined { - const ext = this.resource.extension?.find(e => e.url === "http://hl7.org/fhir/StructureDefinition/observation-geneticsAminoAcidChange") - return ext - } - - public getAllele (): Observation_genetics_AlleleInput | undefined { - const ext = this.resource.extension?.find(e => e.url === "http://hl7.org/fhir/StructureDefinition/observation-geneticsAllele") - if (!ext) return undefined - const config = [{ name: "Name", valueField: "valueCodeableConcept", isArray: false }, { name: "State", valueField: "valueCodeableConcept", isArray: false }, { name: "Frequency", valueField: "valueDecimal", isArray: false }] - return extractComplexExtension(ext as unknown as { extension?: Array<{ url?: string; [key: string]: unknown }> }, config) as Observation_genetics_AlleleInput - } - - public getAlleleExtension (): Extension | undefined { - const ext = this.resource.extension?.find(e => e.url === "http://hl7.org/fhir/StructureDefinition/observation-geneticsAllele") - return ext - } - - public getAncestry (): Observation_genetics_AncestryInput | undefined { - const ext = this.resource.extension?.find(e => e.url === "http://hl7.org/fhir/StructureDefinition/observation-geneticsAncestry") - if (!ext) return undefined - const config = [{ name: "Name", valueField: "valueCodeableConcept", isArray: false }, { name: "Percentage", valueField: "valueDecimal", isArray: false }, { name: "Source", valueField: "valueCodeableConcept", isArray: false }] - return extractComplexExtension(ext as unknown as { extension?: Array<{ url?: string; [key: string]: unknown }> }, config) as Observation_genetics_AncestryInput - } - - public getAncestryExtension (): Extension | undefined { - const ext = this.resource.extension?.find(e => e.url === "http://hl7.org/fhir/StructureDefinition/observation-geneticsAncestry") - return ext - } - - public getPhaseSet (): Observation_genetics_PhaseSetInput | undefined { - const ext = this.resource.extension?.find(e => e.url === "http://hl7.org/fhir/StructureDefinition/observation-geneticsPhaseSet") - if (!ext) return undefined - const config = [{ name: "Id", valueField: "valueUri", isArray: false }, { name: "MolecularSequence", valueField: "valueReference", isArray: true }] - return extractComplexExtension(ext as unknown as { extension?: Array<{ url?: string; [key: string]: unknown }> }, config) as Observation_genetics_PhaseSetInput - } - - public getPhaseSetExtension (): Extension | undefined { - const ext = this.resource.extension?.find(e => e.url === "http://hl7.org/fhir/StructureDefinition/observation-geneticsPhaseSet") - 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 deleted file mode 100644 index 917528ce1..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Observation_observation_bmi.ts +++ /dev/null @@ -1,185 +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 { 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 deleted file mode 100644 index de65a757c..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Observation_observation_bodyheight.ts +++ /dev/null @@ -1,184 +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 { 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 deleted file mode 100644 index a93c237e0..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Observation_observation_bodytemp.ts +++ /dev/null @@ -1,184 +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 { 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 deleted file mode 100644 index 6e6767bc2..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Observation_observation_bodyweight.ts +++ /dev/null @@ -1,184 +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 { 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 deleted file mode 100644 index 03372bd6c..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Observation_observation_bp.ts +++ /dev/null @@ -1,264 +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 { 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 deleted file mode 100644 index 8381d3b09..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Observation_observation_headcircum.ts +++ /dev/null @@ -1,184 +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 { 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 deleted file mode 100644 index 996517eeb..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Observation_observation_heartrate.ts +++ /dev/null @@ -1,184 +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 { 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 deleted file mode 100644 index d44cb1b9c..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Observation_observation_oxygensat.ts +++ /dev/null @@ -1,184 +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 { 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 deleted file mode 100644 index 5424faff6..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Observation_observation_resprate.ts +++ /dev/null @@ -1,184 +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 { 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 deleted file mode 100644 index 921af554d..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Observation_observation_vitalsigns.ts +++ /dev/null @@ -1,174 +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 { 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 deleted file mode 100644 index 3f370a364..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Observation_observation_vitalspanel.ts +++ /dev/null @@ -1,187 +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 { 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/PlanDefinition_CDS_Hooks_Service_PlanDefinition.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/PlanDefinition_CDS_Hooks_Service_PlanDefinition.ts deleted file mode 100644 index 90fc38f84..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/PlanDefinition_CDS_Hooks_Service_PlanDefinition.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 { 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 deleted file mode 100644 index ef00f0f25..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/PlanDefinition_Computable_PlanDefinition.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 { 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 deleted file mode 100644 index ff267c9f2..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/PlanDefinition_Shareable_PlanDefinition.ts +++ /dev/null @@ -1,138 +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"; - -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/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 deleted file mode 100644 index f62e573f2..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Provenance_EHRS_FM_Record_Lifecycle_Event___Provenance.ts +++ /dev/null @@ -1,93 +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"; -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 deleted file mode 100644 index 0aff5bd32..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Provenance_Provenance_Relevant_History.ts +++ /dev/null @@ -1,148 +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"; -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 deleted file mode 100644 index 6a931647c..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Quantity_MoneyQuantity.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 { 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 deleted file mode 100644 index 504a4bfc0..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Quantity_SimpleQuantity.ts +++ /dev/null @@ -1,45 +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 { 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 deleted file mode 100644 index 7abc99398..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/Questionnaire_CQF_Questionnaire.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 { 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 deleted file mode 100644 index 82f33fee1..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/RequestGroup_CDS_Hooks_RequestGroup.ts +++ /dev/null @@ -1,90 +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"; - -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/ServiceRequest_ServiceRequest_Genetics.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/ServiceRequest_ServiceRequest_Genetics.ts deleted file mode 100644 index 66a28ace7..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/ServiceRequest_ServiceRequest_Genetics.ts +++ /dev/null @@ -1,91 +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 { Reference } from "../../hl7-fhir-r4-examples/Reference"; -import type { ServiceRequest } from "../../hl7-fhir-r4-examples/ServiceRequest"; - -export type ServiceRequest_Genetics_ItemInput = { - code: CodeableConcept; - geneticsObservation?: Reference; - specimen?: Reference; - status?: string; -} - -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 { - return this.resource - } - - public setItem (input: ServiceRequest_Genetics_ItemInput): this { - const subExtensions: Extension[] = [] - if (input.code !== undefined) { - subExtensions.push({ url: "code", valueCodeableConcept: input.code }) - } - if (input.geneticsObservation !== undefined) { - subExtensions.push({ url: "geneticsObservation", valueReference: input.geneticsObservation }) - } - if (input.specimen !== undefined) { - subExtensions.push({ url: "specimen", valueReference: input.specimen }) - } - if (input.status !== undefined) { - subExtensions.push({ url: "status", valueCode: input.status }) - } - const list = (this.resource.extension ??= []) - list.push({ url: "http://hl7.org/fhir/StructureDefinition/servicerequest-geneticsItem", extension: subExtensions }) - return this - } - - public getItem (): ServiceRequest_Genetics_ItemInput | undefined { - const ext = this.resource.extension?.find(e => e.url === "http://hl7.org/fhir/StructureDefinition/servicerequest-geneticsItem") - if (!ext) return undefined - const config = [{ name: "code", valueField: "valueCodeableConcept", isArray: false }, { name: "geneticsObservation", valueField: "valueReference", isArray: false }, { name: "specimen", valueField: "valueReference", isArray: false }, { name: "status", valueField: "valueCode", isArray: false }] - return extractComplexExtension(ext as unknown as { extension?: Array<{ url?: string; [key: string]: unknown }> }, config) as ServiceRequest_Genetics_ItemInput - } - - public getItemExtension (): Extension | undefined { - const ext = this.resource.extension?.find(e => e.url === "http://hl7.org/fhir/StructureDefinition/servicerequest-geneticsItem") - 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/ValueSet_Shareable_ValueSet.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/ValueSet_Shareable_ValueSet.ts deleted file mode 100644 index ef64d6713..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/ValueSet_Shareable_ValueSet.ts +++ /dev/null @@ -1,151 +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"; - -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 deleted file mode 100644 index 775aafe53..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r4-examples/profiles/index.ts +++ /dev/null @@ -1,427 +0,0 @@ -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 deleted file mode 100644 index 7688471ce..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/Account.ts +++ /dev/null @@ -1,92 +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 { BackboneElement } from "../hl7-fhir-r5-core/BackboneElement"; -import type { CodeableConcept } from "../hl7-fhir-r5-core/CodeableConcept"; -import type { CodeableReference } from "../hl7-fhir-r5-core/CodeableReference"; -import type { DomainResource } from "../hl7-fhir-r5-core/DomainResource"; -import type { Identifier } from "../hl7-fhir-r5-core/Identifier"; -import type { Money } from "../hl7-fhir-r5-core/Money"; -import type { Period } from "../hl7-fhir-r5-core/Period"; -import type { Reference } from "../hl7-fhir-r5-core/Reference"; - -import type { Element } from "../hl7-fhir-r5-core/Element"; -export type { BackboneElement } from "../hl7-fhir-r5-core/BackboneElement"; -export type { CodeableConcept } from "../hl7-fhir-r5-core/CodeableConcept"; -export type { CodeableReference } from "../hl7-fhir-r5-core/CodeableReference"; -export type { Identifier } from "../hl7-fhir-r5-core/Identifier"; -export type { Money } from "../hl7-fhir-r5-core/Money"; -export type { Period } from "../hl7-fhir-r5-core/Period"; -export type { Reference } from "../hl7-fhir-r5-core/Reference"; - -export interface AccountBalance extends BackboneElement { - aggregate?: CodeableConcept; - amount: Money; - estimate?: boolean; - term?: CodeableConcept; -} - -export interface AccountCoverage extends BackboneElement { - coverage: Reference<"Coverage">; - priority?: number; -} - -export interface AccountDiagnosis extends BackboneElement { - condition: CodeableReference; - dateOfDiagnosis?: string; - onAdmission?: boolean; - packageCode?: CodeableConcept[]; - sequence?: number; - type?: CodeableConcept[]; -} - -export interface AccountGuarantor extends BackboneElement { - onHold?: boolean; - party: Reference<"Organization" | "Patient" | "RelatedPerson">; - period?: Period; -} - -export interface AccountProcedure extends BackboneElement { - code: CodeableReference; - dateOfService?: string; - device?: Reference<"Device">[]; - packageCode?: CodeableConcept[]; - sequence?: number; - type?: CodeableConcept[]; -} - -export interface AccountRelatedAccount extends BackboneElement { - account: Reference<"Account">; - relationship?: CodeableConcept; -} - -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/Account (pkg: hl7.fhir.r5.core#5.0.0) -export interface Account extends DomainResource { - resourceType: "Account"; - - balance?: AccountBalance[]; - billingStatus?: CodeableConcept; - calculatedAt?: string; - _calculatedAt?: Element; - coverage?: AccountCoverage[]; - currency?: CodeableConcept; - description?: string; - _description?: Element; - diagnosis?: AccountDiagnosis[]; - guarantor?: AccountGuarantor[]; - identifier?: Identifier[]; - name?: string; - _name?: Element; - owner?: Reference<"Organization">; - procedure?: AccountProcedure[]; - relatedAccount?: AccountRelatedAccount[]; - servicePeriod?: Period; - status: ("active" | "inactive" | "entered-in-error" | "on-hold" | "unknown"); - _status?: Element; - subject?: Reference<"Device" | "HealthcareService" | "Location" | "Organization" | "Patient" | "Practitioner" | "PractitionerRole">[]; - type?: CodeableConcept; -} -export const isAccount = (resource: unknown): resource is Account => { - return resource !== null && typeof resource === "object" && (resource as {resourceType: string}).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 deleted file mode 100644 index 85409b842..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/ActivityDefinition.ts +++ /dev/null @@ -1,149 +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 { Age } from "../hl7-fhir-r5-core/Age"; -import type { BackboneElement } from "../hl7-fhir-r5-core/BackboneElement"; -import type { CodeableConcept } from "../hl7-fhir-r5-core/CodeableConcept"; -import type { CodeableReference } from "../hl7-fhir-r5-core/CodeableReference"; -import type { Coding } from "../hl7-fhir-r5-core/Coding"; -import type { ContactDetail } from "../hl7-fhir-r5-core/ContactDetail"; -import type { DomainResource } from "../hl7-fhir-r5-core/DomainResource"; -import type { Dosage } from "../hl7-fhir-r5-core/Dosage"; -import type { Duration } from "../hl7-fhir-r5-core/Duration"; -import type { Expression } from "../hl7-fhir-r5-core/Expression"; -import type { Identifier } from "../hl7-fhir-r5-core/Identifier"; -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 { Reference } from "../hl7-fhir-r5-core/Reference"; -import type { RelatedArtifact } from "../hl7-fhir-r5-core/RelatedArtifact"; -import type { Timing } from "../hl7-fhir-r5-core/Timing"; -import type { UsageContext } from "../hl7-fhir-r5-core/UsageContext"; - -import type { Element } from "../hl7-fhir-r5-core/Element"; -export type { Age } from "../hl7-fhir-r5-core/Age"; -export type { BackboneElement } from "../hl7-fhir-r5-core/BackboneElement"; -export type { CodeableConcept } from "../hl7-fhir-r5-core/CodeableConcept"; -export type { CodeableReference } from "../hl7-fhir-r5-core/CodeableReference"; -export type { Coding } from "../hl7-fhir-r5-core/Coding"; -export type { ContactDetail } from "../hl7-fhir-r5-core/ContactDetail"; -export type { Dosage } from "../hl7-fhir-r5-core/Dosage"; -export type { Duration } from "../hl7-fhir-r5-core/Duration"; -export type { Expression } from "../hl7-fhir-r5-core/Expression"; -export type { Identifier } from "../hl7-fhir-r5-core/Identifier"; -export type { Period } from "../hl7-fhir-r5-core/Period"; -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"; -export type { RelatedArtifact } from "../hl7-fhir-r5-core/RelatedArtifact"; -export type { Timing } from "../hl7-fhir-r5-core/Timing"; -export type { UsageContext } from "../hl7-fhir-r5-core/UsageContext"; - -export interface ActivityDefinitionDynamicValue extends BackboneElement { - expression: Expression; - path: string; -} - -export interface ActivityDefinitionParticipant extends BackboneElement { - "function"?: CodeableConcept; - role?: CodeableConcept; - type?: ("patient" | "practitioner" | "related-person" | "device"); - typeCanonical?: string; - typeReference?: Reference<"CareTeam" | "Device" | "DeviceDefinition" | "Endpoint" | "Group" | "HealthcareService" | "Location" | "Organization" | "Patient" | "Practitioner" | "PractitionerRole" | "RelatedPerson">; -} - -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/ActivityDefinition (pkg: hl7.fhir.r5.core#5.0.0) -export interface ActivityDefinition extends DomainResource { - resourceType: "ActivityDefinition"; - - approvalDate?: string; - _approvalDate?: Element; - asNeededBoolean?: boolean; - _asNeededBoolean?: Element; - asNeededCodeableConcept?: CodeableConcept; - author?: ContactDetail[]; - bodySite?: CodeableConcept[]; - code?: CodeableConcept; - contact?: ContactDetail[]; - copyright?: string; - _copyright?: Element; - copyrightLabel?: string; - _copyrightLabel?: Element; - date?: string; - _date?: Element; - description?: string; - _description?: Element; - doNotPerform?: boolean; - _doNotPerform?: Element; - dosage?: Dosage[]; - dynamicValue?: ActivityDefinitionDynamicValue[]; - editor?: ContactDetail[]; - effectivePeriod?: Period; - endorser?: ContactDetail[]; - experimental?: boolean; - _experimental?: Element; - identifier?: Identifier[]; - intent?: ("proposal" | "plan" | "directive" | "order" | "original-order" | "reflex-order" | "filler-order" | "instance-order" | "option"); - _intent?: Element; - jurisdiction?: CodeableConcept[]; - kind?: ("Appointment" | "AppointmentResponse" | "CarePlan" | "Claim" | "CommunicationRequest" | "CoverageEligibilityRequest" | "DeviceRequest" | "EnrollmentRequest" | "ImmunizationRecommendation" | "MedicationRequest" | "NutritionOrder" | "RequestOrchestration" | "ServiceRequest" | "SupplyRequest" | "Task" | "Transport" | "VisionPrescription"); - _kind?: Element; - lastReviewDate?: string; - _lastReviewDate?: Element; - library?: string[]; - _library?: (Element | null)[]; - location?: CodeableReference; - name?: string; - _name?: Element; - observationRequirement?: string[]; - _observationRequirement?: (Element | null)[]; - observationResultRequirement?: string[]; - _observationResultRequirement?: (Element | null)[]; - participant?: ActivityDefinitionParticipant[]; - priority?: ("routine" | "urgent" | "asap" | "stat"); - _priority?: Element; - productCodeableConcept?: CodeableConcept; - productReference?: Reference<"Ingredient" | "Medication" | "Substance" | "SubstanceDefinition">; - profile?: string; - _profile?: Element; - publisher?: string; - _publisher?: Element; - purpose?: string; - _purpose?: Element; - quantity?: Quantity; - relatedArtifact?: RelatedArtifact[]; - reviewer?: ContactDetail[]; - specimenRequirement?: string[]; - _specimenRequirement?: (Element | null)[]; - status: ("draft" | "active" | "retired" | "unknown"); - _status?: Element; - subjectCanonical?: string; - _subjectCanonical?: Element; - subjectCodeableConcept?: CodeableConcept; - subjectReference?: Reference<"AdministrableProductDefinition" | "Group" | "ManufacturedItemDefinition" | "MedicinalProductDefinition" | "PackagedProductDefinition" | "SubstanceDefinition">; - subtitle?: string; - _subtitle?: Element; - timingAge?: Age; - timingDuration?: Duration; - timingRange?: Range; - timingTiming?: Timing; - title?: string; - _title?: Element; - topic?: CodeableConcept[]; - transform?: string; - _transform?: Element; - url?: string; - _url?: Element; - usage?: string; - _usage?: Element; - useContext?: UsageContext[]; - version?: string; - _version?: Element; - versionAlgorithmCoding?: Coding; - versionAlgorithmString?: string; - _versionAlgorithmString?: Element; -} -export const isActivityDefinition = (resource: unknown): resource is ActivityDefinition => { - return resource !== null && typeof resource === "object" && (resource as {resourceType: string}).resourceType === "ActivityDefinition"; -} 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 deleted file mode 100644 index d37df5532..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/ActorDefinition.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 { Coding } from "../hl7-fhir-r5-core/Coding"; -import type { ContactDetail } from "../hl7-fhir-r5-core/ContactDetail"; -import type { DomainResource } from "../hl7-fhir-r5-core/DomainResource"; -import type { Identifier } from "../hl7-fhir-r5-core/Identifier"; -import type { UsageContext } from "../hl7-fhir-r5-core/UsageContext"; - -import type { Element } from "../hl7-fhir-r5-core/Element"; -export type { CodeableConcept } from "../hl7-fhir-r5-core/CodeableConcept"; -export type { Coding } from "../hl7-fhir-r5-core/Coding"; -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 (pkg: hl7.fhir.r5.core#5.0.0) -export interface ActorDefinition extends DomainResource { - resourceType: "ActorDefinition"; - - capabilities?: string; - _capabilities?: Element; - contact?: ContactDetail[]; - copyright?: string; - _copyright?: Element; - copyrightLabel?: string; - _copyrightLabel?: Element; - date?: string; - _date?: Element; - derivedFrom?: string[]; - _derivedFrom?: (Element | null)[]; - description?: string; - _description?: Element; - documentation?: string; - _documentation?: Element; - experimental?: boolean; - _experimental?: Element; - identifier?: Identifier[]; - jurisdiction?: CodeableConcept[]; - name?: string; - _name?: Element; - publisher?: string; - _publisher?: Element; - purpose?: string; - _purpose?: Element; - reference?: string[]; - _reference?: (Element | null)[]; - status: ("draft" | "active" | "retired" | "unknown"); - _status?: Element; - title?: string; - _title?: Element; - type: ("person" | "entity"); - _type?: Element; - url?: string; - _url?: Element; - useContext?: UsageContext[]; - version?: string; - _version?: Element; - versionAlgorithmCoding?: Coding; - versionAlgorithmString?: string; - _versionAlgorithmString?: Element; -} -export const isActorDefinition = (resource: unknown): resource is ActorDefinition => { - return resource !== null && typeof resource === "object" && (resource as {resourceType: string}).resourceType === "ActorDefinition"; -} 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 deleted file mode 100644 index 0f2547dbf..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/Address.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 { DataType } from "../hl7-fhir-r5-core/DataType"; -import type { Period } from "../hl7-fhir-r5-core/Period"; - -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 (pkg: hl7.fhir.r5.core#5.0.0) -export interface Address extends DataType { - city?: string; - _city?: Element; - country?: string; - _country?: Element; - district?: string; - _district?: Element; - line?: string[]; - _line?: (Element | null)[]; - period?: Period; - postalCode?: string; - _postalCode?: Element; - state?: string; - _state?: Element; - text?: string; - _text?: Element; - type?: ("postal" | "physical" | "both"); - _type?: Element; - use?: ("home" | "work" | "temp" | "old" | "billing"); - _use?: 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 deleted file mode 100644 index f17c2bf92..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/AdministrableProductDefinition.ts +++ /dev/null @@ -1,78 +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 { BackboneElement } from "../hl7-fhir-r5-core/BackboneElement"; -import type { CodeableConcept } from "../hl7-fhir-r5-core/CodeableConcept"; -import type { DomainResource } from "../hl7-fhir-r5-core/DomainResource"; -import type { Duration } from "../hl7-fhir-r5-core/Duration"; -import type { Identifier } from "../hl7-fhir-r5-core/Identifier"; -import type { Quantity } from "../hl7-fhir-r5-core/Quantity"; -import type { Ratio } from "../hl7-fhir-r5-core/Ratio"; -import type { Reference } from "../hl7-fhir-r5-core/Reference"; - -import type { Element } from "../hl7-fhir-r5-core/Element"; -export type { Attachment } from "../hl7-fhir-r5-core/Attachment"; -export type { BackboneElement } from "../hl7-fhir-r5-core/BackboneElement"; -export type { CodeableConcept } from "../hl7-fhir-r5-core/CodeableConcept"; -export type { Duration } from "../hl7-fhir-r5-core/Duration"; -export type { Identifier } from "../hl7-fhir-r5-core/Identifier"; -export type { Quantity } from "../hl7-fhir-r5-core/Quantity"; -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<("draft" | "active" | "retired" | "unknown")>; - type: CodeableConcept; - valueAttachment?: Attachment; - valueBoolean?: boolean; - valueCodeableConcept?: CodeableConcept; - valueDate?: string; - valueMarkdown?: string; - valueQuantity?: Quantity; - valueReference?: Reference<"Binary">; -} - -export interface AdministrableProductDefinitionRouteOfAdministration extends BackboneElement { - code: CodeableConcept; - firstDose?: Quantity; - maxDosePerDay?: Quantity; - maxDosePerTreatmentPeriod?: Ratio; - maxSingleDose?: Quantity; - maxTreatmentPeriod?: Duration; - targetSpecies?: AdministrableProductDefinitionRouteOfAdministrationTargetSpecies[]; -} - -export interface AdministrableProductDefinitionRouteOfAdministrationTargetSpecies extends BackboneElement { - code: CodeableConcept; - withdrawalPeriod?: AdministrableProductDefinitionRouteOfAdministrationTargetSpeciesWithdrawalPeriod[]; -} - -export interface AdministrableProductDefinitionRouteOfAdministrationTargetSpeciesWithdrawalPeriod extends BackboneElement { - supportingInformation?: string; - tissue: CodeableConcept; - value: Quantity; -} - -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/AdministrableProductDefinition (pkg: hl7.fhir.r5.core#5.0.0) -export interface AdministrableProductDefinition extends DomainResource { - resourceType: "AdministrableProductDefinition"; - - administrableDoseForm?: CodeableConcept; - description?: string; - _description?: Element; - device?: Reference<"DeviceDefinition">; - formOf?: Reference<"MedicinalProductDefinition">[]; - identifier?: Identifier[]; - ingredient?: CodeableConcept[]; - producedFrom?: Reference<"ManufacturedItemDefinition">[]; - property?: AdministrableProductDefinitionProperty[]; - routeOfAdministration: AdministrableProductDefinitionRouteOfAdministration[]; - status: ("draft" | "active" | "retired" | "unknown"); - _status?: Element; - unitOfPresentation?: CodeableConcept; -} -export const isAdministrableProductDefinition = (resource: unknown): resource is AdministrableProductDefinition => { - return resource !== null && typeof resource === "object" && (resource as {resourceType: string}).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 deleted file mode 100644 index 194fb23b5..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/AdverseEvent.ts +++ /dev/null @@ -1,99 +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 { Annotation } from "../hl7-fhir-r5-core/Annotation"; -import type { BackboneElement } from "../hl7-fhir-r5-core/BackboneElement"; -import type { CodeableConcept } from "../hl7-fhir-r5-core/CodeableConcept"; -import type { DomainResource } from "../hl7-fhir-r5-core/DomainResource"; -import type { Identifier } from "../hl7-fhir-r5-core/Identifier"; -import type { Period } from "../hl7-fhir-r5-core/Period"; -import type { Reference } from "../hl7-fhir-r5-core/Reference"; -import type { Timing } from "../hl7-fhir-r5-core/Timing"; - -import type { Element } from "../hl7-fhir-r5-core/Element"; -export type { Annotation } from "../hl7-fhir-r5-core/Annotation"; -export type { BackboneElement } from "../hl7-fhir-r5-core/BackboneElement"; -export type { CodeableConcept } from "../hl7-fhir-r5-core/CodeableConcept"; -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"; -export type { Timing } from "../hl7-fhir-r5-core/Timing"; - -export interface AdverseEventContributingFactor extends BackboneElement { - itemCodeableConcept?: CodeableConcept; - itemReference?: Reference<"AllergyIntolerance" | "Condition" | "Device" | "DeviceUsage" | "DocumentReference" | "FamilyMemberHistory" | "Immunization" | "MedicationAdministration" | "MedicationStatement" | "Observation" | "Procedure">; -} - -export interface AdverseEventMitigatingAction extends BackboneElement { - itemCodeableConcept?: CodeableConcept; - itemReference?: Reference<"DocumentReference" | "MedicationAdministration" | "MedicationRequest" | "Procedure">; -} - -export interface AdverseEventParticipant extends BackboneElement { - actor: Reference<"CareTeam" | "Device" | "Organization" | "Patient" | "Practitioner" | "PractitionerRole" | "RelatedPerson" | "ResearchSubject">; - "function"?: CodeableConcept; -} - -export interface AdverseEventPreventiveAction extends BackboneElement { - itemCodeableConcept?: CodeableConcept; - itemReference?: Reference<"DocumentReference" | "Immunization" | "MedicationAdministration" | "MedicationRequest" | "Procedure">; -} - -export interface AdverseEventSupportingInfo extends BackboneElement { - itemCodeableConcept?: CodeableConcept; - itemReference?: Reference<"AllergyIntolerance" | "Condition" | "DocumentReference" | "FamilyMemberHistory" | "Immunization" | "MedicationAdministration" | "MedicationStatement" | "Observation" | "Procedure" | "QuestionnaireResponse">; -} - -export interface AdverseEventSuspectEntity extends BackboneElement { - causality?: AdverseEventSuspectEntityCausality; - instanceCodeableConcept?: CodeableConcept; - instanceReference?: Reference<"BiologicallyDerivedProduct" | "Device" | "Immunization" | "Medication" | "MedicationAdministration" | "MedicationStatement" | "Procedure" | "ResearchStudy" | "Substance">; -} - -export interface AdverseEventSuspectEntityCausality extends BackboneElement { - assessmentMethod?: CodeableConcept; - author?: Reference<"Patient" | "Practitioner" | "PractitionerRole" | "RelatedPerson" | "ResearchSubject">; - entityRelatedness?: CodeableConcept; -} - -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/AdverseEvent (pkg: hl7.fhir.r5.core#5.0.0) -export interface AdverseEvent extends DomainResource { - resourceType: "AdverseEvent"; - - actuality: ("actual" | "potential"); - _actuality?: Element; - category?: CodeableConcept[]; - code?: CodeableConcept; - contributingFactor?: AdverseEventContributingFactor[]; - detected?: string; - _detected?: Element; - encounter?: Reference<"Encounter">; - expectedInResearchStudy?: boolean; - _expectedInResearchStudy?: Element; - identifier?: Identifier[]; - location?: Reference<"Location">; - mitigatingAction?: AdverseEventMitigatingAction[]; - note?: Annotation[]; - occurrenceDateTime?: string; - _occurrenceDateTime?: Element; - occurrencePeriod?: Period; - occurrenceTiming?: Timing; - outcome?: CodeableConcept[]; - participant?: AdverseEventParticipant[]; - preventiveAction?: AdverseEventPreventiveAction[]; - recordedDate?: string; - _recordedDate?: Element; - recorder?: Reference<"Patient" | "Practitioner" | "PractitionerRole" | "RelatedPerson" | "ResearchSubject">; - resultingEffect?: Reference<"Condition" | "Observation">[]; - seriousness?: CodeableConcept; - status: ("in-progress" | "completed" | "entered-in-error" | "unknown"); - _status?: Element; - study?: Reference<"ResearchStudy">[]; - subject: Reference<"Group" | "Patient" | "Practitioner" | "RelatedPerson" | "ResearchSubject">; - supportingInfo?: AdverseEventSupportingInfo[]; - suspectEntity?: AdverseEventSuspectEntity[]; -} -export const isAdverseEvent = (resource: unknown): resource is AdverseEvent => { - return resource !== null && typeof resource === "object" && (resource as {resourceType: string}).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 deleted file mode 100644 index 7c019c0a3..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/Age.ts +++ /dev/null @@ -1,11 +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 { Quantity } from "../hl7-fhir-r5-core/Quantity"; - -export type { Quantity } from "../hl7-fhir-r5-core/Quantity"; - -// 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 deleted file mode 100644 index 0cebc9bc8..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/AllergyIntolerance.ts +++ /dev/null @@ -1,74 +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 { Age } from "../hl7-fhir-r5-core/Age"; -import type { Annotation } from "../hl7-fhir-r5-core/Annotation"; -import type { BackboneElement } from "../hl7-fhir-r5-core/BackboneElement"; -import type { CodeableConcept } from "../hl7-fhir-r5-core/CodeableConcept"; -import type { CodeableReference } from "../hl7-fhir-r5-core/CodeableReference"; -import type { DomainResource } from "../hl7-fhir-r5-core/DomainResource"; -import type { Identifier } from "../hl7-fhir-r5-core/Identifier"; -import type { Period } from "../hl7-fhir-r5-core/Period"; -import type { Range } from "../hl7-fhir-r5-core/Range"; -import type { Reference } from "../hl7-fhir-r5-core/Reference"; - -import type { Element } from "../hl7-fhir-r5-core/Element"; -export type { Age } from "../hl7-fhir-r5-core/Age"; -export type { Annotation } from "../hl7-fhir-r5-core/Annotation"; -export type { BackboneElement } from "../hl7-fhir-r5-core/BackboneElement"; -export type { CodeableConcept } from "../hl7-fhir-r5-core/CodeableConcept"; -export type { CodeableReference } from "../hl7-fhir-r5-core/CodeableReference"; -export type { Identifier } from "../hl7-fhir-r5-core/Identifier"; -export type { Period } from "../hl7-fhir-r5-core/Period"; -export type { Range } from "../hl7-fhir-r5-core/Range"; -export type { Reference } from "../hl7-fhir-r5-core/Reference"; - -export interface AllergyIntoleranceParticipant extends BackboneElement { - actor: Reference<"CareTeam" | "Device" | "Organization" | "Patient" | "Practitioner" | "PractitionerRole" | "RelatedPerson">; - "function"?: CodeableConcept; -} - -export interface AllergyIntoleranceReaction extends BackboneElement { - description?: string; - exposureRoute?: CodeableConcept; - manifestation: CodeableReference[]; - note?: Annotation[]; - onset?: string; - severity?: ("mild" | "moderate" | "severe"); - substance?: CodeableConcept; -} - -// 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 | null)[]; - clinicalStatus?: CodeableConcept<("active" | "inactive" | "resolved")>; - code?: CodeableConcept; - criticality?: ("low" | "high" | "unable-to-assess"); - _criticality?: Element; - encounter?: Reference<"Encounter">; - identifier?: Identifier[]; - lastOccurrence?: string; - _lastOccurrence?: Element; - note?: Annotation[]; - onsetAge?: Age; - onsetDateTime?: string; - _onsetDateTime?: Element; - onsetPeriod?: Period; - onsetRange?: Range; - onsetString?: string; - _onsetString?: Element; - participant?: AllergyIntoleranceParticipant[]; - patient: Reference<"Patient">; - reaction?: AllergyIntoleranceReaction[]; - recordedDate?: string; - _recordedDate?: Element; - 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 deleted file mode 100644 index 32458c831..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/Annotation.ts +++ /dev/null @@ -1,21 +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 { DataType } from "../hl7-fhir-r5-core/DataType"; -import type { Reference } from "../hl7-fhir-r5-core/Reference"; - -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 (pkg: hl7.fhir.r5.core#5.0.0) -export interface Annotation extends DataType { - authorReference?: Reference<"Organization" | "Patient" | "Practitioner" | "PractitionerRole" | "RelatedPerson">; - authorString?: string; - _authorString?: Element; - text: string; - _text?: Element; - time?: string; - _time?: Element; -} 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 deleted file mode 100644 index b9b3ba89a..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/Appointment.ts +++ /dev/null @@ -1,118 +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 { Annotation } from "../hl7-fhir-r5-core/Annotation"; -import type { BackboneElement } from "../hl7-fhir-r5-core/BackboneElement"; -import type { CodeableConcept } from "../hl7-fhir-r5-core/CodeableConcept"; -import type { CodeableReference } from "../hl7-fhir-r5-core/CodeableReference"; -import type { Coding } from "../hl7-fhir-r5-core/Coding"; -import type { DomainResource } from "../hl7-fhir-r5-core/DomainResource"; -import type { Identifier } from "../hl7-fhir-r5-core/Identifier"; -import type { Period } from "../hl7-fhir-r5-core/Period"; -import type { Reference } from "../hl7-fhir-r5-core/Reference"; -import type { VirtualServiceDetail } from "../hl7-fhir-r5-core/VirtualServiceDetail"; - -import type { Element } from "../hl7-fhir-r5-core/Element"; -export type { Annotation } from "../hl7-fhir-r5-core/Annotation"; -export type { BackboneElement } from "../hl7-fhir-r5-core/BackboneElement"; -export type { CodeableConcept } from "../hl7-fhir-r5-core/CodeableConcept"; -export type { CodeableReference } from "../hl7-fhir-r5-core/CodeableReference"; -export type { Coding } from "../hl7-fhir-r5-core/Coding"; -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"; -export type { VirtualServiceDetail } from "../hl7-fhir-r5-core/VirtualServiceDetail"; - -export interface AppointmentParticipant extends BackboneElement { - actor?: Reference<"CareTeam" | "Device" | "Group" | "HealthcareService" | "Location" | "Patient" | "Practitioner" | "PractitionerRole" | "RelatedPerson">; - period?: Period; - required?: boolean; - status: ("accepted" | "declined" | "tentative" | "needs-action"); - type?: CodeableConcept<("translator" | "emergency" | string)>[]; -} - -export interface AppointmentRecurrenceTemplate extends BackboneElement { - excludingDate?: string[]; - excludingRecurrenceId?: number[]; - lastOccurrenceDate?: string; - monthlyTemplate?: AppointmentRecurrenceTemplateMonthlyTemplate; - occurrenceCount?: number; - occurrenceDate?: string[]; - recurrenceType: CodeableConcept<("d" | "wk" | "mo" | "a" | string)>; - timezone?: CodeableConcept; - weeklyTemplate?: AppointmentRecurrenceTemplateWeeklyTemplate; - yearlyTemplate?: AppointmentRecurrenceTemplateYearlyTemplate; -} - -export interface AppointmentRecurrenceTemplateMonthlyTemplate extends BackboneElement { - dayOfMonth?: number; - dayOfWeek?: Coding<("mon" | "tue" | "wed" | "thu" | "fri" | "sat" | "sun")>; - monthInterval: number; - nthWeekOfMonth?: Coding; -} - -export interface AppointmentRecurrenceTemplateWeeklyTemplate extends BackboneElement { - friday?: boolean; - monday?: boolean; - saturday?: boolean; - sunday?: boolean; - thursday?: boolean; - tuesday?: boolean; - wednesday?: boolean; - weekInterval?: number; -} - -export interface AppointmentRecurrenceTemplateYearlyTemplate extends BackboneElement { - yearInterval: number; -} - -// 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<("CHECKUP" | "EMERGENCY" | "FOLLOWUP" | "ROUTINE" | "WALKIN" | string)>; - basedOn?: Reference<"CarePlan" | "DeviceRequest" | "MedicationRequest" | "ServiceRequest">[]; - cancellationDate?: string; - _cancellationDate?: Element; - cancellationReason?: CodeableConcept; - "class"?: CodeableConcept[]; - created?: string; - _created?: Element; - description?: string; - _description?: Element; - end?: string; - _end?: Element; - identifier?: Identifier[]; - minutesDuration?: number; - _minutesDuration?: Element; - note?: Annotation[]; - occurrenceChanged?: boolean; - _occurrenceChanged?: Element; - originatingAppointment?: Reference<"Appointment">; - participant: AppointmentParticipant[]; - patientInstruction?: CodeableReference[]; - previousAppointment?: Reference<"Appointment">; - priority?: CodeableConcept; - reason?: CodeableReference[]; - recurrenceId?: number; - _recurrenceId?: Element; - recurrenceTemplate?: AppointmentRecurrenceTemplate[]; - replaces?: Reference<"Appointment">[]; - requestedPeriod?: Period[]; - serviceCategory?: CodeableConcept[]; - serviceType?: CodeableReference[]; - slot?: Reference<"Slot">[]; - specialty?: CodeableConcept[]; - start?: string; - _start?: Element; - status: ("proposed" | "pending" | "booked" | "arrived" | "fulfilled" | "cancelled" | "noshow" | "entered-in-error" | "checked-in" | "waitlist"); - _status?: Element; - subject?: Reference<"Group" | "Patient">; - supportingInformation?: Reference<"Resource">[]; - virtualService?: VirtualServiceDetail[]; -} -export const isAppointment = (resource: unknown): resource is Appointment => { - return resource !== null && typeof resource === "object" && (resource as {resourceType: string}).resourceType === "Appointment"; -} 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 deleted file mode 100644 index f77a37621..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/AppointmentResponse.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 { CodeableConcept } from "../hl7-fhir-r5-core/CodeableConcept"; -import type { DomainResource } from "../hl7-fhir-r5-core/DomainResource"; -import type { Identifier } from "../hl7-fhir-r5-core/Identifier"; -import type { Reference } from "../hl7-fhir-r5-core/Reference"; - -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"; -export type { Reference } from "../hl7-fhir-r5-core/Reference"; - -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/AppointmentResponse (pkg: hl7.fhir.r5.core#5.0.0) -export interface AppointmentResponse extends DomainResource { - resourceType: "AppointmentResponse"; - - actor?: Reference<"Device" | "Group" | "HealthcareService" | "Location" | "Patient" | "Practitioner" | "PractitionerRole" | "RelatedPerson">; - appointment: Reference<"Appointment">; - comment?: string; - _comment?: Element; - end?: string; - _end?: Element; - identifier?: Identifier[]; - occurrenceDate?: string; - _occurrenceDate?: Element; - participantStatus: ("accepted" | "declined" | "tentative" | "needs-action" | "entered-in-error"); - _participantStatus?: Element; - participantType?: CodeableConcept<("translator" | "emergency" | string)>[]; - proposedNewTime?: boolean; - _proposedNewTime?: Element; - recurrenceId?: number; - _recurrenceId?: Element; - recurring?: boolean; - _recurring?: Element; - start?: string; - _start?: Element; -} -export const isAppointmentResponse = (resource: unknown): resource is AppointmentResponse => { - return resource !== null && typeof resource === "object" && (resource as {resourceType: string}).resourceType === "AppointmentResponse"; -} 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 deleted file mode 100644 index db5a34d4d..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/ArtifactAssessment.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 { BackboneElement } from "../hl7-fhir-r5-core/BackboneElement"; -import type { CodeableConcept } from "../hl7-fhir-r5-core/CodeableConcept"; -import type { DomainResource } from "../hl7-fhir-r5-core/DomainResource"; -import type { Identifier } from "../hl7-fhir-r5-core/Identifier"; -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 type { Element } from "../hl7-fhir-r5-core/Element"; -export type { BackboneElement } from "../hl7-fhir-r5-core/BackboneElement"; -export type { CodeableConcept } from "../hl7-fhir-r5-core/CodeableConcept"; -export type { Identifier } from "../hl7-fhir-r5-core/Identifier"; -export type { Quantity } from "../hl7-fhir-r5-core/Quantity"; -export type { Reference } from "../hl7-fhir-r5-core/Reference"; -export type { RelatedArtifact } from "../hl7-fhir-r5-core/RelatedArtifact"; - -export interface ArtifactAssessmentContent extends BackboneElement { - author?: Reference<"Device" | "Organization" | "Patient" | "Practitioner" | "PractitionerRole">; - classifier?: CodeableConcept[]; - component?: ArtifactAssessmentContent[]; - freeToShare?: boolean; - informationType?: string; - path?: string[]; - quantity?: Quantity; - relatedArtifact?: RelatedArtifact[]; - summary?: string; - type?: CodeableConcept; -} - -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/ArtifactAssessment (pkg: hl7.fhir.r5.core#5.0.0) -export interface ArtifactAssessment extends DomainResource { - resourceType: "ArtifactAssessment"; - - approvalDate?: string; - _approvalDate?: Element; - artifactCanonical?: string; - _artifactCanonical?: Element; - artifactReference?: Reference<"Resource">; - artifactUri?: string; - _artifactUri?: Element; - citeAsMarkdown?: string; - _citeAsMarkdown?: Element; - citeAsReference?: Reference<"Citation">; - content?: ArtifactAssessmentContent[]; - copyright?: string; - _copyright?: Element; - date?: string; - _date?: Element; - disposition?: string; - _disposition?: Element; - identifier?: Identifier[]; - lastReviewDate?: string; - _lastReviewDate?: Element; - title?: string; - _title?: Element; - workflowStatus?: string; - _workflowStatus?: Element; -} -export const isArtifactAssessment = (resource: unknown): resource is ArtifactAssessment => { - return resource !== null && typeof resource === "object" && (resource as {resourceType: string}).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 deleted file mode 100644 index 623c9ee45..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/Attachment.ts +++ /dev/null @@ -1,38 +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 { 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 (pkg: hl7.fhir.r5.core#5.0.0) -export interface Attachment extends DataType { - contentType?: string; - _contentType?: Element; - creation?: string; - _creation?: Element; - data?: string; - _data?: Element; - duration?: number; - _duration?: Element; - frames?: number; - _frames?: Element; - hash?: string; - _hash?: Element; - height?: number; - _height?: Element; - language?: string; - _language?: Element; - pages?: number; - _pages?: Element; - size?: number; - _size?: Element; - title?: string; - _title?: Element; - url?: string; - _url?: Element; - width?: number; - _width?: 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 deleted file mode 100644 index 07354ef36..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/AuditEvent.ts +++ /dev/null @@ -1,99 +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 { BackboneElement } from "../hl7-fhir-r5-core/BackboneElement"; -import type { CodeableConcept } from "../hl7-fhir-r5-core/CodeableConcept"; -import type { Coding } from "../hl7-fhir-r5-core/Coding"; -import type { DomainResource } from "../hl7-fhir-r5-core/DomainResource"; -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 { Element } from "../hl7-fhir-r5-core/Element"; -export type { BackboneElement } from "../hl7-fhir-r5-core/BackboneElement"; -export type { CodeableConcept } from "../hl7-fhir-r5-core/CodeableConcept"; -export type { Coding } from "../hl7-fhir-r5-core/Coding"; -export type { Period } from "../hl7-fhir-r5-core/Period"; -export type { Quantity } from "../hl7-fhir-r5-core/Quantity"; -export type { Range } from "../hl7-fhir-r5-core/Range"; -export type { Ratio } from "../hl7-fhir-r5-core/Ratio"; -export type { Reference } from "../hl7-fhir-r5-core/Reference"; - -export interface AuditEventAgent extends BackboneElement { - authorization?: CodeableConcept[]; - location?: Reference<"Location">; - networkReference?: Reference<"Endpoint">; - networkString?: string; - networkUri?: string; - policy?: string[]; - requestor?: boolean; - role?: CodeableConcept[]; - type?: CodeableConcept; - who: Reference<"CareTeam" | "Device" | "Organization" | "Patient" | "Practitioner" | "PractitionerRole" | "RelatedPerson">; -} - -export interface AuditEventEntity extends BackboneElement { - agent?: AuditEventAgent[]; - detail?: AuditEventEntityDetail[]; - query?: string; - role?: CodeableConcept; - securityLabel?: CodeableConcept[]; - what?: Reference<"Resource">; -} - -export interface AuditEventEntityDetail extends BackboneElement { - type: CodeableConcept; - valueBase64Binary?: string; - valueBoolean?: boolean; - valueCodeableConcept?: CodeableConcept; - valueDateTime?: string; - valueInteger?: number; - valuePeriod?: Period; - valueQuantity?: Quantity; - valueRange?: Range; - valueRatio?: Ratio; - valueString?: string; - valueTime?: string; -} - -export interface AuditEventOutcome extends BackboneElement { - 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<("1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | string)>[]; -} - -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/AuditEvent (pkg: hl7.fhir.r5.core#5.0.0) -export interface AuditEvent extends DomainResource { - resourceType: "AuditEvent"; - - action?: ("C" | "R" | "U" | "D" | "E"); - _action?: Element; - agent: AuditEventAgent[]; - authorization?: CodeableConcept[]; - basedOn?: Reference<"CarePlan" | "DeviceRequest" | "ImmunizationRecommendation" | "MedicationRequest" | "NutritionOrder" | "ServiceRequest" | "Task">[]; - category?: CodeableConcept[]; - code: CodeableConcept; - encounter?: Reference<"Encounter">; - entity?: AuditEventEntity[]; - occurredDateTime?: string; - _occurredDateTime?: Element; - occurredPeriod?: Period; - outcome?: AuditEventOutcome; - patient?: Reference<"Patient">; - recorded: string; - _recorded?: Element; - severity?: string; - _severity?: Element; - source: AuditEventSource; -} -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-r5-core/Availability.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/Availability.ts deleted file mode 100644 index 7a93efd71..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/Availability.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 { DataType } from "../hl7-fhir-r5-core/DataType"; -import type { Element } from "../hl7-fhir-r5-core/Element"; -import type { Period } from "../hl7-fhir-r5-core/Period"; - -export type { DataType } from "../hl7-fhir-r5-core/DataType"; -export type { Element } from "../hl7-fhir-r5-core/Element"; -export type { Period } from "../hl7-fhir-r5-core/Period"; - -export interface AvailabilityAvailableTime extends Element { - allDay?: boolean; - availableEndTime?: string; - availableStartTime?: string; - daysOfWeek?: ("mon" | "tue" | "wed" | "thu" | "fri" | "sat" | "sun")[]; -} - -export interface AvailabilityNotAvailableTime extends Element { - description?: string; - during?: Period; -} - -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/Availability (pkg: hl7.fhir.r5.core#5.0.0) -export interface Availability extends DataType { - 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 deleted file mode 100644 index 2df17e3ef..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/BackboneElement.ts +++ /dev/null @@ -1,14 +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 { Element } from "../hl7-fhir-r5-core/Element"; -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 (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 deleted file mode 100644 index c02a7ea34..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/BackboneType.ts +++ /dev/null @@ -1,14 +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 { DataType } from "../hl7-fhir-r5-core/DataType"; -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 (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 deleted file mode 100644 index cbbf1ddc3..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/Base.ts +++ /dev/null @@ -1,6 +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. - -// 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 deleted file mode 100644 index 68352b954..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/Basic.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 { CodeableConcept } from "../hl7-fhir-r5-core/CodeableConcept"; -import type { DomainResource } from "../hl7-fhir-r5-core/DomainResource"; -import type { Identifier } from "../hl7-fhir-r5-core/Identifier"; -import type { Reference } from "../hl7-fhir-r5-core/Reference"; - -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"; -export type { Reference } from "../hl7-fhir-r5-core/Reference"; - -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/Basic (pkg: hl7.fhir.r5.core#5.0.0) -export interface Basic extends DomainResource { - resourceType: "Basic"; - - author?: Reference<"CareTeam" | "Device" | "Organization" | "Patient" | "Practitioner" | "PractitionerRole" | "RelatedPerson">; - code: CodeableConcept; - created?: string; - _created?: Element; - identifier?: Identifier[]; - subject?: Reference<"Resource">; -} -export const isBasic = (resource: unknown): resource is Basic => { - return resource !== null && typeof resource === "object" && (resource as {resourceType: string}).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 deleted file mode 100644 index b16b9f420..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/Binary.ts +++ /dev/null @@ -1,23 +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 { Reference } from "../hl7-fhir-r5-core/Reference"; -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 (pkg: hl7.fhir.r5.core#5.0.0) -export interface Binary extends Resource { - resourceType: "Binary"; - - contentType: string; - _contentType?: Element; - data?: string; - _data?: Element; - securityContext?: Reference<"Resource">; -} -export const isBinary = (resource: unknown): resource is Binary => { - return resource !== null && typeof resource === "object" && (resource as {resourceType: string}).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 deleted file mode 100644 index 468db6c02..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/BiologicallyDerivedProduct.ts +++ /dev/null @@ -1,71 +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 { BackboneElement } from "../hl7-fhir-r5-core/BackboneElement"; -import type { CodeableConcept } from "../hl7-fhir-r5-core/CodeableConcept"; -import type { Coding } from "../hl7-fhir-r5-core/Coding"; -import type { DomainResource } from "../hl7-fhir-r5-core/DomainResource"; -import type { Identifier } from "../hl7-fhir-r5-core/Identifier"; -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 { Element } from "../hl7-fhir-r5-core/Element"; -export type { Attachment } from "../hl7-fhir-r5-core/Attachment"; -export type { BackboneElement } from "../hl7-fhir-r5-core/BackboneElement"; -export type { CodeableConcept } from "../hl7-fhir-r5-core/CodeableConcept"; -export type { Coding } from "../hl7-fhir-r5-core/Coding"; -export type { Identifier } from "../hl7-fhir-r5-core/Identifier"; -export type { Period } from "../hl7-fhir-r5-core/Period"; -export type { Quantity } from "../hl7-fhir-r5-core/Quantity"; -export type { Range } from "../hl7-fhir-r5-core/Range"; -export type { Ratio } from "../hl7-fhir-r5-core/Ratio"; -export type { Reference } from "../hl7-fhir-r5-core/Reference"; - -export interface BiologicallyDerivedProductCollection extends BackboneElement { - collectedDateTime?: string; - collectedPeriod?: Period; - collector?: Reference<"Practitioner" | "PractitionerRole">; - source?: Reference<"Organization" | "Patient">; -} - -export interface BiologicallyDerivedProductProperty extends BackboneElement { - type: CodeableConcept; - valueAttachment?: Attachment; - valueBoolean?: boolean; - valueCodeableConcept?: CodeableConcept; - valueInteger?: number; - valuePeriod?: Period; - valueQuantity?: Quantity; - valueRange?: Range; - valueRatio?: Ratio; - valueString?: string; -} - -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/BiologicallyDerivedProduct (pkg: hl7.fhir.r5.core#5.0.0) -export interface BiologicallyDerivedProduct extends DomainResource { - resourceType: "BiologicallyDerivedProduct"; - - biologicalSourceEvent?: Identifier; - collection?: BiologicallyDerivedProductCollection; - division?: string; - _division?: Element; - expirationDate?: string; - _expirationDate?: Element; - identifier?: Identifier[]; - parent?: Reference<"BiologicallyDerivedProduct">[]; - processingFacility?: Reference<"Organization">[]; - productCategory?: Coding; - productCode?: CodeableConcept; - productStatus?: Coding; - property?: BiologicallyDerivedProductProperty[]; - request?: Reference<"ServiceRequest">[]; - storageTempRequirements?: Range; -} -export const isBiologicallyDerivedProduct = (resource: unknown): resource is BiologicallyDerivedProduct => { - return resource !== null && typeof resource === "object" && (resource as {resourceType: string}).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 deleted file mode 100644 index d7133fb58..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/BiologicallyDerivedProductDispense.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 { Annotation } from "../hl7-fhir-r5-core/Annotation"; -import type { BackboneElement } from "../hl7-fhir-r5-core/BackboneElement"; -import type { CodeableConcept } from "../hl7-fhir-r5-core/CodeableConcept"; -import type { DomainResource } from "../hl7-fhir-r5-core/DomainResource"; -import type { Identifier } from "../hl7-fhir-r5-core/Identifier"; -import type { Quantity } from "../hl7-fhir-r5-core/Quantity"; -import type { Reference } from "../hl7-fhir-r5-core/Reference"; - -import type { Element } from "../hl7-fhir-r5-core/Element"; -export type { Annotation } from "../hl7-fhir-r5-core/Annotation"; -export type { BackboneElement } from "../hl7-fhir-r5-core/BackboneElement"; -export type { CodeableConcept } from "../hl7-fhir-r5-core/CodeableConcept"; -export type { Identifier } from "../hl7-fhir-r5-core/Identifier"; -export type { Quantity } from "../hl7-fhir-r5-core/Quantity"; -export type { Reference } from "../hl7-fhir-r5-core/Reference"; - -export interface BiologicallyDerivedProductDispensePerformer extends BackboneElement { - actor: Reference<"Practitioner">; - "function"?: CodeableConcept; -} - -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/BiologicallyDerivedProductDispense (pkg: hl7.fhir.r5.core#5.0.0) -export interface BiologicallyDerivedProductDispense extends DomainResource { - resourceType: "BiologicallyDerivedProductDispense"; - - basedOn?: Reference<"ServiceRequest">[]; - destination?: Reference<"Location">; - identifier?: Identifier[]; - location?: Reference<"Location">; - matchStatus?: CodeableConcept; - note?: Annotation[]; - originRelationshipType?: CodeableConcept; - partOf?: Reference<"BiologicallyDerivedProductDispense">[]; - patient: Reference<"Patient">; - performer?: BiologicallyDerivedProductDispensePerformer[]; - preparedDate?: string; - _preparedDate?: Element; - product: Reference<"BiologicallyDerivedProduct">; - quantity?: Quantity; - status: string; - _status?: Element; - usageInstruction?: string; - _usageInstruction?: Element; - whenHandedOver?: string; - _whenHandedOver?: Element; -} -export const isBiologicallyDerivedProductDispense = (resource: unknown): resource is BiologicallyDerivedProductDispense => { - return resource !== null && typeof resource === "object" && (resource as {resourceType: string}).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 deleted file mode 100644 index 80d87f605..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/BodyStructure.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 { Attachment } from "../hl7-fhir-r5-core/Attachment"; -import type { BackboneElement } from "../hl7-fhir-r5-core/BackboneElement"; -import type { CodeableConcept } from "../hl7-fhir-r5-core/CodeableConcept"; -import type { CodeableReference } from "../hl7-fhir-r5-core/CodeableReference"; -import type { DomainResource } from "../hl7-fhir-r5-core/DomainResource"; -import type { Identifier } from "../hl7-fhir-r5-core/Identifier"; -import type { Quantity } from "../hl7-fhir-r5-core/Quantity"; -import type { Reference } from "../hl7-fhir-r5-core/Reference"; - -import type { Element } from "../hl7-fhir-r5-core/Element"; -export type { Attachment } from "../hl7-fhir-r5-core/Attachment"; -export type { BackboneElement } from "../hl7-fhir-r5-core/BackboneElement"; -export type { CodeableConcept } from "../hl7-fhir-r5-core/CodeableConcept"; -export type { CodeableReference } from "../hl7-fhir-r5-core/CodeableReference"; -export type { Identifier } from "../hl7-fhir-r5-core/Identifier"; -export type { Quantity } from "../hl7-fhir-r5-core/Quantity"; -export type { Reference } from "../hl7-fhir-r5-core/Reference"; - -export interface BodyStructureIncludedStructure extends BackboneElement { - bodyLandmarkOrientation?: BodyStructureIncludedStructureBodyLandmarkOrientation[]; - laterality?: CodeableConcept; - qualifier?: CodeableConcept[]; - spatialReference?: Reference<"ImagingSelection">[]; - structure: CodeableConcept; -} - -export interface BodyStructureIncludedStructureBodyLandmarkOrientation extends BackboneElement { - clockFacePosition?: CodeableConcept[]; - distanceFromLandmark?: BodyStructureIncludedStructureBodyLandmarkOrientationDistanceFromLandmark[]; - landmarkDescription?: CodeableConcept[]; - surfaceOrientation?: CodeableConcept<("7771000" | "24028007" | "51440002" | "46053002" | "255554000" | "264147007" | "261183002" | "261122009" | "255561001" | "49370004" | "264217000" | "261089000" | "255551008" | "351726001" | "352730000" | string)>[]; -} - -export interface BodyStructureIncludedStructureBodyLandmarkOrientationDistanceFromLandmark extends BackboneElement { - device?: CodeableReference[]; - value?: Quantity[]; -} - -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/BodyStructure (pkg: hl7.fhir.r5.core#5.0.0) -export interface BodyStructure extends DomainResource { - resourceType: "BodyStructure"; - - active?: boolean; - _active?: Element; - description?: string; - _description?: Element; - excludedStructure?: BodyStructureIncludedStructure[]; - identifier?: Identifier[]; - image?: Attachment[]; - includedStructure: BodyStructureIncludedStructure[]; - morphology?: CodeableConcept; - patient: Reference<"Patient">; -} -export const isBodyStructure = (resource: unknown): resource is BodyStructure => { - return resource !== null && typeof resource === "object" && (resource as {resourceType: string}).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 deleted file mode 100644 index f6471ba06..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/Bundle.ts +++ /dev/null @@ -1,69 +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 { BackboneElement } from "../hl7-fhir-r5-core/BackboneElement"; -import type { Identifier } from "../hl7-fhir-r5-core/Identifier"; -import type { Resource } from "../hl7-fhir-r5-core/Resource"; -import type { Signature } from "../hl7-fhir-r5-core/Signature"; - -import type { Element } from "../hl7-fhir-r5-core/Element"; -export type { BackboneElement } from "../hl7-fhir-r5-core/BackboneElement"; -export type { Identifier } from "../hl7-fhir-r5-core/Identifier"; -export type { Signature } from "../hl7-fhir-r5-core/Signature"; - -export interface BundleEntry extends BackboneElement { - fullUrl?: string; - link?: BundleLink[]; - request?: BundleEntryRequest; - resource?: Resource; - response?: BundleEntryResponse; - search?: BundleEntrySearch; -} - -export interface BundleEntryRequest extends BackboneElement { - ifMatch?: string; - ifModifiedSince?: string; - ifNoneExist?: string; - ifNoneMatch?: string; - method: ("GET" | "HEAD" | "POST" | "PUT" | "DELETE" | "PATCH"); - url: string; -} - -export interface BundleEntryResponse extends BackboneElement { - etag?: string; - lastModified?: string; - location?: string; - outcome?: Resource; - status: string; -} - -export interface BundleEntrySearch extends BackboneElement { - mode?: ("match" | "include" | "outcome"); - score?: number; -} - -export interface BundleLink extends BackboneElement { - relation: string; - url: string; -} - -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/Bundle (pkg: hl7.fhir.r5.core#5.0.0) -export interface Bundle extends Resource { - resourceType: "Bundle"; - - entry?: BundleEntry[]; - identifier?: Identifier; - issues?: Resource; - link?: BundleLink[]; - signature?: Signature; - timestamp?: string; - _timestamp?: Element; - total?: number; - _total?: Element; - type: ("document" | "message" | "transaction" | "transaction-response" | "batch" | "batch-response" | "history" | "searchset" | "collection"); - _type?: Element; -} -export const isBundle = (resource: unknown): resource is Bundle => { - return resource !== null && typeof resource === "object" && (resource as {resourceType: string}).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 deleted file mode 100644 index d10d72d52..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/CanonicalResource.ts +++ /dev/null @@ -1,57 +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 { Coding } from "../hl7-fhir-r5-core/Coding"; -import type { ContactDetail } from "../hl7-fhir-r5-core/ContactDetail"; -import type { DomainResource } from "../hl7-fhir-r5-core/DomainResource"; -import type { Identifier } from "../hl7-fhir-r5-core/Identifier"; -import type { UsageContext } from "../hl7-fhir-r5-core/UsageContext"; - -import type { Element } from "../hl7-fhir-r5-core/Element"; -export type { CodeableConcept } from "../hl7-fhir-r5-core/CodeableConcept"; -export type { Coding } from "../hl7-fhir-r5-core/Coding"; -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 (pkg: hl7.fhir.r5.core#5.0.0) -export interface CanonicalResource extends DomainResource { - resourceType: "CanonicalResource"; - - contact?: ContactDetail[]; - copyright?: string; - _copyright?: Element; - copyrightLabel?: string; - _copyrightLabel?: Element; - date?: string; - _date?: Element; - description?: string; - _description?: Element; - experimental?: boolean; - _experimental?: Element; - identifier?: Identifier[]; - jurisdiction?: CodeableConcept[]; - name?: string; - _name?: Element; - publisher?: string; - _publisher?: Element; - purpose?: string; - _purpose?: Element; - status: ("draft" | "active" | "retired" | "unknown"); - _status?: Element; - title?: string; - _title?: Element; - url?: string; - _url?: Element; - useContext?: UsageContext[]; - version?: string; - _version?: Element; - versionAlgorithmCoding?: Coding; - versionAlgorithmString?: string; - _versionAlgorithmString?: Element; -} -export const isCanonicalResource = (resource: unknown): resource is CanonicalResource => { - return resource !== null && typeof resource === "object" && (resource as {resourceType: string}).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 deleted file mode 100644 index 399a6072c..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/CapabilityStatement.ts +++ /dev/null @@ -1,178 +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 { BackboneElement } from "../hl7-fhir-r5-core/BackboneElement"; -import type { CodeableConcept } from "../hl7-fhir-r5-core/CodeableConcept"; -import type { Coding } from "../hl7-fhir-r5-core/Coding"; -import type { ContactDetail } from "../hl7-fhir-r5-core/ContactDetail"; -import type { DomainResource } from "../hl7-fhir-r5-core/DomainResource"; -import type { Identifier } from "../hl7-fhir-r5-core/Identifier"; -import type { Reference } from "../hl7-fhir-r5-core/Reference"; -import type { UsageContext } from "../hl7-fhir-r5-core/UsageContext"; - -import type { Element } from "../hl7-fhir-r5-core/Element"; -export type { BackboneElement } from "../hl7-fhir-r5-core/BackboneElement"; -export type { CodeableConcept } from "../hl7-fhir-r5-core/CodeableConcept"; -export type { Coding } from "../hl7-fhir-r5-core/Coding"; -export type { ContactDetail } from "../hl7-fhir-r5-core/ContactDetail"; -export type { Identifier } from "../hl7-fhir-r5-core/Identifier"; -export type { Reference } from "../hl7-fhir-r5-core/Reference"; -export type { UsageContext } from "../hl7-fhir-r5-core/UsageContext"; - -export interface CapabilityStatementDocument extends BackboneElement { - documentation?: string; - mode: ("producer" | "consumer"); - profile: string; -} - -export interface CapabilityStatementImplementation extends BackboneElement { - custodian?: Reference<"Organization">; - description: string; - url?: string; -} - -export interface CapabilityStatementMessaging extends BackboneElement { - documentation?: string; - endpoint?: CapabilityStatementMessagingEndpoint[]; - reliableCache?: number; - supportedMessage?: CapabilityStatementMessagingSupportedMessage[]; -} - -export interface CapabilityStatementMessagingEndpoint extends BackboneElement { - address: string; - protocol: Coding; -} - -export interface CapabilityStatementMessagingSupportedMessage extends BackboneElement { - definition: string; - mode: ("sender" | "receiver"); -} - -export interface CapabilityStatementRest extends BackboneElement { - compartment?: string[]; - documentation?: string; - interaction?: CapabilityStatementRestInteraction[]; - mode: ("client" | "server"); - operation?: CapabilityStatementRestResourceOperation[]; - resource?: CapabilityStatementRestResource[]; - searchParam?: CapabilityStatementRestResourceSearchParam[]; - security?: CapabilityStatementRestSecurity; -} - -export interface CapabilityStatementRestInteraction extends BackboneElement { - code: ("transaction" | "batch" | "search-system" | "history-system"); - documentation?: string; -} - -export interface CapabilityStatementRestResource extends BackboneElement { - conditionalCreate?: boolean; - conditionalDelete?: ("not-supported" | "single" | "multiple"); - conditionalPatch?: boolean; - conditionalRead?: ("not-supported" | "modified-since" | "not-match" | "full-support"); - conditionalUpdate?: boolean; - documentation?: string; - interaction?: CapabilityStatementRestResourceInteraction[]; - operation?: CapabilityStatementRestResourceOperation[]; - profile?: string; - readHistory?: boolean; - referencePolicy?: ("literal" | "logical" | "resolves" | "enforced" | "local")[]; - searchInclude?: string[]; - searchParam?: CapabilityStatementRestResourceSearchParam[]; - searchRevInclude?: string[]; - supportedProfile?: string[]; - type: string; - updateCreate?: boolean; - versioning?: ("no-version" | "versioned" | "versioned-update"); -} - -export interface CapabilityStatementRestResourceInteraction extends BackboneElement { - code: ("read" | "vread" | "update" | "patch" | "delete" | "history-instance" | "history-type" | "create" | "search-type"); - documentation?: string; -} - -export interface CapabilityStatementRestResourceOperation extends BackboneElement { - definition: string; - documentation?: string; - name: string; -} - -export interface CapabilityStatementRestResourceSearchParam extends BackboneElement { - definition?: string; - documentation?: string; - name: string; - type: ("number" | "date" | "string" | "token" | "reference" | "composite" | "quantity" | "uri" | "special"); -} - -export interface CapabilityStatementRestSecurity extends BackboneElement { - cors?: boolean; - description?: string; - service?: CodeableConcept[]; -} - -export interface CapabilityStatementSoftware extends BackboneElement { - name: string; - releaseDate?: string; - version?: string; -} - -// 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 | null)[]; - contact?: ContactDetail[]; - copyright?: string; - _copyright?: Element; - copyrightLabel?: string; - _copyrightLabel?: Element; - date: string; - _date?: Element; - description?: string; - _description?: Element; - document?: CapabilityStatementDocument[]; - 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; - format: string[]; - _format?: (Element | null)[]; - identifier?: Identifier[]; - implementation?: CapabilityStatementImplementation; - implementationGuide?: string[]; - _implementationGuide?: (Element | null)[]; - imports?: string[]; - _imports?: (Element | null)[]; - instantiates?: string[]; - _instantiates?: (Element | null)[]; - jurisdiction?: CodeableConcept[]; - kind: ("instance" | "capability" | "requirements"); - _kind?: Element; - messaging?: CapabilityStatementMessaging[]; - name?: string; - _name?: Element; - patchFormat?: string[]; - _patchFormat?: (Element | null)[]; - publisher?: string; - _publisher?: Element; - purpose?: string; - _purpose?: Element; - rest?: CapabilityStatementRest[]; - software?: CapabilityStatementSoftware; - status: ("draft" | "active" | "retired" | "unknown"); - _status?: Element; - title?: string; - _title?: Element; - url?: string; - _url?: Element; - useContext?: UsageContext[]; - version?: string; - _version?: Element; - versionAlgorithmCoding?: Coding; - versionAlgorithmString?: string; - _versionAlgorithmString?: Element; -} -export const isCapabilityStatement = (resource: unknown): resource is CapabilityStatement => { - return resource !== null && typeof resource === "object" && (resource as {resourceType: string}).resourceType === "CapabilityStatement"; -} 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 deleted file mode 100644 index bc41da78e..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/CarePlan.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 { Annotation } from "../hl7-fhir-r5-core/Annotation"; -import type { BackboneElement } from "../hl7-fhir-r5-core/BackboneElement"; -import type { CodeableConcept } from "../hl7-fhir-r5-core/CodeableConcept"; -import type { CodeableReference } from "../hl7-fhir-r5-core/CodeableReference"; -import type { DomainResource } from "../hl7-fhir-r5-core/DomainResource"; -import type { Identifier } from "../hl7-fhir-r5-core/Identifier"; -import type { Period } from "../hl7-fhir-r5-core/Period"; -import type { Reference } from "../hl7-fhir-r5-core/Reference"; - -import type { Element } from "../hl7-fhir-r5-core/Element"; -export type { Annotation } from "../hl7-fhir-r5-core/Annotation"; -export type { BackboneElement } from "../hl7-fhir-r5-core/BackboneElement"; -export type { CodeableConcept } from "../hl7-fhir-r5-core/CodeableConcept"; -export type { CodeableReference } from "../hl7-fhir-r5-core/CodeableReference"; -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"; - -export interface CarePlanActivity extends BackboneElement { - performedActivity?: CodeableReference[]; - plannedActivityReference?: Reference<"Appointment" | "CommunicationRequest" | "DeviceRequest" | "ImmunizationRecommendation" | "MedicationRequest" | "NutritionOrder" | "RequestOrchestration" | "ServiceRequest" | "SupplyRequest" | "Task" | "VisionPrescription">; - progress?: Annotation[]; -} - -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/CarePlan (pkg: hl7.fhir.r5.core#5.0.0) -export interface CarePlan extends DomainResource { - resourceType: "CarePlan"; - - activity?: CarePlanActivity[]; - addresses?: CodeableReference[]; - basedOn?: Reference<"CarePlan" | "NutritionOrder" | "RequestOrchestration" | "ServiceRequest">[]; - careTeam?: Reference<"CareTeam">[]; - category?: CodeableConcept[]; - contributor?: Reference<"CareTeam" | "Device" | "Organization" | "Patient" | "Practitioner" | "PractitionerRole" | "RelatedPerson">[]; - created?: string; - _created?: Element; - custodian?: Reference<"CareTeam" | "Device" | "Organization" | "Patient" | "Practitioner" | "PractitionerRole" | "RelatedPerson">; - description?: string; - _description?: Element; - encounter?: Reference<"Encounter">; - goal?: Reference<"Goal">[]; - identifier?: Identifier[]; - instantiatesCanonical?: string[]; - _instantiatesCanonical?: (Element | null)[]; - instantiatesUri?: string[]; - _instantiatesUri?: (Element | null)[]; - intent: ("proposal" | "plan" | "order" | "option" | "directive"); - _intent?: Element; - note?: Annotation[]; - partOf?: Reference<"CarePlan">[]; - period?: Period; - replaces?: Reference<"CarePlan">[]; - status: ("draft" | "active" | "on-hold" | "revoked" | "completed" | "entered-in-error" | "unknown"); - _status?: Element; - subject: Reference<"Group" | "Patient">; - supportingInfo?: Reference<"Resource">[]; - title?: string; - _title?: Element; -} -export const isCarePlan = (resource: unknown): resource is CarePlan => { - return resource !== null && typeof resource === "object" && (resource as {resourceType: string}).resourceType === "CarePlan"; -} 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 deleted file mode 100644 index 4feab016d..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/CareTeam.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 { Annotation } from "../hl7-fhir-r5-core/Annotation"; -import type { BackboneElement } from "../hl7-fhir-r5-core/BackboneElement"; -import type { CodeableConcept } from "../hl7-fhir-r5-core/CodeableConcept"; -import type { CodeableReference } from "../hl7-fhir-r5-core/CodeableReference"; -import type { ContactPoint } from "../hl7-fhir-r5-core/ContactPoint"; -import type { DomainResource } from "../hl7-fhir-r5-core/DomainResource"; -import type { Identifier } from "../hl7-fhir-r5-core/Identifier"; -import type { Period } from "../hl7-fhir-r5-core/Period"; -import type { Reference } from "../hl7-fhir-r5-core/Reference"; -import type { Timing } from "../hl7-fhir-r5-core/Timing"; - -import type { Element } from "../hl7-fhir-r5-core/Element"; -export type { Annotation } from "../hl7-fhir-r5-core/Annotation"; -export type { BackboneElement } from "../hl7-fhir-r5-core/BackboneElement"; -export type { CodeableConcept } from "../hl7-fhir-r5-core/CodeableConcept"; -export type { CodeableReference } from "../hl7-fhir-r5-core/CodeableReference"; -export type { ContactPoint } from "../hl7-fhir-r5-core/ContactPoint"; -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"; -export type { Timing } from "../hl7-fhir-r5-core/Timing"; - -export interface CareTeamParticipant extends BackboneElement { - coveragePeriod?: Period; - coverageTiming?: Timing; - member?: Reference<"CareTeam" | "Organization" | "Patient" | "Practitioner" | "PractitionerRole" | "RelatedPerson">; - onBehalfOf?: Reference<"Organization">; - role?: CodeableConcept; -} - -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/CareTeam (pkg: hl7.fhir.r5.core#5.0.0) -export interface CareTeam extends DomainResource { - resourceType: "CareTeam"; - - category?: CodeableConcept[]; - identifier?: Identifier[]; - managingOrganization?: Reference<"Organization">[]; - name?: string; - _name?: Element; - note?: Annotation[]; - participant?: CareTeamParticipant[]; - period?: Period; - reason?: CodeableReference[]; - status?: ("proposed" | "active" | "suspended" | "inactive" | "entered-in-error"); - _status?: Element; - subject?: Reference<"Group" | "Patient">; - telecom?: ContactPoint[]; -} -export const isCareTeam = (resource: unknown): resource is CareTeam => { - return resource !== null && typeof resource === "object" && (resource as {resourceType: string}).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 deleted file mode 100644 index afce9f005..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/ChargeItem.ts +++ /dev/null @@ -1,74 +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 { Annotation } from "../hl7-fhir-r5-core/Annotation"; -import type { BackboneElement } from "../hl7-fhir-r5-core/BackboneElement"; -import type { CodeableConcept } from "../hl7-fhir-r5-core/CodeableConcept"; -import type { CodeableReference } from "../hl7-fhir-r5-core/CodeableReference"; -import type { DomainResource } from "../hl7-fhir-r5-core/DomainResource"; -import type { Identifier } from "../hl7-fhir-r5-core/Identifier"; -import type { MonetaryComponent } from "../hl7-fhir-r5-core/MonetaryComponent"; -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"; -import type { Timing } from "../hl7-fhir-r5-core/Timing"; - -import type { Element } from "../hl7-fhir-r5-core/Element"; -export type { Annotation } from "../hl7-fhir-r5-core/Annotation"; -export type { BackboneElement } from "../hl7-fhir-r5-core/BackboneElement"; -export type { CodeableConcept } from "../hl7-fhir-r5-core/CodeableConcept"; -export type { CodeableReference } from "../hl7-fhir-r5-core/CodeableReference"; -export type { Identifier } from "../hl7-fhir-r5-core/Identifier"; -export type { MonetaryComponent } from "../hl7-fhir-r5-core/MonetaryComponent"; -export type { Period } from "../hl7-fhir-r5-core/Period"; -export type { Quantity } from "../hl7-fhir-r5-core/Quantity"; -export type { Reference } from "../hl7-fhir-r5-core/Reference"; -export type { Timing } from "../hl7-fhir-r5-core/Timing"; - -export interface ChargeItemPerformer extends BackboneElement { - actor: Reference<"CareTeam" | "Device" | "HealthcareService" | "Organization" | "Patient" | "Practitioner" | "PractitionerRole" | "RelatedPerson">; - "function"?: CodeableConcept; -} - -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/ChargeItem (pkg: hl7.fhir.r5.core#5.0.0) -export interface ChargeItem extends DomainResource { - resourceType: "ChargeItem"; - - account?: Reference<"Account">[]; - bodysite?: CodeableConcept[]; - code: CodeableConcept; - costCenter?: Reference<"Organization">; - definitionCanonical?: string[]; - _definitionCanonical?: (Element | null)[]; - definitionUri?: string[]; - _definitionUri?: (Element | null)[]; - encounter?: Reference<"Encounter">; - enteredDate?: string; - _enteredDate?: Element; - enterer?: Reference<"Device" | "Organization" | "Patient" | "Practitioner" | "PractitionerRole" | "RelatedPerson">; - identifier?: Identifier[]; - note?: Annotation[]; - occurrenceDateTime?: string; - _occurrenceDateTime?: Element; - occurrencePeriod?: Period; - occurrenceTiming?: Timing; - overrideReason?: CodeableConcept; - partOf?: Reference<"ChargeItem">[]; - performer?: ChargeItemPerformer[]; - performingOrganization?: Reference<"Organization">; - product?: CodeableReference[]; - quantity?: Quantity; - reason?: CodeableConcept[]; - requestingOrganization?: Reference<"Organization">; - service?: CodeableReference[]; - status: ("planned" | "billable" | "not-billable" | "aborted" | "billed" | "entered-in-error" | "unknown"); - _status?: Element; - subject: Reference<"Group" | "Patient">; - supportingInformation?: Reference<"Resource">[]; - totalPriceComponent?: MonetaryComponent; - unitPriceComponent?: MonetaryComponent; -} -export const isChargeItem = (resource: unknown): resource is ChargeItem => { - return resource !== null && typeof resource === "object" && (resource as {resourceType: string}).resourceType === "ChargeItem"; -} 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 deleted file mode 100644 index fefeaedc7..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/ChargeItemDefinition.ts +++ /dev/null @@ -1,94 +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 { BackboneElement } from "../hl7-fhir-r5-core/BackboneElement"; -import type { CodeableConcept } from "../hl7-fhir-r5-core/CodeableConcept"; -import type { Coding } from "../hl7-fhir-r5-core/Coding"; -import type { ContactDetail } from "../hl7-fhir-r5-core/ContactDetail"; -import type { DomainResource } from "../hl7-fhir-r5-core/DomainResource"; -import type { Expression } from "../hl7-fhir-r5-core/Expression"; -import type { Identifier } from "../hl7-fhir-r5-core/Identifier"; -import type { MonetaryComponent } from "../hl7-fhir-r5-core/MonetaryComponent"; -import type { Period } from "../hl7-fhir-r5-core/Period"; -import type { Reference } from "../hl7-fhir-r5-core/Reference"; -import type { RelatedArtifact } from "../hl7-fhir-r5-core/RelatedArtifact"; -import type { UsageContext } from "../hl7-fhir-r5-core/UsageContext"; - -import type { Element } from "../hl7-fhir-r5-core/Element"; -export type { BackboneElement } from "../hl7-fhir-r5-core/BackboneElement"; -export type { CodeableConcept } from "../hl7-fhir-r5-core/CodeableConcept"; -export type { Coding } from "../hl7-fhir-r5-core/Coding"; -export type { ContactDetail } from "../hl7-fhir-r5-core/ContactDetail"; -export type { Expression } from "../hl7-fhir-r5-core/Expression"; -export type { Identifier } from "../hl7-fhir-r5-core/Identifier"; -export type { MonetaryComponent } from "../hl7-fhir-r5-core/MonetaryComponent"; -export type { Period } from "../hl7-fhir-r5-core/Period"; -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"; - -export interface ChargeItemDefinitionApplicability extends BackboneElement { - condition?: Expression; - effectivePeriod?: Period; - relatedArtifact?: RelatedArtifact; -} - -export interface ChargeItemDefinitionPropertyGroup extends BackboneElement { - applicability?: ChargeItemDefinitionApplicability[]; - priceComponent?: MonetaryComponent[]; -} - -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/ChargeItemDefinition (pkg: hl7.fhir.r5.core#5.0.0) -export interface ChargeItemDefinition extends DomainResource { - resourceType: "ChargeItemDefinition"; - - applicability?: ChargeItemDefinitionApplicability[]; - approvalDate?: string; - _approvalDate?: Element; - code?: CodeableConcept; - contact?: ContactDetail[]; - copyright?: string; - _copyright?: Element; - copyrightLabel?: string; - _copyrightLabel?: Element; - date?: string; - _date?: Element; - derivedFromUri?: string[]; - _derivedFromUri?: (Element | null)[]; - description?: string; - _description?: Element; - experimental?: boolean; - _experimental?: Element; - identifier?: Identifier[]; - instance?: Reference<"ActivityDefinition" | "Device" | "DeviceDefinition" | "HealthcareService" | "Medication" | "PlanDefinition" | "Substance">[]; - jurisdiction?: CodeableConcept[]; - lastReviewDate?: string; - _lastReviewDate?: Element; - name?: string; - _name?: Element; - partOf?: string[]; - _partOf?: (Element | null)[]; - propertyGroup?: ChargeItemDefinitionPropertyGroup[]; - publisher?: string; - _publisher?: Element; - purpose?: string; - _purpose?: Element; - replaces?: string[]; - _replaces?: (Element | null)[]; - status: ("draft" | "active" | "retired" | "unknown"); - _status?: Element; - title?: string; - _title?: Element; - url?: string; - _url?: Element; - useContext?: UsageContext[]; - version?: string; - _version?: Element; - versionAlgorithmCoding?: Coding; - versionAlgorithmString?: string; - _versionAlgorithmString?: Element; -} -export const isChargeItemDefinition = (resource: unknown): resource is ChargeItemDefinition => { - return resource !== null && typeof resource === "object" && (resource as {resourceType: string}).resourceType === "ChargeItemDefinition"; -} 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 deleted file mode 100644 index b80706e7b..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/Citation.ts +++ /dev/null @@ -1,226 +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 { Annotation } from "../hl7-fhir-r5-core/Annotation"; -import type { Attachment } from "../hl7-fhir-r5-core/Attachment"; -import type { BackboneElement } from "../hl7-fhir-r5-core/BackboneElement"; -import type { CodeableConcept } from "../hl7-fhir-r5-core/CodeableConcept"; -import type { Coding } from "../hl7-fhir-r5-core/Coding"; -import type { ContactDetail } from "../hl7-fhir-r5-core/ContactDetail"; -import type { DomainResource } from "../hl7-fhir-r5-core/DomainResource"; -import type { Identifier } from "../hl7-fhir-r5-core/Identifier"; -import type { Period } from "../hl7-fhir-r5-core/Period"; -import type { Reference } from "../hl7-fhir-r5-core/Reference"; -import type { RelatedArtifact } from "../hl7-fhir-r5-core/RelatedArtifact"; -import type { UsageContext } from "../hl7-fhir-r5-core/UsageContext"; - -import type { Element } from "../hl7-fhir-r5-core/Element"; -export type { Annotation } from "../hl7-fhir-r5-core/Annotation"; -export type { Attachment } from "../hl7-fhir-r5-core/Attachment"; -export type { BackboneElement } from "../hl7-fhir-r5-core/BackboneElement"; -export type { CodeableConcept } from "../hl7-fhir-r5-core/CodeableConcept"; -export type { Coding } from "../hl7-fhir-r5-core/Coding"; -export type { ContactDetail } from "../hl7-fhir-r5-core/ContactDetail"; -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"; -export type { RelatedArtifact } from "../hl7-fhir-r5-core/RelatedArtifact"; -export type { UsageContext } from "../hl7-fhir-r5-core/UsageContext"; - -export interface CitationCitedArtifact extends BackboneElement { - abstract?: CitationCitedArtifactAbstract[]; - classification?: CitationCitedArtifactClassification[]; - contributorship?: CitationCitedArtifactContributorship; - currentState?: CodeableConcept[]; - dateAccessed?: string; - identifier?: Identifier[]; - note?: Annotation[]; - part?: CitationCitedArtifactPart; - publicationForm?: CitationCitedArtifactPublicationForm[]; - relatedIdentifier?: Identifier[]; - relatesTo?: CitationCitedArtifactRelatesTo[]; - statusDate?: CitationCitedArtifactStatusDate[]; - title?: CitationCitedArtifactTitle[]; - version?: CitationCitedArtifactVersion; - webLocation?: CitationCitedArtifactWebLocation[]; -} - -export interface CitationCitedArtifactAbstract extends BackboneElement { - copyright?: string; - 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; -} - -export interface CitationCitedArtifactClassification extends BackboneElement { - artifactAssessment?: Reference<"ArtifactAssessment">[]; - classifier?: CodeableConcept[]; - type?: CodeableConcept; -} - -export interface CitationCitedArtifactContributorship extends BackboneElement { - complete?: boolean; - entry?: CitationCitedArtifactContributorshipEntry[]; - summary?: CitationCitedArtifactContributorshipSummary[]; -} - -export interface CitationCitedArtifactContributorshipEntry extends BackboneElement { - affiliation?: Reference<"Organization" | "PractitionerRole">[]; - contributionInstance?: CitationCitedArtifactContributorshipEntryContributionInstance[]; - contributionType?: CodeableConcept[]; - contributor: Reference<"Organization" | "Practitioner">; - correspondingContact?: boolean; - forenameInitials?: string; - rankingOrder?: number; - role?: CodeableConcept; -} - -export interface CitationCitedArtifactContributorshipEntryContributionInstance extends BackboneElement { - time?: string; - type: CodeableConcept; -} - -export interface CitationCitedArtifactContributorshipSummary extends BackboneElement { - source?: CodeableConcept; - style?: CodeableConcept; - type?: CodeableConcept; - value: string; -} - -export interface CitationCitedArtifactPart extends BackboneElement { - baseCitation?: Reference<"Citation">; - type?: CodeableConcept; - value?: string; -} - -export interface CitationCitedArtifactPublicationForm extends BackboneElement { - accessionNumber?: string; - articleDate?: string; - citedMedium?: CodeableConcept; - copyright?: string; - firstPage?: string; - issue?: string; - 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; - pageString?: string; - publicationDateSeason?: string; - publicationDateText?: string; - publishedIn?: CitationCitedArtifactPublicationFormPublishedIn; - volume?: string; -} - -export interface CitationCitedArtifactPublicationFormPublishedIn extends BackboneElement { - identifier?: Identifier[]; - publisher?: Reference<"Organization">; - publisherLocation?: string; - title?: string; - type?: CodeableConcept; -} - -export interface CitationCitedArtifactRelatesTo extends BackboneElement { - citation?: string; - classifier?: CodeableConcept[]; - display?: string; - document?: Attachment; - label?: string; - resource?: string; - resourceReference?: Reference; - type: ("documentation" | "justification" | "citation" | "predecessor" | "successor" | "derived-from" | "depends-on" | "composed-of"); -} - -export interface CitationCitedArtifactStatusDate extends BackboneElement { - activity: CodeableConcept; - actual?: boolean; - period: Period; -} - -export interface CitationCitedArtifactTitle extends BackboneElement { - 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[]; -} - -export interface CitationCitedArtifactVersion extends BackboneElement { - baseCitation?: Reference<"Citation">; - value: string; -} - -export interface CitationCitedArtifactWebLocation extends BackboneElement { - classifier?: CodeableConcept[]; - url?: string; -} - -export interface CitationClassification extends BackboneElement { - classifier?: CodeableConcept[]; - type?: CodeableConcept; -} - -export interface CitationStatusDate extends BackboneElement { - activity: CodeableConcept; - actual?: boolean; - period: Period; -} - -export interface CitationSummary extends BackboneElement { - style?: CodeableConcept; - text: string; -} - -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/Citation (pkg: hl7.fhir.r5.core#5.0.0) -export interface Citation extends DomainResource { - resourceType: "Citation"; - - approvalDate?: string; - _approvalDate?: Element; - author?: ContactDetail[]; - citedArtifact?: CitationCitedArtifact; - classification?: CitationClassification[]; - contact?: ContactDetail[]; - copyright?: string; - _copyright?: Element; - copyrightLabel?: string; - _copyrightLabel?: Element; - currentState?: CodeableConcept[]; - date?: string; - _date?: Element; - description?: string; - _description?: Element; - editor?: ContactDetail[]; - effectivePeriod?: Period; - endorser?: ContactDetail[]; - experimental?: boolean; - _experimental?: Element; - identifier?: Identifier[]; - jurisdiction?: CodeableConcept[]; - lastReviewDate?: string; - _lastReviewDate?: Element; - name?: string; - _name?: Element; - note?: Annotation[]; - publisher?: string; - _publisher?: Element; - purpose?: string; - _purpose?: Element; - relatedArtifact?: RelatedArtifact[]; - reviewer?: ContactDetail[]; - status: ("draft" | "active" | "retired" | "unknown"); - _status?: Element; - statusDate?: CitationStatusDate[]; - summary?: CitationSummary[]; - title?: string; - _title?: Element; - url?: string; - _url?: Element; - useContext?: UsageContext[]; - version?: string; - _version?: Element; - versionAlgorithmCoding?: Coding; - versionAlgorithmString?: string; - _versionAlgorithmString?: Element; -} -export const isCitation = (resource: unknown): resource is Citation => { - return resource !== null && typeof resource === "object" && (resource as {resourceType: string}).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 deleted file mode 100644 index 5b43265ec..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/Claim.ts +++ /dev/null @@ -1,218 +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 { Address } from "../hl7-fhir-r5-core/Address"; -import type { Attachment } from "../hl7-fhir-r5-core/Attachment"; -import type { BackboneElement } from "../hl7-fhir-r5-core/BackboneElement"; -import type { CodeableConcept } from "../hl7-fhir-r5-core/CodeableConcept"; -import type { CodeableReference } from "../hl7-fhir-r5-core/CodeableReference"; -import type { DomainResource } from "../hl7-fhir-r5-core/DomainResource"; -import type { Identifier } from "../hl7-fhir-r5-core/Identifier"; -import type { Money } from "../hl7-fhir-r5-core/Money"; -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"; - -import type { Element } from "../hl7-fhir-r5-core/Element"; -export type { Address } from "../hl7-fhir-r5-core/Address"; -export type { Attachment } from "../hl7-fhir-r5-core/Attachment"; -export type { BackboneElement } from "../hl7-fhir-r5-core/BackboneElement"; -export type { CodeableConcept } from "../hl7-fhir-r5-core/CodeableConcept"; -export type { CodeableReference } from "../hl7-fhir-r5-core/CodeableReference"; -export type { Identifier } from "../hl7-fhir-r5-core/Identifier"; -export type { Money } from "../hl7-fhir-r5-core/Money"; -export type { Period } from "../hl7-fhir-r5-core/Period"; -export type { Quantity } from "../hl7-fhir-r5-core/Quantity"; -export type { Reference } from "../hl7-fhir-r5-core/Reference"; - -export interface ClaimAccident extends BackboneElement { - date: string; - locationAddress?: Address; - locationReference?: Reference<"Location">; - type?: CodeableConcept; -} - -export interface ClaimCareTeam extends BackboneElement { - provider: Reference<"Organization" | "Practitioner" | "PractitionerRole">; - responsible?: boolean; - role?: CodeableConcept; - sequence: number; - specialty?: CodeableConcept; -} - -export interface ClaimDiagnosis extends BackboneElement { - diagnosisCodeableConcept?: CodeableConcept; - diagnosisReference?: Reference<"Condition">; - onAdmission?: CodeableConcept; - sequence: number; - type?: CodeableConcept[]; -} - -export interface ClaimEvent extends BackboneElement { - type: CodeableConcept; - whenDateTime?: string; - whenPeriod?: Period; -} - -export interface ClaimInsurance extends BackboneElement { - businessArrangement?: string; - claimResponse?: Reference<"ClaimResponse">; - coverage: Reference<"Coverage">; - focal: boolean; - identifier?: Identifier; - preAuthRef?: string[]; - sequence: number; -} - -export interface ClaimItem extends BackboneElement { - bodySite?: ClaimItemBodySite[]; - careTeamSequence?: number[]; - category?: CodeableConcept; - detail?: ClaimItemDetail[]; - diagnosisSequence?: number[]; - encounter?: Reference<"Encounter">[]; - factor?: number; - informationSequence?: number[]; - locationAddress?: Address; - locationCodeableConcept?: CodeableConcept; - locationReference?: Reference<"Location">; - modifier?: CodeableConcept[]; - net?: Money; - patientPaid?: Money; - procedureSequence?: number[]; - productOrService?: CodeableConcept; - productOrServiceEnd?: CodeableConcept; - programCode?: CodeableConcept[]; - quantity?: Quantity; - request?: Reference<"DeviceRequest" | "MedicationRequest" | "NutritionOrder" | "ServiceRequest" | "SupplyRequest" | "VisionPrescription">[]; - revenue?: CodeableConcept; - sequence: number; - servicedDate?: string; - servicedPeriod?: Period; - tax?: Money; - traceNumber?: Identifier[]; - udi?: Reference<"Device">[]; - unitPrice?: Money; -} - -export interface ClaimItemBodySite extends BackboneElement { - site: CodeableReference[]; - subSite?: CodeableConcept[]; -} - -export interface ClaimItemDetail extends BackboneElement { - category?: CodeableConcept; - factor?: number; - modifier?: CodeableConcept[]; - net?: Money; - patientPaid?: Money; - productOrService?: CodeableConcept; - productOrServiceEnd?: CodeableConcept; - programCode?: CodeableConcept[]; - quantity?: Quantity; - revenue?: CodeableConcept; - sequence: number; - subDetail?: ClaimItemDetailSubDetail[]; - tax?: Money; - traceNumber?: Identifier[]; - udi?: Reference<"Device">[]; - unitPrice?: Money; -} - -export interface ClaimItemDetailSubDetail extends BackboneElement { - category?: CodeableConcept; - factor?: number; - modifier?: CodeableConcept[]; - net?: Money; - patientPaid?: Money; - productOrService?: CodeableConcept; - productOrServiceEnd?: CodeableConcept; - programCode?: CodeableConcept[]; - quantity?: Quantity; - revenue?: CodeableConcept; - sequence: number; - tax?: Money; - traceNumber?: Identifier[]; - udi?: Reference<"Device">[]; - unitPrice?: Money; -} - -export interface ClaimPayee extends BackboneElement { - party?: Reference<"Organization" | "Patient" | "Practitioner" | "PractitionerRole" | "RelatedPerson">; - type: CodeableConcept; -} - -export interface ClaimProcedure extends BackboneElement { - date?: string; - procedureCodeableConcept?: CodeableConcept; - procedureReference?: Reference<"Procedure">; - sequence: number; - type?: CodeableConcept[]; - udi?: Reference<"Device">[]; -} - -export interface ClaimRelated extends BackboneElement { - claim?: Reference<"Claim">; - reference?: Identifier; - relationship?: CodeableConcept; -} - -export interface ClaimSupportingInfo extends BackboneElement { - category: CodeableConcept; - code?: CodeableConcept; - reason?: CodeableConcept; - sequence: number; - timingDate?: string; - timingPeriod?: Period; - valueAttachment?: Attachment; - valueBoolean?: boolean; - valueIdentifier?: Identifier; - valueQuantity?: Quantity; - valueReference?: Reference<"Resource">; - valueString?: string; -} - -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/Claim (pkg: hl7.fhir.r5.core#5.0.0) -export interface Claim extends DomainResource { - resourceType: "Claim"; - - accident?: ClaimAccident; - billablePeriod?: Period; - careTeam?: ClaimCareTeam[]; - created: string; - _created?: Element; - diagnosis?: ClaimDiagnosis[]; - diagnosisRelatedGroup?: CodeableConcept; - encounter?: Reference<"Encounter">[]; - enterer?: Reference<"Patient" | "Practitioner" | "PractitionerRole" | "RelatedPerson">; - event?: ClaimEvent[]; - facility?: Reference<"Location" | "Organization">; - fundsReserve?: CodeableConcept; - identifier?: Identifier[]; - insurance?: ClaimInsurance[]; - insurer?: Reference<"Organization">; - item?: ClaimItem[]; - originalPrescription?: Reference<"DeviceRequest" | "MedicationRequest" | "VisionPrescription">; - patient: Reference<"Patient">; - patientPaid?: Money; - payee?: ClaimPayee; - prescription?: Reference<"DeviceRequest" | "MedicationRequest" | "VisionPrescription">; - priority?: CodeableConcept; - procedure?: ClaimProcedure[]; - provider?: Reference<"Organization" | "Practitioner" | "PractitionerRole">; - referral?: Reference<"ServiceRequest">; - related?: ClaimRelated[]; - status: ("active" | "cancelled" | "draft" | "entered-in-error"); - _status?: Element; - subType?: CodeableConcept; - supportingInfo?: ClaimSupportingInfo[]; - total?: Money; - traceNumber?: Identifier[]; - type: CodeableConcept<("institutional" | "oral" | "pharmacy" | "professional" | "vision" | string)>; - use: ("claim" | "preauthorization" | "predetermination"); - _use?: Element; -} -export const isClaim = (resource: unknown): resource is Claim => { - return resource !== null && typeof resource === "object" && (resource as {resourceType: string}).resourceType === "Claim"; -} 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 deleted file mode 100644 index 0b5b39025..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/ClaimResponse.ts +++ /dev/null @@ -1,224 +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 { Address } from "../hl7-fhir-r5-core/Address"; -import type { Attachment } from "../hl7-fhir-r5-core/Attachment"; -import type { BackboneElement } from "../hl7-fhir-r5-core/BackboneElement"; -import type { CodeableConcept } from "../hl7-fhir-r5-core/CodeableConcept"; -import type { CodeableReference } from "../hl7-fhir-r5-core/CodeableReference"; -import type { DomainResource } from "../hl7-fhir-r5-core/DomainResource"; -import type { Identifier } from "../hl7-fhir-r5-core/Identifier"; -import type { Money } from "../hl7-fhir-r5-core/Money"; -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"; - -import type { Element } from "../hl7-fhir-r5-core/Element"; -export type { Address } from "../hl7-fhir-r5-core/Address"; -export type { Attachment } from "../hl7-fhir-r5-core/Attachment"; -export type { BackboneElement } from "../hl7-fhir-r5-core/BackboneElement"; -export type { CodeableConcept } from "../hl7-fhir-r5-core/CodeableConcept"; -export type { CodeableReference } from "../hl7-fhir-r5-core/CodeableReference"; -export type { Identifier } from "../hl7-fhir-r5-core/Identifier"; -export type { Money } from "../hl7-fhir-r5-core/Money"; -export type { Period } from "../hl7-fhir-r5-core/Period"; -export type { Quantity } from "../hl7-fhir-r5-core/Quantity"; -export type { Reference } from "../hl7-fhir-r5-core/Reference"; - -export interface ClaimResponseAddItem extends BackboneElement { - adjudication?: ClaimResponseItemAdjudication[]; - bodySite?: ClaimResponseAddItemBodySite[]; - detail?: ClaimResponseAddItemDetail[]; - detailSequence?: number[]; - factor?: number; - itemSequence?: number[]; - locationAddress?: Address; - locationCodeableConcept?: CodeableConcept; - locationReference?: Reference<"Location">; - modifier?: CodeableConcept[]; - net?: Money; - noteNumber?: number[]; - productOrService?: CodeableConcept; - productOrServiceEnd?: CodeableConcept; - programCode?: CodeableConcept[]; - provider?: Reference<"Organization" | "Practitioner" | "PractitionerRole">[]; - quantity?: Quantity; - request?: Reference<"DeviceRequest" | "MedicationRequest" | "NutritionOrder" | "ServiceRequest" | "SupplyRequest" | "VisionPrescription">[]; - revenue?: CodeableConcept; - reviewOutcome?: ClaimResponseItemReviewOutcome; - servicedDate?: string; - servicedPeriod?: Period; - subdetailSequence?: number[]; - tax?: Money; - traceNumber?: Identifier[]; - unitPrice?: Money; -} - -export interface ClaimResponseAddItemBodySite extends BackboneElement { - site: CodeableReference[]; - subSite?: CodeableConcept[]; -} - -export interface ClaimResponseAddItemDetail extends BackboneElement { - adjudication?: ClaimResponseItemAdjudication[]; - factor?: number; - modifier?: CodeableConcept[]; - net?: Money; - noteNumber?: number[]; - productOrService?: CodeableConcept; - productOrServiceEnd?: CodeableConcept; - quantity?: Quantity; - revenue?: CodeableConcept; - reviewOutcome?: ClaimResponseItemReviewOutcome; - subDetail?: ClaimResponseAddItemDetailSubDetail[]; - tax?: Money; - traceNumber?: Identifier[]; - unitPrice?: Money; -} - -export interface ClaimResponseAddItemDetailSubDetail extends BackboneElement { - adjudication?: ClaimResponseItemAdjudication[]; - factor?: number; - modifier?: CodeableConcept[]; - net?: Money; - noteNumber?: number[]; - productOrService?: CodeableConcept; - productOrServiceEnd?: CodeableConcept; - quantity?: Quantity; - revenue?: CodeableConcept; - reviewOutcome?: ClaimResponseItemReviewOutcome; - tax?: Money; - traceNumber?: Identifier[]; - unitPrice?: Money; -} - -export interface ClaimResponseError extends BackboneElement { - code: CodeableConcept; - detailSequence?: number; - expression?: string[]; - itemSequence?: number; - subDetailSequence?: number; -} - -export interface ClaimResponseEvent extends BackboneElement { - type: CodeableConcept; - whenDateTime?: string; - whenPeriod?: Period; -} - -export interface ClaimResponseInsurance extends BackboneElement { - businessArrangement?: string; - claimResponse?: Reference<"ClaimResponse">; - coverage: Reference<"Coverage">; - focal: boolean; - sequence: number; -} - -export interface ClaimResponseItem extends BackboneElement { - adjudication?: ClaimResponseItemAdjudication[]; - detail?: ClaimResponseItemDetail[]; - itemSequence: number; - noteNumber?: number[]; - reviewOutcome?: ClaimResponseItemReviewOutcome; - traceNumber?: Identifier[]; -} - -export interface ClaimResponseItemAdjudication extends BackboneElement { - amount?: Money; - category: CodeableConcept; - quantity?: Quantity; - reason?: CodeableConcept; -} - -export interface ClaimResponseItemDetail extends BackboneElement { - adjudication?: ClaimResponseItemAdjudication[]; - detailSequence: number; - noteNumber?: number[]; - reviewOutcome?: ClaimResponseItemReviewOutcome; - subDetail?: ClaimResponseItemDetailSubDetail[]; - traceNumber?: Identifier[]; -} - -export interface ClaimResponseItemDetailSubDetail extends BackboneElement { - adjudication?: ClaimResponseItemAdjudication[]; - noteNumber?: number[]; - reviewOutcome?: ClaimResponseItemReviewOutcome; - subDetailSequence: number; - traceNumber?: Identifier[]; -} - -export interface ClaimResponseItemReviewOutcome extends BackboneElement { - decision?: CodeableConcept; - preAuthPeriod?: Period; - preAuthRef?: string; - reason?: CodeableConcept[]; -} - -export interface ClaimResponsePayment extends BackboneElement { - adjustment?: Money; - adjustmentReason?: CodeableConcept; - amount: Money; - date?: string; - identifier?: Identifier; - type: CodeableConcept; -} - -export interface ClaimResponseProcessNote extends BackboneElement { - language?: CodeableConcept; - number?: number; - text: string; - type?: CodeableConcept<("display" | "print" | "printoper" | string)>; -} - -export interface ClaimResponseTotal extends BackboneElement { - amount: Money; - category: CodeableConcept; -} - -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/ClaimResponse (pkg: hl7.fhir.r5.core#5.0.0) -export interface ClaimResponse extends DomainResource { - resourceType: "ClaimResponse"; - - addItem?: ClaimResponseAddItem[]; - adjudication?: ClaimResponseItemAdjudication[]; - communicationRequest?: Reference<"CommunicationRequest">[]; - created: string; - _created?: Element; - decision?: CodeableConcept; - diagnosisRelatedGroup?: CodeableConcept; - disposition?: string; - _disposition?: Element; - encounter?: Reference<"Encounter">[]; - error?: ClaimResponseError[]; - event?: ClaimResponseEvent[]; - form?: Attachment; - formCode?: CodeableConcept; - fundsReserve?: CodeableConcept; - identifier?: Identifier[]; - insurance?: ClaimResponseInsurance[]; - insurer?: Reference<"Organization">; - item?: ClaimResponseItem[]; - outcome: string; - _outcome?: Element; - patient: Reference<"Patient">; - payeeType?: CodeableConcept; - payment?: ClaimResponsePayment; - preAuthPeriod?: Period; - preAuthRef?: string; - _preAuthRef?: Element; - processNote?: ClaimResponseProcessNote[]; - request?: Reference<"Claim">; - requestor?: Reference<"Organization" | "Practitioner" | "PractitionerRole">; - status: ("active" | "cancelled" | "draft" | "entered-in-error"); - _status?: Element; - subType?: CodeableConcept; - total?: ClaimResponseTotal[]; - traceNumber?: Identifier[]; - type: CodeableConcept<("institutional" | "oral" | "pharmacy" | "professional" | "vision" | string)>; - use: ("claim" | "preauthorization" | "predetermination"); - _use?: Element; -} -export const isClaimResponse = (resource: unknown): resource is ClaimResponse => { - return resource !== null && typeof resource === "object" && (resource as {resourceType: string}).resourceType === "ClaimResponse"; -} 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 deleted file mode 100644 index 08ddba536..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/ClinicalImpression.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 { Annotation } from "../hl7-fhir-r5-core/Annotation"; -import type { BackboneElement } from "../hl7-fhir-r5-core/BackboneElement"; -import type { CodeableConcept } from "../hl7-fhir-r5-core/CodeableConcept"; -import type { CodeableReference } from "../hl7-fhir-r5-core/CodeableReference"; -import type { DomainResource } from "../hl7-fhir-r5-core/DomainResource"; -import type { Identifier } from "../hl7-fhir-r5-core/Identifier"; -import type { Period } from "../hl7-fhir-r5-core/Period"; -import type { Reference } from "../hl7-fhir-r5-core/Reference"; - -import type { Element } from "../hl7-fhir-r5-core/Element"; -export type { Annotation } from "../hl7-fhir-r5-core/Annotation"; -export type { BackboneElement } from "../hl7-fhir-r5-core/BackboneElement"; -export type { CodeableConcept } from "../hl7-fhir-r5-core/CodeableConcept"; -export type { CodeableReference } from "../hl7-fhir-r5-core/CodeableReference"; -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"; - -export interface ClinicalImpressionFinding extends BackboneElement { - basis?: string; - item?: CodeableReference; -} - -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/ClinicalImpression (pkg: hl7.fhir.r5.core#5.0.0) -export interface ClinicalImpression extends DomainResource { - resourceType: "ClinicalImpression"; - - changePattern?: CodeableConcept; - date?: string; - _date?: Element; - description?: string; - _description?: Element; - effectiveDateTime?: string; - _effectiveDateTime?: Element; - effectivePeriod?: Period; - encounter?: Reference<"Encounter">; - finding?: ClinicalImpressionFinding[]; - identifier?: Identifier[]; - note?: Annotation[]; - performer?: Reference<"Practitioner" | "PractitionerRole">; - previous?: Reference<"ClinicalImpression">; - problem?: Reference<"AllergyIntolerance" | "Condition">[]; - prognosisCodeableConcept?: CodeableConcept[]; - prognosisReference?: Reference<"RiskAssessment">[]; - protocol?: string[]; - _protocol?: (Element | null)[]; - status: ("preparation" | "in-progress" | "not-done" | "on-hold" | "stopped" | "completed" | "entered-in-error" | "unknown"); - _status?: Element; - statusReason?: CodeableConcept; - subject: Reference<"Group" | "Patient">; - summary?: string; - _summary?: Element; - supportingInfo?: Reference<"Resource">[]; -} -export const isClinicalImpression = (resource: unknown): resource is ClinicalImpression => { - return resource !== null && typeof resource === "object" && (resource as {resourceType: string}).resourceType === "ClinicalImpression"; -} 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 deleted file mode 100644 index 371740c31..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/ClinicalUseDefinition.ts +++ /dev/null @@ -1,94 +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 { BackboneElement } from "../hl7-fhir-r5-core/BackboneElement"; -import type { CodeableConcept } from "../hl7-fhir-r5-core/CodeableConcept"; -import type { CodeableReference } from "../hl7-fhir-r5-core/CodeableReference"; -import type { DomainResource } from "../hl7-fhir-r5-core/DomainResource"; -import type { Expression } from "../hl7-fhir-r5-core/Expression"; -import type { Identifier } from "../hl7-fhir-r5-core/Identifier"; -import type { Range } from "../hl7-fhir-r5-core/Range"; -import type { Reference } from "../hl7-fhir-r5-core/Reference"; - -import type { Element } from "../hl7-fhir-r5-core/Element"; -export type { BackboneElement } from "../hl7-fhir-r5-core/BackboneElement"; -export type { CodeableConcept } from "../hl7-fhir-r5-core/CodeableConcept"; -export type { CodeableReference } from "../hl7-fhir-r5-core/CodeableReference"; -export type { Expression } from "../hl7-fhir-r5-core/Expression"; -export type { Identifier } from "../hl7-fhir-r5-core/Identifier"; -export type { Range } from "../hl7-fhir-r5-core/Range"; -export type { Reference } from "../hl7-fhir-r5-core/Reference"; - -export interface ClinicalUseDefinitionContraindication extends BackboneElement { - applicability?: Expression; - comorbidity?: CodeableReference[]; - diseaseStatus?: CodeableReference; - diseaseSymptomProcedure?: CodeableReference; - indication?: Reference<"ClinicalUseDefinition">[]; - otherTherapy?: ClinicalUseDefinitionContraindicationOtherTherapy[]; -} - -export interface ClinicalUseDefinitionContraindicationOtherTherapy extends BackboneElement { - relationshipType: CodeableConcept; - treatment: CodeableReference; -} - -export interface ClinicalUseDefinitionIndication extends BackboneElement { - applicability?: Expression; - comorbidity?: CodeableReference[]; - diseaseStatus?: CodeableReference; - diseaseSymptomProcedure?: CodeableReference; - durationRange?: Range; - durationString?: string; - intendedEffect?: CodeableReference; - otherTherapy?: ClinicalUseDefinitionContraindicationOtherTherapy[]; - undesirableEffect?: Reference<"ClinicalUseDefinition">[]; -} - -export interface ClinicalUseDefinitionInteraction extends BackboneElement { - effect?: CodeableReference; - incidence?: CodeableConcept; - interactant?: ClinicalUseDefinitionInteractionInteractant[]; - management?: CodeableConcept[]; - type?: CodeableConcept; -} - -export interface ClinicalUseDefinitionInteractionInteractant extends BackboneElement { - itemCodeableConcept?: CodeableConcept; - itemReference?: Reference<"BiologicallyDerivedProduct" | "Medication" | "MedicinalProductDefinition" | "NutritionProduct" | "ObservationDefinition" | "Substance">; -} - -export interface ClinicalUseDefinitionUndesirableEffect extends BackboneElement { - classification?: CodeableConcept; - frequencyOfOccurrence?: CodeableConcept; - symptomConditionEffect?: CodeableReference; -} - -export interface ClinicalUseDefinitionWarning extends BackboneElement { - code?: CodeableConcept; - description?: string; -} - -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/ClinicalUseDefinition (pkg: hl7.fhir.r5.core#5.0.0) -export interface ClinicalUseDefinition extends DomainResource { - resourceType: "ClinicalUseDefinition"; - - category?: CodeableConcept[]; - contraindication?: ClinicalUseDefinitionContraindication; - identifier?: Identifier[]; - indication?: ClinicalUseDefinitionIndication; - interaction?: ClinicalUseDefinitionInteraction; - library?: string[]; - _library?: (Element | null)[]; - population?: Reference<"Group">[]; - status?: CodeableConcept<("draft" | "active" | "retired" | "unknown" | string)>; - subject?: Reference<"ActivityDefinition" | "BiologicallyDerivedProduct" | "Device" | "DeviceDefinition" | "Medication" | "MedicinalProductDefinition" | "NutritionProduct" | "PlanDefinition" | "Substance">[]; - type: string; - _type?: Element; - undesirableEffect?: ClinicalUseDefinitionUndesirableEffect; - warning?: ClinicalUseDefinitionWarning; -} -export const isClinicalUseDefinition = (resource: unknown): resource is ClinicalUseDefinition => { - return resource !== null && typeof resource === "object" && (resource as {resourceType: string}).resourceType === "ClinicalUseDefinition"; -} 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 deleted file mode 100644 index c8abc20fa..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/CodeSystem.ts +++ /dev/null @@ -1,134 +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 { BackboneElement } from "../hl7-fhir-r5-core/BackboneElement"; -import type { CodeableConcept } from "../hl7-fhir-r5-core/CodeableConcept"; -import type { Coding } from "../hl7-fhir-r5-core/Coding"; -import type { ContactDetail } from "../hl7-fhir-r5-core/ContactDetail"; -import type { DomainResource } from "../hl7-fhir-r5-core/DomainResource"; -import type { Identifier } from "../hl7-fhir-r5-core/Identifier"; -import type { Period } from "../hl7-fhir-r5-core/Period"; -import type { RelatedArtifact } from "../hl7-fhir-r5-core/RelatedArtifact"; -import type { UsageContext } from "../hl7-fhir-r5-core/UsageContext"; - -import type { Element } from "../hl7-fhir-r5-core/Element"; -export type { BackboneElement } from "../hl7-fhir-r5-core/BackboneElement"; -export type { CodeableConcept } from "../hl7-fhir-r5-core/CodeableConcept"; -export type { Coding } from "../hl7-fhir-r5-core/Coding"; -export type { ContactDetail } from "../hl7-fhir-r5-core/ContactDetail"; -export type { Identifier } from "../hl7-fhir-r5-core/Identifier"; -export type { Period } from "../hl7-fhir-r5-core/Period"; -export type { RelatedArtifact } from "../hl7-fhir-r5-core/RelatedArtifact"; -export type { UsageContext } from "../hl7-fhir-r5-core/UsageContext"; - -export interface CodeSystemConcept extends BackboneElement { - code: string; - concept?: CodeSystemConcept[]; - definition?: string; - designation?: CodeSystemConceptDesignation[]; - display?: string; - property?: CodeSystemConceptProperty[]; -} - -export interface CodeSystemConceptDesignation extends BackboneElement { - additionalUse?: Coding<("900000000000003001" | "900000000000013009" | string)>[]; - language?: string; - use?: Coding<("900000000000003001" | "900000000000013009" | string)>; - value: string; -} - -export interface CodeSystemConceptProperty extends BackboneElement { - code: string; - valueBoolean?: boolean; - valueCode?: string; - valueCoding?: Coding; - valueDateTime?: string; - valueDecimal?: number; - valueInteger?: number; - valueString?: string; -} - -export interface CodeSystemFilter extends BackboneElement { - code: string; - description?: string; - operator: ("=" | "is-a" | "descendent-of" | "is-not-a" | "regex" | "in" | "not-in" | "generalizes" | "exists")[]; - value: string; -} - -export interface CodeSystemProperty extends BackboneElement { - code: string; - description?: string; - type: ("code" | "Coding" | "string" | "integer" | "boolean" | "dateTime" | "decimal"); - uri?: string; -} - -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/CodeSystem (pkg: hl7.fhir.r5.core#5.0.0) -export interface CodeSystem extends DomainResource { - resourceType: "CodeSystem"; - - approvalDate?: string; - _approvalDate?: Element; - author?: ContactDetail[]; - caseSensitive?: boolean; - _caseSensitive?: Element; - compositional?: boolean; - _compositional?: Element; - concept?: CodeSystemConcept[]; - contact?: ContactDetail[]; - content: ("not-present" | "example" | "fragment" | "complete" | "supplement"); - _content?: Element; - copyright?: string; - _copyright?: Element; - copyrightLabel?: string; - _copyrightLabel?: Element; - count?: number; - _count?: Element; - date?: string; - _date?: Element; - description?: string; - _description?: Element; - editor?: ContactDetail[]; - effectivePeriod?: Period; - endorser?: ContactDetail[]; - experimental?: boolean; - _experimental?: Element; - filter?: CodeSystemFilter[]; - hierarchyMeaning?: ("grouped-by" | "is-a" | "part-of" | "classified-with"); - _hierarchyMeaning?: Element; - identifier?: Identifier[]; - jurisdiction?: CodeableConcept[]; - lastReviewDate?: string; - _lastReviewDate?: Element; - name?: string; - _name?: Element; - property?: CodeSystemProperty[]; - publisher?: string; - _publisher?: Element; - purpose?: string; - _purpose?: Element; - relatedArtifact?: RelatedArtifact[]; - reviewer?: ContactDetail[]; - status: ("draft" | "active" | "retired" | "unknown"); - _status?: Element; - supplements?: string; - _supplements?: Element; - title?: string; - _title?: Element; - topic?: CodeableConcept[]; - url?: string; - _url?: Element; - useContext?: UsageContext[]; - valueSet?: string; - _valueSet?: Element; - version?: string; - _version?: Element; - versionAlgorithmCoding?: Coding; - versionAlgorithmString?: string; - _versionAlgorithmString?: Element; - versionNeeded?: boolean; - _versionNeeded?: Element; -} -export const isCodeSystem = (resource: unknown): resource is CodeSystem => { - return resource !== null && typeof resource === "object" && (resource as {resourceType: string}).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 deleted file mode 100644 index 6c6c892ce..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/CodeableConcept.ts +++ /dev/null @@ -1,17 +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 { Coding } from "../hl7-fhir-r5-core/Coding"; -import type { DataType } from "../hl7-fhir-r5-core/DataType"; - -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 (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 deleted file mode 100644 index 2de4ded3d..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/CodeableReference.ts +++ /dev/null @@ -1,17 +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 { DataType } from "../hl7-fhir-r5-core/DataType"; -import type { Reference } from "../hl7-fhir-r5-core/Reference"; - -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 (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 deleted file mode 100644 index 03f9e3310..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/Coding.ts +++ /dev/null @@ -1,22 +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 { 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 (pkg: hl7.fhir.r5.core#5.0.0) -export interface Coding extends DataType { - code?: T; - _code?: Element; - display?: string; - _display?: Element; - system?: string; - _system?: Element; - userSelected?: boolean; - _userSelected?: Element; - version?: string; - _version?: 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 deleted file mode 100644 index 4b9cfa747..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/Communication.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 { Annotation } from "../hl7-fhir-r5-core/Annotation"; -import type { Attachment } from "../hl7-fhir-r5-core/Attachment"; -import type { BackboneElement } from "../hl7-fhir-r5-core/BackboneElement"; -import type { CodeableConcept } from "../hl7-fhir-r5-core/CodeableConcept"; -import type { CodeableReference } from "../hl7-fhir-r5-core/CodeableReference"; -import type { DomainResource } from "../hl7-fhir-r5-core/DomainResource"; -import type { Identifier } from "../hl7-fhir-r5-core/Identifier"; -import type { Reference } from "../hl7-fhir-r5-core/Reference"; - -import type { Element } from "../hl7-fhir-r5-core/Element"; -export type { Annotation } from "../hl7-fhir-r5-core/Annotation"; -export type { Attachment } from "../hl7-fhir-r5-core/Attachment"; -export type { BackboneElement } from "../hl7-fhir-r5-core/BackboneElement"; -export type { CodeableConcept } from "../hl7-fhir-r5-core/CodeableConcept"; -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"; - -export interface CommunicationPayload extends BackboneElement { - contentAttachment?: Attachment; - contentCodeableConcept?: CodeableConcept; - contentReference?: Reference<"Resource">; -} - -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/Communication (pkg: hl7.fhir.r5.core#5.0.0) -export interface Communication extends DomainResource { - resourceType: "Communication"; - - about?: Reference<"Resource">[]; - basedOn?: Reference<"Resource">[]; - category?: CodeableConcept[]; - encounter?: Reference<"Encounter">; - identifier?: Identifier[]; - inResponseTo?: Reference<"Communication">[]; - instantiatesCanonical?: string[]; - _instantiatesCanonical?: (Element | null)[]; - instantiatesUri?: string[]; - _instantiatesUri?: (Element | null)[]; - medium?: CodeableConcept[]; - note?: Annotation[]; - partOf?: Reference<"Resource">[]; - payload?: CommunicationPayload[]; - priority?: ("routine" | "urgent" | "asap" | "stat"); - _priority?: Element; - reason?: CodeableReference[]; - received?: string; - _received?: Element; - recipient?: Reference<"CareTeam" | "Device" | "Endpoint" | "Group" | "HealthcareService" | "Location" | "Organization" | "Patient" | "Practitioner" | "PractitionerRole" | "RelatedPerson">[]; - sender?: Reference<"CareTeam" | "Device" | "Endpoint" | "HealthcareService" | "Organization" | "Patient" | "Practitioner" | "PractitionerRole" | "RelatedPerson">; - sent?: string; - _sent?: Element; - status: ("preparation" | "in-progress" | "not-done" | "on-hold" | "stopped" | "completed" | "entered-in-error" | "unknown"); - _status?: Element; - statusReason?: CodeableConcept; - subject?: Reference<"Group" | "Patient">; - topic?: CodeableConcept; -} -export const isCommunication = (resource: unknown): resource is Communication => { - return resource !== null && typeof resource === "object" && (resource as {resourceType: string}).resourceType === "Communication"; -} 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 deleted file mode 100644 index 868676556..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/CommunicationRequest.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 { Annotation } from "../hl7-fhir-r5-core/Annotation"; -import type { Attachment } from "../hl7-fhir-r5-core/Attachment"; -import type { BackboneElement } from "../hl7-fhir-r5-core/BackboneElement"; -import type { CodeableConcept } from "../hl7-fhir-r5-core/CodeableConcept"; -import type { CodeableReference } from "../hl7-fhir-r5-core/CodeableReference"; -import type { DomainResource } from "../hl7-fhir-r5-core/DomainResource"; -import type { Identifier } from "../hl7-fhir-r5-core/Identifier"; -import type { Period } from "../hl7-fhir-r5-core/Period"; -import type { Reference } from "../hl7-fhir-r5-core/Reference"; - -import type { Element } from "../hl7-fhir-r5-core/Element"; -export type { Annotation } from "../hl7-fhir-r5-core/Annotation"; -export type { Attachment } from "../hl7-fhir-r5-core/Attachment"; -export type { BackboneElement } from "../hl7-fhir-r5-core/BackboneElement"; -export type { CodeableConcept } from "../hl7-fhir-r5-core/CodeableConcept"; -export type { CodeableReference } from "../hl7-fhir-r5-core/CodeableReference"; -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"; - -export interface CommunicationRequestPayload extends BackboneElement { - contentAttachment?: Attachment; - contentCodeableConcept?: CodeableConcept; - contentReference?: Reference<"Resource">; -} - -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/CommunicationRequest (pkg: hl7.fhir.r5.core#5.0.0) -export interface CommunicationRequest extends DomainResource { - resourceType: "CommunicationRequest"; - - about?: Reference<"Resource">[]; - authoredOn?: string; - _authoredOn?: Element; - basedOn?: Reference<"Resource">[]; - category?: CodeableConcept[]; - doNotPerform?: boolean; - _doNotPerform?: Element; - encounter?: Reference<"Encounter">; - groupIdentifier?: Identifier; - identifier?: Identifier[]; - informationProvider?: Reference<"Device" | "Endpoint" | "HealthcareService" | "Organization" | "Patient" | "Practitioner" | "PractitionerRole" | "RelatedPerson">[]; - intent: ("proposal" | "plan" | "directive" | "order" | "original-order" | "reflex-order" | "filler-order" | "instance-order" | "option"); - _intent?: Element; - medium?: CodeableConcept[]; - note?: Annotation[]; - occurrenceDateTime?: string; - _occurrenceDateTime?: Element; - occurrencePeriod?: Period; - payload?: CommunicationRequestPayload[]; - priority?: ("routine" | "urgent" | "asap" | "stat"); - _priority?: Element; - reason?: CodeableReference[]; - recipient?: Reference<"CareTeam" | "Device" | "Endpoint" | "Group" | "HealthcareService" | "Organization" | "Patient" | "Practitioner" | "PractitionerRole" | "RelatedPerson">[]; - replaces?: Reference<"CommunicationRequest">[]; - requester?: Reference<"Device" | "Organization" | "Patient" | "Practitioner" | "PractitionerRole" | "RelatedPerson">; - status: ("draft" | "active" | "on-hold" | "revoked" | "completed" | "entered-in-error" | "unknown"); - _status?: Element; - statusReason?: CodeableConcept; - subject?: Reference<"Group" | "Patient">; -} -export const isCommunicationRequest = (resource: unknown): resource is CommunicationRequest => { - return resource !== null && typeof resource === "object" && (resource as {resourceType: string}).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 deleted file mode 100644 index 8a0ac4bf7..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/CompartmentDefinition.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 { BackboneElement } from "../hl7-fhir-r5-core/BackboneElement"; -import type { Coding } from "../hl7-fhir-r5-core/Coding"; -import type { ContactDetail } from "../hl7-fhir-r5-core/ContactDetail"; -import type { DomainResource } from "../hl7-fhir-r5-core/DomainResource"; -import type { UsageContext } from "../hl7-fhir-r5-core/UsageContext"; - -import type { Element } from "../hl7-fhir-r5-core/Element"; -export type { BackboneElement } from "../hl7-fhir-r5-core/BackboneElement"; -export type { Coding } from "../hl7-fhir-r5-core/Coding"; -export type { ContactDetail } from "../hl7-fhir-r5-core/ContactDetail"; -export type { UsageContext } from "../hl7-fhir-r5-core/UsageContext"; - -export interface CompartmentDefinitionResource extends BackboneElement { - code: string; - documentation?: string; - endParam?: string; - param?: string[]; - startParam?: string; -} - -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/CompartmentDefinition (pkg: hl7.fhir.r5.core#5.0.0) -export interface CompartmentDefinition extends DomainResource { - resourceType: "CompartmentDefinition"; - - code: ("Patient" | "Encounter" | "RelatedPerson" | "Practitioner" | "Device"); - _code?: Element; - contact?: ContactDetail[]; - date?: string; - _date?: Element; - description?: string; - _description?: Element; - experimental?: boolean; - _experimental?: Element; - name: string; - _name?: Element; - publisher?: string; - _publisher?: Element; - purpose?: string; - _purpose?: Element; - resource?: CompartmentDefinitionResource[]; - search: boolean; - _search?: Element; - status: ("draft" | "active" | "retired" | "unknown"); - _status?: Element; - title?: string; - _title?: Element; - url: string; - _url?: Element; - useContext?: UsageContext[]; - version?: string; - _version?: Element; - versionAlgorithmCoding?: Coding; - versionAlgorithmString?: string; - _versionAlgorithmString?: Element; -} -export const isCompartmentDefinition = (resource: unknown): resource is CompartmentDefinition => { - return resource !== null && typeof resource === "object" && (resource as {resourceType: string}).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 deleted file mode 100644 index 20ce6496a..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/Composition.ts +++ /dev/null @@ -1,84 +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 { Annotation } from "../hl7-fhir-r5-core/Annotation"; -import type { BackboneElement } from "../hl7-fhir-r5-core/BackboneElement"; -import type { CodeableConcept } from "../hl7-fhir-r5-core/CodeableConcept"; -import type { CodeableReference } from "../hl7-fhir-r5-core/CodeableReference"; -import type { DomainResource } from "../hl7-fhir-r5-core/DomainResource"; -import type { Identifier } from "../hl7-fhir-r5-core/Identifier"; -import type { Narrative } from "../hl7-fhir-r5-core/Narrative"; -import type { Period } from "../hl7-fhir-r5-core/Period"; -import type { Reference } from "../hl7-fhir-r5-core/Reference"; -import type { RelatedArtifact } from "../hl7-fhir-r5-core/RelatedArtifact"; -import type { UsageContext } from "../hl7-fhir-r5-core/UsageContext"; - -import type { Element } from "../hl7-fhir-r5-core/Element"; -export type { Annotation } from "../hl7-fhir-r5-core/Annotation"; -export type { BackboneElement } from "../hl7-fhir-r5-core/BackboneElement"; -export type { CodeableConcept } from "../hl7-fhir-r5-core/CodeableConcept"; -export type { CodeableReference } from "../hl7-fhir-r5-core/CodeableReference"; -export type { Identifier } from "../hl7-fhir-r5-core/Identifier"; -export type { Narrative } from "../hl7-fhir-r5-core/Narrative"; -export type { Period } from "../hl7-fhir-r5-core/Period"; -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"; - -export interface CompositionAttester extends BackboneElement { - mode: CodeableConcept<("personal" | "professional" | "legal" | "official" | string)>; - party?: Reference<"Organization" | "Patient" | "Practitioner" | "PractitionerRole" | "RelatedPerson">; - time?: string; -} - -export interface CompositionEvent extends BackboneElement { - detail?: CodeableReference[]; - period?: Period; -} - -export interface CompositionSection extends BackboneElement { - author?: Reference<"Device" | "Organization" | "Patient" | "Practitioner" | "PractitionerRole" | "RelatedPerson">[]; - code?: CodeableConcept; - emptyReason?: CodeableConcept<("nilknown" | "notasked" | "withheld" | "unavailable" | "notstarted" | "closed" | string)>; - entry?: Reference<"Resource">[]; - focus?: Reference<"Resource">; - 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 (pkg: hl7.fhir.r5.core#5.0.0) -export interface Composition extends DomainResource { - resourceType: "Composition"; - - attester?: CompositionAttester[]; - author: Reference<"Device" | "Organization" | "Patient" | "Practitioner" | "PractitionerRole" | "RelatedPerson">[]; - category?: CodeableConcept[]; - custodian?: Reference<"Organization">; - date: string; - _date?: Element; - encounter?: Reference<"Encounter">; - event?: CompositionEvent[]; - identifier?: Identifier[]; - name?: string; - _name?: Element; - note?: Annotation[]; - relatesTo?: RelatedArtifact[]; - section?: CompositionSection[]; - status: ("preliminary" | "final" | "amended" | "entered-in-error"); - _status?: Element; - subject?: Reference<"Resource">[]; - title: string; - _title?: Element; - type: CodeableConcept; - url?: string; - _url?: Element; - useContext?: UsageContext[]; - version?: string; - _version?: Element; -} -export const isComposition = (resource: unknown): resource is Composition => { - return resource !== null && typeof resource === "object" && (resource as {resourceType: string}).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 deleted file mode 100644 index 41ef81522..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/ConceptMap.ts +++ /dev/null @@ -1,158 +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 { BackboneElement } from "../hl7-fhir-r5-core/BackboneElement"; -import type { CodeableConcept } from "../hl7-fhir-r5-core/CodeableConcept"; -import type { Coding } from "../hl7-fhir-r5-core/Coding"; -import type { ContactDetail } from "../hl7-fhir-r5-core/ContactDetail"; -import type { DomainResource } from "../hl7-fhir-r5-core/DomainResource"; -import type { Identifier } from "../hl7-fhir-r5-core/Identifier"; -import type { Period } from "../hl7-fhir-r5-core/Period"; -import type { Quantity } from "../hl7-fhir-r5-core/Quantity"; -import type { RelatedArtifact } from "../hl7-fhir-r5-core/RelatedArtifact"; -import type { UsageContext } from "../hl7-fhir-r5-core/UsageContext"; - -import type { Element } from "../hl7-fhir-r5-core/Element"; -export type { BackboneElement } from "../hl7-fhir-r5-core/BackboneElement"; -export type { CodeableConcept } from "../hl7-fhir-r5-core/CodeableConcept"; -export type { Coding } from "../hl7-fhir-r5-core/Coding"; -export type { ContactDetail } from "../hl7-fhir-r5-core/ContactDetail"; -export type { Identifier } from "../hl7-fhir-r5-core/Identifier"; -export type { Period } from "../hl7-fhir-r5-core/Period"; -export type { Quantity } from "../hl7-fhir-r5-core/Quantity"; -export type { RelatedArtifact } from "../hl7-fhir-r5-core/RelatedArtifact"; -export type { UsageContext } from "../hl7-fhir-r5-core/UsageContext"; - -export interface ConceptMapAdditionalAttribute extends BackboneElement { - code: string; - description?: string; - type: string; - uri?: string; -} - -export interface ConceptMapGroup extends BackboneElement { - element: ConceptMapGroupElement[]; - source?: string; - target?: string; - unmapped?: ConceptMapGroupUnmapped; -} - -export interface ConceptMapGroupElement extends BackboneElement { - code?: string; - display?: string; - noMap?: boolean; - target?: ConceptMapGroupElementTarget[]; - valueSet?: string; -} - -export interface ConceptMapGroupElementTarget extends BackboneElement { - code?: string; - comment?: string; - dependsOn?: ConceptMapGroupElementTargetDependsOn[]; - display?: string; - product?: ConceptMapGroupElementTargetDependsOn[]; - property?: ConceptMapGroupElementTargetProperty[]; - relationship: string; - valueSet?: string; -} - -export interface ConceptMapGroupElementTargetDependsOn extends BackboneElement { - attribute: string; - valueBoolean?: boolean; - valueCode?: string; - valueCoding?: Coding; - valueQuantity?: Quantity; - valueSet?: string; - valueString?: string; -} - -export interface ConceptMapGroupElementTargetProperty extends BackboneElement { - code: string; - valueBoolean?: boolean; - valueCode?: string; - valueCoding?: Coding; - valueDateTime?: string; - valueDecimal?: number; - valueInteger?: number; - valueString?: string; -} - -export interface ConceptMapGroupUnmapped extends BackboneElement { - code?: string; - display?: string; - mode: ("provided" | "fixed" | "other-map"); - otherMap?: string; - relationship?: string; - valueSet?: string; -} - -export interface ConceptMapProperty extends BackboneElement { - code: string; - description?: string; - system?: string; - type: string; - uri?: string; -} - -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/ConceptMap (pkg: hl7.fhir.r5.core#5.0.0) -export interface ConceptMap extends DomainResource { - resourceType: "ConceptMap"; - - additionalAttribute?: ConceptMapAdditionalAttribute[]; - approvalDate?: string; - _approvalDate?: Element; - author?: ContactDetail[]; - contact?: ContactDetail[]; - copyright?: string; - _copyright?: Element; - copyrightLabel?: string; - _copyrightLabel?: Element; - date?: string; - _date?: Element; - description?: string; - _description?: Element; - editor?: ContactDetail[]; - effectivePeriod?: Period; - endorser?: ContactDetail[]; - experimental?: boolean; - _experimental?: Element; - group?: ConceptMapGroup[]; - identifier?: Identifier[]; - jurisdiction?: CodeableConcept[]; - lastReviewDate?: string; - _lastReviewDate?: Element; - name?: string; - _name?: Element; - property?: ConceptMapProperty[]; - publisher?: string; - _publisher?: Element; - purpose?: string; - _purpose?: Element; - relatedArtifact?: RelatedArtifact[]; - reviewer?: ContactDetail[]; - sourceScopeCanonical?: string; - _sourceScopeCanonical?: Element; - sourceScopeUri?: string; - _sourceScopeUri?: Element; - status: ("draft" | "active" | "retired" | "unknown"); - _status?: Element; - targetScopeCanonical?: string; - _targetScopeCanonical?: Element; - targetScopeUri?: string; - _targetScopeUri?: Element; - title?: string; - _title?: Element; - topic?: CodeableConcept[]; - url?: string; - _url?: Element; - useContext?: UsageContext[]; - version?: string; - _version?: Element; - versionAlgorithmCoding?: Coding; - versionAlgorithmString?: string; - _versionAlgorithmString?: Element; -} -export const isConceptMap = (resource: unknown): resource is ConceptMap => { - return resource !== null && typeof resource === "object" && (resource as {resourceType: string}).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 deleted file mode 100644 index bcafc6d7e..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/Condition.ts +++ /dev/null @@ -1,74 +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 { Age } from "../hl7-fhir-r5-core/Age"; -import type { Annotation } from "../hl7-fhir-r5-core/Annotation"; -import type { BackboneElement } from "../hl7-fhir-r5-core/BackboneElement"; -import type { CodeableConcept } from "../hl7-fhir-r5-core/CodeableConcept"; -import type { CodeableReference } from "../hl7-fhir-r5-core/CodeableReference"; -import type { DomainResource } from "../hl7-fhir-r5-core/DomainResource"; -import type { Identifier } from "../hl7-fhir-r5-core/Identifier"; -import type { Period } from "../hl7-fhir-r5-core/Period"; -import type { Range } from "../hl7-fhir-r5-core/Range"; -import type { Reference } from "../hl7-fhir-r5-core/Reference"; - -import type { Element } from "../hl7-fhir-r5-core/Element"; -export type { Age } from "../hl7-fhir-r5-core/Age"; -export type { Annotation } from "../hl7-fhir-r5-core/Annotation"; -export type { BackboneElement } from "../hl7-fhir-r5-core/BackboneElement"; -export type { CodeableConcept } from "../hl7-fhir-r5-core/CodeableConcept"; -export type { CodeableReference } from "../hl7-fhir-r5-core/CodeableReference"; -export type { Identifier } from "../hl7-fhir-r5-core/Identifier"; -export type { Period } from "../hl7-fhir-r5-core/Period"; -export type { Range } from "../hl7-fhir-r5-core/Range"; -export type { Reference } from "../hl7-fhir-r5-core/Reference"; - -export interface ConditionParticipant extends BackboneElement { - actor: Reference<"CareTeam" | "Device" | "Organization" | "Patient" | "Practitioner" | "PractitionerRole" | "RelatedPerson">; - "function"?: CodeableConcept; -} - -export interface ConditionStage extends BackboneElement { - assessment?: Reference<"ClinicalImpression" | "DiagnosticReport" | "Observation">[]; - summary?: CodeableConcept; - type?: CodeableConcept; -} - -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/Condition (pkg: hl7.fhir.r5.core#5.0.0) -export interface Condition extends DomainResource { - resourceType: "Condition"; - - abatementAge?: Age; - abatementDateTime?: string; - _abatementDateTime?: Element; - abatementPeriod?: Period; - abatementRange?: Range; - abatementString?: string; - _abatementString?: Element; - bodySite?: CodeableConcept[]; - category?: CodeableConcept<("problem-list-item" | "encounter-diagnosis" | string)>[]; - clinicalStatus: CodeableConcept<("active" | "recurrence" | "relapse" | "inactive" | "remission" | "resolved")>; - code?: CodeableConcept; - encounter?: Reference<"Encounter">; - evidence?: CodeableReference[]; - identifier?: Identifier[]; - note?: Annotation[]; - onsetAge?: Age; - onsetDateTime?: string; - _onsetDateTime?: Element; - onsetPeriod?: Period; - onsetRange?: Range; - onsetString?: string; - _onsetString?: Element; - participant?: ConditionParticipant[]; - recordedDate?: string; - _recordedDate?: Element; - severity?: CodeableConcept<("24484000" | "6736007" | "255604002" | string)>; - stage?: ConditionStage[]; - subject: Reference<"Group" | "Patient">; - 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 deleted file mode 100644 index 547aaa8ce..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/ConditionDefinition.ts +++ /dev/null @@ -1,104 +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 { BackboneElement } from "../hl7-fhir-r5-core/BackboneElement"; -import type { CodeableConcept } from "../hl7-fhir-r5-core/CodeableConcept"; -import type { Coding } from "../hl7-fhir-r5-core/Coding"; -import type { ContactDetail } from "../hl7-fhir-r5-core/ContactDetail"; -import type { DomainResource } from "../hl7-fhir-r5-core/DomainResource"; -import type { Identifier } from "../hl7-fhir-r5-core/Identifier"; -import type { Quantity } from "../hl7-fhir-r5-core/Quantity"; -import type { Reference } from "../hl7-fhir-r5-core/Reference"; -import type { UsageContext } from "../hl7-fhir-r5-core/UsageContext"; - -import type { Element } from "../hl7-fhir-r5-core/Element"; -export type { BackboneElement } from "../hl7-fhir-r5-core/BackboneElement"; -export type { CodeableConcept } from "../hl7-fhir-r5-core/CodeableConcept"; -export type { Coding } from "../hl7-fhir-r5-core/Coding"; -export type { ContactDetail } from "../hl7-fhir-r5-core/ContactDetail"; -export type { Identifier } from "../hl7-fhir-r5-core/Identifier"; -export type { Quantity } from "../hl7-fhir-r5-core/Quantity"; -export type { Reference } from "../hl7-fhir-r5-core/Reference"; -export type { UsageContext } from "../hl7-fhir-r5-core/UsageContext"; - -export interface ConditionDefinitionMedication extends BackboneElement { - category?: CodeableConcept; - code?: CodeableConcept; -} - -export interface ConditionDefinitionObservation extends BackboneElement { - category?: CodeableConcept<("social-history" | "vital-signs" | "imaging" | "laboratory" | "procedure" | "survey" | "exam" | "therapy" | "activity" | string)>; - code?: CodeableConcept; -} - -export interface ConditionDefinitionPlan extends BackboneElement { - reference: Reference<"PlanDefinition">; - role?: CodeableConcept; -} - -export interface ConditionDefinitionPrecondition extends BackboneElement { - code: CodeableConcept; - type: string; - valueCodeableConcept?: CodeableConcept; - valueQuantity?: Quantity; -} - -export interface ConditionDefinitionQuestionnaire extends BackboneElement { - purpose: string; - reference: Reference<"Questionnaire">; -} - -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/ConditionDefinition (pkg: hl7.fhir.r5.core#5.0.0) -export interface ConditionDefinition extends DomainResource { - resourceType: "ConditionDefinition"; - - bodySite?: CodeableConcept; - code: CodeableConcept; - contact?: ContactDetail[]; - date?: string; - _date?: Element; - definition?: string[]; - _definition?: (Element | null)[]; - description?: string; - _description?: Element; - experimental?: boolean; - _experimental?: Element; - hasBodySite?: boolean; - _hasBodySite?: Element; - hasSeverity?: boolean; - _hasSeverity?: Element; - hasStage?: boolean; - _hasStage?: Element; - identifier?: Identifier[]; - jurisdiction?: CodeableConcept[]; - medication?: ConditionDefinitionMedication[]; - name?: string; - _name?: Element; - observation?: ConditionDefinitionObservation[]; - plan?: ConditionDefinitionPlan[]; - precondition?: ConditionDefinitionPrecondition[]; - publisher?: string; - _publisher?: Element; - questionnaire?: ConditionDefinitionQuestionnaire[]; - severity?: CodeableConcept<("24484000" | "6736007" | "255604002" | string)>; - stage?: CodeableConcept; - status: ("draft" | "active" | "retired" | "unknown"); - _status?: Element; - subtitle?: string; - _subtitle?: Element; - team?: Reference<"CareTeam">[]; - title?: string; - _title?: Element; - url?: string; - _url?: Element; - useContext?: UsageContext[]; - version?: string; - _version?: Element; - versionAlgorithmCoding?: Coding; - versionAlgorithmString?: string; - _versionAlgorithmString?: Element; -} -export const isConditionDefinition = (resource: unknown): resource is ConditionDefinition => { - return resource !== null && typeof resource === "object" && (resource as {resourceType: string}).resourceType === "ConditionDefinition"; -} 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 deleted file mode 100644 index a5f67baf5..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/Consent.ts +++ /dev/null @@ -1,91 +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 { BackboneElement } from "../hl7-fhir-r5-core/BackboneElement"; -import type { CodeableConcept } from "../hl7-fhir-r5-core/CodeableConcept"; -import type { Coding } from "../hl7-fhir-r5-core/Coding"; -import type { DomainResource } from "../hl7-fhir-r5-core/DomainResource"; -import type { Expression } from "../hl7-fhir-r5-core/Expression"; -import type { Identifier } from "../hl7-fhir-r5-core/Identifier"; -import type { Period } from "../hl7-fhir-r5-core/Period"; -import type { Reference } from "../hl7-fhir-r5-core/Reference"; - -import type { Element } from "../hl7-fhir-r5-core/Element"; -export type { Attachment } from "../hl7-fhir-r5-core/Attachment"; -export type { BackboneElement } from "../hl7-fhir-r5-core/BackboneElement"; -export type { CodeableConcept } from "../hl7-fhir-r5-core/CodeableConcept"; -export type { Coding } from "../hl7-fhir-r5-core/Coding"; -export type { Expression } from "../hl7-fhir-r5-core/Expression"; -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"; - -export interface ConsentPolicyBasis extends BackboneElement { - reference?: Reference<"Resource">; - url?: string; -} - -export interface ConsentProvision extends BackboneElement { - action?: CodeableConcept[]; - actor?: ConsentProvisionActor[]; - code?: CodeableConcept[]; - data?: ConsentProvisionData[]; - dataPeriod?: Period; - documentType?: Coding<("http://hl7.org/fhir/StructureDefinition/lipidprofile" | "application/hl7-cda+xml" | string)>[]; - expression?: Expression; - period?: Period; - provision?: ConsentProvision[]; - purpose?: Coding[]; - resourceType?: Coding[]; - securityLabel?: Coding[]; -} - -export interface ConsentProvisionActor extends BackboneElement { - reference?: Reference<"CareTeam" | "Device" | "Group" | "Organization" | "Patient" | "Practitioner" | "PractitionerRole" | "RelatedPerson">; - role?: CodeableConcept; -} - -export interface ConsentProvisionData extends BackboneElement { - meaning: ("instance" | "related" | "dependents" | "authoredby"); - reference: Reference<"Resource">; -} - -export interface ConsentVerification extends BackboneElement { - verificationDate?: string[]; - verificationType?: CodeableConcept; - verified: boolean; - verifiedBy?: Reference<"Organization" | "Practitioner" | "PractitionerRole">; - verifiedWith?: Reference<"Patient" | "RelatedPerson">; -} - -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/Consent (pkg: hl7.fhir.r5.core#5.0.0) -export interface Consent extends DomainResource { - resourceType: "Consent"; - - category?: CodeableConcept[]; - controller?: Reference<"HealthcareService" | "Organization" | "Patient" | "Practitioner">[]; - date?: string; - _date?: Element; - decision?: ("deny" | "permit"); - _decision?: Element; - grantee?: Reference<"CareTeam" | "HealthcareService" | "Organization" | "Patient" | "Practitioner" | "PractitionerRole" | "RelatedPerson">[]; - grantor?: Reference<"CareTeam" | "HealthcareService" | "Organization" | "Patient" | "Practitioner" | "PractitionerRole" | "RelatedPerson">[]; - identifier?: Identifier[]; - manager?: Reference<"HealthcareService" | "Organization" | "Patient" | "Practitioner">[]; - period?: Period; - policyBasis?: ConsentPolicyBasis; - policyText?: Reference<"DocumentReference">[]; - provision?: ConsentProvision[]; - regulatoryBasis?: CodeableConcept[]; - sourceAttachment?: Attachment[]; - sourceReference?: Reference<"Consent" | "Contract" | "DocumentReference" | "QuestionnaireResponse">[]; - status: ("draft" | "proposed" | "active" | "rejected" | "inactive" | "entered-in-error"); - _status?: Element; - subject?: Reference<"Group" | "Patient" | "Practitioner">; - verification?: ConsentVerification[]; -} -export const isConsent = (resource: unknown): resource is Consent => { - return resource !== null && typeof resource === "object" && (resource as {resourceType: string}).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 deleted file mode 100644 index e9a073ad9..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/ContactDetail.ts +++ /dev/null @@ -1,17 +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-r5-core/ContactPoint"; -import type { DataType } from "../hl7-fhir-r5-core/DataType"; - -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 (pkg: hl7.fhir.r5.core#5.0.0) -export interface ContactDetail extends DataType { - name?: string; - _name?: Element; - telecom?: ContactPoint[]; -} 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 deleted file mode 100644 index 5751c8f63..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/ContactPoint.ts +++ /dev/null @@ -1,23 +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 { DataType } from "../hl7-fhir-r5-core/DataType"; -import type { Period } from "../hl7-fhir-r5-core/Period"; - -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 (pkg: hl7.fhir.r5.core#5.0.0) -export interface ContactPoint extends DataType { - period?: Period; - rank?: number; - _rank?: Element; - system?: ("phone" | "fax" | "email" | "pager" | "url" | "sms" | "other"); - _system?: Element; - use?: ("home" | "work" | "temp" | "old" | "mobile"); - _use?: Element; - value?: string; - _value?: Element; -} 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 deleted file mode 100644 index 4c2cc909f..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/Contract.ts +++ /dev/null @@ -1,243 +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 { Annotation } from "../hl7-fhir-r5-core/Annotation"; -import type { Attachment } from "../hl7-fhir-r5-core/Attachment"; -import type { BackboneElement } from "../hl7-fhir-r5-core/BackboneElement"; -import type { CodeableConcept } from "../hl7-fhir-r5-core/CodeableConcept"; -import type { CodeableReference } from "../hl7-fhir-r5-core/CodeableReference"; -import type { Coding } from "../hl7-fhir-r5-core/Coding"; -import type { DomainResource } from "../hl7-fhir-r5-core/DomainResource"; -import type { Identifier } from "../hl7-fhir-r5-core/Identifier"; -import type { Money } from "../hl7-fhir-r5-core/Money"; -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"; -import type { Signature } from "../hl7-fhir-r5-core/Signature"; -import type { Timing } from "../hl7-fhir-r5-core/Timing"; - -import type { Element } from "../hl7-fhir-r5-core/Element"; -export type { Annotation } from "../hl7-fhir-r5-core/Annotation"; -export type { Attachment } from "../hl7-fhir-r5-core/Attachment"; -export type { BackboneElement } from "../hl7-fhir-r5-core/BackboneElement"; -export type { CodeableConcept } from "../hl7-fhir-r5-core/CodeableConcept"; -export type { CodeableReference } from "../hl7-fhir-r5-core/CodeableReference"; -export type { Coding } from "../hl7-fhir-r5-core/Coding"; -export type { Identifier } from "../hl7-fhir-r5-core/Identifier"; -export type { Money } from "../hl7-fhir-r5-core/Money"; -export type { Period } from "../hl7-fhir-r5-core/Period"; -export type { Quantity } from "../hl7-fhir-r5-core/Quantity"; -export type { Reference } from "../hl7-fhir-r5-core/Reference"; -export type { Signature } from "../hl7-fhir-r5-core/Signature"; -export type { Timing } from "../hl7-fhir-r5-core/Timing"; - -export interface ContractContentDefinition extends BackboneElement { - copyright?: string; - publicationDate?: string; - publicationStatus: ("amended" | "appended" | "cancelled" | "disputed" | "entered-in-error" | "executable" | "executed" | "negotiable" | "offered" | "policy" | "rejected" | "renewed" | "revoked" | "resolved" | "terminated"); - publisher?: Reference<"Organization" | "Practitioner" | "PractitionerRole">; - subType?: CodeableConcept; - type: CodeableConcept; -} - -export interface ContractFriendly extends BackboneElement { - contentAttachment?: Attachment; - contentReference?: Reference<"Composition" | "DocumentReference" | "QuestionnaireResponse">; -} - -export interface ContractLegal extends BackboneElement { - contentAttachment?: Attachment; - contentReference?: Reference<"Composition" | "DocumentReference" | "QuestionnaireResponse">; -} - -export interface ContractRule extends BackboneElement { - contentAttachment?: Attachment; - contentReference?: Reference<"DocumentReference">; -} - -export interface ContractSigner extends BackboneElement { - party: Reference<"Organization" | "Patient" | "Practitioner" | "PractitionerRole" | "RelatedPerson">; - signature: Signature[]; - 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 { - action?: ContractTermAction[]; - applies?: Period; - asset?: ContractTermAsset[]; - group?: ContractTerm[]; - identifier?: Identifier; - issued?: string; - offer: ContractTermOffer; - securityLabel?: ContractTermSecurityLabel[]; - subType?: CodeableConcept; - text?: string; - topicCodeableConcept?: CodeableConcept; - topicReference?: Reference<"Resource">; - type?: CodeableConcept; -} - -export interface ContractTermAction extends BackboneElement { - context?: Reference<"Encounter" | "EpisodeOfCare">; - contextLinkId?: string[]; - doNotPerform?: boolean; - intent: CodeableConcept; - linkId?: string[]; - note?: Annotation[]; - occurrenceDateTime?: string; - occurrencePeriod?: Period; - occurrenceTiming?: Timing; - performer?: Reference<"CareTeam" | "Device" | "Location" | "Organization" | "Patient" | "Practitioner" | "PractitionerRole" | "RelatedPerson" | "Substance">; - performerLinkId?: string[]; - performerRole?: CodeableConcept; - performerType?: CodeableConcept[]; - reason?: CodeableReference[]; - reasonLinkId?: string[]; - requester?: Reference<"Device" | "Group" | "Organization" | "Patient" | "Practitioner" | "PractitionerRole" | "RelatedPerson">[]; - requesterLinkId?: string[]; - securityLabelNumber?: number[]; - status: CodeableConcept; - subject?: ContractTermActionSubject[]; - type: CodeableConcept; -} - -export interface ContractTermActionSubject extends BackboneElement { - reference: Reference<"Device" | "Group" | "Organization" | "Patient" | "Practitioner" | "PractitionerRole" | "RelatedPerson">[]; - role?: CodeableConcept; -} - -export interface ContractTermAsset extends BackboneElement { - answer?: ContractTermOfferAnswer[]; - condition?: string; - context?: ContractTermAssetContext[]; - linkId?: string[]; - period?: Period[]; - periodType?: CodeableConcept[]; - relationship?: Coding<("http://hl7.org/fhir/StructureDefinition/lipidprofile" | "application/hl7-cda+xml" | string)>; - scope?: CodeableConcept; - securityLabelNumber?: number[]; - subtype?: CodeableConcept[]; - text?: string; - type?: CodeableConcept[]; - typeReference?: Reference<"Resource">[]; - usePeriod?: Period[]; - valuedItem?: ContractTermAssetValuedItem[]; -} - -export interface ContractTermAssetContext extends BackboneElement { - code?: CodeableConcept[]; - reference?: Reference<"Resource">; - text?: string; -} - -export interface ContractTermAssetValuedItem extends BackboneElement { - effectiveTime?: string; - entityCodeableConcept?: CodeableConcept; - entityReference?: Reference<"Resource">; - factor?: number; - identifier?: Identifier; - linkId?: string[]; - net?: Money; - payment?: string; - paymentDate?: string; - points?: number; - quantity?: Quantity; - recipient?: Reference<"Organization" | "Patient" | "Practitioner" | "PractitionerRole" | "RelatedPerson">; - responsible?: Reference<"Organization" | "Patient" | "Practitioner" | "PractitionerRole" | "RelatedPerson">; - securityLabelNumber?: number[]; - unitPrice?: Money; -} - -export interface ContractTermOffer extends BackboneElement { - answer?: ContractTermOfferAnswer[]; - decision?: CodeableConcept; - decisionMode?: CodeableConcept[]; - identifier?: Identifier[]; - linkId?: string[]; - party?: ContractTermOfferParty[]; - securityLabelNumber?: number[]; - text?: string; - topic?: Reference<"Resource">; - type?: CodeableConcept; -} - -export interface ContractTermOfferAnswer extends BackboneElement { - valueAttachment?: Attachment; - valueBoolean?: boolean; - valueCoding?: Coding; - valueDate?: string; - valueDateTime?: string; - valueDecimal?: number; - valueInteger?: number; - valueQuantity?: Quantity; - valueReference?: Reference<"Resource">; - valueString?: string; - valueTime?: string; - valueUri?: string; -} - -export interface ContractTermOfferParty extends BackboneElement { - reference: Reference<"Device" | "Group" | "Organization" | "Patient" | "Practitioner" | "PractitionerRole" | "RelatedPerson">[]; - role: CodeableConcept; -} - -export interface ContractTermSecurityLabel extends BackboneElement { - category?: Coding[]; - classification: Coding; - control?: Coding[]; - number?: number[]; -} - -// 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 | null)[]; - applies?: Period; - author?: Reference<"Organization" | "Patient" | "Practitioner" | "PractitionerRole">; - authority?: Reference<"Organization">[]; - contentDefinition?: ContractContentDefinition; - contentDerivative?: CodeableConcept; - domain?: Reference<"Location">[]; - expirationType?: CodeableConcept; - friendly?: ContractFriendly[]; - identifier?: Identifier[]; - instantiatesCanonical?: Reference<"Contract">; - instantiatesUri?: string; - _instantiatesUri?: Element; - issued?: string; - _issued?: Element; - legal?: ContractLegal[]; - legallyBindingAttachment?: Attachment; - legallyBindingReference?: Reference<"Composition" | "Contract" | "DocumentReference" | "QuestionnaireResponse">; - 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">[]; - rule?: ContractRule[]; - scope?: CodeableConcept; - signer?: ContractSigner[]; - site?: Reference<"Location">[]; - status?: ("amended" | "appended" | "cancelled" | "disputed" | "entered-in-error" | "executable" | "executed" | "negotiable" | "offered" | "policy" | "rejected" | "renewed" | "revoked" | "resolved" | "terminated"); - _status?: Element; - subject?: Reference<"Resource">[]; - subtitle?: string; - _subtitle?: Element; - subType?: CodeableConcept[]; - supportingInfo?: Reference<"Resource">[]; - term?: ContractTerm[]; - title?: string; - _title?: Element; - topicCodeableConcept?: CodeableConcept; - topicReference?: Reference<"Resource">; - type?: CodeableConcept; - url?: string; - _url?: Element; - version?: string; - _version?: Element; -} -export const isContract = (resource: unknown): resource is Contract => { - return resource !== null && typeof resource === "object" && (resource as {resourceType: string}).resourceType === "Contract"; -} 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 deleted file mode 100644 index 56b4b3713..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/Contributor.ts +++ /dev/null @@ -1,19 +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 { ContactDetail } from "../hl7-fhir-r5-core/ContactDetail"; -import type { DataType } from "../hl7-fhir-r5-core/DataType"; - -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 (pkg: hl7.fhir.r5.core#5.0.0) -export interface Contributor extends DataType { - contact?: ContactDetail[]; - name: string; - _name?: Element; - type: ("author" | "editor" | "reviewer" | "endorser"); - _type?: Element; -} 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 deleted file mode 100644 index cd3c57cff..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/Count.ts +++ /dev/null @@ -1,11 +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 { Quantity } from "../hl7-fhir-r5-core/Quantity"; - -export type { Quantity } from "../hl7-fhir-r5-core/Quantity"; - -// 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 deleted file mode 100644 index ad6f52ff4..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/Coverage.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 { BackboneElement } from "../hl7-fhir-r5-core/BackboneElement"; -import type { CodeableConcept } from "../hl7-fhir-r5-core/CodeableConcept"; -import type { DomainResource } from "../hl7-fhir-r5-core/DomainResource"; -import type { Identifier } from "../hl7-fhir-r5-core/Identifier"; -import type { Money } from "../hl7-fhir-r5-core/Money"; -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"; - -import type { Element } from "../hl7-fhir-r5-core/Element"; -export type { BackboneElement } from "../hl7-fhir-r5-core/BackboneElement"; -export type { CodeableConcept } from "../hl7-fhir-r5-core/CodeableConcept"; -export type { Identifier } from "../hl7-fhir-r5-core/Identifier"; -export type { Money } from "../hl7-fhir-r5-core/Money"; -export type { Period } from "../hl7-fhir-r5-core/Period"; -export type { Quantity } from "../hl7-fhir-r5-core/Quantity"; -export type { Reference } from "../hl7-fhir-r5-core/Reference"; - -export interface CoverageClass extends BackboneElement { - name?: string; - type: CodeableConcept<("group" | "subgroup" | "plan" | "subplan" | "class" | "subclass" | "sequence" | "rxbin" | "rxpcn" | "rxid" | "rxgroup" | string)>; - value: Identifier; -} - -export interface CoverageCostToBeneficiary extends BackboneElement { - category?: CodeableConcept; - exception?: CoverageCostToBeneficiaryException[]; - network?: CodeableConcept; - term?: CodeableConcept; - type?: CodeableConcept<("gpvisit" | "spvisit" | "emergency" | "inpthosp" | "televisit" | "urgentcare" | "copaypct" | "copay" | "deductible" | "maxoutofpocket" | string)>; - unit?: CodeableConcept; - valueMoney?: Money; - valueQuantity?: Quantity; -} - -export interface CoverageCostToBeneficiaryException extends BackboneElement { - period?: Period; - type: CodeableConcept; -} - -export interface CoveragePaymentBy extends BackboneElement { - party: Reference<"Organization" | "Patient" | "RelatedPerson">; - responsibility?: string; -} - -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/Coverage (pkg: hl7.fhir.r5.core#5.0.0) -export interface Coverage extends DomainResource { - resourceType: "Coverage"; - - beneficiary: Reference<"Patient">; - "class"?: CoverageClass[]; - contract?: Reference<"Contract">[]; - costToBeneficiary?: CoverageCostToBeneficiary[]; - dependent?: string; - _dependent?: Element; - identifier?: Identifier[]; - insurancePlan?: Reference<"InsurancePlan">; - insurer?: Reference<"Organization">; - kind: string; - _kind?: Element; - network?: string; - _network?: Element; - order?: number; - _order?: Element; - paymentBy?: CoveragePaymentBy[]; - period?: Period; - policyHolder?: Reference<"Organization" | "Patient" | "RelatedPerson">; - 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<("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 deleted file mode 100644 index 3c109bbda..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/CoverageEligibilityRequest.ts +++ /dev/null @@ -1,86 +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 { BackboneElement } from "../hl7-fhir-r5-core/BackboneElement"; -import type { CodeableConcept } from "../hl7-fhir-r5-core/CodeableConcept"; -import type { DomainResource } from "../hl7-fhir-r5-core/DomainResource"; -import type { Identifier } from "../hl7-fhir-r5-core/Identifier"; -import type { Money } from "../hl7-fhir-r5-core/Money"; -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"; - -import type { Element } from "../hl7-fhir-r5-core/Element"; -export type { BackboneElement } from "../hl7-fhir-r5-core/BackboneElement"; -export type { CodeableConcept } from "../hl7-fhir-r5-core/CodeableConcept"; -export type { Identifier } from "../hl7-fhir-r5-core/Identifier"; -export type { Money } from "../hl7-fhir-r5-core/Money"; -export type { Period } from "../hl7-fhir-r5-core/Period"; -export type { Quantity } from "../hl7-fhir-r5-core/Quantity"; -export type { Reference } from "../hl7-fhir-r5-core/Reference"; - -export interface CoverageEligibilityRequestEvent extends BackboneElement { - type: CodeableConcept; - whenDateTime?: string; - whenPeriod?: Period; -} - -export interface CoverageEligibilityRequestInsurance extends BackboneElement { - businessArrangement?: string; - coverage: Reference<"Coverage">; - focal?: boolean; -} - -export interface CoverageEligibilityRequestItem extends BackboneElement { - category?: CodeableConcept; - detail?: Reference<"Resource">[]; - diagnosis?: CoverageEligibilityRequestItemDiagnosis[]; - facility?: Reference<"Location" | "Organization">; - modifier?: CodeableConcept[]; - productOrService?: CodeableConcept; - provider?: Reference<"Practitioner" | "PractitionerRole">; - quantity?: Quantity; - supportingInfoSequence?: number[]; - unitPrice?: Money; -} - -export interface CoverageEligibilityRequestItemDiagnosis extends BackboneElement { - diagnosisCodeableConcept?: CodeableConcept; - diagnosisReference?: Reference<"Condition">; -} - -export interface CoverageEligibilityRequestSupportingInfo extends BackboneElement { - appliesToAll?: boolean; - information: Reference<"Resource">; - sequence: number; -} - -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/CoverageEligibilityRequest (pkg: hl7.fhir.r5.core#5.0.0) -export interface CoverageEligibilityRequest extends DomainResource { - resourceType: "CoverageEligibilityRequest"; - - created: string; - _created?: Element; - enterer?: Reference<"Practitioner" | "PractitionerRole">; - event?: CoverageEligibilityRequestEvent[]; - facility?: Reference<"Location">; - identifier?: Identifier[]; - insurance?: CoverageEligibilityRequestInsurance[]; - insurer: Reference<"Organization">; - item?: CoverageEligibilityRequestItem[]; - patient: Reference<"Patient">; - priority?: CodeableConcept; - provider?: Reference<"Organization" | "Practitioner" | "PractitionerRole">; - purpose: ("auth-requirements" | "benefits" | "discovery" | "validation")[]; - _purpose?: (Element | null)[]; - servicedDate?: string; - _servicedDate?: Element; - servicedPeriod?: Period; - status: ("active" | "cancelled" | "draft" | "entered-in-error"); - _status?: Element; - supportingInfo?: CoverageEligibilityRequestSupportingInfo[]; -} -export const isCoverageEligibilityRequest = (resource: unknown): resource is CoverageEligibilityRequest => { - return resource !== null && typeof resource === "object" && (resource as {resourceType: string}).resourceType === "CoverageEligibilityRequest"; -} 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 deleted file mode 100644 index 85f8bcf81..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/CoverageEligibilityResponse.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 { BackboneElement } from "../hl7-fhir-r5-core/BackboneElement"; -import type { CodeableConcept } from "../hl7-fhir-r5-core/CodeableConcept"; -import type { DomainResource } from "../hl7-fhir-r5-core/DomainResource"; -import type { Identifier } from "../hl7-fhir-r5-core/Identifier"; -import type { Money } from "../hl7-fhir-r5-core/Money"; -import type { Period } from "../hl7-fhir-r5-core/Period"; -import type { Reference } from "../hl7-fhir-r5-core/Reference"; - -import type { Element } from "../hl7-fhir-r5-core/Element"; -export type { BackboneElement } from "../hl7-fhir-r5-core/BackboneElement"; -export type { CodeableConcept } from "../hl7-fhir-r5-core/CodeableConcept"; -export type { Identifier } from "../hl7-fhir-r5-core/Identifier"; -export type { Money } from "../hl7-fhir-r5-core/Money"; -export type { Period } from "../hl7-fhir-r5-core/Period"; -export type { Reference } from "../hl7-fhir-r5-core/Reference"; - -export interface CoverageEligibilityResponseError extends BackboneElement { - code: CodeableConcept; - expression?: string[]; -} - -export interface CoverageEligibilityResponseEvent extends BackboneElement { - type: CodeableConcept; - whenDateTime?: string; - whenPeriod?: Period; -} - -export interface CoverageEligibilityResponseInsurance extends BackboneElement { - benefitPeriod?: Period; - coverage: Reference<"Coverage">; - inforce?: boolean; - item?: CoverageEligibilityResponseInsuranceItem[]; -} - -export interface CoverageEligibilityResponseInsuranceItem extends BackboneElement { - authorizationRequired?: boolean; - authorizationSupporting?: CodeableConcept[]; - authorizationUrl?: string; - benefit?: CoverageEligibilityResponseInsuranceItemBenefit[]; - category?: CodeableConcept; - description?: string; - excluded?: boolean; - modifier?: CodeableConcept[]; - name?: string; - network?: CodeableConcept; - productOrService?: CodeableConcept; - provider?: Reference<"Practitioner" | "PractitionerRole">; - term?: CodeableConcept; - unit?: CodeableConcept; -} - -export interface CoverageEligibilityResponseInsuranceItemBenefit extends BackboneElement { - allowedMoney?: Money; - allowedString?: string; - allowedUnsignedInt?: number; - type: CodeableConcept; - usedMoney?: Money; - usedString?: string; - usedUnsignedInt?: number; -} - -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/CoverageEligibilityResponse (pkg: hl7.fhir.r5.core#5.0.0) -export interface CoverageEligibilityResponse extends DomainResource { - resourceType: "CoverageEligibilityResponse"; - - created: string; - _created?: Element; - disposition?: string; - _disposition?: Element; - error?: CoverageEligibilityResponseError[]; - event?: CoverageEligibilityResponseEvent[]; - form?: CodeableConcept; - identifier?: Identifier[]; - insurance?: CoverageEligibilityResponseInsurance[]; - insurer: Reference<"Organization">; - outcome: string; - _outcome?: Element; - patient: Reference<"Patient">; - preAuthRef?: string; - _preAuthRef?: Element; - purpose: ("auth-requirements" | "benefits" | "discovery" | "validation")[]; - _purpose?: (Element | null)[]; - request: Reference<"CoverageEligibilityRequest">; - requestor?: Reference<"Organization" | "Practitioner" | "PractitionerRole">; - servicedDate?: string; - _servicedDate?: Element; - servicedPeriod?: Period; - status: ("active" | "cancelled" | "draft" | "entered-in-error"); - _status?: Element; -} -export const isCoverageEligibilityResponse = (resource: unknown): resource is CoverageEligibilityResponse => { - return resource !== null && typeof resource === "object" && (resource as {resourceType: string}).resourceType === "CoverageEligibilityResponse"; -} 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 deleted file mode 100644 index 8d78a19d7..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/DataRequirement.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 { Coding } from "../hl7-fhir-r5-core/Coding"; -import type { DataType } from "../hl7-fhir-r5-core/DataType"; -import type { Duration } from "../hl7-fhir-r5-core/Duration"; -import type { Element } from "../hl7-fhir-r5-core/Element"; -import type { Period } from "../hl7-fhir-r5-core/Period"; -import type { Reference } from "../hl7-fhir-r5-core/Reference"; - -export type { CodeableConcept } from "../hl7-fhir-r5-core/CodeableConcept"; -export type { Coding } from "../hl7-fhir-r5-core/Coding"; -export type { DataType } from "../hl7-fhir-r5-core/DataType"; -export type { Duration } from "../hl7-fhir-r5-core/Duration"; -export type { Element } from "../hl7-fhir-r5-core/Element"; -export type { Period } from "../hl7-fhir-r5-core/Period"; -export type { Reference } from "../hl7-fhir-r5-core/Reference"; - -export interface DataRequirementCodeFilter extends Element { - code?: Coding[]; - path?: string; - searchParam?: string; - valueSet?: string; -} - -export interface DataRequirementDateFilter extends Element { - path?: string; - searchParam?: string; - valueDateTime?: string; - valueDuration?: Duration; - valuePeriod?: Period; -} - -export interface DataRequirementSort extends Element { - direction: ("ascending" | "descending"); - path: string; -} - -export interface DataRequirementValueFilter extends Element { - comparator?: ("eq" | "gt" | "lt" | "ge" | "le" | "sa" | "eb"); - path?: string; - searchParam?: string; - valueDateTime?: string; - valueDuration?: Duration; - valuePeriod?: Period; -} - -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/DataRequirement (pkg: hl7.fhir.r5.core#5.0.0) -export interface DataRequirement extends DataType { - codeFilter?: DataRequirementCodeFilter[]; - dateFilter?: DataRequirementDateFilter[]; - limit?: number; - _limit?: Element; - mustSupport?: string[]; - _mustSupport?: (Element | null)[]; - profile?: string[]; - _profile?: (Element | null)[]; - sort?: DataRequirementSort[]; - subjectCodeableConcept?: CodeableConcept; - subjectReference?: Reference<"Group">; - type: string; - _type?: 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 deleted file mode 100644 index c9c5213dc..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/DataType.ts +++ /dev/null @@ -1,11 +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 { Element } from "../hl7-fhir-r5-core/Element"; - -export type { Element } from "../hl7-fhir-r5-core/Element"; - -// 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 deleted file mode 100644 index 63aba0d69..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/Definition.ts +++ /dev/null @@ -1,11 +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 { Base } from "../hl7-fhir-r5-core/Base"; - -export type { Base } from "../hl7-fhir-r5-core/Base"; - -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/Definition (pkg: hl7.fhir.r5.core#5.0.0) -export interface Definition extends Base { -} 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 deleted file mode 100644 index 29c323623..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/DetectedIssue.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 { Annotation } from "../hl7-fhir-r5-core/Annotation"; -import type { BackboneElement } from "../hl7-fhir-r5-core/BackboneElement"; -import type { CodeableConcept } from "../hl7-fhir-r5-core/CodeableConcept"; -import type { DomainResource } from "../hl7-fhir-r5-core/DomainResource"; -import type { Identifier } from "../hl7-fhir-r5-core/Identifier"; -import type { Period } from "../hl7-fhir-r5-core/Period"; -import type { Reference } from "../hl7-fhir-r5-core/Reference"; - -import type { Element } from "../hl7-fhir-r5-core/Element"; -export type { Annotation } from "../hl7-fhir-r5-core/Annotation"; -export type { BackboneElement } from "../hl7-fhir-r5-core/BackboneElement"; -export type { CodeableConcept } from "../hl7-fhir-r5-core/CodeableConcept"; -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"; - -export interface DetectedIssueEvidence extends BackboneElement { - code?: CodeableConcept[]; - detail?: Reference<"Resource">[]; -} - -export interface DetectedIssueMitigation extends BackboneElement { - action: CodeableConcept; - author?: Reference<"Practitioner" | "PractitionerRole">; - date?: string; - note?: Annotation[]; -} - -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/DetectedIssue (pkg: hl7.fhir.r5.core#5.0.0) -export interface DetectedIssue extends DomainResource { - resourceType: "DetectedIssue"; - - author?: Reference<"Device" | "Patient" | "Practitioner" | "PractitionerRole" | "RelatedPerson">; - category?: CodeableConcept[]; - code?: CodeableConcept; - detail?: string; - _detail?: Element; - encounter?: Reference<"Encounter">; - evidence?: DetectedIssueEvidence[]; - identifiedDateTime?: string; - _identifiedDateTime?: Element; - identifiedPeriod?: Period; - identifier?: Identifier[]; - implicated?: Reference<"Resource">[]; - mitigation?: DetectedIssueMitigation[]; - reference?: string; - _reference?: Element; - severity?: ("high" | "moderate" | "low"); - _severity?: Element; - status: ("preliminary" | "final" | "entered-in-error" | "mitigated"); - _status?: Element; - subject?: Reference<"BiologicallyDerivedProduct" | "Device" | "Group" | "Location" | "Medication" | "NutritionProduct" | "Organization" | "Patient" | "Practitioner" | "Procedure" | "Substance">; -} -export const isDetectedIssue = (resource: unknown): resource is DetectedIssue => { - return resource !== null && typeof resource === "object" && (resource as {resourceType: string}).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 deleted file mode 100644 index 30c9d3b19..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/Device.ts +++ /dev/null @@ -1,121 +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 { Annotation } from "../hl7-fhir-r5-core/Annotation"; -import type { Attachment } from "../hl7-fhir-r5-core/Attachment"; -import type { BackboneElement } from "../hl7-fhir-r5-core/BackboneElement"; -import type { CodeableConcept } from "../hl7-fhir-r5-core/CodeableConcept"; -import type { CodeableReference } from "../hl7-fhir-r5-core/CodeableReference"; -import type { ContactPoint } from "../hl7-fhir-r5-core/ContactPoint"; -import type { Count } from "../hl7-fhir-r5-core/Count"; -import type { DomainResource } from "../hl7-fhir-r5-core/DomainResource"; -import type { Duration } from "../hl7-fhir-r5-core/Duration"; -import type { Identifier } from "../hl7-fhir-r5-core/Identifier"; -import type { Quantity } from "../hl7-fhir-r5-core/Quantity"; -import type { Range } from "../hl7-fhir-r5-core/Range"; -import type { Reference } from "../hl7-fhir-r5-core/Reference"; - -import type { Element } from "../hl7-fhir-r5-core/Element"; -export type { Annotation } from "../hl7-fhir-r5-core/Annotation"; -export type { Attachment } from "../hl7-fhir-r5-core/Attachment"; -export type { BackboneElement } from "../hl7-fhir-r5-core/BackboneElement"; -export type { CodeableConcept } from "../hl7-fhir-r5-core/CodeableConcept"; -export type { CodeableReference } from "../hl7-fhir-r5-core/CodeableReference"; -export type { ContactPoint } from "../hl7-fhir-r5-core/ContactPoint"; -export type { Count } from "../hl7-fhir-r5-core/Count"; -export type { Duration } from "../hl7-fhir-r5-core/Duration"; -export type { Identifier } from "../hl7-fhir-r5-core/Identifier"; -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"; - -export interface DeviceConformsTo extends BackboneElement { - category?: CodeableConcept; - specification: CodeableConcept; - version?: string; -} - -export interface DeviceName extends BackboneElement { - display?: boolean; - type: ("udi-label-name" | "user-friendly-name" | "patient-reported-name" | "manufacturer-name" | "model-name" | "other"); - value: string; -} - -export interface DeviceProperty extends BackboneElement { - type: CodeableConcept; - valueAttachment?: Attachment; - valueBoolean?: boolean; - valueCodeableConcept?: CodeableConcept; - valueInteger?: number; - valueQuantity?: Quantity; - valueRange?: Range; - valueString?: string; -} - -export interface DeviceUdiCarrier extends BackboneElement { - carrierAIDC?: string; - carrierHRF?: string; - deviceIdentifier: string; - entryType?: ("barcode" | "rfid" | "manual" | "card" | "self-reported" | "unknown"); - issuer: string; - jurisdiction?: string; -} - -export interface DeviceVersion extends BackboneElement { - component?: Identifier; - installDate?: string; - type?: CodeableConcept; - value: string; -} - -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/Device (pkg: hl7.fhir.r5.core#5.0.0) -export interface Device extends DomainResource { - resourceType: "Device"; - - availabilityStatus?: CodeableConcept; - biologicalSourceEvent?: Identifier; - category?: CodeableConcept[]; - conformsTo?: DeviceConformsTo[]; - contact?: ContactPoint[]; - cycle?: Count; - definition?: CodeableReference; - displayName?: string; - _displayName?: Element; - duration?: Duration; - endpoint?: Reference<"Endpoint">[]; - expirationDate?: string; - _expirationDate?: Element; - gateway?: CodeableReference[]; - identifier?: Identifier[]; - location?: Reference<"Location">; - lotNumber?: string; - _lotNumber?: Element; - manufactureDate?: string; - _manufactureDate?: Element; - manufacturer?: string; - _manufacturer?: Element; - mode?: CodeableConcept; - modelNumber?: string; - _modelNumber?: Element; - name?: DeviceName[]; - note?: Annotation[]; - owner?: Reference<"Organization">; - parent?: Reference<"Device">; - partNumber?: string; - _partNumber?: Element; - property?: DeviceProperty[]; - safety?: CodeableConcept[]; - serialNumber?: string; - _serialNumber?: Element; - status?: ("active" | "inactive" | "entered-in-error" | "unknown"); - _status?: Element; - type?: CodeableConcept[]; - udiCarrier?: DeviceUdiCarrier[]; - url?: string; - _url?: Element; - version?: DeviceVersion[]; -} -export const isDevice = (resource: unknown): resource is Device => { - return resource !== null && typeof resource === "object" && (resource as {resourceType: string}).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 deleted file mode 100644 index 7ab148bd8..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/DeviceAssociation.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 { BackboneElement } from "../hl7-fhir-r5-core/BackboneElement"; -import type { CodeableConcept } from "../hl7-fhir-r5-core/CodeableConcept"; -import type { DomainResource } from "../hl7-fhir-r5-core/DomainResource"; -import type { Identifier } from "../hl7-fhir-r5-core/Identifier"; -import type { Period } from "../hl7-fhir-r5-core/Period"; -import type { Reference } from "../hl7-fhir-r5-core/Reference"; - -export type { BackboneElement } from "../hl7-fhir-r5-core/BackboneElement"; -export type { CodeableConcept } from "../hl7-fhir-r5-core/CodeableConcept"; -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"; - -export interface DeviceAssociationOperation extends BackboneElement { - operator?: Reference<"Patient" | "Practitioner" | "RelatedPerson">[]; - period?: Period; - status: CodeableConcept; -} - -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/DeviceAssociation (pkg: hl7.fhir.r5.core#5.0.0) -export interface DeviceAssociation extends DomainResource { - resourceType: "DeviceAssociation"; - - bodyStructure?: Reference<"BodyStructure">; - category?: CodeableConcept[]; - device: Reference<"Device">; - identifier?: Identifier[]; - operation?: DeviceAssociationOperation[]; - period?: Period; - status: CodeableConcept; - statusReason?: CodeableConcept[]; - subject?: Reference<"Device" | "Group" | "Patient" | "Practitioner" | "RelatedPerson">; -} -export const isDeviceAssociation = (resource: unknown): resource is DeviceAssociation => { - return resource !== null && typeof resource === "object" && (resource as {resourceType: string}).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 deleted file mode 100644 index ae0738053..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/DeviceDefinition.ts +++ /dev/null @@ -1,182 +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 { Annotation } from "../hl7-fhir-r5-core/Annotation"; -import type { Attachment } from "../hl7-fhir-r5-core/Attachment"; -import type { BackboneElement } from "../hl7-fhir-r5-core/BackboneElement"; -import type { CodeableConcept } from "../hl7-fhir-r5-core/CodeableConcept"; -import type { CodeableReference } from "../hl7-fhir-r5-core/CodeableReference"; -import type { Coding } from "../hl7-fhir-r5-core/Coding"; -import type { ContactPoint } from "../hl7-fhir-r5-core/ContactPoint"; -import type { DomainResource } from "../hl7-fhir-r5-core/DomainResource"; -import type { Identifier } from "../hl7-fhir-r5-core/Identifier"; -import type { Period } from "../hl7-fhir-r5-core/Period"; -import type { ProductShelfLife } from "../hl7-fhir-r5-core/ProductShelfLife"; -import type { Quantity } from "../hl7-fhir-r5-core/Quantity"; -import type { Range } from "../hl7-fhir-r5-core/Range"; -import type { Reference } from "../hl7-fhir-r5-core/Reference"; -import type { RelatedArtifact } from "../hl7-fhir-r5-core/RelatedArtifact"; -import type { UsageContext } from "../hl7-fhir-r5-core/UsageContext"; - -import type { Element } from "../hl7-fhir-r5-core/Element"; -export type { Annotation } from "../hl7-fhir-r5-core/Annotation"; -export type { Attachment } from "../hl7-fhir-r5-core/Attachment"; -export type { BackboneElement } from "../hl7-fhir-r5-core/BackboneElement"; -export type { CodeableConcept } from "../hl7-fhir-r5-core/CodeableConcept"; -export type { CodeableReference } from "../hl7-fhir-r5-core/CodeableReference"; -export type { Coding } from "../hl7-fhir-r5-core/Coding"; -export type { ContactPoint } from "../hl7-fhir-r5-core/ContactPoint"; -export type { Identifier } from "../hl7-fhir-r5-core/Identifier"; -export type { Period } from "../hl7-fhir-r5-core/Period"; -export type { ProductShelfLife } from "../hl7-fhir-r5-core/ProductShelfLife"; -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"; -export type { RelatedArtifact } from "../hl7-fhir-r5-core/RelatedArtifact"; -export type { UsageContext } from "../hl7-fhir-r5-core/UsageContext"; - -export interface DeviceDefinitionChargeItem extends BackboneElement { - chargeItemCode: CodeableReference; - count: Quantity; - effectivePeriod?: Period; - useContext?: UsageContext[]; -} - -export interface DeviceDefinitionClassification extends BackboneElement { - justification?: RelatedArtifact[]; - type: CodeableConcept; -} - -export interface DeviceDefinitionConformsTo extends BackboneElement { - category?: CodeableConcept; - source?: RelatedArtifact[]; - specification: CodeableConcept; - version?: string[]; -} - -export interface DeviceDefinitionCorrectiveAction extends BackboneElement { - period: Period; - recall: boolean; - scope?: string; -} - -export interface DeviceDefinitionDeviceName extends BackboneElement { - name: string; - type: ("udi-label-name" | "user-friendly-name" | "patient-reported-name" | "manufacturer-name" | "model-name" | "other"); -} - -export interface DeviceDefinitionGuideline extends BackboneElement { - contraindication?: CodeableConcept[]; - indication?: CodeableConcept[]; - intendedUse?: string; - relatedArtifact?: RelatedArtifact[]; - usageInstruction?: string; - useContext?: UsageContext[]; - warning?: CodeableConcept[]; -} - -export interface DeviceDefinitionHasPart extends BackboneElement { - count?: number; - reference: Reference<"DeviceDefinition">; -} - -export interface DeviceDefinitionLink extends BackboneElement { - relatedDevice: CodeableReference; - relation: Coding; -} - -export interface DeviceDefinitionMaterial extends BackboneElement { - allergenicIndicator?: boolean; - alternate?: boolean; - substance: CodeableConcept; -} - -export interface DeviceDefinitionPackaging extends BackboneElement { - count?: number; - distributor?: DeviceDefinitionPackagingDistributor[]; - identifier?: Identifier; - packaging?: DeviceDefinitionPackaging[]; - type?: CodeableConcept; - udiDeviceIdentifier?: DeviceDefinitionUdiDeviceIdentifier[]; -} - -export interface DeviceDefinitionPackagingDistributor extends BackboneElement { - name?: string; - organizationReference?: Reference<"Organization">[]; -} - -export interface DeviceDefinitionProperty extends BackboneElement { - type: CodeableConcept; - valueAttachment?: Attachment; - valueBoolean?: boolean; - valueCodeableConcept?: CodeableConcept; - valueInteger?: number; - valueQuantity?: Quantity; - valueRange?: Range; - valueString?: string; -} - -export interface DeviceDefinitionRegulatoryIdentifier extends BackboneElement { - deviceIdentifier: string; - issuer: string; - jurisdiction: string; - type: string; -} - -export interface DeviceDefinitionUdiDeviceIdentifier extends BackboneElement { - deviceIdentifier: string; - issuer: string; - jurisdiction: string; - marketDistribution?: DeviceDefinitionUdiDeviceIdentifierMarketDistribution[]; -} - -export interface DeviceDefinitionUdiDeviceIdentifierMarketDistribution extends BackboneElement { - marketPeriod: Period; - subJurisdiction: string; -} - -export interface DeviceDefinitionVersion extends BackboneElement { - component?: Identifier; - type?: CodeableConcept; - value: string; -} - -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/DeviceDefinition (pkg: hl7.fhir.r5.core#5.0.0) -export interface DeviceDefinition extends DomainResource { - resourceType: "DeviceDefinition"; - - chargeItem?: DeviceDefinitionChargeItem[]; - classification?: DeviceDefinitionClassification[]; - conformsTo?: DeviceDefinitionConformsTo[]; - contact?: ContactPoint[]; - correctiveAction?: DeviceDefinitionCorrectiveAction; - description?: string; - _description?: Element; - deviceName?: DeviceDefinitionDeviceName[]; - guideline?: DeviceDefinitionGuideline; - hasPart?: DeviceDefinitionHasPart[]; - identifier?: Identifier[]; - languageCode?: CodeableConcept[]; - link?: DeviceDefinitionLink[]; - manufacturer?: Reference<"Organization">; - material?: DeviceDefinitionMaterial[]; - modelNumber?: string; - _modelNumber?: Element; - note?: Annotation[]; - owner?: Reference<"Organization">; - packaging?: DeviceDefinitionPackaging[]; - partNumber?: string; - _partNumber?: Element; - productionIdentifierInUDI?: string[]; - _productionIdentifierInUDI?: (Element | null)[]; - property?: DeviceDefinitionProperty[]; - regulatoryIdentifier?: DeviceDefinitionRegulatoryIdentifier[]; - safety?: CodeableConcept[]; - shelfLifeStorage?: ProductShelfLife[]; - udiDeviceIdentifier?: DeviceDefinitionUdiDeviceIdentifier[]; - version?: DeviceDefinitionVersion[]; -} -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-r5-core/DeviceDispense.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/DeviceDispense.ts deleted file mode 100644 index f282b3291..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/DeviceDispense.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 { Annotation } from "../hl7-fhir-r5-core/Annotation"; -import type { BackboneElement } from "../hl7-fhir-r5-core/BackboneElement"; -import type { CodeableConcept } from "../hl7-fhir-r5-core/CodeableConcept"; -import type { CodeableReference } from "../hl7-fhir-r5-core/CodeableReference"; -import type { DomainResource } from "../hl7-fhir-r5-core/DomainResource"; -import type { Identifier } from "../hl7-fhir-r5-core/Identifier"; -import type { Quantity } from "../hl7-fhir-r5-core/Quantity"; -import type { Reference } from "../hl7-fhir-r5-core/Reference"; - -import type { Element } from "../hl7-fhir-r5-core/Element"; -export type { Annotation } from "../hl7-fhir-r5-core/Annotation"; -export type { BackboneElement } from "../hl7-fhir-r5-core/BackboneElement"; -export type { CodeableConcept } from "../hl7-fhir-r5-core/CodeableConcept"; -export type { CodeableReference } from "../hl7-fhir-r5-core/CodeableReference"; -export type { Identifier } from "../hl7-fhir-r5-core/Identifier"; -export type { Quantity } from "../hl7-fhir-r5-core/Quantity"; -export type { Reference } from "../hl7-fhir-r5-core/Reference"; - -export interface DeviceDispensePerformer extends BackboneElement { - actor: Reference<"CareTeam" | "Device" | "Organization" | "Patient" | "Practitioner" | "PractitionerRole" | "RelatedPerson">; - "function"?: CodeableConcept; -} - -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/DeviceDispense (pkg: hl7.fhir.r5.core#5.0.0) -export interface DeviceDispense extends DomainResource { - resourceType: "DeviceDispense"; - - basedOn?: Reference<"CarePlan" | "DeviceRequest">[]; - category?: CodeableConcept[]; - destination?: Reference<"Location">; - device: CodeableReference; - encounter?: Reference<"Encounter">; - eventHistory?: Reference<"Provenance">[]; - identifier?: Identifier[]; - location?: Reference<"Location">; - note?: Annotation[]; - partOf?: Reference<"Procedure">[]; - performer?: DeviceDispensePerformer[]; - preparedDate?: string; - _preparedDate?: Element; - quantity?: Quantity; - receiver?: Reference<"Location" | "Patient" | "Practitioner" | "PractitionerRole" | "RelatedPerson">; - status: string; - _status?: Element; - statusReason?: CodeableReference; - subject: Reference<"Patient" | "Practitioner">; - supportingInformation?: Reference<"Resource">[]; - type?: CodeableConcept; - usageInstruction?: string; - _usageInstruction?: Element; - whenHandedOver?: string; - _whenHandedOver?: Element; -} -export const isDeviceDispense = (resource: unknown): resource is DeviceDispense => { - return resource !== null && typeof resource === "object" && (resource as {resourceType: string}).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 deleted file mode 100644 index 9ce1bf224..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/DeviceMetric.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 { BackboneElement } from "../hl7-fhir-r5-core/BackboneElement"; -import type { CodeableConcept } from "../hl7-fhir-r5-core/CodeableConcept"; -import type { DomainResource } from "../hl7-fhir-r5-core/DomainResource"; -import type { Identifier } from "../hl7-fhir-r5-core/Identifier"; -import type { Quantity } from "../hl7-fhir-r5-core/Quantity"; -import type { Reference } from "../hl7-fhir-r5-core/Reference"; - -import type { Element } from "../hl7-fhir-r5-core/Element"; -export type { BackboneElement } from "../hl7-fhir-r5-core/BackboneElement"; -export type { CodeableConcept } from "../hl7-fhir-r5-core/CodeableConcept"; -export type { Identifier } from "../hl7-fhir-r5-core/Identifier"; -export type { Quantity } from "../hl7-fhir-r5-core/Quantity"; -export type { Reference } from "../hl7-fhir-r5-core/Reference"; - -export interface DeviceMetricCalibration extends BackboneElement { - state?: ("not-calibrated" | "calibration-required" | "calibrated" | "unspecified"); - time?: string; - type?: ("unspecified" | "offset" | "gain" | "two-point"); -} - -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/DeviceMetric (pkg: hl7.fhir.r5.core#5.0.0) -export interface DeviceMetric extends DomainResource { - resourceType: "DeviceMetric"; - - calibration?: DeviceMetricCalibration[]; - category: ("measurement" | "setting" | "calculation" | "unspecified"); - _category?: Element; - color?: string; - _color?: Element; - device: Reference<"Device">; - identifier?: Identifier[]; - measurementFrequency?: Quantity; - operationalStatus?: ("on" | "off" | "standby" | "entered-in-error"); - _operationalStatus?: Element; - type: CodeableConcept; - unit?: CodeableConcept; -} -export const isDeviceMetric = (resource: unknown): resource is DeviceMetric => { - return resource !== null && typeof resource === "object" && (resource as {resourceType: string}).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 deleted file mode 100644 index 5473f9037..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/DeviceRequest.ts +++ /dev/null @@ -1,82 +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 { Annotation } from "../hl7-fhir-r5-core/Annotation"; -import type { BackboneElement } from "../hl7-fhir-r5-core/BackboneElement"; -import type { CodeableConcept } from "../hl7-fhir-r5-core/CodeableConcept"; -import type { CodeableReference } from "../hl7-fhir-r5-core/CodeableReference"; -import type { DomainResource } from "../hl7-fhir-r5-core/DomainResource"; -import type { Identifier } from "../hl7-fhir-r5-core/Identifier"; -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 { Reference } from "../hl7-fhir-r5-core/Reference"; -import type { Timing } from "../hl7-fhir-r5-core/Timing"; - -import type { Element } from "../hl7-fhir-r5-core/Element"; -export type { Annotation } from "../hl7-fhir-r5-core/Annotation"; -export type { BackboneElement } from "../hl7-fhir-r5-core/BackboneElement"; -export type { CodeableConcept } from "../hl7-fhir-r5-core/CodeableConcept"; -export type { CodeableReference } from "../hl7-fhir-r5-core/CodeableReference"; -export type { Identifier } from "../hl7-fhir-r5-core/Identifier"; -export type { Period } from "../hl7-fhir-r5-core/Period"; -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"; -export type { Timing } from "../hl7-fhir-r5-core/Timing"; - -export interface DeviceRequestParameter extends BackboneElement { - code?: CodeableConcept; - valueBoolean?: boolean; - valueCodeableConcept?: CodeableConcept; - valueQuantity?: Quantity; - valueRange?: Range; -} - -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/DeviceRequest (pkg: hl7.fhir.r5.core#5.0.0) -export interface DeviceRequest extends DomainResource { - resourceType: "DeviceRequest"; - - asNeeded?: boolean; - _asNeeded?: Element; - asNeededFor?: CodeableConcept; - authoredOn?: string; - _authoredOn?: Element; - basedOn?: Reference<"Resource">[]; - code: CodeableReference; - doNotPerform?: boolean; - _doNotPerform?: Element; - encounter?: Reference<"Encounter">; - groupIdentifier?: Identifier; - identifier?: Identifier[]; - instantiatesCanonical?: string[]; - _instantiatesCanonical?: (Element | null)[]; - instantiatesUri?: string[]; - _instantiatesUri?: (Element | null)[]; - insurance?: Reference<"ClaimResponse" | "Coverage">[]; - intent: ("proposal" | "plan" | "directive" | "order" | "original-order" | "reflex-order" | "filler-order" | "instance-order" | "option"); - _intent?: Element; - note?: Annotation[]; - occurrenceDateTime?: string; - _occurrenceDateTime?: Element; - occurrencePeriod?: Period; - occurrenceTiming?: Timing; - parameter?: DeviceRequestParameter[]; - performer?: CodeableReference; - priority?: ("routine" | "urgent" | "asap" | "stat"); - _priority?: Element; - quantity?: number; - _quantity?: Element; - reason?: CodeableReference[]; - relevantHistory?: Reference<"Provenance">[]; - replaces?: Reference<"DeviceRequest">[]; - requester?: Reference<"Device" | "Organization" | "Practitioner" | "PractitionerRole">; - status?: ("draft" | "active" | "on-hold" | "revoked" | "completed" | "entered-in-error" | "unknown"); - _status?: Element; - subject: Reference<"Device" | "Group" | "Location" | "Patient">; - supportingInfo?: Reference<"Resource">[]; -} -export const isDeviceRequest = (resource: unknown): resource is DeviceRequest => { - return resource !== null && typeof resource === "object" && (resource as {resourceType: string}).resourceType === "DeviceRequest"; -} 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 deleted file mode 100644 index 75b57d757..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/DeviceUsage.ts +++ /dev/null @@ -1,59 +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 { Annotation } from "../hl7-fhir-r5-core/Annotation"; -import type { BackboneElement } from "../hl7-fhir-r5-core/BackboneElement"; -import type { CodeableConcept } from "../hl7-fhir-r5-core/CodeableConcept"; -import type { CodeableReference } from "../hl7-fhir-r5-core/CodeableReference"; -import type { DomainResource } from "../hl7-fhir-r5-core/DomainResource"; -import type { Identifier } from "../hl7-fhir-r5-core/Identifier"; -import type { Period } from "../hl7-fhir-r5-core/Period"; -import type { Reference } from "../hl7-fhir-r5-core/Reference"; -import type { Timing } from "../hl7-fhir-r5-core/Timing"; - -import type { Element } from "../hl7-fhir-r5-core/Element"; -export type { Annotation } from "../hl7-fhir-r5-core/Annotation"; -export type { BackboneElement } from "../hl7-fhir-r5-core/BackboneElement"; -export type { CodeableConcept } from "../hl7-fhir-r5-core/CodeableConcept"; -export type { CodeableReference } from "../hl7-fhir-r5-core/CodeableReference"; -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"; -export type { Timing } from "../hl7-fhir-r5-core/Timing"; - -export interface DeviceUsageAdherence extends BackboneElement { - code: CodeableConcept; - reason: CodeableConcept[]; -} - -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/DeviceUsage (pkg: hl7.fhir.r5.core#5.0.0) -export interface DeviceUsage extends DomainResource { - resourceType: "DeviceUsage"; - - adherence?: DeviceUsageAdherence; - basedOn?: Reference<"ServiceRequest">[]; - bodySite?: CodeableReference; - category?: CodeableConcept[]; - context?: Reference<"Encounter" | "EpisodeOfCare">; - dateAsserted?: string; - _dateAsserted?: Element; - derivedFrom?: Reference<"Claim" | "DocumentReference" | "Observation" | "Procedure" | "QuestionnaireResponse" | "ServiceRequest">[]; - device: CodeableReference; - identifier?: Identifier[]; - informationSource?: Reference<"Organization" | "Patient" | "Practitioner" | "PractitionerRole" | "RelatedPerson">; - note?: Annotation[]; - patient: Reference<"Patient">; - reason?: CodeableReference[]; - status: string; - _status?: Element; - timingDateTime?: string; - _timingDateTime?: Element; - timingPeriod?: Period; - timingTiming?: Timing; - usageReason?: CodeableConcept[]; - usageStatus?: CodeableConcept; -} -export const isDeviceUsage = (resource: unknown): resource is DeviceUsage => { - return resource !== null && typeof resource === "object" && (resource as {resourceType: string}).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 deleted file mode 100644 index ad68cd53c..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/DiagnosticReport.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 { Annotation } from "../hl7-fhir-r5-core/Annotation"; -import type { Attachment } from "../hl7-fhir-r5-core/Attachment"; -import type { BackboneElement } from "../hl7-fhir-r5-core/BackboneElement"; -import type { CodeableConcept } from "../hl7-fhir-r5-core/CodeableConcept"; -import type { DomainResource } from "../hl7-fhir-r5-core/DomainResource"; -import type { Identifier } from "../hl7-fhir-r5-core/Identifier"; -import type { Period } from "../hl7-fhir-r5-core/Period"; -import type { Reference } from "../hl7-fhir-r5-core/Reference"; - -import type { Element } from "../hl7-fhir-r5-core/Element"; -export type { Annotation } from "../hl7-fhir-r5-core/Annotation"; -export type { Attachment } from "../hl7-fhir-r5-core/Attachment"; -export type { BackboneElement } from "../hl7-fhir-r5-core/BackboneElement"; -export type { CodeableConcept } from "../hl7-fhir-r5-core/CodeableConcept"; -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"; - -export interface DiagnosticReportMedia extends BackboneElement { - comment?: string; - link: Reference<"DocumentReference">; -} - -export interface DiagnosticReportSupportingInfo extends BackboneElement { - reference: Reference<"Citation" | "DiagnosticReport" | "Observation" | "Procedure">; - type: CodeableConcept; -} - -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/DiagnosticReport (pkg: hl7.fhir.r5.core#5.0.0) -export interface DiagnosticReport extends DomainResource { - resourceType: "DiagnosticReport"; - - basedOn?: Reference<"CarePlan" | "ImmunizationRecommendation" | "MedicationRequest" | "NutritionOrder" | "ServiceRequest">[]; - category?: CodeableConcept[]; - code: CodeableConcept; - composition?: Reference<"Composition">; - conclusion?: string; - _conclusion?: Element; - conclusionCode?: CodeableConcept[]; - effectiveDateTime?: string; - _effectiveDateTime?: Element; - effectivePeriod?: Period; - encounter?: Reference<"Encounter">; - identifier?: Identifier[]; - issued?: string; - _issued?: Element; - media?: DiagnosticReportMedia[]; - note?: Annotation[]; - performer?: Reference<"CareTeam" | "Organization" | "Practitioner" | "PractitionerRole">[]; - presentedForm?: Attachment[]; - result?: Reference<"Observation">[]; - resultsInterpreter?: Reference<"CareTeam" | "Organization" | "Practitioner" | "PractitionerRole">[]; - specimen?: Reference<"Specimen">[]; - status: ("registered" | "partial" | "preliminary" | "final" | "amended" | "corrected" | "appended" | "cancelled" | "entered-in-error" | "unknown"); - _status?: Element; - study?: Reference<"GenomicStudy" | "ImagingStudy">[]; - subject?: Reference<"BiologicallyDerivedProduct" | "Device" | "Group" | "Location" | "Medication" | "Organization" | "Patient" | "Practitioner" | "Substance">; - supportingInfo?: DiagnosticReportSupportingInfo[]; -} -export const isDiagnosticReport = (resource: unknown): resource is DiagnosticReport => { - return resource !== null && typeof resource === "object" && (resource as {resourceType: string}).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 deleted file mode 100644 index 19c9931c8..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/Distance.ts +++ /dev/null @@ -1,11 +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 { Quantity } from "../hl7-fhir-r5-core/Quantity"; - -export type { Quantity } from "../hl7-fhir-r5-core/Quantity"; - -// 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 deleted file mode 100644 index dce7b70d5..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/DocumentReference.ts +++ /dev/null @@ -1,82 +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 { BackboneElement } from "../hl7-fhir-r5-core/BackboneElement"; -import type { CodeableConcept } from "../hl7-fhir-r5-core/CodeableConcept"; -import type { CodeableReference } from "../hl7-fhir-r5-core/CodeableReference"; -import type { Coding } from "../hl7-fhir-r5-core/Coding"; -import type { DomainResource } from "../hl7-fhir-r5-core/DomainResource"; -import type { Identifier } from "../hl7-fhir-r5-core/Identifier"; -import type { Period } from "../hl7-fhir-r5-core/Period"; -import type { Reference } from "../hl7-fhir-r5-core/Reference"; - -import type { Element } from "../hl7-fhir-r5-core/Element"; -export type { Attachment } from "../hl7-fhir-r5-core/Attachment"; -export type { BackboneElement } from "../hl7-fhir-r5-core/BackboneElement"; -export type { CodeableConcept } from "../hl7-fhir-r5-core/CodeableConcept"; -export type { CodeableReference } from "../hl7-fhir-r5-core/CodeableReference"; -export type { Coding } from "../hl7-fhir-r5-core/Coding"; -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"; - -export interface DocumentReferenceAttester extends BackboneElement { - mode: CodeableConcept<("personal" | "professional" | "legal" | "official" | string)>; - party?: Reference<"Organization" | "Patient" | "Practitioner" | "PractitionerRole" | "RelatedPerson">; - time?: string; -} - -export interface DocumentReferenceContent extends BackboneElement { - attachment: Attachment; - profile?: DocumentReferenceContentProfile[]; -} - -export interface DocumentReferenceContentProfile extends BackboneElement { - valueCanonical?: string; - valueCoding?: Coding; - valueUri?: string; -} - -export interface DocumentReferenceRelatesTo extends BackboneElement { - code: CodeableConcept<("replaces" | "transforms" | "signs" | "appends" | string)>; - target: Reference<"DocumentReference">; -} - -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/DocumentReference (pkg: hl7.fhir.r5.core#5.0.0) -export interface DocumentReference extends DomainResource { - resourceType: "DocumentReference"; - - attester?: DocumentReferenceAttester[]; - author?: Reference<"CareTeam" | "Device" | "Organization" | "Patient" | "Practitioner" | "PractitionerRole" | "RelatedPerson">[]; - basedOn?: Reference<"Appointment" | "AppointmentResponse" | "CarePlan" | "Claim" | "CommunicationRequest" | "Contract" | "CoverageEligibilityRequest" | "DeviceRequest" | "EnrollmentRequest" | "ImmunizationRecommendation" | "MedicationRequest" | "NutritionOrder" | "RequestOrchestration" | "ServiceRequest" | "SupplyRequest" | "VisionPrescription">[]; - bodySite?: CodeableReference[]; - category?: CodeableConcept[]; - content: DocumentReferenceContent[]; - context?: Reference<"Appointment" | "Encounter" | "EpisodeOfCare">[]; - custodian?: Reference<"Organization">; - date?: string; - _date?: Element; - description?: string; - _description?: Element; - docStatus?: ("preliminary" | "final" | "amended" | "entered-in-error"); - _docStatus?: Element; - event?: CodeableReference[]; - facilityType?: CodeableConcept; - identifier?: Identifier[]; - modality?: CodeableConcept[]; - period?: Period; - practiceSetting?: CodeableConcept; - relatesTo?: DocumentReferenceRelatesTo[]; - securityLabel?: CodeableConcept[]; - status: ("current" | "superseded" | "entered-in-error"); - _status?: Element; - subject?: Reference<"Resource">; - type?: CodeableConcept; - version?: string; - _version?: Element; -} -export const isDocumentReference = (resource: unknown): resource is DocumentReference => { - return resource !== null && typeof resource === "object" && (resource as {resourceType: string}).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 deleted file mode 100644 index bbb941bb3..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/DomainResource.ts +++ /dev/null @@ -1,23 +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 { Narrative } from "../hl7-fhir-r5-core/Narrative"; -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 (pkg: hl7.fhir.r5.core#5.0.0) -export interface DomainResource extends Resource { - 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[]; - modifierExtension?: Extension[]; - text?: Narrative; -} -export const isDomainResource = (resource: unknown): resource is DomainResource => { - return resource !== null && typeof resource === "object" && (resource as {resourceType: string}).resourceType === "DomainResource"; -} 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 deleted file mode 100644 index 628cdfa37..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/Dosage.ts +++ /dev/null @@ -1,50 +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 { BackboneType } from "../hl7-fhir-r5-core/BackboneType"; -import type { CodeableConcept } from "../hl7-fhir-r5-core/CodeableConcept"; -import type { Element } from "../hl7-fhir-r5-core/Element"; -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 { Timing } from "../hl7-fhir-r5-core/Timing"; - -export type { BackboneType } from "../hl7-fhir-r5-core/BackboneType"; -export type { CodeableConcept } from "../hl7-fhir-r5-core/CodeableConcept"; -export type { Element } from "../hl7-fhir-r5-core/Element"; -export type { Quantity } from "../hl7-fhir-r5-core/Quantity"; -export type { Range } from "../hl7-fhir-r5-core/Range"; -export type { Ratio } from "../hl7-fhir-r5-core/Ratio"; -export type { Timing } from "../hl7-fhir-r5-core/Timing"; - -export interface DosageDoseAndRate extends Element { - doseQuantity?: Quantity; - doseRange?: Range; - rateQuantity?: Quantity; - rateRange?: Range; - rateRatio?: Ratio; - type?: CodeableConcept; -} - -// 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?: DosageDoseAndRate[]; - maxDosePerAdministration?: Quantity; - maxDosePerLifetime?: Quantity; - maxDosePerPeriod?: Ratio[]; - method?: CodeableConcept; - patientInstruction?: string; - _patientInstruction?: Element; - route?: CodeableConcept; - sequence?: number; - _sequence?: Element; - site?: CodeableConcept; - text?: string; - _text?: Element; - timing?: Timing; -} 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 deleted file mode 100644 index b5c4d5c98..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/Duration.ts +++ /dev/null @@ -1,11 +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 { Quantity } from "../hl7-fhir-r5-core/Quantity"; - -export type { Quantity } from "../hl7-fhir-r5-core/Quantity"; - -// 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 deleted file mode 100644 index ae4cc0430..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/Element.ts +++ /dev/null @@ -1,14 +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"; - -export type { Extension } from "../hl7-fhir-r5-core/Extension"; - -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/Element (pkg: hl7.fhir.r5.core#5.0.0) -export interface Element { - extension?: Extension[]; - id?: string; - _id?: Element; -} 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 deleted file mode 100644 index 5a550dae3..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/ElementDefinition.ts +++ /dev/null @@ -1,512 +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 { Address } from "../hl7-fhir-r5-core/Address"; -import type { Age } from "../hl7-fhir-r5-core/Age"; -import type { Annotation } from "../hl7-fhir-r5-core/Annotation"; -import type { Attachment } from "../hl7-fhir-r5-core/Attachment"; -import type { Availability } from "../hl7-fhir-r5-core/Availability"; -import type { BackboneType } from "../hl7-fhir-r5-core/BackboneType"; -import type { CodeableConcept } from "../hl7-fhir-r5-core/CodeableConcept"; -import type { CodeableReference } from "../hl7-fhir-r5-core/CodeableReference"; -import type { Coding } from "../hl7-fhir-r5-core/Coding"; -import type { ContactDetail } from "../hl7-fhir-r5-core/ContactDetail"; -import type { ContactPoint } from "../hl7-fhir-r5-core/ContactPoint"; -import type { Count } from "../hl7-fhir-r5-core/Count"; -import type { DataRequirement } from "../hl7-fhir-r5-core/DataRequirement"; -import type { Distance } from "../hl7-fhir-r5-core/Distance"; -import type { Dosage } from "../hl7-fhir-r5-core/Dosage"; -import type { Duration } from "../hl7-fhir-r5-core/Duration"; -import type { Element } from "../hl7-fhir-r5-core/Element"; -import type { Expression } from "../hl7-fhir-r5-core/Expression"; -import type { ExtendedContactDetail } from "../hl7-fhir-r5-core/ExtendedContactDetail"; -import type { HumanName } from "../hl7-fhir-r5-core/HumanName"; -import type { Identifier } from "../hl7-fhir-r5-core/Identifier"; -import type { Meta } from "../hl7-fhir-r5-core/Meta"; -import type { Money } from "../hl7-fhir-r5-core/Money"; -import type { ParameterDefinition } from "../hl7-fhir-r5-core/ParameterDefinition"; -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 { RatioRange } from "../hl7-fhir-r5-core/RatioRange"; -import type { Reference } from "../hl7-fhir-r5-core/Reference"; -import type { RelatedArtifact } from "../hl7-fhir-r5-core/RelatedArtifact"; -import type { SampledData } from "../hl7-fhir-r5-core/SampledData"; -import type { Signature } from "../hl7-fhir-r5-core/Signature"; -import type { Timing } from "../hl7-fhir-r5-core/Timing"; -import type { TriggerDefinition } from "../hl7-fhir-r5-core/TriggerDefinition"; -import type { UsageContext } from "../hl7-fhir-r5-core/UsageContext"; - -export type { Address } from "../hl7-fhir-r5-core/Address"; -export type { Age } from "../hl7-fhir-r5-core/Age"; -export type { Annotation } from "../hl7-fhir-r5-core/Annotation"; -export type { Attachment } from "../hl7-fhir-r5-core/Attachment"; -export type { Availability } from "../hl7-fhir-r5-core/Availability"; -export type { BackboneType } from "../hl7-fhir-r5-core/BackboneType"; -export type { CodeableConcept } from "../hl7-fhir-r5-core/CodeableConcept"; -export type { CodeableReference } from "../hl7-fhir-r5-core/CodeableReference"; -export type { Coding } from "../hl7-fhir-r5-core/Coding"; -export type { ContactDetail } from "../hl7-fhir-r5-core/ContactDetail"; -export type { ContactPoint } from "../hl7-fhir-r5-core/ContactPoint"; -export type { Count } from "../hl7-fhir-r5-core/Count"; -export type { DataRequirement } from "../hl7-fhir-r5-core/DataRequirement"; -export type { Distance } from "../hl7-fhir-r5-core/Distance"; -export type { Dosage } from "../hl7-fhir-r5-core/Dosage"; -export type { Duration } from "../hl7-fhir-r5-core/Duration"; -export type { Element } from "../hl7-fhir-r5-core/Element"; -export type { Expression } from "../hl7-fhir-r5-core/Expression"; -export type { ExtendedContactDetail } from "../hl7-fhir-r5-core/ExtendedContactDetail"; -export type { HumanName } from "../hl7-fhir-r5-core/HumanName"; -export type { Identifier } from "../hl7-fhir-r5-core/Identifier"; -export type { Meta } from "../hl7-fhir-r5-core/Meta"; -export type { Money } from "../hl7-fhir-r5-core/Money"; -export type { ParameterDefinition } from "../hl7-fhir-r5-core/ParameterDefinition"; -export type { Period } from "../hl7-fhir-r5-core/Period"; -export type { Quantity } from "../hl7-fhir-r5-core/Quantity"; -export type { Range } from "../hl7-fhir-r5-core/Range"; -export type { Ratio } from "../hl7-fhir-r5-core/Ratio"; -export type { RatioRange } from "../hl7-fhir-r5-core/RatioRange"; -export type { Reference } from "../hl7-fhir-r5-core/Reference"; -export type { RelatedArtifact } from "../hl7-fhir-r5-core/RelatedArtifact"; -export type { SampledData } from "../hl7-fhir-r5-core/SampledData"; -export type { Signature } from "../hl7-fhir-r5-core/Signature"; -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"; - -export interface ElementDefinitionBase extends Element { - max: string; - min: number; - path: string; -} - -export interface ElementDefinitionBinding extends Element { - additional?: ElementDefinitionBindingAdditional[]; - description?: string; - strength: ("required" | "extensible" | "preferred" | "example"); - valueSet?: string; -} - -export interface ElementDefinitionBindingAdditional extends Element { - any?: boolean; - documentation?: string; - purpose: string; - shortDoco?: string; - usage?: UsageContext[]; - valueSet: string; -} - -export interface ElementDefinitionConstraint extends Element { - expression?: string; - human: string; - key: string; - requirements?: string; - severity: ("error" | "warning"); - source?: string; - suppress?: boolean; -} - -export interface ElementDefinitionExample extends Element { - label: string; - valueAddress?: Address; - valueAge?: Age; - valueAnnotation?: Annotation; - valueAttachment?: Attachment; - valueAvailability?: Availability; - valueBase64Binary?: string; - valueBoolean?: boolean; - valueCanonical?: string; - valueCode?: string; - valueCodeableConcept?: CodeableConcept; - valueCodeableReference?: CodeableReference; - valueCoding?: Coding; - valueContactDetail?: ContactDetail; - valueContactPoint?: ContactPoint; - valueCount?: Count; - valueDataRequirement?: DataRequirement; - valueDate?: string; - valueDateTime?: string; - valueDecimal?: number; - valueDistance?: Distance; - valueDosage?: Dosage; - valueDuration?: Duration; - valueExpression?: Expression; - valueExtendedContactDetail?: ExtendedContactDetail; - valueHumanName?: HumanName; - valueId?: string; - valueIdentifier?: Identifier; - valueInstant?: string; - valueInteger?: number; - valueInteger64?: number; - valueMarkdown?: string; - valueMeta?: Meta; - valueMoney?: Money; - valueOid?: string; - valueParameterDefinition?: ParameterDefinition; - valuePeriod?: Period; - valuePositiveInt?: number; - valueQuantity?: Quantity; - valueRange?: Range; - valueRatio?: Ratio; - valueRatioRange?: RatioRange; - valueReference?: Reference; - valueRelatedArtifact?: RelatedArtifact; - valueSampledData?: SampledData; - valueSignature?: Signature; - valueString?: string; - valueTime?: string; - valueTiming?: Timing; - valueTriggerDefinition?: TriggerDefinition; - valueUnsignedInt?: number; - valueUri?: string; - valueUrl?: string; - valueUsageContext?: UsageContext; - valueUuid?: string; -} - -export interface ElementDefinitionMapping extends Element { - comment?: string; - identity: string; - language?: string; - map: string; -} - -export interface ElementDefinitionSlicing extends Element { - description?: string; - discriminator?: ElementDefinitionSlicingDiscriminator[]; - ordered?: boolean; - rules: ("closed" | "open" | "openAtEnd"); -} - -export interface ElementDefinitionSlicingDiscriminator extends Element { - path: string; - type: ("value" | "exists" | "pattern" | "type" | "profile"); -} - -export interface ElementDefinitionType extends Element { - aggregation?: ("contained" | "referenced" | "bundled")[]; - code: string; - profile?: string[]; - targetProfile?: string[]; - versioning?: ("either" | "independent" | "specific"); -} - -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/ElementDefinition (pkg: hl7.fhir.r5.core#5.0.0) -export interface ElementDefinition extends BackboneType { - alias?: string[]; - _alias?: (Element | null)[]; - base?: ElementDefinitionBase; - binding?: ElementDefinitionBinding; - code?: Coding[]; - comment?: string; - _comment?: Element; - condition?: string[]; - _condition?: (Element | null)[]; - constraint?: ElementDefinitionConstraint[]; - contentReference?: string; - _contentReference?: Element; - defaultValueAddress?: Address; - defaultValueAge?: Age; - defaultValueAnnotation?: Annotation; - defaultValueAttachment?: Attachment; - defaultValueAvailability?: Availability; - defaultValueBase64Binary?: string; - _defaultValueBase64Binary?: Element; - defaultValueBoolean?: boolean; - _defaultValueBoolean?: Element; - defaultValueCanonical?: string; - _defaultValueCanonical?: Element; - defaultValueCode?: string; - _defaultValueCode?: Element; - defaultValueCodeableConcept?: CodeableConcept; - defaultValueCodeableReference?: CodeableReference; - defaultValueCoding?: Coding; - defaultValueContactDetail?: ContactDetail; - defaultValueContactPoint?: ContactPoint; - defaultValueCount?: Count; - defaultValueDataRequirement?: DataRequirement; - defaultValueDate?: string; - _defaultValueDate?: Element; - defaultValueDateTime?: string; - _defaultValueDateTime?: Element; - defaultValueDecimal?: number; - _defaultValueDecimal?: Element; - defaultValueDistance?: Distance; - defaultValueDosage?: Dosage; - defaultValueDuration?: Duration; - defaultValueExpression?: Expression; - defaultValueExtendedContactDetail?: ExtendedContactDetail; - defaultValueHumanName?: HumanName; - defaultValueId?: string; - _defaultValueId?: Element; - defaultValueIdentifier?: Identifier; - defaultValueInstant?: string; - _defaultValueInstant?: Element; - defaultValueInteger?: number; - _defaultValueInteger?: Element; - defaultValueInteger64?: number; - _defaultValueInteger64?: Element; - defaultValueMarkdown?: string; - _defaultValueMarkdown?: Element; - defaultValueMeta?: Meta; - defaultValueMoney?: Money; - defaultValueOid?: string; - _defaultValueOid?: Element; - defaultValueParameterDefinition?: ParameterDefinition; - defaultValuePeriod?: Period; - defaultValuePositiveInt?: number; - _defaultValuePositiveInt?: Element; - defaultValueQuantity?: Quantity; - defaultValueRange?: Range; - defaultValueRatio?: Ratio; - defaultValueRatioRange?: RatioRange; - defaultValueReference?: Reference; - defaultValueRelatedArtifact?: RelatedArtifact; - defaultValueSampledData?: SampledData; - defaultValueSignature?: Signature; - defaultValueString?: string; - _defaultValueString?: Element; - defaultValueTime?: string; - _defaultValueTime?: Element; - defaultValueTiming?: Timing; - defaultValueTriggerDefinition?: TriggerDefinition; - defaultValueUnsignedInt?: number; - _defaultValueUnsignedInt?: Element; - defaultValueUri?: string; - _defaultValueUri?: Element; - defaultValueUrl?: string; - _defaultValueUrl?: Element; - defaultValueUsageContext?: UsageContext; - defaultValueUuid?: string; - _defaultValueUuid?: Element; - definition?: string; - _definition?: Element; - example?: ElementDefinitionExample[]; - fixedAddress?: Address; - fixedAge?: Age; - fixedAnnotation?: Annotation; - fixedAttachment?: Attachment; - fixedAvailability?: Availability; - fixedBase64Binary?: string; - _fixedBase64Binary?: Element; - fixedBoolean?: boolean; - _fixedBoolean?: Element; - fixedCanonical?: string; - _fixedCanonical?: Element; - fixedCode?: string; - _fixedCode?: Element; - fixedCodeableConcept?: CodeableConcept; - fixedCodeableReference?: CodeableReference; - fixedCoding?: Coding; - fixedContactDetail?: ContactDetail; - fixedContactPoint?: ContactPoint; - fixedCount?: Count; - fixedDataRequirement?: DataRequirement; - fixedDate?: string; - _fixedDate?: Element; - fixedDateTime?: string; - _fixedDateTime?: Element; - fixedDecimal?: number; - _fixedDecimal?: Element; - fixedDistance?: Distance; - fixedDosage?: Dosage; - fixedDuration?: Duration; - fixedExpression?: Expression; - fixedExtendedContactDetail?: ExtendedContactDetail; - fixedHumanName?: HumanName; - fixedId?: string; - _fixedId?: Element; - fixedIdentifier?: Identifier; - fixedInstant?: string; - _fixedInstant?: Element; - fixedInteger?: number; - _fixedInteger?: Element; - fixedInteger64?: number; - _fixedInteger64?: Element; - fixedMarkdown?: string; - _fixedMarkdown?: Element; - fixedMeta?: Meta; - fixedMoney?: Money; - fixedOid?: string; - _fixedOid?: Element; - fixedParameterDefinition?: ParameterDefinition; - fixedPeriod?: Period; - fixedPositiveInt?: number; - _fixedPositiveInt?: Element; - fixedQuantity?: Quantity; - fixedRange?: Range; - fixedRatio?: Ratio; - fixedRatioRange?: RatioRange; - fixedReference?: Reference; - fixedRelatedArtifact?: RelatedArtifact; - fixedSampledData?: SampledData; - fixedSignature?: Signature; - fixedString?: string; - _fixedString?: Element; - fixedTime?: string; - _fixedTime?: Element; - fixedTiming?: Timing; - fixedTriggerDefinition?: TriggerDefinition; - fixedUnsignedInt?: number; - _fixedUnsignedInt?: Element; - fixedUri?: string; - _fixedUri?: Element; - fixedUrl?: string; - _fixedUrl?: Element; - fixedUsageContext?: UsageContext; - fixedUuid?: string; - _fixedUuid?: Element; - isModifier?: boolean; - _isModifier?: Element; - isModifierReason?: string; - _isModifierReason?: Element; - isSummary?: boolean; - _isSummary?: Element; - label?: string; - _label?: Element; - mapping?: ElementDefinitionMapping[]; - max?: string; - _max?: Element; - maxLength?: number; - _maxLength?: Element; - maxValueDate?: string; - _maxValueDate?: Element; - maxValueDateTime?: string; - _maxValueDateTime?: Element; - maxValueDecimal?: number; - _maxValueDecimal?: Element; - maxValueInstant?: string; - _maxValueInstant?: Element; - maxValueInteger?: number; - _maxValueInteger?: Element; - maxValueInteger64?: number; - _maxValueInteger64?: Element; - maxValuePositiveInt?: number; - _maxValuePositiveInt?: Element; - maxValueQuantity?: Quantity; - maxValueTime?: string; - _maxValueTime?: Element; - maxValueUnsignedInt?: number; - _maxValueUnsignedInt?: Element; - meaningWhenMissing?: string; - _meaningWhenMissing?: Element; - min?: number; - _min?: Element; - minValueDate?: string; - _minValueDate?: Element; - minValueDateTime?: string; - _minValueDateTime?: Element; - minValueDecimal?: number; - _minValueDecimal?: Element; - minValueInstant?: string; - _minValueInstant?: Element; - minValueInteger?: number; - _minValueInteger?: Element; - minValueInteger64?: number; - _minValueInteger64?: Element; - minValuePositiveInt?: number; - _minValuePositiveInt?: Element; - minValueQuantity?: Quantity; - minValueTime?: string; - _minValueTime?: Element; - minValueUnsignedInt?: number; - _minValueUnsignedInt?: Element; - mustHaveValue?: boolean; - _mustHaveValue?: Element; - mustSupport?: boolean; - _mustSupport?: Element; - orderMeaning?: string; - _orderMeaning?: Element; - path: string; - _path?: Element; - patternAddress?: Address; - patternAge?: Age; - patternAnnotation?: Annotation; - patternAttachment?: Attachment; - patternAvailability?: Availability; - patternBase64Binary?: string; - _patternBase64Binary?: Element; - patternBoolean?: boolean; - _patternBoolean?: Element; - patternCanonical?: string; - _patternCanonical?: Element; - patternCode?: string; - _patternCode?: Element; - patternCodeableConcept?: CodeableConcept; - patternCodeableReference?: CodeableReference; - patternCoding?: Coding; - patternContactDetail?: ContactDetail; - patternContactPoint?: ContactPoint; - patternCount?: Count; - patternDataRequirement?: DataRequirement; - patternDate?: string; - _patternDate?: Element; - patternDateTime?: string; - _patternDateTime?: Element; - patternDecimal?: number; - _patternDecimal?: Element; - patternDistance?: Distance; - patternDosage?: Dosage; - patternDuration?: Duration; - patternExpression?: Expression; - patternExtendedContactDetail?: ExtendedContactDetail; - patternHumanName?: HumanName; - patternId?: string; - _patternId?: Element; - patternIdentifier?: Identifier; - patternInstant?: string; - _patternInstant?: Element; - patternInteger?: number; - _patternInteger?: Element; - patternInteger64?: number; - _patternInteger64?: Element; - patternMarkdown?: string; - _patternMarkdown?: Element; - patternMeta?: Meta; - patternMoney?: Money; - patternOid?: string; - _patternOid?: Element; - patternParameterDefinition?: ParameterDefinition; - patternPeriod?: Period; - patternPositiveInt?: number; - _patternPositiveInt?: Element; - patternQuantity?: Quantity; - patternRange?: Range; - patternRatio?: Ratio; - patternRatioRange?: RatioRange; - patternReference?: Reference; - patternRelatedArtifact?: RelatedArtifact; - patternSampledData?: SampledData; - patternSignature?: Signature; - patternString?: string; - _patternString?: Element; - patternTime?: string; - _patternTime?: Element; - patternTiming?: Timing; - patternTriggerDefinition?: TriggerDefinition; - patternUnsignedInt?: number; - _patternUnsignedInt?: Element; - patternUri?: string; - _patternUri?: Element; - patternUrl?: string; - _patternUrl?: Element; - patternUsageContext?: UsageContext; - patternUuid?: string; - _patternUuid?: Element; - representation?: ("xmlAttr" | "xmlText" | "typeAttr" | "cdaText" | "xhtml")[]; - _representation?: (Element | null)[]; - requirements?: string; - _requirements?: Element; - short?: string; - _short?: Element; - sliceIsConstraining?: boolean; - _sliceIsConstraining?: Element; - sliceName?: string; - _sliceName?: Element; - slicing?: ElementDefinitionSlicing; - type?: ElementDefinitionType[]; - valueAlternatives?: string[]; - _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 deleted file mode 100644 index 02ef80447..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/Encounter.ts +++ /dev/null @@ -1,95 +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 { BackboneElement } from "../hl7-fhir-r5-core/BackboneElement"; -import type { CodeableConcept } from "../hl7-fhir-r5-core/CodeableConcept"; -import type { CodeableReference } from "../hl7-fhir-r5-core/CodeableReference"; -import type { DomainResource } from "../hl7-fhir-r5-core/DomainResource"; -import type { Duration } from "../hl7-fhir-r5-core/Duration"; -import type { Identifier } from "../hl7-fhir-r5-core/Identifier"; -import type { Period } from "../hl7-fhir-r5-core/Period"; -import type { Reference } from "../hl7-fhir-r5-core/Reference"; -import type { VirtualServiceDetail } from "../hl7-fhir-r5-core/VirtualServiceDetail"; - -import type { Element } from "../hl7-fhir-r5-core/Element"; -export type { BackboneElement } from "../hl7-fhir-r5-core/BackboneElement"; -export type { CodeableConcept } from "../hl7-fhir-r5-core/CodeableConcept"; -export type { CodeableReference } from "../hl7-fhir-r5-core/CodeableReference"; -export type { Duration } from "../hl7-fhir-r5-core/Duration"; -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"; -export type { VirtualServiceDetail } from "../hl7-fhir-r5-core/VirtualServiceDetail"; - -export interface EncounterAdmission extends BackboneElement { - admitSource?: CodeableConcept<("hosp-trans" | "emd" | "outp" | "born" | "gp" | "mp" | "nursing" | "psych" | "rehab" | "other" | string)>; - destination?: Reference<"Location" | "Organization">; - dischargeDisposition?: CodeableConcept; - origin?: Reference<"Location" | "Organization">; - preAdmissionIdentifier?: Identifier; - reAdmission?: CodeableConcept; -} - -export interface EncounterDiagnosis extends BackboneElement { - condition?: CodeableReference[]; - use?: CodeableConcept[]; -} - -export interface EncounterLocation extends BackboneElement { - form?: CodeableConcept; - location: Reference<"Location">; - period?: Period; - status?: ("planned" | "active" | "reserved" | "completed"); -} - -export interface EncounterParticipant extends BackboneElement { - actor?: Reference<"Device" | "Group" | "HealthcareService" | "Patient" | "Practitioner" | "PractitionerRole" | "RelatedPerson">; - period?: Period; - type?: CodeableConcept<("translator" | "emergency" | string)>[]; -} - -export interface EncounterReason extends BackboneElement { - use?: CodeableConcept[]; - value?: CodeableReference[]; -} - -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/Encounter (pkg: hl7.fhir.r5.core#5.0.0) -export interface Encounter extends DomainResource { - resourceType: "Encounter"; - - account?: Reference<"Account">[]; - actualPeriod?: Period; - admission?: EncounterAdmission; - appointment?: Reference<"Appointment">[]; - basedOn?: Reference<"CarePlan" | "DeviceRequest" | "MedicationRequest" | "ServiceRequest">[]; - careTeam?: Reference<"CareTeam">[]; - "class"?: CodeableConcept<("IMP" | "AMB" | "OBSENC" | "EMER" | "VR" | "HH" | string)>[]; - diagnosis?: EncounterDiagnosis[]; - dietPreference?: CodeableConcept[]; - episodeOfCare?: Reference<"EpisodeOfCare">[]; - identifier?: Identifier[]; - length?: Duration; - location?: EncounterLocation[]; - participant?: EncounterParticipant[]; - partOf?: Reference<"Encounter">; - plannedEndDate?: string; - _plannedEndDate?: Element; - plannedStartDate?: string; - _plannedStartDate?: Element; - priority?: CodeableConcept; - reason?: EncounterReason[]; - serviceProvider?: Reference<"Organization">; - serviceType?: CodeableReference[]; - 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">; - subjectStatus?: CodeableConcept; - type?: CodeableConcept[]; - virtualService?: VirtualServiceDetail[]; -} -export const isEncounter = (resource: unknown): resource is Encounter => { - return resource !== null && typeof resource === "object" && (resource as {resourceType: string}).resourceType === "Encounter"; -} 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 deleted file mode 100644 index e762a7f0c..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/EncounterHistory.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 { BackboneElement } from "../hl7-fhir-r5-core/BackboneElement"; -import type { CodeableConcept } from "../hl7-fhir-r5-core/CodeableConcept"; -import type { CodeableReference } from "../hl7-fhir-r5-core/CodeableReference"; -import type { DomainResource } from "../hl7-fhir-r5-core/DomainResource"; -import type { Duration } from "../hl7-fhir-r5-core/Duration"; -import type { Identifier } from "../hl7-fhir-r5-core/Identifier"; -import type { Period } from "../hl7-fhir-r5-core/Period"; -import type { Reference } from "../hl7-fhir-r5-core/Reference"; - -import type { Element } from "../hl7-fhir-r5-core/Element"; -export type { BackboneElement } from "../hl7-fhir-r5-core/BackboneElement"; -export type { CodeableConcept } from "../hl7-fhir-r5-core/CodeableConcept"; -export type { CodeableReference } from "../hl7-fhir-r5-core/CodeableReference"; -export type { Duration } from "../hl7-fhir-r5-core/Duration"; -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"; - -export interface EncounterHistoryLocation extends BackboneElement { - form?: CodeableConcept; - location: Reference<"Location">; -} - -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/EncounterHistory (pkg: hl7.fhir.r5.core#5.0.0) -export interface EncounterHistory extends DomainResource { - resourceType: "EncounterHistory"; - - actualPeriod?: Period; - "class": CodeableConcept; - encounter?: Reference<"Encounter">; - identifier?: Identifier[]; - length?: Duration; - location?: EncounterHistoryLocation[]; - plannedEndDate?: string; - _plannedEndDate?: Element; - plannedStartDate?: string; - _plannedStartDate?: Element; - serviceType?: CodeableReference[]; - status: ("planned" | "arrived" | "triaged" | "in-progress" | "onleave" | "finished" | "cancelled" | "entered-in-error" | "unknown"); - _status?: Element; - subject?: Reference<"Group" | "Patient">; - subjectStatus?: CodeableConcept; - type?: CodeableConcept[]; -} -export const isEncounterHistory = (resource: unknown): resource is EncounterHistory => { - return resource !== null && typeof resource === "object" && (resource as {resourceType: string}).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 deleted file mode 100644 index 248690ec3..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/Endpoint.ts +++ /dev/null @@ -1,50 +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 { BackboneElement } from "../hl7-fhir-r5-core/BackboneElement"; -import type { CodeableConcept } from "../hl7-fhir-r5-core/CodeableConcept"; -import type { ContactPoint } from "../hl7-fhir-r5-core/ContactPoint"; -import type { DomainResource } from "../hl7-fhir-r5-core/DomainResource"; -import type { Identifier } from "../hl7-fhir-r5-core/Identifier"; -import type { Period } from "../hl7-fhir-r5-core/Period"; -import type { Reference } from "../hl7-fhir-r5-core/Reference"; - -import type { Element } from "../hl7-fhir-r5-core/Element"; -export type { BackboneElement } from "../hl7-fhir-r5-core/BackboneElement"; -export type { CodeableConcept } from "../hl7-fhir-r5-core/CodeableConcept"; -export type { ContactPoint } from "../hl7-fhir-r5-core/ContactPoint"; -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"; - -export interface EndpointPayload extends BackboneElement { - mimeType?: string[]; - type?: CodeableConcept[]; -} - -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/Endpoint (pkg: hl7.fhir.r5.core#5.0.0) -export interface Endpoint extends DomainResource { - resourceType: "Endpoint"; - - address: string; - _address?: Element; - connectionType: CodeableConcept[]; - contact?: ContactPoint[]; - description?: string; - _description?: Element; - environmentType?: CodeableConcept[]; - header?: string[]; - _header?: (Element | null)[]; - identifier?: Identifier[]; - managingOrganization?: Reference<"Organization">; - name?: string; - _name?: Element; - payload?: EndpointPayload[]; - period?: Period; - status: ("active" | "suspended" | "error" | "off" | "entered-in-error" | "test"); - _status?: Element; -} -export const isEndpoint = (resource: unknown): resource is Endpoint => { - return resource !== null && typeof resource === "object" && (resource as {resourceType: string}).resourceType === "Endpoint"; -} 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 deleted file mode 100644 index 5193a5a03..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/EnrollmentRequest.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 { DomainResource } from "../hl7-fhir-r5-core/DomainResource"; -import type { Identifier } from "../hl7-fhir-r5-core/Identifier"; -import type { Reference } from "../hl7-fhir-r5-core/Reference"; - -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 (pkg: hl7.fhir.r5.core#5.0.0) -export interface EnrollmentRequest extends DomainResource { - resourceType: "EnrollmentRequest"; - - candidate?: Reference<"Patient">; - coverage?: Reference<"Coverage">; - created?: string; - _created?: Element; - identifier?: Identifier[]; - insurer?: Reference<"Organization">; - provider?: Reference<"Organization" | "Practitioner" | "PractitionerRole">; - status?: ("active" | "cancelled" | "draft" | "entered-in-error"); - _status?: Element; -} -export const isEnrollmentRequest = (resource: unknown): resource is EnrollmentRequest => { - return resource !== null && typeof resource === "object" && (resource as {resourceType: string}).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 deleted file mode 100644 index 3b442b7cd..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/EnrollmentResponse.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 { DomainResource } from "../hl7-fhir-r5-core/DomainResource"; -import type { Identifier } from "../hl7-fhir-r5-core/Identifier"; -import type { Reference } from "../hl7-fhir-r5-core/Reference"; - -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 (pkg: hl7.fhir.r5.core#5.0.0) -export interface EnrollmentResponse extends DomainResource { - resourceType: "EnrollmentResponse"; - - created?: string; - _created?: Element; - disposition?: string; - _disposition?: Element; - identifier?: Identifier[]; - organization?: Reference<"Organization">; - outcome?: string; - _outcome?: Element; - request?: Reference<"EnrollmentRequest">; - requestProvider?: Reference<"Organization" | "Practitioner" | "PractitionerRole">; - status?: ("active" | "cancelled" | "draft" | "entered-in-error"); - _status?: Element; -} -export const isEnrollmentResponse = (resource: unknown): resource is EnrollmentResponse => { - return resource !== null && typeof resource === "object" && (resource as {resourceType: string}).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 deleted file mode 100644 index 59ed8ce0f..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/EpisodeOfCare.ts +++ /dev/null @@ -1,57 +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 { BackboneElement } from "../hl7-fhir-r5-core/BackboneElement"; -import type { CodeableConcept } from "../hl7-fhir-r5-core/CodeableConcept"; -import type { CodeableReference } from "../hl7-fhir-r5-core/CodeableReference"; -import type { DomainResource } from "../hl7-fhir-r5-core/DomainResource"; -import type { Identifier } from "../hl7-fhir-r5-core/Identifier"; -import type { Period } from "../hl7-fhir-r5-core/Period"; -import type { Reference } from "../hl7-fhir-r5-core/Reference"; - -import type { Element } from "../hl7-fhir-r5-core/Element"; -export type { BackboneElement } from "../hl7-fhir-r5-core/BackboneElement"; -export type { CodeableConcept } from "../hl7-fhir-r5-core/CodeableConcept"; -export type { CodeableReference } from "../hl7-fhir-r5-core/CodeableReference"; -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"; - -export interface EpisodeOfCareDiagnosis extends BackboneElement { - condition?: CodeableReference[]; - use?: CodeableConcept; -} - -export interface EpisodeOfCareReason extends BackboneElement { - use?: CodeableConcept; - value?: CodeableReference[]; -} - -export interface EpisodeOfCareStatusHistory extends BackboneElement { - period: Period; - status: ("planned" | "waitlist" | "active" | "onhold" | "finished" | "cancelled" | "entered-in-error"); -} - -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/EpisodeOfCare (pkg: hl7.fhir.r5.core#5.0.0) -export interface EpisodeOfCare extends DomainResource { - resourceType: "EpisodeOfCare"; - - account?: Reference<"Account">[]; - careManager?: Reference<"Practitioner" | "PractitionerRole">; - careTeam?: Reference<"CareTeam">[]; - diagnosis?: EpisodeOfCareDiagnosis[]; - identifier?: Identifier[]; - managingOrganization?: Reference<"Organization">; - patient: Reference<"Patient">; - period?: Period; - reason?: EpisodeOfCareReason[]; - referralRequest?: Reference<"ServiceRequest">[]; - status: ("planned" | "waitlist" | "active" | "onhold" | "finished" | "cancelled" | "entered-in-error"); - _status?: Element; - statusHistory?: EpisodeOfCareStatusHistory[]; - type?: CodeableConcept[]; -} -export const isEpisodeOfCare = (resource: unknown): resource is EpisodeOfCare => { - return resource !== null && typeof resource === "object" && (resource as {resourceType: string}).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 deleted file mode 100644 index e3a56abc7..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/Event.ts +++ /dev/null @@ -1,11 +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 { Base } from "../hl7-fhir-r5-core/Base"; - -export type { Base } from "../hl7-fhir-r5-core/Base"; - -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/Event (pkg: hl7.fhir.r5.core#5.0.0) -export interface Event extends Base { -} 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 deleted file mode 100644 index a5bf64f6c..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/EventDefinition.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 { CodeableConcept } from "../hl7-fhir-r5-core/CodeableConcept"; -import type { Coding } from "../hl7-fhir-r5-core/Coding"; -import type { ContactDetail } from "../hl7-fhir-r5-core/ContactDetail"; -import type { DomainResource } from "../hl7-fhir-r5-core/DomainResource"; -import type { Identifier } from "../hl7-fhir-r5-core/Identifier"; -import type { Period } from "../hl7-fhir-r5-core/Period"; -import type { Reference } from "../hl7-fhir-r5-core/Reference"; -import type { RelatedArtifact } from "../hl7-fhir-r5-core/RelatedArtifact"; -import type { TriggerDefinition } from "../hl7-fhir-r5-core/TriggerDefinition"; -import type { UsageContext } from "../hl7-fhir-r5-core/UsageContext"; - -import type { Element } from "../hl7-fhir-r5-core/Element"; -export type { CodeableConcept } from "../hl7-fhir-r5-core/CodeableConcept"; -export type { Coding } from "../hl7-fhir-r5-core/Coding"; -export type { ContactDetail } from "../hl7-fhir-r5-core/ContactDetail"; -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"; -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 (pkg: hl7.fhir.r5.core#5.0.0) -export interface EventDefinition extends DomainResource { - resourceType: "EventDefinition"; - - approvalDate?: string; - _approvalDate?: Element; - author?: ContactDetail[]; - contact?: ContactDetail[]; - copyright?: string; - _copyright?: Element; - copyrightLabel?: string; - _copyrightLabel?: Element; - date?: string; - _date?: Element; - description?: string; - _description?: Element; - editor?: ContactDetail[]; - effectivePeriod?: Period; - endorser?: ContactDetail[]; - experimental?: boolean; - _experimental?: Element; - identifier?: Identifier[]; - jurisdiction?: CodeableConcept[]; - lastReviewDate?: string; - _lastReviewDate?: Element; - name?: string; - _name?: Element; - publisher?: string; - _publisher?: Element; - purpose?: string; - _purpose?: Element; - relatedArtifact?: RelatedArtifact[]; - reviewer?: ContactDetail[]; - status: ("draft" | "active" | "retired" | "unknown"); - _status?: Element; - subjectCodeableConcept?: CodeableConcept; - subjectReference?: Reference<"Group">; - subtitle?: string; - _subtitle?: Element; - title?: string; - _title?: Element; - topic?: CodeableConcept[]; - trigger: TriggerDefinition[]; - url?: string; - _url?: Element; - usage?: string; - _usage?: Element; - useContext?: UsageContext[]; - version?: string; - _version?: Element; - versionAlgorithmCoding?: Coding; - versionAlgorithmString?: string; - _versionAlgorithmString?: Element; -} -export const isEventDefinition = (resource: unknown): resource is EventDefinition => { - return resource !== null && typeof resource === "object" && (resource as {resourceType: string}).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 deleted file mode 100644 index 2732037d9..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/Evidence.ts +++ /dev/null @@ -1,152 +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 { Annotation } from "../hl7-fhir-r5-core/Annotation"; -import type { BackboneElement } from "../hl7-fhir-r5-core/BackboneElement"; -import type { CodeableConcept } from "../hl7-fhir-r5-core/CodeableConcept"; -import type { Coding } from "../hl7-fhir-r5-core/Coding"; -import type { ContactDetail } from "../hl7-fhir-r5-core/ContactDetail"; -import type { DomainResource } from "../hl7-fhir-r5-core/DomainResource"; -import type { Identifier } from "../hl7-fhir-r5-core/Identifier"; -import type { Quantity } from "../hl7-fhir-r5-core/Quantity"; -import type { Range } from "../hl7-fhir-r5-core/Range"; -import type { Reference } from "../hl7-fhir-r5-core/Reference"; -import type { RelatedArtifact } from "../hl7-fhir-r5-core/RelatedArtifact"; -import type { UsageContext } from "../hl7-fhir-r5-core/UsageContext"; - -import type { Element } from "../hl7-fhir-r5-core/Element"; -export type { Annotation } from "../hl7-fhir-r5-core/Annotation"; -export type { BackboneElement } from "../hl7-fhir-r5-core/BackboneElement"; -export type { CodeableConcept } from "../hl7-fhir-r5-core/CodeableConcept"; -export type { Coding } from "../hl7-fhir-r5-core/Coding"; -export type { ContactDetail } from "../hl7-fhir-r5-core/ContactDetail"; -export type { Identifier } from "../hl7-fhir-r5-core/Identifier"; -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"; -export type { RelatedArtifact } from "../hl7-fhir-r5-core/RelatedArtifact"; -export type { UsageContext } from "../hl7-fhir-r5-core/UsageContext"; - -export interface EvidenceCertainty extends BackboneElement { - description?: string; - note?: Annotation[]; - rater?: string; - rating?: CodeableConcept; - subcomponent?: EvidenceCertainty[]; - type?: CodeableConcept; -} - -export interface EvidenceStatistic extends BackboneElement { - attributeEstimate?: EvidenceStatisticAttributeEstimate[]; - category?: CodeableConcept; - description?: string; - modelCharacteristic?: EvidenceStatisticModelCharacteristic[]; - note?: Annotation[]; - numberAffected?: number; - numberOfEvents?: number; - quantity?: Quantity; - sampleSize?: EvidenceStatisticSampleSize; - statisticType?: CodeableConcept; -} - -export interface EvidenceStatisticAttributeEstimate extends BackboneElement { - attributeEstimate?: EvidenceStatisticAttributeEstimate[]; - description?: string; - level?: number; - note?: Annotation[]; - quantity?: Quantity; - range?: Range; - type?: CodeableConcept; -} - -export interface EvidenceStatisticModelCharacteristic extends BackboneElement { - attributeEstimate?: EvidenceStatisticAttributeEstimate[]; - code: CodeableConcept; - value?: Quantity; - variable?: EvidenceStatisticModelCharacteristicVariable[]; -} - -export interface EvidenceStatisticModelCharacteristicVariable extends BackboneElement { - handling?: string; - valueCategory?: CodeableConcept[]; - valueQuantity?: Quantity[]; - valueRange?: Range[]; - variableDefinition: Reference<"EvidenceVariable" | "Group">; -} - -export interface EvidenceStatisticSampleSize extends BackboneElement { - description?: string; - knownDataCount?: number; - note?: Annotation[]; - numberOfParticipants?: number; - numberOfStudies?: number; -} - -export interface EvidenceVariableDefinition extends BackboneElement { - description?: string; - directnessMatch?: CodeableConcept; - intended?: Reference<"EvidenceVariable" | "Group">; - note?: Annotation[]; - observed?: Reference<"EvidenceVariable" | "Group">; - variableRole: CodeableConcept; -} - -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/Evidence (pkg: hl7.fhir.r5.core#5.0.0) -export interface Evidence extends DomainResource { - resourceType: "Evidence"; - - approvalDate?: string; - _approvalDate?: Element; - assertion?: string; - _assertion?: Element; - author?: ContactDetail[]; - certainty?: EvidenceCertainty[]; - citeAsMarkdown?: string; - _citeAsMarkdown?: Element; - citeAsReference?: Reference<"Citation">; - contact?: ContactDetail[]; - copyright?: string; - _copyright?: Element; - copyrightLabel?: string; - _copyrightLabel?: Element; - date?: string; - _date?: Element; - description?: string; - _description?: Element; - editor?: ContactDetail[]; - endorser?: ContactDetail[]; - experimental?: boolean; - _experimental?: Element; - identifier?: Identifier[]; - lastReviewDate?: string; - _lastReviewDate?: Element; - name?: string; - _name?: Element; - note?: Annotation[]; - publisher?: string; - _publisher?: Element; - purpose?: string; - _purpose?: Element; - relatedArtifact?: RelatedArtifact[]; - reviewer?: ContactDetail[]; - statistic?: EvidenceStatistic[]; - status: ("draft" | "active" | "retired" | "unknown"); - _status?: Element; - studyDesign?: CodeableConcept[]; - synthesisType?: CodeableConcept<("std-MA" | "IPD-MA" | "indirect-NMA" | "combined-NMA" | "range" | "classification" | string)>; - title?: string; - _title?: Element; - url?: string; - _url?: Element; - useContext?: UsageContext[]; - variableDefinition: EvidenceVariableDefinition[]; - version?: string; - _version?: Element; - versionAlgorithmCoding?: Coding; - versionAlgorithmString?: string; - _versionAlgorithmString?: Element; -} -export const isEvidence = (resource: unknown): resource is Evidence => { - return resource !== null && typeof resource === "object" && (resource as {resourceType: string}).resourceType === "Evidence"; -} 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 deleted file mode 100644 index b39ce9fa8..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/EvidenceReport.ts +++ /dev/null @@ -1,106 +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 { Annotation } from "../hl7-fhir-r5-core/Annotation"; -import type { BackboneElement } from "../hl7-fhir-r5-core/BackboneElement"; -import type { CodeableConcept } from "../hl7-fhir-r5-core/CodeableConcept"; -import type { ContactDetail } from "../hl7-fhir-r5-core/ContactDetail"; -import type { DomainResource } from "../hl7-fhir-r5-core/DomainResource"; -import type { Identifier } from "../hl7-fhir-r5-core/Identifier"; -import type { Narrative } from "../hl7-fhir-r5-core/Narrative"; -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 { Reference } from "../hl7-fhir-r5-core/Reference"; -import type { RelatedArtifact } from "../hl7-fhir-r5-core/RelatedArtifact"; -import type { UsageContext } from "../hl7-fhir-r5-core/UsageContext"; - -import type { Element } from "../hl7-fhir-r5-core/Element"; -export type { Annotation } from "../hl7-fhir-r5-core/Annotation"; -export type { BackboneElement } from "../hl7-fhir-r5-core/BackboneElement"; -export type { CodeableConcept } from "../hl7-fhir-r5-core/CodeableConcept"; -export type { ContactDetail } from "../hl7-fhir-r5-core/ContactDetail"; -export type { Identifier } from "../hl7-fhir-r5-core/Identifier"; -export type { Narrative } from "../hl7-fhir-r5-core/Narrative"; -export type { Period } from "../hl7-fhir-r5-core/Period"; -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"; -export type { RelatedArtifact } from "../hl7-fhir-r5-core/RelatedArtifact"; -export type { UsageContext } from "../hl7-fhir-r5-core/UsageContext"; - -export interface EvidenceReportRelatesTo extends BackboneElement { - code: string; - target: EvidenceReportRelatesToTarget; -} - -export interface EvidenceReportRelatesToTarget extends BackboneElement { - display?: string; - identifier?: Identifier; - resource?: Reference<"Resource">; - url?: string; -} - -export interface EvidenceReportSection extends BackboneElement { - author?: Reference<"Device" | "Group" | "Organization" | "Patient" | "Practitioner" | "PractitionerRole" | "RelatedPerson">[]; - 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<("user" | "system" | "event-date" | "entry-date" | "priority" | "alphabetic" | "category" | "patient" | string)>; - section?: EvidenceReportSection[]; - text?: Narrative; - title?: string; -} - -export interface EvidenceReportSubject extends BackboneElement { - characteristic?: EvidenceReportSubjectCharacteristic[]; - note?: Annotation[]; -} - -export interface EvidenceReportSubjectCharacteristic extends BackboneElement { - code: CodeableConcept; - exclude?: boolean; - period?: Period; - valueBoolean?: boolean; - valueCodeableConcept?: CodeableConcept; - valueQuantity?: Quantity; - valueRange?: Range; - valueReference?: Reference<"Resource">; -} - -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/EvidenceReport (pkg: hl7.fhir.r5.core#5.0.0) -export interface EvidenceReport extends DomainResource { - resourceType: "EvidenceReport"; - - author?: ContactDetail[]; - citeAsMarkdown?: string; - _citeAsMarkdown?: Element; - citeAsReference?: Reference<"Citation">; - contact?: ContactDetail[]; - editor?: ContactDetail[]; - endorser?: ContactDetail[]; - identifier?: Identifier[]; - note?: Annotation[]; - publisher?: string; - _publisher?: Element; - relatedArtifact?: RelatedArtifact[]; - relatedIdentifier?: Identifier[]; - relatesTo?: EvidenceReportRelatesTo[]; - reviewer?: ContactDetail[]; - section?: EvidenceReportSection[]; - status: ("draft" | "active" | "retired" | "unknown"); - _status?: Element; - subject: EvidenceReportSubject; - type?: CodeableConcept; - url?: string; - _url?: Element; - useContext?: UsageContext[]; -} -export const isEvidenceReport = (resource: unknown): resource is EvidenceReport => { - return resource !== null && typeof resource === "object" && (resource as {resourceType: string}).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 deleted file mode 100644 index 44468890b..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/EvidenceVariable.ts +++ /dev/null @@ -1,147 +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 { Annotation } from "../hl7-fhir-r5-core/Annotation"; -import type { BackboneElement } from "../hl7-fhir-r5-core/BackboneElement"; -import type { CodeableConcept } from "../hl7-fhir-r5-core/CodeableConcept"; -import type { Coding } from "../hl7-fhir-r5-core/Coding"; -import type { ContactDetail } from "../hl7-fhir-r5-core/ContactDetail"; -import type { DomainResource } from "../hl7-fhir-r5-core/DomainResource"; -import type { Expression } from "../hl7-fhir-r5-core/Expression"; -import type { Identifier } from "../hl7-fhir-r5-core/Identifier"; -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 { Reference } from "../hl7-fhir-r5-core/Reference"; -import type { RelatedArtifact } from "../hl7-fhir-r5-core/RelatedArtifact"; -import type { UsageContext } from "../hl7-fhir-r5-core/UsageContext"; - -import type { Element } from "../hl7-fhir-r5-core/Element"; -export type { Annotation } from "../hl7-fhir-r5-core/Annotation"; -export type { BackboneElement } from "../hl7-fhir-r5-core/BackboneElement"; -export type { CodeableConcept } from "../hl7-fhir-r5-core/CodeableConcept"; -export type { Coding } from "../hl7-fhir-r5-core/Coding"; -export type { ContactDetail } from "../hl7-fhir-r5-core/ContactDetail"; -export type { Expression } from "../hl7-fhir-r5-core/Expression"; -export type { Identifier } from "../hl7-fhir-r5-core/Identifier"; -export type { Period } from "../hl7-fhir-r5-core/Period"; -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"; -export type { RelatedArtifact } from "../hl7-fhir-r5-core/RelatedArtifact"; -export type { UsageContext } from "../hl7-fhir-r5-core/UsageContext"; - -export interface EvidenceVariableCategory extends BackboneElement { - name?: string; - valueCodeableConcept?: CodeableConcept; - valueQuantity?: Quantity; - valueRange?: Range; -} - -export interface EvidenceVariableCharacteristic extends BackboneElement { - definitionByCombination?: EvidenceVariableCharacteristicDefinitionByCombination; - definitionByTypeAndValue?: EvidenceVariableCharacteristicDefinitionByTypeAndValue; - definitionCanonical?: string; - definitionCodeableConcept?: CodeableConcept; - definitionExpression?: Expression; - definitionId?: string; - definitionReference?: Reference<"Evidence" | "EvidenceVariable" | "Group">; - description?: string; - durationQuantity?: Quantity; - durationRange?: Range; - exclude?: boolean; - instancesQuantity?: Quantity; - instancesRange?: Range; - linkId?: string; - note?: Annotation[]; - timeFromEvent?: EvidenceVariableCharacteristicTimeFromEvent[]; -} - -export interface EvidenceVariableCharacteristicDefinitionByCombination extends BackboneElement { - characteristic: EvidenceVariableCharacteristic[]; - code: string; - threshold?: number; -} - -export interface EvidenceVariableCharacteristicDefinitionByTypeAndValue extends BackboneElement { - device?: Reference<"Device" | "DeviceMetric">; - method?: CodeableConcept[]; - offset?: CodeableConcept; - type: CodeableConcept; - valueBoolean?: boolean; - valueCodeableConcept?: CodeableConcept; - valueId?: string; - valueQuantity?: Quantity; - valueRange?: Range; - valueReference?: Reference; -} - -export interface EvidenceVariableCharacteristicTimeFromEvent extends BackboneElement { - description?: string; - eventCodeableConcept?: CodeableConcept; - eventDateTime?: string; - eventId?: string; - eventReference?: Reference; - note?: Annotation[]; - quantity?: Quantity; - range?: Range; -} - -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/EvidenceVariable (pkg: hl7.fhir.r5.core#5.0.0) -export interface EvidenceVariable extends DomainResource { - resourceType: "EvidenceVariable"; - - actual?: boolean; - _actual?: Element; - approvalDate?: string; - _approvalDate?: Element; - author?: ContactDetail[]; - category?: EvidenceVariableCategory[]; - characteristic?: EvidenceVariableCharacteristic[]; - contact?: ContactDetail[]; - copyright?: string; - _copyright?: Element; - copyrightLabel?: string; - _copyrightLabel?: Element; - date?: string; - _date?: Element; - description?: string; - _description?: Element; - editor?: ContactDetail[]; - effectivePeriod?: Period; - endorser?: ContactDetail[]; - experimental?: boolean; - _experimental?: Element; - handling?: string; - _handling?: Element; - identifier?: Identifier[]; - lastReviewDate?: string; - _lastReviewDate?: Element; - name?: string; - _name?: Element; - note?: Annotation[]; - publisher?: string; - _publisher?: Element; - purpose?: string; - _purpose?: Element; - relatedArtifact?: RelatedArtifact[]; - reviewer?: ContactDetail[]; - shortTitle?: string; - _shortTitle?: Element; - status: ("draft" | "active" | "retired" | "unknown"); - _status?: Element; - title?: string; - _title?: Element; - url?: string; - _url?: Element; - useContext?: UsageContext[]; - version?: string; - _version?: Element; - versionAlgorithmCoding?: Coding; - versionAlgorithmString?: string; - _versionAlgorithmString?: Element; -} -export const isEvidenceVariable = (resource: unknown): resource is EvidenceVariable => { - return resource !== null && typeof resource === "object" && (resource as {resourceType: string}).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 deleted file mode 100644 index 3e074f532..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/ExampleScenario.ts +++ /dev/null @@ -1,131 +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 { BackboneElement } from "../hl7-fhir-r5-core/BackboneElement"; -import type { CodeableConcept } from "../hl7-fhir-r5-core/CodeableConcept"; -import type { Coding } from "../hl7-fhir-r5-core/Coding"; -import type { ContactDetail } from "../hl7-fhir-r5-core/ContactDetail"; -import type { DomainResource } from "../hl7-fhir-r5-core/DomainResource"; -import type { Identifier } from "../hl7-fhir-r5-core/Identifier"; -import type { Reference } from "../hl7-fhir-r5-core/Reference"; -import type { UsageContext } from "../hl7-fhir-r5-core/UsageContext"; - -import type { Element } from "../hl7-fhir-r5-core/Element"; -export type { BackboneElement } from "../hl7-fhir-r5-core/BackboneElement"; -export type { CodeableConcept } from "../hl7-fhir-r5-core/CodeableConcept"; -export type { Coding } from "../hl7-fhir-r5-core/Coding"; -export type { ContactDetail } from "../hl7-fhir-r5-core/ContactDetail"; -export type { Identifier } from "../hl7-fhir-r5-core/Identifier"; -export type { Reference } from "../hl7-fhir-r5-core/Reference"; -export type { UsageContext } from "../hl7-fhir-r5-core/UsageContext"; - -export interface ExampleScenarioActor extends BackboneElement { - description?: string; - key: string; - title: string; - type: ("person" | "entity"); -} - -export interface ExampleScenarioInstance extends BackboneElement { - containedInstance?: ExampleScenarioInstanceContainedInstance[]; - content?: Reference; - description?: string; - key: string; - structureProfileCanonical?: string; - structureProfileUri?: string; - structureType: Coding; - structureVersion?: string; - title: string; - version?: ExampleScenarioInstanceVersion[]; -} - -export interface ExampleScenarioInstanceContainedInstance extends BackboneElement { - instanceReference: string; - versionReference?: string; -} - -export interface ExampleScenarioInstanceVersion extends BackboneElement { - content?: Reference; - description?: string; - key: string; - title: string; -} - -export interface ExampleScenarioProcess extends BackboneElement { - description?: string; - postConditions?: string; - preConditions?: string; - step?: ExampleScenarioProcessStep[]; - title: string; -} - -export interface ExampleScenarioProcessStep extends BackboneElement { - alternative?: ExampleScenarioProcessStepAlternative[]; - number?: string; - operation?: ExampleScenarioProcessStepOperation; - pause?: boolean; - process?: ExampleScenarioProcess; - workflow?: string; -} - -export interface ExampleScenarioProcessStepAlternative extends BackboneElement { - description?: string; - step?: ExampleScenarioProcessStep[]; - title: string; -} - -export interface ExampleScenarioProcessStepOperation extends BackboneElement { - description?: string; - initiator?: string; - initiatorActive?: boolean; - receiver?: string; - receiverActive?: boolean; - request?: ExampleScenarioInstanceContainedInstance; - response?: ExampleScenarioInstanceContainedInstance; - title: string; - 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 (pkg: hl7.fhir.r5.core#5.0.0) -export interface ExampleScenario extends DomainResource { - resourceType: "ExampleScenario"; - - actor?: ExampleScenarioActor[]; - contact?: ContactDetail[]; - copyright?: string; - _copyright?: Element; - copyrightLabel?: string; - _copyrightLabel?: Element; - date?: string; - _date?: Element; - description?: string; - _description?: Element; - experimental?: boolean; - _experimental?: Element; - identifier?: Identifier[]; - instance?: ExampleScenarioInstance[]; - jurisdiction?: CodeableConcept[]; - name?: string; - _name?: Element; - process?: ExampleScenarioProcess[]; - publisher?: string; - _publisher?: Element; - purpose?: string; - _purpose?: Element; - status: ("draft" | "active" | "retired" | "unknown"); - _status?: Element; - title?: string; - _title?: Element; - url?: string; - _url?: Element; - useContext?: UsageContext[]; - version?: string; - _version?: Element; - versionAlgorithmCoding?: Coding; - versionAlgorithmString?: string; - _versionAlgorithmString?: Element; -} -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-r5-core/ExplanationOfBenefit.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/ExplanationOfBenefit.ts deleted file mode 100644 index 1686c81f7..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/ExplanationOfBenefit.ts +++ /dev/null @@ -1,371 +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 { Address } from "../hl7-fhir-r5-core/Address"; -import type { Attachment } from "../hl7-fhir-r5-core/Attachment"; -import type { BackboneElement } from "../hl7-fhir-r5-core/BackboneElement"; -import type { CodeableConcept } from "../hl7-fhir-r5-core/CodeableConcept"; -import type { CodeableReference } from "../hl7-fhir-r5-core/CodeableReference"; -import type { Coding } from "../hl7-fhir-r5-core/Coding"; -import type { DomainResource } from "../hl7-fhir-r5-core/DomainResource"; -import type { Identifier } from "../hl7-fhir-r5-core/Identifier"; -import type { Money } from "../hl7-fhir-r5-core/Money"; -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"; - -import type { Element } from "../hl7-fhir-r5-core/Element"; -export type { Address } from "../hl7-fhir-r5-core/Address"; -export type { Attachment } from "../hl7-fhir-r5-core/Attachment"; -export type { BackboneElement } from "../hl7-fhir-r5-core/BackboneElement"; -export type { CodeableConcept } from "../hl7-fhir-r5-core/CodeableConcept"; -export type { CodeableReference } from "../hl7-fhir-r5-core/CodeableReference"; -export type { Coding } from "../hl7-fhir-r5-core/Coding"; -export type { Identifier } from "../hl7-fhir-r5-core/Identifier"; -export type { Money } from "../hl7-fhir-r5-core/Money"; -export type { Period } from "../hl7-fhir-r5-core/Period"; -export type { Quantity } from "../hl7-fhir-r5-core/Quantity"; -export type { Reference } from "../hl7-fhir-r5-core/Reference"; - -export interface ExplanationOfBenefitAccident extends BackboneElement { - date?: string; - locationAddress?: Address; - locationReference?: Reference<"Location">; - type?: CodeableConcept; -} - -export interface ExplanationOfBenefitAddItem extends BackboneElement { - adjudication?: ExplanationOfBenefitItemAdjudication[]; - bodySite?: ExplanationOfBenefitAddItemBodySite[]; - detail?: ExplanationOfBenefitAddItemDetail[]; - detailSequence?: number[]; - factor?: number; - itemSequence?: number[]; - locationAddress?: Address; - locationCodeableConcept?: CodeableConcept; - locationReference?: Reference<"Location">; - modifier?: CodeableConcept[]; - net?: Money; - noteNumber?: number[]; - patientPaid?: Money; - productOrService?: CodeableConcept; - productOrServiceEnd?: CodeableConcept; - programCode?: CodeableConcept[]; - provider?: Reference<"Organization" | "Practitioner" | "PractitionerRole">[]; - quantity?: Quantity; - request?: Reference<"DeviceRequest" | "MedicationRequest" | "NutritionOrder" | "ServiceRequest" | "SupplyRequest" | "VisionPrescription">[]; - revenue?: CodeableConcept; - reviewOutcome?: ExplanationOfBenefitItemReviewOutcome; - servicedDate?: string; - servicedPeriod?: Period; - subDetailSequence?: number[]; - tax?: Money; - traceNumber?: Identifier[]; - unitPrice?: Money; -} - -export interface ExplanationOfBenefitAddItemBodySite extends BackboneElement { - site: CodeableReference[]; - subSite?: CodeableConcept[]; -} - -export interface ExplanationOfBenefitAddItemDetail extends BackboneElement { - adjudication?: ExplanationOfBenefitItemAdjudication[]; - factor?: number; - modifier?: CodeableConcept[]; - net?: Money; - noteNumber?: number[]; - patientPaid?: Money; - productOrService?: CodeableConcept; - productOrServiceEnd?: CodeableConcept; - quantity?: Quantity; - revenue?: CodeableConcept; - reviewOutcome?: ExplanationOfBenefitItemReviewOutcome; - subDetail?: ExplanationOfBenefitAddItemDetailSubDetail[]; - tax?: Money; - traceNumber?: Identifier[]; - unitPrice?: Money; -} - -export interface ExplanationOfBenefitAddItemDetailSubDetail extends BackboneElement { - adjudication?: ExplanationOfBenefitItemAdjudication[]; - factor?: number; - modifier?: CodeableConcept[]; - net?: Money; - noteNumber?: number[]; - patientPaid?: Money; - productOrService?: CodeableConcept; - productOrServiceEnd?: CodeableConcept; - quantity?: Quantity; - revenue?: CodeableConcept; - reviewOutcome?: ExplanationOfBenefitItemReviewOutcome; - tax?: Money; - traceNumber?: Identifier[]; - unitPrice?: Money; -} - -export interface ExplanationOfBenefitBenefitBalance extends BackboneElement { - category: CodeableConcept; - description?: string; - excluded?: boolean; - financial?: ExplanationOfBenefitBenefitBalanceFinancial[]; - name?: string; - network?: CodeableConcept; - term?: CodeableConcept; - unit?: CodeableConcept; -} - -export interface ExplanationOfBenefitBenefitBalanceFinancial extends BackboneElement { - allowedMoney?: Money; - allowedString?: string; - allowedUnsignedInt?: number; - type: CodeableConcept; - usedMoney?: Money; - usedUnsignedInt?: number; -} - -export interface ExplanationOfBenefitCareTeam extends BackboneElement { - provider: Reference<"Organization" | "Practitioner" | "PractitionerRole">; - responsible?: boolean; - role?: CodeableConcept; - sequence: number; - specialty?: CodeableConcept; -} - -export interface ExplanationOfBenefitDiagnosis extends BackboneElement { - diagnosisCodeableConcept?: CodeableConcept; - diagnosisReference?: Reference<"Condition">; - onAdmission?: CodeableConcept; - sequence: number; - type?: CodeableConcept[]; -} - -export interface ExplanationOfBenefitEvent extends BackboneElement { - type: CodeableConcept; - whenDateTime?: string; - whenPeriod?: Period; -} - -export interface ExplanationOfBenefitInsurance extends BackboneElement { - coverage: Reference<"Coverage">; - focal: boolean; - preAuthRef?: string[]; -} - -export interface ExplanationOfBenefitItem extends BackboneElement { - adjudication?: ExplanationOfBenefitItemAdjudication[]; - bodySite?: ExplanationOfBenefitItemBodySite[]; - careTeamSequence?: number[]; - category?: CodeableConcept; - detail?: ExplanationOfBenefitItemDetail[]; - diagnosisSequence?: number[]; - encounter?: Reference<"Encounter">[]; - factor?: number; - informationSequence?: number[]; - locationAddress?: Address; - locationCodeableConcept?: CodeableConcept; - locationReference?: Reference<"Location">; - modifier?: CodeableConcept[]; - net?: Money; - noteNumber?: number[]; - patientPaid?: Money; - procedureSequence?: number[]; - productOrService?: CodeableConcept; - productOrServiceEnd?: CodeableConcept; - programCode?: CodeableConcept[]; - quantity?: Quantity; - request?: Reference<"DeviceRequest" | "MedicationRequest" | "NutritionOrder" | "ServiceRequest" | "SupplyRequest" | "VisionPrescription">[]; - revenue?: CodeableConcept; - reviewOutcome?: ExplanationOfBenefitItemReviewOutcome; - sequence: number; - servicedDate?: string; - servicedPeriod?: Period; - tax?: Money; - traceNumber?: Identifier[]; - udi?: Reference<"Device">[]; - unitPrice?: Money; -} - -export interface ExplanationOfBenefitItemAdjudication extends BackboneElement { - amount?: Money; - category: CodeableConcept; - quantity?: Quantity; - reason?: CodeableConcept; -} - -export interface ExplanationOfBenefitItemBodySite extends BackboneElement { - site: CodeableReference[]; - subSite?: CodeableConcept[]; -} - -export interface ExplanationOfBenefitItemDetail extends BackboneElement { - adjudication?: ExplanationOfBenefitItemAdjudication[]; - category?: CodeableConcept; - factor?: number; - modifier?: CodeableConcept[]; - net?: Money; - noteNumber?: number[]; - patientPaid?: Money; - productOrService?: CodeableConcept; - productOrServiceEnd?: CodeableConcept; - programCode?: CodeableConcept[]; - quantity?: Quantity; - revenue?: CodeableConcept; - reviewOutcome?: ExplanationOfBenefitItemReviewOutcome; - sequence: number; - subDetail?: ExplanationOfBenefitItemDetailSubDetail[]; - tax?: Money; - traceNumber?: Identifier[]; - udi?: Reference<"Device">[]; - unitPrice?: Money; -} - -export interface ExplanationOfBenefitItemDetailSubDetail extends BackboneElement { - adjudication?: ExplanationOfBenefitItemAdjudication[]; - category?: CodeableConcept; - factor?: number; - modifier?: CodeableConcept[]; - net?: Money; - noteNumber?: number[]; - patientPaid?: Money; - productOrService?: CodeableConcept; - productOrServiceEnd?: CodeableConcept; - programCode?: CodeableConcept[]; - quantity?: Quantity; - revenue?: CodeableConcept; - reviewOutcome?: ExplanationOfBenefitItemReviewOutcome; - sequence: number; - tax?: Money; - traceNumber?: Identifier[]; - udi?: Reference<"Device">[]; - unitPrice?: Money; -} - -export interface ExplanationOfBenefitItemReviewOutcome extends BackboneElement { - decision?: CodeableConcept; - preAuthPeriod?: Period; - preAuthRef?: string; - reason?: CodeableConcept[]; -} - -export interface ExplanationOfBenefitPayee extends BackboneElement { - party?: Reference<"Organization" | "Patient" | "Practitioner" | "PractitionerRole" | "RelatedPerson">; - type?: CodeableConcept; -} - -export interface ExplanationOfBenefitPayment extends BackboneElement { - adjustment?: Money; - adjustmentReason?: CodeableConcept; - amount?: Money; - date?: string; - identifier?: Identifier; - type?: CodeableConcept; -} - -export interface ExplanationOfBenefitProcedure extends BackboneElement { - date?: string; - procedureCodeableConcept?: CodeableConcept; - procedureReference?: Reference<"Procedure">; - sequence: number; - type?: CodeableConcept[]; - udi?: Reference<"Device">[]; -} - -export interface ExplanationOfBenefitProcessNote extends BackboneElement { - language?: CodeableConcept; - number?: number; - text?: string; - type?: CodeableConcept<("display" | "print" | "printoper" | string)>; -} - -export interface ExplanationOfBenefitRelated extends BackboneElement { - claim?: Reference<"Claim">; - reference?: Identifier; - relationship?: CodeableConcept; -} - -export interface ExplanationOfBenefitSupportingInfo extends BackboneElement { - category: CodeableConcept; - code?: CodeableConcept; - reason?: Coding; - sequence: number; - timingDate?: string; - timingPeriod?: Period; - valueAttachment?: Attachment; - valueBoolean?: boolean; - valueIdentifier?: Identifier; - valueQuantity?: Quantity; - valueReference?: Reference<"Resource">; - valueString?: string; -} - -export interface ExplanationOfBenefitTotal extends BackboneElement { - amount: Money; - category: CodeableConcept; -} - -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/ExplanationOfBenefit (pkg: hl7.fhir.r5.core#5.0.0) -export interface ExplanationOfBenefit extends DomainResource { - resourceType: "ExplanationOfBenefit"; - - accident?: ExplanationOfBenefitAccident; - addItem?: ExplanationOfBenefitAddItem[]; - adjudication?: ExplanationOfBenefitItemAdjudication[]; - benefitBalance?: ExplanationOfBenefitBenefitBalance[]; - benefitPeriod?: Period; - billablePeriod?: Period; - careTeam?: ExplanationOfBenefitCareTeam[]; - claim?: Reference<"Claim">; - claimResponse?: Reference<"ClaimResponse">; - created: string; - _created?: Element; - decision?: CodeableConcept; - diagnosis?: ExplanationOfBenefitDiagnosis[]; - diagnosisRelatedGroup?: CodeableConcept; - disposition?: string; - _disposition?: Element; - encounter?: Reference<"Encounter">[]; - enterer?: Reference<"Patient" | "Practitioner" | "PractitionerRole" | "RelatedPerson">; - event?: ExplanationOfBenefitEvent[]; - facility?: Reference<"Location" | "Organization">; - form?: Attachment; - formCode?: CodeableConcept; - fundsReserve?: CodeableConcept; - fundsReserveRequested?: CodeableConcept; - identifier?: Identifier[]; - insurance?: ExplanationOfBenefitInsurance[]; - insurer?: Reference<"Organization">; - item?: ExplanationOfBenefitItem[]; - originalPrescription?: Reference<"MedicationRequest">; - outcome: string; - _outcome?: Element; - patient: Reference<"Patient">; - patientPaid?: Money; - payee?: ExplanationOfBenefitPayee; - payment?: ExplanationOfBenefitPayment; - preAuthRef?: string[]; - _preAuthRef?: (Element | null)[]; - preAuthRefPeriod?: Period[]; - precedence?: number; - _precedence?: Element; - prescription?: Reference<"MedicationRequest" | "VisionPrescription">; - priority?: CodeableConcept; - procedure?: ExplanationOfBenefitProcedure[]; - processNote?: ExplanationOfBenefitProcessNote[]; - provider?: Reference<"Organization" | "Practitioner" | "PractitionerRole">; - referral?: Reference<"ServiceRequest">; - related?: ExplanationOfBenefitRelated[]; - status: ("active" | "cancelled" | "draft" | "entered-in-error"); - _status?: Element; - subType?: CodeableConcept; - supportingInfo?: ExplanationOfBenefitSupportingInfo[]; - total?: ExplanationOfBenefitTotal[]; - traceNumber?: Identifier[]; - type: CodeableConcept<("institutional" | "oral" | "pharmacy" | "professional" | "vision" | string)>; - use: ("claim" | "preauthorization" | "predetermination"); - _use?: Element; -} -export const isExplanationOfBenefit = (resource: unknown): resource is ExplanationOfBenefit => { - return resource !== null && typeof resource === "object" && (resource as {resourceType: string}).resourceType === "ExplanationOfBenefit"; -} 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 deleted file mode 100644 index 2db9bd4b8..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/Expression.ts +++ /dev/null @@ -1,22 +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 { 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 (pkg: hl7.fhir.r5.core#5.0.0) -export interface Expression extends DataType { - description?: string; - _description?: Element; - expression?: string; - _expression?: Element; - language?: ("text/cql" | "text/fhirpath" | "text/x-fhir-query" | "text/cql-identifier" | "text/cql-expression" | string); - _language?: Element; - name?: string; - _name?: Element; - reference?: string; - _reference?: 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 deleted file mode 100644 index d57cac1a8..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/ExtendedContactDetail.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 { Address } from "../hl7-fhir-r5-core/Address"; -import type { CodeableConcept } from "../hl7-fhir-r5-core/CodeableConcept"; -import type { ContactPoint } from "../hl7-fhir-r5-core/ContactPoint"; -import type { DataType } from "../hl7-fhir-r5-core/DataType"; -import type { HumanName } from "../hl7-fhir-r5-core/HumanName"; -import type { Period } from "../hl7-fhir-r5-core/Period"; -import type { Reference } from "../hl7-fhir-r5-core/Reference"; - -export type { Address } from "../hl7-fhir-r5-core/Address"; -export type { CodeableConcept } from "../hl7-fhir-r5-core/CodeableConcept"; -export type { ContactPoint } from "../hl7-fhir-r5-core/ContactPoint"; -export type { DataType } from "../hl7-fhir-r5-core/DataType"; -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 (pkg: hl7.fhir.r5.core#5.0.0) -export interface ExtendedContactDetail extends DataType { - address?: Address; - name?: HumanName[]; - organization?: Reference<"Organization">; - period?: Period; - 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 deleted file mode 100644 index 96352f197..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/Extension.ts +++ /dev/null @@ -1,156 +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 { Address } from "../hl7-fhir-r5-core/Address"; -import type { Age } from "../hl7-fhir-r5-core/Age"; -import type { Annotation } from "../hl7-fhir-r5-core/Annotation"; -import type { Attachment } from "../hl7-fhir-r5-core/Attachment"; -import type { Availability } from "../hl7-fhir-r5-core/Availability"; -import type { CodeableConcept } from "../hl7-fhir-r5-core/CodeableConcept"; -import type { CodeableReference } from "../hl7-fhir-r5-core/CodeableReference"; -import type { Coding } from "../hl7-fhir-r5-core/Coding"; -import type { ContactDetail } from "../hl7-fhir-r5-core/ContactDetail"; -import type { ContactPoint } from "../hl7-fhir-r5-core/ContactPoint"; -import type { Count } from "../hl7-fhir-r5-core/Count"; -import type { DataRequirement } from "../hl7-fhir-r5-core/DataRequirement"; -import type { DataType } from "../hl7-fhir-r5-core/DataType"; -import type { Distance } from "../hl7-fhir-r5-core/Distance"; -import type { Dosage } from "../hl7-fhir-r5-core/Dosage"; -import type { Duration } from "../hl7-fhir-r5-core/Duration"; -import type { Expression } from "../hl7-fhir-r5-core/Expression"; -import type { ExtendedContactDetail } from "../hl7-fhir-r5-core/ExtendedContactDetail"; -import type { HumanName } from "../hl7-fhir-r5-core/HumanName"; -import type { Identifier } from "../hl7-fhir-r5-core/Identifier"; -import type { Meta } from "../hl7-fhir-r5-core/Meta"; -import type { Money } from "../hl7-fhir-r5-core/Money"; -import type { ParameterDefinition } from "../hl7-fhir-r5-core/ParameterDefinition"; -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 { RatioRange } from "../hl7-fhir-r5-core/RatioRange"; -import type { Reference } from "../hl7-fhir-r5-core/Reference"; -import type { RelatedArtifact } from "../hl7-fhir-r5-core/RelatedArtifact"; -import type { SampledData } from "../hl7-fhir-r5-core/SampledData"; -import type { Signature } from "../hl7-fhir-r5-core/Signature"; -import type { Timing } from "../hl7-fhir-r5-core/Timing"; -import type { TriggerDefinition } from "../hl7-fhir-r5-core/TriggerDefinition"; -import type { UsageContext } from "../hl7-fhir-r5-core/UsageContext"; - -import type { Element } from "../hl7-fhir-r5-core/Element"; -export type { Address } from "../hl7-fhir-r5-core/Address"; -export type { Age } from "../hl7-fhir-r5-core/Age"; -export type { Annotation } from "../hl7-fhir-r5-core/Annotation"; -export type { Attachment } from "../hl7-fhir-r5-core/Attachment"; -export type { Availability } from "../hl7-fhir-r5-core/Availability"; -export type { CodeableConcept } from "../hl7-fhir-r5-core/CodeableConcept"; -export type { CodeableReference } from "../hl7-fhir-r5-core/CodeableReference"; -export type { Coding } from "../hl7-fhir-r5-core/Coding"; -export type { ContactDetail } from "../hl7-fhir-r5-core/ContactDetail"; -export type { ContactPoint } from "../hl7-fhir-r5-core/ContactPoint"; -export type { Count } from "../hl7-fhir-r5-core/Count"; -export type { DataRequirement } from "../hl7-fhir-r5-core/DataRequirement"; -export type { DataType } from "../hl7-fhir-r5-core/DataType"; -export type { Distance } from "../hl7-fhir-r5-core/Distance"; -export type { Dosage } from "../hl7-fhir-r5-core/Dosage"; -export type { Duration } from "../hl7-fhir-r5-core/Duration"; -export type { Expression } from "../hl7-fhir-r5-core/Expression"; -export type { ExtendedContactDetail } from "../hl7-fhir-r5-core/ExtendedContactDetail"; -export type { HumanName } from "../hl7-fhir-r5-core/HumanName"; -export type { Identifier } from "../hl7-fhir-r5-core/Identifier"; -export type { Meta } from "../hl7-fhir-r5-core/Meta"; -export type { Money } from "../hl7-fhir-r5-core/Money"; -export type { ParameterDefinition } from "../hl7-fhir-r5-core/ParameterDefinition"; -export type { Period } from "../hl7-fhir-r5-core/Period"; -export type { Quantity } from "../hl7-fhir-r5-core/Quantity"; -export type { Range } from "../hl7-fhir-r5-core/Range"; -export type { Ratio } from "../hl7-fhir-r5-core/Ratio"; -export type { RatioRange } from "../hl7-fhir-r5-core/RatioRange"; -export type { Reference } from "../hl7-fhir-r5-core/Reference"; -export type { RelatedArtifact } from "../hl7-fhir-r5-core/RelatedArtifact"; -export type { SampledData } from "../hl7-fhir-r5-core/SampledData"; -export type { Signature } from "../hl7-fhir-r5-core/Signature"; -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 (pkg: hl7.fhir.r5.core#5.0.0) -export interface Extension extends DataType { - url: string; - _url?: Element; - valueAddress?: Address; - valueAge?: Age; - valueAnnotation?: Annotation; - valueAttachment?: Attachment; - valueAvailability?: Availability; - valueBase64Binary?: string; - _valueBase64Binary?: Element; - valueBoolean?: boolean; - _valueBoolean?: Element; - valueCanonical?: string; - _valueCanonical?: Element; - valueCode?: string; - _valueCode?: Element; - valueCodeableConcept?: CodeableConcept; - valueCodeableReference?: CodeableReference; - valueCoding?: Coding; - valueContactDetail?: ContactDetail; - valueContactPoint?: ContactPoint; - valueCount?: Count; - valueDataRequirement?: DataRequirement; - valueDate?: string; - _valueDate?: Element; - valueDateTime?: string; - _valueDateTime?: Element; - valueDecimal?: number; - _valueDecimal?: Element; - valueDistance?: Distance; - valueDosage?: Dosage; - valueDuration?: Duration; - valueExpression?: Expression; - valueExtendedContactDetail?: ExtendedContactDetail; - valueHumanName?: HumanName; - valueId?: string; - _valueId?: Element; - valueIdentifier?: Identifier; - valueInstant?: string; - _valueInstant?: Element; - valueInteger?: number; - _valueInteger?: Element; - valueInteger64?: number; - _valueInteger64?: Element; - valueMarkdown?: string; - _valueMarkdown?: Element; - valueMeta?: Meta; - valueMoney?: Money; - valueOid?: string; - _valueOid?: Element; - valueParameterDefinition?: ParameterDefinition; - valuePeriod?: Period; - valuePositiveInt?: number; - _valuePositiveInt?: Element; - valueQuantity?: Quantity; - valueRange?: Range; - valueRatio?: Ratio; - valueRatioRange?: RatioRange; - valueReference?: Reference; - valueRelatedArtifact?: RelatedArtifact; - valueSampledData?: SampledData; - valueSignature?: Signature; - valueString?: string; - _valueString?: Element; - valueTime?: string; - _valueTime?: Element; - valueTiming?: Timing; - valueTriggerDefinition?: TriggerDefinition; - valueUnsignedInt?: number; - _valueUnsignedInt?: Element; - valueUri?: string; - _valueUri?: Element; - valueUrl?: string; - _valueUrl?: Element; - valueUsageContext?: UsageContext; - valueUuid?: string; - _valueUuid?: 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 deleted file mode 100644 index ca3ae8cbf..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/FamilyMemberHistory.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 { Age } from "../hl7-fhir-r5-core/Age"; -import type { Annotation } from "../hl7-fhir-r5-core/Annotation"; -import type { BackboneElement } from "../hl7-fhir-r5-core/BackboneElement"; -import type { CodeableConcept } from "../hl7-fhir-r5-core/CodeableConcept"; -import type { CodeableReference } from "../hl7-fhir-r5-core/CodeableReference"; -import type { DomainResource } from "../hl7-fhir-r5-core/DomainResource"; -import type { Identifier } from "../hl7-fhir-r5-core/Identifier"; -import type { Period } from "../hl7-fhir-r5-core/Period"; -import type { Range } from "../hl7-fhir-r5-core/Range"; -import type { Reference } from "../hl7-fhir-r5-core/Reference"; - -import type { Element } from "../hl7-fhir-r5-core/Element"; -export type { Age } from "../hl7-fhir-r5-core/Age"; -export type { Annotation } from "../hl7-fhir-r5-core/Annotation"; -export type { BackboneElement } from "../hl7-fhir-r5-core/BackboneElement"; -export type { CodeableConcept } from "../hl7-fhir-r5-core/CodeableConcept"; -export type { CodeableReference } from "../hl7-fhir-r5-core/CodeableReference"; -export type { Identifier } from "../hl7-fhir-r5-core/Identifier"; -export type { Period } from "../hl7-fhir-r5-core/Period"; -export type { Range } from "../hl7-fhir-r5-core/Range"; -export type { Reference } from "../hl7-fhir-r5-core/Reference"; - -export interface FamilyMemberHistoryCondition extends BackboneElement { - code: CodeableConcept; - contributedToDeath?: boolean; - note?: Annotation[]; - onsetAge?: Age; - onsetPeriod?: Period; - onsetRange?: Range; - onsetString?: string; - outcome?: CodeableConcept; -} - -export interface FamilyMemberHistoryParticipant extends BackboneElement { - actor: Reference<"CareTeam" | "Device" | "Organization" | "Patient" | "Practitioner" | "PractitionerRole" | "RelatedPerson">; - "function"?: CodeableConcept; -} - -export interface FamilyMemberHistoryProcedure extends BackboneElement { - code: CodeableConcept; - contributedToDeath?: boolean; - note?: Annotation[]; - outcome?: CodeableConcept; - performedAge?: Age; - performedDateTime?: string; - performedPeriod?: Period; - performedRange?: Range; - performedString?: string; -} - -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/FamilyMemberHistory (pkg: hl7.fhir.r5.core#5.0.0) -export interface FamilyMemberHistory extends DomainResource { - resourceType: "FamilyMemberHistory"; - - ageAge?: Age; - ageRange?: Range; - ageString?: string; - _ageString?: Element; - bornDate?: string; - _bornDate?: Element; - bornPeriod?: Period; - bornString?: string; - _bornString?: Element; - condition?: FamilyMemberHistoryCondition[]; - dataAbsentReason?: CodeableConcept; - date?: string; - _date?: Element; - deceasedAge?: Age; - deceasedBoolean?: boolean; - _deceasedBoolean?: Element; - deceasedDate?: string; - _deceasedDate?: Element; - deceasedRange?: Range; - deceasedString?: string; - _deceasedString?: Element; - estimatedAge?: boolean; - _estimatedAge?: Element; - identifier?: Identifier[]; - instantiatesCanonical?: string[]; - _instantiatesCanonical?: (Element | null)[]; - instantiatesUri?: string[]; - _instantiatesUri?: (Element | null)[]; - name?: string; - _name?: Element; - note?: Annotation[]; - participant?: FamilyMemberHistoryParticipant[]; - patient: Reference<"Patient">; - procedure?: FamilyMemberHistoryProcedure[]; - reason?: CodeableReference[]; - relationship: CodeableConcept; - sex?: CodeableConcept<("male" | "female" | "other" | "unknown" | string)>; - status: ("partial" | "completed" | "entered-in-error" | "health-unknown"); - _status?: Element; -} -export const isFamilyMemberHistory = (resource: unknown): resource is FamilyMemberHistory => { - return resource !== null && typeof resource === "object" && (resource as {resourceType: string}).resourceType === "FamilyMemberHistory"; -} 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 deleted file mode 100644 index 2baf3c0c0..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/FiveWs.ts +++ /dev/null @@ -1,11 +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 { Base } from "../hl7-fhir-r5-core/Base"; - -export type { Base } from "../hl7-fhir-r5-core/Base"; - -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/FiveWs (pkg: hl7.fhir.r5.core#5.0.0) -export interface FiveWs extends Base { -} 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 deleted file mode 100644 index a5a7ad823..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/Flag.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 { CodeableConcept } from "../hl7-fhir-r5-core/CodeableConcept"; -import type { DomainResource } from "../hl7-fhir-r5-core/DomainResource"; -import type { Identifier } from "../hl7-fhir-r5-core/Identifier"; -import type { Period } from "../hl7-fhir-r5-core/Period"; -import type { Reference } from "../hl7-fhir-r5-core/Reference"; - -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"; -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 (pkg: hl7.fhir.r5.core#5.0.0) -export interface Flag extends DomainResource { - resourceType: "Flag"; - - author?: Reference<"Device" | "Organization" | "Patient" | "Practitioner" | "PractitionerRole" | "RelatedPerson">; - category?: CodeableConcept[]; - code: CodeableConcept; - encounter?: Reference<"Encounter">; - identifier?: Identifier[]; - period?: Period; - status: ("active" | "inactive" | "entered-in-error"); - _status?: Element; - subject: Reference<"Group" | "Location" | "Medication" | "Organization" | "Patient" | "PlanDefinition" | "Practitioner" | "PractitionerRole" | "Procedure" | "RelatedPerson">; -} -export const isFlag = (resource: unknown): resource is Flag => { - return resource !== null && typeof resource === "object" && (resource as {resourceType: string}).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 deleted file mode 100644 index 543d39fd4..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/FormularyItem.ts +++ /dev/null @@ -1,24 +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 { DomainResource } from "../hl7-fhir-r5-core/DomainResource"; -import type { Identifier } from "../hl7-fhir-r5-core/Identifier"; - -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 (pkg: hl7.fhir.r5.core#5.0.0) -export interface FormularyItem extends DomainResource { - resourceType: "FormularyItem"; - - code?: CodeableConcept; - identifier?: Identifier[]; - status?: string; - _status?: Element; -} -export const isFormularyItem = (resource: unknown): resource is FormularyItem => { - return resource !== null && typeof resource === "object" && (resource as {resourceType: string}).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 deleted file mode 100644 index 42e1f2fe2..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/GenomicStudy.ts +++ /dev/null @@ -1,91 +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 { Annotation } from "../hl7-fhir-r5-core/Annotation"; -import type { BackboneElement } from "../hl7-fhir-r5-core/BackboneElement"; -import type { CodeableConcept } from "../hl7-fhir-r5-core/CodeableConcept"; -import type { CodeableReference } from "../hl7-fhir-r5-core/CodeableReference"; -import type { DomainResource } from "../hl7-fhir-r5-core/DomainResource"; -import type { Identifier } from "../hl7-fhir-r5-core/Identifier"; -import type { Reference } from "../hl7-fhir-r5-core/Reference"; - -import type { Element } from "../hl7-fhir-r5-core/Element"; -export type { Annotation } from "../hl7-fhir-r5-core/Annotation"; -export type { BackboneElement } from "../hl7-fhir-r5-core/BackboneElement"; -export type { CodeableConcept } from "../hl7-fhir-r5-core/CodeableConcept"; -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"; - -export interface GenomicStudyAnalysis extends BackboneElement { - changeType?: CodeableConcept[]; - date?: string; - device?: GenomicStudyAnalysisDevice[]; - focus?: Reference<"Resource">[]; - genomeBuild?: CodeableConcept; - identifier?: Identifier[]; - input?: GenomicStudyAnalysisInput[]; - instantiatesCanonical?: string; - instantiatesUri?: string; - methodType?: CodeableConcept[]; - note?: Annotation[]; - output?: GenomicStudyAnalysisOutput[]; - performer?: GenomicStudyAnalysisPerformer[]; - protocolPerformed?: Reference<"Procedure" | "Task">; - regionsCalled?: Reference<"DocumentReference" | "Observation">[]; - regionsStudied?: Reference<"DocumentReference" | "Observation">[]; - specimen?: Reference<"Specimen">[]; - title?: string; -} - -export interface GenomicStudyAnalysisDevice extends BackboneElement { - device?: Reference<"Device">; - "function"?: CodeableConcept; -} - -export interface GenomicStudyAnalysisInput extends BackboneElement { - file?: Reference<"DocumentReference">; - generatedByIdentifier?: Identifier; - generatedByReference?: Reference<"GenomicStudy">; - type?: CodeableConcept; -} - -export interface GenomicStudyAnalysisOutput extends BackboneElement { - file?: Reference<"DocumentReference">; - type?: CodeableConcept; -} - -export interface GenomicStudyAnalysisPerformer extends BackboneElement { - actor?: Reference<"Device" | "Organization" | "Practitioner" | "PractitionerRole">; - role?: CodeableConcept; -} - -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/GenomicStudy (pkg: hl7.fhir.r5.core#5.0.0) -export interface GenomicStudy extends DomainResource { - resourceType: "GenomicStudy"; - - analysis?: GenomicStudyAnalysis[]; - basedOn?: Reference<"ServiceRequest" | "Task">[]; - description?: string; - _description?: Element; - encounter?: Reference<"Encounter">; - identifier?: Identifier[]; - instantiatesCanonical?: string; - _instantiatesCanonical?: Element; - instantiatesUri?: string; - _instantiatesUri?: Element; - interpreter?: Reference<"Practitioner" | "PractitionerRole">[]; - note?: Annotation[]; - reason?: CodeableReference[]; - referrer?: Reference<"Practitioner" | "PractitionerRole">; - startDate?: string; - _startDate?: Element; - status: string; - _status?: Element; - subject: Reference<"BiologicallyDerivedProduct" | "Group" | "NutritionProduct" | "Patient" | "Substance">; - type?: CodeableConcept[]; -} -export const isGenomicStudy = (resource: unknown): resource is GenomicStudy => { - return resource !== null && typeof resource === "object" && (resource as {resourceType: string}).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 deleted file mode 100644 index 743eb79bd..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/Goal.ts +++ /dev/null @@ -1,71 +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 { Annotation } from "../hl7-fhir-r5-core/Annotation"; -import type { BackboneElement } from "../hl7-fhir-r5-core/BackboneElement"; -import type { CodeableConcept } from "../hl7-fhir-r5-core/CodeableConcept"; -import type { CodeableReference } from "../hl7-fhir-r5-core/CodeableReference"; -import type { DomainResource } from "../hl7-fhir-r5-core/DomainResource"; -import type { Duration } from "../hl7-fhir-r5-core/Duration"; -import type { Identifier } from "../hl7-fhir-r5-core/Identifier"; -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 { Element } from "../hl7-fhir-r5-core/Element"; -export type { Annotation } from "../hl7-fhir-r5-core/Annotation"; -export type { BackboneElement } from "../hl7-fhir-r5-core/BackboneElement"; -export type { CodeableConcept } from "../hl7-fhir-r5-core/CodeableConcept"; -export type { CodeableReference } from "../hl7-fhir-r5-core/CodeableReference"; -export type { Duration } from "../hl7-fhir-r5-core/Duration"; -export type { Identifier } from "../hl7-fhir-r5-core/Identifier"; -export type { Quantity } from "../hl7-fhir-r5-core/Quantity"; -export type { Range } from "../hl7-fhir-r5-core/Range"; -export type { Ratio } from "../hl7-fhir-r5-core/Ratio"; -export type { Reference } from "../hl7-fhir-r5-core/Reference"; - -export interface GoalTarget extends BackboneElement { - detailBoolean?: boolean; - detailCodeableConcept?: CodeableConcept; - detailInteger?: number; - detailQuantity?: Quantity; - detailRange?: Range; - detailRatio?: Ratio; - detailString?: string; - dueDate?: string; - dueDuration?: Duration; - measure?: CodeableConcept; -} - -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/Goal (pkg: hl7.fhir.r5.core#5.0.0) -export interface Goal extends DomainResource { - resourceType: "Goal"; - - 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; - _continuous?: Element; - description: CodeableConcept; - identifier?: Identifier[]; - lifecycleStatus: ("proposed" | "planned" | "accepted" | "active" | "on-hold" | "completed" | "cancelled" | "entered-in-error" | "rejected"); - _lifecycleStatus?: Element; - note?: Annotation[]; - outcome?: CodeableReference[]; - priority?: CodeableConcept<("high-priority" | "medium-priority" | "low-priority" | string)>; - source?: Reference<"CareTeam" | "Patient" | "Practitioner" | "PractitionerRole" | "RelatedPerson">; - startCodeableConcept?: CodeableConcept; - startDate?: string; - _startDate?: Element; - statusDate?: string; - _statusDate?: Element; - statusReason?: string; - _statusReason?: Element; - subject: Reference<"Group" | "Organization" | "Patient">; - target?: GoalTarget[]; -} -export const isGoal = (resource: unknown): resource is Goal => { - return resource !== null && typeof resource === "object" && (resource as {resourceType: string}).resourceType === "Goal"; -} 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 deleted file mode 100644 index 22363630b..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/GraphDefinition.ts +++ /dev/null @@ -1,90 +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 { BackboneElement } from "../hl7-fhir-r5-core/BackboneElement"; -import type { CodeableConcept } from "../hl7-fhir-r5-core/CodeableConcept"; -import type { Coding } from "../hl7-fhir-r5-core/Coding"; -import type { ContactDetail } from "../hl7-fhir-r5-core/ContactDetail"; -import type { DomainResource } from "../hl7-fhir-r5-core/DomainResource"; -import type { Identifier } from "../hl7-fhir-r5-core/Identifier"; -import type { UsageContext } from "../hl7-fhir-r5-core/UsageContext"; - -import type { Element } from "../hl7-fhir-r5-core/Element"; -export type { BackboneElement } from "../hl7-fhir-r5-core/BackboneElement"; -export type { CodeableConcept } from "../hl7-fhir-r5-core/CodeableConcept"; -export type { Coding } from "../hl7-fhir-r5-core/Coding"; -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"; - -export interface GraphDefinitionLink extends BackboneElement { - compartment?: GraphDefinitionLinkCompartment[]; - description?: string; - max?: string; - min?: number; - params?: string; - path?: string; - sliceName?: string; - sourceId: string; - targetId: string; -} - -export interface GraphDefinitionLinkCompartment extends BackboneElement { - code: ("Patient" | "Encounter" | "RelatedPerson" | "Practitioner" | "Device"); - description?: string; - expression?: string; - rule: ("identical" | "matching" | "different" | "custom"); - use: ("condition" | "requirement"); -} - -export interface GraphDefinitionNode extends BackboneElement { - description?: string; - nodeId: string; - profile?: string; - type: string; -} - -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/GraphDefinition (pkg: hl7.fhir.r5.core#5.0.0) -export interface GraphDefinition extends DomainResource { - resourceType: "GraphDefinition"; - - contact?: ContactDetail[]; - copyright?: string; - _copyright?: Element; - copyrightLabel?: string; - _copyrightLabel?: Element; - date?: string; - _date?: Element; - description?: string; - _description?: Element; - experimental?: boolean; - _experimental?: Element; - identifier?: Identifier[]; - jurisdiction?: CodeableConcept[]; - link?: GraphDefinitionLink[]; - name: string; - _name?: Element; - node?: GraphDefinitionNode[]; - publisher?: string; - _publisher?: Element; - purpose?: string; - _purpose?: Element; - start?: string; - _start?: Element; - status: ("draft" | "active" | "retired" | "unknown"); - _status?: Element; - title?: string; - _title?: Element; - url?: string; - _url?: Element; - useContext?: UsageContext[]; - version?: string; - _version?: Element; - versionAlgorithmCoding?: Coding; - versionAlgorithmString?: string; - _versionAlgorithmString?: Element; -} -export const isGraphDefinition = (resource: unknown): resource is GraphDefinition => { - return resource !== null && typeof resource === "object" && (resource as {resourceType: string}).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 deleted file mode 100644 index 6f1c339b5..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/Group.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 { BackboneElement } from "../hl7-fhir-r5-core/BackboneElement"; -import type { CodeableConcept } from "../hl7-fhir-r5-core/CodeableConcept"; -import type { DomainResource } from "../hl7-fhir-r5-core/DomainResource"; -import type { Identifier } from "../hl7-fhir-r5-core/Identifier"; -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 { Reference } from "../hl7-fhir-r5-core/Reference"; - -import type { Element } from "../hl7-fhir-r5-core/Element"; -export type { BackboneElement } from "../hl7-fhir-r5-core/BackboneElement"; -export type { CodeableConcept } from "../hl7-fhir-r5-core/CodeableConcept"; -export type { Identifier } from "../hl7-fhir-r5-core/Identifier"; -export type { Period } from "../hl7-fhir-r5-core/Period"; -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"; - -export interface GroupCharacteristic extends BackboneElement { - code: CodeableConcept; - exclude: boolean; - period?: Period; - valueBoolean?: boolean; - valueCodeableConcept?: CodeableConcept; - valueQuantity?: Quantity; - valueRange?: Range; - valueReference?: Reference; -} - -export interface GroupMember extends BackboneElement { - entity: Reference<"CareTeam" | "Device" | "Group" | "HealthcareService" | "Location" | "Organization" | "Patient" | "Practitioner" | "PractitionerRole" | "RelatedPerson" | "Specimen">; - inactive?: boolean; - period?: Period; -} - -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/Group (pkg: hl7.fhir.r5.core#5.0.0) -export interface Group extends DomainResource { - resourceType: "Group"; - - active?: boolean; - _active?: Element; - characteristic?: GroupCharacteristic[]; - code?: CodeableConcept; - description?: string; - _description?: Element; - identifier?: Identifier[]; - managingEntity?: Reference<"Organization" | "Practitioner" | "PractitionerRole" | "RelatedPerson">; - member?: GroupMember[]; - membership: string; - _membership?: Element; - name?: string; - _name?: Element; - quantity?: number; - _quantity?: Element; - type: ("person" | "animal" | "practitioner" | "device" | "medication" | "substance"); - _type?: Element; -} -export const isGroup = (resource: unknown): resource is Group => { - return resource !== null && typeof resource === "object" && (resource as {resourceType: string}).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 deleted file mode 100644 index 4bbd1d853..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/GuidanceResponse.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 { Annotation } from "../hl7-fhir-r5-core/Annotation"; -import type { CodeableConcept } from "../hl7-fhir-r5-core/CodeableConcept"; -import type { CodeableReference } from "../hl7-fhir-r5-core/CodeableReference"; -import type { DataRequirement } from "../hl7-fhir-r5-core/DataRequirement"; -import type { DomainResource } from "../hl7-fhir-r5-core/DomainResource"; -import type { Identifier } from "../hl7-fhir-r5-core/Identifier"; -import type { Reference } from "../hl7-fhir-r5-core/Reference"; - -import type { Element } from "../hl7-fhir-r5-core/Element"; -export type { Annotation } from "../hl7-fhir-r5-core/Annotation"; -export type { CodeableConcept } from "../hl7-fhir-r5-core/CodeableConcept"; -export type { CodeableReference } from "../hl7-fhir-r5-core/CodeableReference"; -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 (pkg: hl7.fhir.r5.core#5.0.0) -export interface GuidanceResponse extends DomainResource { - resourceType: "GuidanceResponse"; - - dataRequirement?: DataRequirement[]; - encounter?: Reference<"Encounter">; - evaluationMessage?: Reference<"OperationOutcome">; - identifier?: Identifier[]; - moduleCanonical?: string; - _moduleCanonical?: Element; - moduleCodeableConcept?: CodeableConcept; - moduleUri?: string; - _moduleUri?: Element; - note?: Annotation[]; - occurrenceDateTime?: string; - _occurrenceDateTime?: Element; - outputParameters?: Reference<"Parameters">; - performer?: Reference<"Device">; - reason?: CodeableReference[]; - requestIdentifier?: Identifier; - result?: Reference<"Appointment" | "AppointmentResponse" | "CarePlan" | "Claim" | "CommunicationRequest" | "Contract" | "CoverageEligibilityRequest" | "DeviceRequest" | "EnrollmentRequest" | "ImmunizationRecommendation" | "MedicationRequest" | "NutritionOrder" | "RequestOrchestration" | "ServiceRequest" | "SupplyRequest" | "Task" | "VisionPrescription">[]; - status: ("success" | "data-requested" | "data-required" | "in-progress" | "failure" | "entered-in-error"); - _status?: Element; - subject?: Reference<"Group" | "Patient">; -} -export const isGuidanceResponse = (resource: unknown): resource is GuidanceResponse => { - return resource !== null && typeof resource === "object" && (resource as {resourceType: string}).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 deleted file mode 100644 index 7d0b95909..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/HealthcareService.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 { Attachment } from "../hl7-fhir-r5-core/Attachment"; -import type { Availability } from "../hl7-fhir-r5-core/Availability"; -import type { BackboneElement } from "../hl7-fhir-r5-core/BackboneElement"; -import type { CodeableConcept } from "../hl7-fhir-r5-core/CodeableConcept"; -import type { DomainResource } from "../hl7-fhir-r5-core/DomainResource"; -import type { ExtendedContactDetail } from "../hl7-fhir-r5-core/ExtendedContactDetail"; -import type { Identifier } from "../hl7-fhir-r5-core/Identifier"; -import type { Reference } from "../hl7-fhir-r5-core/Reference"; - -import type { Element } from "../hl7-fhir-r5-core/Element"; -export type { Attachment } from "../hl7-fhir-r5-core/Attachment"; -export type { Availability } from "../hl7-fhir-r5-core/Availability"; -export type { BackboneElement } from "../hl7-fhir-r5-core/BackboneElement"; -export type { CodeableConcept } from "../hl7-fhir-r5-core/CodeableConcept"; -export type { ExtendedContactDetail } from "../hl7-fhir-r5-core/ExtendedContactDetail"; -export type { Identifier } from "../hl7-fhir-r5-core/Identifier"; -export type { Reference } from "../hl7-fhir-r5-core/Reference"; - -export interface HealthcareServiceEligibility extends BackboneElement { - code?: CodeableConcept; - comment?: string; -} - -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/HealthcareService (pkg: hl7.fhir.r5.core#5.0.0) -export interface HealthcareService extends DomainResource { - resourceType: "HealthcareService"; - - active?: boolean; - _active?: Element; - appointmentRequired?: boolean; - _appointmentRequired?: Element; - availability?: Availability[]; - category?: CodeableConcept[]; - characteristic?: CodeableConcept[]; - comment?: string; - _comment?: Element; - communication?: CodeableConcept[]; - contact?: ExtendedContactDetail[]; - coverageArea?: Reference<"Location">[]; - eligibility?: HealthcareServiceEligibility[]; - endpoint?: Reference<"Endpoint">[]; - extraDetails?: string; - _extraDetails?: Element; - identifier?: Identifier[]; - location?: Reference<"Location">[]; - name?: string; - _name?: Element; - offeredIn?: Reference<"HealthcareService">[]; - photo?: Attachment; - program?: CodeableConcept[]; - providedBy?: Reference<"Organization">; - referralMethod?: CodeableConcept[]; - serviceProvisionCode?: CodeableConcept[]; - specialty?: CodeableConcept[]; - type?: CodeableConcept[]; -} -export const isHealthcareService = (resource: unknown): resource is HealthcareService => { - return resource !== null && typeof resource === "object" && (resource as {resourceType: string}).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 deleted file mode 100644 index 8835958e8..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/HumanName.ts +++ /dev/null @@ -1,27 +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 { DataType } from "../hl7-fhir-r5-core/DataType"; -import type { Period } from "../hl7-fhir-r5-core/Period"; - -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 (pkg: hl7.fhir.r5.core#5.0.0) -export interface HumanName extends DataType { - family?: string; - _family?: Element; - given?: string[]; - _given?: (Element | null)[]; - period?: Period; - prefix?: string[]; - _prefix?: (Element | null)[]; - suffix?: string[]; - _suffix?: (Element | null)[]; - text?: string; - _text?: Element; - use?: ("usual" | "official" | "temp" | "nickname" | "anonymous" | "old" | "maiden"); - _use?: Element; -} 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 deleted file mode 100644 index 7f65ac64f..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/Identifier.ts +++ /dev/null @@ -1,27 +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 { DataType } from "../hl7-fhir-r5-core/DataType"; -import type { Period } from "../hl7-fhir-r5-core/Period"; -import type { Reference } from "../hl7-fhir-r5-core/Reference"; - -import type { Element } from "../hl7-fhir-r5-core/Element"; -export type { CodeableConcept } from "../hl7-fhir-r5-core/CodeableConcept"; -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 (pkg: hl7.fhir.r5.core#5.0.0) -export interface Identifier extends DataType { - assigner?: Reference<"Organization">; - period?: Period; - system?: string; - _system?: Element; - 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; - _value?: Element; -} 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 deleted file mode 100644 index 1f8bfb312..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/ImagingSelection.ts +++ /dev/null @@ -1,75 +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 { BackboneElement } from "../hl7-fhir-r5-core/BackboneElement"; -import type { CodeableConcept } from "../hl7-fhir-r5-core/CodeableConcept"; -import type { CodeableReference } from "../hl7-fhir-r5-core/CodeableReference"; -import type { Coding } from "../hl7-fhir-r5-core/Coding"; -import type { DomainResource } from "../hl7-fhir-r5-core/DomainResource"; -import type { Identifier } from "../hl7-fhir-r5-core/Identifier"; -import type { Reference } from "../hl7-fhir-r5-core/Reference"; - -import type { Element } from "../hl7-fhir-r5-core/Element"; -export type { BackboneElement } from "../hl7-fhir-r5-core/BackboneElement"; -export type { CodeableConcept } from "../hl7-fhir-r5-core/CodeableConcept"; -export type { CodeableReference } from "../hl7-fhir-r5-core/CodeableReference"; -export type { Coding } from "../hl7-fhir-r5-core/Coding"; -export type { Identifier } from "../hl7-fhir-r5-core/Identifier"; -export type { Reference } from "../hl7-fhir-r5-core/Reference"; - -export interface ImagingSelectionInstance extends BackboneElement { - imageRegion2D?: ImagingSelectionInstanceImageRegion2D[]; - imageRegion3D?: ImagingSelectionInstanceImageRegion3D[]; - number?: number; - sopClass?: Coding; - subset?: string[]; - uid: string; -} - -export interface ImagingSelectionInstanceImageRegion2D extends BackboneElement { - coordinate: number[]; - regionType: string; -} - -export interface ImagingSelectionInstanceImageRegion3D extends BackboneElement { - coordinate: number[]; - regionType: string; -} - -export interface ImagingSelectionPerformer extends BackboneElement { - actor?: Reference<"CareTeam" | "Device" | "HealthcareService" | "Organization" | "Patient" | "Practitioner" | "PractitionerRole" | "RelatedPerson">; - "function"?: CodeableConcept<("CON" | "VRF" | "PRF" | "SPRF" | "REF" | string)>; -} - -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/ImagingSelection (pkg: hl7.fhir.r5.core#5.0.0) -export interface ImagingSelection extends DomainResource { - resourceType: "ImagingSelection"; - - basedOn?: Reference<"Appointment" | "AppointmentResponse" | "CarePlan" | "ServiceRequest" | "Task">[]; - bodySite?: CodeableReference; - category?: CodeableConcept[]; - code: CodeableConcept; - derivedFrom?: Reference<"DocumentReference" | "ImagingStudy">[]; - endpoint?: Reference<"Endpoint">[]; - focus?: Reference<"ImagingSelection">[]; - frameOfReferenceUid?: string; - _frameOfReferenceUid?: Element; - identifier?: Identifier[]; - instance?: ImagingSelectionInstance[]; - issued?: string; - _issued?: Element; - performer?: ImagingSelectionPerformer[]; - seriesNumber?: number; - _seriesNumber?: Element; - seriesUid?: string; - _seriesUid?: Element; - status: string; - _status?: Element; - studyUid?: string; - _studyUid?: Element; - subject?: Reference<"Device" | "Group" | "Location" | "Medication" | "Organization" | "Patient" | "Practitioner" | "Procedure" | "Specimen" | "Substance">; -} -export const isImagingSelection = (resource: unknown): resource is ImagingSelection => { - return resource !== null && typeof resource === "object" && (resource as {resourceType: string}).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 deleted file mode 100644 index 2fc7c5eb1..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/ImagingStudy.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 { Annotation } from "../hl7-fhir-r5-core/Annotation"; -import type { BackboneElement } from "../hl7-fhir-r5-core/BackboneElement"; -import type { CodeableConcept } from "../hl7-fhir-r5-core/CodeableConcept"; -import type { CodeableReference } from "../hl7-fhir-r5-core/CodeableReference"; -import type { Coding } from "../hl7-fhir-r5-core/Coding"; -import type { DomainResource } from "../hl7-fhir-r5-core/DomainResource"; -import type { Identifier } from "../hl7-fhir-r5-core/Identifier"; -import type { Reference } from "../hl7-fhir-r5-core/Reference"; - -import type { Element } from "../hl7-fhir-r5-core/Element"; -export type { Annotation } from "../hl7-fhir-r5-core/Annotation"; -export type { BackboneElement } from "../hl7-fhir-r5-core/BackboneElement"; -export type { CodeableConcept } from "../hl7-fhir-r5-core/CodeableConcept"; -export type { CodeableReference } from "../hl7-fhir-r5-core/CodeableReference"; -export type { Coding } from "../hl7-fhir-r5-core/Coding"; -export type { Identifier } from "../hl7-fhir-r5-core/Identifier"; -export type { Reference } from "../hl7-fhir-r5-core/Reference"; - -export interface ImagingStudySeries extends BackboneElement { - bodySite?: CodeableReference; - description?: string; - endpoint?: Reference<"Endpoint">[]; - instance?: ImagingStudySeriesInstance[]; - laterality?: CodeableConcept; - modality: CodeableConcept; - number?: number; - numberOfInstances?: number; - performer?: ImagingStudySeriesPerformer[]; - specimen?: Reference<"Specimen">[]; - started?: string; - uid: string; -} - -export interface ImagingStudySeriesInstance extends BackboneElement { - number?: number; - sopClass: Coding; - title?: string; - uid: string; -} - -export interface ImagingStudySeriesPerformer extends BackboneElement { - actor: Reference<"CareTeam" | "Device" | "HealthcareService" | "Organization" | "Patient" | "Practitioner" | "PractitionerRole" | "RelatedPerson">; - "function"?: CodeableConcept<("CON" | "VRF" | "PRF" | "SPRF" | "REF" | string)>; -} - -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/ImagingStudy (pkg: hl7.fhir.r5.core#5.0.0) -export interface ImagingStudy extends DomainResource { - resourceType: "ImagingStudy"; - - basedOn?: Reference<"Appointment" | "AppointmentResponse" | "CarePlan" | "ServiceRequest" | "Task">[]; - description?: string; - _description?: Element; - encounter?: Reference<"Encounter">; - endpoint?: Reference<"Endpoint">[]; - identifier?: Identifier[]; - location?: Reference<"Location">; - modality?: CodeableConcept[]; - note?: Annotation[]; - numberOfInstances?: number; - _numberOfInstances?: Element; - numberOfSeries?: number; - _numberOfSeries?: Element; - partOf?: Reference<"Procedure">[]; - procedure?: CodeableReference[]; - reason?: CodeableReference[]; - referrer?: Reference<"Practitioner" | "PractitionerRole">; - series?: ImagingStudySeries[]; - started?: string; - _started?: Element; - status: ("registered" | "available" | "cancelled" | "entered-in-error" | "unknown"); - _status?: Element; - subject: Reference<"Device" | "Group" | "Patient">; -} -export const isImagingStudy = (resource: unknown): resource is ImagingStudy => { - return resource !== null && typeof resource === "object" && (resource as {resourceType: string}).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 deleted file mode 100644 index 4d7316b75..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/Immunization.ts +++ /dev/null @@ -1,90 +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 { Annotation } from "../hl7-fhir-r5-core/Annotation"; -import type { BackboneElement } from "../hl7-fhir-r5-core/BackboneElement"; -import type { CodeableConcept } from "../hl7-fhir-r5-core/CodeableConcept"; -import type { CodeableReference } from "../hl7-fhir-r5-core/CodeableReference"; -import type { DomainResource } from "../hl7-fhir-r5-core/DomainResource"; -import type { Identifier } from "../hl7-fhir-r5-core/Identifier"; -import type { Quantity } from "../hl7-fhir-r5-core/Quantity"; -import type { Reference } from "../hl7-fhir-r5-core/Reference"; - -import type { Element } from "../hl7-fhir-r5-core/Element"; -export type { Annotation } from "../hl7-fhir-r5-core/Annotation"; -export type { BackboneElement } from "../hl7-fhir-r5-core/BackboneElement"; -export type { CodeableConcept } from "../hl7-fhir-r5-core/CodeableConcept"; -export type { CodeableReference } from "../hl7-fhir-r5-core/CodeableReference"; -export type { Identifier } from "../hl7-fhir-r5-core/Identifier"; -export type { Quantity } from "../hl7-fhir-r5-core/Quantity"; -export type { Reference } from "../hl7-fhir-r5-core/Reference"; - -export interface ImmunizationPerformer extends BackboneElement { - actor: Reference<"Organization" | "Patient" | "Practitioner" | "PractitionerRole" | "RelatedPerson">; - "function"?: CodeableConcept<("OP" | "AP" | string)>; -} - -export interface ImmunizationProgramEligibility extends BackboneElement { - program: CodeableConcept; - programStatus: CodeableConcept; -} - -export interface ImmunizationProtocolApplied extends BackboneElement { - authority?: Reference<"Organization">; - doseNumber: string; - series?: string; - seriesDoses?: string; - targetDisease?: CodeableConcept[]; -} - -export interface ImmunizationReaction extends BackboneElement { - date?: string; - manifestation?: CodeableReference; - reported?: boolean; -} - -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/Immunization (pkg: hl7.fhir.r5.core#5.0.0) -export interface Immunization extends DomainResource { - resourceType: "Immunization"; - - administeredProduct?: CodeableReference; - basedOn?: Reference<"CarePlan" | "ImmunizationRecommendation" | "MedicationRequest" | "ServiceRequest">[]; - doseQuantity?: Quantity; - encounter?: Reference<"Encounter">; - expirationDate?: string; - _expirationDate?: Element; - fundingSource?: CodeableConcept; - identifier?: Identifier[]; - informationSource?: CodeableReference; - isSubpotent?: boolean; - _isSubpotent?: Element; - location?: Reference<"Location">; - lotNumber?: string; - _lotNumber?: Element; - manufacturer?: CodeableReference; - note?: Annotation[]; - occurrenceDateTime?: string; - _occurrenceDateTime?: Element; - occurrenceString?: string; - _occurrenceString?: Element; - patient: Reference<"Patient">; - performer?: ImmunizationPerformer[]; - primarySource?: boolean; - _primarySource?: Element; - programEligibility?: ImmunizationProgramEligibility[]; - protocolApplied?: ImmunizationProtocolApplied[]; - reaction?: ImmunizationReaction[]; - reason?: CodeableReference[]; - route?: CodeableConcept; - site?: CodeableConcept; - status: ("completed" | "entered-in-error" | "not-done"); - _status?: Element; - statusReason?: CodeableConcept; - subpotentReason?: CodeableConcept[]; - supportingInformation?: Reference<"Resource">[]; - vaccineCode: CodeableConcept; -} -export const isImmunization = (resource: unknown): resource is Immunization => { - return resource !== null && typeof resource === "object" && (resource as {resourceType: string}).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 deleted file mode 100644 index d252bf3df..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/ImmunizationEvaluation.ts +++ /dev/null @@ -1,41 +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 { DomainResource } from "../hl7-fhir-r5-core/DomainResource"; -import type { Identifier } from "../hl7-fhir-r5-core/Identifier"; -import type { Reference } from "../hl7-fhir-r5-core/Reference"; - -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"; -export type { Reference } from "../hl7-fhir-r5-core/Reference"; - -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/ImmunizationEvaluation (pkg: hl7.fhir.r5.core#5.0.0) -export interface ImmunizationEvaluation extends DomainResource { - resourceType: "ImmunizationEvaluation"; - - authority?: Reference<"Organization">; - date?: string; - _date?: Element; - description?: string; - _description?: Element; - doseNumber?: string; - _doseNumber?: Element; - doseStatus: CodeableConcept; - doseStatusReason?: CodeableConcept[]; - identifier?: Identifier[]; - immunizationEvent: Reference<"Immunization">; - patient: Reference<"Patient">; - series?: string; - _series?: Element; - seriesDoses?: string; - _seriesDoses?: Element; - status: ("completed" | "entered-in-error"); - _status?: Element; - targetDisease: CodeableConcept; -} -export const isImmunizationEvaluation = (resource: unknown): resource is ImmunizationEvaluation => { - return resource !== null && typeof resource === "object" && (resource as {resourceType: string}).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 deleted file mode 100644 index 3b5339d5b..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/ImmunizationRecommendation.ts +++ /dev/null @@ -1,50 +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 { BackboneElement } from "../hl7-fhir-r5-core/BackboneElement"; -import type { CodeableConcept } from "../hl7-fhir-r5-core/CodeableConcept"; -import type { DomainResource } from "../hl7-fhir-r5-core/DomainResource"; -import type { Identifier } from "../hl7-fhir-r5-core/Identifier"; -import type { Reference } from "../hl7-fhir-r5-core/Reference"; - -import type { Element } from "../hl7-fhir-r5-core/Element"; -export type { BackboneElement } from "../hl7-fhir-r5-core/BackboneElement"; -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"; - -export interface ImmunizationRecommendationRecommendation extends BackboneElement { - contraindicatedVaccineCode?: CodeableConcept[]; - dateCriterion?: ImmunizationRecommendationRecommendationDateCriterion[]; - description?: string; - doseNumber?: string; - forecastReason?: CodeableConcept[]; - forecastStatus: CodeableConcept; - series?: string; - seriesDoses?: string; - supportingImmunization?: Reference<"Immunization" | "ImmunizationEvaluation">[]; - supportingPatientInformation?: Reference<"Resource">[]; - targetDisease?: CodeableConcept[]; - vaccineCode?: CodeableConcept[]; -} - -export interface ImmunizationRecommendationRecommendationDateCriterion extends BackboneElement { - code: CodeableConcept; - value: string; -} - -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/ImmunizationRecommendation (pkg: hl7.fhir.r5.core#5.0.0) -export interface ImmunizationRecommendation extends DomainResource { - resourceType: "ImmunizationRecommendation"; - - authority?: Reference<"Organization">; - date: string; - _date?: Element; - identifier?: Identifier[]; - patient: Reference<"Patient">; - recommendation: ImmunizationRecommendationRecommendation[]; -} -export const isImmunizationRecommendation = (resource: unknown): resource is ImmunizationRecommendation => { - return resource !== null && typeof resource === "object" && (resource as {resourceType: string}).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 deleted file mode 100644 index fa4c6b76c..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/ImplementationGuide.ts +++ /dev/null @@ -1,148 +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 { BackboneElement } from "../hl7-fhir-r5-core/BackboneElement"; -import type { CodeableConcept } from "../hl7-fhir-r5-core/CodeableConcept"; -import type { Coding } from "../hl7-fhir-r5-core/Coding"; -import type { ContactDetail } from "../hl7-fhir-r5-core/ContactDetail"; -import type { DomainResource } from "../hl7-fhir-r5-core/DomainResource"; -import type { Identifier } from "../hl7-fhir-r5-core/Identifier"; -import type { Reference } from "../hl7-fhir-r5-core/Reference"; -import type { UsageContext } from "../hl7-fhir-r5-core/UsageContext"; - -import type { Element } from "../hl7-fhir-r5-core/Element"; -export type { BackboneElement } from "../hl7-fhir-r5-core/BackboneElement"; -export type { CodeableConcept } from "../hl7-fhir-r5-core/CodeableConcept"; -export type { Coding } from "../hl7-fhir-r5-core/Coding"; -export type { ContactDetail } from "../hl7-fhir-r5-core/ContactDetail"; -export type { Identifier } from "../hl7-fhir-r5-core/Identifier"; -export type { Reference } from "../hl7-fhir-r5-core/Reference"; -export type { UsageContext } from "../hl7-fhir-r5-core/UsageContext"; - -export interface ImplementationGuideDefinition extends BackboneElement { - grouping?: ImplementationGuideDefinitionGrouping[]; - page?: ImplementationGuideDefinitionPage; - parameter?: ImplementationGuideDefinitionParameter[]; - resource?: ImplementationGuideDefinitionResource[]; - template?: ImplementationGuideDefinitionTemplate[]; -} - -export interface ImplementationGuideDefinitionGrouping extends BackboneElement { - description?: string; - name: string; -} - -export interface ImplementationGuideDefinitionPage extends BackboneElement { - generation: ("html" | "markdown" | "xml" | "generated"); - name: string; - page?: ImplementationGuideDefinitionPage[]; - sourceMarkdown?: string; - sourceString?: string; - sourceUrl?: string; - title: string; -} - -export interface ImplementationGuideDefinitionParameter extends BackboneElement { - 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; -} - -export interface ImplementationGuideDefinitionResource extends BackboneElement { - description?: string; - 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")[]; - groupingId?: string; - isExample?: boolean; - name?: string; - profile?: string[]; - reference: Reference<"Resource">; -} - -export interface ImplementationGuideDefinitionTemplate extends BackboneElement { - code: string; - scope?: string; - source: string; -} - -export interface ImplementationGuideDependsOn extends BackboneElement { - packageId?: string; - reason?: string; - uri: string; - version?: string; -} - -export interface ImplementationGuideGlobal extends BackboneElement { - profile: string; - type: string; -} - -export interface ImplementationGuideManifest extends BackboneElement { - image?: string[]; - other?: string[]; - page?: ImplementationGuideManifestPage[]; - rendering?: string; - resource: ImplementationGuideManifestResource[]; -} - -export interface ImplementationGuideManifestPage extends BackboneElement { - anchor?: string[]; - name: string; - title?: string; -} - -export interface ImplementationGuideManifestResource extends BackboneElement { - isExample?: boolean; - profile?: string[]; - reference: Reference<"Resource">; - relativePath?: string; -} - -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/ImplementationGuide (pkg: hl7.fhir.r5.core#5.0.0) -export interface ImplementationGuide extends DomainResource { - resourceType: "ImplementationGuide"; - - contact?: ContactDetail[]; - copyright?: string; - _copyright?: Element; - copyrightLabel?: string; - _copyrightLabel?: Element; - date?: string; - _date?: Element; - definition?: ImplementationGuideDefinition; - dependsOn?: ImplementationGuideDependsOn[]; - description?: string; - _description?: Element; - 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 | null)[]; - global?: ImplementationGuideGlobal[]; - identifier?: Identifier[]; - jurisdiction?: CodeableConcept[]; - license?: string; - _license?: Element; - manifest?: ImplementationGuideManifest; - name: string; - _name?: Element; - packageId: string; - _packageId?: Element; - publisher?: string; - _publisher?: Element; - purpose?: string; - _purpose?: Element; - status: ("draft" | "active" | "retired" | "unknown"); - _status?: Element; - title?: string; - _title?: Element; - url: string; - _url?: Element; - useContext?: UsageContext[]; - version?: string; - _version?: Element; - versionAlgorithmCoding?: Coding; - versionAlgorithmString?: string; - _versionAlgorithmString?: Element; -} -export const isImplementationGuide = (resource: unknown): resource is ImplementationGuide => { - return resource !== null && typeof resource === "object" && (resource as {resourceType: string}).resourceType === "ImplementationGuide"; -} 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 deleted file mode 100644 index 67046e9bd..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/Ingredient.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 { BackboneElement } from "../hl7-fhir-r5-core/BackboneElement"; -import type { CodeableConcept } from "../hl7-fhir-r5-core/CodeableConcept"; -import type { CodeableReference } from "../hl7-fhir-r5-core/CodeableReference"; -import type { DomainResource } from "../hl7-fhir-r5-core/DomainResource"; -import type { Identifier } from "../hl7-fhir-r5-core/Identifier"; -import type { Quantity } from "../hl7-fhir-r5-core/Quantity"; -import type { Ratio } from "../hl7-fhir-r5-core/Ratio"; -import type { RatioRange } from "../hl7-fhir-r5-core/RatioRange"; -import type { Reference } from "../hl7-fhir-r5-core/Reference"; - -import type { Element } from "../hl7-fhir-r5-core/Element"; -export type { BackboneElement } from "../hl7-fhir-r5-core/BackboneElement"; -export type { CodeableConcept } from "../hl7-fhir-r5-core/CodeableConcept"; -export type { CodeableReference } from "../hl7-fhir-r5-core/CodeableReference"; -export type { Identifier } from "../hl7-fhir-r5-core/Identifier"; -export type { Quantity } from "../hl7-fhir-r5-core/Quantity"; -export type { Ratio } from "../hl7-fhir-r5-core/Ratio"; -export type { RatioRange } from "../hl7-fhir-r5-core/RatioRange"; -export type { Reference } from "../hl7-fhir-r5-core/Reference"; - -export interface IngredientManufacturer extends BackboneElement { - manufacturer: Reference<"Organization">; - role?: string; -} - -export interface IngredientSubstance extends BackboneElement { - code: CodeableReference; - strength?: IngredientSubstanceStrength[]; -} - -export interface IngredientSubstanceStrength extends BackboneElement { - basis?: CodeableConcept; - concentrationCodeableConcept?: CodeableConcept; - concentrationQuantity?: Quantity; - concentrationRatio?: Ratio; - concentrationRatioRange?: RatioRange; - country?: CodeableConcept[]; - measurementPoint?: string; - presentationCodeableConcept?: CodeableConcept; - presentationQuantity?: Quantity; - presentationRatio?: Ratio; - presentationRatioRange?: RatioRange; - referenceStrength?: IngredientSubstanceStrengthReferenceStrength[]; - textConcentration?: string; - textPresentation?: string; -} - -export interface IngredientSubstanceStrengthReferenceStrength extends BackboneElement { - country?: CodeableConcept[]; - measurementPoint?: string; - strengthQuantity?: Quantity; - strengthRatio?: Ratio; - strengthRatioRange?: RatioRange; - substance: CodeableReference; -} - -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/Ingredient (pkg: hl7.fhir.r5.core#5.0.0) -export interface Ingredient extends DomainResource { - resourceType: "Ingredient"; - - allergenicIndicator?: boolean; - _allergenicIndicator?: Element; - comment?: string; - _comment?: Element; - "for"?: Reference<"AdministrableProductDefinition" | "ManufacturedItemDefinition" | "MedicinalProductDefinition">[]; - "function"?: CodeableConcept[]; - group?: CodeableConcept; - identifier?: Identifier; - manufacturer?: IngredientManufacturer[]; - role: CodeableConcept; - status: ("draft" | "active" | "retired" | "unknown"); - _status?: Element; - substance: IngredientSubstance; -} -export const isIngredient = (resource: unknown): resource is Ingredient => { - return resource !== null && typeof resource === "object" && (resource as {resourceType: string}).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 deleted file mode 100644 index d0a354d0a..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/InsurancePlan.ts +++ /dev/null @@ -1,99 +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 { BackboneElement } from "../hl7-fhir-r5-core/BackboneElement"; -import type { CodeableConcept } from "../hl7-fhir-r5-core/CodeableConcept"; -import type { DomainResource } from "../hl7-fhir-r5-core/DomainResource"; -import type { ExtendedContactDetail } from "../hl7-fhir-r5-core/ExtendedContactDetail"; -import type { Identifier } from "../hl7-fhir-r5-core/Identifier"; -import type { Money } from "../hl7-fhir-r5-core/Money"; -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"; - -import type { Element } from "../hl7-fhir-r5-core/Element"; -export type { BackboneElement } from "../hl7-fhir-r5-core/BackboneElement"; -export type { CodeableConcept } from "../hl7-fhir-r5-core/CodeableConcept"; -export type { ExtendedContactDetail } from "../hl7-fhir-r5-core/ExtendedContactDetail"; -export type { Identifier } from "../hl7-fhir-r5-core/Identifier"; -export type { Money } from "../hl7-fhir-r5-core/Money"; -export type { Period } from "../hl7-fhir-r5-core/Period"; -export type { Quantity } from "../hl7-fhir-r5-core/Quantity"; -export type { Reference } from "../hl7-fhir-r5-core/Reference"; - -export interface InsurancePlanCoverage extends BackboneElement { - benefit: InsurancePlanCoverageBenefit[]; - network?: Reference<"Organization">[]; - type: CodeableConcept; -} - -export interface InsurancePlanCoverageBenefit extends BackboneElement { - limit?: InsurancePlanCoverageBenefitLimit[]; - requirement?: string; - type: CodeableConcept; -} - -export interface InsurancePlanCoverageBenefitLimit extends BackboneElement { - code?: CodeableConcept; - value?: Quantity; -} - -export interface InsurancePlanPlan extends BackboneElement { - coverageArea?: Reference<"Location">[]; - generalCost?: InsurancePlanPlanGeneralCost[]; - identifier?: Identifier[]; - network?: Reference<"Organization">[]; - specificCost?: InsurancePlanPlanSpecificCost[]; - type?: CodeableConcept; -} - -export interface InsurancePlanPlanGeneralCost extends BackboneElement { - comment?: string; - cost?: Money; - groupSize?: number; - type?: CodeableConcept; -} - -export interface InsurancePlanPlanSpecificCost extends BackboneElement { - benefit?: InsurancePlanPlanSpecificCostBenefit[]; - category: CodeableConcept; -} - -export interface InsurancePlanPlanSpecificCostBenefit extends BackboneElement { - cost?: InsurancePlanPlanSpecificCostBenefitCost[]; - type: CodeableConcept; -} - -export interface InsurancePlanPlanSpecificCostBenefitCost extends BackboneElement { - applicability?: CodeableConcept<("in-network" | "out-of-network" | "other")>; - qualifiers?: CodeableConcept[]; - type: CodeableConcept; - value?: Quantity; -} - -// 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 | null)[]; - contact?: ExtendedContactDetail[]; - coverage?: InsurancePlanCoverage[]; - coverageArea?: Reference<"Location">[]; - endpoint?: Reference<"Endpoint">[]; - identifier?: Identifier[]; - name?: string; - _name?: Element; - network?: Reference<"Organization">[]; - ownedBy?: Reference<"Organization">; - period?: Period; - plan?: InsurancePlanPlan[]; - status?: ("draft" | "active" | "retired" | "unknown"); - _status?: Element; - type?: CodeableConcept[]; -} -export const isInsurancePlan = (resource: unknown): resource is InsurancePlan => { - return resource !== null && typeof resource === "object" && (resource as {resourceType: string}).resourceType === "InsurancePlan"; -} 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 deleted file mode 100644 index 81d67b57b..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/InventoryItem.ts +++ /dev/null @@ -1,100 +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 { Address } from "../hl7-fhir-r5-core/Address"; -import type { Annotation } from "../hl7-fhir-r5-core/Annotation"; -import type { BackboneElement } from "../hl7-fhir-r5-core/BackboneElement"; -import type { CodeableConcept } from "../hl7-fhir-r5-core/CodeableConcept"; -import type { Coding } from "../hl7-fhir-r5-core/Coding"; -import type { DomainResource } from "../hl7-fhir-r5-core/DomainResource"; -import type { Duration } from "../hl7-fhir-r5-core/Duration"; -import type { Identifier } from "../hl7-fhir-r5-core/Identifier"; -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 { Element } from "../hl7-fhir-r5-core/Element"; -export type { Address } from "../hl7-fhir-r5-core/Address"; -export type { Annotation } from "../hl7-fhir-r5-core/Annotation"; -export type { BackboneElement } from "../hl7-fhir-r5-core/BackboneElement"; -export type { CodeableConcept } from "../hl7-fhir-r5-core/CodeableConcept"; -export type { Coding } from "../hl7-fhir-r5-core/Coding"; -export type { Duration } from "../hl7-fhir-r5-core/Duration"; -export type { Identifier } from "../hl7-fhir-r5-core/Identifier"; -export type { Quantity } from "../hl7-fhir-r5-core/Quantity"; -export type { Range } from "../hl7-fhir-r5-core/Range"; -export type { Ratio } from "../hl7-fhir-r5-core/Ratio"; -export type { Reference } from "../hl7-fhir-r5-core/Reference"; - -export interface InventoryItemAssociation extends BackboneElement { - associationType: CodeableConcept; - quantity: Ratio; - relatedItem: Reference<"BiologicallyDerivedProduct" | "Device" | "DeviceDefinition" | "InventoryItem" | "Medication" | "MedicationKnowledge" | "NutritionProduct">; -} - -export interface InventoryItemCharacteristic extends BackboneElement { - characteristicType: CodeableConcept; - valueAddress?: Address; - valueAnnotation?: Annotation; - valueBoolean?: boolean; - valueCodeableConcept?: CodeableConcept; - valueDateTime?: string; - valueDecimal?: number; - valueDuration?: Duration; - valueInteger?: number; - valueQuantity?: Quantity; - valueRange?: Range; - valueRatio?: Ratio; - valueString?: string; - valueUrl?: string; -} - -export interface InventoryItemDescription extends BackboneElement { - description?: string; - language?: ("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"); -} - -export interface InventoryItemInstance extends BackboneElement { - expiry?: string; - identifier?: Identifier[]; - location?: Reference<"Location">; - lotNumber?: string; - subject?: Reference<"Organization" | "Patient">; -} - -export interface InventoryItemName extends BackboneElement { - language: ("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"); - name: string; - nameType: Coding; -} - -export interface InventoryItemResponsibleOrganization extends BackboneElement { - organization: Reference<"Organization">; - role: CodeableConcept; -} - -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/InventoryItem (pkg: hl7.fhir.r5.core#5.0.0) -export interface InventoryItem extends DomainResource { - resourceType: "InventoryItem"; - - association?: InventoryItemAssociation[]; - baseUnit?: CodeableConcept; - category?: CodeableConcept[]; - characteristic?: InventoryItemCharacteristic[]; - code?: CodeableConcept[]; - description?: InventoryItemDescription; - identifier?: Identifier[]; - instance?: InventoryItemInstance; - inventoryStatus?: CodeableConcept[]; - name?: InventoryItemName[]; - netContent?: Quantity; - productReference?: Reference<"BiologicallyDerivedProduct" | "Device" | "Medication" | "NutritionProduct">; - responsibleOrganization?: InventoryItemResponsibleOrganization[]; - status: string; - _status?: Element; -} -export const isInventoryItem = (resource: unknown): resource is InventoryItem => { - return resource !== null && typeof resource === "object" && (resource as {resourceType: string}).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 deleted file mode 100644 index 9510ceba8..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/InventoryReport.ts +++ /dev/null @@ -1,58 +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 { Annotation } from "../hl7-fhir-r5-core/Annotation"; -import type { BackboneElement } from "../hl7-fhir-r5-core/BackboneElement"; -import type { CodeableConcept } from "../hl7-fhir-r5-core/CodeableConcept"; -import type { CodeableReference } from "../hl7-fhir-r5-core/CodeableReference"; -import type { DomainResource } from "../hl7-fhir-r5-core/DomainResource"; -import type { Identifier } from "../hl7-fhir-r5-core/Identifier"; -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"; - -import type { Element } from "../hl7-fhir-r5-core/Element"; -export type { Annotation } from "../hl7-fhir-r5-core/Annotation"; -export type { BackboneElement } from "../hl7-fhir-r5-core/BackboneElement"; -export type { CodeableConcept } from "../hl7-fhir-r5-core/CodeableConcept"; -export type { CodeableReference } from "../hl7-fhir-r5-core/CodeableReference"; -export type { Identifier } from "../hl7-fhir-r5-core/Identifier"; -export type { Period } from "../hl7-fhir-r5-core/Period"; -export type { Quantity } from "../hl7-fhir-r5-core/Quantity"; -export type { Reference } from "../hl7-fhir-r5-core/Reference"; - -export interface InventoryReportInventoryListing extends BackboneElement { - countingDateTime?: string; - item?: InventoryReportInventoryListingItem[]; - itemStatus?: CodeableConcept; - location?: Reference<"Location">; -} - -export interface InventoryReportInventoryListingItem extends BackboneElement { - category?: CodeableConcept; - item: CodeableReference; - quantity: Quantity; -} - -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/InventoryReport (pkg: hl7.fhir.r5.core#5.0.0) -export interface InventoryReport extends DomainResource { - resourceType: "InventoryReport"; - - countType: string; - _countType?: Element; - identifier?: Identifier[]; - inventoryListing?: InventoryReportInventoryListing[]; - note?: Annotation[]; - operationType?: CodeableConcept; - operationTypeReason?: CodeableConcept; - reportedDateTime: string; - _reportedDateTime?: Element; - reporter?: Reference<"Device" | "Patient" | "Practitioner" | "RelatedPerson">; - reportingPeriod?: Period; - status: string; - _status?: Element; -} -export const isInventoryReport = (resource: unknown): resource is InventoryReport => { - return resource !== null && typeof resource === "object" && (resource as {resourceType: string}).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 deleted file mode 100644 index 4931dabed..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/Invoice.ts +++ /dev/null @@ -1,71 +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 { Annotation } from "../hl7-fhir-r5-core/Annotation"; -import type { BackboneElement } from "../hl7-fhir-r5-core/BackboneElement"; -import type { CodeableConcept } from "../hl7-fhir-r5-core/CodeableConcept"; -import type { DomainResource } from "../hl7-fhir-r5-core/DomainResource"; -import type { Identifier } from "../hl7-fhir-r5-core/Identifier"; -import type { MonetaryComponent } from "../hl7-fhir-r5-core/MonetaryComponent"; -import type { Money } from "../hl7-fhir-r5-core/Money"; -import type { Period } from "../hl7-fhir-r5-core/Period"; -import type { Reference } from "../hl7-fhir-r5-core/Reference"; - -import type { Element } from "../hl7-fhir-r5-core/Element"; -export type { Annotation } from "../hl7-fhir-r5-core/Annotation"; -export type { BackboneElement } from "../hl7-fhir-r5-core/BackboneElement"; -export type { CodeableConcept } from "../hl7-fhir-r5-core/CodeableConcept"; -export type { Identifier } from "../hl7-fhir-r5-core/Identifier"; -export type { MonetaryComponent } from "../hl7-fhir-r5-core/MonetaryComponent"; -export type { Money } from "../hl7-fhir-r5-core/Money"; -export type { Period } from "../hl7-fhir-r5-core/Period"; -export type { Reference } from "../hl7-fhir-r5-core/Reference"; - -export interface InvoiceLineItem extends BackboneElement { - chargeItemCodeableConcept?: CodeableConcept; - chargeItemReference?: Reference<"ChargeItem">; - priceComponent?: MonetaryComponent[]; - sequence?: number; - servicedDate?: string; - servicedPeriod?: Period; -} - -export interface InvoiceParticipant extends BackboneElement { - actor: Reference<"Device" | "Organization" | "Patient" | "Practitioner" | "PractitionerRole" | "RelatedPerson">; - role?: CodeableConcept; -} - -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/Invoice (pkg: hl7.fhir.r5.core#5.0.0) -export interface Invoice extends DomainResource { - resourceType: "Invoice"; - - account?: Reference<"Account">; - cancelledReason?: string; - _cancelledReason?: Element; - creation?: string; - _creation?: Element; - date?: string; - _date?: Element; - identifier?: Identifier[]; - issuer?: Reference<"Organization">; - lineItem?: InvoiceLineItem[]; - note?: Annotation[]; - participant?: InvoiceParticipant[]; - paymentTerms?: string; - _paymentTerms?: Element; - periodDate?: string; - _periodDate?: Element; - periodPeriod?: Period; - recipient?: Reference<"Organization" | "Patient" | "RelatedPerson">; - status: ("draft" | "issued" | "balanced" | "cancelled" | "entered-in-error"); - _status?: Element; - subject?: Reference<"Group" | "Patient">; - totalGross?: Money; - totalNet?: Money; - totalPriceComponent?: MonetaryComponent[]; - type?: CodeableConcept; -} -export const isInvoice = (resource: unknown): resource is Invoice => { - return resource !== null && typeof resource === "object" && (resource as {resourceType: string}).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 deleted file mode 100644 index 49e1bcff3..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/Library.ts +++ /dev/null @@ -1,90 +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 { CodeableConcept } from "../hl7-fhir-r5-core/CodeableConcept"; -import type { Coding } from "../hl7-fhir-r5-core/Coding"; -import type { ContactDetail } from "../hl7-fhir-r5-core/ContactDetail"; -import type { DataRequirement } from "../hl7-fhir-r5-core/DataRequirement"; -import type { DomainResource } from "../hl7-fhir-r5-core/DomainResource"; -import type { Identifier } from "../hl7-fhir-r5-core/Identifier"; -import type { ParameterDefinition } from "../hl7-fhir-r5-core/ParameterDefinition"; -import type { Period } from "../hl7-fhir-r5-core/Period"; -import type { Reference } from "../hl7-fhir-r5-core/Reference"; -import type { RelatedArtifact } from "../hl7-fhir-r5-core/RelatedArtifact"; -import type { UsageContext } from "../hl7-fhir-r5-core/UsageContext"; - -import type { Element } from "../hl7-fhir-r5-core/Element"; -export type { Attachment } from "../hl7-fhir-r5-core/Attachment"; -export type { CodeableConcept } from "../hl7-fhir-r5-core/CodeableConcept"; -export type { Coding } from "../hl7-fhir-r5-core/Coding"; -export type { ContactDetail } from "../hl7-fhir-r5-core/ContactDetail"; -export type { DataRequirement } from "../hl7-fhir-r5-core/DataRequirement"; -export type { Identifier } from "../hl7-fhir-r5-core/Identifier"; -export type { ParameterDefinition } from "../hl7-fhir-r5-core/ParameterDefinition"; -export type { Period } from "../hl7-fhir-r5-core/Period"; -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 (pkg: hl7.fhir.r5.core#5.0.0) -export interface Library extends DomainResource { - resourceType: "Library"; - - approvalDate?: string; - _approvalDate?: Element; - author?: ContactDetail[]; - contact?: ContactDetail[]; - content?: Attachment[]; - copyright?: string; - _copyright?: Element; - copyrightLabel?: string; - _copyrightLabel?: Element; - dataRequirement?: DataRequirement[]; - date?: string; - _date?: Element; - description?: string; - _description?: Element; - editor?: ContactDetail[]; - effectivePeriod?: Period; - endorser?: ContactDetail[]; - experimental?: boolean; - _experimental?: Element; - identifier?: Identifier[]; - jurisdiction?: CodeableConcept[]; - lastReviewDate?: string; - _lastReviewDate?: Element; - name?: string; - _name?: Element; - parameter?: ParameterDefinition[]; - publisher?: string; - _publisher?: Element; - purpose?: string; - _purpose?: Element; - relatedArtifact?: RelatedArtifact[]; - reviewer?: ContactDetail[]; - status: ("draft" | "active" | "retired" | "unknown"); - _status?: Element; - subjectCodeableConcept?: CodeableConcept; - subjectReference?: Reference<"Group">; - subtitle?: string; - _subtitle?: Element; - title?: string; - _title?: Element; - topic?: CodeableConcept[]; - type: CodeableConcept<("logic-library" | "model-definition" | "asset-collection" | "module-definition" | string)>; - url?: string; - _url?: Element; - usage?: string; - _usage?: Element; - useContext?: UsageContext[]; - version?: string; - _version?: Element; - versionAlgorithmCoding?: Coding; - versionAlgorithmString?: string; - _versionAlgorithmString?: Element; -} -export const isLibrary = (resource: unknown): resource is Library => { - return resource !== null && typeof resource === "object" && (resource as {resourceType: string}).resourceType === "Library"; -} 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 deleted file mode 100644 index 23ec2f9ac..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/Linkage.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 { BackboneElement } from "../hl7-fhir-r5-core/BackboneElement"; -import type { DomainResource } from "../hl7-fhir-r5-core/DomainResource"; -import type { Reference } from "../hl7-fhir-r5-core/Reference"; - -import type { Element } from "../hl7-fhir-r5-core/Element"; -export type { BackboneElement } from "../hl7-fhir-r5-core/BackboneElement"; -export type { Reference } from "../hl7-fhir-r5-core/Reference"; - -export interface LinkageItem extends BackboneElement { - resource: Reference<"Resource">; - type: ("source" | "alternate" | "historical"); -} - -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/Linkage (pkg: hl7.fhir.r5.core#5.0.0) -export interface Linkage extends DomainResource { - resourceType: "Linkage"; - - active?: boolean; - _active?: Element; - author?: Reference<"Organization" | "Practitioner" | "PractitionerRole">; - item: LinkageItem[]; -} -export const isLinkage = (resource: unknown): resource is Linkage => { - return resource !== null && typeof resource === "object" && (resource as {resourceType: string}).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 deleted file mode 100644 index 065722c70..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/List.ts +++ /dev/null @@ -1,50 +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 { Annotation } from "../hl7-fhir-r5-core/Annotation"; -import type { BackboneElement } from "../hl7-fhir-r5-core/BackboneElement"; -import type { CodeableConcept } from "../hl7-fhir-r5-core/CodeableConcept"; -import type { DomainResource } from "../hl7-fhir-r5-core/DomainResource"; -import type { Identifier } from "../hl7-fhir-r5-core/Identifier"; -import type { Reference } from "../hl7-fhir-r5-core/Reference"; - -import type { Element } from "../hl7-fhir-r5-core/Element"; -export type { Annotation } from "../hl7-fhir-r5-core/Annotation"; -export type { BackboneElement } from "../hl7-fhir-r5-core/BackboneElement"; -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"; - -export interface ListEntry extends BackboneElement { - date?: string; - deleted?: boolean; - flag?: CodeableConcept; - item: Reference<"Resource">; -} - -// 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<("nilknown" | "notasked" | "withheld" | "unavailable" | "notstarted" | "closed" | string)>; - encounter?: Reference<"Encounter">; - entry?: ListEntry[]; - identifier?: Identifier[]; - mode: ("working" | "snapshot" | "changes"); - _mode?: Element; - note?: Annotation[]; - 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; - subject?: Reference<"Resource">[]; - title?: string; - _title?: Element; -} -export const isList = (resource: unknown): resource is List => { - return resource !== null && typeof resource === "object" && (resource as {resourceType: string}).resourceType === "List"; -} 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 deleted file mode 100644 index 3b093e4d4..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/Location.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 { Address } from "../hl7-fhir-r5-core/Address"; -import type { Availability } from "../hl7-fhir-r5-core/Availability"; -import type { BackboneElement } from "../hl7-fhir-r5-core/BackboneElement"; -import type { CodeableConcept } from "../hl7-fhir-r5-core/CodeableConcept"; -import type { Coding } from "../hl7-fhir-r5-core/Coding"; -import type { DomainResource } from "../hl7-fhir-r5-core/DomainResource"; -import type { ExtendedContactDetail } from "../hl7-fhir-r5-core/ExtendedContactDetail"; -import type { Identifier } from "../hl7-fhir-r5-core/Identifier"; -import type { Reference } from "../hl7-fhir-r5-core/Reference"; -import type { VirtualServiceDetail } from "../hl7-fhir-r5-core/VirtualServiceDetail"; - -import type { Element } from "../hl7-fhir-r5-core/Element"; -export type { Address } from "../hl7-fhir-r5-core/Address"; -export type { Availability } from "../hl7-fhir-r5-core/Availability"; -export type { BackboneElement } from "../hl7-fhir-r5-core/BackboneElement"; -export type { CodeableConcept } from "../hl7-fhir-r5-core/CodeableConcept"; -export type { Coding } from "../hl7-fhir-r5-core/Coding"; -export type { ExtendedContactDetail } from "../hl7-fhir-r5-core/ExtendedContactDetail"; -export type { Identifier } from "../hl7-fhir-r5-core/Identifier"; -export type { Reference } from "../hl7-fhir-r5-core/Reference"; -export type { VirtualServiceDetail } from "../hl7-fhir-r5-core/VirtualServiceDetail"; - -export interface LocationPosition extends BackboneElement { - altitude?: number; - latitude: number; - longitude: number; -} - -// 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 | null)[]; - characteristic?: CodeableConcept[]; - contact?: ExtendedContactDetail[]; - description?: string; - _description?: Element; - endpoint?: Reference<"Endpoint">[]; - form?: CodeableConcept; - hoursOfOperation?: Availability[]; - identifier?: Identifier[]; - managingOrganization?: Reference<"Organization">; - mode?: ("instance" | "kind"); - _mode?: Element; - name?: string; - _name?: Element; - operationalStatus?: Coding<("C" | "H" | "I" | "K" | "O" | "U" | string)>; - partOf?: Reference<"Location">; - position?: LocationPosition; - status?: ("active" | "suspended" | "inactive"); - _status?: Element; - type?: CodeableConcept[]; - virtualService?: VirtualServiceDetail[]; -} -export const isLocation = (resource: unknown): resource is Location => { - return resource !== null && typeof resource === "object" && (resource as {resourceType: string}).resourceType === "Location"; -} 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 deleted file mode 100644 index 3479f7116..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/ManufacturedItemDefinition.ts +++ /dev/null @@ -1,71 +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 { BackboneElement } from "../hl7-fhir-r5-core/BackboneElement"; -import type { CodeableConcept } from "../hl7-fhir-r5-core/CodeableConcept"; -import type { CodeableReference } from "../hl7-fhir-r5-core/CodeableReference"; -import type { DomainResource } from "../hl7-fhir-r5-core/DomainResource"; -import type { Identifier } from "../hl7-fhir-r5-core/Identifier"; -import type { MarketingStatus } from "../hl7-fhir-r5-core/MarketingStatus"; -import type { Quantity } from "../hl7-fhir-r5-core/Quantity"; -import type { Reference } from "../hl7-fhir-r5-core/Reference"; - -import type { Element } from "../hl7-fhir-r5-core/Element"; -export type { Attachment } from "../hl7-fhir-r5-core/Attachment"; -export type { BackboneElement } from "../hl7-fhir-r5-core/BackboneElement"; -export type { CodeableConcept } from "../hl7-fhir-r5-core/CodeableConcept"; -export type { CodeableReference } from "../hl7-fhir-r5-core/CodeableReference"; -export type { Identifier } from "../hl7-fhir-r5-core/Identifier"; -export type { MarketingStatus } from "../hl7-fhir-r5-core/MarketingStatus"; -export type { Quantity } from "../hl7-fhir-r5-core/Quantity"; -export type { Reference } from "../hl7-fhir-r5-core/Reference"; - -export interface ManufacturedItemDefinitionComponent extends BackboneElement { - amount?: Quantity[]; - component?: ManufacturedItemDefinitionComponent[]; - constituent?: ManufacturedItemDefinitionComponentConstituent[]; - "function"?: CodeableConcept[]; - property?: ManufacturedItemDefinitionProperty[]; - type: CodeableConcept; -} - -export interface ManufacturedItemDefinitionComponentConstituent extends BackboneElement { - amount?: Quantity[]; - "function"?: CodeableConcept[]; - hasIngredient?: CodeableReference[]; - location?: CodeableConcept[]; -} - -export interface ManufacturedItemDefinitionProperty extends BackboneElement { - type: CodeableConcept; - valueAttachment?: Attachment; - valueBoolean?: boolean; - valueCodeableConcept?: CodeableConcept; - valueDate?: string; - valueMarkdown?: string; - valueQuantity?: Quantity; - valueReference?: Reference<"Binary">; -} - -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/ManufacturedItemDefinition (pkg: hl7.fhir.r5.core#5.0.0) -export interface ManufacturedItemDefinition extends DomainResource { - resourceType: "ManufacturedItemDefinition"; - - component?: ManufacturedItemDefinitionComponent[]; - identifier?: Identifier[]; - ingredient?: CodeableConcept[]; - manufacturedDoseForm: CodeableConcept; - manufacturer?: Reference<"Organization">[]; - marketingStatus?: MarketingStatus[]; - name?: string; - _name?: Element; - property?: ManufacturedItemDefinitionProperty[]; - status: ("draft" | "active" | "retired" | "unknown"); - _status?: Element; - unitOfPresentation?: CodeableConcept; -} -export const isManufacturedItemDefinition = (resource: unknown): resource is ManufacturedItemDefinition => { - return resource !== null && typeof resource === "object" && (resource as {resourceType: string}).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 deleted file mode 100644 index 180c28139..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/MarketingStatus.ts +++ /dev/null @@ -1,22 +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 { BackboneType } from "../hl7-fhir-r5-core/BackboneType"; -import type { CodeableConcept } from "../hl7-fhir-r5-core/CodeableConcept"; -import type { Period } from "../hl7-fhir-r5-core/Period"; - -import type { Element } from "../hl7-fhir-r5-core/Element"; -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 (pkg: hl7.fhir.r5.core#5.0.0) -export interface MarketingStatus extends BackboneType { - country?: CodeableConcept; - dateRange?: Period; - jurisdiction?: CodeableConcept; - restoreDate?: string; - _restoreDate?: Element; - status: CodeableConcept; -} 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 deleted file mode 100644 index 6c678b95a..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/Measure.ts +++ /dev/null @@ -1,165 +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 { BackboneElement } from "../hl7-fhir-r5-core/BackboneElement"; -import type { CodeableConcept } from "../hl7-fhir-r5-core/CodeableConcept"; -import type { Coding } from "../hl7-fhir-r5-core/Coding"; -import type { ContactDetail } from "../hl7-fhir-r5-core/ContactDetail"; -import type { DomainResource } from "../hl7-fhir-r5-core/DomainResource"; -import type { Expression } from "../hl7-fhir-r5-core/Expression"; -import type { Identifier } from "../hl7-fhir-r5-core/Identifier"; -import type { Period } from "../hl7-fhir-r5-core/Period"; -import type { Reference } from "../hl7-fhir-r5-core/Reference"; -import type { RelatedArtifact } from "../hl7-fhir-r5-core/RelatedArtifact"; -import type { UsageContext } from "../hl7-fhir-r5-core/UsageContext"; - -import type { Element } from "../hl7-fhir-r5-core/Element"; -export type { BackboneElement } from "../hl7-fhir-r5-core/BackboneElement"; -export type { CodeableConcept } from "../hl7-fhir-r5-core/CodeableConcept"; -export type { Coding } from "../hl7-fhir-r5-core/Coding"; -export type { ContactDetail } from "../hl7-fhir-r5-core/ContactDetail"; -export type { Expression } from "../hl7-fhir-r5-core/Expression"; -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"; -export type { RelatedArtifact } from "../hl7-fhir-r5-core/RelatedArtifact"; -export type { UsageContext } from "../hl7-fhir-r5-core/UsageContext"; - -export interface MeasureGroup extends BackboneElement { - basis?: string; - code?: CodeableConcept; - description?: string; - improvementNotation?: CodeableConcept<("increase" | "decrease")>; - library?: string[]; - linkId?: string; - population?: MeasureGroupPopulation[]; - rateAggregation?: string; - scoring?: CodeableConcept<("proportion" | "ratio" | "continuous-variable" | "cohort" | string)>; - scoringUnit?: CodeableConcept; - stratifier?: MeasureGroupStratifier[]; - subjectCodeableConcept?: CodeableConcept; - subjectReference?: Reference<"Group">; - type?: CodeableConcept<("process" | "outcome" | "structure" | "patient-reported-outcome" | "composite" | string)>[]; -} - -export interface MeasureGroupPopulation extends BackboneElement { - aggregateMethod?: 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">; - inputPopulationId?: string; - linkId?: string; -} - -export interface MeasureGroupStratifier extends BackboneElement { - code?: CodeableConcept; - component?: MeasureGroupStratifierComponent[]; - criteria?: Expression; - description?: string; - groupDefinition?: Reference<"Group">; - linkId?: string; -} - -export interface MeasureGroupStratifierComponent extends BackboneElement { - code?: CodeableConcept; - criteria?: Expression; - description?: string; - groupDefinition?: Reference<"Group">; - linkId?: string; -} - -export interface MeasureSupplementalData extends BackboneElement { - code?: CodeableConcept; - criteria: Expression; - description?: string; - linkId?: string; - usage?: CodeableConcept<("supplemental-data" | "risk-adjustment-factor" | string)>[]; -} - -export interface MeasureTerm extends BackboneElement { - code?: CodeableConcept; - definition?: string; -} - -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/Measure (pkg: hl7.fhir.r5.core#5.0.0) -export interface Measure extends DomainResource { - resourceType: "Measure"; - - approvalDate?: string; - _approvalDate?: Element; - author?: ContactDetail[]; - basis?: string; - _basis?: Element; - clinicalRecommendationStatement?: string; - _clinicalRecommendationStatement?: Element; - compositeScoring?: CodeableConcept<("opportunity" | "all-or-nothing" | "linear" | "weighted" | string)>; - contact?: ContactDetail[]; - copyright?: string; - _copyright?: Element; - copyrightLabel?: string; - _copyrightLabel?: Element; - date?: string; - _date?: Element; - description?: string; - _description?: Element; - disclaimer?: string; - _disclaimer?: Element; - editor?: ContactDetail[]; - effectivePeriod?: Period; - endorser?: ContactDetail[]; - experimental?: boolean; - _experimental?: Element; - group?: MeasureGroup[]; - guidance?: string; - _guidance?: Element; - identifier?: Identifier[]; - improvementNotation?: CodeableConcept<("increase" | "decrease")>; - jurisdiction?: CodeableConcept[]; - lastReviewDate?: string; - _lastReviewDate?: Element; - library?: string[]; - _library?: (Element | null)[]; - name?: string; - _name?: Element; - publisher?: string; - _publisher?: Element; - purpose?: string; - _purpose?: Element; - rateAggregation?: string; - _rateAggregation?: Element; - rationale?: string; - _rationale?: Element; - relatedArtifact?: RelatedArtifact[]; - reviewer?: ContactDetail[]; - riskAdjustment?: string; - _riskAdjustment?: Element; - scoring?: CodeableConcept<("proportion" | "ratio" | "continuous-variable" | "cohort" | string)>; - scoringUnit?: CodeableConcept; - status: ("draft" | "active" | "retired" | "unknown"); - _status?: Element; - subjectCodeableConcept?: CodeableConcept; - subjectReference?: Reference<"Group">; - subtitle?: string; - _subtitle?: Element; - supplementalData?: MeasureSupplementalData[]; - term?: MeasureTerm[]; - title?: string; - _title?: Element; - topic?: CodeableConcept[]; - type?: CodeableConcept<("process" | "outcome" | "structure" | "patient-reported-outcome" | "composite" | string)>[]; - url?: string; - _url?: Element; - usage?: string; - _usage?: Element; - useContext?: UsageContext[]; - version?: string; - _version?: Element; - versionAlgorithmCoding?: Coding; - versionAlgorithmString?: string; - _versionAlgorithmString?: Element; -} -export const isMeasure = (resource: unknown): resource is Measure => { - return resource !== null && typeof resource === "object" && (resource as {resourceType: string}).resourceType === "Measure"; -} 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 deleted file mode 100644 index 63f73f8c7..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/MeasureReport.ts +++ /dev/null @@ -1,118 +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 { BackboneElement } from "../hl7-fhir-r5-core/BackboneElement"; -import type { CodeableConcept } from "../hl7-fhir-r5-core/CodeableConcept"; -import type { DomainResource } from "../hl7-fhir-r5-core/DomainResource"; -import type { Duration } from "../hl7-fhir-r5-core/Duration"; -import type { Identifier } from "../hl7-fhir-r5-core/Identifier"; -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 { Reference } from "../hl7-fhir-r5-core/Reference"; - -import type { Element } from "../hl7-fhir-r5-core/Element"; -export type { BackboneElement } from "../hl7-fhir-r5-core/BackboneElement"; -export type { CodeableConcept } from "../hl7-fhir-r5-core/CodeableConcept"; -export type { Duration } from "../hl7-fhir-r5-core/Duration"; -export type { Identifier } from "../hl7-fhir-r5-core/Identifier"; -export type { Period } from "../hl7-fhir-r5-core/Period"; -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"; - -export interface MeasureReportGroup extends BackboneElement { - code?: CodeableConcept; - linkId?: string; - measureScoreCodeableConcept?: CodeableConcept; - measureScoreDateTime?: string; - measureScoreDuration?: Duration; - measureScorePeriod?: Period; - measureScoreQuantity?: Quantity; - measureScoreRange?: Range; - population?: MeasureReportGroupPopulation[]; - stratifier?: MeasureReportGroupStratifier[]; - subject?: Reference<"CareTeam" | "Device" | "Group" | "HealthcareService" | "Location" | "Organization" | "Patient" | "Practitioner" | "PractitionerRole" | "RelatedPerson">; -} - -export interface MeasureReportGroupPopulation extends BackboneElement { - 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">[]; - subjectResults?: Reference<"List">; - subjects?: Reference<"Group">; -} - -export interface MeasureReportGroupStratifier extends BackboneElement { - code?: CodeableConcept; - linkId?: string; - stratum?: MeasureReportGroupStratifierStratum[]; -} - -export interface MeasureReportGroupStratifierStratum extends BackboneElement { - component?: MeasureReportGroupStratifierStratumComponent[]; - measureScoreCodeableConcept?: CodeableConcept; - measureScoreDateTime?: string; - measureScoreDuration?: Duration; - measureScorePeriod?: Period; - measureScoreQuantity?: Quantity; - measureScoreRange?: Range; - population?: MeasureReportGroupStratifierStratumPopulation[]; - valueBoolean?: boolean; - valueCodeableConcept?: CodeableConcept; - valueQuantity?: Quantity; - valueRange?: Range; - valueReference?: Reference; -} - -export interface MeasureReportGroupStratifierStratumComponent extends BackboneElement { - code: CodeableConcept; - linkId?: string; - valueBoolean?: boolean; - valueCodeableConcept?: CodeableConcept; - valueQuantity?: Quantity; - valueRange?: Range; - valueReference?: Reference; -} - -export interface MeasureReportGroupStratifierStratumPopulation extends BackboneElement { - 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">[]; - subjectResults?: Reference<"List">; - subjects?: Reference<"Group">; -} - -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/MeasureReport (pkg: hl7.fhir.r5.core#5.0.0) -export interface MeasureReport extends DomainResource { - resourceType: "MeasureReport"; - - dataUpdateType?: string; - _dataUpdateType?: Element; - date?: string; - _date?: Element; - evaluatedResource?: Reference<"Resource">[]; - group?: MeasureReportGroup[]; - identifier?: Identifier[]; - improvementNotation?: CodeableConcept<("increase" | "decrease")>; - inputParameters?: Reference<"Parameters">; - location?: Reference<"Location">; - measure?: string; - _measure?: Element; - period: Period; - reporter?: Reference<"Group" | "Organization" | "Practitioner" | "PractitionerRole">; - reportingVendor?: Reference<"Organization">; - 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">; - supplementalData?: Reference<"Resource">[]; - type: ("individual" | "subject-list" | "summary" | "data-collection"); - _type?: Element; -} -export const isMeasureReport = (resource: unknown): resource is MeasureReport => { - return resource !== null && typeof resource === "object" && (resource as {resourceType: string}).resourceType === "MeasureReport"; -} 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 deleted file mode 100644 index 1dee26c5f..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/Medication.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 { BackboneElement } from "../hl7-fhir-r5-core/BackboneElement"; -import type { CodeableConcept } from "../hl7-fhir-r5-core/CodeableConcept"; -import type { CodeableReference } from "../hl7-fhir-r5-core/CodeableReference"; -import type { DomainResource } from "../hl7-fhir-r5-core/DomainResource"; -import type { Identifier } from "../hl7-fhir-r5-core/Identifier"; -import type { Quantity } from "../hl7-fhir-r5-core/Quantity"; -import type { Ratio } from "../hl7-fhir-r5-core/Ratio"; -import type { Reference } from "../hl7-fhir-r5-core/Reference"; - -import type { Element } from "../hl7-fhir-r5-core/Element"; -export type { BackboneElement } from "../hl7-fhir-r5-core/BackboneElement"; -export type { CodeableConcept } from "../hl7-fhir-r5-core/CodeableConcept"; -export type { CodeableReference } from "../hl7-fhir-r5-core/CodeableReference"; -export type { Identifier } from "../hl7-fhir-r5-core/Identifier"; -export type { Quantity } from "../hl7-fhir-r5-core/Quantity"; -export type { Ratio } from "../hl7-fhir-r5-core/Ratio"; -export type { Reference } from "../hl7-fhir-r5-core/Reference"; - -export interface MedicationBatch extends BackboneElement { - expirationDate?: string; - lotNumber?: string; -} - -export interface MedicationIngredient extends BackboneElement { - isActive?: boolean; - item: CodeableReference; - strengthCodeableConcept?: CodeableConcept; - strengthQuantity?: Quantity; - strengthRatio?: Ratio; -} - -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/Medication (pkg: hl7.fhir.r5.core#5.0.0) -export interface Medication extends DomainResource { - resourceType: "Medication"; - - batch?: MedicationBatch; - code?: CodeableConcept; - definition?: Reference<"MedicationKnowledge">; - doseForm?: CodeableConcept; - identifier?: Identifier[]; - ingredient?: MedicationIngredient[]; - marketingAuthorizationHolder?: Reference<"Organization">; - status?: ("active" | "inactive" | "entered-in-error"); - _status?: Element; - totalVolume?: Quantity; -} -export const isMedication = (resource: unknown): resource is Medication => { - return resource !== null && typeof resource === "object" && (resource as {resourceType: string}).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 deleted file mode 100644 index 5669fc8bd..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/MedicationAdministration.ts +++ /dev/null @@ -1,78 +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 { Annotation } from "../hl7-fhir-r5-core/Annotation"; -import type { BackboneElement } from "../hl7-fhir-r5-core/BackboneElement"; -import type { CodeableConcept } from "../hl7-fhir-r5-core/CodeableConcept"; -import type { CodeableReference } from "../hl7-fhir-r5-core/CodeableReference"; -import type { DomainResource } from "../hl7-fhir-r5-core/DomainResource"; -import type { Identifier } from "../hl7-fhir-r5-core/Identifier"; -import type { Period } from "../hl7-fhir-r5-core/Period"; -import type { Quantity } from "../hl7-fhir-r5-core/Quantity"; -import type { Ratio } from "../hl7-fhir-r5-core/Ratio"; -import type { Reference } from "../hl7-fhir-r5-core/Reference"; -import type { Timing } from "../hl7-fhir-r5-core/Timing"; - -import type { Element } from "../hl7-fhir-r5-core/Element"; -export type { Annotation } from "../hl7-fhir-r5-core/Annotation"; -export type { BackboneElement } from "../hl7-fhir-r5-core/BackboneElement"; -export type { CodeableConcept } from "../hl7-fhir-r5-core/CodeableConcept"; -export type { CodeableReference } from "../hl7-fhir-r5-core/CodeableReference"; -export type { Identifier } from "../hl7-fhir-r5-core/Identifier"; -export type { Period } from "../hl7-fhir-r5-core/Period"; -export type { Quantity } from "../hl7-fhir-r5-core/Quantity"; -export type { Ratio } from "../hl7-fhir-r5-core/Ratio"; -export type { Reference } from "../hl7-fhir-r5-core/Reference"; -export type { Timing } from "../hl7-fhir-r5-core/Timing"; - -export interface MedicationAdministrationDosage extends BackboneElement { - dose?: Quantity; - method?: CodeableConcept; - rateQuantity?: Quantity; - rateRatio?: Ratio; - route?: CodeableConcept; - site?: CodeableConcept; - text?: string; -} - -export interface MedicationAdministrationPerformer extends BackboneElement { - actor: CodeableReference; - "function"?: CodeableConcept; -} - -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/MedicationAdministration (pkg: hl7.fhir.r5.core#5.0.0) -export interface MedicationAdministration extends DomainResource { - resourceType: "MedicationAdministration"; - - basedOn?: Reference<"CarePlan">[]; - category?: CodeableConcept[]; - device?: CodeableReference[]; - dosage?: MedicationAdministrationDosage; - encounter?: Reference<"Encounter">; - eventHistory?: Reference<"Provenance">[]; - identifier?: Identifier[]; - isSubPotent?: boolean; - _isSubPotent?: Element; - medication: CodeableReference; - note?: Annotation[]; - occurenceDateTime?: string; - _occurenceDateTime?: Element; - occurencePeriod?: Period; - occurenceTiming?: Timing; - partOf?: Reference<"MedicationAdministration" | "MedicationDispense" | "Procedure">[]; - performer?: MedicationAdministrationPerformer[]; - reason?: CodeableReference[]; - recorded?: string; - _recorded?: Element; - request?: Reference<"MedicationRequest">; - status: string; - _status?: Element; - statusReason?: CodeableConcept[]; - subject: Reference<"Group" | "Patient">; - subPotentReason?: CodeableConcept[]; - supportingInformation?: Reference<"Resource">[]; -} -export const isMedicationAdministration = (resource: unknown): resource is MedicationAdministration => { - return resource !== null && typeof resource === "object" && (resource as {resourceType: string}).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 deleted file mode 100644 index 07165661d..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/MedicationDispense.ts +++ /dev/null @@ -1,77 +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 { Annotation } from "../hl7-fhir-r5-core/Annotation"; -import type { BackboneElement } from "../hl7-fhir-r5-core/BackboneElement"; -import type { CodeableConcept } from "../hl7-fhir-r5-core/CodeableConcept"; -import type { CodeableReference } from "../hl7-fhir-r5-core/CodeableReference"; -import type { DomainResource } from "../hl7-fhir-r5-core/DomainResource"; -import type { Dosage } from "../hl7-fhir-r5-core/Dosage"; -import type { Identifier } from "../hl7-fhir-r5-core/Identifier"; -import type { Quantity } from "../hl7-fhir-r5-core/Quantity"; -import type { Reference } from "../hl7-fhir-r5-core/Reference"; - -import type { Element } from "../hl7-fhir-r5-core/Element"; -export type { Annotation } from "../hl7-fhir-r5-core/Annotation"; -export type { BackboneElement } from "../hl7-fhir-r5-core/BackboneElement"; -export type { CodeableConcept } from "../hl7-fhir-r5-core/CodeableConcept"; -export type { CodeableReference } from "../hl7-fhir-r5-core/CodeableReference"; -export type { Dosage } from "../hl7-fhir-r5-core/Dosage"; -export type { Identifier } from "../hl7-fhir-r5-core/Identifier"; -export type { Quantity } from "../hl7-fhir-r5-core/Quantity"; -export type { Reference } from "../hl7-fhir-r5-core/Reference"; - -export interface MedicationDispensePerformer extends BackboneElement { - actor: Reference<"CareTeam" | "Device" | "Organization" | "Patient" | "Practitioner" | "PractitionerRole" | "RelatedPerson">; - "function"?: CodeableConcept; -} - -export interface MedicationDispenseSubstitution extends BackboneElement { - reason?: CodeableConcept[]; - responsibleParty?: Reference<"Organization" | "Practitioner" | "PractitionerRole">; - type?: CodeableConcept; - wasSubstituted: boolean; -} - -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/MedicationDispense (pkg: hl7.fhir.r5.core#5.0.0) -export interface MedicationDispense extends DomainResource { - resourceType: "MedicationDispense"; - - authorizingPrescription?: Reference<"MedicationRequest">[]; - basedOn?: Reference<"CarePlan">[]; - category?: CodeableConcept[]; - daysSupply?: Quantity; - destination?: Reference<"Location">; - dosageInstruction?: Dosage[]; - encounter?: Reference<"Encounter">; - eventHistory?: Reference<"Provenance">[]; - identifier?: Identifier[]; - location?: Reference<"Location">; - medication: CodeableReference; - note?: Annotation[]; - notPerformedReason?: CodeableReference; - partOf?: Reference<"MedicationAdministration" | "Procedure">[]; - performer?: MedicationDispensePerformer[]; - quantity?: Quantity; - receiver?: Reference<"Location" | "Patient" | "Practitioner" | "PractitionerRole" | "RelatedPerson">[]; - recorded?: string; - _recorded?: Element; - renderedDosageInstruction?: string; - _renderedDosageInstruction?: Element; - status: string; - _status?: Element; - statusChanged?: string; - _statusChanged?: Element; - subject: Reference<"Group" | "Patient">; - substitution?: MedicationDispenseSubstitution; - supportingInformation?: Reference<"Resource">[]; - type?: CodeableConcept; - whenHandedOver?: string; - _whenHandedOver?: Element; - whenPrepared?: string; - _whenPrepared?: Element; -} -export const isMedicationDispense = (resource: unknown): resource is MedicationDispense => { - return resource !== null && typeof resource === "object" && (resource as {resourceType: string}).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 deleted file mode 100644 index b1718f0ce..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/MedicationKnowledge.ts +++ /dev/null @@ -1,182 +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 { Annotation } from "../hl7-fhir-r5-core/Annotation"; -import type { Attachment } from "../hl7-fhir-r5-core/Attachment"; -import type { BackboneElement } from "../hl7-fhir-r5-core/BackboneElement"; -import type { CodeableConcept } from "../hl7-fhir-r5-core/CodeableConcept"; -import type { CodeableReference } from "../hl7-fhir-r5-core/CodeableReference"; -import type { DomainResource } from "../hl7-fhir-r5-core/DomainResource"; -import type { Dosage } from "../hl7-fhir-r5-core/Dosage"; -import type { Duration } from "../hl7-fhir-r5-core/Duration"; -import type { Identifier } from "../hl7-fhir-r5-core/Identifier"; -import type { Money } from "../hl7-fhir-r5-core/Money"; -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 { Element } from "../hl7-fhir-r5-core/Element"; -export type { Annotation } from "../hl7-fhir-r5-core/Annotation"; -export type { Attachment } from "../hl7-fhir-r5-core/Attachment"; -export type { BackboneElement } from "../hl7-fhir-r5-core/BackboneElement"; -export type { CodeableConcept } from "../hl7-fhir-r5-core/CodeableConcept"; -export type { CodeableReference } from "../hl7-fhir-r5-core/CodeableReference"; -export type { Dosage } from "../hl7-fhir-r5-core/Dosage"; -export type { Duration } from "../hl7-fhir-r5-core/Duration"; -export type { Identifier } from "../hl7-fhir-r5-core/Identifier"; -export type { Money } from "../hl7-fhir-r5-core/Money"; -export type { Period } from "../hl7-fhir-r5-core/Period"; -export type { Quantity } from "../hl7-fhir-r5-core/Quantity"; -export type { Range } from "../hl7-fhir-r5-core/Range"; -export type { Ratio } from "../hl7-fhir-r5-core/Ratio"; -export type { Reference } from "../hl7-fhir-r5-core/Reference"; - -export interface MedicationKnowledgeCost extends BackboneElement { - costCodeableConcept?: CodeableConcept; - costMoney?: Money; - effectiveDate?: Period[]; - source?: string; - type: CodeableConcept; -} - -export interface MedicationKnowledgeDefinitional extends BackboneElement { - definition?: Reference<"MedicinalProductDefinition">[]; - doseForm?: CodeableConcept; - drugCharacteristic?: MedicationKnowledgeDefinitionalDrugCharacteristic[]; - ingredient?: MedicationKnowledgeDefinitionalIngredient[]; - intendedRoute?: CodeableConcept[]; -} - -export interface MedicationKnowledgeDefinitionalDrugCharacteristic extends BackboneElement { - type?: CodeableConcept; - valueAttachment?: Attachment; - valueBase64Binary?: string; - valueCodeableConcept?: CodeableConcept; - valueQuantity?: Quantity; - valueString?: string; -} - -export interface MedicationKnowledgeDefinitionalIngredient extends BackboneElement { - item: CodeableReference; - strengthCodeableConcept?: CodeableConcept; - strengthQuantity?: Quantity; - strengthRatio?: Ratio; - type?: CodeableConcept; -} - -export interface MedicationKnowledgeIndicationGuideline extends BackboneElement { - dosingGuideline?: MedicationKnowledgeIndicationGuidelineDosingGuideline[]; - indication?: CodeableReference[]; -} - -export interface MedicationKnowledgeIndicationGuidelineDosingGuideline extends BackboneElement { - administrationTreatment?: CodeableConcept; - dosage?: MedicationKnowledgeIndicationGuidelineDosingGuidelineDosage[]; - patientCharacteristic?: MedicationKnowledgeIndicationGuidelineDosingGuidelinePatientCharacteristic[]; - treatmentIntent?: CodeableConcept; -} - -export interface MedicationKnowledgeIndicationGuidelineDosingGuidelineDosage extends BackboneElement { - dosage: Dosage[]; - type: CodeableConcept; -} - -export interface MedicationKnowledgeIndicationGuidelineDosingGuidelinePatientCharacteristic extends BackboneElement { - type: CodeableConcept; - valueCodeableConcept?: CodeableConcept; - valueQuantity?: Quantity; - valueRange?: Range; -} - -export interface MedicationKnowledgeMedicineClassification extends BackboneElement { - classification?: CodeableConcept[]; - sourceString?: string; - sourceUri?: string; - type: CodeableConcept; -} - -export interface MedicationKnowledgeMonitoringProgram extends BackboneElement { - name?: string; - type?: CodeableConcept; -} - -export interface MedicationKnowledgeMonograph extends BackboneElement { - source?: Reference<"DocumentReference">; - type?: CodeableConcept; -} - -export interface MedicationKnowledgePackaging extends BackboneElement { - cost?: MedicationKnowledgeCost[]; - packagedProduct?: Reference<"PackagedProductDefinition">; -} - -export interface MedicationKnowledgeRegulatory extends BackboneElement { - maxDispense?: MedicationKnowledgeRegulatoryMaxDispense; - regulatoryAuthority: Reference<"Organization">; - schedule?: CodeableConcept[]; - substitution?: MedicationKnowledgeRegulatorySubstitution[]; -} - -export interface MedicationKnowledgeRegulatoryMaxDispense extends BackboneElement { - period?: Duration; - quantity: Quantity; -} - -export interface MedicationKnowledgeRegulatorySubstitution extends BackboneElement { - allowed: boolean; - type: CodeableConcept; -} - -export interface MedicationKnowledgeRelatedMedicationKnowledge extends BackboneElement { - reference: Reference<"MedicationKnowledge">[]; - type: CodeableConcept; -} - -export interface MedicationKnowledgeStorageGuideline extends BackboneElement { - environmentalSetting?: MedicationKnowledgeStorageGuidelineEnvironmentalSetting[]; - note?: Annotation[]; - reference?: string; - stabilityDuration?: Duration; -} - -export interface MedicationKnowledgeStorageGuidelineEnvironmentalSetting extends BackboneElement { - type: CodeableConcept; - valueCodeableConcept?: CodeableConcept; - valueQuantity?: Quantity; - valueRange?: Range; -} - -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/MedicationKnowledge (pkg: hl7.fhir.r5.core#5.0.0) -export interface MedicationKnowledge extends DomainResource { - resourceType: "MedicationKnowledge"; - - associatedMedication?: Reference<"Medication">[]; - author?: Reference<"Organization">; - clinicalUseIssue?: Reference<"ClinicalUseDefinition">[]; - code?: CodeableConcept; - cost?: MedicationKnowledgeCost[]; - definitional?: MedicationKnowledgeDefinitional; - identifier?: Identifier[]; - indicationGuideline?: MedicationKnowledgeIndicationGuideline[]; - intendedJurisdiction?: CodeableConcept[]; - medicineClassification?: MedicationKnowledgeMedicineClassification[]; - monitoringProgram?: MedicationKnowledgeMonitoringProgram[]; - monograph?: MedicationKnowledgeMonograph[]; - name?: string[]; - _name?: (Element | null)[]; - packaging?: MedicationKnowledgePackaging[]; - preparationInstruction?: string; - _preparationInstruction?: Element; - productType?: CodeableConcept[]; - regulatory?: MedicationKnowledgeRegulatory[]; - relatedMedicationKnowledge?: MedicationKnowledgeRelatedMedicationKnowledge[]; - status?: string; - _status?: Element; - storageGuideline?: MedicationKnowledgeStorageGuideline[]; -} -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-r5-core/MedicationRequest.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/MedicationRequest.ts deleted file mode 100644 index b350af7a2..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/MedicationRequest.ts +++ /dev/null @@ -1,100 +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 { Annotation } from "../hl7-fhir-r5-core/Annotation"; -import type { BackboneElement } from "../hl7-fhir-r5-core/BackboneElement"; -import type { CodeableConcept } from "../hl7-fhir-r5-core/CodeableConcept"; -import type { CodeableReference } from "../hl7-fhir-r5-core/CodeableReference"; -import type { DomainResource } from "../hl7-fhir-r5-core/DomainResource"; -import type { Dosage } from "../hl7-fhir-r5-core/Dosage"; -import type { Duration } from "../hl7-fhir-r5-core/Duration"; -import type { Identifier } from "../hl7-fhir-r5-core/Identifier"; -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"; - -import type { Element } from "../hl7-fhir-r5-core/Element"; -export type { Annotation } from "../hl7-fhir-r5-core/Annotation"; -export type { BackboneElement } from "../hl7-fhir-r5-core/BackboneElement"; -export type { CodeableConcept } from "../hl7-fhir-r5-core/CodeableConcept"; -export type { CodeableReference } from "../hl7-fhir-r5-core/CodeableReference"; -export type { Dosage } from "../hl7-fhir-r5-core/Dosage"; -export type { Duration } from "../hl7-fhir-r5-core/Duration"; -export type { Identifier } from "../hl7-fhir-r5-core/Identifier"; -export type { Period } from "../hl7-fhir-r5-core/Period"; -export type { Quantity } from "../hl7-fhir-r5-core/Quantity"; -export type { Reference } from "../hl7-fhir-r5-core/Reference"; - -export interface MedicationRequestDispenseRequest extends BackboneElement { - dispenseInterval?: Duration; - dispenser?: Reference<"Organization">; - dispenserInstruction?: Annotation[]; - doseAdministrationAid?: CodeableConcept; - expectedSupplyDuration?: Duration; - initialFill?: MedicationRequestDispenseRequestInitialFill; - numberOfRepeatsAllowed?: number; - quantity?: Quantity; - validityPeriod?: Period; -} - -export interface MedicationRequestDispenseRequestInitialFill extends BackboneElement { - duration?: Duration; - quantity?: Quantity; -} - -export interface MedicationRequestSubstitution extends BackboneElement { - allowedBoolean?: boolean; - allowedCodeableConcept?: CodeableConcept; - reason?: CodeableConcept; -} - -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/MedicationRequest (pkg: hl7.fhir.r5.core#5.0.0) -export interface MedicationRequest extends DomainResource { - resourceType: "MedicationRequest"; - - authoredOn?: string; - _authoredOn?: Element; - basedOn?: Reference<"CarePlan" | "ImmunizationRecommendation" | "MedicationRequest" | "ServiceRequest">[]; - category?: CodeableConcept[]; - courseOfTherapyType?: CodeableConcept<("continuous" | "acute" | "seasonal" | string)>; - device?: CodeableReference[]; - dispenseRequest?: MedicationRequestDispenseRequest; - doNotPerform?: boolean; - _doNotPerform?: Element; - dosageInstruction?: Dosage[]; - effectiveDosePeriod?: Period; - encounter?: Reference<"Encounter">; - eventHistory?: Reference<"Provenance">[]; - groupIdentifier?: Identifier; - identifier?: Identifier[]; - informationSource?: Reference<"Organization" | "Patient" | "Practitioner" | "PractitionerRole" | "RelatedPerson">[]; - insurance?: Reference<"ClaimResponse" | "Coverage">[]; - intent: ("proposal" | "plan" | "order" | "original-order" | "reflex-order" | "filler-order" | "instance-order" | "option"); - _intent?: Element; - medication: CodeableReference; - note?: Annotation[]; - performer?: Reference<"CareTeam" | "DeviceDefinition" | "HealthcareService" | "Organization" | "Patient" | "Practitioner" | "PractitionerRole" | "RelatedPerson">[]; - performerType?: CodeableConcept; - priority?: ("routine" | "urgent" | "asap" | "stat"); - _priority?: Element; - priorPrescription?: Reference<"MedicationRequest">; - reason?: CodeableReference[]; - recorder?: Reference<"Practitioner" | "PractitionerRole">; - renderedDosageInstruction?: string; - _renderedDosageInstruction?: Element; - reported?: boolean; - _reported?: Element; - requester?: Reference<"Device" | "Organization" | "Patient" | "Practitioner" | "PractitionerRole" | "RelatedPerson">; - status: ("active" | "on-hold" | "cancelled" | "completed" | "entered-in-error" | "stopped" | "draft" | "unknown"); - _status?: Element; - statusChanged?: string; - _statusChanged?: Element; - statusReason?: CodeableConcept; - subject: Reference<"Group" | "Patient">; - substitution?: MedicationRequestSubstitution; - supportingInformation?: Reference<"Resource">[]; -} -export const isMedicationRequest = (resource: unknown): resource is MedicationRequest => { - return resource !== null && typeof resource === "object" && (resource as {resourceType: string}).resourceType === "MedicationRequest"; -} 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 deleted file mode 100644 index 23d724598..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/MedicationStatement.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 { Annotation } from "../hl7-fhir-r5-core/Annotation"; -import type { BackboneElement } from "../hl7-fhir-r5-core/BackboneElement"; -import type { CodeableConcept } from "../hl7-fhir-r5-core/CodeableConcept"; -import type { CodeableReference } from "../hl7-fhir-r5-core/CodeableReference"; -import type { DomainResource } from "../hl7-fhir-r5-core/DomainResource"; -import type { Dosage } from "../hl7-fhir-r5-core/Dosage"; -import type { Identifier } from "../hl7-fhir-r5-core/Identifier"; -import type { Period } from "../hl7-fhir-r5-core/Period"; -import type { Reference } from "../hl7-fhir-r5-core/Reference"; -import type { Timing } from "../hl7-fhir-r5-core/Timing"; - -import type { Element } from "../hl7-fhir-r5-core/Element"; -export type { Annotation } from "../hl7-fhir-r5-core/Annotation"; -export type { BackboneElement } from "../hl7-fhir-r5-core/BackboneElement"; -export type { CodeableConcept } from "../hl7-fhir-r5-core/CodeableConcept"; -export type { CodeableReference } from "../hl7-fhir-r5-core/CodeableReference"; -export type { Dosage } from "../hl7-fhir-r5-core/Dosage"; -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"; -export type { Timing } from "../hl7-fhir-r5-core/Timing"; - -export interface MedicationStatementAdherence extends BackboneElement { - code: CodeableConcept; - reason?: CodeableConcept; -} - -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/MedicationStatement (pkg: hl7.fhir.r5.core#5.0.0) -export interface MedicationStatement extends DomainResource { - resourceType: "MedicationStatement"; - - adherence?: MedicationStatementAdherence; - category?: CodeableConcept[]; - dateAsserted?: string; - _dateAsserted?: Element; - derivedFrom?: Reference<"Resource">[]; - dosage?: Dosage[]; - effectiveDateTime?: string; - _effectiveDateTime?: Element; - effectivePeriod?: Period; - effectiveTiming?: Timing; - encounter?: Reference<"Encounter">; - identifier?: Identifier[]; - informationSource?: Reference<"Organization" | "Patient" | "Practitioner" | "PractitionerRole" | "RelatedPerson">[]; - medication: CodeableReference; - note?: Annotation[]; - partOf?: Reference<"MedicationStatement" | "Procedure">[]; - reason?: CodeableReference[]; - relatedClinicalInformation?: Reference<"Condition" | "Observation">[]; - renderedDosageInstruction?: string; - _renderedDosageInstruction?: Element; - status: ("active" | "completed" | "entered-in-error" | "intended" | "stopped" | "on-hold" | "unknown" | "not-taken"); - _status?: Element; - subject: Reference<"Group" | "Patient">; -} -export const isMedicationStatement = (resource: unknown): resource is MedicationStatement => { - return resource !== null && typeof resource === "object" && (resource as {resourceType: string}).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 deleted file mode 100644 index d61143324..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/MedicinalProductDefinition.ts +++ /dev/null @@ -1,115 +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 { BackboneElement } from "../hl7-fhir-r5-core/BackboneElement"; -import type { CodeableConcept } from "../hl7-fhir-r5-core/CodeableConcept"; -import type { CodeableReference } from "../hl7-fhir-r5-core/CodeableReference"; -import type { Coding } from "../hl7-fhir-r5-core/Coding"; -import type { DomainResource } from "../hl7-fhir-r5-core/DomainResource"; -import type { Identifier } from "../hl7-fhir-r5-core/Identifier"; -import type { MarketingStatus } from "../hl7-fhir-r5-core/MarketingStatus"; -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"; - -import type { Element } from "../hl7-fhir-r5-core/Element"; -export type { Attachment } from "../hl7-fhir-r5-core/Attachment"; -export type { BackboneElement } from "../hl7-fhir-r5-core/BackboneElement"; -export type { CodeableConcept } from "../hl7-fhir-r5-core/CodeableConcept"; -export type { CodeableReference } from "../hl7-fhir-r5-core/CodeableReference"; -export type { Coding } from "../hl7-fhir-r5-core/Coding"; -export type { Identifier } from "../hl7-fhir-r5-core/Identifier"; -export type { MarketingStatus } from "../hl7-fhir-r5-core/MarketingStatus"; -export type { Period } from "../hl7-fhir-r5-core/Period"; -export type { Quantity } from "../hl7-fhir-r5-core/Quantity"; -export type { Reference } from "../hl7-fhir-r5-core/Reference"; - -export interface MedicinalProductDefinitionCharacteristic extends BackboneElement { - type: CodeableConcept; - valueAttachment?: Attachment; - valueBoolean?: boolean; - valueCodeableConcept?: CodeableConcept; - valueDate?: string; - valueInteger?: number; - valueMarkdown?: string; - valueQuantity?: Quantity; -} - -export interface MedicinalProductDefinitionContact extends BackboneElement { - contact: Reference<"Organization" | "PractitionerRole">; - type?: CodeableConcept; -} - -export interface MedicinalProductDefinitionCrossReference extends BackboneElement { - product: CodeableReference; - type?: CodeableConcept; -} - -export interface MedicinalProductDefinitionName extends BackboneElement { - part?: MedicinalProductDefinitionNamePart[]; - productName: string; - type?: CodeableConcept; - usage?: MedicinalProductDefinitionNameUsage[]; -} - -export interface MedicinalProductDefinitionNamePart extends BackboneElement { - part: string; - type: CodeableConcept; -} - -export interface MedicinalProductDefinitionNameUsage extends BackboneElement { - country: CodeableConcept; - jurisdiction?: CodeableConcept; - language: CodeableConcept; -} - -export interface MedicinalProductDefinitionOperation extends BackboneElement { - confidentialityIndicator?: CodeableConcept; - effectiveDate?: Period; - organization?: Reference<"Organization">[]; - type?: CodeableReference; -} - -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/MedicinalProductDefinition (pkg: hl7.fhir.r5.core#5.0.0) -export interface MedicinalProductDefinition extends DomainResource { - resourceType: "MedicinalProductDefinition"; - - additionalMonitoringIndicator?: CodeableConcept; - attachedDocument?: Reference<"DocumentReference">[]; - characteristic?: MedicinalProductDefinitionCharacteristic[]; - classification?: CodeableConcept[]; - clinicalTrial?: Reference<"ResearchStudy">[]; - code?: Coding[]; - combinedPharmaceuticalDoseForm?: CodeableConcept; - comprisedOf?: Reference<"DeviceDefinition" | "ManufacturedItemDefinition">[]; - contact?: MedicinalProductDefinitionContact[]; - crossReference?: MedicinalProductDefinitionCrossReference[]; - description?: string; - _description?: Element; - domain?: CodeableConcept; - identifier?: Identifier[]; - impurity?: CodeableReference[]; - indication?: string; - _indication?: Element; - ingredient?: CodeableConcept[]; - legalStatusOfSupply?: CodeableConcept; - marketingStatus?: MarketingStatus[]; - masterFile?: Reference<"DocumentReference">[]; - name: MedicinalProductDefinitionName[]; - operation?: MedicinalProductDefinitionOperation[]; - packagedMedicinalProduct?: CodeableConcept[]; - pediatricUseIndicator?: CodeableConcept; - route?: CodeableConcept[]; - specialMeasures?: CodeableConcept[]; - status?: CodeableConcept<("draft" | "active" | "retired" | "unknown" | string)>; - statusDate?: string; - _statusDate?: Element; - type?: CodeableConcept; - version?: string; - _version?: Element; -} -export const isMedicinalProductDefinition = (resource: unknown): resource is MedicinalProductDefinition => { - return resource !== null && typeof resource === "object" && (resource as {resourceType: string}).resourceType === "MedicinalProductDefinition"; -} 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 deleted file mode 100644 index cbbe3f928..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/MessageDefinition.ts +++ /dev/null @@ -1,88 +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 { BackboneElement } from "../hl7-fhir-r5-core/BackboneElement"; -import type { CodeableConcept } from "../hl7-fhir-r5-core/CodeableConcept"; -import type { Coding } from "../hl7-fhir-r5-core/Coding"; -import type { ContactDetail } from "../hl7-fhir-r5-core/ContactDetail"; -import type { DomainResource } from "../hl7-fhir-r5-core/DomainResource"; -import type { Identifier } from "../hl7-fhir-r5-core/Identifier"; -import type { UsageContext } from "../hl7-fhir-r5-core/UsageContext"; - -import type { Element } from "../hl7-fhir-r5-core/Element"; -export type { BackboneElement } from "../hl7-fhir-r5-core/BackboneElement"; -export type { CodeableConcept } from "../hl7-fhir-r5-core/CodeableConcept"; -export type { Coding } from "../hl7-fhir-r5-core/Coding"; -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"; - -export interface MessageDefinitionAllowedResponse extends BackboneElement { - message: string; - situation?: string; -} - -export interface MessageDefinitionFocus extends BackboneElement { - code: string; - max?: string; - min: number; - profile?: string; -} - -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/MessageDefinition (pkg: hl7.fhir.r5.core#5.0.0) -export interface MessageDefinition extends DomainResource { - resourceType: "MessageDefinition"; - - allowedResponse?: MessageDefinitionAllowedResponse[]; - base?: string; - _base?: Element; - category?: ("consequence" | "currency" | "notification"); - _category?: Element; - contact?: ContactDetail[]; - copyright?: string; - _copyright?: Element; - copyrightLabel?: string; - _copyrightLabel?: Element; - date: string; - _date?: Element; - description?: string; - _description?: Element; - eventCoding?: Coding; - eventUri?: string; - _eventUri?: Element; - experimental?: boolean; - _experimental?: Element; - focus?: MessageDefinitionFocus[]; - graph?: string; - _graph?: Element; - identifier?: Identifier[]; - jurisdiction?: CodeableConcept[]; - name?: string; - _name?: Element; - parent?: string[]; - _parent?: (Element | null)[]; - publisher?: string; - _publisher?: Element; - purpose?: string; - _purpose?: Element; - replaces?: string[]; - _replaces?: (Element | null)[]; - responseRequired?: ("always" | "on-error" | "never" | "on-success"); - _responseRequired?: Element; - status: ("draft" | "active" | "retired" | "unknown"); - _status?: Element; - title?: string; - _title?: Element; - url?: string; - _url?: Element; - useContext?: UsageContext[]; - version?: string; - _version?: Element; - versionAlgorithmCoding?: Coding; - versionAlgorithmString?: string; - _versionAlgorithmString?: Element; -} -export const isMessageDefinition = (resource: unknown): resource is MessageDefinition => { - return resource !== null && typeof resource === "object" && (resource as {resourceType: string}).resourceType === "MessageDefinition"; -} 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 deleted file mode 100644 index 817a692e1..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/MessageHeader.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 { BackboneElement } from "../hl7-fhir-r5-core/BackboneElement"; -import type { CodeableConcept } from "../hl7-fhir-r5-core/CodeableConcept"; -import type { Coding } from "../hl7-fhir-r5-core/Coding"; -import type { ContactPoint } from "../hl7-fhir-r5-core/ContactPoint"; -import type { DomainResource } from "../hl7-fhir-r5-core/DomainResource"; -import type { Identifier } from "../hl7-fhir-r5-core/Identifier"; -import type { Reference } from "../hl7-fhir-r5-core/Reference"; - -import type { Element } from "../hl7-fhir-r5-core/Element"; -export type { BackboneElement } from "../hl7-fhir-r5-core/BackboneElement"; -export type { CodeableConcept } from "../hl7-fhir-r5-core/CodeableConcept"; -export type { Coding } from "../hl7-fhir-r5-core/Coding"; -export type { ContactPoint } from "../hl7-fhir-r5-core/ContactPoint"; -export type { Identifier } from "../hl7-fhir-r5-core/Identifier"; -export type { Reference } from "../hl7-fhir-r5-core/Reference"; - -export interface MessageHeaderDestination extends BackboneElement { - endpointReference?: Reference<"Endpoint">; - endpointUrl?: string; - name?: string; - receiver?: Reference<"Organization" | "Practitioner" | "PractitionerRole">; - target?: Reference<"Device">; -} - -export interface MessageHeaderResponse extends BackboneElement { - code: ("ok" | "transient-error" | "fatal-error"); - details?: Reference<"OperationOutcome">; - identifier: Identifier; -} - -export interface MessageHeaderSource extends BackboneElement { - contact?: ContactPoint; - endpointReference?: Reference<"Endpoint">; - endpointUrl?: string; - name?: string; - software?: string; - version?: string; -} - -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/MessageHeader (pkg: hl7.fhir.r5.core#5.0.0) -export interface MessageHeader extends DomainResource { - resourceType: "MessageHeader"; - - author?: Reference<"Device" | "Organization" | "Practitioner" | "PractitionerRole">; - definition?: string; - _definition?: Element; - destination?: MessageHeaderDestination[]; - eventCanonical?: string; - _eventCanonical?: Element; - eventCoding?: Coding; - focus?: Reference<"Resource">[]; - reason?: CodeableConcept; - response?: MessageHeaderResponse; - responsible?: Reference<"Organization" | "Practitioner" | "PractitionerRole">; - sender?: Reference<"Device" | "Organization" | "Practitioner" | "PractitionerRole">; - source: MessageHeaderSource; -} -export const isMessageHeader = (resource: unknown): resource is MessageHeader => { - return resource !== null && typeof resource === "object" && (resource as {resourceType: string}).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 deleted file mode 100644 index b8619a7f2..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/Meta.ts +++ /dev/null @@ -1,24 +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 { Coding } from "../hl7-fhir-r5-core/Coding"; -import type { DataType } from "../hl7-fhir-r5-core/DataType"; - -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 (pkg: hl7.fhir.r5.core#5.0.0) -export interface Meta extends DataType { - lastUpdated?: string; - _lastUpdated?: Element; - profile?: string[]; - _profile?: (Element | null)[]; - security?: Coding[]; - source?: string; - _source?: Element; - tag?: Coding[]; - versionId?: string; - _versionId?: 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 deleted file mode 100644 index 7a5e66206..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/MetadataResource.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 { CodeableConcept } from "../hl7-fhir-r5-core/CodeableConcept"; -import type { ContactDetail } from "../hl7-fhir-r5-core/ContactDetail"; -import type { DomainResource } from "../hl7-fhir-r5-core/DomainResource"; -import type { Period } from "../hl7-fhir-r5-core/Period"; -import type { RelatedArtifact } from "../hl7-fhir-r5-core/RelatedArtifact"; - -import type { Element } from "../hl7-fhir-r5-core/Element"; -export type { CodeableConcept } from "../hl7-fhir-r5-core/CodeableConcept"; -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 (pkg: hl7.fhir.r5.core#5.0.0) -export interface MetadataResource extends DomainResource { - resourceType: "MetadataResource"; - - approvalDate?: string; - _approvalDate?: Element; - author?: ContactDetail[]; - editor?: ContactDetail[]; - effectivePeriod?: Period; - endorser?: ContactDetail[]; - lastReviewDate?: string; - _lastReviewDate?: Element; - relatedArtifact?: RelatedArtifact[]; - reviewer?: ContactDetail[]; - topic?: CodeableConcept[]; -} -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-r5-core/MolecularSequence.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/MolecularSequence.ts deleted file mode 100644 index 6aca4478d..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/MolecularSequence.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 { Attachment } from "../hl7-fhir-r5-core/Attachment"; -import type { BackboneElement } from "../hl7-fhir-r5-core/BackboneElement"; -import type { CodeableConcept } from "../hl7-fhir-r5-core/CodeableConcept"; -import type { DomainResource } from "../hl7-fhir-r5-core/DomainResource"; -import type { Identifier } from "../hl7-fhir-r5-core/Identifier"; -import type { Range } from "../hl7-fhir-r5-core/Range"; -import type { Reference } from "../hl7-fhir-r5-core/Reference"; - -import type { Element } from "../hl7-fhir-r5-core/Element"; -export type { Attachment } from "../hl7-fhir-r5-core/Attachment"; -export type { BackboneElement } from "../hl7-fhir-r5-core/BackboneElement"; -export type { CodeableConcept } from "../hl7-fhir-r5-core/CodeableConcept"; -export type { Identifier } from "../hl7-fhir-r5-core/Identifier"; -export type { Range } from "../hl7-fhir-r5-core/Range"; -export type { Reference } from "../hl7-fhir-r5-core/Reference"; - -export interface MolecularSequenceRelative extends BackboneElement { - coordinateSystem: CodeableConcept; - edit?: MolecularSequenceRelativeEdit[]; - ordinalPosition?: number; - sequenceRange?: Range; - startingSequence?: MolecularSequenceRelativeStartingSequence; -} - -export interface MolecularSequenceRelativeEdit extends BackboneElement { - end?: number; - replacedSequence?: string; - replacementSequence?: string; - start?: number; -} - -export interface MolecularSequenceRelativeStartingSequence extends BackboneElement { - chromosome?: CodeableConcept; - genomeAssembly?: CodeableConcept; - orientation?: ("sense" | "antisense"); - sequenceCodeableConcept?: CodeableConcept; - sequenceReference?: Reference<"MolecularSequence">; - sequenceString?: string; - strand?: ("watson" | "crick"); - windowEnd?: number; - windowStart?: number; -} - -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/MolecularSequence (pkg: hl7.fhir.r5.core#5.0.0) -export interface MolecularSequence extends DomainResource { - resourceType: "MolecularSequence"; - - device?: Reference<"Device">; - focus?: Reference<"Resource">[]; - formatted?: Attachment[]; - identifier?: Identifier[]; - literal?: string; - _literal?: Element; - performer?: Reference<"Organization">; - relative?: MolecularSequenceRelative[]; - specimen?: Reference<"Specimen">; - subject?: Reference<"BiologicallyDerivedProduct" | "Group" | "NutritionProduct" | "Patient" | "Substance">; - type?: ("aa" | "dna" | "rna"); - _type?: Element; -} -export const isMolecularSequence = (resource: unknown): resource is MolecularSequence => { - return resource !== null && typeof resource === "object" && (resource as {resourceType: string}).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 deleted file mode 100644 index 92d23e697..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/MonetaryComponent.ts +++ /dev/null @@ -1,22 +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 { DataType } from "../hl7-fhir-r5-core/DataType"; -import type { Money } from "../hl7-fhir-r5-core/Money"; - -import type { Element } from "../hl7-fhir-r5-core/Element"; -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 (pkg: hl7.fhir.r5.core#5.0.0) -export interface MonetaryComponent extends DataType { - amount?: Money; - code?: CodeableConcept; - factor?: number; - _factor?: Element; - type: string; - _type?: Element; -} 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 deleted file mode 100644 index 39f10e927..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/Money.ts +++ /dev/null @@ -1,16 +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 { 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 (pkg: hl7.fhir.r5.core#5.0.0) -export interface Money extends DataType { - currency?: string; - _currency?: Element; - value?: number; - _value?: 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 deleted file mode 100644 index 9c6881220..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/NamingSystem.ts +++ /dev/null @@ -1,91 +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 { BackboneElement } from "../hl7-fhir-r5-core/BackboneElement"; -import type { CodeableConcept } from "../hl7-fhir-r5-core/CodeableConcept"; -import type { Coding } from "../hl7-fhir-r5-core/Coding"; -import type { ContactDetail } from "../hl7-fhir-r5-core/ContactDetail"; -import type { DomainResource } from "../hl7-fhir-r5-core/DomainResource"; -import type { Identifier } from "../hl7-fhir-r5-core/Identifier"; -import type { Period } from "../hl7-fhir-r5-core/Period"; -import type { RelatedArtifact } from "../hl7-fhir-r5-core/RelatedArtifact"; -import type { UsageContext } from "../hl7-fhir-r5-core/UsageContext"; - -import type { Element } from "../hl7-fhir-r5-core/Element"; -export type { BackboneElement } from "../hl7-fhir-r5-core/BackboneElement"; -export type { CodeableConcept } from "../hl7-fhir-r5-core/CodeableConcept"; -export type { Coding } from "../hl7-fhir-r5-core/Coding"; -export type { ContactDetail } from "../hl7-fhir-r5-core/ContactDetail"; -export type { Identifier } from "../hl7-fhir-r5-core/Identifier"; -export type { Period } from "../hl7-fhir-r5-core/Period"; -export type { RelatedArtifact } from "../hl7-fhir-r5-core/RelatedArtifact"; -export type { UsageContext } from "../hl7-fhir-r5-core/UsageContext"; - -export interface NamingSystemUniqueId extends BackboneElement { - authoritative?: boolean; - comment?: string; - period?: Period; - preferred?: boolean; - type: ("oid" | "uuid" | "uri" | "other"); - value: string; -} - -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/NamingSystem (pkg: hl7.fhir.r5.core#5.0.0) -export interface NamingSystem extends DomainResource { - resourceType: "NamingSystem"; - - approvalDate?: string; - _approvalDate?: Element; - author?: ContactDetail[]; - contact?: ContactDetail[]; - copyright?: string; - _copyright?: Element; - copyrightLabel?: string; - _copyrightLabel?: Element; - date: string; - _date?: Element; - description?: string; - _description?: Element; - editor?: ContactDetail[]; - effectivePeriod?: Period; - endorser?: ContactDetail[]; - experimental?: boolean; - _experimental?: Element; - identifier?: Identifier[]; - jurisdiction?: CodeableConcept[]; - kind: ("codesystem" | "identifier" | "root"); - _kind?: Element; - lastReviewDate?: string; - _lastReviewDate?: Element; - name: string; - _name?: Element; - publisher?: string; - _publisher?: Element; - purpose?: string; - _purpose?: Element; - relatedArtifact?: RelatedArtifact[]; - responsible?: string; - _responsible?: Element; - reviewer?: ContactDetail[]; - status: ("draft" | "active" | "retired" | "unknown"); - _status?: Element; - title?: string; - _title?: Element; - topic?: CodeableConcept[]; - type?: CodeableConcept; - uniqueId: NamingSystemUniqueId[]; - url?: string; - _url?: Element; - usage?: string; - _usage?: Element; - useContext?: UsageContext[]; - version?: string; - _version?: Element; - versionAlgorithmCoding?: Coding; - versionAlgorithmString?: string; - _versionAlgorithmString?: Element; -} -export const isNamingSystem = (resource: unknown): resource is NamingSystem => { - return resource !== null && typeof resource === "object" && (resource as {resourceType: string}).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 deleted file mode 100644 index eafdba707..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/Narrative.ts +++ /dev/null @@ -1,16 +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 { 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 (pkg: hl7.fhir.r5.core#5.0.0) -export interface Narrative extends DataType { - div: string; - _div?: Element; - status: ("generated" | "extensions" | "additional" | "empty"); - _status?: 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 deleted file mode 100644 index 018d76555..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/NutritionIntake.ts +++ /dev/null @@ -1,82 +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 { Annotation } from "../hl7-fhir-r5-core/Annotation"; -import type { BackboneElement } from "../hl7-fhir-r5-core/BackboneElement"; -import type { CodeableConcept } from "../hl7-fhir-r5-core/CodeableConcept"; -import type { CodeableReference } from "../hl7-fhir-r5-core/CodeableReference"; -import type { DomainResource } from "../hl7-fhir-r5-core/DomainResource"; -import type { Identifier } from "../hl7-fhir-r5-core/Identifier"; -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"; -import type { Timing } from "../hl7-fhir-r5-core/Timing"; - -import type { Element } from "../hl7-fhir-r5-core/Element"; -export type { Annotation } from "../hl7-fhir-r5-core/Annotation"; -export type { BackboneElement } from "../hl7-fhir-r5-core/BackboneElement"; -export type { CodeableConcept } from "../hl7-fhir-r5-core/CodeableConcept"; -export type { CodeableReference } from "../hl7-fhir-r5-core/CodeableReference"; -export type { Identifier } from "../hl7-fhir-r5-core/Identifier"; -export type { Period } from "../hl7-fhir-r5-core/Period"; -export type { Quantity } from "../hl7-fhir-r5-core/Quantity"; -export type { Reference } from "../hl7-fhir-r5-core/Reference"; -export type { Timing } from "../hl7-fhir-r5-core/Timing"; - -export interface NutritionIntakeConsumedItem extends BackboneElement { - amount?: Quantity; - notConsumed?: boolean; - notConsumedReason?: CodeableConcept; - nutritionProduct: CodeableReference; - rate?: Quantity; - schedule?: Timing; - type: CodeableConcept; -} - -export interface NutritionIntakeIngredientLabel extends BackboneElement { - amount: Quantity; - nutrient: CodeableReference; -} - -export interface NutritionIntakePerformer extends BackboneElement { - actor: Reference<"CareTeam" | "Device" | "Organization" | "Patient" | "Practitioner" | "PractitionerRole" | "RelatedPerson">; - "function"?: CodeableConcept; -} - -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/NutritionIntake (pkg: hl7.fhir.r5.core#5.0.0) -export interface NutritionIntake extends DomainResource { - resourceType: "NutritionIntake"; - - basedOn?: Reference<"CarePlan" | "NutritionOrder" | "ServiceRequest">[]; - code?: CodeableConcept; - consumedItem: NutritionIntakeConsumedItem[]; - derivedFrom?: Reference<"Resource">[]; - encounter?: Reference<"Encounter">; - identifier?: Identifier[]; - ingredientLabel?: NutritionIntakeIngredientLabel[]; - instantiatesCanonical?: string[]; - _instantiatesCanonical?: (Element | null)[]; - instantiatesUri?: string[]; - _instantiatesUri?: (Element | null)[]; - location?: Reference<"Location">; - note?: Annotation[]; - occurrenceDateTime?: string; - _occurrenceDateTime?: Element; - occurrencePeriod?: Period; - partOf?: Reference<"NutritionIntake" | "Observation" | "Procedure">[]; - performer?: NutritionIntakePerformer[]; - reason?: CodeableReference[]; - recorded?: string; - _recorded?: Element; - reportedBoolean?: boolean; - _reportedBoolean?: Element; - reportedReference?: Reference<"Organization" | "Patient" | "Practitioner" | "PractitionerRole" | "RelatedPerson">; - status: ("preparation" | "in-progress" | "not-done" | "on-hold" | "stopped" | "completed" | "entered-in-error" | "unknown"); - _status?: Element; - statusReason?: CodeableConcept[]; - subject: Reference<"Group" | "Patient">; -} -export const isNutritionIntake = (resource: unknown): resource is NutritionIntake => { - return resource !== null && typeof resource === "object" && (resource as {resourceType: string}).resourceType === "NutritionIntake"; -} 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 deleted file mode 100644 index 773aec23d..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/NutritionOrder.ts +++ /dev/null @@ -1,135 +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 { Annotation } from "../hl7-fhir-r5-core/Annotation"; -import type { BackboneElement } from "../hl7-fhir-r5-core/BackboneElement"; -import type { CodeableConcept } from "../hl7-fhir-r5-core/CodeableConcept"; -import type { CodeableReference } from "../hl7-fhir-r5-core/CodeableReference"; -import type { DomainResource } from "../hl7-fhir-r5-core/DomainResource"; -import type { Identifier } from "../hl7-fhir-r5-core/Identifier"; -import type { Quantity } from "../hl7-fhir-r5-core/Quantity"; -import type { Ratio } from "../hl7-fhir-r5-core/Ratio"; -import type { Reference } from "../hl7-fhir-r5-core/Reference"; -import type { Timing } from "../hl7-fhir-r5-core/Timing"; - -import type { Element } from "../hl7-fhir-r5-core/Element"; -export type { Annotation } from "../hl7-fhir-r5-core/Annotation"; -export type { BackboneElement } from "../hl7-fhir-r5-core/BackboneElement"; -export type { CodeableConcept } from "../hl7-fhir-r5-core/CodeableConcept"; -export type { CodeableReference } from "../hl7-fhir-r5-core/CodeableReference"; -export type { Identifier } from "../hl7-fhir-r5-core/Identifier"; -export type { Quantity } from "../hl7-fhir-r5-core/Quantity"; -export type { Ratio } from "../hl7-fhir-r5-core/Ratio"; -export type { Reference } from "../hl7-fhir-r5-core/Reference"; -export type { Timing } from "../hl7-fhir-r5-core/Timing"; - -export interface NutritionOrderEnteralFormula extends BackboneElement { - additive?: NutritionOrderEnteralFormulaAdditive[]; - administration?: NutritionOrderEnteralFormulaAdministration[]; - administrationInstruction?: string; - baseFormulaProductName?: string; - baseFormulaType?: CodeableReference; - caloricDensity?: Quantity; - deliveryDevice?: CodeableReference[]; - maxVolumeToDeliver?: Quantity; - routeOfAdministration?: CodeableConcept<("PO" | "EFT" | "ENTINSTL" | "GT" | "NGT" | "OGT" | "GJT" | "JJTINSTL" | "OJJ" | string)>; -} - -export interface NutritionOrderEnteralFormulaAdditive extends BackboneElement { - productName?: string; - quantity?: Quantity; - type?: CodeableReference; -} - -export interface NutritionOrderEnteralFormulaAdministration extends BackboneElement { - quantity?: Quantity; - rateQuantity?: Quantity; - rateRatio?: Ratio; - schedule?: NutritionOrderEnteralFormulaAdministrationSchedule; -} - -export interface NutritionOrderEnteralFormulaAdministrationSchedule extends BackboneElement { - asNeeded?: boolean; - asNeededFor?: CodeableConcept; - timing?: Timing[]; -} - -export interface NutritionOrderOralDiet extends BackboneElement { - fluidConsistencyType?: CodeableConcept[]; - instruction?: string; - nutrient?: NutritionOrderOralDietNutrient[]; - schedule?: NutritionOrderOralDietSchedule; - texture?: NutritionOrderOralDietTexture[]; - type?: CodeableConcept[]; -} - -export interface NutritionOrderOralDietNutrient extends BackboneElement { - amount?: Quantity; - modifier?: CodeableConcept; -} - -export interface NutritionOrderOralDietSchedule extends BackboneElement { - asNeeded?: boolean; - asNeededFor?: CodeableConcept; - timing?: Timing[]; -} - -export interface NutritionOrderOralDietTexture extends BackboneElement { - foodType?: CodeableConcept; - modifier?: CodeableConcept; -} - -export interface NutritionOrderSupplement extends BackboneElement { - instruction?: string; - productName?: string; - quantity?: Quantity; - schedule?: NutritionOrderSupplementSchedule; - type?: CodeableReference; -} - -export interface NutritionOrderSupplementSchedule extends BackboneElement { - asNeeded?: boolean; - asNeededFor?: CodeableConcept; - timing?: Timing[]; -} - -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/NutritionOrder (pkg: hl7.fhir.r5.core#5.0.0) -export interface NutritionOrder extends DomainResource { - resourceType: "NutritionOrder"; - - allergyIntolerance?: Reference<"AllergyIntolerance">[]; - basedOn?: Reference<"CarePlan" | "NutritionOrder" | "ServiceRequest">[]; - dateTime: string; - _dateTime?: Element; - encounter?: Reference<"Encounter">; - enteralFormula?: NutritionOrderEnteralFormula; - excludeFoodModifier?: CodeableConcept[]; - foodPreferenceModifier?: CodeableConcept[]; - groupIdentifier?: Identifier; - identifier?: Identifier[]; - instantiates?: string[]; - _instantiates?: (Element | null)[]; - instantiatesCanonical?: string[]; - _instantiatesCanonical?: (Element | null)[]; - instantiatesUri?: string[]; - _instantiatesUri?: (Element | null)[]; - intent: ("proposal" | "plan" | "directive" | "order" | "original-order" | "reflex-order" | "filler-order" | "instance-order" | "option"); - _intent?: Element; - note?: Annotation[]; - oralDiet?: NutritionOrderOralDiet; - orderer?: Reference<"Practitioner" | "PractitionerRole">; - outsideFoodAllowed?: boolean; - _outsideFoodAllowed?: Element; - performer?: CodeableReference[]; - priority?: ("routine" | "urgent" | "asap" | "stat"); - _priority?: Element; - status: ("draft" | "active" | "on-hold" | "revoked" | "completed" | "entered-in-error" | "unknown"); - _status?: Element; - subject: Reference<"Group" | "Patient">; - supplement?: NutritionOrderSupplement[]; - supportingInformation?: Reference<"Resource">[]; -} -export const isNutritionOrder = (resource: unknown): resource is NutritionOrder => { - return resource !== null && typeof resource === "object" && (resource as {resourceType: string}).resourceType === "NutritionOrder"; -} 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 deleted file mode 100644 index 09c01b3e3..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/NutritionProduct.ts +++ /dev/null @@ -1,75 +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 { Annotation } from "../hl7-fhir-r5-core/Annotation"; -import type { Attachment } from "../hl7-fhir-r5-core/Attachment"; -import type { BackboneElement } from "../hl7-fhir-r5-core/BackboneElement"; -import type { CodeableConcept } from "../hl7-fhir-r5-core/CodeableConcept"; -import type { CodeableReference } from "../hl7-fhir-r5-core/CodeableReference"; -import type { DomainResource } from "../hl7-fhir-r5-core/DomainResource"; -import type { Identifier } from "../hl7-fhir-r5-core/Identifier"; -import type { Quantity } from "../hl7-fhir-r5-core/Quantity"; -import type { Ratio } from "../hl7-fhir-r5-core/Ratio"; -import type { Reference } from "../hl7-fhir-r5-core/Reference"; - -import type { Element } from "../hl7-fhir-r5-core/Element"; -export type { Annotation } from "../hl7-fhir-r5-core/Annotation"; -export type { Attachment } from "../hl7-fhir-r5-core/Attachment"; -export type { BackboneElement } from "../hl7-fhir-r5-core/BackboneElement"; -export type { CodeableConcept } from "../hl7-fhir-r5-core/CodeableConcept"; -export type { CodeableReference } from "../hl7-fhir-r5-core/CodeableReference"; -export type { Identifier } from "../hl7-fhir-r5-core/Identifier"; -export type { Quantity } from "../hl7-fhir-r5-core/Quantity"; -export type { Ratio } from "../hl7-fhir-r5-core/Ratio"; -export type { Reference } from "../hl7-fhir-r5-core/Reference"; - -export interface NutritionProductCharacteristic extends BackboneElement { - type: CodeableConcept; - valueAttachment?: Attachment; - valueBase64Binary?: string; - valueBoolean?: boolean; - valueCodeableConcept?: CodeableConcept; - valueQuantity?: Quantity; - valueString?: string; -} - -export interface NutritionProductIngredient extends BackboneElement { - amount?: Ratio[]; - item: CodeableReference; -} - -export interface NutritionProductInstance extends BackboneElement { - biologicalSourceEvent?: Identifier; - expiry?: string; - identifier?: Identifier[]; - lotNumber?: string; - name?: string; - quantity?: Quantity; - useBy?: string; -} - -export interface NutritionProductNutrient extends BackboneElement { - amount?: Ratio[]; - item?: CodeableReference; -} - -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/NutritionProduct (pkg: hl7.fhir.r5.core#5.0.0) -export interface NutritionProduct extends DomainResource { - resourceType: "NutritionProduct"; - - category?: CodeableConcept[]; - characteristic?: NutritionProductCharacteristic[]; - code?: CodeableConcept; - ingredient?: NutritionProductIngredient[]; - instance?: NutritionProductInstance[]; - knownAllergen?: CodeableReference[]; - manufacturer?: Reference<"Organization">[]; - note?: Annotation[]; - nutrient?: NutritionProductNutrient[]; - status: string; - _status?: Element; -} -export const isNutritionProduct = (resource: unknown): resource is NutritionProduct => { - return resource !== null && typeof resource === "object" && (resource as {resourceType: string}).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 deleted file mode 100644 index 32d4278d1..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/Observation.ts +++ /dev/null @@ -1,129 +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 { Annotation } from "../hl7-fhir-r5-core/Annotation"; -import type { Attachment } from "../hl7-fhir-r5-core/Attachment"; -import type { BackboneElement } from "../hl7-fhir-r5-core/BackboneElement"; -import type { CodeableConcept } from "../hl7-fhir-r5-core/CodeableConcept"; -import type { DomainResource } from "../hl7-fhir-r5-core/DomainResource"; -import type { Identifier } from "../hl7-fhir-r5-core/Identifier"; -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"; -import type { Timing } from "../hl7-fhir-r5-core/Timing"; - -import type { Element } from "../hl7-fhir-r5-core/Element"; -export type { Annotation } from "../hl7-fhir-r5-core/Annotation"; -export type { Attachment } from "../hl7-fhir-r5-core/Attachment"; -export type { BackboneElement } from "../hl7-fhir-r5-core/BackboneElement"; -export type { CodeableConcept } from "../hl7-fhir-r5-core/CodeableConcept"; -export type { Identifier } from "../hl7-fhir-r5-core/Identifier"; -export type { Period } from "../hl7-fhir-r5-core/Period"; -export type { Quantity } from "../hl7-fhir-r5-core/Quantity"; -export type { Range } from "../hl7-fhir-r5-core/Range"; -export type { Ratio } from "../hl7-fhir-r5-core/Ratio"; -export type { Reference } from "../hl7-fhir-r5-core/Reference"; -export type { SampledData } from "../hl7-fhir-r5-core/SampledData"; -export type { Timing } from "../hl7-fhir-r5-core/Timing"; - -export interface ObservationComponent extends BackboneElement { - code: 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; - valueCodeableConcept?: CodeableConcept; - valueDateTime?: string; - valueInteger?: number; - valuePeriod?: Period; - valueQuantity?: Quantity; - valueRange?: Range; - valueRatio?: Ratio; - valueReference?: Reference<"MolecularSequence">; - valueSampledData?: SampledData; - valueString?: string; - valueTime?: string; -} - -export interface ObservationReferenceRange extends BackboneElement { - age?: Range; - appliesTo?: CodeableConcept[]; - high?: Quantity; - low?: Quantity; - normalValue?: CodeableConcept; - text?: string; - type?: CodeableConcept<("type" | "normal" | "recommended" | "treatment" | "therapeutic" | "pre" | "post" | "endocrine" | "pre-puberty" | "follicular" | "midcycle" | "luteal" | "postmenopausal" | string)>; -} - -export interface ObservationTriggeredBy extends BackboneElement { - observation: Reference<"Observation">; - reason?: string; - type: string; -} - -// 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<("social-history" | "vital-signs" | "imaging" | "laboratory" | "procedure" | "survey" | "exam" | "therapy" | "activity" | string)>[]; - code: CodeableConcept; - component?: ObservationComponent[]; - 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; - _effectiveDateTime?: Element; - effectiveInstant?: string; - _effectiveInstant?: Element; - effectivePeriod?: Period; - effectiveTiming?: Timing; - encounter?: Reference<"Encounter">; - focus?: Reference<"Resource">[]; - hasMember?: Reference<"MolecularSequence" | "Observation" | "QuestionnaireResponse">[]; - identifier?: Identifier[]; - instantiatesCanonical?: string; - _instantiatesCanonical?: Element; - instantiatesReference?: Reference<"ObservationDefinition">; - 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; - note?: Annotation[]; - partOf?: Reference<"GenomicStudy" | "ImagingStudy" | "Immunization" | "MedicationAdministration" | "MedicationDispense" | "MedicationStatement" | "Procedure">[]; - performer?: Reference<"CareTeam" | "Organization" | "Patient" | "Practitioner" | "PractitionerRole" | "RelatedPerson">[]; - referenceRange?: ObservationReferenceRange[]; - specimen?: Reference<"Group" | "Specimen">; - status: ("registered" | "preliminary" | "final" | "amended" | "corrected" | "cancelled" | "entered-in-error" | "unknown"); - _status?: Element; - subject?: Reference<"BiologicallyDerivedProduct" | "Device" | "Group" | "Location" | "Medication" | "NutritionProduct" | "Organization" | "Patient" | "Practitioner" | "Procedure" | "Substance">; - triggeredBy?: ObservationTriggeredBy[]; - valueAttachment?: Attachment; - valueBoolean?: boolean; - _valueBoolean?: Element; - valueCodeableConcept?: CodeableConcept; - valueDateTime?: string; - _valueDateTime?: Element; - valueInteger?: number; - _valueInteger?: Element; - valuePeriod?: Period; - valueQuantity?: Quantity; - valueRange?: Range; - valueRatio?: Ratio; - valueReference?: Reference<"MolecularSequence">; - valueSampledData?: SampledData; - valueString?: string; - _valueString?: Element; - valueTime?: string; - _valueTime?: Element; -} -export const isObservation = (resource: unknown): resource is Observation => { - return resource !== null && typeof resource === "object" && (resource as {resourceType: string}).resourceType === "Observation"; -} 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 deleted file mode 100644 index 98012f835..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/ObservationDefinition.ts +++ /dev/null @@ -1,114 +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 { BackboneElement } from "../hl7-fhir-r5-core/BackboneElement"; -import type { CodeableConcept } from "../hl7-fhir-r5-core/CodeableConcept"; -import type { Coding } from "../hl7-fhir-r5-core/Coding"; -import type { ContactDetail } from "../hl7-fhir-r5-core/ContactDetail"; -import type { DomainResource } from "../hl7-fhir-r5-core/DomainResource"; -import type { Identifier } from "../hl7-fhir-r5-core/Identifier"; -import type { Period } from "../hl7-fhir-r5-core/Period"; -import type { Range } from "../hl7-fhir-r5-core/Range"; -import type { Reference } from "../hl7-fhir-r5-core/Reference"; -import type { UsageContext } from "../hl7-fhir-r5-core/UsageContext"; - -import type { Element } from "../hl7-fhir-r5-core/Element"; -export type { BackboneElement } from "../hl7-fhir-r5-core/BackboneElement"; -export type { CodeableConcept } from "../hl7-fhir-r5-core/CodeableConcept"; -export type { Coding } from "../hl7-fhir-r5-core/Coding"; -export type { ContactDetail } from "../hl7-fhir-r5-core/ContactDetail"; -export type { Identifier } from "../hl7-fhir-r5-core/Identifier"; -export type { Period } from "../hl7-fhir-r5-core/Period"; -export type { Range } from "../hl7-fhir-r5-core/Range"; -export type { Reference } from "../hl7-fhir-r5-core/Reference"; -export type { UsageContext } from "../hl7-fhir-r5-core/UsageContext"; - -export interface ObservationDefinitionComponent extends BackboneElement { - code: CodeableConcept; - permittedDataType?: ("Quantity" | "CodeableConcept" | "string" | "boolean" | "integer" | "Range" | "Ratio" | "SampledData" | "time" | "dateTime" | "Period")[]; - permittedUnit?: Coding[]; - qualifiedValue?: ObservationDefinitionQualifiedValue[]; -} - -export interface ObservationDefinitionQualifiedValue extends BackboneElement { - abnormalCodedValueSet?: string; - age?: Range; - appliesTo?: CodeableConcept[]; - condition?: string; - 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; - normalCodedValueSet?: string; - range?: Range; - rangeCategory?: ("reference" | "critical" | "absolute"); - validCodedValueSet?: string; -} - -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/ObservationDefinition (pkg: hl7.fhir.r5.core#5.0.0) -export interface ObservationDefinition extends DomainResource { - resourceType: "ObservationDefinition"; - - approvalDate?: string; - _approvalDate?: Element; - bodySite?: CodeableConcept; - category?: CodeableConcept[]; - code: CodeableConcept; - component?: ObservationDefinitionComponent[]; - contact?: ContactDetail[]; - copyright?: string; - _copyright?: Element; - copyrightLabel?: string; - _copyrightLabel?: Element; - date?: string; - _date?: Element; - derivedFromCanonical?: string[]; - _derivedFromCanonical?: (Element | null)[]; - derivedFromUri?: string[]; - _derivedFromUri?: (Element | null)[]; - description?: string; - _description?: Element; - device?: Reference<"Device" | "DeviceDefinition">[]; - effectivePeriod?: Period; - experimental?: boolean; - _experimental?: Element; - hasMember?: Reference<"ObservationDefinition" | "Questionnaire">[]; - identifier?: Identifier; - jurisdiction?: CodeableConcept[]; - lastReviewDate?: string; - _lastReviewDate?: Element; - method?: CodeableConcept; - multipleResultsAllowed?: boolean; - _multipleResultsAllowed?: Element; - name?: string; - _name?: Element; - performerType?: CodeableConcept; - permittedDataType?: ("Quantity" | "CodeableConcept" | "string" | "boolean" | "integer" | "Range" | "Ratio" | "SampledData" | "time" | "dateTime" | "Period")[]; - _permittedDataType?: (Element | null)[]; - permittedUnit?: Coding[]; - preferredReportName?: string; - _preferredReportName?: Element; - publisher?: string; - _publisher?: Element; - purpose?: string; - _purpose?: Element; - qualifiedValue?: ObservationDefinitionQualifiedValue[]; - specimen?: Reference<"SpecimenDefinition">[]; - status: ("draft" | "active" | "retired" | "unknown"); - _status?: Element; - subject?: CodeableConcept[]; - title?: string; - _title?: Element; - url?: string; - _url?: Element; - useContext?: UsageContext[]; - version?: string; - _version?: Element; - versionAlgorithmCoding?: Coding; - versionAlgorithmString?: string; - _versionAlgorithmString?: Element; -} -export const isObservationDefinition = (resource: unknown): resource is ObservationDefinition => { - return resource !== null && typeof resource === "object" && (resource as {resourceType: string}).resourceType === "ObservationDefinition"; -} 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 deleted file mode 100644 index 87f34765b..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/OperationDefinition.ts +++ /dev/null @@ -1,114 +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 { BackboneElement } from "../hl7-fhir-r5-core/BackboneElement"; -import type { CodeableConcept } from "../hl7-fhir-r5-core/CodeableConcept"; -import type { Coding } from "../hl7-fhir-r5-core/Coding"; -import type { ContactDetail } from "../hl7-fhir-r5-core/ContactDetail"; -import type { DomainResource } from "../hl7-fhir-r5-core/DomainResource"; -import type { Identifier } from "../hl7-fhir-r5-core/Identifier"; -import type { UsageContext } from "../hl7-fhir-r5-core/UsageContext"; - -import type { Element } from "../hl7-fhir-r5-core/Element"; -export type { BackboneElement } from "../hl7-fhir-r5-core/BackboneElement"; -export type { CodeableConcept } from "../hl7-fhir-r5-core/CodeableConcept"; -export type { Coding } from "../hl7-fhir-r5-core/Coding"; -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"; - -export interface OperationDefinitionOverload extends BackboneElement { - comment?: string; - parameterName?: string[]; -} - -export interface OperationDefinitionParameter extends BackboneElement { - allowedType?: string[]; - binding?: OperationDefinitionParameterBinding; - documentation?: string; - max: string; - min: number; - name: string; - part?: OperationDefinitionParameter[]; - referencedFrom?: OperationDefinitionParameterReferencedFrom[]; - scope?: string[]; - searchType?: ("number" | "date" | "string" | "token" | "reference" | "composite" | "quantity" | "uri" | "special"); - targetProfile?: string[]; - type?: string; - use: ("in" | "out"); -} - -export interface OperationDefinitionParameterBinding extends BackboneElement { - strength: ("required" | "extensible" | "preferred" | "example"); - valueSet: string; -} - -export interface OperationDefinitionParameterReferencedFrom extends BackboneElement { - source: string; - sourceId?: string; -} - -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/OperationDefinition (pkg: hl7.fhir.r5.core#5.0.0) -export interface OperationDefinition extends DomainResource { - resourceType: "OperationDefinition"; - - affectsState?: boolean; - _affectsState?: Element; - base?: string; - _base?: Element; - code: string; - _code?: Element; - comment?: string; - _comment?: Element; - contact?: ContactDetail[]; - copyright?: string; - _copyright?: Element; - copyrightLabel?: string; - _copyrightLabel?: Element; - date?: string; - _date?: Element; - description?: string; - _description?: Element; - experimental?: boolean; - _experimental?: Element; - identifier?: Identifier[]; - inputProfile?: string; - _inputProfile?: Element; - instance: boolean; - _instance?: Element; - jurisdiction?: CodeableConcept[]; - kind: ("operation" | "query"); - _kind?: Element; - name: string; - _name?: Element; - outputProfile?: string; - _outputProfile?: Element; - overload?: OperationDefinitionOverload[]; - parameter?: OperationDefinitionParameter[]; - publisher?: string; - _publisher?: Element; - purpose?: string; - _purpose?: Element; - resource?: string[]; - _resource?: (Element | null)[]; - status: ("draft" | "active" | "retired" | "unknown"); - _status?: Element; - system: boolean; - _system?: Element; - title?: string; - _title?: Element; - type: boolean; - _type?: Element; - url?: string; - _url?: Element; - useContext?: UsageContext[]; - version?: string; - _version?: Element; - versionAlgorithmCoding?: Coding; - versionAlgorithmString?: string; - _versionAlgorithmString?: Element; -} -export const isOperationDefinition = (resource: unknown): resource is OperationDefinition => { - return resource !== null && typeof resource === "object" && (resource as {resourceType: string}).resourceType === "OperationDefinition"; -} 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 deleted file mode 100644 index 24911d66e..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/OperationOutcome.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 { BackboneElement } from "../hl7-fhir-r5-core/BackboneElement"; -import type { CodeableConcept } from "../hl7-fhir-r5-core/CodeableConcept"; -import type { DomainResource } from "../hl7-fhir-r5-core/DomainResource"; - -export type { BackboneElement } from "../hl7-fhir-r5-core/BackboneElement"; -export type { CodeableConcept } from "../hl7-fhir-r5-core/CodeableConcept"; - -export interface OperationOutcomeIssue extends BackboneElement { - code: ("invalid" | "structure" | "required" | "value" | "invariant" | "security" | "login" | "unknown" | "expired" | "forbidden" | "suppressed" | "processing" | "not-supported" | "duplicate" | "multiple-matches" | "not-found" | "deleted" | "too-long" | "code-invalid" | "extension" | "too-costly" | "business-rule" | "conflict" | "transient" | "lock-error" | "no-store" | "exception" | "timeout" | "incomplete" | "throttled" | "informational"); - details?: CodeableConcept; - diagnostics?: string; - expression?: string[]; - location?: string[]; - severity: ("fatal" | "error" | "warning" | "information"); -} - -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/OperationOutcome (pkg: hl7.fhir.r5.core#5.0.0) -export interface OperationOutcome extends DomainResource { - resourceType: "OperationOutcome"; - - issue: OperationOutcomeIssue[]; -} -export const isOperationOutcome = (resource: unknown): resource is OperationOutcome => { - return resource !== null && typeof resource === "object" && (resource as {resourceType: string}).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 deleted file mode 100644 index 77a70da1d..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/Organization.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 { BackboneElement } from "../hl7-fhir-r5-core/BackboneElement"; -import type { CodeableConcept } from "../hl7-fhir-r5-core/CodeableConcept"; -import type { DomainResource } from "../hl7-fhir-r5-core/DomainResource"; -import type { ExtendedContactDetail } from "../hl7-fhir-r5-core/ExtendedContactDetail"; -import type { Identifier } from "../hl7-fhir-r5-core/Identifier"; -import type { Period } from "../hl7-fhir-r5-core/Period"; -import type { Reference } from "../hl7-fhir-r5-core/Reference"; - -import type { Element } from "../hl7-fhir-r5-core/Element"; -export type { BackboneElement } from "../hl7-fhir-r5-core/BackboneElement"; -export type { CodeableConcept } from "../hl7-fhir-r5-core/CodeableConcept"; -export type { ExtendedContactDetail } from "../hl7-fhir-r5-core/ExtendedContactDetail"; -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"; - -export interface OrganizationQualification extends BackboneElement { - code: CodeableConcept; - identifier?: Identifier[]; - issuer?: Reference<"Organization">; - period?: Period; -} - -// 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 | null)[]; - contact?: ExtendedContactDetail[]; - description?: string; - _description?: Element; - endpoint?: Reference<"Endpoint">[]; - identifier?: Identifier[]; - name?: string; - _name?: Element; - partOf?: Reference<"Organization">; - qualification?: OrganizationQualification[]; - type?: CodeableConcept[]; -} -export const isOrganization = (resource: unknown): resource is Organization => { - return resource !== null && typeof resource === "object" && (resource as {resourceType: string}).resourceType === "Organization"; -} 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 deleted file mode 100644 index 4e04b9805..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/OrganizationAffiliation.ts +++ /dev/null @@ -1,39 +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 { DomainResource } from "../hl7-fhir-r5-core/DomainResource"; -import type { ExtendedContactDetail } from "../hl7-fhir-r5-core/ExtendedContactDetail"; -import type { Identifier } from "../hl7-fhir-r5-core/Identifier"; -import type { Period } from "../hl7-fhir-r5-core/Period"; -import type { Reference } from "../hl7-fhir-r5-core/Reference"; - -import type { Element } from "../hl7-fhir-r5-core/Element"; -export type { CodeableConcept } from "../hl7-fhir-r5-core/CodeableConcept"; -export type { ExtendedContactDetail } from "../hl7-fhir-r5-core/ExtendedContactDetail"; -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 (pkg: hl7.fhir.r5.core#5.0.0) -export interface OrganizationAffiliation extends DomainResource { - resourceType: "OrganizationAffiliation"; - - active?: boolean; - _active?: Element; - code?: CodeableConcept[]; - contact?: ExtendedContactDetail[]; - endpoint?: Reference<"Endpoint">[]; - healthcareService?: Reference<"HealthcareService">[]; - identifier?: Identifier[]; - location?: Reference<"Location">[]; - network?: Reference<"Organization">[]; - organization?: Reference<"Organization">; - participatingOrganization?: Reference<"Organization">; - period?: Period; - specialty?: CodeableConcept[]; -} -export const isOrganizationAffiliation = (resource: unknown): resource is OrganizationAffiliation => { - return resource !== null && typeof resource === "object" && (resource as {resourceType: string}).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 deleted file mode 100644 index 471b642a3..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/PackagedProductDefinition.ts +++ /dev/null @@ -1,86 +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 { BackboneElement } from "../hl7-fhir-r5-core/BackboneElement"; -import type { CodeableConcept } from "../hl7-fhir-r5-core/CodeableConcept"; -import type { CodeableReference } from "../hl7-fhir-r5-core/CodeableReference"; -import type { DomainResource } from "../hl7-fhir-r5-core/DomainResource"; -import type { Identifier } from "../hl7-fhir-r5-core/Identifier"; -import type { MarketingStatus } from "../hl7-fhir-r5-core/MarketingStatus"; -import type { ProductShelfLife } from "../hl7-fhir-r5-core/ProductShelfLife"; -import type { Quantity } from "../hl7-fhir-r5-core/Quantity"; -import type { Reference } from "../hl7-fhir-r5-core/Reference"; - -import type { Element } from "../hl7-fhir-r5-core/Element"; -export type { Attachment } from "../hl7-fhir-r5-core/Attachment"; -export type { BackboneElement } from "../hl7-fhir-r5-core/BackboneElement"; -export type { CodeableConcept } from "../hl7-fhir-r5-core/CodeableConcept"; -export type { CodeableReference } from "../hl7-fhir-r5-core/CodeableReference"; -export type { Identifier } from "../hl7-fhir-r5-core/Identifier"; -export type { MarketingStatus } from "../hl7-fhir-r5-core/MarketingStatus"; -export type { ProductShelfLife } from "../hl7-fhir-r5-core/ProductShelfLife"; -export type { Quantity } from "../hl7-fhir-r5-core/Quantity"; -export type { Reference } from "../hl7-fhir-r5-core/Reference"; - -export interface PackagedProductDefinitionLegalStatusOfSupply extends BackboneElement { - code?: CodeableConcept; - jurisdiction?: CodeableConcept; -} - -export interface PackagedProductDefinitionPackaging extends BackboneElement { - alternateMaterial?: CodeableConcept[]; - componentPart?: boolean; - containedItem?: PackagedProductDefinitionPackagingContainedItem[]; - identifier?: Identifier[]; - manufacturer?: Reference<"Organization">[]; - material?: CodeableConcept[]; - packaging?: PackagedProductDefinitionPackaging[]; - property?: PackagedProductDefinitionPackagingProperty[]; - quantity?: number; - shelfLifeStorage?: ProductShelfLife[]; - type?: CodeableConcept; -} - -export interface PackagedProductDefinitionPackagingContainedItem extends BackboneElement { - amount?: Quantity; - item: CodeableReference; -} - -export interface PackagedProductDefinitionPackagingProperty extends BackboneElement { - type: CodeableConcept; - valueAttachment?: Attachment; - valueBoolean?: boolean; - valueCodeableConcept?: CodeableConcept; - valueDate?: string; - valueQuantity?: Quantity; -} - -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/PackagedProductDefinition (pkg: hl7.fhir.r5.core#5.0.0) -export interface PackagedProductDefinition extends DomainResource { - resourceType: "PackagedProductDefinition"; - - attachedDocument?: Reference<"DocumentReference">[]; - characteristic?: PackagedProductDefinitionPackagingProperty[]; - containedItemQuantity?: Quantity[]; - copackagedIndicator?: boolean; - _copackagedIndicator?: Element; - description?: string; - _description?: Element; - identifier?: Identifier[]; - legalStatusOfSupply?: PackagedProductDefinitionLegalStatusOfSupply[]; - manufacturer?: Reference<"Organization">[]; - marketingStatus?: MarketingStatus[]; - name?: string; - _name?: Element; - packageFor?: Reference<"MedicinalProductDefinition">[]; - packaging?: PackagedProductDefinitionPackaging; - status?: CodeableConcept<("draft" | "active" | "retired" | "unknown" | string)>; - statusDate?: string; - _statusDate?: Element; - type?: CodeableConcept; -} -export const isPackagedProductDefinition = (resource: unknown): resource is PackagedProductDefinition => { - return resource !== null && typeof resource === "object" && (resource as {resourceType: string}).resourceType === "PackagedProductDefinition"; -} 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 deleted file mode 100644 index 8e9554aa6..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/ParameterDefinition.ts +++ /dev/null @@ -1,26 +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 { 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 (pkg: hl7.fhir.r5.core#5.0.0) -export interface ParameterDefinition extends DataType { - documentation?: string; - _documentation?: Element; - max?: string; - _max?: Element; - min?: number; - _min?: Element; - name?: string; - _name?: Element; - profile?: string; - _profile?: Element; - type: string; - _type?: Element; - use: ("in" | "out"); - _use?: 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 deleted file mode 100644 index 060c46eed..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/Parameters.ts +++ /dev/null @@ -1,146 +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 { Address } from "../hl7-fhir-r5-core/Address"; -import type { Age } from "../hl7-fhir-r5-core/Age"; -import type { Annotation } from "../hl7-fhir-r5-core/Annotation"; -import type { Attachment } from "../hl7-fhir-r5-core/Attachment"; -import type { Availability } from "../hl7-fhir-r5-core/Availability"; -import type { BackboneElement } from "../hl7-fhir-r5-core/BackboneElement"; -import type { CodeableConcept } from "../hl7-fhir-r5-core/CodeableConcept"; -import type { CodeableReference } from "../hl7-fhir-r5-core/CodeableReference"; -import type { Coding } from "../hl7-fhir-r5-core/Coding"; -import type { ContactDetail } from "../hl7-fhir-r5-core/ContactDetail"; -import type { ContactPoint } from "../hl7-fhir-r5-core/ContactPoint"; -import type { Count } from "../hl7-fhir-r5-core/Count"; -import type { DataRequirement } from "../hl7-fhir-r5-core/DataRequirement"; -import type { Distance } from "../hl7-fhir-r5-core/Distance"; -import type { Dosage } from "../hl7-fhir-r5-core/Dosage"; -import type { Duration } from "../hl7-fhir-r5-core/Duration"; -import type { Expression } from "../hl7-fhir-r5-core/Expression"; -import type { ExtendedContactDetail } from "../hl7-fhir-r5-core/ExtendedContactDetail"; -import type { HumanName } from "../hl7-fhir-r5-core/HumanName"; -import type { Identifier } from "../hl7-fhir-r5-core/Identifier"; -import type { Meta } from "../hl7-fhir-r5-core/Meta"; -import type { Money } from "../hl7-fhir-r5-core/Money"; -import type { ParameterDefinition } from "../hl7-fhir-r5-core/ParameterDefinition"; -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 { RatioRange } from "../hl7-fhir-r5-core/RatioRange"; -import type { Reference } from "../hl7-fhir-r5-core/Reference"; -import type { RelatedArtifact } from "../hl7-fhir-r5-core/RelatedArtifact"; -import type { Resource } from "../hl7-fhir-r5-core/Resource"; -import type { SampledData } from "../hl7-fhir-r5-core/SampledData"; -import type { Signature } from "../hl7-fhir-r5-core/Signature"; -import type { Timing } from "../hl7-fhir-r5-core/Timing"; -import type { TriggerDefinition } from "../hl7-fhir-r5-core/TriggerDefinition"; -import type { UsageContext } from "../hl7-fhir-r5-core/UsageContext"; - -export type { Address } from "../hl7-fhir-r5-core/Address"; -export type { Age } from "../hl7-fhir-r5-core/Age"; -export type { Annotation } from "../hl7-fhir-r5-core/Annotation"; -export type { Attachment } from "../hl7-fhir-r5-core/Attachment"; -export type { Availability } from "../hl7-fhir-r5-core/Availability"; -export type { BackboneElement } from "../hl7-fhir-r5-core/BackboneElement"; -export type { CodeableConcept } from "../hl7-fhir-r5-core/CodeableConcept"; -export type { CodeableReference } from "../hl7-fhir-r5-core/CodeableReference"; -export type { Coding } from "../hl7-fhir-r5-core/Coding"; -export type { ContactDetail } from "../hl7-fhir-r5-core/ContactDetail"; -export type { ContactPoint } from "../hl7-fhir-r5-core/ContactPoint"; -export type { Count } from "../hl7-fhir-r5-core/Count"; -export type { DataRequirement } from "../hl7-fhir-r5-core/DataRequirement"; -export type { Distance } from "../hl7-fhir-r5-core/Distance"; -export type { Dosage } from "../hl7-fhir-r5-core/Dosage"; -export type { Duration } from "../hl7-fhir-r5-core/Duration"; -export type { Expression } from "../hl7-fhir-r5-core/Expression"; -export type { ExtendedContactDetail } from "../hl7-fhir-r5-core/ExtendedContactDetail"; -export type { HumanName } from "../hl7-fhir-r5-core/HumanName"; -export type { Identifier } from "../hl7-fhir-r5-core/Identifier"; -export type { Meta } from "../hl7-fhir-r5-core/Meta"; -export type { Money } from "../hl7-fhir-r5-core/Money"; -export type { ParameterDefinition } from "../hl7-fhir-r5-core/ParameterDefinition"; -export type { Period } from "../hl7-fhir-r5-core/Period"; -export type { Quantity } from "../hl7-fhir-r5-core/Quantity"; -export type { Range } from "../hl7-fhir-r5-core/Range"; -export type { Ratio } from "../hl7-fhir-r5-core/Ratio"; -export type { RatioRange } from "../hl7-fhir-r5-core/RatioRange"; -export type { Reference } from "../hl7-fhir-r5-core/Reference"; -export type { RelatedArtifact } from "../hl7-fhir-r5-core/RelatedArtifact"; -export type { SampledData } from "../hl7-fhir-r5-core/SampledData"; -export type { Signature } from "../hl7-fhir-r5-core/Signature"; -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"; - -export interface ParametersParameter extends BackboneElement { - name: string; - part?: ParametersParameter[]; - resource?: Resource; - valueAddress?: Address; - valueAge?: Age; - valueAnnotation?: Annotation; - valueAttachment?: Attachment; - valueAvailability?: Availability; - valueBase64Binary?: string; - valueBoolean?: boolean; - valueCanonical?: string; - valueCode?: string; - valueCodeableConcept?: CodeableConcept; - valueCodeableReference?: CodeableReference; - valueCoding?: Coding; - valueContactDetail?: ContactDetail; - valueContactPoint?: ContactPoint; - valueCount?: Count; - valueDataRequirement?: DataRequirement; - valueDate?: string; - valueDateTime?: string; - valueDecimal?: number; - valueDistance?: Distance; - valueDosage?: Dosage; - valueDuration?: Duration; - valueExpression?: Expression; - valueExtendedContactDetail?: ExtendedContactDetail; - valueHumanName?: HumanName; - valueId?: string; - valueIdentifier?: Identifier; - valueInstant?: string; - valueInteger?: number; - valueInteger64?: number; - valueMarkdown?: string; - valueMeta?: Meta; - valueMoney?: Money; - valueOid?: string; - valueParameterDefinition?: ParameterDefinition; - valuePeriod?: Period; - valuePositiveInt?: number; - valueQuantity?: Quantity; - valueRange?: Range; - valueRatio?: Ratio; - valueRatioRange?: RatioRange; - valueReference?: Reference; - valueRelatedArtifact?: RelatedArtifact; - valueSampledData?: SampledData; - valueSignature?: Signature; - valueString?: string; - valueTime?: string; - valueTiming?: Timing; - valueTriggerDefinition?: TriggerDefinition; - valueUnsignedInt?: number; - valueUri?: string; - valueUrl?: string; - valueUsageContext?: UsageContext; - valueUuid?: string; -} - -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/Parameters (pkg: hl7.fhir.r5.core#5.0.0) -export interface Parameters extends Resource { - resourceType: "Parameters"; - - parameter?: ParametersParameter[]; -} -export const isParameters = (resource: unknown): resource is Parameters => { - return resource !== null && typeof resource === "object" && (resource as {resourceType: string}).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 deleted file mode 100644 index 5ecbf838e..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/Participant.ts +++ /dev/null @@ -1,11 +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 { Base } from "../hl7-fhir-r5-core/Base"; - -export type { Base } from "../hl7-fhir-r5-core/Base"; - -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/Participant (pkg: hl7.fhir.r5.core#5.0.0) -export interface Participant extends Base { -} 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 deleted file mode 100644 index 23b11b8d7..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/ParticipantContactable.ts +++ /dev/null @@ -1,11 +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 { Base } from "../hl7-fhir-r5-core/Base"; - -export type { Base } from "../hl7-fhir-r5-core/Base"; - -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/ParticipantContactable (pkg: hl7.fhir.r5.core#5.0.0) -export interface ParticipantContactable extends Base { -} 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 deleted file mode 100644 index 5764301f6..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/ParticipantLiving.ts +++ /dev/null @@ -1,11 +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 { Base } from "../hl7-fhir-r5-core/Base"; - -export type { Base } from "../hl7-fhir-r5-core/Base"; - -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/ParticipantLiving (pkg: hl7.fhir.r5.core#5.0.0) -export interface ParticipantLiving extends Base { -} 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 deleted file mode 100644 index 6ce779bf1..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/Patient.ts +++ /dev/null @@ -1,79 +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 { Address } from "../hl7-fhir-r5-core/Address"; -import type { Attachment } from "../hl7-fhir-r5-core/Attachment"; -import type { BackboneElement } from "../hl7-fhir-r5-core/BackboneElement"; -import type { CodeableConcept } from "../hl7-fhir-r5-core/CodeableConcept"; -import type { ContactPoint } from "../hl7-fhir-r5-core/ContactPoint"; -import type { DomainResource } from "../hl7-fhir-r5-core/DomainResource"; -import type { HumanName } from "../hl7-fhir-r5-core/HumanName"; -import type { Identifier } from "../hl7-fhir-r5-core/Identifier"; -import type { Period } from "../hl7-fhir-r5-core/Period"; -import type { Reference } from "../hl7-fhir-r5-core/Reference"; - -import type { Element } from "../hl7-fhir-r5-core/Element"; -export type { Address } from "../hl7-fhir-r5-core/Address"; -export type { Attachment } from "../hl7-fhir-r5-core/Attachment"; -export type { BackboneElement } from "../hl7-fhir-r5-core/BackboneElement"; -export type { CodeableConcept } from "../hl7-fhir-r5-core/CodeableConcept"; -export type { ContactPoint } from "../hl7-fhir-r5-core/ContactPoint"; -export type { HumanName } from "../hl7-fhir-r5-core/HumanName"; -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"; - -export interface PatientCommunication extends BackboneElement { - language: CodeableConcept; - preferred?: boolean; -} - -export interface PatientContact extends BackboneElement { - address?: Address; - gender?: ("male" | "female" | "other" | "unknown"); - name?: HumanName; - organization?: Reference<"Organization">; - period?: Period; - relationship?: CodeableConcept[]; - telecom?: ContactPoint[]; -} - -export interface PatientLink extends BackboneElement { - other: Reference<"Patient" | "RelatedPerson">; - type: ("replaced-by" | "replaces" | "refer" | "seealso"); -} - -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/Patient (pkg: hl7.fhir.r5.core#5.0.0) -export interface Patient extends DomainResource { - resourceType: "Patient"; - - active?: boolean; - _active?: Element; - address?: Address[]; - birthDate?: string; - _birthDate?: Element; - communication?: PatientCommunication[]; - contact?: PatientContact[]; - deceasedBoolean?: boolean; - _deceasedBoolean?: Element; - deceasedDateTime?: string; - _deceasedDateTime?: Element; - gender?: ("male" | "female" | "other" | "unknown"); - _gender?: Element; - generalPractitioner?: Reference<"Organization" | "Practitioner" | "PractitionerRole">[]; - identifier?: Identifier[]; - link?: PatientLink[]; - managingOrganization?: Reference<"Organization">; - maritalStatus?: CodeableConcept<("A" | "D" | "I" | "L" | "M" | "P" | "S" | "T" | "U" | "W" | "UNK" | string)>; - multipleBirthBoolean?: boolean; - _multipleBirthBoolean?: Element; - multipleBirthInteger?: number; - _multipleBirthInteger?: Element; - name?: HumanName[]; - photo?: Attachment[]; - telecom?: ContactPoint[]; -} -export const isPatient = (resource: unknown): resource is Patient => { - return resource !== null && typeof resource === "object" && (resource as {resourceType: string}).resourceType === "Patient"; -} 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 deleted file mode 100644 index d6006b337..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/PaymentNotice.ts +++ /dev/null @@ -1,39 +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 { DomainResource } from "../hl7-fhir-r5-core/DomainResource"; -import type { Identifier } from "../hl7-fhir-r5-core/Identifier"; -import type { Money } from "../hl7-fhir-r5-core/Money"; -import type { Reference } from "../hl7-fhir-r5-core/Reference"; - -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"; -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 (pkg: hl7.fhir.r5.core#5.0.0) -export interface PaymentNotice extends DomainResource { - resourceType: "PaymentNotice"; - - amount: Money; - created: string; - _created?: Element; - identifier?: Identifier[]; - payee?: Reference<"Organization" | "Practitioner" | "PractitionerRole">; - payment?: Reference<"PaymentReconciliation">; - paymentDate?: string; - _paymentDate?: Element; - paymentStatus?: CodeableConcept; - recipient: Reference<"Organization">; - reporter?: Reference<"Organization" | "Practitioner" | "PractitionerRole">; - request?: Reference<"Resource">; - response?: Reference<"Resource">; - status: ("active" | "cancelled" | "draft" | "entered-in-error"); - _status?: Element; -} -export const isPaymentNotice = (resource: unknown): resource is PaymentNotice => { - return resource !== null && typeof resource === "object" && (resource as {resourceType: string}).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 deleted file mode 100644 index 0fb44c0c2..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/PaymentReconciliation.ts +++ /dev/null @@ -1,91 +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 { BackboneElement } from "../hl7-fhir-r5-core/BackboneElement"; -import type { CodeableConcept } from "../hl7-fhir-r5-core/CodeableConcept"; -import type { DomainResource } from "../hl7-fhir-r5-core/DomainResource"; -import type { Identifier } from "../hl7-fhir-r5-core/Identifier"; -import type { Money } from "../hl7-fhir-r5-core/Money"; -import type { Period } from "../hl7-fhir-r5-core/Period"; -import type { Reference } from "../hl7-fhir-r5-core/Reference"; - -import type { Element } from "../hl7-fhir-r5-core/Element"; -export type { BackboneElement } from "../hl7-fhir-r5-core/BackboneElement"; -export type { CodeableConcept } from "../hl7-fhir-r5-core/CodeableConcept"; -export type { Identifier } from "../hl7-fhir-r5-core/Identifier"; -export type { Money } from "../hl7-fhir-r5-core/Money"; -export type { Period } from "../hl7-fhir-r5-core/Period"; -export type { Reference } from "../hl7-fhir-r5-core/Reference"; - -export interface PaymentReconciliationAllocation extends BackboneElement { - account?: Reference<"Account">; - amount?: Money; - date?: string; - encounter?: Reference<"Encounter">; - identifier?: Identifier; - payee?: Reference<"Organization" | "Practitioner" | "PractitionerRole">; - predecessor?: Identifier; - response?: Reference<"ClaimResponse">; - responsible?: Reference<"PractitionerRole">; - submitter?: Reference<"Organization" | "Practitioner" | "PractitionerRole">; - target?: Reference<"Account" | "ChargeItem" | "Claim" | "Contract" | "Encounter" | "Invoice">; - targetItemIdentifier?: Identifier; - targetItemPositiveInt?: number; - targetItemString?: string; - type?: CodeableConcept<("payment" | "adjustment" | "advance" | string)>; -} - -export interface PaymentReconciliationProcessNote extends BackboneElement { - text?: string; - type?: ("display" | "print" | "printoper"); -} - -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/PaymentReconciliation (pkg: hl7.fhir.r5.core#5.0.0) -export interface PaymentReconciliation extends DomainResource { - resourceType: "PaymentReconciliation"; - - accountNumber?: string; - _accountNumber?: Element; - allocation?: PaymentReconciliationAllocation[]; - amount: Money; - authorization?: string; - _authorization?: Element; - cardBrand?: string; - _cardBrand?: Element; - created: string; - _created?: Element; - date: string; - _date?: Element; - disposition?: string; - _disposition?: Element; - enterer?: Reference<"Organization" | "Practitioner" | "PractitionerRole">; - expirationDate?: string; - _expirationDate?: Element; - formCode?: CodeableConcept; - identifier?: Identifier[]; - issuerType?: CodeableConcept; - kind?: CodeableConcept; - location?: Reference<"Location">; - method?: CodeableConcept<("CASH" | "CCCA" | "CCHK" | "CDAC" | "CHCK" | "DDPO" | "DEBC" | "SWFT" | "TRAC" | "VISN" | string)>; - outcome?: string; - _outcome?: Element; - paymentIdentifier?: Identifier; - paymentIssuer?: Reference<"Organization" | "Patient" | "RelatedPerson">; - period?: Period; - processNote?: PaymentReconciliationProcessNote[]; - processor?: string; - _processor?: Element; - referenceNumber?: string; - _referenceNumber?: Element; - request?: Reference<"Task">; - requestor?: Reference<"Organization" | "Practitioner" | "PractitionerRole">; - returnedAmount?: Money; - status: ("active" | "cancelled" | "draft" | "entered-in-error"); - _status?: Element; - tenderedAmount?: Money; - 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 deleted file mode 100644 index 81d00dc71..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/Period.ts +++ /dev/null @@ -1,16 +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 { 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 (pkg: hl7.fhir.r5.core#5.0.0) -export interface Period extends DataType { - end?: string; - _end?: Element; - start?: string; - _start?: 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 deleted file mode 100644 index e012cee94..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/Permission.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 { BackboneElement } from "../hl7-fhir-r5-core/BackboneElement"; -import type { CodeableConcept } from "../hl7-fhir-r5-core/CodeableConcept"; -import type { Coding } from "../hl7-fhir-r5-core/Coding"; -import type { DomainResource } from "../hl7-fhir-r5-core/DomainResource"; -import type { Expression } from "../hl7-fhir-r5-core/Expression"; -import type { Period } from "../hl7-fhir-r5-core/Period"; -import type { Reference } from "../hl7-fhir-r5-core/Reference"; - -import type { Element } from "../hl7-fhir-r5-core/Element"; -export type { BackboneElement } from "../hl7-fhir-r5-core/BackboneElement"; -export type { CodeableConcept } from "../hl7-fhir-r5-core/CodeableConcept"; -export type { Coding } from "../hl7-fhir-r5-core/Coding"; -export type { Expression } from "../hl7-fhir-r5-core/Expression"; -export type { Period } from "../hl7-fhir-r5-core/Period"; -export type { Reference } from "../hl7-fhir-r5-core/Reference"; - -export interface PermissionJustification extends BackboneElement { - basis?: CodeableConcept[]; - evidence?: Reference<"Resource">[]; -} - -export interface PermissionRule extends BackboneElement { - activity?: PermissionRuleActivity[]; - data?: PermissionRuleData[]; - limit?: CodeableConcept[]; - type?: ("deny" | "permit"); -} - -export interface PermissionRuleActivity extends BackboneElement { - action?: CodeableConcept[]; - actor?: Reference<"CareTeam" | "Device" | "Group" | "Organization" | "Patient" | "Practitioner" | "PractitionerRole" | "RelatedPerson">[]; - purpose?: CodeableConcept[]; -} - -export interface PermissionRuleData extends BackboneElement { - expression?: Expression; - period?: Period[]; - resource?: PermissionRuleDataResource[]; - security?: Coding[]; -} - -export interface PermissionRuleDataResource extends BackboneElement { - meaning: ("instance" | "related" | "dependents" | "authoredby"); - reference: Reference<"Resource">; -} - -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/Permission (pkg: hl7.fhir.r5.core#5.0.0) -export interface Permission extends DomainResource { - resourceType: "Permission"; - - asserter?: Reference<"CareTeam" | "HealthcareService" | "Organization" | "Patient" | "Practitioner" | "PractitionerRole" | "RelatedPerson">; - combining: string; - _combining?: Element; - date?: string[]; - _date?: (Element | null)[]; - justification?: PermissionJustification; - rule?: PermissionRule[]; - status: string; - _status?: Element; - validity?: Period; -} -export const isPermission = (resource: unknown): resource is Permission => { - return resource !== null && typeof resource === "object" && (resource as {resourceType: string}).resourceType === "Permission"; -} 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 deleted file mode 100644 index 4c15ea5f5..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/Person.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 { Address } from "../hl7-fhir-r5-core/Address"; -import type { Attachment } from "../hl7-fhir-r5-core/Attachment"; -import type { BackboneElement } from "../hl7-fhir-r5-core/BackboneElement"; -import type { CodeableConcept } from "../hl7-fhir-r5-core/CodeableConcept"; -import type { ContactPoint } from "../hl7-fhir-r5-core/ContactPoint"; -import type { DomainResource } from "../hl7-fhir-r5-core/DomainResource"; -import type { HumanName } from "../hl7-fhir-r5-core/HumanName"; -import type { Identifier } from "../hl7-fhir-r5-core/Identifier"; -import type { Reference } from "../hl7-fhir-r5-core/Reference"; - -import type { Element } from "../hl7-fhir-r5-core/Element"; -export type { Address } from "../hl7-fhir-r5-core/Address"; -export type { Attachment } from "../hl7-fhir-r5-core/Attachment"; -export type { BackboneElement } from "../hl7-fhir-r5-core/BackboneElement"; -export type { CodeableConcept } from "../hl7-fhir-r5-core/CodeableConcept"; -export type { ContactPoint } from "../hl7-fhir-r5-core/ContactPoint"; -export type { HumanName } from "../hl7-fhir-r5-core/HumanName"; -export type { Identifier } from "../hl7-fhir-r5-core/Identifier"; -export type { Reference } from "../hl7-fhir-r5-core/Reference"; - -export interface PersonCommunication extends BackboneElement { - language: CodeableConcept; - preferred?: boolean; -} - -export interface PersonLink extends BackboneElement { - assurance?: ("level1" | "level2" | "level3" | "level4"); - target: Reference<"Patient" | "Person" | "Practitioner" | "RelatedPerson">; -} - -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/Person (pkg: hl7.fhir.r5.core#5.0.0) -export interface Person extends DomainResource { - resourceType: "Person"; - - active?: boolean; - _active?: Element; - address?: Address[]; - birthDate?: string; - _birthDate?: Element; - communication?: PersonCommunication[]; - deceasedBoolean?: boolean; - _deceasedBoolean?: Element; - deceasedDateTime?: string; - _deceasedDateTime?: Element; - gender?: ("male" | "female" | "other" | "unknown"); - _gender?: Element; - identifier?: Identifier[]; - link?: PersonLink[]; - managingOrganization?: Reference<"Organization">; - maritalStatus?: CodeableConcept<("A" | "D" | "I" | "L" | "M" | "P" | "S" | "T" | "U" | "W" | "UNK" | string)>; - name?: HumanName[]; - photo?: Attachment[]; - telecom?: ContactPoint[]; -} -export const isPerson = (resource: unknown): resource is Person => { - return resource !== null && typeof resource === "object" && (resource as {resourceType: string}).resourceType === "Person"; -} 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 deleted file mode 100644 index 2c59c3e22..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/PlanDefinition.ts +++ /dev/null @@ -1,225 +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 { Age } from "../hl7-fhir-r5-core/Age"; -import type { BackboneElement } from "../hl7-fhir-r5-core/BackboneElement"; -import type { CodeableConcept } from "../hl7-fhir-r5-core/CodeableConcept"; -import type { CodeableReference } from "../hl7-fhir-r5-core/CodeableReference"; -import type { Coding } from "../hl7-fhir-r5-core/Coding"; -import type { ContactDetail } from "../hl7-fhir-r5-core/ContactDetail"; -import type { DataRequirement } from "../hl7-fhir-r5-core/DataRequirement"; -import type { DomainResource } from "../hl7-fhir-r5-core/DomainResource"; -import type { Duration } from "../hl7-fhir-r5-core/Duration"; -import type { Expression } from "../hl7-fhir-r5-core/Expression"; -import type { Identifier } from "../hl7-fhir-r5-core/Identifier"; -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 { RelatedArtifact } from "../hl7-fhir-r5-core/RelatedArtifact"; -import type { Timing } from "../hl7-fhir-r5-core/Timing"; -import type { TriggerDefinition } from "../hl7-fhir-r5-core/TriggerDefinition"; -import type { UsageContext } from "../hl7-fhir-r5-core/UsageContext"; - -import type { Element } from "../hl7-fhir-r5-core/Element"; -export type { Age } from "../hl7-fhir-r5-core/Age"; -export type { BackboneElement } from "../hl7-fhir-r5-core/BackboneElement"; -export type { CodeableConcept } from "../hl7-fhir-r5-core/CodeableConcept"; -export type { CodeableReference } from "../hl7-fhir-r5-core/CodeableReference"; -export type { Coding } from "../hl7-fhir-r5-core/Coding"; -export type { ContactDetail } from "../hl7-fhir-r5-core/ContactDetail"; -export type { DataRequirement } from "../hl7-fhir-r5-core/DataRequirement"; -export type { Duration } from "../hl7-fhir-r5-core/Duration"; -export type { Expression } from "../hl7-fhir-r5-core/Expression"; -export type { Identifier } from "../hl7-fhir-r5-core/Identifier"; -export type { Period } from "../hl7-fhir-r5-core/Period"; -export type { Quantity } from "../hl7-fhir-r5-core/Quantity"; -export type { Range } from "../hl7-fhir-r5-core/Range"; -export type { Ratio } from "../hl7-fhir-r5-core/Ratio"; -export type { Reference } from "../hl7-fhir-r5-core/Reference"; -export type { RelatedArtifact } from "../hl7-fhir-r5-core/RelatedArtifact"; -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"; - -export interface PlanDefinitionAction extends BackboneElement { - action?: PlanDefinitionAction[]; - cardinalityBehavior?: ("single" | "multiple"); - code?: CodeableConcept; - condition?: PlanDefinitionActionCondition[]; - definitionCanonical?: string; - definitionUri?: string; - description?: string; - documentation?: RelatedArtifact[]; - dynamicValue?: PlanDefinitionActionDynamicValue[]; - goalId?: string[]; - groupingBehavior?: ("visual-group" | "logical-group" | "sentence-group"); - input?: PlanDefinitionActionInput[]; - linkId?: string; - location?: CodeableReference; - output?: PlanDefinitionActionOutput[]; - participant?: PlanDefinitionActionParticipant[]; - precheckBehavior?: ("yes" | "no"); - prefix?: string; - priority?: ("routine" | "urgent" | "asap" | "stat"); - reason?: CodeableConcept[]; - relatedAction?: PlanDefinitionActionRelatedAction[]; - requiredBehavior?: ("must" | "could" | "must-unless-documented"); - selectionBehavior?: ("any" | "all" | "all-or-none" | "exactly-one" | "at-most-one" | "one-or-more"); - subjectCanonical?: string; - subjectCodeableConcept?: CodeableConcept; - subjectReference?: Reference<"Group">; - textEquivalent?: string; - timingAge?: Age; - timingDuration?: Duration; - timingRange?: Range; - timingTiming?: Timing; - title?: string; - transform?: string; - trigger?: TriggerDefinition[]; - type?: CodeableConcept<("create" | "update" | "remove" | "fire-event" | string)>; -} - -export interface PlanDefinitionActionCondition extends BackboneElement { - expression?: Expression; - kind: ("applicability" | "start" | "stop"); -} - -export interface PlanDefinitionActionDynamicValue extends BackboneElement { - expression?: Expression; - path?: string; -} - -export interface PlanDefinitionActionInput extends BackboneElement { - relatedData?: string; - requirement?: DataRequirement; - title?: string; -} - -export interface PlanDefinitionActionOutput extends BackboneElement { - relatedData?: string; - requirement?: DataRequirement; - title?: string; -} - -export interface PlanDefinitionActionParticipant extends BackboneElement { - actorId?: string; - "function"?: CodeableConcept; - role?: CodeableConcept; - type?: ("patient" | "practitioner" | "related-person" | "device"); - typeCanonical?: string; - typeReference?: Reference<"CareTeam" | "Device" | "DeviceDefinition" | "Endpoint" | "Group" | "HealthcareService" | "Location" | "Organization" | "Patient" | "Practitioner" | "PractitionerRole" | "RelatedPerson">; -} - -export interface PlanDefinitionActionRelatedAction extends BackboneElement { - endRelationship?: ("before-start" | "before" | "before-end" | "concurrent-with-start" | "concurrent" | "concurrent-with-end" | "after-start" | "after" | "after-end"); - offsetDuration?: Duration; - offsetRange?: Range; - relationship: ("before-start" | "before" | "before-end" | "concurrent-with-start" | "concurrent" | "concurrent-with-end" | "after-start" | "after" | "after-end"); - targetId: string; -} - -export interface PlanDefinitionActor extends BackboneElement { - description?: string; - option: PlanDefinitionActorOption[]; - title?: string; -} - -export interface PlanDefinitionActorOption extends BackboneElement { - role?: CodeableConcept; - type?: ("patient" | "practitioner" | "related-person" | "device"); - typeCanonical?: string; - typeReference?: Reference<"CareTeam" | "Device" | "DeviceDefinition" | "Endpoint" | "Group" | "HealthcareService" | "Location" | "Organization" | "Patient" | "Practitioner" | "PractitionerRole" | "RelatedPerson">; -} - -export interface PlanDefinitionGoal extends BackboneElement { - addresses?: CodeableConcept[]; - category?: CodeableConcept; - description: CodeableConcept; - documentation?: RelatedArtifact[]; - priority?: CodeableConcept<("high-priority" | "medium-priority" | "low-priority" | string)>; - start?: CodeableConcept; - target?: PlanDefinitionGoalTarget[]; -} - -export interface PlanDefinitionGoalTarget extends BackboneElement { - detailBoolean?: boolean; - detailCodeableConcept?: CodeableConcept; - detailInteger?: number; - detailQuantity?: Quantity; - detailRange?: Range; - detailRatio?: Ratio; - detailString?: string; - due?: Duration; - measure?: CodeableConcept; -} - -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/PlanDefinition (pkg: hl7.fhir.r5.core#5.0.0) -export interface PlanDefinition extends DomainResource { - resourceType: "PlanDefinition"; - - action?: PlanDefinitionAction[]; - actor?: PlanDefinitionActor[]; - approvalDate?: string; - _approvalDate?: Element; - asNeededBoolean?: boolean; - _asNeededBoolean?: Element; - asNeededCodeableConcept?: CodeableConcept; - author?: ContactDetail[]; - contact?: ContactDetail[]; - copyright?: string; - _copyright?: Element; - copyrightLabel?: string; - _copyrightLabel?: Element; - date?: string; - _date?: Element; - description?: string; - _description?: Element; - editor?: ContactDetail[]; - effectivePeriod?: Period; - endorser?: ContactDetail[]; - experimental?: boolean; - _experimental?: Element; - goal?: PlanDefinitionGoal[]; - identifier?: Identifier[]; - jurisdiction?: CodeableConcept[]; - lastReviewDate?: string; - _lastReviewDate?: Element; - library?: string[]; - _library?: (Element | null)[]; - name?: string; - _name?: Element; - publisher?: string; - _publisher?: Element; - purpose?: string; - _purpose?: Element; - relatedArtifact?: RelatedArtifact[]; - reviewer?: ContactDetail[]; - status: ("draft" | "active" | "retired" | "unknown"); - _status?: Element; - subjectCanonical?: string; - _subjectCanonical?: Element; - subjectCodeableConcept?: CodeableConcept; - subjectReference?: Reference<"AdministrableProductDefinition" | "Group" | "ManufacturedItemDefinition" | "MedicinalProductDefinition" | "PackagedProductDefinition" | "SubstanceDefinition">; - subtitle?: string; - _subtitle?: Element; - title?: string; - _title?: Element; - topic?: CodeableConcept[]; - type?: CodeableConcept<("order-set" | "clinical-protocol" | "eca-rule" | "workflow-definition" | string)>; - url?: string; - _url?: Element; - usage?: string; - _usage?: Element; - useContext?: UsageContext[]; - version?: string; - _version?: Element; - versionAlgorithmCoding?: Coding; - versionAlgorithmString?: string; - _versionAlgorithmString?: Element; -} -export const isPlanDefinition = (resource: unknown): resource is PlanDefinition => { - return resource !== null && typeof resource === "object" && (resource as {resourceType: string}).resourceType === "PlanDefinition"; -} 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 deleted file mode 100644 index 4f04eef26..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/Practitioner.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 { Address } from "../hl7-fhir-r5-core/Address"; -import type { Attachment } from "../hl7-fhir-r5-core/Attachment"; -import type { BackboneElement } from "../hl7-fhir-r5-core/BackboneElement"; -import type { CodeableConcept } from "../hl7-fhir-r5-core/CodeableConcept"; -import type { ContactPoint } from "../hl7-fhir-r5-core/ContactPoint"; -import type { DomainResource } from "../hl7-fhir-r5-core/DomainResource"; -import type { HumanName } from "../hl7-fhir-r5-core/HumanName"; -import type { Identifier } from "../hl7-fhir-r5-core/Identifier"; -import type { Period } from "../hl7-fhir-r5-core/Period"; -import type { Reference } from "../hl7-fhir-r5-core/Reference"; - -import type { Element } from "../hl7-fhir-r5-core/Element"; -export type { Address } from "../hl7-fhir-r5-core/Address"; -export type { Attachment } from "../hl7-fhir-r5-core/Attachment"; -export type { BackboneElement } from "../hl7-fhir-r5-core/BackboneElement"; -export type { CodeableConcept } from "../hl7-fhir-r5-core/CodeableConcept"; -export type { ContactPoint } from "../hl7-fhir-r5-core/ContactPoint"; -export type { HumanName } from "../hl7-fhir-r5-core/HumanName"; -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"; - -export interface PractitionerCommunication extends BackboneElement { - language: CodeableConcept; - preferred?: boolean; -} - -export interface PractitionerQualification extends BackboneElement { - code: CodeableConcept; - identifier?: Identifier[]; - issuer?: Reference<"Organization">; - period?: Period; -} - -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/Practitioner (pkg: hl7.fhir.r5.core#5.0.0) -export interface Practitioner extends DomainResource { - resourceType: "Practitioner"; - - active?: boolean; - _active?: Element; - address?: Address[]; - birthDate?: string; - _birthDate?: Element; - communication?: PractitionerCommunication[]; - deceasedBoolean?: boolean; - _deceasedBoolean?: Element; - deceasedDateTime?: string; - _deceasedDateTime?: Element; - gender?: ("male" | "female" | "other" | "unknown"); - _gender?: Element; - identifier?: Identifier[]; - name?: HumanName[]; - photo?: Attachment[]; - qualification?: PractitionerQualification[]; - telecom?: ContactPoint[]; -} -export const isPractitioner = (resource: unknown): resource is Practitioner => { - return resource !== null && typeof resource === "object" && (resource as {resourceType: string}).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 deleted file mode 100644 index 080895a66..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/PractitionerRole.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 { Availability } from "../hl7-fhir-r5-core/Availability"; -import type { CodeableConcept } from "../hl7-fhir-r5-core/CodeableConcept"; -import type { DomainResource } from "../hl7-fhir-r5-core/DomainResource"; -import type { ExtendedContactDetail } from "../hl7-fhir-r5-core/ExtendedContactDetail"; -import type { Identifier } from "../hl7-fhir-r5-core/Identifier"; -import type { Period } from "../hl7-fhir-r5-core/Period"; -import type { Reference } from "../hl7-fhir-r5-core/Reference"; - -import type { Element } from "../hl7-fhir-r5-core/Element"; -export type { Availability } from "../hl7-fhir-r5-core/Availability"; -export type { CodeableConcept } from "../hl7-fhir-r5-core/CodeableConcept"; -export type { ExtendedContactDetail } from "../hl7-fhir-r5-core/ExtendedContactDetail"; -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 (pkg: hl7.fhir.r5.core#5.0.0) -export interface PractitionerRole extends DomainResource { - resourceType: "PractitionerRole"; - - active?: boolean; - _active?: Element; - availability?: Availability[]; - characteristic?: CodeableConcept[]; - code?: CodeableConcept[]; - communication?: CodeableConcept[]; - contact?: ExtendedContactDetail[]; - endpoint?: Reference<"Endpoint">[]; - healthcareService?: Reference<"HealthcareService">[]; - identifier?: Identifier[]; - location?: Reference<"Location">[]; - organization?: Reference<"Organization">; - period?: Period; - practitioner?: Reference<"Practitioner">; - specialty?: CodeableConcept[]; -} -export const isPractitionerRole = (resource: unknown): resource is PractitionerRole => { - return resource !== null && typeof resource === "object" && (resource as {resourceType: string}).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 deleted file mode 100644 index a1c1453ad..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/PrimitiveType.ts +++ /dev/null @@ -1,11 +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 { DataType } from "../hl7-fhir-r5-core/DataType"; - -export type { DataType } from "../hl7-fhir-r5-core/DataType"; - -// 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 deleted file mode 100644 index a2a2bb43e..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/Procedure.ts +++ /dev/null @@ -1,89 +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 { Age } from "../hl7-fhir-r5-core/Age"; -import type { Annotation } from "../hl7-fhir-r5-core/Annotation"; -import type { BackboneElement } from "../hl7-fhir-r5-core/BackboneElement"; -import type { CodeableConcept } from "../hl7-fhir-r5-core/CodeableConcept"; -import type { CodeableReference } from "../hl7-fhir-r5-core/CodeableReference"; -import type { DomainResource } from "../hl7-fhir-r5-core/DomainResource"; -import type { Identifier } from "../hl7-fhir-r5-core/Identifier"; -import type { Period } from "../hl7-fhir-r5-core/Period"; -import type { Range } from "../hl7-fhir-r5-core/Range"; -import type { Reference } from "../hl7-fhir-r5-core/Reference"; -import type { Timing } from "../hl7-fhir-r5-core/Timing"; - -import type { Element } from "../hl7-fhir-r5-core/Element"; -export type { Age } from "../hl7-fhir-r5-core/Age"; -export type { Annotation } from "../hl7-fhir-r5-core/Annotation"; -export type { BackboneElement } from "../hl7-fhir-r5-core/BackboneElement"; -export type { CodeableConcept } from "../hl7-fhir-r5-core/CodeableConcept"; -export type { CodeableReference } from "../hl7-fhir-r5-core/CodeableReference"; -export type { Identifier } from "../hl7-fhir-r5-core/Identifier"; -export type { Period } from "../hl7-fhir-r5-core/Period"; -export type { Range } from "../hl7-fhir-r5-core/Range"; -export type { Reference } from "../hl7-fhir-r5-core/Reference"; -export type { Timing } from "../hl7-fhir-r5-core/Timing"; - -export interface ProcedureFocalDevice extends BackboneElement { - action?: CodeableConcept; - manipulated: Reference<"Device">; -} - -export interface ProcedurePerformer extends BackboneElement { - actor: Reference<"CareTeam" | "Device" | "HealthcareService" | "Organization" | "Patient" | "Practitioner" | "PractitionerRole" | "RelatedPerson">; - "function"?: CodeableConcept; - onBehalfOf?: Reference<"Organization">; - period?: Period; -} - -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/Procedure (pkg: hl7.fhir.r5.core#5.0.0) -export interface Procedure extends DomainResource { - resourceType: "Procedure"; - - basedOn?: Reference<"CarePlan" | "ServiceRequest">[]; - bodySite?: CodeableConcept[]; - category?: CodeableConcept[]; - code?: CodeableConcept; - complication?: CodeableReference[]; - encounter?: Reference<"Encounter">; - focalDevice?: ProcedureFocalDevice[]; - focus?: Reference<"CareTeam" | "Group" | "Organization" | "Patient" | "Practitioner" | "PractitionerRole" | "RelatedPerson" | "Specimen">; - followUp?: CodeableConcept[]; - identifier?: Identifier[]; - instantiatesCanonical?: string[]; - _instantiatesCanonical?: (Element | null)[]; - instantiatesUri?: string[]; - _instantiatesUri?: (Element | null)[]; - location?: Reference<"Location">; - note?: Annotation[]; - occurrenceAge?: Age; - occurrenceDateTime?: string; - _occurrenceDateTime?: Element; - occurrencePeriod?: Period; - occurrenceRange?: Range; - occurrenceString?: string; - _occurrenceString?: Element; - occurrenceTiming?: Timing; - outcome?: CodeableConcept; - partOf?: Reference<"MedicationAdministration" | "Observation" | "Procedure">[]; - performer?: ProcedurePerformer[]; - reason?: CodeableReference[]; - recorded?: string; - _recorded?: Element; - recorder?: Reference<"Patient" | "Practitioner" | "PractitionerRole" | "RelatedPerson">; - report?: Reference<"Composition" | "DiagnosticReport" | "DocumentReference">[]; - reportedBoolean?: boolean; - _reportedBoolean?: Element; - reportedReference?: Reference<"Organization" | "Patient" | "Practitioner" | "PractitionerRole" | "RelatedPerson">; - status: ("preparation" | "in-progress" | "not-done" | "on-hold" | "stopped" | "completed" | "entered-in-error" | "unknown"); - _status?: Element; - statusReason?: CodeableConcept; - subject: Reference<"Device" | "Group" | "Location" | "Organization" | "Patient" | "Practitioner">; - supportingInfo?: Reference<"Resource">[]; - used?: CodeableReference[]; -} -export const isProcedure = (resource: unknown): resource is Procedure => { - return resource !== null && typeof resource === "object" && (resource as {resourceType: string}).resourceType === "Procedure"; -} 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 deleted file mode 100644 index 783e8a863..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/Product.ts +++ /dev/null @@ -1,11 +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 { Base } from "../hl7-fhir-r5-core/Base"; - -export type { Base } from "../hl7-fhir-r5-core/Base"; - -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/Product (pkg: hl7.fhir.r5.core#5.0.0) -export interface Product extends Base { -} 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 deleted file mode 100644 index 4182acde7..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/ProductShelfLife.ts +++ /dev/null @@ -1,21 +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 { BackboneType } from "../hl7-fhir-r5-core/BackboneType"; -import type { CodeableConcept } from "../hl7-fhir-r5-core/CodeableConcept"; -import type { Duration } from "../hl7-fhir-r5-core/Duration"; - -import type { Element } from "../hl7-fhir-r5-core/Element"; -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 (pkg: hl7.fhir.r5.core#5.0.0) -export interface ProductShelfLife extends BackboneType { - periodDuration?: Duration; - periodString?: string; - _periodString?: Element; - specialPrecautionsForStorage?: CodeableConcept[]; - type?: CodeableConcept; -} 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 deleted file mode 100644 index e34dc91ae..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/Provenance.ts +++ /dev/null @@ -1,58 +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 { BackboneElement } from "../hl7-fhir-r5-core/BackboneElement"; -import type { CodeableConcept } from "../hl7-fhir-r5-core/CodeableConcept"; -import type { CodeableReference } from "../hl7-fhir-r5-core/CodeableReference"; -import type { DomainResource } from "../hl7-fhir-r5-core/DomainResource"; -import type { Period } from "../hl7-fhir-r5-core/Period"; -import type { Reference } from "../hl7-fhir-r5-core/Reference"; -import type { Signature } from "../hl7-fhir-r5-core/Signature"; - -import type { Element } from "../hl7-fhir-r5-core/Element"; -export type { BackboneElement } from "../hl7-fhir-r5-core/BackboneElement"; -export type { CodeableConcept } from "../hl7-fhir-r5-core/CodeableConcept"; -export type { CodeableReference } from "../hl7-fhir-r5-core/CodeableReference"; -export type { Period } from "../hl7-fhir-r5-core/Period"; -export type { Reference } from "../hl7-fhir-r5-core/Reference"; -export type { Signature } from "../hl7-fhir-r5-core/Signature"; - -export interface ProvenanceAgent extends BackboneElement { - onBehalfOf?: Reference<"CareTeam" | "Organization" | "Patient" | "Practitioner" | "PractitionerRole">; - role?: CodeableConcept[]; - type?: CodeableConcept; - who: Reference<"CareTeam" | "Device" | "Organization" | "Patient" | "Practitioner" | "PractitionerRole" | "RelatedPerson">; -} - -export interface ProvenanceEntity extends BackboneElement { - agent?: ProvenanceAgent[]; - role: ("derivation" | "revision" | "quotation" | "source" | "removal"); - what: Reference<"Resource">; -} - -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/Provenance (pkg: hl7.fhir.r5.core#5.0.0) -export interface Provenance extends DomainResource { - resourceType: "Provenance"; - - activity?: CodeableConcept; - agent: ProvenanceAgent[]; - authorization?: CodeableReference[]; - basedOn?: Reference<"CarePlan" | "DeviceRequest" | "ImmunizationRecommendation" | "MedicationRequest" | "NutritionOrder" | "ServiceRequest" | "Task">[]; - encounter?: Reference<"Encounter">; - entity?: ProvenanceEntity[]; - location?: Reference<"Location">; - occurredDateTime?: string; - _occurredDateTime?: Element; - occurredPeriod?: Period; - patient?: Reference<"Patient">; - policy?: string[]; - _policy?: (Element | null)[]; - recorded?: string; - _recorded?: Element; - signature?: Signature[]; - target: Reference<"Resource">[]; -} -export const isProvenance = (resource: unknown): resource is Provenance => { - return resource !== null && typeof resource === "object" && (resource as {resourceType: string}).resourceType === "Provenance"; -} 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 deleted file mode 100644 index e605a5e04..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/Publishable.ts +++ /dev/null @@ -1,11 +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 { Base } from "../hl7-fhir-r5-core/Base"; - -export type { Base } from "../hl7-fhir-r5-core/Base"; - -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/Publishable (pkg: hl7.fhir.r5.core#5.0.0) -export interface Publishable extends Base { -} 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 deleted file mode 100644 index 833ebf838..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/Quantity.ts +++ /dev/null @@ -1,22 +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 { 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 (pkg: hl7.fhir.r5.core#5.0.0) -export interface Quantity extends DataType { - code?: string; - _code?: Element; - comparator?: ("<" | "<=" | ">=" | ">"); - _comparator?: Element; - system?: string; - _system?: Element; - unit?: string; - _unit?: Element; - value?: number; - _value?: 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 deleted file mode 100644 index c53675731..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/Questionnaire.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 { BackboneElement } from "../hl7-fhir-r5-core/BackboneElement"; -import type { CodeableConcept } from "../hl7-fhir-r5-core/CodeableConcept"; -import type { Coding } from "../hl7-fhir-r5-core/Coding"; -import type { ContactDetail } from "../hl7-fhir-r5-core/ContactDetail"; -import type { DomainResource } from "../hl7-fhir-r5-core/DomainResource"; -import type { Identifier } from "../hl7-fhir-r5-core/Identifier"; -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"; -import type { UsageContext } from "../hl7-fhir-r5-core/UsageContext"; - -import type { Element } from "../hl7-fhir-r5-core/Element"; -export type { Attachment } from "../hl7-fhir-r5-core/Attachment"; -export type { BackboneElement } from "../hl7-fhir-r5-core/BackboneElement"; -export type { CodeableConcept } from "../hl7-fhir-r5-core/CodeableConcept"; -export type { Coding } from "../hl7-fhir-r5-core/Coding"; -export type { ContactDetail } from "../hl7-fhir-r5-core/ContactDetail"; -export type { Identifier } from "../hl7-fhir-r5-core/Identifier"; -export type { Period } from "../hl7-fhir-r5-core/Period"; -export type { Quantity } from "../hl7-fhir-r5-core/Quantity"; -export type { Reference } from "../hl7-fhir-r5-core/Reference"; -export type { UsageContext } from "../hl7-fhir-r5-core/UsageContext"; - -export interface QuestionnaireItem extends BackboneElement { - answerConstraint?: string; - answerOption?: QuestionnaireItemAnswerOption[]; - answerValueSet?: string; - code?: Coding[]; - definition?: string; - disabledDisplay?: string; - enableBehavior?: ("all" | "any"); - enableWhen?: QuestionnaireItemEnableWhen[]; - initial?: QuestionnaireItemInitial[]; - item?: QuestionnaireItem[]; - linkId: string; - maxLength?: number; - prefix?: string; - readOnly?: boolean; - repeats?: boolean; - required?: boolean; - text?: string; - type: ("group" | "display" | "question" | "boolean" | "decimal" | "integer" | "date" | "dateTime" | "time" | "string" | "text" | "url" | "choice" | "open-choice" | "attachment" | "reference" | "quantity"); -} - -export interface QuestionnaireItemAnswerOption extends BackboneElement { - initialSelected?: boolean; - valueCoding?: Coding; - valueDate?: string; - valueInteger?: number; - valueReference?: Reference<"Resource">; - valueString?: string; - valueTime?: string; -} - -export interface QuestionnaireItemEnableWhen extends BackboneElement { - answerBoolean?: boolean; - answerCoding?: Coding; - answerDate?: string; - answerDateTime?: string; - answerDecimal?: number; - answerInteger?: number; - answerQuantity?: Quantity; - answerReference?: Reference<"Resource">; - answerString?: string; - answerTime?: string; - operator: ("exists" | "=" | "!=" | ">" | "<" | ">=" | "<="); - question: string; -} - -export interface QuestionnaireItemInitial extends BackboneElement { - valueAttachment?: Attachment; - valueBoolean?: boolean; - valueCoding?: Coding; - valueDate?: string; - valueDateTime?: string; - valueDecimal?: number; - valueInteger?: number; - valueQuantity?: Quantity; - valueReference?: Reference<"Resource">; - valueString?: string; - valueTime?: string; - valueUri?: string; -} - -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/Questionnaire (pkg: hl7.fhir.r5.core#5.0.0) -export interface Questionnaire extends DomainResource { - resourceType: "Questionnaire"; - - approvalDate?: string; - _approvalDate?: Element; - code?: Coding[]; - contact?: ContactDetail[]; - copyright?: string; - _copyright?: Element; - copyrightLabel?: string; - _copyrightLabel?: Element; - date?: string; - _date?: Element; - derivedFrom?: string[]; - _derivedFrom?: (Element | null)[]; - description?: string; - _description?: Element; - effectivePeriod?: Period; - experimental?: boolean; - _experimental?: Element; - identifier?: Identifier[]; - item?: QuestionnaireItem[]; - jurisdiction?: CodeableConcept[]; - lastReviewDate?: string; - _lastReviewDate?: Element; - name?: string; - _name?: Element; - publisher?: string; - _publisher?: Element; - purpose?: string; - _purpose?: Element; - status: ("draft" | "active" | "retired" | "unknown"); - _status?: Element; - subjectType?: string[]; - _subjectType?: (Element | null)[]; - title?: string; - _title?: Element; - url?: string; - _url?: Element; - useContext?: UsageContext[]; - version?: string; - _version?: Element; - versionAlgorithmCoding?: Coding; - versionAlgorithmString?: string; - _versionAlgorithmString?: Element; -} -export const isQuestionnaire = (resource: unknown): resource is Questionnaire => { - return resource !== null && typeof resource === "object" && (resource as {resourceType: string}).resourceType === "Questionnaire"; -} 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 deleted file mode 100644 index cd702476c..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/QuestionnaireResponse.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 { Attachment } from "../hl7-fhir-r5-core/Attachment"; -import type { BackboneElement } from "../hl7-fhir-r5-core/BackboneElement"; -import type { Coding } from "../hl7-fhir-r5-core/Coding"; -import type { DomainResource } from "../hl7-fhir-r5-core/DomainResource"; -import type { Identifier } from "../hl7-fhir-r5-core/Identifier"; -import type { Quantity } from "../hl7-fhir-r5-core/Quantity"; -import type { Reference } from "../hl7-fhir-r5-core/Reference"; - -import type { Element } from "../hl7-fhir-r5-core/Element"; -export type { Attachment } from "../hl7-fhir-r5-core/Attachment"; -export type { BackboneElement } from "../hl7-fhir-r5-core/BackboneElement"; -export type { Coding } from "../hl7-fhir-r5-core/Coding"; -export type { Identifier } from "../hl7-fhir-r5-core/Identifier"; -export type { Quantity } from "../hl7-fhir-r5-core/Quantity"; -export type { Reference } from "../hl7-fhir-r5-core/Reference"; - -export interface QuestionnaireResponseItem extends BackboneElement { - answer?: QuestionnaireResponseItemAnswer[]; - definition?: string; - item?: QuestionnaireResponseItem[]; - linkId: string; - text?: string; -} - -export interface QuestionnaireResponseItemAnswer extends BackboneElement { - item?: QuestionnaireResponseItem[]; - valueAttachment?: Attachment; - valueBoolean?: boolean; - valueCoding?: Coding; - valueDate?: string; - valueDateTime?: string; - valueDecimal?: number; - valueInteger?: number; - valueQuantity?: Quantity; - valueReference?: Reference<"Resource">; - valueString?: string; - valueTime?: string; - valueUri?: string; -} - -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse (pkg: hl7.fhir.r5.core#5.0.0) -export interface QuestionnaireResponse extends DomainResource { - resourceType: "QuestionnaireResponse"; - - author?: Reference<"Device" | "Organization" | "Patient" | "Practitioner" | "PractitionerRole" | "RelatedPerson">; - authored?: string; - _authored?: Element; - basedOn?: Reference<"CarePlan" | "ServiceRequest">[]; - encounter?: Reference<"Encounter">; - identifier?: Identifier[]; - item?: QuestionnaireResponseItem[]; - partOf?: Reference<"Observation" | "Procedure">[]; - questionnaire: string; - _questionnaire?: Element; - source?: Reference<"Device" | "Organization" | "Patient" | "Practitioner" | "PractitionerRole" | "RelatedPerson">; - status: ("in-progress" | "completed" | "amended" | "entered-in-error" | "stopped"); - _status?: Element; - subject?: Reference<"Resource">; -} -export const isQuestionnaireResponse = (resource: unknown): resource is QuestionnaireResponse => { - return resource !== null && typeof resource === "object" && (resource as {resourceType: string}).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 deleted file mode 100644 index 744e442bc..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/Range.ts +++ /dev/null @@ -1,15 +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 { DataType } from "../hl7-fhir-r5-core/DataType"; -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 (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 deleted file mode 100644 index 108cc50ab..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/Ratio.ts +++ /dev/null @@ -1,15 +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 { DataType } from "../hl7-fhir-r5-core/DataType"; -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 (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 deleted file mode 100644 index c97b6ec57..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/RatioRange.ts +++ /dev/null @@ -1,16 +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 { DataType } from "../hl7-fhir-r5-core/DataType"; -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 (pkg: hl7.fhir.r5.core#5.0.0) -export interface RatioRange extends DataType { - denominator?: Quantity; - highNumerator?: Quantity; - lowNumerator?: 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 deleted file mode 100644 index c41057cb5..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/Reference.ts +++ /dev/null @@ -1,21 +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 { DataType } from "../hl7-fhir-r5-core/DataType"; -import type { Identifier } from "../hl7-fhir-r5-core/Identifier"; - -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 (pkg: hl7.fhir.r5.core#5.0.0) -export interface Reference extends DataType { - display?: string; - _display?: Element; - identifier?: Identifier; - reference?: `${T}/${string}`; - _reference?: Element; - type?: string; - _type?: 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 deleted file mode 100644 index de3814fef..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/RegulatedAuthorization.ts +++ /dev/null @@ -1,54 +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 { BackboneElement } from "../hl7-fhir-r5-core/BackboneElement"; -import type { CodeableConcept } from "../hl7-fhir-r5-core/CodeableConcept"; -import type { CodeableReference } from "../hl7-fhir-r5-core/CodeableReference"; -import type { DomainResource } from "../hl7-fhir-r5-core/DomainResource"; -import type { Identifier } from "../hl7-fhir-r5-core/Identifier"; -import type { Period } from "../hl7-fhir-r5-core/Period"; -import type { Reference } from "../hl7-fhir-r5-core/Reference"; - -import type { Element } from "../hl7-fhir-r5-core/Element"; -export type { BackboneElement } from "../hl7-fhir-r5-core/BackboneElement"; -export type { CodeableConcept } from "../hl7-fhir-r5-core/CodeableConcept"; -export type { CodeableReference } from "../hl7-fhir-r5-core/CodeableReference"; -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"; - -export interface RegulatedAuthorizationCase extends BackboneElement { - application?: RegulatedAuthorizationCase[]; - dateDateTime?: string; - datePeriod?: Period; - identifier?: Identifier; - status?: CodeableConcept<("draft" | "active" | "retired" | "unknown" | string)>; - type?: CodeableConcept; -} - -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/RegulatedAuthorization (pkg: hl7.fhir.r5.core#5.0.0) -export interface RegulatedAuthorization extends DomainResource { - resourceType: "RegulatedAuthorization"; - - attachedDocument?: Reference<"DocumentReference">[]; - basis?: CodeableConcept[]; - case?: RegulatedAuthorizationCase; - description?: string; - _description?: Element; - holder?: Reference<"Organization">; - identifier?: Identifier[]; - indication?: CodeableReference[]; - intendedUse?: CodeableConcept; - region?: CodeableConcept[]; - regulator?: Reference<"Organization">; - 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">[]; - type?: CodeableConcept; - validityPeriod?: Period; -} -export const isRegulatedAuthorization = (resource: unknown): resource is RegulatedAuthorization => { - return resource !== null && typeof resource === "object" && (resource as {resourceType: string}).resourceType === "RegulatedAuthorization"; -} 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 deleted file mode 100644 index be592aa23..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/RelatedArtifact.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 { Attachment } from "../hl7-fhir-r5-core/Attachment"; -import type { CodeableConcept } from "../hl7-fhir-r5-core/CodeableConcept"; -import type { DataType } from "../hl7-fhir-r5-core/DataType"; -import type { Reference } from "../hl7-fhir-r5-core/Reference"; - -import type { Element } from "../hl7-fhir-r5-core/Element"; -export type { Attachment } from "../hl7-fhir-r5-core/Attachment"; -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 (pkg: hl7.fhir.r5.core#5.0.0) -export interface RelatedArtifact extends DataType { - citation?: string; - _citation?: Element; - classifier?: CodeableConcept[]; - display?: string; - _display?: Element; - document?: Attachment; - label?: string; - _label?: Element; - publicationDate?: string; - _publicationDate?: Element; - publicationStatus?: ("draft" | "active" | "retired" | "unknown"); - _publicationStatus?: Element; - resource?: string; - _resource?: Element; - resourceReference?: Reference<"Resource">; - type: ("documentation" | "justification" | "citation" | "predecessor" | "successor" | "derived-from" | "depends-on" | "composed-of"); - _type?: 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 deleted file mode 100644 index 345aa7032..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/RelatedPerson.ts +++ /dev/null @@ -1,54 +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 { Address } from "../hl7-fhir-r5-core/Address"; -import type { Attachment } from "../hl7-fhir-r5-core/Attachment"; -import type { BackboneElement } from "../hl7-fhir-r5-core/BackboneElement"; -import type { CodeableConcept } from "../hl7-fhir-r5-core/CodeableConcept"; -import type { ContactPoint } from "../hl7-fhir-r5-core/ContactPoint"; -import type { DomainResource } from "../hl7-fhir-r5-core/DomainResource"; -import type { HumanName } from "../hl7-fhir-r5-core/HumanName"; -import type { Identifier } from "../hl7-fhir-r5-core/Identifier"; -import type { Period } from "../hl7-fhir-r5-core/Period"; -import type { Reference } from "../hl7-fhir-r5-core/Reference"; - -import type { Element } from "../hl7-fhir-r5-core/Element"; -export type { Address } from "../hl7-fhir-r5-core/Address"; -export type { Attachment } from "../hl7-fhir-r5-core/Attachment"; -export type { BackboneElement } from "../hl7-fhir-r5-core/BackboneElement"; -export type { CodeableConcept } from "../hl7-fhir-r5-core/CodeableConcept"; -export type { ContactPoint } from "../hl7-fhir-r5-core/ContactPoint"; -export type { HumanName } from "../hl7-fhir-r5-core/HumanName"; -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"; - -export interface RelatedPersonCommunication extends BackboneElement { - language: CodeableConcept; - preferred?: boolean; -} - -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/RelatedPerson (pkg: hl7.fhir.r5.core#5.0.0) -export interface RelatedPerson extends DomainResource { - resourceType: "RelatedPerson"; - - active?: boolean; - _active?: Element; - address?: Address[]; - birthDate?: string; - _birthDate?: Element; - communication?: RelatedPersonCommunication[]; - gender?: ("male" | "female" | "other" | "unknown"); - _gender?: Element; - identifier?: Identifier[]; - name?: HumanName[]; - patient: Reference<"Patient">; - period?: Period; - photo?: Attachment[]; - 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 => { - return resource !== null && typeof resource === "object" && (resource as {resourceType: string}).resourceType === "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 deleted file mode 100644 index c966d328c..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/Request.ts +++ /dev/null @@ -1,11 +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 { Base } from "../hl7-fhir-r5-core/Base"; - -export type { Base } from "../hl7-fhir-r5-core/Base"; - -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/Request (pkg: hl7.fhir.r5.core#5.0.0) -export interface Request extends Base { -} 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 deleted file mode 100644 index cb8f4cce8..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/RequestOrchestration.ts +++ /dev/null @@ -1,144 +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 { Age } from "../hl7-fhir-r5-core/Age"; -import type { Annotation } from "../hl7-fhir-r5-core/Annotation"; -import type { BackboneElement } from "../hl7-fhir-r5-core/BackboneElement"; -import type { CodeableConcept } from "../hl7-fhir-r5-core/CodeableConcept"; -import type { CodeableReference } from "../hl7-fhir-r5-core/CodeableReference"; -import type { DataRequirement } from "../hl7-fhir-r5-core/DataRequirement"; -import type { DomainResource } from "../hl7-fhir-r5-core/DomainResource"; -import type { Duration } from "../hl7-fhir-r5-core/Duration"; -import type { Expression } from "../hl7-fhir-r5-core/Expression"; -import type { Identifier } from "../hl7-fhir-r5-core/Identifier"; -import type { Period } from "../hl7-fhir-r5-core/Period"; -import type { Range } from "../hl7-fhir-r5-core/Range"; -import type { Reference } from "../hl7-fhir-r5-core/Reference"; -import type { RelatedArtifact } from "../hl7-fhir-r5-core/RelatedArtifact"; -import type { Timing } from "../hl7-fhir-r5-core/Timing"; - -import type { Element } from "../hl7-fhir-r5-core/Element"; -export type { Age } from "../hl7-fhir-r5-core/Age"; -export type { Annotation } from "../hl7-fhir-r5-core/Annotation"; -export type { BackboneElement } from "../hl7-fhir-r5-core/BackboneElement"; -export type { CodeableConcept } from "../hl7-fhir-r5-core/CodeableConcept"; -export type { CodeableReference } from "../hl7-fhir-r5-core/CodeableReference"; -export type { DataRequirement } from "../hl7-fhir-r5-core/DataRequirement"; -export type { Duration } from "../hl7-fhir-r5-core/Duration"; -export type { Expression } from "../hl7-fhir-r5-core/Expression"; -export type { Identifier } from "../hl7-fhir-r5-core/Identifier"; -export type { Period } from "../hl7-fhir-r5-core/Period"; -export type { Range } from "../hl7-fhir-r5-core/Range"; -export type { Reference } from "../hl7-fhir-r5-core/Reference"; -export type { RelatedArtifact } from "../hl7-fhir-r5-core/RelatedArtifact"; -export type { Timing } from "../hl7-fhir-r5-core/Timing"; - -export interface RequestOrchestrationAction extends BackboneElement { - action?: RequestOrchestrationAction[]; - cardinalityBehavior?: ("single" | "multiple"); - code?: CodeableConcept[]; - condition?: RequestOrchestrationActionCondition[]; - definitionCanonical?: string; - definitionUri?: string; - description?: string; - documentation?: RelatedArtifact[]; - dynamicValue?: RequestOrchestrationActionDynamicValue[]; - goal?: Reference<"Goal">[]; - groupingBehavior?: ("visual-group" | "logical-group" | "sentence-group"); - input?: RequestOrchestrationActionInput[]; - linkId?: string; - location?: CodeableReference; - output?: RequestOrchestrationActionOutput[]; - participant?: RequestOrchestrationActionParticipant[]; - precheckBehavior?: ("yes" | "no"); - prefix?: string; - priority?: ("routine" | "urgent" | "asap" | "stat"); - relatedAction?: RequestOrchestrationActionRelatedAction[]; - requiredBehavior?: ("must" | "could" | "must-unless-documented"); - resource?: Reference<"Resource">; - selectionBehavior?: ("any" | "all" | "all-or-none" | "exactly-one" | "at-most-one" | "one-or-more"); - textEquivalent?: string; - timingAge?: Age; - timingDateTime?: string; - timingDuration?: Duration; - timingPeriod?: Period; - timingRange?: Range; - timingTiming?: Timing; - title?: string; - transform?: string; - type?: CodeableConcept<("create" | "update" | "remove" | "fire-event" | string)>; -} - -export interface RequestOrchestrationActionCondition extends BackboneElement { - expression?: Expression; - kind: ("applicability" | "start" | "stop"); -} - -export interface RequestOrchestrationActionDynamicValue extends BackboneElement { - expression?: Expression; - path?: string; -} - -export interface RequestOrchestrationActionInput extends BackboneElement { - relatedData?: string; - requirement?: DataRequirement; - title?: string; -} - -export interface RequestOrchestrationActionOutput extends BackboneElement { - relatedData?: string; - requirement?: DataRequirement; - title?: string; -} - -export interface RequestOrchestrationActionParticipant extends BackboneElement { - actorCanonical?: string; - actorReference?: Reference<"CareTeam" | "Device" | "DeviceDefinition" | "Endpoint" | "Group" | "HealthcareService" | "Location" | "Organization" | "Patient" | "Practitioner" | "PractitionerRole" | "RelatedPerson">; - "function"?: CodeableConcept; - role?: CodeableConcept; - type?: ("patient" | "practitioner" | "related-person" | "device"); - typeCanonical?: string; - typeReference?: Reference<"CareTeam" | "Device" | "DeviceDefinition" | "Endpoint" | "Group" | "HealthcareService" | "Location" | "Organization" | "Patient" | "Practitioner" | "PractitionerRole" | "RelatedPerson">; -} - -export interface RequestOrchestrationActionRelatedAction extends BackboneElement { - endRelationship?: ("before-start" | "before" | "before-end" | "concurrent-with-start" | "concurrent" | "concurrent-with-end" | "after-start" | "after" | "after-end"); - offsetDuration?: Duration; - offsetRange?: Range; - relationship: ("before-start" | "before" | "before-end" | "concurrent-with-start" | "concurrent" | "concurrent-with-end" | "after-start" | "after" | "after-end"); - targetId: string; -} - -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/RequestOrchestration (pkg: hl7.fhir.r5.core#5.0.0) -export interface RequestOrchestration extends DomainResource { - resourceType: "RequestOrchestration"; - - action?: RequestOrchestrationAction[]; - author?: Reference<"Device" | "Practitioner" | "PractitionerRole">; - authoredOn?: string; - _authoredOn?: Element; - basedOn?: Reference<"Resource">[]; - code?: CodeableConcept; - encounter?: Reference<"Encounter">; - goal?: Reference<"Goal">[]; - groupIdentifier?: Identifier; - identifier?: Identifier[]; - instantiatesCanonical?: string[]; - _instantiatesCanonical?: (Element | null)[]; - instantiatesUri?: string[]; - _instantiatesUri?: (Element | null)[]; - intent: ("proposal" | "plan" | "directive" | "order" | "original-order" | "reflex-order" | "filler-order" | "instance-order" | "option"); - _intent?: Element; - note?: Annotation[]; - priority?: ("routine" | "urgent" | "asap" | "stat"); - _priority?: Element; - reason?: CodeableReference[]; - replaces?: Reference<"Resource">[]; - status: ("draft" | "active" | "on-hold" | "revoked" | "completed" | "entered-in-error" | "unknown"); - _status?: Element; - subject?: Reference<"CareTeam" | "Device" | "Group" | "HealthcareService" | "Location" | "Organization" | "Patient" | "Practitioner" | "PractitionerRole" | "RelatedPerson">; -} -export const isRequestOrchestration = (resource: unknown): resource is RequestOrchestration => { - return resource !== null && typeof resource === "object" && (resource as {resourceType: string}).resourceType === "RequestOrchestration"; -} 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 deleted file mode 100644 index 7ffcdfa0b..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/Requirements.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 { BackboneElement } from "../hl7-fhir-r5-core/BackboneElement"; -import type { CodeableConcept } from "../hl7-fhir-r5-core/CodeableConcept"; -import type { Coding } from "../hl7-fhir-r5-core/Coding"; -import type { ContactDetail } from "../hl7-fhir-r5-core/ContactDetail"; -import type { DomainResource } from "../hl7-fhir-r5-core/DomainResource"; -import type { Identifier } from "../hl7-fhir-r5-core/Identifier"; -import type { Reference } from "../hl7-fhir-r5-core/Reference"; -import type { UsageContext } from "../hl7-fhir-r5-core/UsageContext"; - -import type { Element } from "../hl7-fhir-r5-core/Element"; -export type { BackboneElement } from "../hl7-fhir-r5-core/BackboneElement"; -export type { CodeableConcept } from "../hl7-fhir-r5-core/CodeableConcept"; -export type { Coding } from "../hl7-fhir-r5-core/Coding"; -export type { ContactDetail } from "../hl7-fhir-r5-core/ContactDetail"; -export type { Identifier } from "../hl7-fhir-r5-core/Identifier"; -export type { Reference } from "../hl7-fhir-r5-core/Reference"; -export type { UsageContext } from "../hl7-fhir-r5-core/UsageContext"; - -export interface RequirementsStatement extends BackboneElement { - conditionality?: boolean; - conformance?: string[]; - derivedFrom?: string; - key: string; - label?: string; - parent?: string; - reference?: string[]; - requirement: string; - satisfiedBy?: string[]; - source?: Reference<"CareTeam" | "Device" | "Group" | "HealthcareService" | "Organization" | "Patient" | "Practitioner" | "PractitionerRole" | "RelatedPerson">[]; -} - -// 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 | null)[]; - contact?: ContactDetail[]; - copyright?: string; - _copyright?: Element; - copyrightLabel?: string; - _copyrightLabel?: Element; - date?: string; - _date?: Element; - derivedFrom?: string[]; - _derivedFrom?: (Element | null)[]; - description?: string; - _description?: Element; - experimental?: boolean; - _experimental?: Element; - identifier?: Identifier[]; - jurisdiction?: CodeableConcept[]; - name?: string; - _name?: Element; - publisher?: string; - _publisher?: Element; - purpose?: string; - _purpose?: Element; - reference?: string[]; - _reference?: (Element | null)[]; - statement?: RequirementsStatement[]; - status: ("draft" | "active" | "retired" | "unknown"); - _status?: Element; - title?: string; - _title?: Element; - url?: string; - _url?: Element; - useContext?: UsageContext[]; - version?: string; - _version?: Element; - versionAlgorithmCoding?: Coding; - versionAlgorithmString?: string; - _versionAlgorithmString?: Element; -} -export const isRequirements = (resource: unknown): resource is Requirements => { - return resource !== null && typeof resource === "object" && (resource as {resourceType: string}).resourceType === "Requirements"; -} 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 deleted file mode 100644 index 46f0a6b4d..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/ResearchStudy.ts +++ /dev/null @@ -1,120 +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 { Annotation } from "../hl7-fhir-r5-core/Annotation"; -import type { BackboneElement } from "../hl7-fhir-r5-core/BackboneElement"; -import type { CodeableConcept } from "../hl7-fhir-r5-core/CodeableConcept"; -import type { CodeableReference } from "../hl7-fhir-r5-core/CodeableReference"; -import type { DomainResource } from "../hl7-fhir-r5-core/DomainResource"; -import type { Identifier } from "../hl7-fhir-r5-core/Identifier"; -import type { Period } from "../hl7-fhir-r5-core/Period"; -import type { Reference } from "../hl7-fhir-r5-core/Reference"; -import type { RelatedArtifact } from "../hl7-fhir-r5-core/RelatedArtifact"; - -import type { Element } from "../hl7-fhir-r5-core/Element"; -export type { Annotation } from "../hl7-fhir-r5-core/Annotation"; -export type { BackboneElement } from "../hl7-fhir-r5-core/BackboneElement"; -export type { CodeableConcept } from "../hl7-fhir-r5-core/CodeableConcept"; -export type { CodeableReference } from "../hl7-fhir-r5-core/CodeableReference"; -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"; -export type { RelatedArtifact } from "../hl7-fhir-r5-core/RelatedArtifact"; - -export interface ResearchStudyAssociatedParty extends BackboneElement { - classifier?: CodeableConcept[]; - name?: string; - party?: Reference<"Organization" | "Practitioner" | "PractitionerRole">; - period?: Period[]; - role: CodeableConcept; -} - -export interface ResearchStudyComparisonGroup extends BackboneElement { - description?: string; - intendedExposure?: Reference<"EvidenceVariable">[]; - linkId?: string; - name: string; - observedGroup?: Reference<"Group">; - type?: CodeableConcept; -} - -export interface ResearchStudyLabel extends BackboneElement { - type?: CodeableConcept; - value?: string; -} - -export interface ResearchStudyObjective extends BackboneElement { - description?: string; - name?: string; - type?: CodeableConcept; -} - -export interface ResearchStudyOutcomeMeasure extends BackboneElement { - description?: string; - name?: string; - reference?: Reference<"EvidenceVariable">; - type?: CodeableConcept[]; -} - -export interface ResearchStudyProgressStatus extends BackboneElement { - actual?: boolean; - period?: Period; - 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 { - actualGroup?: Reference<"Group">; - actualNumber?: number; - eligibility?: Reference<"EvidenceVariable" | "Group">; - targetNumber?: number; -} - -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/ResearchStudy (pkg: hl7.fhir.r5.core#5.0.0) -export interface ResearchStudy extends DomainResource { - resourceType: "ResearchStudy"; - - associatedParty?: ResearchStudyAssociatedParty[]; - classifier?: CodeableConcept[]; - comparisonGroup?: ResearchStudyComparisonGroup[]; - condition?: CodeableConcept[]; - date?: string; - _date?: Element; - description?: string; - _description?: Element; - descriptionSummary?: string; - _descriptionSummary?: Element; - focus?: CodeableReference[]; - identifier?: Identifier[]; - keyword?: CodeableConcept[]; - label?: ResearchStudyLabel[]; - name?: string; - _name?: Element; - note?: Annotation[]; - objective?: ResearchStudyObjective[]; - outcomeMeasure?: ResearchStudyOutcomeMeasure[]; - partOf?: Reference<"ResearchStudy">[]; - period?: Period; - phase?: CodeableConcept; - primaryPurposeType?: CodeableConcept; - progressStatus?: ResearchStudyProgressStatus[]; - protocol?: Reference<"PlanDefinition">[]; - recruitment?: ResearchStudyRecruitment; - region?: CodeableConcept[]; - relatedArtifact?: RelatedArtifact[]; - result?: Reference<"Citation" | "DiagnosticReport" | "EvidenceReport">[]; - site?: Reference<"Location" | "Organization" | "ResearchStudy">[]; - status: ("draft" | "active" | "retired" | "unknown"); - _status?: Element; - studyDesign?: CodeableConcept[]; - title?: string; - _title?: Element; - url?: string; - _url?: Element; - version?: string; - _version?: Element; - whyStopped?: CodeableConcept; -} -export const isResearchStudy = (resource: unknown): resource is ResearchStudy => { - return resource !== null && typeof resource === "object" && (resource as {resourceType: string}).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 deleted file mode 100644 index adcf17ff2..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/ResearchSubject.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 { BackboneElement } from "../hl7-fhir-r5-core/BackboneElement"; -import type { CodeableConcept } from "../hl7-fhir-r5-core/CodeableConcept"; -import type { DomainResource } from "../hl7-fhir-r5-core/DomainResource"; -import type { Identifier } from "../hl7-fhir-r5-core/Identifier"; -import type { Period } from "../hl7-fhir-r5-core/Period"; -import type { Reference } from "../hl7-fhir-r5-core/Reference"; - -import type { Element } from "../hl7-fhir-r5-core/Element"; -export type { BackboneElement } from "../hl7-fhir-r5-core/BackboneElement"; -export type { CodeableConcept } from "../hl7-fhir-r5-core/CodeableConcept"; -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"; - -export interface ResearchSubjectProgress extends BackboneElement { - endDate?: string; - milestone?: CodeableConcept; - reason?: CodeableConcept; - startDate?: string; - subjectState?: CodeableConcept; - type?: CodeableConcept; -} - -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/ResearchSubject (pkg: hl7.fhir.r5.core#5.0.0) -export interface ResearchSubject extends DomainResource { - resourceType: "ResearchSubject"; - - actualComparisonGroup?: string; - _actualComparisonGroup?: Element; - assignedComparisonGroup?: string; - _assignedComparisonGroup?: Element; - consent?: Reference<"Consent">[]; - identifier?: Identifier[]; - period?: Period; - progress?: ResearchSubjectProgress[]; - status: ("draft" | "active" | "retired" | "unknown"); - _status?: Element; - study: Reference<"ResearchStudy">; - subject: Reference<"BiologicallyDerivedProduct" | "Device" | "Group" | "Medication" | "Patient" | "Specimen" | "Substance">; -} -export const isResearchSubject = (resource: unknown): resource is ResearchSubject => { - return resource !== null && typeof resource === "object" && (resource as {resourceType: string}).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 deleted file mode 100644 index ac60eb6b1..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/Resource.ts +++ /dev/null @@ -1,26 +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 { Base } from "../hl7-fhir-r5-core/Base"; -import type { Meta } from "../hl7-fhir-r5-core/Meta"; - -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 (pkg: hl7.fhir.r5.core#5.0.0) -export interface Resource extends Base { - 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?: Element; - meta?: Meta; -} -export const isResource = (resource: unknown): resource is Resource => { - return resource !== null && typeof resource === "object" && (resource as {resourceType: string}).resourceType === "Resource"; -} 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 deleted file mode 100644 index d9b237029..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/RiskAssessment.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 { Annotation } from "../hl7-fhir-r5-core/Annotation"; -import type { BackboneElement } from "../hl7-fhir-r5-core/BackboneElement"; -import type { CodeableConcept } from "../hl7-fhir-r5-core/CodeableConcept"; -import type { CodeableReference } from "../hl7-fhir-r5-core/CodeableReference"; -import type { DomainResource } from "../hl7-fhir-r5-core/DomainResource"; -import type { Identifier } from "../hl7-fhir-r5-core/Identifier"; -import type { Period } from "../hl7-fhir-r5-core/Period"; -import type { Range } from "../hl7-fhir-r5-core/Range"; -import type { Reference } from "../hl7-fhir-r5-core/Reference"; - -import type { Element } from "../hl7-fhir-r5-core/Element"; -export type { Annotation } from "../hl7-fhir-r5-core/Annotation"; -export type { BackboneElement } from "../hl7-fhir-r5-core/BackboneElement"; -export type { CodeableConcept } from "../hl7-fhir-r5-core/CodeableConcept"; -export type { CodeableReference } from "../hl7-fhir-r5-core/CodeableReference"; -export type { Identifier } from "../hl7-fhir-r5-core/Identifier"; -export type { Period } from "../hl7-fhir-r5-core/Period"; -export type { Range } from "../hl7-fhir-r5-core/Range"; -export type { Reference } from "../hl7-fhir-r5-core/Reference"; - -export interface RiskAssessmentPrediction extends BackboneElement { - outcome?: CodeableConcept; - probabilityDecimal?: number; - probabilityRange?: Range; - qualitativeRisk?: CodeableConcept; - rationale?: string; - relativeRisk?: number; - whenPeriod?: Period; - whenRange?: Range; -} - -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/RiskAssessment (pkg: hl7.fhir.r5.core#5.0.0) -export interface RiskAssessment extends DomainResource { - resourceType: "RiskAssessment"; - - basedOn?: Reference<"Resource">; - basis?: Reference<"Resource">[]; - code?: CodeableConcept; - condition?: Reference<"Condition">; - encounter?: Reference<"Encounter">; - identifier?: Identifier[]; - method?: CodeableConcept; - mitigation?: string; - _mitigation?: Element; - note?: Annotation[]; - occurrenceDateTime?: string; - _occurrenceDateTime?: Element; - occurrencePeriod?: Period; - parent?: Reference<"Resource">; - performer?: Reference<"Device" | "Patient" | "Practitioner" | "PractitionerRole" | "RelatedPerson">; - prediction?: RiskAssessmentPrediction[]; - reason?: CodeableReference[]; - status: ("registered" | "preliminary" | "final" | "amended" | "corrected" | "cancelled" | "entered-in-error" | "unknown"); - _status?: Element; - subject: Reference<"Group" | "Patient">; -} -export const isRiskAssessment = (resource: unknown): resource is RiskAssessment => { - return resource !== null && typeof resource === "object" && (resource as {resourceType: string}).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 deleted file mode 100644 index 18bcd0153..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/SampledData.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 { DataType } from "../hl7-fhir-r5-core/DataType"; -import type { Quantity } from "../hl7-fhir-r5-core/Quantity"; - -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 (pkg: hl7.fhir.r5.core#5.0.0) -export interface SampledData extends DataType { - codeMap?: string; - _codeMap?: Element; - data?: string; - _data?: Element; - dimensions: number; - _dimensions?: Element; - factor?: number; - _factor?: Element; - interval?: number; - _interval?: Element; - intervalUnit: string; - _intervalUnit?: Element; - lowerLimit?: number; - _lowerLimit?: Element; - offsets?: string; - _offsets?: Element; - origin: Quantity; - upperLimit?: number; - _upperLimit?: 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 deleted file mode 100644 index 3eaf3cdf9..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/Schedule.ts +++ /dev/null @@ -1,38 +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 { CodeableReference } from "../hl7-fhir-r5-core/CodeableReference"; -import type { DomainResource } from "../hl7-fhir-r5-core/DomainResource"; -import type { Identifier } from "../hl7-fhir-r5-core/Identifier"; -import type { Period } from "../hl7-fhir-r5-core/Period"; -import type { Reference } from "../hl7-fhir-r5-core/Reference"; - -import type { Element } from "../hl7-fhir-r5-core/Element"; -export type { CodeableConcept } from "../hl7-fhir-r5-core/CodeableConcept"; -export type { CodeableReference } from "../hl7-fhir-r5-core/CodeableReference"; -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 (pkg: hl7.fhir.r5.core#5.0.0) -export interface Schedule extends DomainResource { - resourceType: "Schedule"; - - active?: boolean; - _active?: Element; - actor: Reference<"CareTeam" | "Device" | "HealthcareService" | "Location" | "Patient" | "Practitioner" | "PractitionerRole" | "RelatedPerson">[]; - comment?: string; - _comment?: Element; - identifier?: Identifier[]; - name?: string; - _name?: Element; - planningHorizon?: Period; - serviceCategory?: CodeableConcept[]; - serviceType?: CodeableReference[]; - specialty?: CodeableConcept[]; -} -export const isSchedule = (resource: unknown): resource is Schedule => { - return resource !== null && typeof resource === "object" && (resource as {resourceType: string}).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 deleted file mode 100644 index 9a4cada8f..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/SearchParameter.ts +++ /dev/null @@ -1,91 +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 { BackboneElement } from "../hl7-fhir-r5-core/BackboneElement"; -import type { CodeableConcept } from "../hl7-fhir-r5-core/CodeableConcept"; -import type { Coding } from "../hl7-fhir-r5-core/Coding"; -import type { ContactDetail } from "../hl7-fhir-r5-core/ContactDetail"; -import type { DomainResource } from "../hl7-fhir-r5-core/DomainResource"; -import type { Identifier } from "../hl7-fhir-r5-core/Identifier"; -import type { UsageContext } from "../hl7-fhir-r5-core/UsageContext"; - -import type { Element } from "../hl7-fhir-r5-core/Element"; -export type { BackboneElement } from "../hl7-fhir-r5-core/BackboneElement"; -export type { CodeableConcept } from "../hl7-fhir-r5-core/CodeableConcept"; -export type { Coding } from "../hl7-fhir-r5-core/Coding"; -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"; - -export interface SearchParameterComponent extends BackboneElement { - definition: string; - expression: string; -} - -// 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 | null)[]; - chain?: string[]; - _chain?: (Element | null)[]; - code: string; - _code?: Element; - comparator?: ("eq" | "ne" | "gt" | "lt" | "ge" | "le" | "sa" | "eb" | "ap")[]; - _comparator?: (Element | null)[]; - component?: SearchParameterComponent[]; - constraint?: string; - _constraint?: Element; - contact?: ContactDetail[]; - copyright?: string; - _copyright?: Element; - copyrightLabel?: string; - _copyrightLabel?: Element; - date?: string; - _date?: Element; - derivedFrom?: string; - _derivedFrom?: Element; - description: string; - _description?: Element; - experimental?: boolean; - _experimental?: Element; - expression?: string; - _expression?: Element; - identifier?: Identifier[]; - jurisdiction?: CodeableConcept[]; - modifier?: ("missing" | "exact" | "contains" | "not" | "text" | "in" | "not-in" | "below" | "above" | "type" | "identifier" | "ofType")[]; - _modifier?: (Element | null)[]; - multipleAnd?: boolean; - _multipleAnd?: Element; - multipleOr?: boolean; - _multipleOr?: Element; - name: string; - _name?: Element; - processingMode?: string; - _processingMode?: Element; - publisher?: string; - _publisher?: Element; - purpose?: string; - _purpose?: Element; - status: ("draft" | "active" | "retired" | "unknown"); - _status?: Element; - target?: string[]; - _target?: (Element | null)[]; - title?: string; - _title?: Element; - type: ("number" | "date" | "string" | "token" | "reference" | "composite" | "quantity" | "uri" | "special"); - _type?: Element; - url: string; - _url?: Element; - useContext?: UsageContext[]; - version?: string; - _version?: Element; - versionAlgorithmCoding?: Coding; - versionAlgorithmString?: string; - _versionAlgorithmString?: Element; -} -export const isSearchParameter = (resource: unknown): resource is SearchParameter => { - return resource !== null && typeof resource === "object" && (resource as {resourceType: string}).resourceType === "SearchParameter"; -} 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 deleted file mode 100644 index bdc21d463..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/ServiceRequest.ts +++ /dev/null @@ -1,106 +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 { Annotation } from "../hl7-fhir-r5-core/Annotation"; -import type { BackboneElement } from "../hl7-fhir-r5-core/BackboneElement"; -import type { CodeableConcept } from "../hl7-fhir-r5-core/CodeableConcept"; -import type { CodeableReference } from "../hl7-fhir-r5-core/CodeableReference"; -import type { DomainResource } from "../hl7-fhir-r5-core/DomainResource"; -import type { Identifier } from "../hl7-fhir-r5-core/Identifier"; -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 { Timing } from "../hl7-fhir-r5-core/Timing"; - -import type { Element } from "../hl7-fhir-r5-core/Element"; -export type { Annotation } from "../hl7-fhir-r5-core/Annotation"; -export type { BackboneElement } from "../hl7-fhir-r5-core/BackboneElement"; -export type { CodeableConcept } from "../hl7-fhir-r5-core/CodeableConcept"; -export type { CodeableReference } from "../hl7-fhir-r5-core/CodeableReference"; -export type { Identifier } from "../hl7-fhir-r5-core/Identifier"; -export type { Period } from "../hl7-fhir-r5-core/Period"; -export type { Quantity } from "../hl7-fhir-r5-core/Quantity"; -export type { Range } from "../hl7-fhir-r5-core/Range"; -export type { Ratio } from "../hl7-fhir-r5-core/Ratio"; -export type { Reference } from "../hl7-fhir-r5-core/Reference"; -export type { Timing } from "../hl7-fhir-r5-core/Timing"; - -export interface ServiceRequestOrderDetail extends BackboneElement { - parameter: ServiceRequestOrderDetailParameter[]; - parameterFocus?: CodeableReference; -} - -export interface ServiceRequestOrderDetailParameter extends BackboneElement { - code: CodeableConcept; - valueBoolean?: boolean; - valueCodeableConcept?: CodeableConcept; - valuePeriod?: Period; - valueQuantity?: Quantity; - valueRange?: Range; - valueRatio?: Ratio; - valueString?: string; -} - -export interface ServiceRequestPatientInstruction extends BackboneElement { - instructionMarkdown?: string; - instructionReference?: Reference<"DocumentReference">; -} - -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/ServiceRequest (pkg: hl7.fhir.r5.core#5.0.0) -export interface ServiceRequest extends DomainResource { - resourceType: "ServiceRequest"; - - asNeededBoolean?: boolean; - _asNeededBoolean?: Element; - asNeededCodeableConcept?: CodeableConcept; - authoredOn?: string; - _authoredOn?: Element; - basedOn?: Reference<"CarePlan" | "MedicationRequest" | "ServiceRequest">[]; - bodySite?: CodeableConcept[]; - bodyStructure?: Reference<"BodyStructure">; - category?: CodeableConcept[]; - code?: CodeableReference; - doNotPerform?: boolean; - _doNotPerform?: Element; - encounter?: Reference<"Encounter">; - focus?: Reference<"Resource">[]; - identifier?: Identifier[]; - instantiatesCanonical?: string[]; - _instantiatesCanonical?: (Element | null)[]; - instantiatesUri?: string[]; - _instantiatesUri?: (Element | null)[]; - insurance?: Reference<"ClaimResponse" | "Coverage">[]; - intent: ("proposal" | "plan" | "directive" | "order" | "original-order" | "reflex-order" | "filler-order" | "instance-order" | "option"); - _intent?: Element; - location?: CodeableReference[]; - note?: Annotation[]; - occurrenceDateTime?: string; - _occurrenceDateTime?: Element; - occurrencePeriod?: Period; - occurrenceTiming?: Timing; - orderDetail?: ServiceRequestOrderDetail[]; - patientInstruction?: ServiceRequestPatientInstruction[]; - performer?: Reference<"CareTeam" | "Device" | "HealthcareService" | "Organization" | "Patient" | "Practitioner" | "PractitionerRole" | "RelatedPerson">[]; - performerType?: CodeableConcept; - priority?: ("routine" | "urgent" | "asap" | "stat"); - _priority?: Element; - quantityQuantity?: Quantity; - quantityRange?: Range; - quantityRatio?: Ratio; - reason?: CodeableReference[]; - relevantHistory?: Reference<"Provenance">[]; - replaces?: Reference<"ServiceRequest">[]; - requester?: Reference<"Device" | "Organization" | "Patient" | "Practitioner" | "PractitionerRole" | "RelatedPerson">; - requisition?: Identifier; - specimen?: Reference<"Specimen">[]; - status: ("draft" | "active" | "on-hold" | "revoked" | "completed" | "entered-in-error" | "unknown"); - _status?: Element; - subject: Reference<"Device" | "Group" | "Location" | "Patient">; - supportingInfo?: CodeableReference[]; -} -export const isServiceRequest = (resource: unknown): resource is ServiceRequest => { - return resource !== null && typeof resource === "object" && (resource as {resourceType: string}).resourceType === "ServiceRequest"; -} 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 deleted file mode 100644 index b872aaaea..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/Shareable.ts +++ /dev/null @@ -1,11 +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 { Base } from "../hl7-fhir-r5-core/Base"; - -export type { Base } from "../hl7-fhir-r5-core/Base"; - -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/Shareable (pkg: hl7.fhir.r5.core#5.0.0) -export interface Shareable extends Base { -} 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 deleted file mode 100644 index e1eed79ab..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/Signature.ts +++ /dev/null @@ -1,27 +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 { Coding } from "../hl7-fhir-r5-core/Coding"; -import type { DataType } from "../hl7-fhir-r5-core/DataType"; -import type { Reference } from "../hl7-fhir-r5-core/Reference"; - -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"; -export type { Reference } from "../hl7-fhir-r5-core/Reference"; - -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/Signature (pkg: hl7.fhir.r5.core#5.0.0) -export interface Signature extends DataType { - data?: string; - _data?: Element; - onBehalfOf?: Reference<"Device" | "Organization" | "Patient" | "Practitioner" | "PractitionerRole" | "RelatedPerson">; - sigFormat?: string; - _sigFormat?: Element; - targetFormat?: string; - _targetFormat?: Element; - 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 deleted file mode 100644 index d0998c884..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/Slot.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 { CodeableReference } from "../hl7-fhir-r5-core/CodeableReference"; -import type { DomainResource } from "../hl7-fhir-r5-core/DomainResource"; -import type { Identifier } from "../hl7-fhir-r5-core/Identifier"; -import type { Reference } from "../hl7-fhir-r5-core/Reference"; - -import type { Element } from "../hl7-fhir-r5-core/Element"; -export type { CodeableConcept } from "../hl7-fhir-r5-core/CodeableConcept"; -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 (pkg: hl7.fhir.r5.core#5.0.0) -export interface Slot extends DomainResource { - resourceType: "Slot"; - - appointmentType?: CodeableConcept<("CHECKUP" | "EMERGENCY" | "FOLLOWUP" | "ROUTINE" | "WALKIN" | string)>[]; - comment?: string; - _comment?: Element; - end: string; - _end?: Element; - identifier?: Identifier[]; - overbooked?: boolean; - _overbooked?: Element; - schedule: Reference<"Schedule">; - serviceCategory?: CodeableConcept[]; - serviceType?: CodeableReference[]; - specialty?: CodeableConcept[]; - start: string; - _start?: Element; - status: ("busy" | "free" | "busy-unavailable" | "busy-tentative" | "entered-in-error"); - _status?: Element; -} -export const isSlot = (resource: unknown): resource is Slot => { - return resource !== null && typeof resource === "object" && (resource as {resourceType: string}).resourceType === "Slot"; -} 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 deleted file mode 100644 index 20ce17dff..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/Specimen.ts +++ /dev/null @@ -1,86 +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 { Annotation } from "../hl7-fhir-r5-core/Annotation"; -import type { BackboneElement } from "../hl7-fhir-r5-core/BackboneElement"; -import type { CodeableConcept } from "../hl7-fhir-r5-core/CodeableConcept"; -import type { CodeableReference } from "../hl7-fhir-r5-core/CodeableReference"; -import type { DomainResource } from "../hl7-fhir-r5-core/DomainResource"; -import type { Duration } from "../hl7-fhir-r5-core/Duration"; -import type { Identifier } from "../hl7-fhir-r5-core/Identifier"; -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"; - -import type { Element } from "../hl7-fhir-r5-core/Element"; -export type { Annotation } from "../hl7-fhir-r5-core/Annotation"; -export type { BackboneElement } from "../hl7-fhir-r5-core/BackboneElement"; -export type { CodeableConcept } from "../hl7-fhir-r5-core/CodeableConcept"; -export type { CodeableReference } from "../hl7-fhir-r5-core/CodeableReference"; -export type { Duration } from "../hl7-fhir-r5-core/Duration"; -export type { Identifier } from "../hl7-fhir-r5-core/Identifier"; -export type { Period } from "../hl7-fhir-r5-core/Period"; -export type { Quantity } from "../hl7-fhir-r5-core/Quantity"; -export type { Reference } from "../hl7-fhir-r5-core/Reference"; - -export interface SpecimenCollection extends BackboneElement { - bodySite?: CodeableReference; - collectedDateTime?: string; - collectedPeriod?: Period; - collector?: Reference<"Patient" | "Practitioner" | "PractitionerRole" | "RelatedPerson">; - device?: CodeableReference; - duration?: Duration; - fastingStatusCodeableConcept?: CodeableConcept; - fastingStatusDuration?: Duration; - method?: CodeableConcept; - procedure?: Reference<"Procedure">; - quantity?: Quantity; -} - -export interface SpecimenContainer extends BackboneElement { - device: Reference<"Device">; - location?: Reference<"Location">; - specimenQuantity?: Quantity; -} - -export interface SpecimenFeature extends BackboneElement { - description: string; - type: CodeableConcept; -} - -export interface SpecimenProcessing extends BackboneElement { - additive?: Reference<"Substance">[]; - description?: string; - method?: CodeableConcept; - timeDateTime?: string; - timePeriod?: Period; -} - -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/Specimen (pkg: hl7.fhir.r5.core#5.0.0) -export interface Specimen extends DomainResource { - resourceType: "Specimen"; - - accessionIdentifier?: Identifier; - collection?: SpecimenCollection; - combined?: string; - _combined?: Element; - condition?: CodeableConcept<("AUT" | "CFU" | "CLOT" | "CON" | "COOL" | "FROZ" | "HEM" | "LIVE" | "ROOM" | "SNR" | string)>[]; - container?: SpecimenContainer[]; - feature?: SpecimenFeature[]; - identifier?: Identifier[]; - note?: Annotation[]; - parent?: Reference<"Specimen">[]; - processing?: SpecimenProcessing[]; - receivedTime?: string; - _receivedTime?: Element; - request?: Reference<"ServiceRequest">[]; - role?: CodeableConcept[]; - status?: ("available" | "unavailable" | "unsatisfactory" | "entered-in-error"); - _status?: Element; - subject?: Reference<"BiologicallyDerivedProduct" | "Device" | "Group" | "Location" | "Patient" | "Substance">; - type?: CodeableConcept; -} -export const isSpecimen = (resource: unknown): resource is Specimen => { - return resource !== null && typeof resource === "object" && (resource as {resourceType: string}).resourceType === "Specimen"; -} 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 deleted file mode 100644 index 239702a51..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/SpecimenDefinition.ts +++ /dev/null @@ -1,123 +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 { BackboneElement } from "../hl7-fhir-r5-core/BackboneElement"; -import type { CodeableConcept } from "../hl7-fhir-r5-core/CodeableConcept"; -import type { Coding } from "../hl7-fhir-r5-core/Coding"; -import type { ContactDetail } from "../hl7-fhir-r5-core/ContactDetail"; -import type { DomainResource } from "../hl7-fhir-r5-core/DomainResource"; -import type { Duration } from "../hl7-fhir-r5-core/Duration"; -import type { Identifier } from "../hl7-fhir-r5-core/Identifier"; -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 { Reference } from "../hl7-fhir-r5-core/Reference"; -import type { UsageContext } from "../hl7-fhir-r5-core/UsageContext"; - -import type { Element } from "../hl7-fhir-r5-core/Element"; -export type { BackboneElement } from "../hl7-fhir-r5-core/BackboneElement"; -export type { CodeableConcept } from "../hl7-fhir-r5-core/CodeableConcept"; -export type { Coding } from "../hl7-fhir-r5-core/Coding"; -export type { ContactDetail } from "../hl7-fhir-r5-core/ContactDetail"; -export type { Duration } from "../hl7-fhir-r5-core/Duration"; -export type { Identifier } from "../hl7-fhir-r5-core/Identifier"; -export type { Period } from "../hl7-fhir-r5-core/Period"; -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"; -export type { UsageContext } from "../hl7-fhir-r5-core/UsageContext"; - -export interface SpecimenDefinitionTypeTested extends BackboneElement { - container?: SpecimenDefinitionTypeTestedContainer; - handling?: SpecimenDefinitionTypeTestedHandling[]; - isDerived?: boolean; - preference: ("preferred" | "alternate"); - rejectionCriterion?: CodeableConcept[]; - requirement?: string; - retentionTime?: Duration; - singleUse?: boolean; - testingDestination?: CodeableConcept[]; - type?: CodeableConcept; -} - -export interface SpecimenDefinitionTypeTestedContainer extends BackboneElement { - additive?: SpecimenDefinitionTypeTestedContainerAdditive[]; - cap?: CodeableConcept; - capacity?: Quantity; - description?: string; - material?: CodeableConcept; - minimumVolumeQuantity?: Quantity; - minimumVolumeString?: string; - preparation?: string; - type?: CodeableConcept; -} - -export interface SpecimenDefinitionTypeTestedContainerAdditive extends BackboneElement { - additiveCodeableConcept?: CodeableConcept; - additiveReference?: Reference<"SubstanceDefinition">; -} - -export interface SpecimenDefinitionTypeTestedHandling extends BackboneElement { - instruction?: string; - maxDuration?: Duration; - temperatureQualifier?: CodeableConcept; - temperatureRange?: Range; -} - -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/SpecimenDefinition (pkg: hl7.fhir.r5.core#5.0.0) -export interface SpecimenDefinition extends DomainResource { - resourceType: "SpecimenDefinition"; - - approvalDate?: string; - _approvalDate?: Element; - collection?: CodeableConcept[]; - contact?: ContactDetail[]; - copyright?: string; - _copyright?: Element; - copyrightLabel?: string; - _copyrightLabel?: Element; - date?: string; - _date?: Element; - derivedFromCanonical?: string[]; - _derivedFromCanonical?: (Element | null)[]; - derivedFromUri?: string[]; - _derivedFromUri?: (Element | null)[]; - description?: string; - _description?: Element; - effectivePeriod?: Period; - experimental?: boolean; - _experimental?: Element; - identifier?: Identifier; - jurisdiction?: CodeableConcept[]; - lastReviewDate?: string; - _lastReviewDate?: Element; - name?: string; - _name?: Element; - patientPreparation?: CodeableConcept[]; - publisher?: string; - _publisher?: Element; - purpose?: string; - _purpose?: Element; - status: ("draft" | "active" | "retired" | "unknown"); - _status?: Element; - subjectCodeableConcept?: CodeableConcept; - subjectReference?: Reference<"Group">; - timeAspect?: string; - _timeAspect?: Element; - title?: string; - _title?: Element; - typeCollected?: CodeableConcept; - typeTested?: SpecimenDefinitionTypeTested[]; - url?: string; - _url?: Element; - useContext?: UsageContext[]; - version?: string; - _version?: Element; - versionAlgorithmCoding?: Coding; - versionAlgorithmString?: string; - _versionAlgorithmString?: Element; -} -export const isSpecimenDefinition = (resource: unknown): resource is SpecimenDefinition => { - return resource !== null && typeof resource === "object" && (resource as {resourceType: string}).resourceType === "SpecimenDefinition"; -} 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 deleted file mode 100644 index b283da22c..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/StructureDefinition.ts +++ /dev/null @@ -1,100 +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 { BackboneElement } from "../hl7-fhir-r5-core/BackboneElement"; -import type { CodeableConcept } from "../hl7-fhir-r5-core/CodeableConcept"; -import type { Coding } from "../hl7-fhir-r5-core/Coding"; -import type { ContactDetail } from "../hl7-fhir-r5-core/ContactDetail"; -import type { DomainResource } from "../hl7-fhir-r5-core/DomainResource"; -import type { ElementDefinition } from "../hl7-fhir-r5-core/ElementDefinition"; -import type { Identifier } from "../hl7-fhir-r5-core/Identifier"; -import type { UsageContext } from "../hl7-fhir-r5-core/UsageContext"; - -import type { Element } from "../hl7-fhir-r5-core/Element"; -export type { BackboneElement } from "../hl7-fhir-r5-core/BackboneElement"; -export type { CodeableConcept } from "../hl7-fhir-r5-core/CodeableConcept"; -export type { Coding } from "../hl7-fhir-r5-core/Coding"; -export type { ContactDetail } from "../hl7-fhir-r5-core/ContactDetail"; -export type { ElementDefinition } from "../hl7-fhir-r5-core/ElementDefinition"; -export type { Identifier } from "../hl7-fhir-r5-core/Identifier"; -export type { UsageContext } from "../hl7-fhir-r5-core/UsageContext"; - -export interface StructureDefinitionContext extends BackboneElement { - expression: string; - type: ("fhirpath" | "element" | "extension"); -} - -export interface StructureDefinitionDifferential extends BackboneElement { - element: ElementDefinition[]; -} - -export interface StructureDefinitionMapping extends BackboneElement { - comment?: string; - identity: string; - name?: string; - uri?: string; -} - -export interface StructureDefinitionSnapshot extends BackboneElement { - element: ElementDefinition[]; -} - -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/StructureDefinition (pkg: hl7.fhir.r5.core#5.0.0) -export interface StructureDefinition extends DomainResource { - resourceType: "StructureDefinition"; - - abstract: boolean; - _abstract?: Element; - baseDefinition?: string; - _baseDefinition?: Element; - contact?: ContactDetail[]; - context?: StructureDefinitionContext[]; - contextInvariant?: string[]; - _contextInvariant?: (Element | null)[]; - copyright?: string; - _copyright?: Element; - copyrightLabel?: string; - _copyrightLabel?: Element; - date?: string; - _date?: Element; - derivation?: ("specialization" | "constraint"); - _derivation?: Element; - description?: string; - _description?: Element; - differential?: StructureDefinitionDifferential; - 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; - identifier?: Identifier[]; - jurisdiction?: CodeableConcept[]; - keyword?: Coding<("fhir-structure" | "custom-resource" | "dam" | "wire-format" | "archetype" | "template" | string)>[]; - kind: ("primitive-type" | "complex-type" | "resource" | "logical"); - _kind?: Element; - mapping?: StructureDefinitionMapping[]; - name: string; - _name?: Element; - publisher?: string; - _publisher?: Element; - purpose?: string; - _purpose?: Element; - snapshot?: StructureDefinitionSnapshot; - status: ("draft" | "active" | "retired" | "unknown"); - _status?: Element; - title?: string; - _title?: Element; - type: string; - _type?: Element; - url: string; - _url?: Element; - useContext?: UsageContext[]; - version?: string; - _version?: Element; - versionAlgorithmCoding?: Coding; - versionAlgorithmString?: string; - _versionAlgorithmString?: Element; -} -export const isStructureDefinition = (resource: unknown): resource is StructureDefinition => { - return resource !== null && typeof resource === "object" && (resource as {resourceType: string}).resourceType === "StructureDefinition"; -} 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 deleted file mode 100644 index e39e78802..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/StructureMap.ts +++ /dev/null @@ -1,141 +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 { BackboneElement } from "../hl7-fhir-r5-core/BackboneElement"; -import type { CodeableConcept } from "../hl7-fhir-r5-core/CodeableConcept"; -import type { Coding } from "../hl7-fhir-r5-core/Coding"; -import type { ContactDetail } from "../hl7-fhir-r5-core/ContactDetail"; -import type { DomainResource } from "../hl7-fhir-r5-core/DomainResource"; -import type { Identifier } from "../hl7-fhir-r5-core/Identifier"; -import type { UsageContext } from "../hl7-fhir-r5-core/UsageContext"; - -import type { Element } from "../hl7-fhir-r5-core/Element"; -export type { BackboneElement } from "../hl7-fhir-r5-core/BackboneElement"; -export type { CodeableConcept } from "../hl7-fhir-r5-core/CodeableConcept"; -export type { Coding } from "../hl7-fhir-r5-core/Coding"; -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"; - -export interface StructureMapConst extends BackboneElement { - name?: string; - value?: string; -} - -export interface StructureMapGroup extends BackboneElement { - documentation?: string; - extends?: string; - input: StructureMapGroupInput[]; - name: string; - rule?: StructureMapGroupRule[]; - typeMode?: ("none" | "types" | "type-and-types"); -} - -export interface StructureMapGroupInput extends BackboneElement { - documentation?: string; - mode: ("source" | "target"); - name: string; - type?: string; -} - -export interface StructureMapGroupRule extends BackboneElement { - dependent?: StructureMapGroupRuleDependent[]; - documentation?: string; - name?: string; - rule?: StructureMapGroupRule[]; - source: StructureMapGroupRuleSource[]; - target?: StructureMapGroupRuleTarget[]; -} - -export interface StructureMapGroupRuleDependent extends BackboneElement { - name: string; - parameter: StructureMapGroupRuleTargetParameter[]; -} - -export interface StructureMapGroupRuleSource extends BackboneElement { - check?: string; - condition?: string; - context: string; - defaultValue?: string; - element?: string; - listMode?: ("first" | "not_first" | "last" | "not_last" | "only_one"); - logMessage?: string; - max?: string; - min?: number; - type?: string; - variable?: string; -} - -export interface StructureMapGroupRuleTarget extends BackboneElement { - context?: string; - element?: string; - listMode?: ("first" | "share" | "last" | "collate")[]; - listRuleId?: string; - parameter?: StructureMapGroupRuleTargetParameter[]; - transform?: ("create" | "copy" | "truncate" | "escape" | "cast" | "append" | "translate" | "reference" | "dateOp" | "uuid" | "pointer" | "evaluate" | "cc" | "c" | "qty" | "id" | "cp"); - variable?: string; -} - -export interface StructureMapGroupRuleTargetParameter extends BackboneElement { - valueBoolean?: boolean; - valueDate?: string; - valueDateTime?: string; - valueDecimal?: number; - valueId?: string; - valueInteger?: number; - valueString?: string; - valueTime?: string; -} - -export interface StructureMapStructure extends BackboneElement { - alias?: string; - documentation?: string; - mode: ("source" | "queried" | "target" | "produced"); - url: string; -} - -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/StructureMap (pkg: hl7.fhir.r5.core#5.0.0) -export interface StructureMap extends DomainResource { - resourceType: "StructureMap"; - - "const"?: StructureMapConst[]; - contact?: ContactDetail[]; - copyright?: string; - _copyright?: Element; - copyrightLabel?: string; - _copyrightLabel?: Element; - date?: string; - _date?: Element; - description?: string; - _description?: Element; - experimental?: boolean; - _experimental?: Element; - group: StructureMapGroup[]; - identifier?: Identifier[]; - "import"?: string[]; - _import?: (Element | null)[]; - jurisdiction?: CodeableConcept[]; - name: string; - _name?: Element; - publisher?: string; - _publisher?: Element; - purpose?: string; - _purpose?: Element; - status: ("draft" | "active" | "retired" | "unknown"); - _status?: Element; - structure?: StructureMapStructure[]; - title?: string; - _title?: Element; - url: string; - _url?: Element; - useContext?: UsageContext[]; - version?: string; - _version?: Element; - versionAlgorithmCoding?: Coding; - versionAlgorithmString?: string; - _versionAlgorithmString?: Element; -} -export const isStructureMap = (resource: unknown): resource is StructureMap => { - return resource !== null && typeof resource === "object" && (resource as {resourceType: string}).resourceType === "StructureMap"; -} 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 deleted file mode 100644 index d579f1b86..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/Subscription.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 { BackboneElement } from "../hl7-fhir-r5-core/BackboneElement"; -import type { Coding } from "../hl7-fhir-r5-core/Coding"; -import type { ContactPoint } from "../hl7-fhir-r5-core/ContactPoint"; -import type { DomainResource } from "../hl7-fhir-r5-core/DomainResource"; -import type { Identifier } from "../hl7-fhir-r5-core/Identifier"; -import type { Reference } from "../hl7-fhir-r5-core/Reference"; - -import type { Element } from "../hl7-fhir-r5-core/Element"; -export type { BackboneElement } from "../hl7-fhir-r5-core/BackboneElement"; -export type { Coding } from "../hl7-fhir-r5-core/Coding"; -export type { ContactPoint } from "../hl7-fhir-r5-core/ContactPoint"; -export type { Identifier } from "../hl7-fhir-r5-core/Identifier"; -export type { Reference } from "../hl7-fhir-r5-core/Reference"; - -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?: ("Reference" | string); - value: string; -} - -export interface SubscriptionParameter extends BackboneElement { - name: string; - value: string; -} - -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/Subscription (pkg: hl7.fhir.r5.core#5.0.0) -export interface Subscription extends DomainResource { - resourceType: "Subscription"; - - channelType: Coding; - contact?: ContactPoint[]; - content?: string; - _content?: Element; - contentType?: string; - _contentType?: Element; - end?: string; - _end?: Element; - endpoint?: string; - _endpoint?: Element; - filterBy?: SubscriptionFilterBy[]; - heartbeatPeriod?: number; - _heartbeatPeriod?: Element; - identifier?: Identifier[]; - managingEntity?: Reference<"CareTeam" | "HealthcareService" | "Organization" | "Patient" | "Practitioner" | "PractitionerRole" | "RelatedPerson">; - maxCount?: number; - _maxCount?: Element; - name?: string; - _name?: Element; - parameter?: SubscriptionParameter[]; - reason?: string; - _reason?: Element; - status: ("requested" | "active" | "error" | "off"); - _status?: Element; - timeout?: number; - _timeout?: Element; - topic: string; - _topic?: Element; -} -export const isSubscription = (resource: unknown): resource is Subscription => { - return resource !== null && typeof resource === "object" && (resource as {resourceType: string}).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 deleted file mode 100644 index ab56aeec0..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/SubscriptionStatus.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 { BackboneElement } from "../hl7-fhir-r5-core/BackboneElement"; -import type { CodeableConcept } from "../hl7-fhir-r5-core/CodeableConcept"; -import type { DomainResource } from "../hl7-fhir-r5-core/DomainResource"; -import type { Reference } from "../hl7-fhir-r5-core/Reference"; - -import type { Element } from "../hl7-fhir-r5-core/Element"; -export type { BackboneElement } from "../hl7-fhir-r5-core/BackboneElement"; -export type { CodeableConcept } from "../hl7-fhir-r5-core/CodeableConcept"; -export type { Reference } from "../hl7-fhir-r5-core/Reference"; - -export interface SubscriptionStatusNotificationEvent extends BackboneElement { - additionalContext?: Reference<"Resource">[]; - eventNumber: number; - focus?: Reference<"Resource">; - timestamp?: string; -} - -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/SubscriptionStatus (pkg: hl7.fhir.r5.core#5.0.0) -export interface SubscriptionStatus extends DomainResource { - resourceType: "SubscriptionStatus"; - - error?: CodeableConcept[]; - eventsSinceSubscriptionStart?: number; - _eventsSinceSubscriptionStart?: Element; - notificationEvent?: SubscriptionStatusNotificationEvent[]; - status?: ("requested" | "active" | "error" | "off"); - _status?: Element; - subscription: Reference<"Subscription">; - topic?: string; - _topic?: Element; - type: string; - _type?: Element; -} -export const isSubscriptionStatus = (resource: unknown): resource is SubscriptionStatus => { - return resource !== null && typeof resource === "object" && (resource as {resourceType: string}).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 deleted file mode 100644 index 1f4a2d51c..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/SubscriptionTopic.ts +++ /dev/null @@ -1,109 +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 { BackboneElement } from "../hl7-fhir-r5-core/BackboneElement"; -import type { CodeableConcept } from "../hl7-fhir-r5-core/CodeableConcept"; -import type { Coding } from "../hl7-fhir-r5-core/Coding"; -import type { ContactDetail } from "../hl7-fhir-r5-core/ContactDetail"; -import type { DomainResource } from "../hl7-fhir-r5-core/DomainResource"; -import type { Identifier } from "../hl7-fhir-r5-core/Identifier"; -import type { Period } from "../hl7-fhir-r5-core/Period"; -import type { UsageContext } from "../hl7-fhir-r5-core/UsageContext"; - -import type { Element } from "../hl7-fhir-r5-core/Element"; -export type { BackboneElement } from "../hl7-fhir-r5-core/BackboneElement"; -export type { CodeableConcept } from "../hl7-fhir-r5-core/CodeableConcept"; -export type { Coding } from "../hl7-fhir-r5-core/Coding"; -export type { ContactDetail } from "../hl7-fhir-r5-core/ContactDetail"; -export type { Identifier } from "../hl7-fhir-r5-core/Identifier"; -export type { Period } from "../hl7-fhir-r5-core/Period"; -export type { UsageContext } from "../hl7-fhir-r5-core/UsageContext"; - -export interface SubscriptionTopicCanFilterBy extends BackboneElement { - comparator?: ("eq" | "ne" | "gt" | "lt" | "ge" | "le" | "sa" | "eb" | "ap")[]; - description?: string; - filterDefinition?: string; - filterParameter: string; - modifier?: ("missing" | "exact" | "contains" | "not" | "text" | "in" | "not-in" | "below" | "above" | "type" | "identifier" | "ofType")[]; - resource?: ("Reference" | string); -} - -export interface SubscriptionTopicEventTrigger extends BackboneElement { - description?: string; - event: CodeableConcept; - resource: ("Reference" | string); -} - -export interface SubscriptionTopicNotificationShape extends BackboneElement { - include?: string[]; - resource: ("Reference" | string); - revInclude?: string[]; -} - -export interface SubscriptionTopicResourceTrigger extends BackboneElement { - description?: string; - fhirPathCriteria?: string; - queryCriteria?: SubscriptionTopicResourceTriggerQueryCriteria; - resource: ("Reference" | string); - supportedInteraction?: ("create" | "update" | "delete")[]; -} - -export interface SubscriptionTopicResourceTriggerQueryCriteria extends BackboneElement { - current?: string; - previous?: string; - requireBoth?: boolean; - resultForCreate?: string; - resultForDelete?: string; -} - -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/SubscriptionTopic (pkg: hl7.fhir.r5.core#5.0.0) -export interface SubscriptionTopic extends DomainResource { - resourceType: "SubscriptionTopic"; - - approvalDate?: string; - _approvalDate?: Element; - canFilterBy?: SubscriptionTopicCanFilterBy[]; - contact?: ContactDetail[]; - copyright?: string; - _copyright?: Element; - copyrightLabel?: string; - _copyrightLabel?: Element; - date?: string; - _date?: Element; - derivedFrom?: string[]; - _derivedFrom?: (Element | null)[]; - description?: string; - _description?: Element; - effectivePeriod?: Period; - eventTrigger?: SubscriptionTopicEventTrigger[]; - experimental?: boolean; - _experimental?: Element; - identifier?: Identifier[]; - jurisdiction?: CodeableConcept[]; - lastReviewDate?: string; - _lastReviewDate?: Element; - name?: string; - _name?: Element; - notificationShape?: SubscriptionTopicNotificationShape[]; - publisher?: string; - _publisher?: Element; - purpose?: string; - _purpose?: Element; - resourceTrigger?: SubscriptionTopicResourceTrigger[]; - status: ("draft" | "active" | "retired" | "unknown"); - _status?: Element; - title?: string; - _title?: Element; - url: string; - _url?: Element; - useContext?: UsageContext[]; - version?: string; - _version?: Element; - versionAlgorithmCoding?: Coding; - versionAlgorithmString?: string; - _versionAlgorithmString?: Element; -} -export const isSubscriptionTopic = (resource: unknown): resource is SubscriptionTopic => { - return resource !== null && typeof resource === "object" && (resource as {resourceType: string}).resourceType === "SubscriptionTopic"; -} 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 deleted file mode 100644 index 4c831c0ee..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/Substance.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 { BackboneElement } from "../hl7-fhir-r5-core/BackboneElement"; -import type { CodeableConcept } from "../hl7-fhir-r5-core/CodeableConcept"; -import type { CodeableReference } from "../hl7-fhir-r5-core/CodeableReference"; -import type { DomainResource } from "../hl7-fhir-r5-core/DomainResource"; -import type { Identifier } from "../hl7-fhir-r5-core/Identifier"; -import type { Quantity } from "../hl7-fhir-r5-core/Quantity"; -import type { Ratio } from "../hl7-fhir-r5-core/Ratio"; -import type { Reference } from "../hl7-fhir-r5-core/Reference"; - -import type { Element } from "../hl7-fhir-r5-core/Element"; -export type { BackboneElement } from "../hl7-fhir-r5-core/BackboneElement"; -export type { CodeableConcept } from "../hl7-fhir-r5-core/CodeableConcept"; -export type { CodeableReference } from "../hl7-fhir-r5-core/CodeableReference"; -export type { Identifier } from "../hl7-fhir-r5-core/Identifier"; -export type { Quantity } from "../hl7-fhir-r5-core/Quantity"; -export type { Ratio } from "../hl7-fhir-r5-core/Ratio"; -export type { Reference } from "../hl7-fhir-r5-core/Reference"; - -export interface SubstanceIngredient extends BackboneElement { - quantity?: Ratio; - substanceCodeableConcept?: CodeableConcept; - substanceReference?: Reference<"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<("allergen" | "biological" | "body" | "chemical" | "food" | "drug" | "material" | string)>[]; - code: CodeableReference; - description?: string; - _description?: Element; - expiry?: string; - _expiry?: Element; - identifier?: Identifier[]; - ingredient?: SubstanceIngredient[]; - instance: boolean; - _instance?: Element; - quantity?: Quantity; - status?: ("active" | "inactive" | "entered-in-error"); - _status?: Element; -} -export const isSubstance = (resource: unknown): resource is Substance => { - return resource !== null && typeof resource === "object" && (resource as {resourceType: string}).resourceType === "Substance"; -} 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 deleted file mode 100644 index cadd922f8..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/SubstanceDefinition.ts +++ /dev/null @@ -1,159 +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 { Annotation } from "../hl7-fhir-r5-core/Annotation"; -import type { Attachment } from "../hl7-fhir-r5-core/Attachment"; -import type { BackboneElement } from "../hl7-fhir-r5-core/BackboneElement"; -import type { CodeableConcept } from "../hl7-fhir-r5-core/CodeableConcept"; -import type { DomainResource } from "../hl7-fhir-r5-core/DomainResource"; -import type { Identifier } from "../hl7-fhir-r5-core/Identifier"; -import type { Quantity } from "../hl7-fhir-r5-core/Quantity"; -import type { Ratio } from "../hl7-fhir-r5-core/Ratio"; -import type { Reference } from "../hl7-fhir-r5-core/Reference"; - -import type { Element } from "../hl7-fhir-r5-core/Element"; -export type { Annotation } from "../hl7-fhir-r5-core/Annotation"; -export type { Attachment } from "../hl7-fhir-r5-core/Attachment"; -export type { BackboneElement } from "../hl7-fhir-r5-core/BackboneElement"; -export type { CodeableConcept } from "../hl7-fhir-r5-core/CodeableConcept"; -export type { Identifier } from "../hl7-fhir-r5-core/Identifier"; -export type { Quantity } from "../hl7-fhir-r5-core/Quantity"; -export type { Ratio } from "../hl7-fhir-r5-core/Ratio"; -export type { Reference } from "../hl7-fhir-r5-core/Reference"; - -export interface SubstanceDefinitionCharacterization extends BackboneElement { - description?: string; - file?: Attachment[]; - form?: CodeableConcept; - technique?: CodeableConcept; -} - -export interface SubstanceDefinitionCode extends BackboneElement { - code?: CodeableConcept; - note?: Annotation[]; - source?: Reference<"DocumentReference">[]; - status?: CodeableConcept<("draft" | "active" | "retired" | "unknown" | string)>; - statusDate?: string; -} - -export interface SubstanceDefinitionMoiety extends BackboneElement { - amountQuantity?: Quantity; - amountString?: string; - identifier?: Identifier; - measurementType?: CodeableConcept; - molecularFormula?: string; - name?: string; - opticalActivity?: CodeableConcept; - role?: CodeableConcept; - stereochemistry?: CodeableConcept; -} - -export interface SubstanceDefinitionMolecularWeight extends BackboneElement { - amount: Quantity; - method?: CodeableConcept; - type?: CodeableConcept; -} - -export interface SubstanceDefinitionName extends BackboneElement { - domain?: CodeableConcept[]; - jurisdiction?: CodeableConcept[]; - language?: CodeableConcept[]; - name: string; - official?: SubstanceDefinitionNameOfficial[]; - preferred?: boolean; - source?: Reference<"DocumentReference">[]; - status?: CodeableConcept<("draft" | "active" | "retired" | "unknown" | string)>; - synonym?: SubstanceDefinitionName[]; - translation?: SubstanceDefinitionName[]; - type?: CodeableConcept; -} - -export interface SubstanceDefinitionNameOfficial extends BackboneElement { - authority?: CodeableConcept; - date?: string; - status?: CodeableConcept<("draft" | "active" | "retired" | "unknown" | string)>; -} - -export interface SubstanceDefinitionProperty extends BackboneElement { - type: CodeableConcept; - valueAttachment?: Attachment; - valueBoolean?: boolean; - valueCodeableConcept?: CodeableConcept; - valueDate?: string; - valueQuantity?: Quantity; -} - -export interface SubstanceDefinitionRelationship extends BackboneElement { - amountQuantity?: Quantity; - amountRatio?: Ratio; - amountString?: string; - comparator?: CodeableConcept; - isDefining?: boolean; - ratioHighLimitAmount?: Ratio; - source?: Reference<"DocumentReference">[]; - substanceDefinitionCodeableConcept?: CodeableConcept; - substanceDefinitionReference?: Reference<"SubstanceDefinition">; - type: CodeableConcept; -} - -export interface SubstanceDefinitionSourceMaterial extends BackboneElement { - countryOfOrigin?: CodeableConcept[]; - genus?: CodeableConcept; - part?: CodeableConcept; - species?: CodeableConcept; - type?: CodeableConcept; -} - -export interface SubstanceDefinitionStructure extends BackboneElement { - molecularFormula?: string; - molecularFormulaByMoiety?: string; - molecularWeight?: SubstanceDefinitionMolecularWeight; - opticalActivity?: CodeableConcept; - representation?: SubstanceDefinitionStructureRepresentation[]; - sourceDocument?: Reference<"DocumentReference">[]; - stereochemistry?: CodeableConcept; - technique?: CodeableConcept[]; -} - -export interface SubstanceDefinitionStructureRepresentation extends BackboneElement { - document?: Reference<"DocumentReference">; - format?: CodeableConcept; - representation?: string; - type?: CodeableConcept; -} - -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/SubstanceDefinition (pkg: hl7.fhir.r5.core#5.0.0) -export interface SubstanceDefinition extends DomainResource { - resourceType: "SubstanceDefinition"; - - characterization?: SubstanceDefinitionCharacterization[]; - classification?: CodeableConcept[]; - code?: SubstanceDefinitionCode[]; - description?: string; - _description?: Element; - domain?: CodeableConcept; - grade?: CodeableConcept[]; - identifier?: Identifier[]; - informationSource?: Reference<"Citation">[]; - manufacturer?: Reference<"Organization">[]; - moiety?: SubstanceDefinitionMoiety[]; - molecularWeight?: SubstanceDefinitionMolecularWeight[]; - name?: SubstanceDefinitionName[]; - note?: Annotation[]; - nucleicAcid?: Reference<"SubstanceNucleicAcid">; - polymer?: Reference<"SubstancePolymer">; - property?: SubstanceDefinitionProperty[]; - protein?: Reference<"SubstanceProtein">; - referenceInformation?: Reference<"SubstanceReferenceInformation">; - relationship?: SubstanceDefinitionRelationship[]; - sourceMaterial?: SubstanceDefinitionSourceMaterial; - status?: CodeableConcept<("draft" | "active" | "retired" | "unknown" | string)>; - structure?: SubstanceDefinitionStructure; - supplier?: Reference<"Organization">[]; - version?: string; - _version?: Element; -} -export const isSubstanceDefinition = (resource: unknown): resource is SubstanceDefinition => { - return resource !== null && typeof resource === "object" && (resource as {resourceType: string}).resourceType === "SubstanceDefinition"; -} 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 deleted file mode 100644 index 92c314a97..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/SubstanceNucleicAcid.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 { Attachment } from "../hl7-fhir-r5-core/Attachment"; -import type { BackboneElement } from "../hl7-fhir-r5-core/BackboneElement"; -import type { CodeableConcept } from "../hl7-fhir-r5-core/CodeableConcept"; -import type { DomainResource } from "../hl7-fhir-r5-core/DomainResource"; -import type { Identifier } from "../hl7-fhir-r5-core/Identifier"; - -import type { Element } from "../hl7-fhir-r5-core/Element"; -export type { Attachment } from "../hl7-fhir-r5-core/Attachment"; -export type { BackboneElement } from "../hl7-fhir-r5-core/BackboneElement"; -export type { CodeableConcept } from "../hl7-fhir-r5-core/CodeableConcept"; -export type { Identifier } from "../hl7-fhir-r5-core/Identifier"; - -export interface SubstanceNucleicAcidSubunit extends BackboneElement { - fivePrime?: CodeableConcept; - length?: number; - linkage?: SubstanceNucleicAcidSubunitLinkage[]; - sequence?: string; - sequenceAttachment?: Attachment; - subunit?: number; - sugar?: SubstanceNucleicAcidSubunitSugar[]; - threePrime?: CodeableConcept; -} - -export interface SubstanceNucleicAcidSubunitLinkage extends BackboneElement { - connectivity?: string; - identifier?: Identifier; - name?: string; - residueSite?: string; -} - -export interface SubstanceNucleicAcidSubunitSugar extends BackboneElement { - identifier?: Identifier; - name?: string; - residueSite?: string; -} - -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/SubstanceNucleicAcid (pkg: hl7.fhir.r5.core#5.0.0) -export interface SubstanceNucleicAcid extends DomainResource { - resourceType: "SubstanceNucleicAcid"; - - areaOfHybridisation?: string; - _areaOfHybridisation?: Element; - numberOfSubunits?: number; - _numberOfSubunits?: Element; - oligoNucleotideType?: CodeableConcept; - sequenceType?: CodeableConcept; - subunit?: SubstanceNucleicAcidSubunit[]; -} -export const isSubstanceNucleicAcid = (resource: unknown): resource is SubstanceNucleicAcid => { - return resource !== null && typeof resource === "object" && (resource as {resourceType: string}).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 deleted file mode 100644 index c0a19fd50..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/SubstancePolymer.ts +++ /dev/null @@ -1,74 +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 { BackboneElement } from "../hl7-fhir-r5-core/BackboneElement"; -import type { CodeableConcept } from "../hl7-fhir-r5-core/CodeableConcept"; -import type { DomainResource } from "../hl7-fhir-r5-core/DomainResource"; -import type { Identifier } from "../hl7-fhir-r5-core/Identifier"; -import type { Quantity } from "../hl7-fhir-r5-core/Quantity"; - -import type { Element } from "../hl7-fhir-r5-core/Element"; -export type { Attachment } from "../hl7-fhir-r5-core/Attachment"; -export type { BackboneElement } from "../hl7-fhir-r5-core/BackboneElement"; -export type { CodeableConcept } from "../hl7-fhir-r5-core/CodeableConcept"; -export type { Identifier } from "../hl7-fhir-r5-core/Identifier"; -export type { Quantity } from "../hl7-fhir-r5-core/Quantity"; - -export interface SubstancePolymerMonomerSet extends BackboneElement { - ratioType?: CodeableConcept; - startingMaterial?: SubstancePolymerMonomerSetStartingMaterial[]; -} - -export interface SubstancePolymerMonomerSetStartingMaterial extends BackboneElement { - amount?: Quantity; - category?: CodeableConcept; - code?: CodeableConcept; - isDefining?: boolean; -} - -export interface SubstancePolymerRepeat extends BackboneElement { - averageMolecularFormula?: string; - repeatUnit?: SubstancePolymerRepeatRepeatUnit[]; - repeatUnitAmountType?: CodeableConcept; -} - -export interface SubstancePolymerRepeatRepeatUnit extends BackboneElement { - amount?: number; - degreeOfPolymerisation?: SubstancePolymerRepeatRepeatUnitDegreeOfPolymerisation[]; - orientation?: CodeableConcept; - structuralRepresentation?: SubstancePolymerRepeatRepeatUnitStructuralRepresentation[]; - unit?: string; -} - -export interface SubstancePolymerRepeatRepeatUnitDegreeOfPolymerisation extends BackboneElement { - average?: number; - high?: number; - low?: number; - type?: CodeableConcept; -} - -export interface SubstancePolymerRepeatRepeatUnitStructuralRepresentation extends BackboneElement { - attachment?: Attachment; - format?: CodeableConcept; - representation?: string; - type?: CodeableConcept; -} - -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/SubstancePolymer (pkg: hl7.fhir.r5.core#5.0.0) -export interface SubstancePolymer extends DomainResource { - resourceType: "SubstancePolymer"; - - "class"?: CodeableConcept; - copolymerConnectivity?: CodeableConcept[]; - geometry?: CodeableConcept; - identifier?: Identifier; - modification?: string; - _modification?: Element; - monomerSet?: SubstancePolymerMonomerSet[]; - repeat?: SubstancePolymerRepeat[]; -} -export const isSubstancePolymer = (resource: unknown): resource is SubstancePolymer => { - return resource !== null && typeof resource === "object" && (resource as {resourceType: string}).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 deleted file mode 100644 index c339cb23b..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/SubstanceProtein.ts +++ /dev/null @@ -1,41 +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 { BackboneElement } from "../hl7-fhir-r5-core/BackboneElement"; -import type { CodeableConcept } from "../hl7-fhir-r5-core/CodeableConcept"; -import type { DomainResource } from "../hl7-fhir-r5-core/DomainResource"; -import type { Identifier } from "../hl7-fhir-r5-core/Identifier"; - -import type { Element } from "../hl7-fhir-r5-core/Element"; -export type { Attachment } from "../hl7-fhir-r5-core/Attachment"; -export type { BackboneElement } from "../hl7-fhir-r5-core/BackboneElement"; -export type { CodeableConcept } from "../hl7-fhir-r5-core/CodeableConcept"; -export type { Identifier } from "../hl7-fhir-r5-core/Identifier"; - -export interface SubstanceProteinSubunit extends BackboneElement { - cTerminalModification?: string; - cTerminalModificationId?: Identifier; - length?: number; - nTerminalModification?: string; - nTerminalModificationId?: Identifier; - sequence?: string; - sequenceAttachment?: Attachment; - subunit?: number; -} - -// 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 | null)[]; - numberOfSubunits?: number; - _numberOfSubunits?: Element; - sequenceType?: CodeableConcept; - subunit?: SubstanceProteinSubunit[]; -} -export const isSubstanceProtein = (resource: unknown): resource is SubstanceProtein => { - return resource !== null && typeof resource === "object" && (resource as {resourceType: string}).resourceType === "SubstanceProtein"; -} 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 deleted file mode 100644 index 5e4952dd7..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/SubstanceReferenceInformation.ts +++ /dev/null @@ -1,58 +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 { BackboneElement } from "../hl7-fhir-r5-core/BackboneElement"; -import type { CodeableConcept } from "../hl7-fhir-r5-core/CodeableConcept"; -import type { DomainResource } from "../hl7-fhir-r5-core/DomainResource"; -import type { Identifier } from "../hl7-fhir-r5-core/Identifier"; -import type { Quantity } from "../hl7-fhir-r5-core/Quantity"; -import type { Range } from "../hl7-fhir-r5-core/Range"; -import type { Reference } from "../hl7-fhir-r5-core/Reference"; - -import type { Element } from "../hl7-fhir-r5-core/Element"; -export type { BackboneElement } from "../hl7-fhir-r5-core/BackboneElement"; -export type { CodeableConcept } from "../hl7-fhir-r5-core/CodeableConcept"; -export type { Identifier } from "../hl7-fhir-r5-core/Identifier"; -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"; - -export interface SubstanceReferenceInformationGene extends BackboneElement { - gene?: CodeableConcept; - geneSequenceOrigin?: CodeableConcept; - source?: Reference<"DocumentReference">[]; -} - -export interface SubstanceReferenceInformationGeneElement extends BackboneElement { - element?: Identifier; - source?: Reference<"DocumentReference">[]; - type?: CodeableConcept; -} - -export interface SubstanceReferenceInformationTarget extends BackboneElement { - amountQuantity?: Quantity; - amountRange?: Range; - amountString?: string; - amountType?: CodeableConcept; - interaction?: CodeableConcept; - organism?: CodeableConcept; - organismType?: CodeableConcept; - source?: Reference<"DocumentReference">[]; - target?: Identifier; - type?: CodeableConcept; -} - -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/SubstanceReferenceInformation (pkg: hl7.fhir.r5.core#5.0.0) -export interface SubstanceReferenceInformation extends DomainResource { - resourceType: "SubstanceReferenceInformation"; - - comment?: string; - _comment?: Element; - gene?: SubstanceReferenceInformationGene[]; - geneElement?: SubstanceReferenceInformationGeneElement[]; - target?: SubstanceReferenceInformationTarget[]; -} -export const isSubstanceReferenceInformation = (resource: unknown): resource is SubstanceReferenceInformation => { - return resource !== null && typeof resource === "object" && (resource as {resourceType: string}).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 deleted file mode 100644 index be9c7ba39..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/SubstanceSourceMaterial.ts +++ /dev/null @@ -1,79 +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 { BackboneElement } from "../hl7-fhir-r5-core/BackboneElement"; -import type { CodeableConcept } from "../hl7-fhir-r5-core/CodeableConcept"; -import type { DomainResource } from "../hl7-fhir-r5-core/DomainResource"; -import type { Identifier } from "../hl7-fhir-r5-core/Identifier"; - -import type { Element } from "../hl7-fhir-r5-core/Element"; -export type { BackboneElement } from "../hl7-fhir-r5-core/BackboneElement"; -export type { CodeableConcept } from "../hl7-fhir-r5-core/CodeableConcept"; -export type { Identifier } from "../hl7-fhir-r5-core/Identifier"; - -export interface SubstanceSourceMaterialFractionDescription extends BackboneElement { - fraction?: string; - materialType?: CodeableConcept; -} - -export interface SubstanceSourceMaterialOrganism extends BackboneElement { - author?: SubstanceSourceMaterialOrganismAuthor[]; - family?: CodeableConcept; - genus?: CodeableConcept; - hybrid?: SubstanceSourceMaterialOrganismHybrid; - intraspecificDescription?: string; - intraspecificType?: CodeableConcept; - organismGeneral?: SubstanceSourceMaterialOrganismOrganismGeneral; - species?: CodeableConcept; -} - -export interface SubstanceSourceMaterialOrganismAuthor extends BackboneElement { - authorDescription?: string; - authorType?: CodeableConcept; -} - -export interface SubstanceSourceMaterialOrganismHybrid extends BackboneElement { - hybridType?: CodeableConcept; - maternalOrganismId?: string; - maternalOrganismName?: string; - paternalOrganismId?: string; - paternalOrganismName?: string; -} - -export interface SubstanceSourceMaterialOrganismOrganismGeneral extends BackboneElement { - "class"?: CodeableConcept; - kingdom?: CodeableConcept; - order?: CodeableConcept; - phylum?: CodeableConcept; -} - -export interface SubstanceSourceMaterialPartDescription extends BackboneElement { - part?: CodeableConcept; - partLocation?: CodeableConcept; -} - -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/SubstanceSourceMaterial (pkg: hl7.fhir.r5.core#5.0.0) -export interface SubstanceSourceMaterial extends DomainResource { - resourceType: "SubstanceSourceMaterial"; - - countryOfOrigin?: CodeableConcept[]; - developmentStage?: CodeableConcept; - fractionDescription?: SubstanceSourceMaterialFractionDescription[]; - geographicalLocation?: string[]; - _geographicalLocation?: (Element | null)[]; - organism?: SubstanceSourceMaterialOrganism; - organismId?: Identifier; - organismName?: string; - _organismName?: Element; - parentSubstanceId?: Identifier[]; - parentSubstanceName?: string[]; - _parentSubstanceName?: (Element | null)[]; - partDescription?: SubstanceSourceMaterialPartDescription[]; - sourceMaterialClass?: CodeableConcept; - sourceMaterialState?: CodeableConcept; - sourceMaterialType?: CodeableConcept; -} -export const isSubstanceSourceMaterial = (resource: unknown): resource is SubstanceSourceMaterial => { - return resource !== null && typeof resource === "object" && (resource as {resourceType: string}).resourceType === "SubstanceSourceMaterial"; -} 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 deleted file mode 100644 index aa49fc9fb..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/SupplyDelivery.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 { BackboneElement } from "../hl7-fhir-r5-core/BackboneElement"; -import type { CodeableConcept } from "../hl7-fhir-r5-core/CodeableConcept"; -import type { DomainResource } from "../hl7-fhir-r5-core/DomainResource"; -import type { Identifier } from "../hl7-fhir-r5-core/Identifier"; -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"; -import type { Timing } from "../hl7-fhir-r5-core/Timing"; - -import type { Element } from "../hl7-fhir-r5-core/Element"; -export type { BackboneElement } from "../hl7-fhir-r5-core/BackboneElement"; -export type { CodeableConcept } from "../hl7-fhir-r5-core/CodeableConcept"; -export type { Identifier } from "../hl7-fhir-r5-core/Identifier"; -export type { Period } from "../hl7-fhir-r5-core/Period"; -export type { Quantity } from "../hl7-fhir-r5-core/Quantity"; -export type { Reference } from "../hl7-fhir-r5-core/Reference"; -export type { Timing } from "../hl7-fhir-r5-core/Timing"; - -export interface SupplyDeliverySuppliedItem extends BackboneElement { - itemCodeableConcept?: CodeableConcept; - itemReference?: Reference<"BiologicallyDerivedProduct" | "Device" | "InventoryItem" | "Medication" | "NutritionProduct" | "Substance">; - quantity?: Quantity; -} - -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/SupplyDelivery (pkg: hl7.fhir.r5.core#5.0.0) -export interface SupplyDelivery extends DomainResource { - resourceType: "SupplyDelivery"; - - basedOn?: Reference<"SupplyRequest">[]; - destination?: Reference<"Location">; - identifier?: Identifier[]; - occurrenceDateTime?: string; - _occurrenceDateTime?: Element; - occurrencePeriod?: Period; - occurrenceTiming?: Timing; - partOf?: Reference<"Contract" | "SupplyDelivery">[]; - patient?: Reference<"Patient">; - receiver?: Reference<"Organization" | "Practitioner" | "PractitionerRole">[]; - status?: ("in-progress" | "completed" | "abandoned" | "entered-in-error"); - _status?: Element; - suppliedItem?: SupplyDeliverySuppliedItem[]; - supplier?: Reference<"Organization" | "Practitioner" | "PractitionerRole">; - type?: CodeableConcept; -} -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-r5-core/SupplyRequest.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/SupplyRequest.ts deleted file mode 100644 index 85fc549f7..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/SupplyRequest.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 { BackboneElement } from "../hl7-fhir-r5-core/BackboneElement"; -import type { CodeableConcept } from "../hl7-fhir-r5-core/CodeableConcept"; -import type { CodeableReference } from "../hl7-fhir-r5-core/CodeableReference"; -import type { DomainResource } from "../hl7-fhir-r5-core/DomainResource"; -import type { Identifier } from "../hl7-fhir-r5-core/Identifier"; -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 { Reference } from "../hl7-fhir-r5-core/Reference"; -import type { Timing } from "../hl7-fhir-r5-core/Timing"; - -import type { Element } from "../hl7-fhir-r5-core/Element"; -export type { BackboneElement } from "../hl7-fhir-r5-core/BackboneElement"; -export type { CodeableConcept } from "../hl7-fhir-r5-core/CodeableConcept"; -export type { CodeableReference } from "../hl7-fhir-r5-core/CodeableReference"; -export type { Identifier } from "../hl7-fhir-r5-core/Identifier"; -export type { Period } from "../hl7-fhir-r5-core/Period"; -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"; -export type { Timing } from "../hl7-fhir-r5-core/Timing"; - -export interface SupplyRequestParameter extends BackboneElement { - code?: CodeableConcept; - valueBoolean?: boolean; - valueCodeableConcept?: CodeableConcept; - valueQuantity?: Quantity; - valueRange?: Range; -} - -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/SupplyRequest (pkg: hl7.fhir.r5.core#5.0.0) -export interface SupplyRequest extends DomainResource { - resourceType: "SupplyRequest"; - - authoredOn?: string; - _authoredOn?: Element; - basedOn?: Reference<"Resource">[]; - category?: CodeableConcept; - deliverFor?: Reference<"Patient">; - deliverFrom?: Reference<"Location" | "Organization">; - deliverTo?: Reference<"Location" | "Organization" | "Patient" | "RelatedPerson">; - identifier?: Identifier[]; - item: CodeableReference; - occurrenceDateTime?: string; - _occurrenceDateTime?: Element; - occurrencePeriod?: Period; - occurrenceTiming?: Timing; - parameter?: SupplyRequestParameter[]; - priority?: ("routine" | "urgent" | "asap" | "stat"); - _priority?: Element; - quantity: Quantity; - reason?: CodeableReference[]; - requester?: Reference<"CareTeam" | "Device" | "Organization" | "Patient" | "Practitioner" | "PractitionerRole" | "RelatedPerson">; - status?: ("draft" | "active" | "suspended" | "cancelled" | "completed" | "entered-in-error" | "unknown"); - _status?: Element; - supplier?: Reference<"HealthcareService" | "Organization">[]; -} -export const isSupplyRequest = (resource: unknown): resource is SupplyRequest => { - return resource !== null && typeof resource === "object" && (resource as {resourceType: string}).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 deleted file mode 100644 index 46b27a423..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/Task.ts +++ /dev/null @@ -1,255 +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 { Address } from "../hl7-fhir-r5-core/Address"; -import type { Age } from "../hl7-fhir-r5-core/Age"; -import type { Annotation } from "../hl7-fhir-r5-core/Annotation"; -import type { Attachment } from "../hl7-fhir-r5-core/Attachment"; -import type { Availability } from "../hl7-fhir-r5-core/Availability"; -import type { BackboneElement } from "../hl7-fhir-r5-core/BackboneElement"; -import type { CodeableConcept } from "../hl7-fhir-r5-core/CodeableConcept"; -import type { CodeableReference } from "../hl7-fhir-r5-core/CodeableReference"; -import type { Coding } from "../hl7-fhir-r5-core/Coding"; -import type { ContactDetail } from "../hl7-fhir-r5-core/ContactDetail"; -import type { ContactPoint } from "../hl7-fhir-r5-core/ContactPoint"; -import type { Count } from "../hl7-fhir-r5-core/Count"; -import type { DataRequirement } from "../hl7-fhir-r5-core/DataRequirement"; -import type { Distance } from "../hl7-fhir-r5-core/Distance"; -import type { DomainResource } from "../hl7-fhir-r5-core/DomainResource"; -import type { Dosage } from "../hl7-fhir-r5-core/Dosage"; -import type { Duration } from "../hl7-fhir-r5-core/Duration"; -import type { Expression } from "../hl7-fhir-r5-core/Expression"; -import type { ExtendedContactDetail } from "../hl7-fhir-r5-core/ExtendedContactDetail"; -import type { HumanName } from "../hl7-fhir-r5-core/HumanName"; -import type { Identifier } from "../hl7-fhir-r5-core/Identifier"; -import type { Meta } from "../hl7-fhir-r5-core/Meta"; -import type { Money } from "../hl7-fhir-r5-core/Money"; -import type { ParameterDefinition } from "../hl7-fhir-r5-core/ParameterDefinition"; -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 { RatioRange } from "../hl7-fhir-r5-core/RatioRange"; -import type { Reference } from "../hl7-fhir-r5-core/Reference"; -import type { RelatedArtifact } from "../hl7-fhir-r5-core/RelatedArtifact"; -import type { SampledData } from "../hl7-fhir-r5-core/SampledData"; -import type { Signature } from "../hl7-fhir-r5-core/Signature"; -import type { Timing } from "../hl7-fhir-r5-core/Timing"; -import type { TriggerDefinition } from "../hl7-fhir-r5-core/TriggerDefinition"; -import type { UsageContext } from "../hl7-fhir-r5-core/UsageContext"; - -import type { Element } from "../hl7-fhir-r5-core/Element"; -export type { Address } from "../hl7-fhir-r5-core/Address"; -export type { Age } from "../hl7-fhir-r5-core/Age"; -export type { Annotation } from "../hl7-fhir-r5-core/Annotation"; -export type { Attachment } from "../hl7-fhir-r5-core/Attachment"; -export type { Availability } from "../hl7-fhir-r5-core/Availability"; -export type { BackboneElement } from "../hl7-fhir-r5-core/BackboneElement"; -export type { CodeableConcept } from "../hl7-fhir-r5-core/CodeableConcept"; -export type { CodeableReference } from "../hl7-fhir-r5-core/CodeableReference"; -export type { Coding } from "../hl7-fhir-r5-core/Coding"; -export type { ContactDetail } from "../hl7-fhir-r5-core/ContactDetail"; -export type { ContactPoint } from "../hl7-fhir-r5-core/ContactPoint"; -export type { Count } from "../hl7-fhir-r5-core/Count"; -export type { DataRequirement } from "../hl7-fhir-r5-core/DataRequirement"; -export type { Distance } from "../hl7-fhir-r5-core/Distance"; -export type { Dosage } from "../hl7-fhir-r5-core/Dosage"; -export type { Duration } from "../hl7-fhir-r5-core/Duration"; -export type { Expression } from "../hl7-fhir-r5-core/Expression"; -export type { ExtendedContactDetail } from "../hl7-fhir-r5-core/ExtendedContactDetail"; -export type { HumanName } from "../hl7-fhir-r5-core/HumanName"; -export type { Identifier } from "../hl7-fhir-r5-core/Identifier"; -export type { Meta } from "../hl7-fhir-r5-core/Meta"; -export type { Money } from "../hl7-fhir-r5-core/Money"; -export type { ParameterDefinition } from "../hl7-fhir-r5-core/ParameterDefinition"; -export type { Period } from "../hl7-fhir-r5-core/Period"; -export type { Quantity } from "../hl7-fhir-r5-core/Quantity"; -export type { Range } from "../hl7-fhir-r5-core/Range"; -export type { Ratio } from "../hl7-fhir-r5-core/Ratio"; -export type { RatioRange } from "../hl7-fhir-r5-core/RatioRange"; -export type { Reference } from "../hl7-fhir-r5-core/Reference"; -export type { RelatedArtifact } from "../hl7-fhir-r5-core/RelatedArtifact"; -export type { SampledData } from "../hl7-fhir-r5-core/SampledData"; -export type { Signature } from "../hl7-fhir-r5-core/Signature"; -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"; - -export interface TaskInput extends BackboneElement { - type: CodeableConcept; - valueAddress?: Address; - valueAge?: Age; - valueAnnotation?: Annotation; - valueAttachment?: Attachment; - valueAvailability?: Availability; - valueBase64Binary?: string; - valueBoolean?: boolean; - valueCanonical?: string; - valueCode?: string; - valueCodeableConcept?: CodeableConcept; - valueCodeableReference?: CodeableReference; - valueCoding?: Coding; - valueContactDetail?: ContactDetail; - valueContactPoint?: ContactPoint; - valueCount?: Count; - valueDataRequirement?: DataRequirement; - valueDate?: string; - valueDateTime?: string; - valueDecimal?: number; - valueDistance?: Distance; - valueDosage?: Dosage; - valueDuration?: Duration; - valueExpression?: Expression; - valueExtendedContactDetail?: ExtendedContactDetail; - valueHumanName?: HumanName; - valueId?: string; - valueIdentifier?: Identifier; - valueInstant?: string; - valueInteger?: number; - valueInteger64?: number; - valueMarkdown?: string; - valueMeta?: Meta; - valueMoney?: Money; - valueOid?: string; - valueParameterDefinition?: ParameterDefinition; - valuePeriod?: Period; - valuePositiveInt?: number; - valueQuantity?: Quantity; - valueRange?: Range; - valueRatio?: Ratio; - valueRatioRange?: RatioRange; - valueReference?: Reference; - valueRelatedArtifact?: RelatedArtifact; - valueSampledData?: SampledData; - valueSignature?: Signature; - valueString?: string; - valueTime?: string; - valueTiming?: Timing; - valueTriggerDefinition?: TriggerDefinition; - valueUnsignedInt?: number; - valueUri?: string; - valueUrl?: string; - valueUsageContext?: UsageContext; - valueUuid?: string; -} - -export interface TaskOutput extends BackboneElement { - type: CodeableConcept; - valueAddress?: Address; - valueAge?: Age; - valueAnnotation?: Annotation; - valueAttachment?: Attachment; - valueAvailability?: Availability; - valueBase64Binary?: string; - valueBoolean?: boolean; - valueCanonical?: string; - valueCode?: string; - valueCodeableConcept?: CodeableConcept; - valueCodeableReference?: CodeableReference; - valueCoding?: Coding; - valueContactDetail?: ContactDetail; - valueContactPoint?: ContactPoint; - valueCount?: Count; - valueDataRequirement?: DataRequirement; - valueDate?: string; - valueDateTime?: string; - valueDecimal?: number; - valueDistance?: Distance; - valueDosage?: Dosage; - valueDuration?: Duration; - valueExpression?: Expression; - valueExtendedContactDetail?: ExtendedContactDetail; - valueHumanName?: HumanName; - valueId?: string; - valueIdentifier?: Identifier; - valueInstant?: string; - valueInteger?: number; - valueInteger64?: number; - valueMarkdown?: string; - valueMeta?: Meta; - valueMoney?: Money; - valueOid?: string; - valueParameterDefinition?: ParameterDefinition; - valuePeriod?: Period; - valuePositiveInt?: number; - valueQuantity?: Quantity; - valueRange?: Range; - valueRatio?: Ratio; - valueRatioRange?: RatioRange; - valueReference?: Reference; - valueRelatedArtifact?: RelatedArtifact; - valueSampledData?: SampledData; - valueSignature?: Signature; - valueString?: string; - valueTime?: string; - valueTiming?: Timing; - valueTriggerDefinition?: TriggerDefinition; - valueUnsignedInt?: number; - valueUri?: string; - valueUrl?: string; - valueUsageContext?: UsageContext; - valueUuid?: string; -} - -export interface TaskPerformer extends BackboneElement { - actor: Reference<"CareTeam" | "Organization" | "Patient" | "Practitioner" | "PractitionerRole" | "RelatedPerson">; - "function"?: CodeableConcept; -} - -export interface TaskRestriction extends BackboneElement { - period?: Period; - recipient?: Reference<"Group" | "Organization" | "Patient" | "Practitioner" | "PractitionerRole" | "RelatedPerson">[]; - repetitions?: number; -} - -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/Task (pkg: hl7.fhir.r5.core#5.0.0) -export interface Task extends DomainResource { - resourceType: "Task"; - - authoredOn?: string; - _authoredOn?: Element; - basedOn?: Reference<"Resource">[]; - businessStatus?: CodeableConcept; - code?: CodeableConcept; - description?: string; - _description?: Element; - doNotPerform?: boolean; - _doNotPerform?: Element; - encounter?: Reference<"Encounter">; - executionPeriod?: Period; - focus?: Reference<"Resource">; - "for"?: Reference<"Resource">; - groupIdentifier?: Identifier; - identifier?: Identifier[]; - input?: TaskInput[]; - instantiatesCanonical?: string; - _instantiatesCanonical?: Element; - instantiatesUri?: string; - _instantiatesUri?: Element; - insurance?: Reference<"ClaimResponse" | "Coverage">[]; - intent: ("unknown" | "proposal" | "plan" | "order" | "original-order" | "reflex-order" | "filler-order" | "instance-order" | "option"); - _intent?: Element; - lastModified?: string; - _lastModified?: Element; - location?: Reference<"Location">; - note?: Annotation[]; - output?: TaskOutput[]; - owner?: Reference<"CareTeam" | "Organization" | "Patient" | "Practitioner" | "PractitionerRole" | "RelatedPerson">; - partOf?: Reference<"Task">[]; - performer?: TaskPerformer[]; - priority?: ("routine" | "urgent" | "asap" | "stat"); - _priority?: Element; - reason?: CodeableReference[]; - relevantHistory?: Reference<"Provenance">[]; - requestedPerformer?: CodeableReference[]; - requestedPeriod?: Period; - requester?: Reference<"Device" | "Organization" | "Patient" | "Practitioner" | "PractitionerRole" | "RelatedPerson">; - restriction?: TaskRestriction; - status: ("draft" | "requested" | "received" | "accepted" | "rejected" | "ready" | "cancelled" | "in-progress" | "on-hold" | "failed" | "completed" | "entered-in-error"); - _status?: Element; - statusReason?: CodeableReference; -} -export const isTask = (resource: unknown): resource is Task => { - return resource !== null && typeof resource === "object" && (resource as {resourceType: string}).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 deleted file mode 100644 index 09ec3872c..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/TerminologyCapabilities.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 { BackboneElement } from "../hl7-fhir-r5-core/BackboneElement"; -import type { CodeableConcept } from "../hl7-fhir-r5-core/CodeableConcept"; -import type { Coding } from "../hl7-fhir-r5-core/Coding"; -import type { ContactDetail } from "../hl7-fhir-r5-core/ContactDetail"; -import type { DomainResource } from "../hl7-fhir-r5-core/DomainResource"; -import type { Identifier } from "../hl7-fhir-r5-core/Identifier"; -import type { UsageContext } from "../hl7-fhir-r5-core/UsageContext"; - -import type { Element } from "../hl7-fhir-r5-core/Element"; -export type { BackboneElement } from "../hl7-fhir-r5-core/BackboneElement"; -export type { CodeableConcept } from "../hl7-fhir-r5-core/CodeableConcept"; -export type { Coding } from "../hl7-fhir-r5-core/Coding"; -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"; - -export interface TerminologyCapabilitiesClosure extends BackboneElement { - translation?: boolean; -} - -export interface TerminologyCapabilitiesCodeSystem extends BackboneElement { - content: ("not-present" | "example" | "fragment" | "complete" | "supplement"); - subsumption?: boolean; - uri?: string; - version?: TerminologyCapabilitiesCodeSystemVersion[]; -} - -export interface TerminologyCapabilitiesCodeSystemVersion extends BackboneElement { - code?: string; - compositional?: boolean; - filter?: TerminologyCapabilitiesCodeSystemVersionFilter[]; - isDefault?: boolean; - language?: ("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")[]; - property?: string[]; -} - -export interface TerminologyCapabilitiesCodeSystemVersionFilter extends BackboneElement { - code: string; - op: string[]; -} - -export interface TerminologyCapabilitiesExpansion extends BackboneElement { - hierarchical?: boolean; - incomplete?: boolean; - paging?: boolean; - parameter?: TerminologyCapabilitiesExpansionParameter[]; - textFilter?: string; -} - -export interface TerminologyCapabilitiesExpansionParameter extends BackboneElement { - documentation?: string; - name: string; -} - -export interface TerminologyCapabilitiesImplementation extends BackboneElement { - description: string; - url?: string; -} - -export interface TerminologyCapabilitiesSoftware extends BackboneElement { - name: string; - version?: string; -} - -export interface TerminologyCapabilitiesTranslation extends BackboneElement { - needsMap: boolean; -} - -export interface TerminologyCapabilitiesValidateCode extends BackboneElement { - translations: boolean; -} - -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/TerminologyCapabilities (pkg: hl7.fhir.r5.core#5.0.0) -export interface TerminologyCapabilities extends DomainResource { - resourceType: "TerminologyCapabilities"; - - closure?: TerminologyCapabilitiesClosure; - codeSearch?: ("explicit" | "all"); - _codeSearch?: Element; - codeSystem?: TerminologyCapabilitiesCodeSystem[]; - contact?: ContactDetail[]; - copyright?: string; - _copyright?: Element; - copyrightLabel?: string; - _copyrightLabel?: Element; - date: string; - _date?: Element; - description?: string; - _description?: Element; - expansion?: TerminologyCapabilitiesExpansion; - experimental?: boolean; - _experimental?: Element; - identifier?: Identifier[]; - implementation?: TerminologyCapabilitiesImplementation; - jurisdiction?: CodeableConcept[]; - kind: ("instance" | "capability" | "requirements"); - _kind?: Element; - lockedDate?: boolean; - _lockedDate?: Element; - name?: string; - _name?: Element; - publisher?: string; - _publisher?: Element; - purpose?: string; - _purpose?: Element; - software?: TerminologyCapabilitiesSoftware; - status: ("draft" | "active" | "retired" | "unknown"); - _status?: Element; - title?: string; - _title?: Element; - translation?: TerminologyCapabilitiesTranslation; - url?: string; - _url?: Element; - useContext?: UsageContext[]; - validateCode?: TerminologyCapabilitiesValidateCode; - version?: string; - _version?: Element; - versionAlgorithmCoding?: Coding; - versionAlgorithmString?: string; - _versionAlgorithmString?: Element; -} -export const isTerminologyCapabilities = (resource: unknown): resource is TerminologyCapabilities => { - return resource !== null && typeof resource === "object" && (resource as {resourceType: string}).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 deleted file mode 100644 index 4c682199f..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/TestPlan.ts +++ /dev/null @@ -1,114 +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 { BackboneElement } from "../hl7-fhir-r5-core/BackboneElement"; -import type { CodeableConcept } from "../hl7-fhir-r5-core/CodeableConcept"; -import type { CodeableReference } from "../hl7-fhir-r5-core/CodeableReference"; -import type { Coding } from "../hl7-fhir-r5-core/Coding"; -import type { ContactDetail } from "../hl7-fhir-r5-core/ContactDetail"; -import type { DomainResource } from "../hl7-fhir-r5-core/DomainResource"; -import type { Identifier } from "../hl7-fhir-r5-core/Identifier"; -import type { Reference } from "../hl7-fhir-r5-core/Reference"; -import type { UsageContext } from "../hl7-fhir-r5-core/UsageContext"; - -import type { Element } from "../hl7-fhir-r5-core/Element"; -export type { BackboneElement } from "../hl7-fhir-r5-core/BackboneElement"; -export type { CodeableConcept } from "../hl7-fhir-r5-core/CodeableConcept"; -export type { CodeableReference } from "../hl7-fhir-r5-core/CodeableReference"; -export type { Coding } from "../hl7-fhir-r5-core/Coding"; -export type { ContactDetail } from "../hl7-fhir-r5-core/ContactDetail"; -export type { Identifier } from "../hl7-fhir-r5-core/Identifier"; -export type { Reference } from "../hl7-fhir-r5-core/Reference"; -export type { UsageContext } from "../hl7-fhir-r5-core/UsageContext"; - -export interface TestPlanDependency extends BackboneElement { - description?: string; - predecessor?: Reference; -} - -export interface TestPlanTestCase extends BackboneElement { - assertion?: TestPlanTestCaseAssertion[]; - dependency?: TestPlanTestCaseDependency[]; - scope?: Reference[]; - sequence?: number; - testData?: TestPlanTestCaseTestData[]; - testRun?: TestPlanTestCaseTestRun[]; -} - -export interface TestPlanTestCaseAssertion extends BackboneElement { - object?: CodeableReference[]; - result?: CodeableReference[]; - type?: CodeableConcept[]; -} - -export interface TestPlanTestCaseDependency extends BackboneElement { - description?: string; - predecessor?: Reference; -} - -export interface TestPlanTestCaseTestData extends BackboneElement { - content?: Reference; - sourceReference?: Reference; - sourceString?: string; - type: Coding; -} - -export interface TestPlanTestCaseTestRun extends BackboneElement { - narrative?: string; - script?: TestPlanTestCaseTestRunScript; -} - -export interface TestPlanTestCaseTestRunScript extends BackboneElement { - language?: CodeableConcept; - sourceReference?: Reference; - sourceString?: string; -} - -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/TestPlan (pkg: hl7.fhir.r5.core#5.0.0) -export interface TestPlan extends DomainResource { - resourceType: "TestPlan"; - - category?: CodeableConcept[]; - contact?: ContactDetail[]; - copyright?: string; - _copyright?: Element; - copyrightLabel?: string; - _copyrightLabel?: Element; - date?: string; - _date?: Element; - dependency?: TestPlanDependency[]; - description?: string; - _description?: Element; - exitCriteria?: string; - _exitCriteria?: Element; - experimental?: boolean; - _experimental?: Element; - identifier?: Identifier[]; - jurisdiction?: CodeableConcept[]; - name?: string; - _name?: Element; - publisher?: string; - _publisher?: Element; - purpose?: string; - _purpose?: Element; - scope?: Reference[]; - status: ("draft" | "active" | "retired" | "unknown"); - _status?: Element; - testCase?: TestPlanTestCase[]; - testTools?: string; - _testTools?: Element; - title?: string; - _title?: Element; - url?: string; - _url?: Element; - useContext?: UsageContext[]; - version?: string; - _version?: Element; - versionAlgorithmCoding?: Coding; - versionAlgorithmString?: string; - _versionAlgorithmString?: Element; -} -export const isTestPlan = (resource: unknown): resource is TestPlan => { - return resource !== null && typeof resource === "object" && (resource as {resourceType: string}).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 deleted file mode 100644 index 6ead01871..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/TestReport.ts +++ /dev/null @@ -1,91 +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 { BackboneElement } from "../hl7-fhir-r5-core/BackboneElement"; -import type { DomainResource } from "../hl7-fhir-r5-core/DomainResource"; -import type { Identifier } from "../hl7-fhir-r5-core/Identifier"; - -import type { Element } from "../hl7-fhir-r5-core/Element"; -export type { BackboneElement } from "../hl7-fhir-r5-core/BackboneElement"; -export type { Identifier } from "../hl7-fhir-r5-core/Identifier"; - -export interface TestReportParticipant extends BackboneElement { - display?: string; - type: ("test-engine" | "client" | "server"); - uri: string; -} - -export interface TestReportSetup extends BackboneElement { - action: TestReportSetupAction[]; -} - -export interface TestReportSetupAction extends BackboneElement { - assert?: TestReportSetupActionAssert; - operation?: TestReportSetupActionOperation; -} - -export interface TestReportSetupActionAssert extends BackboneElement { - detail?: string; - message?: string; - requirement?: TestReportSetupActionAssertRequirement[]; - result: ("pass" | "skip" | "fail" | "warning" | "error"); -} - -export interface TestReportSetupActionAssertRequirement extends BackboneElement { - linkCanonical?: string; - linkUri?: string; -} - -export interface TestReportSetupActionOperation extends BackboneElement { - detail?: string; - message?: string; - result: ("pass" | "skip" | "fail" | "warning" | "error"); -} - -export interface TestReportTeardown extends BackboneElement { - action: TestReportTeardownAction[]; -} - -export interface TestReportTeardownAction extends BackboneElement { - operation: TestReportSetupActionOperation; -} - -export interface TestReportTest extends BackboneElement { - action: TestReportTestAction[]; - description?: string; - name?: string; -} - -export interface TestReportTestAction extends BackboneElement { - assert?: TestReportSetupActionAssert; - operation?: TestReportSetupActionOperation; -} - -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/TestReport (pkg: hl7.fhir.r5.core#5.0.0) -export interface TestReport extends DomainResource { - resourceType: "TestReport"; - - identifier?: Identifier; - issued?: string; - _issued?: Element; - name?: string; - _name?: Element; - participant?: TestReportParticipant[]; - result: ("pass" | "fail" | "pending"); - _result?: Element; - score?: number; - _score?: Element; - setup?: TestReportSetup; - status: ("completed" | "in-progress" | "waiting" | "stopped" | "entered-in-error"); - _status?: Element; - teardown?: TestReportTeardown; - test?: TestReportTest[]; - tester?: string; - _tester?: Element; - testScript: string; - _testScript?: Element; -} -export const isTestReport = (resource: unknown): resource is TestReport => { - return resource !== null && typeof resource === "object" && (resource as {resourceType: string}).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 deleted file mode 100644 index 4b47ed468..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/TestScript.ts +++ /dev/null @@ -1,213 +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 { BackboneElement } from "../hl7-fhir-r5-core/BackboneElement"; -import type { CodeableConcept } from "../hl7-fhir-r5-core/CodeableConcept"; -import type { Coding } from "../hl7-fhir-r5-core/Coding"; -import type { ContactDetail } from "../hl7-fhir-r5-core/ContactDetail"; -import type { DomainResource } from "../hl7-fhir-r5-core/DomainResource"; -import type { Identifier } from "../hl7-fhir-r5-core/Identifier"; -import type { Reference } from "../hl7-fhir-r5-core/Reference"; -import type { UsageContext } from "../hl7-fhir-r5-core/UsageContext"; - -import type { Element } from "../hl7-fhir-r5-core/Element"; -export type { BackboneElement } from "../hl7-fhir-r5-core/BackboneElement"; -export type { CodeableConcept } from "../hl7-fhir-r5-core/CodeableConcept"; -export type { Coding } from "../hl7-fhir-r5-core/Coding"; -export type { ContactDetail } from "../hl7-fhir-r5-core/ContactDetail"; -export type { Identifier } from "../hl7-fhir-r5-core/Identifier"; -export type { Reference } from "../hl7-fhir-r5-core/Reference"; -export type { UsageContext } from "../hl7-fhir-r5-core/UsageContext"; - -export interface TestScriptDestination extends BackboneElement { - index: number; - profile: Coding<("FHIR-Server" | "FHIR-SDC-FormManager" | "FHIR-SDC-FormProcessor" | "FHIR-SDC-FormReceiver" | string)>; - url?: string; -} - -export interface TestScriptFixture extends BackboneElement { - autocreate: boolean; - autodelete: boolean; - resource?: Reference<"Resource">; -} - -export interface TestScriptMetadata extends BackboneElement { - capability: TestScriptMetadataCapability[]; - link?: TestScriptMetadataLink[]; -} - -export interface TestScriptMetadataCapability extends BackboneElement { - capabilities: string; - description?: string; - destination?: number; - link?: string[]; - origin?: number[]; - required: boolean; - validated: boolean; -} - -export interface TestScriptMetadataLink extends BackboneElement { - description?: string; - url: string; -} - -export interface TestScriptOrigin extends BackboneElement { - index: number; - profile: Coding<("FHIR-Client" | "FHIR-SDC-FormFiller" | string)>; - url?: string; -} - -export interface TestScriptScope extends BackboneElement { - artifact: string; - conformance?: CodeableConcept; - phase?: CodeableConcept; -} - -export interface TestScriptSetup extends BackboneElement { - action: TestScriptSetupAction[]; -} - -export interface TestScriptSetupAction extends BackboneElement { - assert?: TestScriptSetupActionAssert; - operation?: TestScriptSetupActionOperation; -} - -export interface TestScriptSetupActionAssert extends BackboneElement { - compareToSourceExpression?: string; - compareToSourceId?: string; - compareToSourcePath?: string; - contentType?: string; - defaultManualCompletion?: string; - description?: string; - direction?: ("response" | "request"); - expression?: string; - headerField?: string; - label?: string; - minimumId?: string; - navigationLinks?: boolean; - operator?: ("equals" | "notEquals" | "in" | "notIn" | "greaterThan" | "lessThan" | "empty" | "notEmpty" | "contains" | "notContains" | "eval"); - path?: string; - requestMethod?: ("delete" | "get" | "options" | "patch" | "post" | "put" | "head"); - requestURL?: string; - requirement?: TestScriptSetupActionAssertRequirement[]; - resource?: string; - response?: ("okay" | "created" | "noContent" | "notModified" | "bad" | "forbidden" | "notFound" | "methodNotAllowed" | "conflict" | "gone" | "preconditionFailed" | "unprocessable"); - responseCode?: string; - sourceId?: string; - stopTestOnFail: boolean; - validateProfileId?: string; - value?: string; - warningOnly: boolean; -} - -export interface TestScriptSetupActionAssertRequirement extends BackboneElement { - linkCanonical?: string; - linkUri?: string; -} - -export interface TestScriptSetupActionOperation extends BackboneElement { - accept?: string; - contentType?: string; - description?: string; - destination?: number; - encodeRequestUrl: boolean; - label?: string; - method?: ("delete" | "get" | "options" | "patch" | "post" | "put" | "head"); - origin?: number; - params?: string; - requestHeader?: TestScriptSetupActionOperationRequestHeader[]; - requestId?: string; - resource?: string; - responseId?: string; - sourceId?: string; - targetId?: string; - 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; -} - -export interface TestScriptSetupActionOperationRequestHeader extends BackboneElement { - field: string; - value: string; -} - -export interface TestScriptTeardown extends BackboneElement { - action: TestScriptTeardownAction[]; -} - -export interface TestScriptTeardownAction extends BackboneElement { - operation: TestScriptSetupActionOperation; -} - -export interface TestScriptTest extends BackboneElement { - action: TestScriptTestAction[]; - description?: string; - name?: string; -} - -export interface TestScriptTestAction extends BackboneElement { - assert?: TestScriptSetupActionAssert; - operation?: TestScriptSetupActionOperation; -} - -export interface TestScriptVariable extends BackboneElement { - defaultValue?: string; - description?: string; - expression?: string; - headerField?: string; - hint?: string; - name: string; - path?: string; - sourceId?: string; -} - -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/TestScript (pkg: hl7.fhir.r5.core#5.0.0) -export interface TestScript extends DomainResource { - resourceType: "TestScript"; - - contact?: ContactDetail[]; - copyright?: string; - _copyright?: Element; - copyrightLabel?: string; - _copyrightLabel?: Element; - date?: string; - _date?: Element; - description?: string; - _description?: Element; - destination?: TestScriptDestination[]; - experimental?: boolean; - _experimental?: Element; - fixture?: TestScriptFixture[]; - identifier?: Identifier[]; - jurisdiction?: CodeableConcept[]; - metadata?: TestScriptMetadata; - name: string; - _name?: Element; - origin?: TestScriptOrigin[]; - profile?: string[]; - _profile?: (Element | null)[]; - publisher?: string; - _publisher?: Element; - purpose?: string; - _purpose?: Element; - scope?: TestScriptScope[]; - setup?: TestScriptSetup; - status: ("draft" | "active" | "retired" | "unknown"); - _status?: Element; - teardown?: TestScriptTeardown; - test?: TestScriptTest[]; - title?: string; - _title?: Element; - url?: string; - _url?: Element; - useContext?: UsageContext[]; - variable?: TestScriptVariable[]; - version?: string; - _version?: Element; - versionAlgorithmCoding?: Coding; - versionAlgorithmString?: string; - _versionAlgorithmString?: Element; -} -export const isTestScript = (resource: unknown): resource is TestScript => { - return resource !== null && typeof resource === "object" && (resource as {resourceType: string}).resourceType === "TestScript"; -} 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 deleted file mode 100644 index 3da9839dc..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/Timing.ts +++ /dev/null @@ -1,45 +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 { BackboneType } from "../hl7-fhir-r5-core/BackboneType"; -import type { CodeableConcept } from "../hl7-fhir-r5-core/CodeableConcept"; -import type { Duration } from "../hl7-fhir-r5-core/Duration"; -import type { Element } from "../hl7-fhir-r5-core/Element"; -import type { Period } from "../hl7-fhir-r5-core/Period"; -import type { Range } from "../hl7-fhir-r5-core/Range"; - -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"; -export type { Element } from "../hl7-fhir-r5-core/Element"; -export type { Period } from "../hl7-fhir-r5-core/Period"; -export type { Range } from "../hl7-fhir-r5-core/Range"; - -export interface TimingRepeat extends Element { - boundsDuration?: Duration; - boundsPeriod?: Period; - boundsRange?: Range; - count?: number; - countMax?: number; - dayOfWeek?: ("mon" | "tue" | "wed" | "thu" | "fri" | "sat" | "sun")[]; - duration?: number; - durationMax?: number; - durationUnit?: ("s" | "min" | "h" | "d" | "wk" | "mo" | "a"); - frequency?: number; - frequencyMax?: number; - offset?: number; - period?: number; - periodMax?: number; - periodUnit?: ("s" | "min" | "h" | "d" | "wk" | "mo" | "a"); - timeOfDay?: string[]; - 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 (pkg: hl7.fhir.r5.core#5.0.0) -export interface Timing extends BackboneType { - code?: CodeableConcept<("BID" | "TID" | "QID" | "AM" | "PM" | "QD" | "QOD" | "Q1H" | "Q2H" | "Q3H" | "Q4H" | "Q6H" | "Q8H" | "BED" | "WK" | "MO" | string)>; - event?: string[]; - _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 deleted file mode 100644 index 51a2c6ca7..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/Transport.ts +++ /dev/null @@ -1,249 +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 { Address } from "../hl7-fhir-r5-core/Address"; -import type { Age } from "../hl7-fhir-r5-core/Age"; -import type { Annotation } from "../hl7-fhir-r5-core/Annotation"; -import type { Attachment } from "../hl7-fhir-r5-core/Attachment"; -import type { Availability } from "../hl7-fhir-r5-core/Availability"; -import type { BackboneElement } from "../hl7-fhir-r5-core/BackboneElement"; -import type { CodeableConcept } from "../hl7-fhir-r5-core/CodeableConcept"; -import type { CodeableReference } from "../hl7-fhir-r5-core/CodeableReference"; -import type { Coding } from "../hl7-fhir-r5-core/Coding"; -import type { ContactDetail } from "../hl7-fhir-r5-core/ContactDetail"; -import type { ContactPoint } from "../hl7-fhir-r5-core/ContactPoint"; -import type { Count } from "../hl7-fhir-r5-core/Count"; -import type { DataRequirement } from "../hl7-fhir-r5-core/DataRequirement"; -import type { Distance } from "../hl7-fhir-r5-core/Distance"; -import type { DomainResource } from "../hl7-fhir-r5-core/DomainResource"; -import type { Dosage } from "../hl7-fhir-r5-core/Dosage"; -import type { Duration } from "../hl7-fhir-r5-core/Duration"; -import type { Expression } from "../hl7-fhir-r5-core/Expression"; -import type { ExtendedContactDetail } from "../hl7-fhir-r5-core/ExtendedContactDetail"; -import type { HumanName } from "../hl7-fhir-r5-core/HumanName"; -import type { Identifier } from "../hl7-fhir-r5-core/Identifier"; -import type { Meta } from "../hl7-fhir-r5-core/Meta"; -import type { Money } from "../hl7-fhir-r5-core/Money"; -import type { ParameterDefinition } from "../hl7-fhir-r5-core/ParameterDefinition"; -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 { RatioRange } from "../hl7-fhir-r5-core/RatioRange"; -import type { Reference } from "../hl7-fhir-r5-core/Reference"; -import type { RelatedArtifact } from "../hl7-fhir-r5-core/RelatedArtifact"; -import type { SampledData } from "../hl7-fhir-r5-core/SampledData"; -import type { Signature } from "../hl7-fhir-r5-core/Signature"; -import type { Timing } from "../hl7-fhir-r5-core/Timing"; -import type { TriggerDefinition } from "../hl7-fhir-r5-core/TriggerDefinition"; -import type { UsageContext } from "../hl7-fhir-r5-core/UsageContext"; - -import type { Element } from "../hl7-fhir-r5-core/Element"; -export type { Address } from "../hl7-fhir-r5-core/Address"; -export type { Age } from "../hl7-fhir-r5-core/Age"; -export type { Annotation } from "../hl7-fhir-r5-core/Annotation"; -export type { Attachment } from "../hl7-fhir-r5-core/Attachment"; -export type { Availability } from "../hl7-fhir-r5-core/Availability"; -export type { BackboneElement } from "../hl7-fhir-r5-core/BackboneElement"; -export type { CodeableConcept } from "../hl7-fhir-r5-core/CodeableConcept"; -export type { CodeableReference } from "../hl7-fhir-r5-core/CodeableReference"; -export type { Coding } from "../hl7-fhir-r5-core/Coding"; -export type { ContactDetail } from "../hl7-fhir-r5-core/ContactDetail"; -export type { ContactPoint } from "../hl7-fhir-r5-core/ContactPoint"; -export type { Count } from "../hl7-fhir-r5-core/Count"; -export type { DataRequirement } from "../hl7-fhir-r5-core/DataRequirement"; -export type { Distance } from "../hl7-fhir-r5-core/Distance"; -export type { Dosage } from "../hl7-fhir-r5-core/Dosage"; -export type { Duration } from "../hl7-fhir-r5-core/Duration"; -export type { Expression } from "../hl7-fhir-r5-core/Expression"; -export type { ExtendedContactDetail } from "../hl7-fhir-r5-core/ExtendedContactDetail"; -export type { HumanName } from "../hl7-fhir-r5-core/HumanName"; -export type { Identifier } from "../hl7-fhir-r5-core/Identifier"; -export type { Meta } from "../hl7-fhir-r5-core/Meta"; -export type { Money } from "../hl7-fhir-r5-core/Money"; -export type { ParameterDefinition } from "../hl7-fhir-r5-core/ParameterDefinition"; -export type { Period } from "../hl7-fhir-r5-core/Period"; -export type { Quantity } from "../hl7-fhir-r5-core/Quantity"; -export type { Range } from "../hl7-fhir-r5-core/Range"; -export type { Ratio } from "../hl7-fhir-r5-core/Ratio"; -export type { RatioRange } from "../hl7-fhir-r5-core/RatioRange"; -export type { Reference } from "../hl7-fhir-r5-core/Reference"; -export type { RelatedArtifact } from "../hl7-fhir-r5-core/RelatedArtifact"; -export type { SampledData } from "../hl7-fhir-r5-core/SampledData"; -export type { Signature } from "../hl7-fhir-r5-core/Signature"; -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"; - -export interface TransportInput extends BackboneElement { - type: CodeableConcept; - valueAddress?: Address; - valueAge?: Age; - valueAnnotation?: Annotation; - valueAttachment?: Attachment; - valueAvailability?: Availability; - valueBase64Binary?: string; - valueBoolean?: boolean; - valueCanonical?: string; - valueCode?: string; - valueCodeableConcept?: CodeableConcept; - valueCodeableReference?: CodeableReference; - valueCoding?: Coding; - valueContactDetail?: ContactDetail; - valueContactPoint?: ContactPoint; - valueCount?: Count; - valueDataRequirement?: DataRequirement; - valueDate?: string; - valueDateTime?: string; - valueDecimal?: number; - valueDistance?: Distance; - valueDosage?: Dosage; - valueDuration?: Duration; - valueExpression?: Expression; - valueExtendedContactDetail?: ExtendedContactDetail; - valueHumanName?: HumanName; - valueId?: string; - valueIdentifier?: Identifier; - valueInstant?: string; - valueInteger?: number; - valueInteger64?: number; - valueMarkdown?: string; - valueMeta?: Meta; - valueMoney?: Money; - valueOid?: string; - valueParameterDefinition?: ParameterDefinition; - valuePeriod?: Period; - valuePositiveInt?: number; - valueQuantity?: Quantity; - valueRange?: Range; - valueRatio?: Ratio; - valueRatioRange?: RatioRange; - valueReference?: Reference; - valueRelatedArtifact?: RelatedArtifact; - valueSampledData?: SampledData; - valueSignature?: Signature; - valueString?: string; - valueTime?: string; - valueTiming?: Timing; - valueTriggerDefinition?: TriggerDefinition; - valueUnsignedInt?: number; - valueUri?: string; - valueUrl?: string; - valueUsageContext?: UsageContext; - valueUuid?: string; -} - -export interface TransportOutput extends BackboneElement { - type: CodeableConcept; - valueAddress?: Address; - valueAge?: Age; - valueAnnotation?: Annotation; - valueAttachment?: Attachment; - valueAvailability?: Availability; - valueBase64Binary?: string; - valueBoolean?: boolean; - valueCanonical?: string; - valueCode?: string; - valueCodeableConcept?: CodeableConcept; - valueCodeableReference?: CodeableReference; - valueCoding?: Coding; - valueContactDetail?: ContactDetail; - valueContactPoint?: ContactPoint; - valueCount?: Count; - valueDataRequirement?: DataRequirement; - valueDate?: string; - valueDateTime?: string; - valueDecimal?: number; - valueDistance?: Distance; - valueDosage?: Dosage; - valueDuration?: Duration; - valueExpression?: Expression; - valueExtendedContactDetail?: ExtendedContactDetail; - valueHumanName?: HumanName; - valueId?: string; - valueIdentifier?: Identifier; - valueInstant?: string; - valueInteger?: number; - valueInteger64?: number; - valueMarkdown?: string; - valueMeta?: Meta; - valueMoney?: Money; - valueOid?: string; - valueParameterDefinition?: ParameterDefinition; - valuePeriod?: Period; - valuePositiveInt?: number; - valueQuantity?: Quantity; - valueRange?: Range; - valueRatio?: Ratio; - valueRatioRange?: RatioRange; - valueReference?: Reference; - valueRelatedArtifact?: RelatedArtifact; - valueSampledData?: SampledData; - valueSignature?: Signature; - valueString?: string; - valueTime?: string; - valueTiming?: Timing; - valueTriggerDefinition?: TriggerDefinition; - valueUnsignedInt?: number; - valueUri?: string; - valueUrl?: string; - valueUsageContext?: UsageContext; - valueUuid?: string; -} - -export interface TransportRestriction extends BackboneElement { - period?: Period; - recipient?: Reference<"Group" | "Organization" | "Patient" | "Practitioner" | "PractitionerRole" | "RelatedPerson">[]; - repetitions?: number; -} - -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/Transport (pkg: hl7.fhir.r5.core#5.0.0) -export interface Transport extends DomainResource { - resourceType: "Transport"; - - authoredOn?: string; - _authoredOn?: Element; - basedOn?: Reference<"Resource">[]; - code?: CodeableConcept; - completionTime?: string; - _completionTime?: Element; - currentLocation: Reference<"Location">; - description?: string; - _description?: Element; - encounter?: Reference<"Encounter">; - focus?: Reference<"Resource">; - "for"?: Reference<"Resource">; - groupIdentifier?: Identifier; - history?: Reference<"Transport">; - identifier?: Identifier[]; - input?: TransportInput[]; - instantiatesCanonical?: string; - _instantiatesCanonical?: Element; - instantiatesUri?: string; - _instantiatesUri?: Element; - insurance?: Reference<"ClaimResponse" | "Coverage">[]; - intent: ("proposal" | "plan" | "order" | "original-order" | "reflex-order" | "filler-order" | "instance-order" | "option"); - _intent?: Element; - lastModified?: string; - _lastModified?: Element; - location?: Reference<"Location">; - note?: Annotation[]; - output?: TransportOutput[]; - owner?: Reference<"CareTeam" | "Device" | "HealthcareService" | "Organization" | "Patient" | "Practitioner" | "PractitionerRole" | "RelatedPerson">; - partOf?: Reference<"Transport">[]; - performerType?: CodeableConcept[]; - priority?: ("routine" | "urgent" | "asap" | "stat"); - _priority?: Element; - reason?: CodeableReference; - relevantHistory?: Reference<"Provenance">[]; - requestedLocation: Reference<"Location">; - requester?: Reference<"Device" | "Organization" | "Patient" | "Practitioner" | "PractitionerRole" | "RelatedPerson">; - restriction?: TransportRestriction; - status?: string; - _status?: Element; - statusReason?: CodeableConcept; -} -export const isTransport = (resource: unknown): resource is Transport => { - return resource !== null && typeof resource === "object" && (resource as {resourceType: string}).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 deleted file mode 100644 index b9e8e1209..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/TriggerDefinition.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 { CodeableConcept } from "../hl7-fhir-r5-core/CodeableConcept"; -import type { DataRequirement } from "../hl7-fhir-r5-core/DataRequirement"; -import type { DataType } from "../hl7-fhir-r5-core/DataType"; -import type { Expression } from "../hl7-fhir-r5-core/Expression"; -import type { Reference } from "../hl7-fhir-r5-core/Reference"; -import type { Timing } from "../hl7-fhir-r5-core/Timing"; - -import type { Element } from "../hl7-fhir-r5-core/Element"; -export type { CodeableConcept } from "../hl7-fhir-r5-core/CodeableConcept"; -export type { DataRequirement } from "../hl7-fhir-r5-core/DataRequirement"; -export type { DataType } from "../hl7-fhir-r5-core/DataType"; -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 (pkg: hl7.fhir.r5.core#5.0.0) -export interface TriggerDefinition extends DataType { - code?: CodeableConcept; - condition?: Expression; - data?: DataRequirement[]; - name?: string; - _name?: Element; - subscriptionTopic?: string; - _subscriptionTopic?: Element; - timingDate?: string; - _timingDate?: Element; - timingDateTime?: string; - _timingDateTime?: Element; - timingReference?: Reference<"Schedule">; - timingTiming?: Timing; - type: ("named-event" | "periodic" | "data-changed" | "data-added" | "data-modified" | "data-removed" | "data-accessed" | "data-access-ended"); - _type?: Element; -} 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 deleted file mode 100644 index 35d703842..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/UsageContext.ts +++ /dev/null @@ -1,26 +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 { Coding } from "../hl7-fhir-r5-core/Coding"; -import type { DataType } from "../hl7-fhir-r5-core/DataType"; -import type { Quantity } from "../hl7-fhir-r5-core/Quantity"; -import type { Range } from "../hl7-fhir-r5-core/Range"; -import type { Reference } from "../hl7-fhir-r5-core/Reference"; - -export type { CodeableConcept } from "../hl7-fhir-r5-core/CodeableConcept"; -export type { Coding } from "../hl7-fhir-r5-core/Coding"; -export type { DataType } from "../hl7-fhir-r5-core/DataType"; -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 (pkg: hl7.fhir.r5.core#5.0.0) -export interface UsageContext extends DataType { - code: Coding<("gender" | "age" | "focus" | "user" | "workflow" | "task" | "venue" | "species" | "program" | string)>; - valueCodeableConcept?: CodeableConcept; - valueQuantity?: Quantity; - valueRange?: Range; - valueReference?: Reference<"Group" | "HealthcareService" | "InsurancePlan" | "Location" | "Organization" | "PlanDefinition" | "ResearchStudy">; -} 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 deleted file mode 100644 index 11ae69510..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/ValueSet.ts +++ /dev/null @@ -1,182 +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 { BackboneElement } from "../hl7-fhir-r5-core/BackboneElement"; -import type { CodeableConcept } from "../hl7-fhir-r5-core/CodeableConcept"; -import type { Coding } from "../hl7-fhir-r5-core/Coding"; -import type { ContactDetail } from "../hl7-fhir-r5-core/ContactDetail"; -import type { DomainResource } from "../hl7-fhir-r5-core/DomainResource"; -import type { Identifier } from "../hl7-fhir-r5-core/Identifier"; -import type { Period } from "../hl7-fhir-r5-core/Period"; -import type { RelatedArtifact } from "../hl7-fhir-r5-core/RelatedArtifact"; -import type { UsageContext } from "../hl7-fhir-r5-core/UsageContext"; - -import type { Element } from "../hl7-fhir-r5-core/Element"; -export type { BackboneElement } from "../hl7-fhir-r5-core/BackboneElement"; -export type { CodeableConcept } from "../hl7-fhir-r5-core/CodeableConcept"; -export type { Coding } from "../hl7-fhir-r5-core/Coding"; -export type { ContactDetail } from "../hl7-fhir-r5-core/ContactDetail"; -export type { Identifier } from "../hl7-fhir-r5-core/Identifier"; -export type { Period } from "../hl7-fhir-r5-core/Period"; -export type { RelatedArtifact } from "../hl7-fhir-r5-core/RelatedArtifact"; -export type { UsageContext } from "../hl7-fhir-r5-core/UsageContext"; - -export interface ValueSetCompose extends BackboneElement { - exclude?: ValueSetComposeInclude[]; - inactive?: boolean; - include: ValueSetComposeInclude[]; - lockedDate?: string; - property?: string[]; -} - -export interface ValueSetComposeInclude extends BackboneElement { - concept?: ValueSetComposeIncludeConcept[]; - copyright?: string; - filter?: ValueSetComposeIncludeFilter[]; - system?: string; - valueSet?: string[]; - version?: string; -} - -export interface ValueSetComposeIncludeConcept extends BackboneElement { - code: string; - designation?: ValueSetComposeIncludeConceptDesignation[]; - display?: string; -} - -export interface ValueSetComposeIncludeConceptDesignation extends BackboneElement { - additionalUse?: Coding<("900000000000003001" | "900000000000013009" | string)>[]; - language?: string; - use?: Coding<("900000000000003001" | "900000000000013009" | string)>; - value: string; -} - -export interface ValueSetComposeIncludeFilter extends BackboneElement { - op: ("=" | "is-a" | "descendent-of" | "is-not-a" | "regex" | "in" | "not-in" | "generalizes" | "exists"); - property: string; - value: string; -} - -export interface ValueSetExpansion extends BackboneElement { - contains?: ValueSetExpansionContains[]; - identifier?: string; - next?: string; - offset?: number; - parameter?: ValueSetExpansionParameter[]; - property?: ValueSetExpansionProperty[]; - timestamp: string; - total?: number; -} - -export interface ValueSetExpansionContains extends BackboneElement { - abstract?: boolean; - code?: string; - contains?: ValueSetExpansionContains[]; - designation?: ValueSetComposeIncludeConceptDesignation[]; - display?: string; - inactive?: boolean; - property?: ValueSetExpansionContainsProperty[]; - system?: string; - version?: string; -} - -export interface ValueSetExpansionContainsProperty extends BackboneElement { - code: string; - subProperty?: ValueSetExpansionContainsPropertySubProperty[]; - valueBoolean?: boolean; - valueCode?: string; - valueCoding?: Coding; - valueDateTime?: string; - valueDecimal?: number; - valueInteger?: number; - valueString?: string; -} - -export interface ValueSetExpansionContainsPropertySubProperty extends BackboneElement { - code: string; - valueBoolean?: boolean; - valueCode?: string; - valueCoding?: Coding; - valueDateTime?: string; - valueDecimal?: number; - valueInteger?: number; - valueString?: string; -} - -export interface ValueSetExpansionParameter extends BackboneElement { - name: string; - valueBoolean?: boolean; - valueCode?: string; - valueDateTime?: string; - valueDecimal?: number; - valueInteger?: number; - valueString?: string; - valueUri?: string; -} - -export interface ValueSetExpansionProperty extends BackboneElement { - code: string; - uri?: string; -} - -export interface ValueSetScope extends BackboneElement { - exclusionCriteria?: string; - inclusionCriteria?: string; -} - -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/ValueSet (pkg: hl7.fhir.r5.core#5.0.0) -export interface ValueSet extends DomainResource { - resourceType: "ValueSet"; - - approvalDate?: string; - _approvalDate?: Element; - author?: ContactDetail[]; - compose?: ValueSetCompose; - contact?: ContactDetail[]; - copyright?: string; - _copyright?: Element; - copyrightLabel?: string; - _copyrightLabel?: Element; - date?: string; - _date?: Element; - description?: string; - _description?: Element; - editor?: ContactDetail[]; - effectivePeriod?: Period; - endorser?: ContactDetail[]; - expansion?: ValueSetExpansion; - experimental?: boolean; - _experimental?: Element; - identifier?: Identifier[]; - immutable?: boolean; - _immutable?: Element; - jurisdiction?: CodeableConcept[]; - lastReviewDate?: string; - _lastReviewDate?: Element; - name?: string; - _name?: Element; - publisher?: string; - _publisher?: Element; - purpose?: string; - _purpose?: Element; - relatedArtifact?: RelatedArtifact[]; - reviewer?: ContactDetail[]; - scope?: ValueSetScope; - status: ("draft" | "active" | "retired" | "unknown"); - _status?: Element; - title?: string; - _title?: Element; - topic?: CodeableConcept[]; - url?: string; - _url?: Element; - useContext?: UsageContext[]; - version?: string; - _version?: Element; - versionAlgorithmCoding?: Coding; - versionAlgorithmString?: string; - _versionAlgorithmString?: Element; -} -export const isValueSet = (resource: unknown): resource is ValueSet => { - return resource !== null && typeof resource === "object" && (resource as {resourceType: string}).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 deleted file mode 100644 index f6ffab0c8..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/VerificationResult.ts +++ /dev/null @@ -1,72 +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 { BackboneElement } from "../hl7-fhir-r5-core/BackboneElement"; -import type { CodeableConcept } from "../hl7-fhir-r5-core/CodeableConcept"; -import type { DomainResource } from "../hl7-fhir-r5-core/DomainResource"; -import type { Reference } from "../hl7-fhir-r5-core/Reference"; -import type { Signature } from "../hl7-fhir-r5-core/Signature"; -import type { Timing } from "../hl7-fhir-r5-core/Timing"; - -import type { Element } from "../hl7-fhir-r5-core/Element"; -export type { BackboneElement } from "../hl7-fhir-r5-core/BackboneElement"; -export type { CodeableConcept } from "../hl7-fhir-r5-core/CodeableConcept"; -export type { Reference } from "../hl7-fhir-r5-core/Reference"; -export type { Signature } from "../hl7-fhir-r5-core/Signature"; -export type { Timing } from "../hl7-fhir-r5-core/Timing"; - -export interface VerificationResultAttestation extends BackboneElement { - communicationMethod?: CodeableConcept; - date?: string; - onBehalfOf?: Reference<"Organization" | "Practitioner" | "PractitionerRole">; - proxyIdentityCertificate?: string; - proxySignature?: Signature; - sourceIdentityCertificate?: string; - sourceSignature?: Signature; - who?: Reference<"Organization" | "Practitioner" | "PractitionerRole">; -} - -export interface VerificationResultPrimarySource extends BackboneElement { - canPushUpdates?: CodeableConcept<("yes" | "no" | "undetermined" | string)>; - communicationMethod?: CodeableConcept[]; - pushTypeAvailable?: CodeableConcept<("specific" | "any" | "source" | string)>[]; - type?: CodeableConcept[]; - validationDate?: string; - validationStatus?: CodeableConcept<("successful" | "failed" | "unknown" | string)>; - who?: Reference<"Organization" | "Practitioner" | "PractitionerRole">; -} - -export interface VerificationResultValidator extends BackboneElement { - attestationSignature?: Signature; - identityCertificate?: string; - organization: Reference<"Organization">; -} - -// 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<("fatal" | "warn" | "rec-only" | "none" | string)>; - frequency?: Timing; - lastPerformed?: string; - _lastPerformed?: Element; - need?: CodeableConcept<("none" | "initial" | "periodic" | string)>; - nextScheduled?: string; - _nextScheduled?: Element; - primarySource?: VerificationResultPrimarySource[]; - status: string; - _status?: Element; - statusDate?: string; - _statusDate?: Element; - target?: Reference<"Resource">[]; - targetLocation?: string[]; - _targetLocation?: (Element | null)[]; - validationProcess?: CodeableConcept[]; - validationType?: CodeableConcept<("nothing" | "primary" | "multiple" | string)>; - validator?: VerificationResultValidator[]; -} -export const isVerificationResult = (resource: unknown): resource is VerificationResult => { - return resource !== null && typeof resource === "object" && (resource as {resourceType: string}).resourceType === "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 deleted file mode 100644 index aa6b3b952..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/VirtualServiceDetail.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 { Coding } from "../hl7-fhir-r5-core/Coding"; -import type { ContactPoint } from "../hl7-fhir-r5-core/ContactPoint"; -import type { DataType } from "../hl7-fhir-r5-core/DataType"; -import type { ExtendedContactDetail } from "../hl7-fhir-r5-core/ExtendedContactDetail"; - -import type { Element } from "../hl7-fhir-r5-core/Element"; -export type { Coding } from "../hl7-fhir-r5-core/Coding"; -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 (pkg: hl7.fhir.r5.core#5.0.0) -export interface VirtualServiceDetail extends DataType { - additionalInfo?: string[]; - _additionalInfo?: (Element | null)[]; - addressContactPoint?: ContactPoint; - addressExtendedContactDetail?: ExtendedContactDetail; - addressString?: string; - _addressString?: Element; - addressUrl?: string; - _addressUrl?: Element; - channelType?: Coding; - maxParticipants?: number; - _maxParticipants?: Element; - sessionKey?: string; - _sessionKey?: Element; -} 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 deleted file mode 100644 index 84d1c6496..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/VisionPrescription.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 { Annotation } from "../hl7-fhir-r5-core/Annotation"; -import type { BackboneElement } from "../hl7-fhir-r5-core/BackboneElement"; -import type { CodeableConcept } from "../hl7-fhir-r5-core/CodeableConcept"; -import type { DomainResource } from "../hl7-fhir-r5-core/DomainResource"; -import type { Identifier } from "../hl7-fhir-r5-core/Identifier"; -import type { Quantity } from "../hl7-fhir-r5-core/Quantity"; -import type { Reference } from "../hl7-fhir-r5-core/Reference"; - -import type { Element } from "../hl7-fhir-r5-core/Element"; -export type { Annotation } from "../hl7-fhir-r5-core/Annotation"; -export type { BackboneElement } from "../hl7-fhir-r5-core/BackboneElement"; -export type { CodeableConcept } from "../hl7-fhir-r5-core/CodeableConcept"; -export type { Identifier } from "../hl7-fhir-r5-core/Identifier"; -export type { Quantity } from "../hl7-fhir-r5-core/Quantity"; -export type { Reference } from "../hl7-fhir-r5-core/Reference"; - -export interface VisionPrescriptionLensSpecification extends BackboneElement { - add?: number; - axis?: number; - backCurve?: number; - brand?: string; - color?: string; - cylinder?: number; - diameter?: number; - duration?: Quantity; - eye: ("right" | "left"); - note?: Annotation[]; - power?: number; - prism?: VisionPrescriptionLensSpecificationPrism[]; - product: CodeableConcept; - sphere?: number; -} - -export interface VisionPrescriptionLensSpecificationPrism extends BackboneElement { - amount: number; - base: ("up" | "down" | "in" | "out"); -} - -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/VisionPrescription (pkg: hl7.fhir.r5.core#5.0.0) -export interface VisionPrescription extends DomainResource { - resourceType: "VisionPrescription"; - - created: string; - _created?: Element; - dateWritten: string; - _dateWritten?: Element; - encounter?: Reference<"Encounter">; - identifier?: Identifier[]; - lensSpecification: VisionPrescriptionLensSpecification[]; - patient: Reference<"Patient">; - prescriber: Reference<"Practitioner" | "PractitionerRole">; - status: ("active" | "cancelled" | "draft" | "entered-in-error"); - _status?: Element; -} -export const isVisionPrescription = (resource: unknown): resource is VisionPrescription => { - return resource !== null && typeof resource === "object" && (resource as {resourceType: string}).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 deleted file mode 100644 index 0d274b9a7..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/index.ts +++ /dev/null @@ -1,383 +0,0 @@ -export * from "./profiles"; -export type { Account, AccountBalance, AccountCoverage, AccountDiagnosis, AccountGuarantor, AccountProcedure, AccountRelatedAccount } from "./Account"; -export { isAccount } from "./Account"; -export type { ActivityDefinition, ActivityDefinitionDynamicValue, ActivityDefinitionParticipant } from "./ActivityDefinition"; -export { isActivityDefinition } from "./ActivityDefinition"; -export type { ActorDefinition } from "./ActorDefinition"; -export { isActorDefinition } from "./ActorDefinition"; -export type { Address } from "./Address"; -export type { AdministrableProductDefinition, AdministrableProductDefinitionProperty, AdministrableProductDefinitionRouteOfAdministration, AdministrableProductDefinitionRouteOfAdministrationTargetSpecies, AdministrableProductDefinitionRouteOfAdministrationTargetSpeciesWithdrawalPeriod } from "./AdministrableProductDefinition"; -export { isAdministrableProductDefinition } from "./AdministrableProductDefinition"; -export type { AdverseEvent, AdverseEventContributingFactor, AdverseEventMitigatingAction, AdverseEventParticipant, AdverseEventPreventiveAction, AdverseEventSupportingInfo, AdverseEventSuspectEntity, AdverseEventSuspectEntityCausality } from "./AdverseEvent"; -export { isAdverseEvent } from "./AdverseEvent"; -export type { Age } from "./Age"; -export type { AllergyIntolerance, AllergyIntoleranceParticipant, AllergyIntoleranceReaction } from "./AllergyIntolerance"; -export { isAllergyIntolerance } from "./AllergyIntolerance"; -export type { Annotation } from "./Annotation"; -export type { Appointment, AppointmentParticipant, AppointmentRecurrenceTemplate, AppointmentRecurrenceTemplateMonthlyTemplate, AppointmentRecurrenceTemplateWeeklyTemplate, AppointmentRecurrenceTemplateYearlyTemplate } from "./Appointment"; -export { isAppointment } from "./Appointment"; -export type { AppointmentResponse } from "./AppointmentResponse"; -export { isAppointmentResponse } from "./AppointmentResponse"; -export type { ArtifactAssessment, ArtifactAssessmentContent } from "./ArtifactAssessment"; -export { isArtifactAssessment } from "./ArtifactAssessment"; -export type { Attachment } from "./Attachment"; -export type { AuditEvent, AuditEventAgent, AuditEventEntity, AuditEventEntityDetail, AuditEventOutcome, AuditEventSource } from "./AuditEvent"; -export { isAuditEvent } from "./AuditEvent"; -export type { Availability } from "./Availability"; -export type { BackboneElement } from "./BackboneElement"; -export type { BackboneType } from "./BackboneType"; -export type { Base } from "./Base"; -export type { Basic } from "./Basic"; -export { isBasic } from "./Basic"; -export type { Binary } from "./Binary"; -export { isBinary } from "./Binary"; -export type { BiologicallyDerivedProduct, BiologicallyDerivedProductCollection, BiologicallyDerivedProductProperty } from "./BiologicallyDerivedProduct"; -export { isBiologicallyDerivedProduct } from "./BiologicallyDerivedProduct"; -export type { BiologicallyDerivedProductDispense, BiologicallyDerivedProductDispensePerformer } from "./BiologicallyDerivedProductDispense"; -export { isBiologicallyDerivedProductDispense } from "./BiologicallyDerivedProductDispense"; -export type { BodyStructure, BodyStructureIncludedStructure, BodyStructureIncludedStructureBodyLandmarkOrientation, BodyStructureIncludedStructureBodyLandmarkOrientationDistanceFromLandmark } from "./BodyStructure"; -export { isBodyStructure } from "./BodyStructure"; -export type { Bundle, BundleEntry, BundleEntryRequest, BundleEntryResponse, BundleEntrySearch, BundleLink } from "./Bundle"; -export { isBundle } from "./Bundle"; -export type { CanonicalResource } from "./CanonicalResource"; -export { isCanonicalResource } from "./CanonicalResource"; -export type { CapabilityStatement, CapabilityStatementDocument, CapabilityStatementImplementation, CapabilityStatementMessaging, CapabilityStatementMessagingEndpoint, CapabilityStatementMessagingSupportedMessage, CapabilityStatementRest, CapabilityStatementRestInteraction, CapabilityStatementRestResource, CapabilityStatementRestResourceInteraction, CapabilityStatementRestResourceOperation, CapabilityStatementRestResourceSearchParam, CapabilityStatementRestSecurity, CapabilityStatementSoftware } from "./CapabilityStatement"; -export { isCapabilityStatement } from "./CapabilityStatement"; -export type { CarePlan, CarePlanActivity } from "./CarePlan"; -export { isCarePlan } from "./CarePlan"; -export type { CareTeam, CareTeamParticipant } from "./CareTeam"; -export { isCareTeam } from "./CareTeam"; -export type { ChargeItem, ChargeItemPerformer } from "./ChargeItem"; -export { isChargeItem } from "./ChargeItem"; -export type { ChargeItemDefinition, ChargeItemDefinitionApplicability, ChargeItemDefinitionPropertyGroup } from "./ChargeItemDefinition"; -export { isChargeItemDefinition } from "./ChargeItemDefinition"; -export type { Citation, CitationCitedArtifact, CitationCitedArtifactAbstract, CitationCitedArtifactClassification, CitationCitedArtifactContributorship, CitationCitedArtifactContributorshipEntry, CitationCitedArtifactContributorshipEntryContributionInstance, CitationCitedArtifactContributorshipSummary, CitationCitedArtifactPart, CitationCitedArtifactPublicationForm, CitationCitedArtifactPublicationFormPublishedIn, CitationCitedArtifactRelatesTo, CitationCitedArtifactStatusDate, CitationCitedArtifactTitle, CitationCitedArtifactVersion, CitationCitedArtifactWebLocation, CitationClassification, CitationStatusDate, CitationSummary } from "./Citation"; -export { isCitation } from "./Citation"; -export type { Claim, ClaimAccident, ClaimCareTeam, ClaimDiagnosis, ClaimEvent, ClaimInsurance, ClaimItem, ClaimItemBodySite, ClaimItemDetail, ClaimItemDetailSubDetail, ClaimPayee, ClaimProcedure, ClaimRelated, ClaimSupportingInfo } from "./Claim"; -export { isClaim } from "./Claim"; -export type { ClaimResponse, ClaimResponseAddItem, ClaimResponseAddItemBodySite, ClaimResponseAddItemDetail, ClaimResponseAddItemDetailSubDetail, ClaimResponseError, ClaimResponseEvent, ClaimResponseInsurance, ClaimResponseItem, ClaimResponseItemAdjudication, ClaimResponseItemDetail, ClaimResponseItemDetailSubDetail, ClaimResponseItemReviewOutcome, ClaimResponsePayment, ClaimResponseProcessNote, ClaimResponseTotal } from "./ClaimResponse"; -export { isClaimResponse } from "./ClaimResponse"; -export type { ClinicalImpression, ClinicalImpressionFinding } from "./ClinicalImpression"; -export { isClinicalImpression } from "./ClinicalImpression"; -export type { ClinicalUseDefinition, ClinicalUseDefinitionContraindication, ClinicalUseDefinitionContraindicationOtherTherapy, ClinicalUseDefinitionIndication, ClinicalUseDefinitionInteraction, ClinicalUseDefinitionInteractionInteractant, ClinicalUseDefinitionUndesirableEffect, ClinicalUseDefinitionWarning } from "./ClinicalUseDefinition"; -export { isClinicalUseDefinition } from "./ClinicalUseDefinition"; -export type { CodeableConcept } from "./CodeableConcept"; -export type { CodeableReference } from "./CodeableReference"; -export type { CodeSystem, CodeSystemConcept, CodeSystemConceptDesignation, CodeSystemConceptProperty, CodeSystemFilter, CodeSystemProperty } from "./CodeSystem"; -export { isCodeSystem } from "./CodeSystem"; -export type { Coding } from "./Coding"; -export type { Communication, CommunicationPayload } from "./Communication"; -export { isCommunication } from "./Communication"; -export type { CommunicationRequest, CommunicationRequestPayload } from "./CommunicationRequest"; -export { isCommunicationRequest } from "./CommunicationRequest"; -export type { CompartmentDefinition, CompartmentDefinitionResource } from "./CompartmentDefinition"; -export { isCompartmentDefinition } from "./CompartmentDefinition"; -export type { Composition, CompositionAttester, CompositionEvent, CompositionSection } from "./Composition"; -export { isComposition } from "./Composition"; -export type { ConceptMap, ConceptMapAdditionalAttribute, ConceptMapGroup, ConceptMapGroupElement, ConceptMapGroupElementTarget, ConceptMapGroupElementTargetDependsOn, ConceptMapGroupElementTargetProperty, ConceptMapGroupUnmapped, ConceptMapProperty } from "./ConceptMap"; -export { isConceptMap } from "./ConceptMap"; -export type { Condition, ConditionParticipant, ConditionStage } from "./Condition"; -export { isCondition } from "./Condition"; -export type { ConditionDefinition, ConditionDefinitionMedication, ConditionDefinitionObservation, ConditionDefinitionPlan, ConditionDefinitionPrecondition, ConditionDefinitionQuestionnaire } from "./ConditionDefinition"; -export { isConditionDefinition } from "./ConditionDefinition"; -export type { Consent, ConsentPolicyBasis, ConsentProvision, ConsentProvisionActor, ConsentProvisionData, ConsentVerification } from "./Consent"; -export { isConsent } from "./Consent"; -export type { ContactDetail } from "./ContactDetail"; -export type { ContactPoint } from "./ContactPoint"; -export type { Contract, ContractContentDefinition, ContractFriendly, ContractLegal, ContractRule, ContractSigner, ContractTerm, ContractTermAction, ContractTermActionSubject, ContractTermAsset, ContractTermAssetContext, ContractTermAssetValuedItem, ContractTermOffer, ContractTermOfferAnswer, ContractTermOfferParty, ContractTermSecurityLabel } from "./Contract"; -export { isContract } from "./Contract"; -export type { Contributor } from "./Contributor"; -export type { Count } from "./Count"; -export type { Coverage, CoverageClass, CoverageCostToBeneficiary, CoverageCostToBeneficiaryException, CoveragePaymentBy } from "./Coverage"; -export { isCoverage } from "./Coverage"; -export type { CoverageEligibilityRequest, CoverageEligibilityRequestEvent, CoverageEligibilityRequestInsurance, CoverageEligibilityRequestItem, CoverageEligibilityRequestItemDiagnosis, CoverageEligibilityRequestSupportingInfo } from "./CoverageEligibilityRequest"; -export { isCoverageEligibilityRequest } from "./CoverageEligibilityRequest"; -export type { CoverageEligibilityResponse, CoverageEligibilityResponseError, CoverageEligibilityResponseEvent, CoverageEligibilityResponseInsurance, CoverageEligibilityResponseInsuranceItem, CoverageEligibilityResponseInsuranceItemBenefit } from "./CoverageEligibilityResponse"; -export { isCoverageEligibilityResponse } from "./CoverageEligibilityResponse"; -export type { DataRequirement } from "./DataRequirement"; -export type { DataType } from "./DataType"; -export type { Definition } from "./Definition"; -export type { DetectedIssue, DetectedIssueEvidence, DetectedIssueMitigation } from "./DetectedIssue"; -export { isDetectedIssue } from "./DetectedIssue"; -export type { Device, DeviceConformsTo, DeviceName, DeviceProperty, DeviceUdiCarrier, DeviceVersion } from "./Device"; -export { isDevice } from "./Device"; -export type { DeviceAssociation, DeviceAssociationOperation } from "./DeviceAssociation"; -export { isDeviceAssociation } from "./DeviceAssociation"; -export type { DeviceDefinition, DeviceDefinitionChargeItem, DeviceDefinitionClassification, DeviceDefinitionConformsTo, DeviceDefinitionCorrectiveAction, DeviceDefinitionDeviceName, DeviceDefinitionGuideline, DeviceDefinitionHasPart, DeviceDefinitionLink, DeviceDefinitionMaterial, DeviceDefinitionPackaging, DeviceDefinitionPackagingDistributor, DeviceDefinitionProperty, DeviceDefinitionRegulatoryIdentifier, DeviceDefinitionUdiDeviceIdentifier, DeviceDefinitionUdiDeviceIdentifierMarketDistribution, DeviceDefinitionVersion } from "./DeviceDefinition"; -export { isDeviceDefinition } from "./DeviceDefinition"; -export type { DeviceDispense, DeviceDispensePerformer } from "./DeviceDispense"; -export { isDeviceDispense } from "./DeviceDispense"; -export type { DeviceMetric, DeviceMetricCalibration } from "./DeviceMetric"; -export { isDeviceMetric } from "./DeviceMetric"; -export type { DeviceRequest, DeviceRequestParameter } from "./DeviceRequest"; -export { isDeviceRequest } from "./DeviceRequest"; -export type { DeviceUsage, DeviceUsageAdherence } from "./DeviceUsage"; -export { isDeviceUsage } from "./DeviceUsage"; -export type { DiagnosticReport, DiagnosticReportMedia, DiagnosticReportSupportingInfo } from "./DiagnosticReport"; -export { isDiagnosticReport } from "./DiagnosticReport"; -export type { Distance } from "./Distance"; -export type { DocumentReference, DocumentReferenceAttester, DocumentReferenceContent, DocumentReferenceContentProfile, DocumentReferenceRelatesTo } from "./DocumentReference"; -export { isDocumentReference } from "./DocumentReference"; -export type { DomainResource } from "./DomainResource"; -export { isDomainResource } from "./DomainResource"; -export type { Dosage } from "./Dosage"; -export type { Duration } from "./Duration"; -export type { Element } from "./Element"; -export type { ElementDefinition } from "./ElementDefinition"; -export type { Encounter, EncounterAdmission, EncounterDiagnosis, EncounterLocation, EncounterParticipant, EncounterReason } from "./Encounter"; -export { isEncounter } from "./Encounter"; -export type { EncounterHistory, EncounterHistoryLocation } from "./EncounterHistory"; -export { isEncounterHistory } from "./EncounterHistory"; -export type { Endpoint, EndpointPayload } from "./Endpoint"; -export { isEndpoint } from "./Endpoint"; -export type { EnrollmentRequest } from "./EnrollmentRequest"; -export { isEnrollmentRequest } from "./EnrollmentRequest"; -export type { EnrollmentResponse } from "./EnrollmentResponse"; -export { isEnrollmentResponse } from "./EnrollmentResponse"; -export type { EpisodeOfCare, EpisodeOfCareDiagnosis, EpisodeOfCareReason, EpisodeOfCareStatusHistory } from "./EpisodeOfCare"; -export { isEpisodeOfCare } from "./EpisodeOfCare"; -export type { Event } from "./Event"; -export type { EventDefinition } from "./EventDefinition"; -export { isEventDefinition } from "./EventDefinition"; -export type { Evidence, EvidenceCertainty, EvidenceStatistic, EvidenceStatisticAttributeEstimate, EvidenceStatisticModelCharacteristic, EvidenceStatisticModelCharacteristicVariable, EvidenceStatisticSampleSize, EvidenceVariableDefinition } from "./Evidence"; -export { isEvidence } from "./Evidence"; -export type { EvidenceReport, EvidenceReportRelatesTo, EvidenceReportRelatesToTarget, EvidenceReportSection, EvidenceReportSubject, EvidenceReportSubjectCharacteristic } from "./EvidenceReport"; -export { isEvidenceReport } from "./EvidenceReport"; -export type { EvidenceVariable, EvidenceVariableCategory, EvidenceVariableCharacteristic, EvidenceVariableCharacteristicDefinitionByCombination, EvidenceVariableCharacteristicDefinitionByTypeAndValue, EvidenceVariableCharacteristicTimeFromEvent } from "./EvidenceVariable"; -export { isEvidenceVariable } from "./EvidenceVariable"; -export type { ExampleScenario, ExampleScenarioActor, ExampleScenarioInstance, ExampleScenarioInstanceContainedInstance, ExampleScenarioInstanceVersion, ExampleScenarioProcess, ExampleScenarioProcessStep, ExampleScenarioProcessStepAlternative, ExampleScenarioProcessStepOperation } from "./ExampleScenario"; -export { isExampleScenario } from "./ExampleScenario"; -export type { ExplanationOfBenefit, ExplanationOfBenefitAccident, ExplanationOfBenefitAddItem, ExplanationOfBenefitAddItemBodySite, ExplanationOfBenefitAddItemDetail, ExplanationOfBenefitAddItemDetailSubDetail, ExplanationOfBenefitBenefitBalance, ExplanationOfBenefitBenefitBalanceFinancial, ExplanationOfBenefitCareTeam, ExplanationOfBenefitDiagnosis, ExplanationOfBenefitEvent, ExplanationOfBenefitInsurance, ExplanationOfBenefitItem, ExplanationOfBenefitItemAdjudication, ExplanationOfBenefitItemBodySite, ExplanationOfBenefitItemDetail, ExplanationOfBenefitItemDetailSubDetail, ExplanationOfBenefitItemReviewOutcome, ExplanationOfBenefitPayee, ExplanationOfBenefitPayment, ExplanationOfBenefitProcedure, ExplanationOfBenefitProcessNote, ExplanationOfBenefitRelated, ExplanationOfBenefitSupportingInfo, ExplanationOfBenefitTotal } from "./ExplanationOfBenefit"; -export { isExplanationOfBenefit } from "./ExplanationOfBenefit"; -export type { Expression } from "./Expression"; -export type { ExtendedContactDetail } from "./ExtendedContactDetail"; -export type { Extension } from "./Extension"; -export type { FamilyMemberHistory, FamilyMemberHistoryCondition, FamilyMemberHistoryParticipant, FamilyMemberHistoryProcedure } from "./FamilyMemberHistory"; -export { isFamilyMemberHistory } from "./FamilyMemberHistory"; -export type { FiveWs } from "./FiveWs"; -export type { Flag } from "./Flag"; -export { isFlag } from "./Flag"; -export type { FormularyItem } from "./FormularyItem"; -export { isFormularyItem } from "./FormularyItem"; -export type { GenomicStudy, GenomicStudyAnalysis, GenomicStudyAnalysisDevice, GenomicStudyAnalysisInput, GenomicStudyAnalysisOutput, GenomicStudyAnalysisPerformer } from "./GenomicStudy"; -export { isGenomicStudy } from "./GenomicStudy"; -export type { Goal, GoalTarget } from "./Goal"; -export { isGoal } from "./Goal"; -export type { GraphDefinition, GraphDefinitionLink, GraphDefinitionLinkCompartment, GraphDefinitionNode } from "./GraphDefinition"; -export { isGraphDefinition } from "./GraphDefinition"; -export type { Group, GroupCharacteristic, GroupMember } from "./Group"; -export { isGroup } from "./Group"; -export type { GuidanceResponse } from "./GuidanceResponse"; -export { isGuidanceResponse } from "./GuidanceResponse"; -export type { HealthcareService, HealthcareServiceEligibility } from "./HealthcareService"; -export { isHealthcareService } from "./HealthcareService"; -export type { HumanName } from "./HumanName"; -export type { Identifier } from "./Identifier"; -export type { ImagingSelection, ImagingSelectionInstance, ImagingSelectionInstanceImageRegion2D, ImagingSelectionInstanceImageRegion3D, ImagingSelectionPerformer } from "./ImagingSelection"; -export { isImagingSelection } from "./ImagingSelection"; -export type { ImagingStudy, ImagingStudySeries, ImagingStudySeriesInstance, ImagingStudySeriesPerformer } from "./ImagingStudy"; -export { isImagingStudy } from "./ImagingStudy"; -export type { Immunization, ImmunizationPerformer, ImmunizationProgramEligibility, ImmunizationProtocolApplied, ImmunizationReaction } from "./Immunization"; -export { isImmunization } from "./Immunization"; -export type { ImmunizationEvaluation } from "./ImmunizationEvaluation"; -export { isImmunizationEvaluation } from "./ImmunizationEvaluation"; -export type { ImmunizationRecommendation, ImmunizationRecommendationRecommendation, ImmunizationRecommendationRecommendationDateCriterion } from "./ImmunizationRecommendation"; -export { isImmunizationRecommendation } from "./ImmunizationRecommendation"; -export type { ImplementationGuide, ImplementationGuideDefinition, ImplementationGuideDefinitionGrouping, ImplementationGuideDefinitionPage, ImplementationGuideDefinitionParameter, ImplementationGuideDefinitionResource, ImplementationGuideDefinitionTemplate, ImplementationGuideDependsOn, ImplementationGuideGlobal, ImplementationGuideManifest, ImplementationGuideManifestPage, ImplementationGuideManifestResource } from "./ImplementationGuide"; -export { isImplementationGuide } from "./ImplementationGuide"; -export type { Ingredient, IngredientManufacturer, IngredientSubstance, IngredientSubstanceStrength, IngredientSubstanceStrengthReferenceStrength } from "./Ingredient"; -export { isIngredient } from "./Ingredient"; -export type { InsurancePlan, InsurancePlanCoverage, InsurancePlanCoverageBenefit, InsurancePlanCoverageBenefitLimit, InsurancePlanPlan, InsurancePlanPlanGeneralCost, InsurancePlanPlanSpecificCost, InsurancePlanPlanSpecificCostBenefit, InsurancePlanPlanSpecificCostBenefitCost } from "./InsurancePlan"; -export { isInsurancePlan } from "./InsurancePlan"; -export type { InventoryItem, InventoryItemAssociation, InventoryItemCharacteristic, InventoryItemDescription, InventoryItemInstance, InventoryItemName, InventoryItemResponsibleOrganization } from "./InventoryItem"; -export { isInventoryItem } from "./InventoryItem"; -export type { InventoryReport, InventoryReportInventoryListing, InventoryReportInventoryListingItem } from "./InventoryReport"; -export { isInventoryReport } from "./InventoryReport"; -export type { Invoice, InvoiceLineItem, InvoiceParticipant } from "./Invoice"; -export { isInvoice } from "./Invoice"; -export type { Library } from "./Library"; -export { isLibrary } from "./Library"; -export type { Linkage, LinkageItem } from "./Linkage"; -export { isLinkage } from "./Linkage"; -export type { List, ListEntry } from "./List"; -export { isList } from "./List"; -export type { Location, LocationPosition } from "./Location"; -export { isLocation } from "./Location"; -export type { ManufacturedItemDefinition, ManufacturedItemDefinitionComponent, ManufacturedItemDefinitionComponentConstituent, ManufacturedItemDefinitionProperty } from "./ManufacturedItemDefinition"; -export { isManufacturedItemDefinition } from "./ManufacturedItemDefinition"; -export type { MarketingStatus } from "./MarketingStatus"; -export type { Measure, MeasureGroup, MeasureGroupPopulation, MeasureGroupStratifier, MeasureGroupStratifierComponent, MeasureSupplementalData, MeasureTerm } from "./Measure"; -export { isMeasure } from "./Measure"; -export type { MeasureReport, MeasureReportGroup, MeasureReportGroupPopulation, MeasureReportGroupStratifier, MeasureReportGroupStratifierStratum, MeasureReportGroupStratifierStratumComponent, MeasureReportGroupStratifierStratumPopulation } from "./MeasureReport"; -export { isMeasureReport } from "./MeasureReport"; -export type { Medication, MedicationBatch, MedicationIngredient } from "./Medication"; -export { isMedication } from "./Medication"; -export type { MedicationAdministration, MedicationAdministrationDosage, MedicationAdministrationPerformer } from "./MedicationAdministration"; -export { isMedicationAdministration } from "./MedicationAdministration"; -export type { MedicationDispense, MedicationDispensePerformer, MedicationDispenseSubstitution } from "./MedicationDispense"; -export { isMedicationDispense } from "./MedicationDispense"; -export type { MedicationKnowledge, MedicationKnowledgeCost, MedicationKnowledgeDefinitional, MedicationKnowledgeDefinitionalDrugCharacteristic, MedicationKnowledgeDefinitionalIngredient, MedicationKnowledgeIndicationGuideline, MedicationKnowledgeIndicationGuidelineDosingGuideline, MedicationKnowledgeIndicationGuidelineDosingGuidelineDosage, MedicationKnowledgeIndicationGuidelineDosingGuidelinePatientCharacteristic, MedicationKnowledgeMedicineClassification, MedicationKnowledgeMonitoringProgram, MedicationKnowledgeMonograph, MedicationKnowledgePackaging, MedicationKnowledgeRegulatory, MedicationKnowledgeRegulatoryMaxDispense, MedicationKnowledgeRegulatorySubstitution, MedicationKnowledgeRelatedMedicationKnowledge, MedicationKnowledgeStorageGuideline, MedicationKnowledgeStorageGuidelineEnvironmentalSetting } from "./MedicationKnowledge"; -export { isMedicationKnowledge } from "./MedicationKnowledge"; -export type { MedicationRequest, MedicationRequestDispenseRequest, MedicationRequestDispenseRequestInitialFill, MedicationRequestSubstitution } from "./MedicationRequest"; -export { isMedicationRequest } from "./MedicationRequest"; -export type { MedicationStatement, MedicationStatementAdherence } from "./MedicationStatement"; -export { isMedicationStatement } from "./MedicationStatement"; -export type { MedicinalProductDefinition, MedicinalProductDefinitionCharacteristic, MedicinalProductDefinitionContact, MedicinalProductDefinitionCrossReference, MedicinalProductDefinitionName, MedicinalProductDefinitionNamePart, MedicinalProductDefinitionNameUsage, MedicinalProductDefinitionOperation } from "./MedicinalProductDefinition"; -export { isMedicinalProductDefinition } from "./MedicinalProductDefinition"; -export type { MessageDefinition, MessageDefinitionAllowedResponse, MessageDefinitionFocus } from "./MessageDefinition"; -export { isMessageDefinition } from "./MessageDefinition"; -export type { MessageHeader, MessageHeaderDestination, MessageHeaderResponse, MessageHeaderSource } from "./MessageHeader"; -export { isMessageHeader } from "./MessageHeader"; -export type { Meta } from "./Meta"; -export type { MetadataResource } from "./MetadataResource"; -export { isMetadataResource } from "./MetadataResource"; -export type { MolecularSequence, MolecularSequenceRelative, MolecularSequenceRelativeEdit, MolecularSequenceRelativeStartingSequence } from "./MolecularSequence"; -export { isMolecularSequence } from "./MolecularSequence"; -export type { MonetaryComponent } from "./MonetaryComponent"; -export type { Money } from "./Money"; -export type { NamingSystem, NamingSystemUniqueId } from "./NamingSystem"; -export { isNamingSystem } from "./NamingSystem"; -export type { Narrative } from "./Narrative"; -export type { NutritionIntake, NutritionIntakeConsumedItem, NutritionIntakeIngredientLabel, NutritionIntakePerformer } from "./NutritionIntake"; -export { isNutritionIntake } from "./NutritionIntake"; -export type { NutritionOrder, NutritionOrderEnteralFormula, NutritionOrderEnteralFormulaAdditive, NutritionOrderEnteralFormulaAdministration, NutritionOrderEnteralFormulaAdministrationSchedule, NutritionOrderOralDiet, NutritionOrderOralDietNutrient, NutritionOrderOralDietSchedule, NutritionOrderOralDietTexture, NutritionOrderSupplement, NutritionOrderSupplementSchedule } from "./NutritionOrder"; -export { isNutritionOrder } from "./NutritionOrder"; -export type { NutritionProduct, NutritionProductCharacteristic, NutritionProductIngredient, NutritionProductInstance, NutritionProductNutrient } from "./NutritionProduct"; -export { isNutritionProduct } from "./NutritionProduct"; -export type { Observation, ObservationComponent, ObservationReferenceRange, ObservationTriggeredBy } from "./Observation"; -export { isObservation } from "./Observation"; -export type { ObservationDefinition, ObservationDefinitionComponent, ObservationDefinitionQualifiedValue } from "./ObservationDefinition"; -export { isObservationDefinition } from "./ObservationDefinition"; -export type { OperationDefinition, OperationDefinitionOverload, OperationDefinitionParameter, OperationDefinitionParameterBinding, OperationDefinitionParameterReferencedFrom } from "./OperationDefinition"; -export { isOperationDefinition } from "./OperationDefinition"; -export type { OperationOutcome, OperationOutcomeIssue } from "./OperationOutcome"; -export { isOperationOutcome } from "./OperationOutcome"; -export type { Organization, OrganizationQualification } from "./Organization"; -export { isOrganization } from "./Organization"; -export type { OrganizationAffiliation } from "./OrganizationAffiliation"; -export { isOrganizationAffiliation } from "./OrganizationAffiliation"; -export type { PackagedProductDefinition, PackagedProductDefinitionLegalStatusOfSupply, PackagedProductDefinitionPackaging, PackagedProductDefinitionPackagingContainedItem, PackagedProductDefinitionPackagingProperty } from "./PackagedProductDefinition"; -export { isPackagedProductDefinition } from "./PackagedProductDefinition"; -export type { ParameterDefinition } from "./ParameterDefinition"; -export type { Parameters, ParametersParameter } from "./Parameters"; -export { isParameters } from "./Parameters"; -export type { Participant } from "./Participant"; -export type { ParticipantContactable } from "./ParticipantContactable"; -export type { ParticipantLiving } from "./ParticipantLiving"; -export type { Patient, PatientCommunication, PatientContact, PatientLink } from "./Patient"; -export { isPatient } from "./Patient"; -export type { PaymentNotice } from "./PaymentNotice"; -export { isPaymentNotice } from "./PaymentNotice"; -export type { PaymentReconciliation, PaymentReconciliationAllocation, PaymentReconciliationProcessNote } from "./PaymentReconciliation"; -export { isPaymentReconciliation } from "./PaymentReconciliation"; -export type { Period } from "./Period"; -export type { Permission, PermissionJustification, PermissionRule, PermissionRuleActivity, PermissionRuleData, PermissionRuleDataResource } from "./Permission"; -export { isPermission } from "./Permission"; -export type { Person, PersonCommunication, PersonLink } from "./Person"; -export { isPerson } from "./Person"; -export type { PlanDefinition, PlanDefinitionAction, PlanDefinitionActionCondition, PlanDefinitionActionDynamicValue, PlanDefinitionActionInput, PlanDefinitionActionOutput, PlanDefinitionActionParticipant, PlanDefinitionActionRelatedAction, PlanDefinitionActor, PlanDefinitionActorOption, PlanDefinitionGoal, PlanDefinitionGoalTarget } from "./PlanDefinition"; -export { isPlanDefinition } from "./PlanDefinition"; -export type { Practitioner, PractitionerCommunication, PractitionerQualification } from "./Practitioner"; -export { isPractitioner } from "./Practitioner"; -export type { PractitionerRole } from "./PractitionerRole"; -export { isPractitionerRole } from "./PractitionerRole"; -export type { PrimitiveType } from "./PrimitiveType"; -export type { Procedure, ProcedureFocalDevice, ProcedurePerformer } from "./Procedure"; -export { isProcedure } from "./Procedure"; -export type { Product } from "./Product"; -export type { ProductShelfLife } from "./ProductShelfLife"; -export type { Provenance, ProvenanceAgent, ProvenanceEntity } from "./Provenance"; -export { isProvenance } from "./Provenance"; -export type { Publishable } from "./Publishable"; -export type { Quantity } from "./Quantity"; -export type { Questionnaire, QuestionnaireItem, QuestionnaireItemAnswerOption, QuestionnaireItemEnableWhen, QuestionnaireItemInitial } from "./Questionnaire"; -export { isQuestionnaire } from "./Questionnaire"; -export type { QuestionnaireResponse, QuestionnaireResponseItem, QuestionnaireResponseItemAnswer } from "./QuestionnaireResponse"; -export { isQuestionnaireResponse } from "./QuestionnaireResponse"; -export type { Range } from "./Range"; -export type { Ratio } from "./Ratio"; -export type { RatioRange } from "./RatioRange"; -export type { Reference } from "./Reference"; -export type { RegulatedAuthorization, RegulatedAuthorizationCase } from "./RegulatedAuthorization"; -export { isRegulatedAuthorization } from "./RegulatedAuthorization"; -export type { RelatedArtifact } from "./RelatedArtifact"; -export type { RelatedPerson, RelatedPersonCommunication } from "./RelatedPerson"; -export { isRelatedPerson } from "./RelatedPerson"; -export type { Request } from "./Request"; -export type { RequestOrchestration, RequestOrchestrationAction, RequestOrchestrationActionCondition, RequestOrchestrationActionDynamicValue, RequestOrchestrationActionInput, RequestOrchestrationActionOutput, RequestOrchestrationActionParticipant, RequestOrchestrationActionRelatedAction } from "./RequestOrchestration"; -export { isRequestOrchestration } from "./RequestOrchestration"; -export type { Requirements, RequirementsStatement } from "./Requirements"; -export { isRequirements } from "./Requirements"; -export type { ResearchStudy, ResearchStudyAssociatedParty, ResearchStudyComparisonGroup, ResearchStudyLabel, ResearchStudyObjective, ResearchStudyOutcomeMeasure, ResearchStudyProgressStatus, ResearchStudyRecruitment } from "./ResearchStudy"; -export { isResearchStudy } from "./ResearchStudy"; -export type { ResearchSubject, ResearchSubjectProgress } from "./ResearchSubject"; -export { isResearchSubject } from "./ResearchSubject"; -export type { Resource } from "./Resource"; -export { isResource } from "./Resource"; -export type { RiskAssessment, RiskAssessmentPrediction } from "./RiskAssessment"; -export { isRiskAssessment } from "./RiskAssessment"; -export type { SampledData } from "./SampledData"; -export type { Schedule } from "./Schedule"; -export { isSchedule } from "./Schedule"; -export type { SearchParameter, SearchParameterComponent } from "./SearchParameter"; -export { isSearchParameter } from "./SearchParameter"; -export type { ServiceRequest, ServiceRequestOrderDetail, ServiceRequestOrderDetailParameter, ServiceRequestPatientInstruction } from "./ServiceRequest"; -export { isServiceRequest } from "./ServiceRequest"; -export type { Shareable } from "./Shareable"; -export type { Signature } from "./Signature"; -export type { Slot } from "./Slot"; -export { isSlot } from "./Slot"; -export type { Specimen, SpecimenCollection, SpecimenContainer, SpecimenFeature, SpecimenProcessing } from "./Specimen"; -export { isSpecimen } from "./Specimen"; -export type { SpecimenDefinition, SpecimenDefinitionTypeTested, SpecimenDefinitionTypeTestedContainer, SpecimenDefinitionTypeTestedContainerAdditive, SpecimenDefinitionTypeTestedHandling } from "./SpecimenDefinition"; -export { isSpecimenDefinition } from "./SpecimenDefinition"; -export type { StructureDefinition, StructureDefinitionContext, StructureDefinitionDifferential, StructureDefinitionMapping, StructureDefinitionSnapshot } from "./StructureDefinition"; -export { isStructureDefinition } from "./StructureDefinition"; -export type { StructureMap, StructureMapConst, StructureMapGroup, StructureMapGroupInput, StructureMapGroupRule, StructureMapGroupRuleDependent, StructureMapGroupRuleSource, StructureMapGroupRuleTarget, StructureMapGroupRuleTargetParameter, StructureMapStructure } from "./StructureMap"; -export { isStructureMap } from "./StructureMap"; -export type { Subscription, SubscriptionFilterBy, SubscriptionParameter } from "./Subscription"; -export { isSubscription } from "./Subscription"; -export type { SubscriptionStatus, SubscriptionStatusNotificationEvent } from "./SubscriptionStatus"; -export { isSubscriptionStatus } from "./SubscriptionStatus"; -export type { SubscriptionTopic, SubscriptionTopicCanFilterBy, SubscriptionTopicEventTrigger, SubscriptionTopicNotificationShape, SubscriptionTopicResourceTrigger, SubscriptionTopicResourceTriggerQueryCriteria } from "./SubscriptionTopic"; -export { isSubscriptionTopic } from "./SubscriptionTopic"; -export type { Substance, SubstanceIngredient } from "./Substance"; -export { isSubstance } from "./Substance"; -export type { SubstanceDefinition, SubstanceDefinitionCharacterization, SubstanceDefinitionCode, SubstanceDefinitionMoiety, SubstanceDefinitionMolecularWeight, SubstanceDefinitionName, SubstanceDefinitionNameOfficial, SubstanceDefinitionProperty, SubstanceDefinitionRelationship, SubstanceDefinitionSourceMaterial, SubstanceDefinitionStructure, SubstanceDefinitionStructureRepresentation } from "./SubstanceDefinition"; -export { isSubstanceDefinition } from "./SubstanceDefinition"; -export type { SubstanceNucleicAcid, SubstanceNucleicAcidSubunit, SubstanceNucleicAcidSubunitLinkage, SubstanceNucleicAcidSubunitSugar } from "./SubstanceNucleicAcid"; -export { isSubstanceNucleicAcid } from "./SubstanceNucleicAcid"; -export type { SubstancePolymer, SubstancePolymerMonomerSet, SubstancePolymerMonomerSetStartingMaterial, SubstancePolymerRepeat, SubstancePolymerRepeatRepeatUnit, SubstancePolymerRepeatRepeatUnitDegreeOfPolymerisation, SubstancePolymerRepeatRepeatUnitStructuralRepresentation } from "./SubstancePolymer"; -export { isSubstancePolymer } from "./SubstancePolymer"; -export type { SubstanceProtein, SubstanceProteinSubunit } from "./SubstanceProtein"; -export { isSubstanceProtein } from "./SubstanceProtein"; -export type { SubstanceReferenceInformation, SubstanceReferenceInformationGene, SubstanceReferenceInformationGeneElement, SubstanceReferenceInformationTarget } from "./SubstanceReferenceInformation"; -export { isSubstanceReferenceInformation } from "./SubstanceReferenceInformation"; -export type { SubstanceSourceMaterial, SubstanceSourceMaterialFractionDescription, SubstanceSourceMaterialOrganism, SubstanceSourceMaterialOrganismAuthor, SubstanceSourceMaterialOrganismHybrid, SubstanceSourceMaterialOrganismOrganismGeneral, SubstanceSourceMaterialPartDescription } from "./SubstanceSourceMaterial"; -export { isSubstanceSourceMaterial } from "./SubstanceSourceMaterial"; -export type { SupplyDelivery, SupplyDeliverySuppliedItem } from "./SupplyDelivery"; -export { isSupplyDelivery } from "./SupplyDelivery"; -export type { SupplyRequest, SupplyRequestParameter } from "./SupplyRequest"; -export { isSupplyRequest } from "./SupplyRequest"; -export type { Task, TaskInput, TaskOutput, TaskPerformer, TaskRestriction } from "./Task"; -export { isTask } from "./Task"; -export type { TerminologyCapabilities, TerminologyCapabilitiesClosure, TerminologyCapabilitiesCodeSystem, TerminologyCapabilitiesCodeSystemVersion, TerminologyCapabilitiesCodeSystemVersionFilter, TerminologyCapabilitiesExpansion, TerminologyCapabilitiesExpansionParameter, TerminologyCapabilitiesImplementation, TerminologyCapabilitiesSoftware, TerminologyCapabilitiesTranslation, TerminologyCapabilitiesValidateCode } from "./TerminologyCapabilities"; -export { isTerminologyCapabilities } from "./TerminologyCapabilities"; -export type { TestPlan, TestPlanDependency, TestPlanTestCase, TestPlanTestCaseAssertion, TestPlanTestCaseDependency, TestPlanTestCaseTestData, TestPlanTestCaseTestRun, TestPlanTestCaseTestRunScript } from "./TestPlan"; -export { isTestPlan } from "./TestPlan"; -export type { TestReport, TestReportParticipant, TestReportSetup, TestReportSetupAction, TestReportSetupActionAssert, TestReportSetupActionAssertRequirement, TestReportSetupActionOperation, TestReportTeardown, TestReportTeardownAction, TestReportTest, TestReportTestAction } from "./TestReport"; -export { isTestReport } from "./TestReport"; -export type { TestScript, TestScriptDestination, TestScriptFixture, TestScriptMetadata, TestScriptMetadataCapability, TestScriptMetadataLink, TestScriptOrigin, TestScriptScope, TestScriptSetup, TestScriptSetupAction, TestScriptSetupActionAssert, TestScriptSetupActionAssertRequirement, TestScriptSetupActionOperation, TestScriptSetupActionOperationRequestHeader, TestScriptTeardown, TestScriptTeardownAction, TestScriptTest, TestScriptTestAction, TestScriptVariable } from "./TestScript"; -export { isTestScript } from "./TestScript"; -export type { Timing } from "./Timing"; -export type { Transport, TransportInput, TransportOutput, TransportRestriction } from "./Transport"; -export { isTransport } from "./Transport"; -export type { TriggerDefinition } from "./TriggerDefinition"; -export type { UsageContext } from "./UsageContext"; -export type { ValueSet, ValueSetCompose, ValueSetComposeInclude, ValueSetComposeIncludeConcept, ValueSetComposeIncludeConceptDesignation, ValueSetComposeIncludeFilter, ValueSetExpansion, ValueSetExpansionContains, ValueSetExpansionContainsProperty, ValueSetExpansionContainsPropertySubProperty, ValueSetExpansionParameter, ValueSetExpansionProperty, ValueSetScope } from "./ValueSet"; -export { isValueSet } from "./ValueSet"; -export type { VerificationResult, VerificationResultAttestation, VerificationResultPrimarySource, VerificationResultValidator } from "./VerificationResult"; -export { isVerificationResult } from "./VerificationResult"; -export type { VirtualServiceDetail } from "./VirtualServiceDetail"; -export type { VisionPrescription, VisionPrescriptionLensSpecification, VisionPrescriptionLensSpecificationPrism } from "./VisionPrescription"; -export { isVisionPrescription } from "./VisionPrescription"; 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 deleted file mode 100644 index f22beb2da..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/profiles/ActivityDefinition_PublishableActivityDefinition.ts +++ /dev/null @@ -1,221 +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"; - -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 deleted file mode 100644 index 5900cbef9..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/profiles/ActivityDefinition_ShareableActivityDefinition.ts +++ /dev/null @@ -1,208 +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"; - -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/ArtifactAssessment_EBMRecommendation.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/profiles/ArtifactAssessment_EBMRecommendation.ts deleted file mode 100644 index caf574620..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/profiles/ArtifactAssessment_EBMRecommendation.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 { 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/Bundle_BatchBundle.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/profiles/Bundle_BatchBundle.ts deleted file mode 100644 index 89417dacb..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/profiles/Bundle_BatchBundle.ts +++ /dev/null @@ -1,251 +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"; - -export type BatchBundle_Entry_PutSliceInput = Omit & Required>; -export type BatchBundle_Entry_PostSliceInput = Omit & Required>; -export type BatchBundle_Entry_GetSliceInput = Omit & Required>; -export type BatchBundle_Entry_DeleteSliceInput = Omit & Required>; -export type BatchBundle_Entry_PatchSliceInput = Omit & Required>; -export type BatchBundle_Entry_HeadSliceInput = Omit & Required>; - -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 - 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 setPost (input: BatchBundle_Entry_PostSliceInput): this { - const match = {"request":{"method":"POST"}} 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 setGet (input: BatchBundle_Entry_GetSliceInput): this { - const match = {"request":{"method":"GET"}} 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 setDelete (input: BatchBundle_Entry_DeleteSliceInput): this { - const match = {"request":{"method":"DELETE"}} 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 setPatch (input: BatchBundle_Entry_PatchSliceInput): this { - const match = {"request":{"method":"PATCH"}} 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 setHead (input: BatchBundle_Entry_HeadSliceInput): this { - const match = {"request":{"method":"HEAD"}} 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 getPut (): BatchBundle_Entry_PutSliceInput | undefined { - const match = {"request":{"method":"PUT"}} 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, ["request"]) as BatchBundle_Entry_PutSliceInput - } - - public getPutRaw (): BundleEntry | undefined { - const match = {"request":{"method":"PUT"}} as Record - const list = this.resource.entry - if (!list) return undefined - const item = list.find((item) => matchesSlice(item, match)) - return item - } - - public getPost (): BatchBundle_Entry_PostSliceInput | undefined { - const match = {"request":{"method":"POST"}} 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, ["request"]) as BatchBundle_Entry_PostSliceInput - } - - public getPostRaw (): BundleEntry | undefined { - const match = {"request":{"method":"POST"}} as Record - const list = this.resource.entry - if (!list) return undefined - const item = list.find((item) => matchesSlice(item, match)) - return item - } - - public getGet (): BatchBundle_Entry_GetSliceInput | undefined { - const match = {"request":{"method":"GET"}} 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, ["request"]) as BatchBundle_Entry_GetSliceInput - } - - public getGetRaw (): BundleEntry | undefined { - const match = {"request":{"method":"GET"}} as Record - const list = this.resource.entry - if (!list) return undefined - const item = list.find((item) => matchesSlice(item, match)) - return item - } - - public getDelete (): BatchBundle_Entry_DeleteSliceInput | undefined { - const match = {"request":{"method":"DELETE"}} 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, ["request"]) as BatchBundle_Entry_DeleteSliceInput - } - - public getDeleteRaw (): BundleEntry | undefined { - const match = {"request":{"method":"DELETE"}} as Record - const list = this.resource.entry - if (!list) return undefined - const item = list.find((item) => matchesSlice(item, match)) - return item - } - - public getPatch (): BatchBundle_Entry_PatchSliceInput | undefined { - const match = {"request":{"method":"PATCH"}} 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, ["request"]) as BatchBundle_Entry_PatchSliceInput - } - - public getPatchRaw (): BundleEntry | undefined { - const match = {"request":{"method":"PATCH"}} as Record - const list = this.resource.entry - if (!list) return undefined - const item = list.find((item) => matchesSlice(item, match)) - return item - } - - public getHead (): BatchBundle_Entry_HeadSliceInput | undefined { - const match = {"request":{"method":"HEAD"}} 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, ["request"]) as BatchBundle_Entry_HeadSliceInput - } - - public getHeadRaw (): BundleEntry | undefined { - const match = {"request":{"method":"HEAD"}} 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", "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 deleted file mode 100644 index 8d11c5615..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/profiles/Bundle_BatchResponseBundle.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 { 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 deleted file mode 100644 index b94be60ca..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/profiles/Bundle_DocumentBundle.ts +++ /dev/null @@ -1,114 +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"; - -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/Bundle_HistoryBundle.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/profiles/Bundle_HistoryBundle.ts deleted file mode 100644 index 29782051c..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/profiles/Bundle_HistoryBundle.ts +++ /dev/null @@ -1,190 +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"; - -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, 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 - 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 setPost (input: HistoryBundle_Entry_PostSliceInput): this { - const match = {"request":{"method":"POST"}} 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 setGet (input: HistoryBundle_Entry_GetSliceInput): this { - const match = {"request":{"method":"GET"}} 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 setDelete (input: HistoryBundle_Entry_DeleteSliceInput): this { - const match = {"request":{"method":"DELETE"}} 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 getPut (): HistoryBundle_Entry_PutSliceInput | undefined { - const match = {"request":{"method":"PUT"}} 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, ["request"]) as HistoryBundle_Entry_PutSliceInput - } - - public getPutRaw (): BundleEntry | undefined { - const match = {"request":{"method":"PUT"}} as Record - const list = this.resource.entry - if (!list) return undefined - const item = list.find((item) => matchesSlice(item, match)) - return item - } - - public getPost (): HistoryBundle_Entry_PostSliceInput | undefined { - const match = {"request":{"method":"POST"}} 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, ["request"]) as HistoryBundle_Entry_PostSliceInput - } - - public getPostRaw (): BundleEntry | undefined { - const match = {"request":{"method":"POST"}} as Record - const list = this.resource.entry - if (!list) return undefined - const item = list.find((item) => matchesSlice(item, match)) - return item - } - - public getGet (): HistoryBundle_Entry_GetSliceInput | undefined { - const match = {"request":{"method":"GET"}} 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, ["request"]) as HistoryBundle_Entry_GetSliceInput - } - - public getGetRaw (): BundleEntry | undefined { - const match = {"request":{"method":"GET"}} as Record - const list = this.resource.entry - if (!list) return undefined - const item = list.find((item) => matchesSlice(item, match)) - return item - } - - public getDelete (): HistoryBundle_Entry_DeleteSliceInput | undefined { - const match = {"request":{"method":"DELETE"}} 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, ["request"]) as HistoryBundle_Entry_DeleteSliceInput - } - - public getDeleteRaw (): BundleEntry | undefined { - const match = {"request":{"method":"DELETE"}} 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", "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 deleted file mode 100644 index b51aa80df..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/profiles/Bundle_SearchSetBundle.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 { 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 deleted file mode 100644 index 8594a0889..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/profiles/Bundle_SubscriptionNotificationBundle.ts +++ /dev/null @@ -1,87 +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"; - -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/Bundle_TransactionBundle.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/profiles/Bundle_TransactionBundle.ts deleted file mode 100644 index 65906b75b..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/profiles/Bundle_TransactionBundle.ts +++ /dev/null @@ -1,251 +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"; - -export type TransactionBundle_Entry_PutSliceInput = Omit & Required>; -export type TransactionBundle_Entry_PostSliceInput = Omit & Required>; -export type TransactionBundle_Entry_GetSliceInput = Omit & Required>; -export type TransactionBundle_Entry_DeleteSliceInput = Omit & Required>; -export type TransactionBundle_Entry_PatchSliceInput = Omit & Required>; -export type TransactionBundle_Entry_HeadSliceInput = Omit & Required>; - -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 - 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 setPost (input: TransactionBundle_Entry_PostSliceInput): this { - const match = {"request":{"method":"POST"}} 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 setGet (input: TransactionBundle_Entry_GetSliceInput): this { - const match = {"request":{"method":"GET"}} 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 setDelete (input: TransactionBundle_Entry_DeleteSliceInput): this { - const match = {"request":{"method":"DELETE"}} 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 setPatch (input: TransactionBundle_Entry_PatchSliceInput): this { - const match = {"request":{"method":"PATCH"}} 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 setHead (input: TransactionBundle_Entry_HeadSliceInput): this { - const match = {"request":{"method":"HEAD"}} 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 getPut (): TransactionBundle_Entry_PutSliceInput | undefined { - const match = {"request":{"method":"PUT"}} 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, ["request"]) as TransactionBundle_Entry_PutSliceInput - } - - public getPutRaw (): BundleEntry | undefined { - const match = {"request":{"method":"PUT"}} as Record - const list = this.resource.entry - if (!list) return undefined - const item = list.find((item) => matchesSlice(item, match)) - return item - } - - public getPost (): TransactionBundle_Entry_PostSliceInput | undefined { - const match = {"request":{"method":"POST"}} 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, ["request"]) as TransactionBundle_Entry_PostSliceInput - } - - public getPostRaw (): BundleEntry | undefined { - const match = {"request":{"method":"POST"}} as Record - const list = this.resource.entry - if (!list) return undefined - const item = list.find((item) => matchesSlice(item, match)) - return item - } - - public getGet (): TransactionBundle_Entry_GetSliceInput | undefined { - const match = {"request":{"method":"GET"}} 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, ["request"]) as TransactionBundle_Entry_GetSliceInput - } - - public getGetRaw (): BundleEntry | undefined { - const match = {"request":{"method":"GET"}} as Record - const list = this.resource.entry - if (!list) return undefined - const item = list.find((item) => matchesSlice(item, match)) - return item - } - - public getDelete (): TransactionBundle_Entry_DeleteSliceInput | undefined { - const match = {"request":{"method":"DELETE"}} 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, ["request"]) as TransactionBundle_Entry_DeleteSliceInput - } - - public getDeleteRaw (): BundleEntry | undefined { - const match = {"request":{"method":"DELETE"}} as Record - const list = this.resource.entry - if (!list) return undefined - const item = list.find((item) => matchesSlice(item, match)) - return item - } - - public getPatch (): TransactionBundle_Entry_PatchSliceInput | undefined { - const match = {"request":{"method":"PATCH"}} 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, ["request"]) as TransactionBundle_Entry_PatchSliceInput - } - - public getPatchRaw (): BundleEntry | undefined { - const match = {"request":{"method":"PATCH"}} as Record - const list = this.resource.entry - if (!list) return undefined - const item = list.find((item) => matchesSlice(item, match)) - return item - } - - public getHead (): TransactionBundle_Entry_HeadSliceInput | undefined { - const match = {"request":{"method":"HEAD"}} 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, ["request"]) as TransactionBundle_Entry_HeadSliceInput - } - - public getHeadRaw (): BundleEntry | undefined { - const match = {"request":{"method":"HEAD"}} 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", "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 deleted file mode 100644 index cde29f7a9..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/profiles/Bundle_TransactionResponseBundle.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 { 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/Composition_ClinicalDocument.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/profiles/Composition_ClinicalDocument.ts deleted file mode 100644 index 11d7803f2..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/profiles/Composition_ClinicalDocument.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 { 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/Composition_DocumentSectionLibrary.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/profiles/Composition_DocumentSectionLibrary.ts deleted file mode 100644 index 7dec76b05..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/profiles/Composition_DocumentSectionLibrary.ts +++ /dev/null @@ -1,145 +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"; -import type { CompositionSection } from "../../hl7-fhir-r5-core/Composition"; - -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, 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 { - return this.resource - } - - public setProcedure (input: DocumentSectionLibrary_Section_ProcedureSliceInput): this { - const match = {"code":{"coding":[{"code":"29554-3","display":"Procedure Narrative","system":"http://loinc.org"}]}} as Record - const value = applySliceMatch(input as Record, match) as unknown as CompositionSection - const list = (this.resource.section ??= []) - const index = list.findIndex((item) => matchesSlice(item, match)) - if (index === -1) { - list.push(value) - } else { - list[index] = value - } - return this - } - - public setMedications (input: DocumentSectionLibrary_Section_MedicationsSliceInput): this { - const match = {"code":{"coding":[{"code":"29549-3","display":"Medication administered Narrative","system":"http://loinc.org"}]}} as Record - const value = applySliceMatch(input as Record, match) as unknown as CompositionSection - const list = (this.resource.section ??= []) - const index = list.findIndex((item) => matchesSlice(item, match)) - if (index === -1) { - list.push(value) - } else { - list[index] = value - } - return this - } - - public setPlan (input: DocumentSectionLibrary_Section_PlanSliceInput): this { - const match = {"code":{"coding":[{"code":"18776-5","display":"Plan of treatment (narrative)","system":"http://loinc.org"}]}} as Record - const value = applySliceMatch(input as Record, match) as unknown as CompositionSection - const list = (this.resource.section ??= []) - const index = list.findIndex((item) => matchesSlice(item, match)) - if (index === -1) { - list.push(value) - } else { - list[index] = value - } - return this - } - - public getProcedure (): DocumentSectionLibrary_Section_ProcedureSliceInput | undefined { - const match = {"code":{"coding":[{"code":"29554-3","display":"Procedure Narrative","system":"http://loinc.org"}]}} as Record - const list = this.resource.section - 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 DocumentSectionLibrary_Section_ProcedureSliceInput - } - - public getProcedureRaw (): CompositionSection | undefined { - const match = {"code":{"coding":[{"code":"29554-3","display":"Procedure Narrative","system":"http://loinc.org"}]}} as Record - const list = this.resource.section - if (!list) return undefined - const item = list.find((item) => matchesSlice(item, match)) - return item - } - - public getMedications (): DocumentSectionLibrary_Section_MedicationsSliceInput | undefined { - const match = {"code":{"coding":[{"code":"29549-3","display":"Medication administered Narrative","system":"http://loinc.org"}]}} as Record - const list = this.resource.section - 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 DocumentSectionLibrary_Section_MedicationsSliceInput - } - - public getMedicationsRaw (): CompositionSection | undefined { - const match = {"code":{"coding":[{"code":"29549-3","display":"Medication administered Narrative","system":"http://loinc.org"}]}} as Record - const list = this.resource.section - if (!list) return undefined - const item = list.find((item) => matchesSlice(item, match)) - return item - } - - public getPlan (): DocumentSectionLibrary_Section_PlanSliceInput | undefined { - const match = {"code":{"coding":[{"code":"18776-5","display":"Plan of treatment (narrative)","system":"http://loinc.org"}]}} as Record - const list = this.resource.section - 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 DocumentSectionLibrary_Section_PlanSliceInput - } - - public getPlanRaw (): CompositionSection | undefined { - const match = {"code":{"coding":[{"code":"18776-5","display":"Plan of treatment (narrative)","system":"http://loinc.org"}]}} as Record - const list = this.resource.section - 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 - 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 deleted file mode 100644 index af09b3d2c..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/profiles/Composition_DocumentStructure.ts +++ /dev/null @@ -1,50 +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"; - -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 deleted file mode 100644 index 18f28a33e..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/profiles/Composition_ProfileForCatalog.ts +++ /dev/null @@ -1,116 +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"; - -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/ConceptMap_PublishableConceptMap.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/profiles/ConceptMap_PublishableConceptMap.ts deleted file mode 100644 index aa8e7a27f..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/profiles/ConceptMap_PublishableConceptMap.ts +++ /dev/null @@ -1,168 +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"; - -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 deleted file mode 100644 index 04d9ead77..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/profiles/ConceptMap_ShareableConceptMap.ts +++ /dev/null @@ -1,155 +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"; - -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/DiagnosticReport_ExampleLipidProfile.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/profiles/DiagnosticReport_ExampleLipidProfile.ts deleted file mode 100644 index 21ab4aa60..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/profiles/DiagnosticReport_ExampleLipidProfile.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 { 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/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 deleted file mode 100644 index 8bb8e61d8..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/profiles/ElementDefinition_DataElement_constraint_on_ElementDefinition_data_type.ts +++ /dev/null @@ -1,72 +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 { 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/FamilyMemberHistory_FamilyMemberHistoryForGeneticsAnalysis.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/profiles/FamilyMemberHistory_FamilyMemberHistoryForGeneticsAnalysis.ts deleted file mode 100644 index c1dee355d..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/profiles/FamilyMemberHistory_FamilyMemberHistoryForGeneticsAnalysis.ts +++ /dev/null @@ -1,144 +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 { 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"; - -export type FamilyMemberHistoryForGeneticsAnalysis_ParentInput = { - type: CodeableConcept; - reference: Reference; -} - -export type FamilyMemberHistoryForGeneticsAnalysis_SiblingInput = { - type: CodeableConcept; - reference: Reference; -} - -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" - - 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 - } - - 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 }) - } - 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: FamilyMemberHistoryForGeneticsAnalysis_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 setObservations (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 (): 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 FamilyMemberHistoryForGeneticsAnalysis_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 (): 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 FamilyMemberHistoryForGeneticsAnalysis_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 getObservations (): 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 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/Group_ActualGroup.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/profiles/Group_ActualGroup.ts deleted file mode 100644 index 263802a7d..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/profiles/Group_ActualGroup.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 { 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 deleted file mode 100644 index 7a675e5a7..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/profiles/Group_GroupDefinition.ts +++ /dev/null @@ -1,86 +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"; - -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 deleted file mode 100644 index 0b6dba179..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/profiles/GuidanceResponse_CDSHooksGuidanceResponse.ts +++ /dev/null @@ -1,117 +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"; - -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 deleted file mode 100644 index b5ee85fdb..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/profiles/Library_CQLLibrary.ts +++ /dev/null @@ -1,305 +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 { 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 deleted file mode 100644 index 1bceda31d..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/profiles/Library_ELMLibrary.ts +++ /dev/null @@ -1,321 +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 { 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 deleted file mode 100644 index 7f464b165..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/profiles/Library_FHIRPathLibrary.ts +++ /dev/null @@ -1,305 +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 { 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 deleted file mode 100644 index 663b9b59b..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/profiles/Library_LogicLibrary.ts +++ /dev/null @@ -1,258 +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 { 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 deleted file mode 100644 index fb60af139..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/profiles/Library_ModelInfoLibrary.ts +++ /dev/null @@ -1,272 +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 { 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 deleted file mode 100644 index 56d8ea57d..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/profiles/Library_ModuleDefinitionLibrary.ts +++ /dev/null @@ -1,317 +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 { 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 deleted file mode 100644 index 79023b1c1..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/profiles/Library_PublishableLibrary.ts +++ /dev/null @@ -1,263 +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 { 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 deleted file mode 100644 index debf5b103..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/profiles/Library_ShareableLibrary.ts +++ /dev/null @@ -1,195 +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"; - -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/Measure_PublishableMeasure.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/profiles/Measure_PublishableMeasure.ts deleted file mode 100644 index 4ce11385c..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/profiles/Measure_PublishableMeasure.ts +++ /dev/null @@ -1,208 +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"; - -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 deleted file mode 100644 index 70dc3cba1..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/profiles/Measure_ShareableMeasure.ts +++ /dev/null @@ -1,195 +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"; - -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/NamingSystem_PublishableNamingSystem.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/profiles/NamingSystem_PublishableNamingSystem.ts deleted file mode 100644 index 7b18bae47..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/profiles/NamingSystem_PublishableNamingSystem.ts +++ /dev/null @@ -1,166 +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"; - -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 deleted file mode 100644 index 082aee455..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/profiles/NamingSystem_ShareableNamingSystem.ts +++ /dev/null @@ -1,154 +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"; - -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 deleted file mode 100644 index 23e0fb1b0..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/profiles/Observation_DeviceMetricObservationProfile.ts +++ /dev/null @@ -1,218 +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 { 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 deleted file mode 100644 index c79823342..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/profiles/Observation_ExampleLipidProfile.ts +++ /dev/null @@ -1,100 +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 { 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 deleted file mode 100644 index 21fbb2cf8..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/profiles/Observation_Observationbmi.ts +++ /dev/null @@ -1,186 +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 { 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 deleted file mode 100644 index d41d4325e..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/profiles/Observation_Observationbodyheight.ts +++ /dev/null @@ -1,185 +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 { 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 deleted file mode 100644 index aceab3683..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/profiles/Observation_Observationbodytemp.ts +++ /dev/null @@ -1,185 +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 { 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 deleted file mode 100644 index c69d24497..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/profiles/Observation_Observationbodyweight.ts +++ /dev/null @@ -1,185 +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 { 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 deleted file mode 100644 index b33a4a5ed..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/profiles/Observation_Observationbp.ts +++ /dev/null @@ -1,265 +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 { 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 deleted file mode 100644 index 20a57a4e5..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/profiles/Observation_Observationheadcircum.ts +++ /dev/null @@ -1,185 +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 { 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 deleted file mode 100644 index 62f6c0df2..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/profiles/Observation_Observationheartrate.ts +++ /dev/null @@ -1,185 +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 { 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 deleted file mode 100644 index 4e9415e1c..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/profiles/Observation_Observationoxygensat.ts +++ /dev/null @@ -1,185 +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 { 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 deleted file mode 100644 index 1572d3ac4..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/profiles/Observation_Observationresprate.ts +++ /dev/null @@ -1,185 +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 { 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 deleted file mode 100644 index c45d31b2c..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/profiles/Observation_Observationvitalsigns.ts +++ /dev/null @@ -1,175 +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 { 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 deleted file mode 100644 index bdc398197..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/profiles/Observation_Observationvitalspanel.ts +++ /dev/null @@ -1,188 +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 { 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/PlanDefinition_CDSHooksServicePlanDefinition.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/profiles/PlanDefinition_CDSHooksServicePlanDefinition.ts deleted file mode 100644 index 1fa511d90..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/profiles/PlanDefinition_CDSHooksServicePlanDefinition.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 { 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 deleted file mode 100644 index 080882d20..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/profiles/PlanDefinition_ComputablePlanDefinition.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 { 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 deleted file mode 100644 index 0fabf2249..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/profiles/PlanDefinition_PublishablePlanDefinition.ts +++ /dev/null @@ -1,208 +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"; - -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 deleted file mode 100644 index 3da440a8d..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/profiles/PlanDefinition_ShareablePlanDefinition.ts +++ /dev/null @@ -1,195 +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"; - -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/Provenance_ProvenanceRelevantHistory.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/profiles/Provenance_ProvenanceRelevantHistory.ts deleted file mode 100644 index de50296be..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/profiles/Provenance_ProvenanceRelevantHistory.ts +++ /dev/null @@ -1,148 +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"; -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/Quantity_MoneyQuantity.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/profiles/Quantity_MoneyQuantity.ts deleted file mode 100644 index 526ec5120..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/profiles/Quantity_MoneyQuantity.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 { 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 deleted file mode 100644 index 86a70e31f..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/profiles/Quantity_SimpleQuantity.ts +++ /dev/null @@ -1,45 +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 { 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 deleted file mode 100644 index 74199205c..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/profiles/RequestOrchestration_CDSHooksRequestOrchestration.ts +++ /dev/null @@ -1,90 +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"; - -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/TestScript_ShareableTestScript.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/profiles/TestScript_ShareableTestScript.ts deleted file mode 100644 index 90a995553..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/profiles/TestScript_ShareableTestScript.ts +++ /dev/null @@ -1,125 +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"; - -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/ValueSet_ComputableValueSet.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/profiles/ValueSet_ComputableValueSet.ts deleted file mode 100644 index ccaaa7692..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/profiles/ValueSet_ComputableValueSet.ts +++ /dev/null @@ -1,220 +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 { 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 deleted file mode 100644 index c1a7cb080..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/profiles/ValueSet_ExecutableValueSet.ts +++ /dev/null @@ -1,201 +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"; - -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 deleted file mode 100644 index 9b193af24..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/profiles/ValueSet_PublishableValueSet.ts +++ /dev/null @@ -1,288 +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"; - -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 deleted file mode 100644 index 2a00597e7..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/profiles/ValueSet_ShareableValueSet.ts +++ /dev/null @@ -1,171 +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"; - -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 deleted file mode 100644 index e7a7b62c8..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-r5-core/profiles/index.ts +++ /dev/null @@ -1,88 +0,0 @@ -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 deleted file mode 100644 index 993bd62e6..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-us-core/profiles/AllergyIntolerance_USCoreAllergyIntolerance.ts +++ /dev/null @@ -1,91 +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"; -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 deleted file mode 100644 index a23be5f2e..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-us-core/profiles/CarePlan_USCoreCarePlanProfile.ts +++ /dev/null @@ -1,148 +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"; -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 deleted file mode 100644 index 60a07f4bc..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-us-core/profiles/CareTeam_USCoreCareTeam.ts +++ /dev/null @@ -1,90 +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"; - -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 deleted file mode 100644 index 4723e6fc8..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-us-core/profiles/Condition_USCoreConditionEncounterDiagnosisProfile.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 { 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 deleted file mode 100644 index aee50a5db..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-us-core/profiles/Condition_USCoreConditionProblemsHealthConcernsProfile.ts +++ /dev/null @@ -1,214 +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 { 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/Coverage_USCoreCoverageProfile.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-us-core/profiles/Coverage_USCoreCoverageProfile.ts deleted file mode 100644 index 18aff4b42..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-us-core/profiles/Coverage_USCoreCoverageProfile.ts +++ /dev/null @@ -1,213 +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 { 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"; - -export interface USCoreCoverageProfile extends Coverage { - 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, 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 - } - - public setMemberid (input?: USCoreCoverageProfile_Identifier_MemberidSliceInput): this { - const match = {"type":{"coding":[{"system":"http://terminology.hl7.org/CodeSystem/v2-0203","code":"MB"}]}} 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 setGroup (input?: USCoreCoverageProfile_Class__GroupSliceInput): this { - const match = {"type":{"coding":[{"system":"http://terminology.hl7.org/CodeSystem/coverage-class","code":"group"}]}} as Record - const value = applySliceMatch((input ?? {}) as Record, match) as unknown as CoverageClass - const list = (this.resource["class"] ??= []) - const index = list.findIndex((item) => matchesSlice(item, match)) - if (index === -1) { - list.push(value) - } else { - list[index] = value - } - return this - } - - public setPlan (input?: USCoreCoverageProfile_Class__PlanSliceInput): this { - const match = {"type":{"coding":[{"system":"http://terminology.hl7.org/CodeSystem/coverage-class","code":"plan"}]}} as Record - const value = applySliceMatch((input ?? {}) as Record, match) as unknown as CoverageClass - const list = (this.resource["class"] ??= []) - const index = list.findIndex((item) => matchesSlice(item, match)) - if (index === -1) { - list.push(value) - } else { - list[index] = value - } - return this - } - - public getMemberid (): USCoreCoverageProfile_Identifier_MemberidSliceInput | undefined { - const match = {"type":{"coding":[{"system":"http://terminology.hl7.org/CodeSystem/v2-0203","code":"MB"}]}} 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, ["type"]) as USCoreCoverageProfile_Identifier_MemberidSliceInput - } - - public getMemberidRaw (): Identifier | undefined { - const match = {"type":{"coding":[{"system":"http://terminology.hl7.org/CodeSystem/v2-0203","code":"MB"}]}} as Record - const list = this.resource.identifier - if (!list) return undefined - const item = list.find((item) => matchesSlice(item, match)) - return item - } - - public getGroup (): USCoreCoverageProfile_Class__GroupSliceInput | undefined { - const match = {"type":{"coding":[{"system":"http://terminology.hl7.org/CodeSystem/coverage-class","code":"group"}]}} as Record - const list = this.resource["class"] - 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 USCoreCoverageProfile_Class__GroupSliceInput - } - - public getGroupRaw (): CoverageClass | undefined { - const match = {"type":{"coding":[{"system":"http://terminology.hl7.org/CodeSystem/coverage-class","code":"group"}]}} as Record - const list = this.resource["class"] - if (!list) return undefined - const item = list.find((item) => matchesSlice(item, match)) - return item - } - - public getPlan (): USCoreCoverageProfile_Class__PlanSliceInput | undefined { - const match = {"type":{"coding":[{"system":"http://terminology.hl7.org/CodeSystem/coverage-class","code":"plan"}]}} as Record - const list = this.resource["class"] - 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 USCoreCoverageProfile_Class__PlanSliceInput - } - - public getPlanRaw (): CoverageClass | undefined { - const match = {"type":{"coding":[{"system":"http://terminology.hl7.org/CodeSystem/coverage-class","code":"plan"}]}} as Record - const list = this.resource["class"] - 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 - 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 deleted file mode 100644 index f493fe905..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-us-core/profiles/Device_USCoreImplantableDeviceProfile.ts +++ /dev/null @@ -1,89 +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"; - -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 deleted file mode 100644 index 810c613ac..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-us-core/profiles/DiagnosticReport_USCoreDiagnosticReportProfileLaboratoryReporting.ts +++ /dev/null @@ -1,173 +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 { 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 deleted file mode 100644 index cb334d8d4..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-us-core/profiles/DiagnosticReport_USCoreDiagnosticReportProfileNoteExchange.ts +++ /dev/null @@ -1,137 +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 { 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 deleted file mode 100644 index 4f26d6cfc..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-us-core/profiles/DocumentReference_USCoreADIDocumentReferenceProfile.ts +++ /dev/null @@ -1,147 +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 { 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 deleted file mode 100644 index 023408e86..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-us-core/profiles/DocumentReference_USCoreDocumentReferenceProfile.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 { 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 deleted file mode 100644 index b9c61ee3b..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-us-core/profiles/Encounter_USCoreEncounterProfile.ts +++ /dev/null @@ -1,134 +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"; - -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 deleted file mode 100644 index f24a85a9b..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-us-core/profiles/Extension_USCDIRequirement.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-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 deleted file mode 100644 index f504ca717..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-us-core/profiles/Extension_USCoreAuthenticationTimeExtension.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-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 deleted file mode 100644 index cc3849e5d..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-us-core/profiles/Extension_USCoreBirthSexExtension.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-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 deleted file mode 100644 index 0c35cd649..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-us-core/profiles/Extension_USCoreDirectEmailExtension.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-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 deleted file mode 100644 index 88bfd4d39..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-us-core/profiles/Extension_USCoreEthnicityExtension.ts +++ /dev/null @@ -1,150 +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 { 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 deleted file mode 100644 index bc8938438..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-us-core/profiles/Extension_USCoreExtensionQuestionnaireUri.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-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 deleted file mode 100644 index 901335113..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-us-core/profiles/Extension_USCoreGenderIdentityExtension.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 { 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 deleted file mode 100644 index 7ad63effc..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-us-core/profiles/Extension_USCoreIndividualSexExtension.ts +++ /dev/null @@ -1,74 +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 { 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 deleted file mode 100644 index be80a961b..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-us-core/profiles/Extension_USCoreInterpreterNeededExtension.ts +++ /dev/null @@ -1,74 +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 { 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 deleted file mode 100644 index b8577991f..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-us-core/profiles/Extension_USCoreJurisdictionExtension.ts +++ /dev/null @@ -1,74 +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 { 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 deleted file mode 100644 index 7a895285e..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-us-core/profiles/Extension_USCoreMedicationAdherenceExtension.ts +++ /dev/null @@ -1,150 +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"; - -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 deleted file mode 100644 index f550de452..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-us-core/profiles/Extension_USCoreRaceExtension.ts +++ /dev/null @@ -1,150 +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 { 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 deleted file mode 100644 index ec63879b6..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-us-core/profiles/Extension_USCoreSexExtension.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-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 deleted file mode 100644 index 4604ca36e..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-us-core/profiles/Extension_USCoreTribalAffiliationExtension.ts +++ /dev/null @@ -1,126 +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"; - -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 deleted file mode 100644 index 8062d7607..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-us-core/profiles/Goal_USCoreGoalProfile.ts +++ /dev/null @@ -1,112 +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 { 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 deleted file mode 100644 index e481c43d9..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-us-core/profiles/Immunization_USCoreImmunizationProfile.ts +++ /dev/null @@ -1,116 +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 { 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 deleted file mode 100644 index cfa8d1fa6..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-us-core/profiles/Location_USCoreLocationProfile.ts +++ /dev/null @@ -1,75 +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"; - -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 deleted file mode 100644 index dd44cd057..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-us-core/profiles/MedicationDispense_USCoreMedicationDispenseProfile.ts +++ /dev/null @@ -1,112 +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 { 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 deleted file mode 100644 index 2dafd75ab..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-us-core/profiles/MedicationRequest_USCoreMedicationRequestProfile.ts +++ /dev/null @@ -1,173 +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"; -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 deleted file mode 100644 index f45532560..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-us-core/profiles/Medication_USCoreMedicationProfile.ts +++ /dev/null @@ -1,74 +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"; - -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 deleted file mode 100644 index 76eeca608..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-us-core/profiles/Observation_USCoreAverageBloodPressureProfile.ts +++ /dev/null @@ -1,253 +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 { 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 deleted file mode 100644 index 2d071c57e..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-us-core/profiles/Observation_USCoreBMIProfile.ts +++ /dev/null @@ -1,278 +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 { 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 index 208debee7..80bba2795 100644 --- 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 @@ -18,10 +18,10 @@ export interface USCoreBloodPressureProfile extends Observation { } export type USCoreBloodPressureProfile_Category_VSCatSliceInput = Omit; -export type USCoreBloodPressureProfile_Component_SystolicSliceInput = Omit; -export type USCoreBloodPressureProfile_Component_DiastolicSliceInput = Omit; +export type USCoreBloodPressureProfile_Component_SystolicSliceInput = Omit & Quantity; +export type USCoreBloodPressureProfile_Component_DiastolicSliceInput = Omit & Quantity; -import { applySliceMatch, matchesSlice, extractSliceSimplified, validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; +import { applySliceMatch, matchesSlice, extractSliceSimplified, wrapSliceChoice, flattenSliceChoice, validateRequired, validateExcluded, validateFixedValue, validateSliceCardinality, validateEnum, validateReference } from "../../profile-helpers"; export type USCoreBloodPressureProfileProfileParams = { status: ("registered" | "preliminary" | "final" | "amended" | "corrected" | "cancelled" | "entered-in-error" | "unknown"); @@ -257,7 +257,7 @@ export class USCoreBloodPressureProfileProfile { 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 value = applySliceMatch(wrapSliceChoice((input ?? {}) as Record, "valueQuantity"), match) as unknown as ObservationComponent const list = (this.resource.component ??= []) const index = list.findIndex((item) => matchesSlice(item, match)) if (index === -1) { @@ -270,7 +270,7 @@ export class USCoreBloodPressureProfileProfile { 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 value = applySliceMatch(wrapSliceChoice((input ?? {}) as Record, "valueQuantity"), match) as unknown as ObservationComponent const list = (this.resource.component ??= []) const index = list.findIndex((item) => matchesSlice(item, match)) if (index === -1) { @@ -304,7 +304,7 @@ export class USCoreBloodPressureProfileProfile { 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 + return flattenSliceChoice(item as unknown as Record, ["code"], "valueQuantity") as USCoreBloodPressureProfile_Component_SystolicSliceInput } public getSystolicRaw (): ObservationComponent | undefined { @@ -321,7 +321,7 @@ export class USCoreBloodPressureProfileProfile { 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 + return flattenSliceChoice(item as unknown as Record, ["code"], "valueQuantity") as USCoreBloodPressureProfile_Component_DiastolicSliceInput } public getDiastolicRaw (): ObservationComponent | undefined { 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 deleted file mode 100644 index 7f58c70ca..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-us-core/profiles/Observation_USCoreBodyHeightProfile.ts +++ /dev/null @@ -1,278 +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 { 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 deleted file mode 100644 index ba112f697..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-us-core/profiles/Observation_USCoreBodyTemperatureProfile.ts +++ /dev/null @@ -1,278 +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 { 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_USCoreCareExperiencePreferenceProfile.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-us-core/profiles/Observation_USCoreCareExperiencePreferenceProfile.ts deleted file mode 100644 index 0f1a0de67..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-us-core/profiles/Observation_USCoreCareExperiencePreferenceProfile.ts +++ /dev/null @@ -1,276 +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 { 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 deleted file mode 100644 index 13c87947c..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-us-core/profiles/Observation_USCoreHeadCircumferenceProfile.ts +++ /dev/null @@ -1,278 +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 { 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 deleted file mode 100644 index ac4f0bd76..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-us-core/profiles/Observation_USCoreHeartRateProfile.ts +++ /dev/null @@ -1,278 +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 { 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 deleted file mode 100644 index 923fdeadc..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-us-core/profiles/Observation_USCoreLaboratoryResultObservationProfile.ts +++ /dev/null @@ -1,258 +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 { 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 deleted file mode 100644 index defebff2b..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-us-core/profiles/Observation_USCoreObservationADIDocumentationProfile.ts +++ /dev/null @@ -1,161 +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"; - -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 deleted file mode 100644 index cae70e4ee..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-us-core/profiles/Observation_USCoreObservationClinicalResultProfile.ts +++ /dev/null @@ -1,257 +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 { 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 deleted file mode 100644 index 9d39891ae..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-us-core/profiles/Observation_USCoreObservationOccupationProfile.ts +++ /dev/null @@ -1,188 +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 { 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 deleted file mode 100644 index 1bb213a52..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-us-core/profiles/Observation_USCoreObservationPregnancyIntentProfile.ts +++ /dev/null @@ -1,155 +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"; - -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 deleted file mode 100644 index a2c84a11e..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-us-core/profiles/Observation_USCoreObservationPregnancyStatusProfile.ts +++ /dev/null @@ -1,155 +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"; - -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 deleted file mode 100644 index 60a16f682..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-us-core/profiles/Observation_USCoreObservationScreeningAssessmentProfile.ts +++ /dev/null @@ -1,294 +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 { 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 deleted file mode 100644 index c53ee6849..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-us-core/profiles/Observation_USCoreObservationSexualOrientationProfile.ts +++ /dev/null @@ -1,148 +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 { 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 deleted file mode 100644 index 719facf75..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-us-core/profiles/Observation_USCorePediatricBMIforAgeObservationProfile.ts +++ /dev/null @@ -1,278 +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 { 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 deleted file mode 100644 index 0d34c14f7..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-us-core/profiles/Observation_USCorePediatricHeadOccipitalFrontalCircumferencePercentileProfile.ts +++ /dev/null @@ -1,278 +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 { 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 deleted file mode 100644 index 0739afb5f..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-us-core/profiles/Observation_USCorePediatricWeightForHeightObservationProfile.ts +++ /dev/null @@ -1,278 +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 { 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 deleted file mode 100644 index 2b69cf731..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-us-core/profiles/Observation_USCorePulseOximetryProfile.ts +++ /dev/null @@ -1,343 +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 { 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 deleted file mode 100644 index 20347c9e1..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-us-core/profiles/Observation_USCoreRespiratoryRateProfile.ts +++ /dev/null @@ -1,278 +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 { 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 deleted file mode 100644 index f2ad88b1f..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-us-core/profiles/Observation_USCoreSimpleObservationProfile.ts +++ /dev/null @@ -1,257 +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 { 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 deleted file mode 100644 index 6fef12f7e..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-us-core/profiles/Observation_USCoreSmokingStatusProfile.ts +++ /dev/null @@ -1,192 +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 { 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 deleted file mode 100644 index 4a8623935..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-us-core/profiles/Observation_USCoreTreatmentInterventionPreferenceProfile.ts +++ /dev/null @@ -1,276 +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 { 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/Organization_USCoreOrganizationProfile.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-us-core/profiles/Organization_USCoreOrganizationProfile.ts deleted file mode 100644 index d095ce5d2..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-us-core/profiles/Organization_USCoreOrganizationProfile.ts +++ /dev/null @@ -1,181 +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 { Organization } from "../../hl7-fhir-r4-core/Organization"; - -export interface USCoreOrganizationProfile extends Organization { - active: boolean; - name: string; -} - -export type USCoreOrganizationProfile_Identifier_NPISliceInput = Omit; -export type USCoreOrganizationProfile_Identifier_CLIASliceInput = Omit; -export type USCoreOrganizationProfile_Identifier_NAICSliceInput = Omit; - -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 { - 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 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 ??= []) - const index = list.findIndex((item) => matchesSlice(item, match)) - if (index === -1) { - list.push(value) - } else { - list[index] = value - } - return 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 ??= []) - const index = list.findIndex((item) => matchesSlice(item, match)) - if (index === -1) { - list.push(value) - } else { - list[index] = value - } - return this - } - - 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 - const item = list.find((item) => matchesSlice(item, match)) - if (!item) return undefined - return extractSliceSimplified(item as unknown as Record, ["system"]) as USCoreOrganizationProfile_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 - } - - 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 - const item = list.find((item) => matchesSlice(item, match)) - if (!item) return undefined - return extractSliceSimplified(item as unknown as Record, ["system"]) as USCoreOrganizationProfile_Identifier_CLIASliceInput - } - - 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 - const item = list.find((item) => matchesSlice(item, match)) - return item - } - - 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 - const item = list.find((item) => matchesSlice(item, match)) - if (!item) return undefined - return extractSliceSimplified(item as unknown as Record, ["system"]) as USCoreOrganizationProfile_Identifier_NAICSliceInput - } - - 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 - 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, "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/PractitionerRole_USCorePractitionerRoleProfile.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-us-core/profiles/PractitionerRole_USCorePractitionerRoleProfile.ts deleted file mode 100644 index ba8fcedd6..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-us-core/profiles/PractitionerRole_USCorePractitionerRoleProfile.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 { 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 deleted file mode 100644 index 85e93ce89..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-us-core/profiles/Practitioner_USCorePractitionerProfile.ts +++ /dev/null @@ -1,120 +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"; - -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 deleted file mode 100644 index 45bddb494..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-us-core/profiles/Procedure_USCoreProcedureProfile.ts +++ /dev/null @@ -1,152 +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 { 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/Provenance_USCoreProvenance.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-us-core/profiles/Provenance_USCoreProvenance.ts deleted file mode 100644 index 3585c365f..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-us-core/profiles/Provenance_USCoreProvenance.ts +++ /dev/null @@ -1,155 +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"; -import type { ProvenanceAgent } from "../../hl7-fhir-r4-core/Provenance"; -import type { Reference } from "../../hl7-fhir-r4-core/Reference"; - -export type USCoreProvenance_Agent_ProvenanceAuthorSliceInput = Omit; -export type USCoreProvenance_Agent_ProvenanceTransmitterSliceInput = Omit; - -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 - 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 setProvenanceTransmitter (input?: USCoreProvenance_Agent_ProvenanceTransmitterSliceInput): this { - const match = {"type":{"coding":[{"system":"http://hl7.org/fhir/us/core/CodeSystem/us-core-provenance-participant-type","code":"transmitter"}]}} 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 getProvenanceAuthor (): USCoreProvenance_Agent_ProvenanceAuthorSliceInput | undefined { - const match = {"type":{"coding":[{"system":"http://terminology.hl7.org/CodeSystem/provenance-participant-type","code":"author"}]}} 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 USCoreProvenance_Agent_ProvenanceAuthorSliceInput - } - - public getProvenanceAuthorRaw (): ProvenanceAgent | undefined { - const match = {"type":{"coding":[{"system":"http://terminology.hl7.org/CodeSystem/provenance-participant-type","code":"author"}]}} as Record - const list = this.resource.agent - if (!list) return undefined - const item = list.find((item) => matchesSlice(item, match)) - return item - } - - public getProvenanceTransmitter (): USCoreProvenance_Agent_ProvenanceTransmitterSliceInput | undefined { - const match = {"type":{"coding":[{"system":"http://hl7.org/fhir/us/core/CodeSystem/us-core-provenance-participant-type","code":"transmitter"}]}} 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 USCoreProvenance_Agent_ProvenanceTransmitterSliceInput - } - - public getProvenanceTransmitterRaw (): ProvenanceAgent | undefined { - const match = {"type":{"coding":[{"system":"http://hl7.org/fhir/us/core/CodeSystem/us-core-provenance-participant-type","code":"transmitter"}]}} 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", "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/QuestionnaireResponse_USCoreQuestionnaireResponseProfile.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-us-core/profiles/QuestionnaireResponse_USCoreQuestionnaireResponseProfile.ts deleted file mode 100644 index c1f440f39..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-us-core/profiles/QuestionnaireResponse_USCoreQuestionnaireResponseProfile.ts +++ /dev/null @@ -1,269 +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-r4-core/Attachment"; -import type { CodeableConcept } from "../../hl7-fhir-r4-core/CodeableConcept"; -import type { Extension } from "../../hl7-fhir-r4-core/Extension"; -import type { QuestionnaireResponse } from "../../hl7-fhir-r4-core/QuestionnaireResponse"; -import type { Reference } from "../../hl7-fhir-r4-core/Reference"; -import type { Signature } from "../../hl7-fhir-r4-core/Signature"; - -export interface USCoreQuestionnaireResponseProfile extends QuestionnaireResponse { - questionnaire: string; - subject: Reference<"Resource" /* 'Resource' | "Patient" */ >; - authored: string; -} - -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 } 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 } 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 } 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 } 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 } 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 } 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 } 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 } 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 as Record | undefined)?.valueSignature as Signature | undefined - } - - public getSignatureExtension (): Extension | undefined { - const ext = this.resource.extension?.find(e => e.url === "http://hl7.org/fhir/StructureDefinition/questionnaireresponse-signature") - return ext - } - - public getCompletionMode (): CodeableConcept | undefined { - const ext = this.resource.extension?.find(e => e.url === "http://hl7.org/fhir/StructureDefinition/questionnaireresponse-completionMode") - return (ext as Record | undefined)?.valueCodeableConcept as CodeableConcept | undefined - } - - public getCompletionModeExtension (): Extension | undefined { - const ext = this.resource.extension?.find(e => e.url === "http://hl7.org/fhir/StructureDefinition/questionnaireresponse-completionMode") - return ext - } - - 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 as Record | undefined)?.valueString as string | undefined - } - - public getQuestionnaireDisplayExtension (): Extension | 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 - } - - 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 as Record | undefined)?.valueAttachment as Attachment | undefined - } - - public getItemMediaExtension (): 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/uv/sdc/StructureDefinition/sdc-questionnaire-itemMedia") - return ext - } - - 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 as Record | undefined)?.valueSignature as Signature | undefined - } - - public getItemSignatureExtension (): 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/questionnaireresponse-signature") - return ext - } - - 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 as Record | undefined)?.valueAttachment as Attachment | undefined - } - - public getItemAnswerMediaExtension (): Extension | 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 - } - - 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 as Record | undefined)?.valueDecimal as number | undefined - } - - public getOrdinalValueExtension (): Extension | 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 - } - - 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 as Record | undefined)?.valueUri as string | undefined - } - - public getUrlExtension (): Extension | 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 - } - - 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 deleted file mode 100644 index b4c1ca015..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-us-core/profiles/RelatedPerson_USCoreRelatedPersonProfile.ts +++ /dev/null @@ -1,87 +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 { 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 deleted file mode 100644 index aada4af6c..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-us-core/profiles/ServiceRequest_USCoreServiceRequestProfile.ts +++ /dev/null @@ -1,146 +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 { 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 deleted file mode 100644 index 9799880a5..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-us-core/profiles/Specimen_USCoreSpecimenProfile.ts +++ /dev/null @@ -1,75 +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"; - -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/index.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-us-core/profiles/index.ts index 347e0fbe5..cfacf70dc 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,105 +1,6 @@ -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 deleted file mode 100644 index 09303f508..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/index.ts +++ /dev/null @@ -1 +0,0 @@ -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 deleted file mode 100644 index 60b398fe8..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_AEAlternativeUserID.ts +++ /dev/null @@ -1,74 +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 { 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 deleted file mode 100644 index ee33d3e1f..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_AELifecycle.ts +++ /dev/null @@ -1,74 +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 { 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 deleted file mode 100644 index 01ede56b0..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_AEOnBehalfOf.ts +++ /dev/null @@ -1,74 +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 { 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 deleted file mode 100644 index a71630267..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_Abatement.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 { 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 deleted file mode 100644 index 695a8fb1a..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_AdditionalIdentifier.ts +++ /dev/null @@ -1,74 +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 { 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 deleted file mode 100644 index 54c083359..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_AdheresTo.ts +++ /dev/null @@ -1,87 +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 { 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 deleted file mode 100644 index 2478f867e..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_AlternateCanonical.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-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 deleted file mode 100644 index b2c02326b..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_AlternateCodes.ts +++ /dev/null @@ -1,74 +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 { 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 deleted file mode 100644 index abe056534..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_AlternateReference.ts +++ /dev/null @@ -1,74 +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 { 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 deleted file mode 100644 index e3a3b04ee..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_AlternativeExpression.ts +++ /dev/null @@ -1,74 +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 { 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 deleted file mode 100644 index abec0cbc8..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_AnnotationType.ts +++ /dev/null @@ -1,74 +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 { 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 deleted file mode 100644 index c561622af..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_ArtifactApprovalDate.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-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 deleted file mode 100644 index 8b5aa74ce..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_ArtifactAssessmentContent.ts +++ /dev/null @@ -1,214 +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 { 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 deleted file mode 100644 index d87a7bb3a..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_ArtifactAssessmentDisposition.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-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 deleted file mode 100644 index 1d078595c..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_ArtifactAssessmentWorkflowStatus.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-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 deleted file mode 100644 index c3dd47c7d..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_ArtifactAuthor.ts +++ /dev/null @@ -1,74 +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 { 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 deleted file mode 100644 index 706104fd3..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_ArtifactCanonicalReference.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-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 deleted file mode 100644 index 8162d5c8f..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_ArtifactCiteAs.ts +++ /dev/null @@ -1,75 +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 { 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 deleted file mode 100644 index 8673c7f8f..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_ArtifactComment.ts +++ /dev/null @@ -1,167 +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 { 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 deleted file mode 100644 index fb2bd24cd..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_ArtifactContact.ts +++ /dev/null @@ -1,74 +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 { 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 deleted file mode 100644 index e894981dc..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_ArtifactCopyright.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-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 deleted file mode 100644 index a43591870..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_ArtifactCopyrightLabel.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-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 deleted file mode 100644 index 6edb879d9..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_ArtifactDate.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-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 deleted file mode 100644 index 61d9ce893..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_ArtifactDescription.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-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 deleted file mode 100644 index eec3ee71f..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_ArtifactEditor.ts +++ /dev/null @@ -1,74 +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 { 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 deleted file mode 100644 index 42b25ee13..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_ArtifactEffectivePeriod.ts +++ /dev/null @@ -1,74 +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 { 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 deleted file mode 100644 index 187567245..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_ArtifactEndorser.ts +++ /dev/null @@ -1,74 +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 { 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 deleted file mode 100644 index e52731e89..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_ArtifactExperimental.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-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 deleted file mode 100644 index 37e338d49..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_ArtifactIdentifier.ts +++ /dev/null @@ -1,74 +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 { 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 deleted file mode 100644 index 17f298523..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_ArtifactIsOwned.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-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 deleted file mode 100644 index badb725b9..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_ArtifactJurisdiction.ts +++ /dev/null @@ -1,74 +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 { 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 deleted file mode 100644 index d5cf177ea..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_ArtifactLastReviewDate.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-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 deleted file mode 100644 index cd6404b6f..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_ArtifactName.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-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 deleted file mode 100644 index 2b14ce3f9..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_ArtifactPublisher.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-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 deleted file mode 100644 index 42c4bdd93..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_ArtifactPurpose.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-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 deleted file mode 100644 index 3169bbe3e..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_ArtifactReference.ts +++ /dev/null @@ -1,87 +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 { 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 deleted file mode 100644 index 84b5daa63..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_ArtifactRelatedArtifact.ts +++ /dev/null @@ -1,74 +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 { 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 deleted file mode 100644 index e7fcaf45e..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_ArtifactReleaseDescription.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-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 deleted file mode 100644 index 1537cfcda..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_ArtifactReleaseLabel.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-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 deleted file mode 100644 index 2259370f7..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_ArtifactReviewer.ts +++ /dev/null @@ -1,74 +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 { 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 deleted file mode 100644 index b427f875e..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_ArtifactStatus.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-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 deleted file mode 100644 index 89f9f5cc8..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_ArtifactTitle.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-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 deleted file mode 100644 index 954ba1710..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_ArtifactTopic.ts +++ /dev/null @@ -1,74 +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 { 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 deleted file mode 100644 index d2b26db2f..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_ArtifactUriReference.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-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 deleted file mode 100644 index ddb1509d6..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_ArtifactUrl.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-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 deleted file mode 100644 index c68c75694..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_ArtifactUsage.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-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 deleted file mode 100644 index 73311eee9..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_ArtifactUseContext.ts +++ /dev/null @@ -1,74 +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 { 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 deleted file mode 100644 index 1e13d36b6..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_ArtifactVersion.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-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 deleted file mode 100644 index 5b134fa1f..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_ArtifactVersionAlgorithm.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 { 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 deleted file mode 100644 index 337828271..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_ArtifactVersionPolicy.ts +++ /dev/null @@ -1,74 +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 { 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 deleted file mode 100644 index 2ca202b36..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_BDPCollectionProcedure.ts +++ /dev/null @@ -1,74 +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 { 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 deleted file mode 100644 index e0b0add9c..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_BDPManipulation.ts +++ /dev/null @@ -1,105 +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 { 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 deleted file mode 100644 index 85a5f73ad..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_BDPProcessing.ts +++ /dev/null @@ -1,122 +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 { 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 deleted file mode 100644 index ad264671e..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_BusinessEvent.ts +++ /dev/null @@ -1,104 +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 { 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 deleted file mode 100644 index 4df03a294..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_CQFCQLOptions.ts +++ /dev/null @@ -1,74 +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 { 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 deleted file mode 100644 index 68713fd95..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_CQFCertainty.ts +++ /dev/null @@ -1,138 +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 { 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 deleted file mode 100644 index 472d3468d..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_CQFImprovementNotationGuidance.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-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 deleted file mode 100644 index 91b55bda6..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_CQFKnowledgeCapability.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-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 deleted file mode 100644 index a072e933e..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_CRPublishDate.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-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 deleted file mode 100644 index 56eafa447..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_CRShortDescription.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-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 deleted file mode 100644 index 151f97e77..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_CSAuthoritativeSource.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-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 deleted file mode 100644 index 798bbd9b3..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_CSDeclaredProfile.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-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 deleted file mode 100644 index 7e5f0df01..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_CSPropertiesMode.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-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 deleted file mode 100644 index c61b13fee..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_CSPropertyValueSet.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-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 deleted file mode 100644 index a81906a3a..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_CSSearchMode.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-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 deleted file mode 100644 index 11a0efada..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_CSSearchParameterUse.ts +++ /dev/null @@ -1,119 +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 { 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 deleted file mode 100644 index 11f181098..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_CSUseMarkdown.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-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 deleted file mode 100644 index 19aa2efef..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_CTAlias.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-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 deleted file mode 100644 index 7d33a6e70..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_CharacteristicExpression.ts +++ /dev/null @@ -1,74 +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 { 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 deleted file mode 100644 index 730ae73ed..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_CitationSocietyAffiliation.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-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 deleted file mode 100644 index 4038800ea..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_CodeOptions.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-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 deleted file mode 100644 index d5f69dc00..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_CodedString.ts +++ /dev/null @@ -1,74 +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 { 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 deleted file mode 100644 index 5f52e8da7..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_CodingConformance.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-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 deleted file mode 100644 index 61564041f..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_CodingPurpose.ts +++ /dev/null @@ -1,74 +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 { 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 deleted file mode 100644 index 49d003c98..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_CompliesWith.ts +++ /dev/null @@ -1,87 +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 { 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 deleted file mode 100644 index d13b0cae0..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_Conceptmap.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-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 deleted file mode 100644 index 7ec31cb00..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_ConditionDiseaseCourse.ts +++ /dev/null @@ -1,74 +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 { 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 deleted file mode 100644 index ad9cb846e..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_ConditionReviewed.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-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 deleted file mode 100644 index 11358c050..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_Conditions.ts +++ /dev/null @@ -1,86 +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 { 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 deleted file mode 100644 index 3bd3c8430..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_Confidential.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 { 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 deleted file mode 100644 index e402cfd56..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_ConsentResearchStudyContext.ts +++ /dev/null @@ -1,74 +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 { 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 deleted file mode 100644 index e80a3be76..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_ContactAddress.ts +++ /dev/null @@ -1,74 +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 { 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 deleted file mode 100644 index 6e5f1a3c8..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_ContactDetailReference.ts +++ /dev/null @@ -1,74 +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 { 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 deleted file mode 100644 index f1c4f87d0..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_ContactPointComment.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-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 deleted file mode 100644 index fed54a50c..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_ContactPointPurpose.ts +++ /dev/null @@ -1,74 +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 { 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 deleted file mode 100644 index 4295f7e13..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_ContactReference.ts +++ /dev/null @@ -1,74 +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 { 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 deleted file mode 100644 index c6b8540b5..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_ContributionTime.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-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 deleted file mode 100644 index 2a783c48e..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_CountQuantity.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 { 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 deleted file mode 100644 index fdff693ed..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_CqlAccessModifier.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-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 deleted file mode 100644 index b1432313a..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_CqlType.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-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 deleted file mode 100644 index 5d55805d0..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_CriteriaReferenceExtension.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-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 deleted file mode 100644 index cdec5df76..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_DRFocus.ts +++ /dev/null @@ -1,74 +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 { 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 deleted file mode 100644 index 8ba1d5fc5..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_DRSourcePatient.ts +++ /dev/null @@ -1,74 +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 { 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 deleted file mode 100644 index 9949ea45e..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_DRThumbnail.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-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 deleted file mode 100644 index 27bac187f..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_DRWorkflowStatus.ts +++ /dev/null @@ -1,104 +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 { 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 deleted file mode 100644 index e0629efb6..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_Datatype.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-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 deleted file mode 100644 index a3cfe2f5a..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_DefaultType.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-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 deleted file mode 100644 index a9aed984b..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_DefaultValue.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 { 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 deleted file mode 100644 index 59371ab24..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_DefinitionTerm.ts +++ /dev/null @@ -1,103 +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 { 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 deleted file mode 100644 index 93ec70673..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_DevCommercialBrand.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-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 deleted file mode 100644 index f584ab570..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_DeviceLastMaintenanceTime.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-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 deleted file mode 100644 index a14c4bee9..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_DeviceMaintenanceResponsibility.ts +++ /dev/null @@ -1,89 +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 { 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 deleted file mode 100644 index f54f2a8ea..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_DirectReferenceCode.ts +++ /dev/null @@ -1,74 +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 { 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 deleted file mode 100644 index 038071573..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_DosageMinimumGapBetweenDose.ts +++ /dev/null @@ -1,86 +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 { 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 deleted file mode 100644 index 024dba87c..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_EncounterSubjectLocationClassification.ts +++ /dev/null @@ -1,74 +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 { 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 deleted file mode 100644 index 94d304363..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_EndpointFhirVersion.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-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 deleted file mode 100644 index b2ea329ae..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_EventRecorded.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-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 deleted file mode 100644 index 96803e54b..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_ExpansionParameters.ts +++ /dev/null @@ -1,74 +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 { 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 deleted file mode 100644 index 7d3ba41d2..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_FHIRQueryPattern.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-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 deleted file mode 100644 index 8135a0f2f..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_FMMSupportDoco.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-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 deleted file mode 100644 index de1417953..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_FeatureAsssertion.ts +++ /dev/null @@ -1,74 +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 { 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 deleted file mode 100644 index 0765bd869..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_FirstCreated.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-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 deleted file mode 100644 index 02ab567c5..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_FollowOnOf.ts +++ /dev/null @@ -1,74 +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 { 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 deleted file mode 100644 index 3f150e116..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_GeneratedFrom.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-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 deleted file mode 100644 index 5e809c223..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_GraphConstraint.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-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 deleted file mode 100644 index 1514059da..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_IDCheckDigit.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-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 deleted file mode 100644 index dbb44b9cf..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_IGSourceFile.ts +++ /dev/null @@ -1,120 +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 { 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 deleted file mode 100644 index 0edbde63f..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_InputParameters.ts +++ /dev/null @@ -1,74 +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 { 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 deleted file mode 100644 index ec8ad3283..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_IsEmptyList.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-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 deleted file mode 100644 index 49d66a18a..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_IsEmptyTuple.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-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 deleted file mode 100644 index 227729d1c..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_IsPrefetchToken.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-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 deleted file mode 100644 index 4b307b919..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_IsPrimaryCitation.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-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 deleted file mode 100644 index 1d4bd54c5..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_IsSelective.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-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 deleted file mode 100644 index f180b24a2..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_ItemWeight.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-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 deleted file mode 100644 index 9d0eb22dd..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_KnowledgeRepresentationLevel.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-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 deleted file mode 100644 index 23b76ce29..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_LargeValue.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-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 deleted file mode 100644 index ee25714e2..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_LastSourceSync.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-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 deleted file mode 100644 index 2ac963461..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_ListCategory.ts +++ /dev/null @@ -1,74 +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 { 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 deleted file mode 100644 index c3d403b64..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_ListFor.ts +++ /dev/null @@ -1,74 +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 { 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 deleted file mode 100644 index f1bde0ce9..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_LocCommunication.ts +++ /dev/null @@ -1,74 +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 { 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 deleted file mode 100644 index 83449695b..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_LogicDefinition.ts +++ /dev/null @@ -1,151 +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 { 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 deleted file mode 100644 index eb88e8cf4..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_MeasureReportCategory.ts +++ /dev/null @@ -1,74 +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 { 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 deleted file mode 100644 index 1c6e9e0a2..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_MeasureReportPopulationDescription.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-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 deleted file mode 100644 index a11a863c2..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_MedManufacturingBatch.ts +++ /dev/null @@ -1,181 +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 { 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 deleted file mode 100644 index 021520d6d..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_MedQuantityRemaining.ts +++ /dev/null @@ -1,74 +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 { 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 deleted file mode 100644 index 623c86527..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_MedRefillsRemaining.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-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 deleted file mode 100644 index fe6814e30..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_Messages.ts +++ /dev/null @@ -1,74 +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 { 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 deleted file mode 100644 index c675a3d3c..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_ModelInfoIsIncluded.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-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 deleted file mode 100644 index 39b8e57bc..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_ModelInfoIsRetrievable.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-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 deleted file mode 100644 index a9968e632..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_ModelInfoLabel.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-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 deleted file mode 100644 index 1146fa481..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_ModelInfoPrimaryCodePath.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-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 deleted file mode 100644 index bc99be622..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_ModelInfoSettings.ts +++ /dev/null @@ -1,74 +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 { 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 deleted file mode 100644 index d63757617..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_NSCheckDigit.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-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 deleted file mode 100644 index 737cb8164..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_NotDoneValueSet.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-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 deleted file mode 100644 index 89fa80ffc..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_Note.ts +++ /dev/null @@ -1,74 +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 { 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 deleted file mode 100644 index 92ae1eae4..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_OOIssueCol.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-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 deleted file mode 100644 index a7de6b362..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_OOIssueLine.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-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 deleted file mode 100644 index d3af0adf1..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_OOIssueMessageId.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-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 deleted file mode 100644 index 6124e26a8..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_OOIssueServer.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-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 deleted file mode 100644 index 0d11495af..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_OOIssueSliceText.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-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 deleted file mode 100644 index 8ceee5de2..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_OOSourceFile.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-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 deleted file mode 100644 index 1266b9afb..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_Obligation.ts +++ /dev/null @@ -1,201 +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 { 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 deleted file mode 100644 index e4b83e11a..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_ObligationsProfile.ts +++ /dev/null @@ -1,103 +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 { 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 deleted file mode 100644 index 41b2d16cd..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_ObsAnalysisDateTime.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-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 deleted file mode 100644 index d0fc8c706..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_ObsComponentCategory.ts +++ /dev/null @@ -1,74 +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 { 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 deleted file mode 100644 index ffecd12ed..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_ObsNatureAbnormal.ts +++ /dev/null @@ -1,74 +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 { 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 deleted file mode 100644 index ddd0362ba..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_ObsV2SubId.ts +++ /dev/null @@ -1,120 +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 { 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 deleted file mode 100644 index 790ca84e3..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_ObservationStructureType.ts +++ /dev/null @@ -1,74 +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 { 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 deleted file mode 100644 index 3791975e7..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_OfficialAddress.ts +++ /dev/null @@ -1,75 +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 { 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 deleted file mode 100644 index f32522198..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_OrganizationBrand.ts +++ /dev/null @@ -1,121 +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 { 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 deleted file mode 100644 index 1fa0bdeff..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_OrganizationPortal.ts +++ /dev/null @@ -1,185 +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 { 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 deleted file mode 100644 index e4c8abb81..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_PGenderIdentity.ts +++ /dev/null @@ -1,121 +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 { 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 deleted file mode 100644 index 6bdb41e7d..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_PREmploymentStatus.ts +++ /dev/null @@ -1,74 +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 { 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 deleted file mode 100644 index 2b3b2d16a..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_PRJobTitle.ts +++ /dev/null @@ -1,74 +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 { 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 deleted file mode 100644 index 2838b5195..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_PackageSource.ts +++ /dev/null @@ -1,119 +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 { 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 deleted file mode 100644 index 782e465bb..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_ParameterDefinition.ts +++ /dev/null @@ -1,74 +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 { 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 deleted file mode 100644 index 168a1cacd..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_ParametersDefinition.ts +++ /dev/null @@ -1,74 +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 { 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 deleted file mode 100644 index 271ea4378..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_PartOf.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-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 deleted file mode 100644 index 8b7305a20..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_PatBornStatus.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-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 deleted file mode 100644 index 9966da349..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_PatContactPriority.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-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 deleted file mode 100644 index 7957288df..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_PatFetalStatus.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-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 deleted file mode 100644 index c37c0d3a0..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_PatMultipleBirthTotal.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-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 deleted file mode 100644 index 4946c5c38..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_PatNoFixedAddress.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-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 deleted file mode 100644 index 18c217ec1..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_PatSexParameterForClinicalUse.ts +++ /dev/null @@ -1,137 +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 { 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 deleted file mode 100644 index 52caac80c..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_PatientKnownNonDuplicate.ts +++ /dev/null @@ -1,74 +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 { 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 deleted file mode 100644 index 9d4abd2cf..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_PatientPreferredPharmacy.ts +++ /dev/null @@ -1,105 +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 { 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 deleted file mode 100644 index edd98307c..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_PatientUnknownIdentity.ts +++ /dev/null @@ -1,74 +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 { 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 deleted file mode 100644 index 44c7f7f3d..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_Pattern.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-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 deleted file mode 100644 index c317f6486..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_PeriodDuration.ts +++ /dev/null @@ -1,74 +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 { 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 deleted file mode 100644 index 8e3a68719..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_PreferredTerminologyServer.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-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 deleted file mode 100644 index fdb6deb10..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_Pronouns.ts +++ /dev/null @@ -1,121 +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 { 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 deleted file mode 100644 index 4c8a701d5..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_PublicationDate.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-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 deleted file mode 100644 index 4c84e0b2f..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_PublicationStatus.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-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 deleted file mode 100644 index 4af09771e..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_QDefinitionBased.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-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 deleted file mode 100644 index 7ed414564..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_QOptionRestriction.ts +++ /dev/null @@ -1,104 +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 { 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 deleted file mode 100644 index a825d2a91..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_QRAttester.ts +++ /dev/null @@ -1,120 +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 { 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 deleted file mode 100644 index 00043e39b..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_QuantityTranslation.ts +++ /dev/null @@ -1,74 +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 { 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 deleted file mode 100644 index 166f2251b..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_QuestionnaireDerivationType.ts +++ /dev/null @@ -1,74 +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 { 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 deleted file mode 100644 index 705df3669..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_RSSiteRecruitment.ts +++ /dev/null @@ -1,104 +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 { 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 deleted file mode 100644 index a67cd2b6a..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_RSStudyRegistration.ts +++ /dev/null @@ -1,121 +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 { 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 deleted file mode 100644 index 8e154c485..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_RecordedSexOrGender.ts +++ /dev/null @@ -1,233 +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 { 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 deleted file mode 100644 index 734541069..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_ReferencesContained.ts +++ /dev/null @@ -1,74 +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 { 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 deleted file mode 100644 index 739a0c04f..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_ReleaseDate.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-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 deleted file mode 100644 index b956c9cf8..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_RequirementsParent.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-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 deleted file mode 100644 index 605723bd2..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_ResolveAsVersionSpecific.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-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 deleted file mode 100644 index 8e2b7662c..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_ResourceDerivationReference.ts +++ /dev/null @@ -1,121 +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 { 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 deleted file mode 100644 index 51b2c383f..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_ResourceInstanceDescription.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-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 deleted file mode 100644 index d55d99b2a..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_ResourceInstanceName.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-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 deleted file mode 100644 index 10f93fc69..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_ResourceSatisfiesRequirement.ts +++ /dev/null @@ -1,103 +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 { 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 deleted file mode 100644 index 421673e6d..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_ResourceType.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-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 deleted file mode 100644 index 539ce1f22..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_SDExtensionMeaning.ts +++ /dev/null @@ -1,74 +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 { 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 deleted file mode 100644 index b0ed3ea35..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_SDImposeProfile.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-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 deleted file mode 100644 index 0679a3e84..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_SDInheritanceControl.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-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 deleted file mode 100644 index f484ba677..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_SDInterface.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-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 deleted file mode 100644 index 326887bb0..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_SDStandardsStatusReason.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-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 deleted file mode 100644 index 2327f998a..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_SDStatusDerivation.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-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 deleted file mode 100644 index ce8290569..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_SDTypeCharacteristics.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-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 deleted file mode 100644 index 68525947a..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_SDcompliesWithProfile.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-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 deleted file mode 100644 index 92bb7d091..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_SROrderCallbackPhoneNumber.ts +++ /dev/null @@ -1,74 +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 { 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 deleted file mode 100644 index 0ebc6319f..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_Scope.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-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 deleted file mode 100644 index 7025ab42b..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_SelectByMap.ts +++ /dev/null @@ -1,103 +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 { 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 deleted file mode 100644 index a68c479e5..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_ShallComplyWith.ts +++ /dev/null @@ -1,87 +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 { 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 deleted file mode 100644 index a1362899b..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_ShouldTraceDependency.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-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 deleted file mode 100644 index 7669a9494..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_SpecimenRejectReason.ts +++ /dev/null @@ -1,74 +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 { 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 deleted file mode 100644 index 30df133ff..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_StatisticModelIncludeIf.ts +++ /dev/null @@ -1,89 +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 { 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 deleted file mode 100644 index 6f4a59612..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_SubscriptionBestEffort.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-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 deleted file mode 100644 index f422680c3..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_SupportedCqlVersion.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-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 deleted file mode 100644 index 84f914272..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_Suppress.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-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 deleted file mode 100644 index 792408455..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_TargetConstraint.ts +++ /dev/null @@ -1,168 +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 { 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 deleted file mode 100644 index f77f034fa..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_TargetElement.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-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 deleted file mode 100644 index db73ddc84..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_TargetInvariant.ts +++ /dev/null @@ -1,136 +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 { 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 deleted file mode 100644 index f9204826a..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_TargetPath.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-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 deleted file mode 100644 index 632d130f0..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_TestArtifact.ts +++ /dev/null @@ -1,77 +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 { 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 deleted file mode 100644 index 379361e3f..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_TimezoneCode.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-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 deleted file mode 100644 index 52cc1879c..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_TriggeredBy.ts +++ /dev/null @@ -1,87 +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 { 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 deleted file mode 100644 index c5c99c7c2..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_TxResourceIdentifierMetadata.ts +++ /dev/null @@ -1,104 +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 { 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 deleted file mode 100644 index 8af53d2ba..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_TypeMustSupport.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-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 deleted file mode 100644 index e19ee04f1..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_UncertainDate.ts +++ /dev/null @@ -1,74 +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 { 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 deleted file mode 100644 index 0ed1d8ca7..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_UncertainPeriod.ts +++ /dev/null @@ -1,74 +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 { 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 deleted file mode 100644 index 6932b471a..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_VSComposeCreatedBy.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-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 deleted file mode 100644 index fb3ff3efb..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_VSComposeCreationDate.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-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 deleted file mode 100644 index 7efd4c8ed..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_VSIncludeVSTitle.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-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 deleted file mode 100644 index c56d7e4e9..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_VSOtherTitle.ts +++ /dev/null @@ -1,119 +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 { 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 deleted file mode 100644 index ba69e5196..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_ValueFilter.ts +++ /dev/null @@ -1,120 +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 { 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 deleted file mode 100644 index 02db64ea5..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_VersionSpecificUse.ts +++ /dev/null @@ -1,88 +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 { 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 deleted file mode 100644 index aed9ebe6c..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_VersionSpecificValue.ts +++ /dev/null @@ -1,119 +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 { 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 deleted file mode 100644 index 29d647e5f..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/Extension_WorkflowStatusDescription.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-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 deleted file mode 100644 index d6105bc10..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions-r4/profiles/index.ts +++ /dev/null @@ -1,237 +0,0 @@ -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 deleted file mode 100644 index 09303f508..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/index.ts +++ /dev/null @@ -1 +0,0 @@ -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 deleted file mode 100644 index 941a98bc9..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_ADUse.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 { 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 deleted file mode 100644 index 478cfce6c..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_ADXPAdditionalLocator.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 { 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 deleted file mode 100644 index 2d5027dc0..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_ADXPBuildingNumberSuffix.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 { 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 deleted file mode 100644 index 3c61ed517..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_ADXPCareOf.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 { 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 deleted file mode 100644 index 6816a8397..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_ADXPCensusTract.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 { 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 deleted file mode 100644 index 1202d06d5..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_ADXPDelimiter.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 { 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 deleted file mode 100644 index 667476afa..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_ADXPDeliveryAddressLine.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 { 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 deleted file mode 100644 index bf3baf3ca..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_ADXPDeliveryInstallationArea.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 { 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 deleted file mode 100644 index ed44286fd..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_ADXPDeliveryInstallationQualifier.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 { 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 deleted file mode 100644 index 7bbaefcc3..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_ADXPDeliveryInstallationType.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 { 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 deleted file mode 100644 index b24536f60..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_ADXPDeliveryMode.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 { 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 deleted file mode 100644 index 96c918162..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_ADXPDeliveryModeIdentifier.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 { 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 deleted file mode 100644 index 36c8dedeb..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_ADXPDirection.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 { 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 deleted file mode 100644 index 16d4c4f8a..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_ADXPHouseNumber.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 { 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 deleted file mode 100644 index 59eda690f..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_ADXPHouseNumberNumeric.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 { 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 deleted file mode 100644 index 8a423f8cf..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_ADXPPostBox.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 { 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 deleted file mode 100644 index 62053b759..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_ADXPPrecinct.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 { 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 deleted file mode 100644 index 8f0f8ea68..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_ADXPStreetAddressLine.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 { 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 deleted file mode 100644 index 5dafc8de4..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_ADXPStreetName.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 { 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 deleted file mode 100644 index bc161b750..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_ADXPStreetNameBase.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 { 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 deleted file mode 100644 index e1adbf9b6..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_ADXPStreetNameType.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 { 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 deleted file mode 100644 index 2b30a57c3..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_ADXPUnitID.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 { 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 deleted file mode 100644 index c66a8cfb3..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_ADXPUnitType.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 { 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 deleted file mode 100644 index c7a1825e5..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_AEAccession.ts +++ /dev/null @@ -1,74 +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 { 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 deleted file mode 100644 index e84bfb1ec..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_AEAlternativeUserID.ts +++ /dev/null @@ -1,74 +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 { 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 deleted file mode 100644 index e4f1a2d0a..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_AEAnonymized.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 { 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 deleted file mode 100644 index d7ebd3810..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_AEEncrypted.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 { 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 deleted file mode 100644 index 160786bb0..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_AEInstance.ts +++ /dev/null @@ -1,74 +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 { 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 deleted file mode 100644 index 2e1e2cc58..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_AELifecycle.ts +++ /dev/null @@ -1,74 +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 { 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 deleted file mode 100644 index 026cce4f8..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_AEMPPS.ts +++ /dev/null @@ -1,74 +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 { 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 deleted file mode 100644 index 017f1aa36..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_AENumberOfInstances.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 { 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 deleted file mode 100644 index c3b9690ba..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_AEOnBehalfOf.ts +++ /dev/null @@ -1,74 +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 { 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 deleted file mode 100644 index 4eee82453..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_AEParticipantObjectContainsStudy.ts +++ /dev/null @@ -1,74 +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 { 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 deleted file mode 100644 index 833384e69..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_AESOPClass.ts +++ /dev/null @@ -1,74 +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 { 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 deleted file mode 100644 index 68eed0284..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_AIAdministration.ts +++ /dev/null @@ -1,74 +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 { 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 deleted file mode 100644 index cc45a9726..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_AIAssertedDate.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 { 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 deleted file mode 100644 index 82f07a16c..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_AICareplan.ts +++ /dev/null @@ -1,74 +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 { 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 deleted file mode 100644 index 0d1885a22..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_AICertainty.ts +++ /dev/null @@ -1,74 +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 { 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 deleted file mode 100644 index 5443db02a..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_AIDuration.ts +++ /dev/null @@ -1,74 +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 { 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 deleted file mode 100644 index 6f6716cb1..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_AIExposureDate.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 { 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 deleted file mode 100644 index e400e3ed6..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_AIExposureDescription.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 { 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 deleted file mode 100644 index e0c5646ad..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_AIExposureDuration.ts +++ /dev/null @@ -1,74 +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 { 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 deleted file mode 100644 index 370498607..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_AILocation.ts +++ /dev/null @@ -1,74 +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 { 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 deleted file mode 100644 index fabd2b358..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_AIManagement.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 { 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 deleted file mode 100644 index 9240fc1e5..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_AIReasonRefuted.ts +++ /dev/null @@ -1,74 +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 { 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 deleted file mode 100644 index 3179a117b..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_AIResolutionAge.ts +++ /dev/null @@ -1,74 +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 { 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 deleted file mode 100644 index b38a2588e..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_AISubstanceExposureRisk.ts +++ /dev/null @@ -1,104 +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 { 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 deleted file mode 100644 index 031c7061d..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_Abatement.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 { 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 deleted file mode 100644 index 6019cc6a5..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_AdditionalIdentifier.ts +++ /dev/null @@ -1,74 +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 { 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 deleted file mode 100644 index d47221da4..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_AdheresTo.ts +++ /dev/null @@ -1,87 +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 { 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 deleted file mode 100644 index e0eba9b13..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_AllowedUnits.ts +++ /dev/null @@ -1,78 +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 { 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 deleted file mode 100644 index a71997fa1..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_AlternateCanonical.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 { 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 deleted file mode 100644 index 24c29631d..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_AlternateCodes.ts +++ /dev/null @@ -1,74 +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 { 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 deleted file mode 100644 index eaa6eaa7c..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_AlternateReference.ts +++ /dev/null @@ -1,74 +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 { 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 deleted file mode 100644 index 3d1bb2115..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_AlternativeExpression.ts +++ /dev/null @@ -1,74 +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 { 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 deleted file mode 100644 index d5f103a1b..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_AnnotationType.ts +++ /dev/null @@ -1,74 +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 { 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 deleted file mode 100644 index 0742e8464..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_ArtifactApprovalDate.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 { 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 deleted file mode 100644 index 5fad32c6f..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_ArtifactAssessmentContent.ts +++ /dev/null @@ -1,214 +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 { 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 deleted file mode 100644 index dd7e80b2c..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_ArtifactAssessmentDisposition.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 { 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 deleted file mode 100644 index 9c0462e3b..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_ArtifactAssessmentWorkflowStatus.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 { 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 deleted file mode 100644 index b74fc8068..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_ArtifactAuthor.ts +++ /dev/null @@ -1,74 +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 { 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 deleted file mode 100644 index bb7fbecde..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_ArtifactCanonicalReference.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 { 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 deleted file mode 100644 index e22985e80..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_ArtifactCiteAs.ts +++ /dev/null @@ -1,75 +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 { 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 deleted file mode 100644 index fc78af743..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_ArtifactComment.ts +++ /dev/null @@ -1,167 +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 { 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 deleted file mode 100644 index 5e9bd2734..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_ArtifactContact.ts +++ /dev/null @@ -1,74 +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 { 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 deleted file mode 100644 index 3de7520c1..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_ArtifactCopyright.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 { 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 deleted file mode 100644 index 265008bc5..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_ArtifactCopyrightLabel.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 { 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 deleted file mode 100644 index 603a605cb..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_ArtifactDate.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 { 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 deleted file mode 100644 index 6dfb05347..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_ArtifactDescription.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 { 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 deleted file mode 100644 index 2d5d2d6ab..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_ArtifactEditor.ts +++ /dev/null @@ -1,74 +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 { 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 deleted file mode 100644 index eed388d43..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_ArtifactEffectivePeriod.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 { 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 deleted file mode 100644 index 566dfcaf5..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_ArtifactEndorser.ts +++ /dev/null @@ -1,74 +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 { 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 deleted file mode 100644 index 98f62f50c..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_ArtifactExperimental.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 { 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 deleted file mode 100644 index e6ce4ab8c..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_ArtifactIdentifier.ts +++ /dev/null @@ -1,74 +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 { 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 deleted file mode 100644 index a4799f24b..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_ArtifactIsOwned.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 { 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 deleted file mode 100644 index 3f62c3cb8..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_ArtifactJurisdiction.ts +++ /dev/null @@ -1,74 +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 { 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 deleted file mode 100644 index a13ca02d3..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_ArtifactLastReviewDate.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 { 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 deleted file mode 100644 index 68aabcfa3..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_ArtifactName.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 { 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 deleted file mode 100644 index bb2bbcadb..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_ArtifactPublisher.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 { 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 deleted file mode 100644 index ee73bc97f..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_ArtifactPurpose.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 { 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 deleted file mode 100644 index a498e8b35..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_ArtifactReference.ts +++ /dev/null @@ -1,84 +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 { 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 deleted file mode 100644 index dda6acc68..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_ArtifactRelatedArtifact.ts +++ /dev/null @@ -1,74 +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 { 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 deleted file mode 100644 index 0d8df116b..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_ArtifactReleaseDescription.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 { 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 deleted file mode 100644 index 84784e439..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_ArtifactReleaseLabel.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 { 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 deleted file mode 100644 index bf052fa34..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_ArtifactReviewer.ts +++ /dev/null @@ -1,74 +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 { 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 deleted file mode 100644 index 52c5f7b22..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_ArtifactStatus.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 { 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 deleted file mode 100644 index 248369351..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_ArtifactTitle.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 { 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 deleted file mode 100644 index a85da9285..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_ArtifactTopic.ts +++ /dev/null @@ -1,74 +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 { 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 deleted file mode 100644 index ba3d662f0..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_ArtifactUrl.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 { 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 deleted file mode 100644 index b292f49bf..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_ArtifactUsage.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 { 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 deleted file mode 100644 index 5bb250f68..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_ArtifactUseContext.ts +++ /dev/null @@ -1,74 +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 { 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 deleted file mode 100644 index 8b924ef51..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_ArtifactVersion.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 { 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 deleted file mode 100644 index bd324fd50..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_ArtifactVersionAlgorithm.ts +++ /dev/null @@ -1,78 +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 { 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 deleted file mode 100644 index aa50ca64e..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_ArtifactVersionPolicy.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 { 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 deleted file mode 100644 index 8bcd1c27f..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_AssemblyOrder.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 { 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 deleted file mode 100644 index a5d84503a..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_BDPCollectionProcedure.ts +++ /dev/null @@ -1,74 +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 { 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 deleted file mode 100644 index 59e3b05c1..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_BDPManipulation.ts +++ /dev/null @@ -1,105 +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 { 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 deleted file mode 100644 index 5386a1d45..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_BDPProcessing.ts +++ /dev/null @@ -1,122 +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 { 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 deleted file mode 100644 index ef76f72d2..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_BasedOn.ts +++ /dev/null @@ -1,74 +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 { 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 deleted file mode 100644 index f851a1868..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_BestPractice.ts +++ /dev/null @@ -1,78 +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 { 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 deleted file mode 100644 index 4c15ed736..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_BestPracticeExplanation.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 { 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 deleted file mode 100644 index d58a1904e..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_BindingName.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 { 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 deleted file mode 100644 index 384278507..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_BodyStructureReference.ts +++ /dev/null @@ -1,74 +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 { 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 deleted file mode 100644 index d7bc41e25..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_BundleHttpResponseHeader.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 { 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 deleted file mode 100644 index 8d3e3c66f..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_BundleLocationDistance.ts +++ /dev/null @@ -1,74 +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 { 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 deleted file mode 100644 index 432465384..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_BundleMatchGrade.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 { 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 deleted file mode 100644 index 741feba9b..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_CDVersionNumber.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 { 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 deleted file mode 100644 index 15ae9b78b..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_CMBidirectional.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 { 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 deleted file mode 100644 index 8a0afcc8a..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_CMedia.ts +++ /dev/null @@ -1,74 +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 { 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 deleted file mode 100644 index db3c231e3..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_CPActivityTitle.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 { 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 deleted file mode 100644 index 2e3432050..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_CQFCQLOptions.ts +++ /dev/null @@ -1,74 +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 { 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 deleted file mode 100644 index 887467b79..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_CQFCertainty.ts +++ /dev/null @@ -1,138 +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 { 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 deleted file mode 100644 index 2fd61187e..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_CQFCitation.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 { 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 deleted file mode 100644 index 3bd19c532..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_CQFExpression.ts +++ /dev/null @@ -1,74 +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 { 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 deleted file mode 100644 index a68d6de51..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_CQFKnowledgeCapability.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 { 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 deleted file mode 100644 index af669a3b2..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_CQFLibrary.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 { 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 deleted file mode 100644 index 6bc3675a4..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_CRInitiatingLocation.ts +++ /dev/null @@ -1,74 +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 { 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 deleted file mode 100644 index 5e435d021..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_CRPublishDate.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 { 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 deleted file mode 100644 index 692ad2657..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_CRShortDescription.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 { 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 deleted file mode 100644 index b6ec3fa8e..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_CSAlternate.ts +++ /dev/null @@ -1,104 +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 { 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 deleted file mode 100644 index dedc03812..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_CSAuthoritativeSource.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 { 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 deleted file mode 100644 index 5ccabc14b..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_CSConceptComments.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 { 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 deleted file mode 100644 index 624da85f4..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_CSConceptOrder.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 { 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 deleted file mode 100644 index 67b7b21a9..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_CSDeclaredProfile.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 { 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 deleted file mode 100644 index e912f3050..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_CSExpectation.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 { 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 deleted file mode 100644 index f6a2d171c..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_CSHistory.ts +++ /dev/null @@ -1,82 +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 { 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 deleted file mode 100644 index 83893de51..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_CSKeyWord.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 { 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 deleted file mode 100644 index 54296d22b..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_CSLabel.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 { 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 deleted file mode 100644 index 37846c162..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_CSMap.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 { 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 deleted file mode 100644 index 22acf6a28..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_CSOtherName.ts +++ /dev/null @@ -1,103 +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 { 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 deleted file mode 100644 index 64c9bf943..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_CSProhibited.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 { 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 deleted file mode 100644 index 483ba66a2..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_CSPropertiesMode.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 { 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 deleted file mode 100644 index cbb2e0fc7..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_CSReplacedby.ts +++ /dev/null @@ -1,74 +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 { 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 deleted file mode 100644 index 4e8453f46..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_CSSearchMode.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 { 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 deleted file mode 100644 index 0fc7b3697..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_CSSearchParameterCombination.ts +++ /dev/null @@ -1,88 +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 { 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 deleted file mode 100644 index d6954a262..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_CSSearchParameterUse.ts +++ /dev/null @@ -1,119 +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 { 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 deleted file mode 100644 index 878499518..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_CSSourceReference.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 { 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 deleted file mode 100644 index 5ae4e6b87..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_CSSupportedSystem.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 { 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 deleted file mode 100644 index 74958e387..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_CSTrustedExpansion.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 { 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 deleted file mode 100644 index 5ef2ee97c..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_CSUsage.ts +++ /dev/null @@ -1,103 +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 { 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 deleted file mode 100644 index 68cbac188..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_CSUseMarkdown.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 { 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 deleted file mode 100644 index 03f56fa3d..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_CSWarning.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 { 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 deleted file mode 100644 index e7ab89f22..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_CSWebsocket.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 { 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 deleted file mode 100644 index 70b683393..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_CSWorkflowStatus.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 { 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 deleted file mode 100644 index 508bdb3eb..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_CSectionSubject.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 { 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 deleted file mode 100644 index 0e928a037..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_CTAlias.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 { 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 deleted file mode 100644 index f9c2fec38..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_CValidityPeriod.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 { 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 deleted file mode 100644 index 9c2c89e58..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_CalculatedValue.ts +++ /dev/null @@ -1,74 +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 { 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 deleted file mode 100644 index 378a97b30..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_Capabilities.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 { 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 deleted file mode 100644 index 70c6f044b..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_CdsHooksEndpoint.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 { 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 deleted file mode 100644 index 1f4e57a7e..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_CharacteristicExpression.ts +++ /dev/null @@ -1,74 +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 { 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 deleted file mode 100644 index 02af39281..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_CitationSocietyAffiliation.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 { 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 deleted file mode 100644 index 53b25067e..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_CodedString.ts +++ /dev/null @@ -1,74 +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 { 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 deleted file mode 100644 index a9023169a..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_CodingConformance.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 { 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 deleted file mode 100644 index 31ed0bec1..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_CodingPurpose.ts +++ /dev/null @@ -1,74 +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 { 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 deleted file mode 100644 index d6ddc0f96..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_CompliesWith.ts +++ /dev/null @@ -1,87 +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 { 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 deleted file mode 100644 index aecf9e8dc..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_Conceptmap.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 { 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 deleted file mode 100644 index 0d217baca..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_ConditionAssertedDate.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 { 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 deleted file mode 100644 index 408814e15..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_ConditionDiseaseCourse.ts +++ /dev/null @@ -1,74 +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 { 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 deleted file mode 100644 index 9b8b0f7ed..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_ConditionDueTo.ts +++ /dev/null @@ -1,79 +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 { 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 deleted file mode 100644 index 7f10c0c3d..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_ConditionOccurredFollowing.ts +++ /dev/null @@ -1,79 +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 { 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 deleted file mode 100644 index 4dbeea786..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_ConditionOutcome.ts +++ /dev/null @@ -1,74 +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 { 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 deleted file mode 100644 index 4d99fc464..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_ConditionRelated.ts +++ /dev/null @@ -1,74 +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 { 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 deleted file mode 100644 index 65c2f77fe..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_ConditionReviewed.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 { 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 deleted file mode 100644 index 28bf05f15..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_ConditionRuledOut.ts +++ /dev/null @@ -1,74 +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 { 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 deleted file mode 100644 index eb5e2307a..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_Conditions.ts +++ /dev/null @@ -1,86 +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 { 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 deleted file mode 100644 index 28c2d7407..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_Confidential.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 { 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 deleted file mode 100644 index 68b39014a..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_ConsentLocation.ts +++ /dev/null @@ -1,74 +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 { 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 deleted file mode 100644 index 8cae03e89..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_ConsentNotificationEndpoint.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 { 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 deleted file mode 100644 index efc4a726f..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_ConsentResearchStudyContext.ts +++ /dev/null @@ -1,74 +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 { 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 deleted file mode 100644 index db247455b..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_ConsentTranscriber.ts +++ /dev/null @@ -1,74 +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 { 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 deleted file mode 100644 index bc8faf219..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_ConsentWitness.ts +++ /dev/null @@ -1,74 +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 { 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 deleted file mode 100644 index 0d892e752..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_ContactAddress.ts +++ /dev/null @@ -1,74 +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 { 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 deleted file mode 100644 index 7c8991ccb..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_ContactDetailReference.ts +++ /dev/null @@ -1,74 +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 { 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 deleted file mode 100644 index c68d4a49b..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_ContactPointArea.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 { 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 deleted file mode 100644 index 3caa7575e..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_ContactPointComment.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 { 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 deleted file mode 100644 index 67a140758..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_ContactPointCountry.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 { 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 deleted file mode 100644 index 8b7a6590c..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_ContactPointExtension.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 { 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 deleted file mode 100644 index a82bc2f74..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_ContactPointLocal.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 { 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 deleted file mode 100644 index 39b54d5a9..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_ContactPointPurpose.ts +++ /dev/null @@ -1,74 +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 { 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 deleted file mode 100644 index 26bab3d16..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_ContactReference.ts +++ /dev/null @@ -1,74 +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 { 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 deleted file mode 100644 index 4150e6290..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_ContributionTime.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 { 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 deleted file mode 100644 index 6355020f7..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_DRAddendumOf.ts +++ /dev/null @@ -1,74 +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 { 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 deleted file mode 100644 index bf7045430..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_DRExtends.ts +++ /dev/null @@ -1,74 +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 { 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 deleted file mode 100644 index 1cd506d13..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_DRFocus.ts +++ /dev/null @@ -1,74 +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 { 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 deleted file mode 100644 index f902d55a6..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_DRLocationPerformed.ts +++ /dev/null @@ -1,74 +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 { 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 deleted file mode 100644 index 63ca056ae..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_DRPatientInstruction.ts +++ /dev/null @@ -1,103 +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 { 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 deleted file mode 100644 index 73b2cbb56..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_DRReplaces.ts +++ /dev/null @@ -1,74 +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 { 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 deleted file mode 100644 index 8e4a44137..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_DRRisk.ts +++ /dev/null @@ -1,74 +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 { 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 deleted file mode 100644 index 7d5a2b00b..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_DRSourcePatient.ts +++ /dev/null @@ -1,74 +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 { 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 deleted file mode 100644 index 2ef969d7b..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_DRSummaryOf.ts +++ /dev/null @@ -1,74 +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 { 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 deleted file mode 100644 index 4ae43cb73..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_DRThumbnail.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 { 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 deleted file mode 100644 index 89092e41c..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_DRWorkflowStatus.ts +++ /dev/null @@ -1,104 +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 { 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 deleted file mode 100644 index d846693bd..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_DataAbsentReason.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 { 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 deleted file mode 100644 index 21176b6a6..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_Datatype.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 { 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 deleted file mode 100644 index 4f15f4cad..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_DaysOfCycle.ts +++ /dev/null @@ -1,87 +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 { 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 deleted file mode 100644 index 78057d665..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_DefaultType.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 { 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 deleted file mode 100644 index e0e8ec8ab..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_DefaultValue.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 { 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 deleted file mode 100644 index 72b7ff153..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_DefinitionTerm.ts +++ /dev/null @@ -1,103 +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 { 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 deleted file mode 100644 index c44b6533a..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_DesignNote.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 { 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 deleted file mode 100644 index 8d7752bc5..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_DevCommercialBrand.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 { 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 deleted file mode 100644 index 0413b7b0e..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_DevImplantStatus.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 { 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 deleted file mode 100644 index efe636b02..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_DeviceLastMaintenanceTime.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 { 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 deleted file mode 100644 index d1ba7d3d3..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_DeviceMaintenanceResponsibility.ts +++ /dev/null @@ -1,89 +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 { 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 deleted file mode 100644 index 66cca2bfa..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_DirectReferenceCode.ts +++ /dev/null @@ -1,74 +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 { 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 deleted file mode 100644 index 257c32f31..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_DisplayName.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 { 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 deleted file mode 100644 index 364ef8b45..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_DoNotPerform.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 { 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 deleted file mode 100644 index f685c6cd7..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_DosageMinimumGapBetweenDose.ts +++ /dev/null @@ -1,86 +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 { 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 deleted file mode 100644 index 536b4bfd7..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_ENQualifier.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 { 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 deleted file mode 100644 index ad62da004..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_ENRepresentation.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 { 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 deleted file mode 100644 index 63387ae72..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_ENUse.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 { 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 deleted file mode 100644 index 86c018b50..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_EncAssociatedEncounter.ts +++ /dev/null @@ -1,74 +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 { 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 deleted file mode 100644 index bd2879228..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_EncModeOfArrival.ts +++ /dev/null @@ -1,74 +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 { 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 deleted file mode 100644 index 2346278e9..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_EncReasonCancelled.ts +++ /dev/null @@ -1,74 +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 { 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 deleted file mode 100644 index e12735c9b..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_EncounterClass.ts +++ /dev/null @@ -1,74 +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 { 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 deleted file mode 100644 index b1b3a432b..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_EncounterType.ts +++ /dev/null @@ -1,74 +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 { 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 deleted file mode 100644 index 4e33087bf..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_EndpointFhirVersion.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 { 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 deleted file mode 100644 index fb406b25e..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_EntryFormat.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 { 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 deleted file mode 100644 index 943dd0fe5..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_EpisodeOfCare.ts +++ /dev/null @@ -1,74 +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 { 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 deleted file mode 100644 index ecc6733bb..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_Equivalence.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 { 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 deleted file mode 100644 index 3fe498062..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_EventHistory.ts +++ /dev/null @@ -1,74 +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 { 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 deleted file mode 100644 index 390ed03cd..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_EventLocation.ts +++ /dev/null @@ -1,74 +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 { 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 deleted file mode 100644 index b30926ffb..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_EventStatusReason.ts +++ /dev/null @@ -1,74 +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 { 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 deleted file mode 100644 index 17edd7e7e..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_ExpansionParameters.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 { 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 deleted file mode 100644 index f3aad48e8..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_ExtendedContactAvailability.ts +++ /dev/null @@ -1,74 +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 { 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 deleted file mode 100644 index be810df89..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_FHIRQueryPattern.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 { 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 deleted file mode 100644 index 43848959a..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_FMHAbatement.ts +++ /dev/null @@ -1,87 +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 { 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 deleted file mode 100644 index bb717df1f..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_FMHObservation.ts +++ /dev/null @@ -1,74 +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 { 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 deleted file mode 100644 index a590a5bdd..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_FMHParent.ts +++ /dev/null @@ -1,105 +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 { 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 deleted file mode 100644 index 09512af09..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_FMHPatientRecord.ts +++ /dev/null @@ -1,74 +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 { 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 deleted file mode 100644 index 16df5371d..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_FMHSeverity.ts +++ /dev/null @@ -1,74 +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 { 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 deleted file mode 100644 index 9e5a21e33..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_FMHSibling.ts +++ /dev/null @@ -1,105 +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 { 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 deleted file mode 100644 index c451d9df9..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_FMHType.ts +++ /dev/null @@ -1,74 +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 { 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 deleted file mode 100644 index a6fd2f9b2..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_FMMLevel.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 { 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 deleted file mode 100644 index f1aef468f..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_FMMSupportDoco.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 { 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 deleted file mode 100644 index be2b777e0..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_FathersFamily.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 { 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 deleted file mode 100644 index 4ffd573c4..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_FirstCreated.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 { 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 deleted file mode 100644 index 06d27ebfc..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_FlagDetail.ts +++ /dev/null @@ -1,74 +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 { 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 deleted file mode 100644 index 863be1afc..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_FlagPriority.ts +++ /dev/null @@ -1,74 +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 { 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 deleted file mode 100644 index 30a19832d..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_FollowOnOf.ts +++ /dev/null @@ -1,74 +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 { 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 deleted file mode 100644 index b84fae5d4..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_GeneratedFrom.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 { 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 deleted file mode 100644 index de43ecb75..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_Geolocation.ts +++ /dev/null @@ -1,103 +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 { 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 deleted file mode 100644 index fec42bcb9..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_GoalAcceptance.ts +++ /dev/null @@ -1,121 +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 { 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 deleted file mode 100644 index af21e7ece..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_GoalReasonRejected.ts +++ /dev/null @@ -1,74 +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 { 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 deleted file mode 100644 index 914aae5f8..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_GoalRelationship.ts +++ /dev/null @@ -1,105 +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 { 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 deleted file mode 100644 index ac7b2cbe1..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_GraphConstraint.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 { 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 deleted file mode 100644 index dec0a0a3e..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_HumanLanguage.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 { 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 deleted file mode 100644 index ba8db464e..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_IDCheckDigit.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 { 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 deleted file mode 100644 index 29460392d..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_IGSourceFile.ts +++ /dev/null @@ -1,120 +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 { 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 deleted file mode 100644 index 90e8d7afd..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_Identifier.ts +++ /dev/null @@ -1,74 +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 { 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 deleted file mode 100644 index 15388420f..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_ImmProcedure.ts +++ /dev/null @@ -1,74 +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 { 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 deleted file mode 100644 index 148c2f383..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_InheritedExtensibleValueSet.ts +++ /dev/null @@ -1,77 +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 { 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 deleted file mode 100644 index d65183955..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_InitialValue.ts +++ /dev/null @@ -1,74 +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 { 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 deleted file mode 100644 index bcd2927d3..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_InitiatingOrganization.ts +++ /dev/null @@ -1,74 +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 { 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 deleted file mode 100644 index 02c60f887..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_InitiatingPerson.ts +++ /dev/null @@ -1,74 +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 { 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 deleted file mode 100644 index 70ecd316e..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_InputParameters.ts +++ /dev/null @@ -1,74 +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 { 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 deleted file mode 100644 index 6bcbcdba7..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_IsCommonBinding.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 { 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 deleted file mode 100644 index 62e57f808..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_IsPrefetchToken.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 { 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 deleted file mode 100644 index b50ac10a2..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_IsPrimaryCitation.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 { 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 deleted file mode 100644 index 5dcfeaf2f..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_IsSelective.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 { 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 deleted file mode 100644 index 3deba91f0..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_ItemWeight.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 { 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 deleted file mode 100644 index 062bb59d1..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_KnowledgeRepresentationLevel.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 { 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 deleted file mode 100644 index 9a8a6cb18..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_LargeValue.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 { 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 deleted file mode 100644 index 7e7a1fb5e..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_LastSourceSync.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 { 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 deleted file mode 100644 index 66d68cc86..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_ListCategory.ts +++ /dev/null @@ -1,74 +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 { 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 deleted file mode 100644 index d8d5a307e..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_ListChangeBase.ts +++ /dev/null @@ -1,74 +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 { 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 deleted file mode 100644 index 7a0977148..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_ListFor.ts +++ /dev/null @@ -1,74 +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 { 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 deleted file mode 100644 index 3c8360e98..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_LocBoundaryGeojson.ts +++ /dev/null @@ -1,74 +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 { 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 deleted file mode 100644 index 3d8d1dccb..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_LocCommunication.ts +++ /dev/null @@ -1,74 +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 { 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 deleted file mode 100644 index 581cc4703..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_LogicDefinition.ts +++ /dev/null @@ -1,151 +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 { 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 deleted file mode 100644 index 4bbd2f374..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_Markdown.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 { 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 deleted file mode 100644 index e37f4c6a6..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_MaxDecimalPlaces.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 { 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 deleted file mode 100644 index 30f5043f3..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_MaxSize.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 { 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 deleted file mode 100644 index 561475e07..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_MaxValue.ts +++ /dev/null @@ -1,114 +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 { 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 deleted file mode 100644 index 489447340..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_MaxValueSet.ts +++ /dev/null @@ -1,77 +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 { 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 deleted file mode 100644 index 72312c4bb..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_MeasureInfo.ts +++ /dev/null @@ -1,104 +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 { 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 deleted file mode 100644 index 18ddb4894..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_MedManufacturingBatch.ts +++ /dev/null @@ -1,181 +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 { 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 deleted file mode 100644 index 4f0fe8952..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_MedQuantityRemaining.ts +++ /dev/null @@ -1,74 +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 { 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 deleted file mode 100644 index 4f56a8d92..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_MedRefillsRemaining.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 { 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 deleted file mode 100644 index 5cde9d668..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_Messages.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 { 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 deleted file mode 100644 index 92215a280..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_MimeType.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 { 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 deleted file mode 100644 index 070ba6c11..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_MinLength.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 { 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 deleted file mode 100644 index 659074564..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_MinValue.ts +++ /dev/null @@ -1,114 +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 { 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 deleted file mode 100644 index 3c0fc24dc..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_MinValueSet.ts +++ /dev/null @@ -1,77 +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 { 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 deleted file mode 100644 index 156cc816a..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_ModelInfoIsIncluded.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 { 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 deleted file mode 100644 index 1496e0c2f..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_ModelInfoIsRetrievable.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 { 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 deleted file mode 100644 index 8b2f38900..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_ModelInfoLabel.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 { 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 deleted file mode 100644 index c1adb32ab..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_ModelInfoPrimaryCodePath.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 { 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 deleted file mode 100644 index a3d3473db..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_ModelInfoSettings.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 { 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 deleted file mode 100644 index 5f8ddadfd..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_MothersFamily.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 { 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 deleted file mode 100644 index 141e88e72..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_MsgResponseRequest.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 { 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 deleted file mode 100644 index 6ccb5be6f..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_NSCheckDigit.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 { 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 deleted file mode 100644 index 99841984c..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_NarrativeLink.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 { 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 deleted file mode 100644 index da4abd8c2..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_NotDoneValueSet.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 { 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 deleted file mode 100644 index 4c0fb47a7..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_NttAdaptiveFeedingDevice.ts +++ /dev/null @@ -1,74 +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 { 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 deleted file mode 100644 index 4aba5ab22..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_NullFlavor.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 { 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 deleted file mode 100644 index 7021ba1e0..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_OAuthUris.ts +++ /dev/null @@ -1,135 +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 { 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 deleted file mode 100644 index 06056c473..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_ODProfile.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 { 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 deleted file mode 100644 index 91961307d..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_OOAuthority.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 { 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 deleted file mode 100644 index d63cf57af..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_OODetectedIssue.ts +++ /dev/null @@ -1,74 +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 { 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 deleted file mode 100644 index 89c96e531..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_OOIssueCol.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 { 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 deleted file mode 100644 index 8ad4099aa..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_OOIssueLine.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 { 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 deleted file mode 100644 index 8cad03432..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_OOIssueMessageId.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 { 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 deleted file mode 100644 index 4c0883476..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_OOIssueServer.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 { 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 deleted file mode 100644 index 36e787404..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_OOIssueSliceText.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 { 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 deleted file mode 100644 index e5d4ab293..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_OOIssueSource.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 { 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 deleted file mode 100644 index 167387ef4..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_OOSourceFile.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 { 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 deleted file mode 100644 index c8811e386..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_ObjectClass.ts +++ /dev/null @@ -1,74 +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 { 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 deleted file mode 100644 index 89768b746..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_ObjectClassProperty.ts +++ /dev/null @@ -1,74 +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 { 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 deleted file mode 100644 index 344bad1e7..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_Obligation.ts +++ /dev/null @@ -1,200 +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 { 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 deleted file mode 100644 index cc0e500b4..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_ObsAnalysisDateTime.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 { 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 deleted file mode 100644 index 8b38f3a85..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_ObsBodyPosition.ts +++ /dev/null @@ -1,74 +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 { 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 deleted file mode 100644 index a2ccb76e7..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_ObsDelta.ts +++ /dev/null @@ -1,74 +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 { 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 deleted file mode 100644 index fc1373edf..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_ObsDeviceCode.ts +++ /dev/null @@ -1,74 +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 { 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 deleted file mode 100644 index d4408645e..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_ObsFocusCode.ts +++ /dev/null @@ -1,74 +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 { 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 deleted file mode 100644 index 6dccaff76..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_ObsGatewayDevice.ts +++ /dev/null @@ -1,74 +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 { 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 deleted file mode 100644 index 4b0c7f2ea..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_ObsNatureAbnormal.ts +++ /dev/null @@ -1,74 +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 { 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 deleted file mode 100644 index dcf224d53..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_ObsPrecondition.ts +++ /dev/null @@ -1,74 +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 { 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 deleted file mode 100644 index de20d0b44..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_ObsReagent.ts +++ /dev/null @@ -1,74 +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 { 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 deleted file mode 100644 index a50a2c402..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_ObsReplaces.ts +++ /dev/null @@ -1,74 +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 { 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 deleted file mode 100644 index 95e31a6d5..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_ObsSecondaryFinding.ts +++ /dev/null @@ -1,74 +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 { 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 deleted file mode 100644 index 2b562cabf..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_ObsSequelTo.ts +++ /dev/null @@ -1,74 +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 { 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 deleted file mode 100644 index d1ce45d51..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_ObsSpecimenCode.ts +++ /dev/null @@ -1,74 +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 { 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 deleted file mode 100644 index 16274cc4e..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_ObsTimeOffset.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 { 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 deleted file mode 100644 index 0f3533034..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_ObsV2SubId.ts +++ /dev/null @@ -1,120 +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 { 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 deleted file mode 100644 index d5c7af4d3..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_OrgPeriod.ts +++ /dev/null @@ -1,74 +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 { 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 deleted file mode 100644 index 4d762bc60..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_OrgPreferredContact.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 { 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 deleted file mode 100644 index 2f429d02a..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_OrgPrimaryInd.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 { 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 deleted file mode 100644 index b4c048718..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_OrganizationBrand.ts +++ /dev/null @@ -1,121 +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 { 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 deleted file mode 100644 index 1ee17e641..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_OrganizationPortal.ts +++ /dev/null @@ -1,185 +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 { 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 deleted file mode 100644 index a6df45156..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_OriginalText.ts +++ /dev/null @@ -1,77 +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 { 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 deleted file mode 100644 index 3566fadf6..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_OwnName.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 { 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 deleted file mode 100644 index 99a7f79e9..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_OwnPrefix.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 { 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 deleted file mode 100644 index 437125ede..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_PGenderIdentity.ts +++ /dev/null @@ -1,121 +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 { 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 deleted file mode 100644 index f8ea9c2c6..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_PRAnimalSpecies.ts +++ /dev/null @@ -1,74 +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 { 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 deleted file mode 100644 index 10e2dbaa4..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_PRApproachBodyStructure.ts +++ /dev/null @@ -1,74 +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 { 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 deleted file mode 100644 index e76bfe6f5..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_PRCausedBy.ts +++ /dev/null @@ -1,74 +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 { 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 deleted file mode 100644 index 1647a96ab..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_PRDirectedBy.ts +++ /dev/null @@ -1,79 +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 { 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 deleted file mode 100644 index 91be3b1ef..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_PREmploymentStatus.ts +++ /dev/null @@ -1,74 +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 { 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 deleted file mode 100644 index 3f9b8deea..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_PRIncisionDateTime.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 { 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 deleted file mode 100644 index 654b36eda..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_PRJobTitle.ts +++ /dev/null @@ -1,74 +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 { 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 deleted file mode 100644 index 1fabca349..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_PRMethod.ts +++ /dev/null @@ -1,74 +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 { 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 deleted file mode 100644 index e6c9bcff8..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_PRPrimaryInd.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 { 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 deleted file mode 100644 index 4dfaf167e..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_PRProgressStatus.ts +++ /dev/null @@ -1,74 +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 { 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 deleted file mode 100644 index 2c249796d..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_PRTargetBodyStructure.ts +++ /dev/null @@ -1,74 +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 { 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 deleted file mode 100644 index ee054b3da..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_ParamFullUrl.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 { 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 deleted file mode 100644 index 584be5d04..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_ParameterDefinition.ts +++ /dev/null @@ -1,74 +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 { 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 deleted file mode 100644 index d5002d263..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_ParametersDefinition.ts +++ /dev/null @@ -1,74 +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 { 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 deleted file mode 100644 index 3de7bccd7..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_PartOf.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 { 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 deleted file mode 100644 index 9394ec4e3..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_PartnerName.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 { 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 deleted file mode 100644 index aa36531e3..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_PartnerPrefix.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 { 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 deleted file mode 100644 index c0efb4f24..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_PatAdoptionInfo.ts +++ /dev/null @@ -1,74 +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 { 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 deleted file mode 100644 index 7788a88dd..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_PatAnimal.ts +++ /dev/null @@ -1,120 +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 { 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 deleted file mode 100644 index 8e33ab580..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_PatBirthPlace.ts +++ /dev/null @@ -1,74 +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 { 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 deleted file mode 100644 index 6523968e7..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_PatBirthTime.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 { 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 deleted file mode 100644 index ef9796576..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_PatBornStatus.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 { 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 deleted file mode 100644 index a87eb569c..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_PatCadavericDonor.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 { 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 deleted file mode 100644 index 3abbe2a3e..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_PatCitizenship.ts +++ /dev/null @@ -1,90 +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 { 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 deleted file mode 100644 index 167b45c32..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_PatCongregation.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 { 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 deleted file mode 100644 index 752687527..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_PatContactPriority.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 { 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 deleted file mode 100644 index 2c730846b..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_PatDisability.ts +++ /dev/null @@ -1,74 +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 { 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 deleted file mode 100644 index 8eaa074a9..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_PatImportance.ts +++ /dev/null @@ -1,74 +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 { 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 deleted file mode 100644 index 3778565c0..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_PatInterpreterRequired.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 { 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 deleted file mode 100644 index a87914e43..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_PatMothersMaidenName.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 { 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 deleted file mode 100644 index 1b9eb2eac..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_PatMultipleBirthTotal.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 { 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 deleted file mode 100644 index c3261da94..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_PatNationality.ts +++ /dev/null @@ -1,90 +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 { 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 deleted file mode 100644 index 6974c8209..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_PatNoFixedAddress.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 { 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 deleted file mode 100644 index 78b46cada..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_PatPreferenceType.ts +++ /dev/null @@ -1,74 +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 { 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 deleted file mode 100644 index f3171bfb2..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_PatProficiency.ts +++ /dev/null @@ -1,89 +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 { 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 deleted file mode 100644 index f3b6bc939..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_PatRelatedPerson.ts +++ /dev/null @@ -1,74 +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 { 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 deleted file mode 100644 index 7071dcca0..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_PatReligion.ts +++ /dev/null @@ -1,74 +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 { 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 deleted file mode 100644 index 2c7e51371..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_PatSexParameterForClinicalUse.ts +++ /dev/null @@ -1,138 +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 { 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 deleted file mode 100644 index e53359c02..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_PatientKnownNonDuplicate.ts +++ /dev/null @@ -1,74 +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 { 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 deleted file mode 100644 index bd3d50415..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_PatientUnknownIdentity.ts +++ /dev/null @@ -1,74 +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 { 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 deleted file mode 100644 index c9622394d..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_Pattern.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 { 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 deleted file mode 100644 index a0b669675..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_PerformerFunction.ts +++ /dev/null @@ -1,74 +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 { 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 deleted file mode 100644 index 1c3170694..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_PerformerOrder.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 { 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 deleted file mode 100644 index 8f108ab90..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_PeriodDuration.ts +++ /dev/null @@ -1,74 +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 { 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 deleted file mode 100644 index 36d5894f2..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_PermittedValueConceptmap.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 { 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 deleted file mode 100644 index 911d113f0..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_PermittedValueValueset.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 { 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 deleted file mode 100644 index 177e52057..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_Precision.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 { 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 deleted file mode 100644 index 96f21b8ea..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_Preferred.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 { 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 deleted file mode 100644 index e7edde057..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_ProfileElement.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 { 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 deleted file mode 100644 index c5058ddc8..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_Pronouns.ts +++ /dev/null @@ -1,121 +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 { 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 deleted file mode 100644 index 3f673d16e..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_ProtectiveFactor.ts +++ /dev/null @@ -1,74 +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 { 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 deleted file mode 100644 index 6dadcf604..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_PublicationDate.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 { 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 deleted file mode 100644 index ae0466702..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_PublicationStatus.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 { 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 deleted file mode 100644 index be3eb6794..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_QBaseType.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 { 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 deleted file mode 100644 index 5862b1df7..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_QChoiceOrientation.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 { 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 deleted file mode 100644 index 3476ac80b..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_QConstraint.ts +++ /dev/null @@ -1,167 +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 { 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 deleted file mode 100644 index 12bac82b7..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_QDefinitionBased.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 { 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 deleted file mode 100644 index 741548d94..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_QDisplayCategory.ts +++ /dev/null @@ -1,74 +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 { 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 deleted file mode 100644 index 44c09d1b4..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_QFhirType.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 { 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 deleted file mode 100644 index ed9b066eb..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_QHidden.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 { 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 deleted file mode 100644 index 0788f032e..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_QItemControl.ts +++ /dev/null @@ -1,74 +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 { 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 deleted file mode 100644 index 68351c0fc..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_QMaxOccurs.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 { 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 deleted file mode 100644 index ff931cbe2..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_QMinOccurs.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 { 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 deleted file mode 100644 index 339bcca64..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_QOptionExclusive.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 { 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 deleted file mode 100644 index 64403c1c0..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_QOptionPrefix.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 { 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 deleted file mode 100644 index 9770ad3ec..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_QOptionRestriction.ts +++ /dev/null @@ -1,104 +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 { 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 deleted file mode 100644 index 1ed33c3ef..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_QRAttester.ts +++ /dev/null @@ -1,120 +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 { 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 deleted file mode 100644 index 3db9222ea..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_QRAuthor.ts +++ /dev/null @@ -1,74 +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 { 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 deleted file mode 100644 index c401ae60c..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_QRCompletionMode.ts +++ /dev/null @@ -1,74 +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 { 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 deleted file mode 100644 index 1fbcbc006..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_QRReason.ts +++ /dev/null @@ -1,74 +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 { 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 deleted file mode 100644 index 0a3001d6b..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_QRReviewer.ts +++ /dev/null @@ -1,74 +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 { 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 deleted file mode 100644 index 1165b2ef6..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_QRSignature.ts +++ /dev/null @@ -1,74 +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 { 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 deleted file mode 100644 index 51939d168..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_QRUnitOption.ts +++ /dev/null @@ -1,74 +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 { 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 deleted file mode 100644 index e7a751604..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_QRUnitValueSet.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 { 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 deleted file mode 100644 index 67320029e..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_QRUsageMode.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 { 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 deleted file mode 100644 index f04c0e54c..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_QReferenceProfile.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 { 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 deleted file mode 100644 index bad5b593f..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_QReferenceResource.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 { 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 deleted file mode 100644 index 268da4c5e..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_QSignatureRequired.ts +++ /dev/null @@ -1,74 +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 { 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 deleted file mode 100644 index 5df4af78f..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_QSliderStepValue.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 { 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 deleted file mode 100644 index e27a72856..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_QSupportLink.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 { 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 deleted file mode 100644 index d076afa93..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_QUnit.ts +++ /dev/null @@ -1,74 +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 { 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 deleted file mode 100644 index a7cfdb1b2..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_QualityOfEvidence.ts +++ /dev/null @@ -1,74 +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 { 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 deleted file mode 100644 index 5e6cb2451..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_QuantityTranslation.ts +++ /dev/null @@ -1,74 +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 { 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 deleted file mode 100644 index 78143f21f..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_Question.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 { 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 deleted file mode 100644 index e46680bf4..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_QuestionnaireDerivationType.ts +++ /dev/null @@ -1,74 +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 { 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 deleted file mode 100644 index 2da9ff200..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_RSSiteRecruitment.ts +++ /dev/null @@ -1,104 +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 { 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 deleted file mode 100644 index 6fcbfc55c..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_RSStudyRegistration.ts +++ /dev/null @@ -1,121 +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 { 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 deleted file mode 100644 index 9b0b9a074..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_ReceivingOrganization.ts +++ /dev/null @@ -1,74 +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 { 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 deleted file mode 100644 index 757ef35ed..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_ReceivingPerson.ts +++ /dev/null @@ -1,74 +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 { 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 deleted file mode 100644 index a851d3968..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_RecipientLanguage.ts +++ /dev/null @@ -1,74 +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 { 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 deleted file mode 100644 index 9f9d8a2b3..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_RecipientType.ts +++ /dev/null @@ -1,74 +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 { 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 deleted file mode 100644 index ec20b13e6..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_RecordedSexOrGender.ts +++ /dev/null @@ -1,217 +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 { 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 deleted file mode 100644 index cffe83db3..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_ReferenceFilter.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 { 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 deleted file mode 100644 index 24ccc1309..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_ReferencesContained.ts +++ /dev/null @@ -1,74 +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 { 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 deleted file mode 100644 index 698d88ee7..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_RelatedArtifact.ts +++ /dev/null @@ -1,74 +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 { 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 deleted file mode 100644 index 52fa983d4..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_RelativeDateCriteria.ts +++ /dev/null @@ -1,154 +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 { 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 deleted file mode 100644 index 4ac5a3add..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_RelativeDateTime.ts +++ /dev/null @@ -1,137 +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 { 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 deleted file mode 100644 index 3c10dfc66..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_ReleaseDate.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 { 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 deleted file mode 100644 index ca38dadc7..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_RelevantHistory.ts +++ /dev/null @@ -1,74 +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 { 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 deleted file mode 100644 index 714c0b5b3..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_RenderedValue.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 { 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 deleted file mode 100644 index 9225093d2..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_RenderingStyle.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 { 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 deleted file mode 100644 index fd0b39d41..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_Replaces.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 { 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 deleted file mode 100644 index 1fe1c2aaf..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_RequestInsurance.ts +++ /dev/null @@ -1,74 +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 { 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 deleted file mode 100644 index 5ffdfee77..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_RequestReplaces.ts +++ /dev/null @@ -1,74 +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 { 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 deleted file mode 100644 index 7eb6f009c..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_RequestStatusReason.ts +++ /dev/null @@ -1,74 +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 { 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 deleted file mode 100644 index 257a54f00..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_RequirementsParent.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 { 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 deleted file mode 100644 index 392c22933..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_ResLastReviewDate.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 { 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 deleted file mode 100644 index 2388d93fc..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_ResearchStudy.ts +++ /dev/null @@ -1,74 +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 { 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 deleted file mode 100644 index c7d587fb7..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_ResolveAsVersionSpecific.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 { 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 deleted file mode 100644 index 83b0a00b5..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_ResourceApprovalDate.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 { 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 deleted file mode 100644 index 434fac40b..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_ResourceDerivationReference.ts +++ /dev/null @@ -1,121 +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 { 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 deleted file mode 100644 index 6c51cdfdb..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_ResourceEffectivePeriod.ts +++ /dev/null @@ -1,74 +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 { 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 deleted file mode 100644 index a1dade646..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_ResourceInstanceDescription.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 { 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 deleted file mode 100644 index 310e51ca0..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_ResourceInstanceName.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 { 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 deleted file mode 100644 index bbce07da2..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_ResourceSatisfiesRequirement.ts +++ /dev/null @@ -1,103 +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 { 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 deleted file mode 100644 index 38e46ccd9..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_ResourceType.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 { 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 deleted file mode 100644 index 2c81d4816..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_SDAncestor.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 { 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 deleted file mode 100644 index 58218c36c..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_SDApplicableVersion.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 { 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 deleted file mode 100644 index ac9311d41..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_SDCategory.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 { 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 deleted file mode 100644 index fa995004d..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_SDCodegenSuper.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 { 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 deleted file mode 100644 index 41b3d575f..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_SDDisplayHint.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 { 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 deleted file mode 100644 index 4ddf5851e..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_SDExplicitTypeName.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 { 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 deleted file mode 100644 index 5ceac56f8..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_SDExtensionMeaning.ts +++ /dev/null @@ -1,74 +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 { 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 deleted file mode 100644 index 0d24f4790..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_SDFhirType.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 { 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 deleted file mode 100644 index 4e13efdaa..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_SDFmmNoWarnings.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 { 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 deleted file mode 100644 index 671072b00..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_SDHierarchy.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 { 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 deleted file mode 100644 index 7eda7edbd..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_SDImposeProfile.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 { 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 deleted file mode 100644 index 8df3ce942..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_SDInheritanceControl.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 { 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 deleted file mode 100644 index 652b998ed..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_SDInterface.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 { 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 deleted file mode 100644 index 0e0a3814d..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_SDNormativeVersion.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 { 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 deleted file mode 100644 index c129649b9..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_SDSecurityCategory.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 { 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 deleted file mode 100644 index 075c23bb1..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_SDStandardsStatus.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 { 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 deleted file mode 100644 index 8a4fd13be..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_SDStandardsStatusReason.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 { 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 deleted file mode 100644 index 65a71c356..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_SDStatusDerivation.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 { 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 deleted file mode 100644 index e2204742f..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_SDSummary.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 { 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 deleted file mode 100644 index 3f512d65f..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_SDTableName.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 { 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 deleted file mode 100644 index 7f0651c4b..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_SDTemplateStatus.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 { 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 deleted file mode 100644 index a9751ac06..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_SDTypeCharacteristics.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 { 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 deleted file mode 100644 index 10a1611e0..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_SDWorkGroup.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 { 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 deleted file mode 100644 index 3c31ecdeb..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_SDcompliesWithProfile.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 { 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 deleted file mode 100644 index bf13efd44..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_SROrderCallbackPhoneNumber.ts +++ /dev/null @@ -1,74 +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-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 deleted file mode 100644 index 861a77807..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_SRPertainsToGoal.ts +++ /dev/null @@ -1,74 +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 { 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 deleted file mode 100644 index a6330accd..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_SRPrecondition.ts +++ /dev/null @@ -1,74 +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 { 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 deleted file mode 100644 index aaace7733..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_SRQuestionnaireRequest.ts +++ /dev/null @@ -1,74 +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 { 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 deleted file mode 100644 index 02ebc7196..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_Scope.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 { 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 deleted file mode 100644 index 583623f66..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_SctDescId.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 { 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 deleted file mode 100644 index ded165e87..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_Selector.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 { 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 deleted file mode 100644 index 56a7ea59e..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_ShallComplyWith.ts +++ /dev/null @@ -1,87 +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 { 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 deleted file mode 100644 index 9af3beef7..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_SpecCollectionPriority.ts +++ /dev/null @@ -1,74 +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 { 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 deleted file mode 100644 index cb1088826..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_SpecIsDryWeight.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 { 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 deleted file mode 100644 index c13f25211..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_SpecProcessingTime.ts +++ /dev/null @@ -1,79 +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 { 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 deleted file mode 100644 index 9cd0d7dd5..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_SpecSequenceNumber.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 { 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 deleted file mode 100644 index 77f25e7ff..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_SpecSpecialHandling.ts +++ /dev/null @@ -1,74 +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 { 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 deleted file mode 100644 index e497e8458..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_SpecimenAdditive.ts +++ /dev/null @@ -1,74 +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 { 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 deleted file mode 100644 index 4a7158fb4..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_StatisticModelIncludeIf.ts +++ /dev/null @@ -1,89 +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 { 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 deleted file mode 100644 index dc28a1cba..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_StrengthOfRecommendation.ts +++ /dev/null @@ -1,74 +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 { 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 deleted file mode 100644 index e3ab9b79d..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_StyleSensitive.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 { 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 deleted file mode 100644 index 5a82a3a14..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_SubscriptionBestEffort.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 { 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 deleted file mode 100644 index 56ffd1110..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_SupportedCqlVersion.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 { 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 deleted file mode 100644 index 1d76080f1..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_SupportingInfo.ts +++ /dev/null @@ -1,74 +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 { 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 deleted file mode 100644 index d83e52c34..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_Suppress.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 { 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 deleted file mode 100644 index e39fb041e..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_SystemUserLanguage.ts +++ /dev/null @@ -1,74 +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 { 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 deleted file mode 100644 index 713880c46..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_SystemUserTaskContext.ts +++ /dev/null @@ -1,74 +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 { 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 deleted file mode 100644 index 444d5aa60..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_SystemUserType.ts +++ /dev/null @@ -1,74 +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 { 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 deleted file mode 100644 index 862fabb5e..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_TELAddress.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 { 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 deleted file mode 100644 index ece514cab..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_TargetElement.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 { 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 deleted file mode 100644 index 9935a1b03..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_TargetInvariant.ts +++ /dev/null @@ -1,136 +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 { 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 deleted file mode 100644 index 2af3b5598..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_TargetPath.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 { 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 deleted file mode 100644 index be3da1417..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_TaskReplaces.ts +++ /dev/null @@ -1,74 +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 { 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 deleted file mode 100644 index a9ec748cd..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_TimezoneCode.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 { 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 deleted file mode 100644 index d686de94c..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_TimezoneOffset.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 { 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 deleted file mode 100644 index 9afd63b6d..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_TimingDayOfMonth.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 { 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 deleted file mode 100644 index 8c8e0d392..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_TimingExact.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 { 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 deleted file mode 100644 index fe11be608..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_Translatable.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 { 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 deleted file mode 100644 index 3fa5447c1..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_Translation.ts +++ /dev/null @@ -1,103 +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 { 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 deleted file mode 100644 index c9db7f5cd..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_TriggeredBy.ts +++ /dev/null @@ -1,87 +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 { 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 deleted file mode 100644 index 3f5238896..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_TxResourceIdentifierMetadata.ts +++ /dev/null @@ -1,104 +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 { 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 deleted file mode 100644 index e060d0ca1..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_TypeMustSupport.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 { 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 deleted file mode 100644 index 4e5ffac6b..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_UncertainDate.ts +++ /dev/null @@ -1,74 +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 { 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 deleted file mode 100644 index 3f20cb78b..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_UncertainPeriod.ts +++ /dev/null @@ -1,74 +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 { 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 deleted file mode 100644 index 1e78c65c6..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_Uncertainty.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 { 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 deleted file mode 100644 index fc4e04455..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_UncertaintyType.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 { 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 deleted file mode 100644 index a8b095e06..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_UsageContextGroup.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 { 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 deleted file mode 100644 index 1f6b2cbdf..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_VSAuthoritativeSource.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 { 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 deleted file mode 100644 index 5ec0f6104..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_VSCaseSensitive.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 { 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 deleted file mode 100644 index 7724dce3d..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_VSComposeCreatedBy.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 { 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 deleted file mode 100644 index e326206e1..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_VSComposeCreationDate.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 { 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 deleted file mode 100644 index 12723adae..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_VSConceptComments.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 { 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 deleted file mode 100644 index 489e77532..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_VSConceptDefinition.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 { 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 deleted file mode 100644 index 45ec48baf..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_VSConceptOrder.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 { 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 deleted file mode 100644 index 21c2cef79..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_VSDeprecated.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 { 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 deleted file mode 100644 index b8dde5617..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_VSExpansionSource.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 { 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 deleted file mode 100644 index 9efcaeea8..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_VSExpression.ts +++ /dev/null @@ -1,74 +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 { 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 deleted file mode 100644 index 317692000..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_VSExtensible.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 { 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 deleted file mode 100644 index 00e5f6a3a..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_VSIncludeVSTitle.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 { 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 deleted file mode 100644 index 9d7e0b322..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_VSKeyword.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 { 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 deleted file mode 100644 index bb3d8308d..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_VSLabel.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 { 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 deleted file mode 100644 index f990940bb..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_VSMap.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 { 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 deleted file mode 100644 index f3b9a9049..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_VSOtherName.ts +++ /dev/null @@ -1,103 +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 { 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 deleted file mode 100644 index 2cb7b0c90..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_VSOtherTitle.ts +++ /dev/null @@ -1,103 +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 { 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 deleted file mode 100644 index 6dbf6c598..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_VSParameterSource.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 { 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 deleted file mode 100644 index 5ee64e695..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_VSReference.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 { 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 deleted file mode 100644 index d13d8218e..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_VSRulesText.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 { 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 deleted file mode 100644 index c126c84ba..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_VSSourceReference.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 { 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 deleted file mode 100644 index 1f87115ec..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_VSSpecialStatus.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 { 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 deleted file mode 100644 index bd00995bd..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_VSSupplement.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 { 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 deleted file mode 100644 index 89dcb0c6d..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_VSSystem.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 { 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 deleted file mode 100644 index 76836d0bc..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_VSSystemName.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 { 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 deleted file mode 100644 index 1beea805e..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_VSSystemReference.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 { 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 deleted file mode 100644 index 20cfff886..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_VSSystemTitle.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 { 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 deleted file mode 100644 index 0564dd03d..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_VSTooCostly.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 { 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 deleted file mode 100644 index b050a24bc..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_VSTrustedExpansion.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 { 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 deleted file mode 100644 index 987c19514..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_VSUnclosed.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 { 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 deleted file mode 100644 index a43de76c6..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_VSUsage.ts +++ /dev/null @@ -1,103 +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 { 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 deleted file mode 100644 index a6abdeb2f..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_VSWarning.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 { 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 deleted file mode 100644 index 599701c47..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_ValidDate.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 { 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 deleted file mode 100644 index 4b34eddef..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_ValueFilter.ts +++ /dev/null @@ -1,120 +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 { 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 deleted file mode 100644 index 7cec19d11..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_Variable.ts +++ /dev/null @@ -1,74 +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 { 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 deleted file mode 100644 index 9d0b5bb88..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_VersionSpecificUse.ts +++ /dev/null @@ -1,103 +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 { 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 deleted file mode 100644 index 605307f62..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_VersionSpecificValue.ts +++ /dev/null @@ -1,119 +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 { 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 deleted file mode 100644 index ae8fe1ca1..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_WorkflowBarrier.ts +++ /dev/null @@ -1,74 +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 { 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 deleted file mode 100644 index 3375f4b63..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_WorkflowReason.ts +++ /dev/null @@ -1,74 +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 { 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 deleted file mode 100644 index fbdaa734b..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_WorkflowStatusDescription.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 { 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 deleted file mode 100644 index 04777df86..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/Extension_XhtmlRepresentation.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 { 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 deleted file mode 100644 index 9b9f88884..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-extensions/profiles/index.ts +++ /dev/null @@ -1,558 +0,0 @@ -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 deleted file mode 100644 index 8f0ae17fd..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-sdc/Sdcexample.ts +++ /dev/null @@ -1,14 +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 { 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 (pkg: hl7.fhir.uv.sdc#3.0.0) -export interface SDCExample extends Element { - 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 deleted file mode 100644 index c0bea3987..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-sdc/SdcquestionLibrary.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 { Element } from "../hl7-fhir-r4-core/Element"; -import type { Resource } from "../hl7-fhir-r4-core/Resource"; - -export type { Element } from "../hl7-fhir-r4-core/Element"; - -export interface sdc_question_libraryAddress extends Element { - city?: string; - postalCode: string; - state?: string; - street?: string; -} - -export interface sdc_question_libraryName extends Element { - first?: string; - last?: string; - prefix?: string; -} - -// CanonicalURL: http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-question-library (pkg: hl7.fhir.uv.sdc#3.0.0) -export interface SDCQuestionLibrary extends Resource { - address?: sdc_question_libraryAddress; - dob?: string; - _dob?: Element; - name?: sdc_question_libraryName; - sex?: ("male" | "female" | "other" | "unknown"); - _sex?: Element; -} 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 deleted file mode 100644 index 494040242..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-sdc/index.ts +++ /dev/null @@ -1,3 +0,0 @@ -export * from "./profiles"; -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/CodeSystem_SDCCodeSystem.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-sdc/profiles/CodeSystem_SDCCodeSystem.ts deleted file mode 100644 index a23926a9c..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-sdc/profiles/CodeSystem_SDCCodeSystem.ts +++ /dev/null @@ -1,168 +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 { Extension } from "../../hl7-fhir-r4-core/Extension"; - -export interface SDCCodeSystem extends CodeSystem { - caseSensitive: boolean; -} - -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 } 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 } 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 } 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 } 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 } 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 as Record | undefined)?.valueBoolean as boolean | undefined - } - - public getStyleSensitiveExtension (): Extension | undefined { - const ext = this.resource.extension?.find(e => e.url === "http://hl7.org/fhir/StructureDefinition/rendering-styleSensitive") - return ext - } - - 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 as Record | undefined)?.valueString as string | undefined - } - - public getConceptDisplayLabelRenderingStyleExtension (): Extension | 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 - } - - 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 as Record | undefined)?.valueString as string | undefined - } - - public getConceptDisplayLabelXhtmlExtension (): Extension | 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 - } - - 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 deleted file mode 100644 index 5b15a5038..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-sdc/profiles/Extension_AnswerExpressionExtension.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 { 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 deleted file mode 100644 index 66008ac16..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-sdc/profiles/Extension_AnswerOptionsToggleExpressionExtension.ts +++ /dev/null @@ -1,98 +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 { 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 deleted file mode 100644 index fdf7f64c9..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-sdc/profiles/Extension_AssembleContextExtension.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-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 deleted file mode 100644 index caf13cfbe..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-sdc/profiles/Extension_AssembleExpectation.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-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 deleted file mode 100644 index a901cf6b0..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-sdc/profiles/Extension_AssembledFromExtension.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-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 deleted file mode 100644 index 3a74428f8..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-sdc/profiles/Extension_CalculatedExpressionExtension.ts +++ /dev/null @@ -1,74 +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 { 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 deleted file mode 100644 index 4f2e002d8..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-sdc/profiles/Extension_CandidateExpressionExtension.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 { 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 deleted file mode 100644 index 229eb7ba0..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-sdc/profiles/Extension_ChoiceColumnExtension.ts +++ /dev/null @@ -1,136 +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 { 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 deleted file mode 100644 index 08a26f012..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-sdc/profiles/Extension_CollapsibleExtension.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-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 deleted file mode 100644 index b98846f75..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-sdc/profiles/Extension_ContextExpressionExtension.ts +++ /dev/null @@ -1,104 +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 { 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 deleted file mode 100644 index f816949b7..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-sdc/profiles/Extension_EnableWhenExpressionExtension.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 { 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 deleted file mode 100644 index 656b6e821..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-sdc/profiles/Extension_EndpointExtension.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-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 deleted file mode 100644 index 360d87650..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-sdc/profiles/Extension_EntryMode.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-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 deleted file mode 100644 index 606e32e35..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-sdc/profiles/Extension_InitialExpressionExtension.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 { 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 deleted file mode 100644 index 1f0eb748c..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-sdc/profiles/Extension_IsSubjectExtension.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-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 deleted file mode 100644 index 691f607c2..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-sdc/profiles/Extension_ItemAnswerMedia.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 { 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 deleted file mode 100644 index fc9144a59..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-sdc/profiles/Extension_ItemExtractionContextExtension.ts +++ /dev/null @@ -1,75 +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 { 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 deleted file mode 100644 index 6d7f4149e..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-sdc/profiles/Extension_ItemMedia.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 { 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 deleted file mode 100644 index de1abfb66..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-sdc/profiles/Extension_ItemPopulationContextExtension.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 { 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 deleted file mode 100644 index fbe53a2cb..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-sdc/profiles/Extension_LaunchContextExtension.ts +++ /dev/null @@ -1,120 +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 { 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 deleted file mode 100644 index fcbde3060..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-sdc/profiles/Extension_LookupQuestionnaireExtension.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-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 deleted file mode 100644 index ae97a827f..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-sdc/profiles/Extension_MaxQuantityExtension.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 { 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 deleted file mode 100644 index 6f6f1ffa5..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-sdc/profiles/Extension_MinQuantityExtension.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 { 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 deleted file mode 100644 index d55d6423c..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-sdc/profiles/Extension_ObservationExtractCategory.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 { 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 deleted file mode 100644 index fda7a48b6..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-sdc/profiles/Extension_ObservationExtractExtension.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-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 deleted file mode 100644 index 8840cd2cd..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-sdc/profiles/Extension_ObservationLinkPeriodExtension.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 { 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 deleted file mode 100644 index e1e0f62e5..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-sdc/profiles/Extension_OptionalDisplayExtension.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-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 deleted file mode 100644 index 5cdad4cbf..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-sdc/profiles/Extension_PerformerTypeExtension.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-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 deleted file mode 100644 index 9dd8eab51..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-sdc/profiles/Extension_PreferredTerminologyServer.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-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 deleted file mode 100644 index 19ba8344e..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-sdc/profiles/Extension_QuestionnaireAdaptiveExtension.ts +++ /dev/null @@ -1,74 +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 { 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 deleted file mode 100644 index 996578463..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-sdc/profiles/Extension_ReferencesContained.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 { 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 deleted file mode 100644 index 436ddda8a..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-sdc/profiles/Extension_SDCOpenLabel.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-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 deleted file mode 100644 index d9ed80c08..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-sdc/profiles/Extension_SDCServiceRequestQuestionnaire.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-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 deleted file mode 100644 index 6bf17ab56..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-sdc/profiles/Extension_ShortTextExtension.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-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 deleted file mode 100644 index fef406ab4..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-sdc/profiles/Extension_SourceQueriesExtension.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 { 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 deleted file mode 100644 index 539f3bf00..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-sdc/profiles/Extension_SourceStructureMapExtension.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-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 deleted file mode 100644 index fd2b04704..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-sdc/profiles/Extension_SubQuestionnaireExtension.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-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 deleted file mode 100644 index d8261b866..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-sdc/profiles/Extension_TargetStructureMapExtension.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-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 deleted file mode 100644 index a41501f70..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-sdc/profiles/Extension_UnitOpen.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-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 deleted file mode 100644 index 3d39c0ea1..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-sdc/profiles/Extension_UnitSupplementalSystem.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-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 deleted file mode 100644 index 846bb0349..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-sdc/profiles/Extension_WidthExtension.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 { 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/Library_SDCLibrary.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-sdc/profiles/Library_SDCLibrary.ts deleted file mode 100644 index b0c27532a..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-sdc/profiles/Library_SDCLibrary.ts +++ /dev/null @@ -1,161 +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-r4-core/Attachment"; -import type { CodeableConcept } from "../../hl7-fhir-r4-core/CodeableConcept"; -import type { Library } from "../../hl7-fhir-r4-core/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, 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 - 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 setFhirpathContent (input: SDCLibrary_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 setQueryContent (input: SDCLibrary_Content_QueryContentSliceInput): this { - const match = {"contentType":"application/x-fhir-query"} 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 getCqlContent (): SDCLibrary_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 SDCLibrary_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 - } - - public getFhirpathContent (): SDCLibrary_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 SDCLibrary_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 - } - - public getQueryContent (): SDCLibrary_Content_QueryContentSliceInput | undefined { - const match = {"contentType":"application/x-fhir-query"} 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 SDCLibrary_Content_QueryContentSliceInput - } - - public getQueryContentRaw (): Attachment | undefined { - const match = {"contentType":"application/x-fhir-query"} 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, "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/Parameters_SDCParametersQuestionnaireAssembleOut.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-sdc/profiles/Parameters_SDCParametersQuestionnaireAssembleOut.ts deleted file mode 100644 index ae6d2dc0b..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-sdc/profiles/Parameters_SDCParametersQuestionnaireAssembleOut.ts +++ /dev/null @@ -1,133 +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 { Parameters } from "../../hl7-fhir-r4-core/Parameters"; -import type { ParametersParameter } from "../../hl7-fhir-r4-core/Parameters"; - -export type SDCParametersQuestionnaireAssembleOut_Parameter_Return_SliceInput = Omit; -export type SDCParametersQuestionnaireAssembleOut_Parameter_PartSliceInput = Omit; - -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 - } - - 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 ??= []) - const index = list.findIndex((item) => matchesSlice(item, match)) - if (index === -1) { - list.push(value) - } else { - list[index] = value - } - return this - } - - public setPart (input?: SDCParametersQuestionnaireAssembleOut_Parameter_PartSliceInput): this { - const match = {"name":"outcome"} as Record - const value = applySliceMatch((input ?? {}) as Record, match) as unknown as ParametersParameter - const list = (this.resource.parameter ??= []) - const index = list.findIndex((item) => matchesSlice(item, match)) - if (index === -1) { - list.push(value) - } else { - list[index] = value - } - return this - } - - public getReturn_ (): SDCParametersQuestionnaireAssembleOut_Parameter_Return_SliceInput | undefined { - const match = {"name":"return"} as Record - const list = this.resource.parameter - if (!list) return undefined - const item = list.find((item) => matchesSlice(item, match)) - if (!item) return undefined - return extractSliceSimplified(item as unknown as Record, ["name"]) as SDCParametersQuestionnaireAssembleOut_Parameter_Return_SliceInput - } - - public getReturn_Raw (): ParametersParameter | undefined { - const match = {"name":"return"} as Record - const list = this.resource.parameter - if (!list) return undefined - const item = list.find((item) => matchesSlice(item, match)) - return item - } - - public getPart (): SDCParametersQuestionnaireAssembleOut_Parameter_PartSliceInput | undefined { - const match = {"name":"outcome"} as Record - const list = this.resource.parameter - if (!list) return undefined - const item = list.find((item) => matchesSlice(item, match)) - if (!item) return undefined - return extractSliceSimplified(item as unknown as Record, ["name"]) as SDCParametersQuestionnaireAssembleOut_Parameter_PartSliceInput - } - - public getPartRaw (): ParametersParameter | undefined { - const match = {"name":"outcome"} as Record - const list = this.resource.parameter - 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 - 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/Parameters_SDCParametersQuestionnaireNextQuestionnaireIn.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-sdc/profiles/Parameters_SDCParametersQuestionnaireNextQuestionnaireIn.ts deleted file mode 100644 index 61e6575a4..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-sdc/profiles/Parameters_SDCParametersQuestionnaireNextQuestionnaireIn.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 { Parameters } from "../../hl7-fhir-r4-core/Parameters"; -import type { ParametersParameter } from "../../hl7-fhir-r4-core/Parameters"; - -export type SDCParametersQuestionnaireNextQuestionnaireIn_Parameter_InSliceInput = Omit; - -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 { - return this.resource - } - - public setIn (input?: SDCParametersQuestionnaireNextQuestionnaireIn_Parameter_InSliceInput): this { - const match = {"name":"in"} as Record - const value = applySliceMatch((input ?? {}) as Record, match) as unknown as ParametersParameter - const list = (this.resource.parameter ??= []) - const index = list.findIndex((item) => matchesSlice(item, match)) - if (index === -1) { - list.push(value) - } else { - list[index] = value - } - return this - } - - public getIn (): SDCParametersQuestionnaireNextQuestionnaireIn_Parameter_InSliceInput | undefined { - const match = {"name":"in"} as Record - const list = this.resource.parameter - if (!list) return undefined - const item = list.find((item) => matchesSlice(item, match)) - if (!item) return undefined - return extractSliceSimplified(item as unknown as Record, ["name"]) as SDCParametersQuestionnaireNextQuestionnaireIn_Parameter_InSliceInput - } - - public getInRaw (): ParametersParameter | undefined { - const match = {"name":"in"} as Record - const list = this.resource.parameter - 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 - return errors - } - -} - diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-sdc/profiles/Parameters_SDCParametersQuestionnaireNextQuestionnaireOut.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-sdc/profiles/Parameters_SDCParametersQuestionnaireNextQuestionnaireOut.ts deleted file mode 100644 index 3aeddb0f9..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-sdc/profiles/Parameters_SDCParametersQuestionnaireNextQuestionnaireOut.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 { Parameters } from "../../hl7-fhir-r4-core/Parameters"; -import type { ParametersParameter } from "../../hl7-fhir-r4-core/Parameters"; - -export type SDCParametersQuestionnaireNextQuestionnaireOut_Parameter_OutSliceInput = Omit; - -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 { - return this.resource - } - - public setOut (input?: SDCParametersQuestionnaireNextQuestionnaireOut_Parameter_OutSliceInput): this { - const match = {"name":"out"} as Record - const value = applySliceMatch((input ?? {}) as Record, match) as unknown as ParametersParameter - const list = (this.resource.parameter ??= []) - const index = list.findIndex((item) => matchesSlice(item, match)) - if (index === -1) { - list.push(value) - } else { - list[index] = value - } - return this - } - - public getOut (): SDCParametersQuestionnaireNextQuestionnaireOut_Parameter_OutSliceInput | undefined { - const match = {"name":"out"} as Record - const list = this.resource.parameter - if (!list) return undefined - const item = list.find((item) => matchesSlice(item, match)) - if (!item) return undefined - return extractSliceSimplified(item as unknown as Record, ["name"]) as SDCParametersQuestionnaireNextQuestionnaireOut_Parameter_OutSliceInput - } - - public getOutRaw (): ParametersParameter | undefined { - const match = {"name":"out"} as Record - const list = this.resource.parameter - 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 - return errors - } - -} - diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-sdc/profiles/Parameters_SDCParametersQuestionnaireProcessResponseIn.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-sdc/profiles/Parameters_SDCParametersQuestionnaireProcessResponseIn.ts deleted file mode 100644 index eaf5edb37..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-sdc/profiles/Parameters_SDCParametersQuestionnaireProcessResponseIn.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 { Parameters } from "../../hl7-fhir-r4-core/Parameters"; -import type { ParametersParameter } from "../../hl7-fhir-r4-core/Parameters"; - -export type SDCParametersQuestionnaireProcessResponseIn_Parameter_InSliceInput = Omit; - -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 { - return this.resource - } - - public setIn (input?: SDCParametersQuestionnaireProcessResponseIn_Parameter_InSliceInput): this { - const match = {"name":"in"} as Record - const value = applySliceMatch((input ?? {}) as Record, match) as unknown as ParametersParameter - const list = (this.resource.parameter ??= []) - const index = list.findIndex((item) => matchesSlice(item, match)) - if (index === -1) { - list.push(value) - } else { - list[index] = value - } - return this - } - - public getIn (): SDCParametersQuestionnaireProcessResponseIn_Parameter_InSliceInput | undefined { - const match = {"name":"in"} as Record - const list = this.resource.parameter - if (!list) return undefined - const item = list.find((item) => matchesSlice(item, match)) - if (!item) return undefined - return extractSliceSimplified(item as unknown as Record, ["name"]) as SDCParametersQuestionnaireProcessResponseIn_Parameter_InSliceInput - } - - public getInRaw (): ParametersParameter | undefined { - const match = {"name":"in"} as Record - const list = this.resource.parameter - 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 - return errors - } - -} - diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-sdc/profiles/Parameters_SDCParametersQuestionnaireResponseExtractIn.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-sdc/profiles/Parameters_SDCParametersQuestionnaireResponseExtractIn.ts deleted file mode 100644 index 234cc03e7..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-sdc/profiles/Parameters_SDCParametersQuestionnaireResponseExtractIn.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 { Parameters } from "../../hl7-fhir-r4-core/Parameters"; -import type { ParametersParameter } from "../../hl7-fhir-r4-core/Parameters"; - -export type SDCParametersQuestionnaireResponseExtractIn_Parameter_InSliceInput = Omit; - -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 { - return this.resource - } - - public setIn (input?: SDCParametersQuestionnaireResponseExtractIn_Parameter_InSliceInput): this { - const match = {"name":"in"} as Record - const value = applySliceMatch((input ?? {}) as Record, match) as unknown as ParametersParameter - const list = (this.resource.parameter ??= []) - const index = list.findIndex((item) => matchesSlice(item, match)) - if (index === -1) { - list.push(value) - } else { - list[index] = value - } - return this - } - - public getIn (): SDCParametersQuestionnaireResponseExtractIn_Parameter_InSliceInput | undefined { - const match = {"name":"in"} as Record - const list = this.resource.parameter - if (!list) return undefined - const item = list.find((item) => matchesSlice(item, match)) - if (!item) return undefined - return extractSliceSimplified(item as unknown as Record, ["name"]) as SDCParametersQuestionnaireResponseExtractIn_Parameter_InSliceInput - } - - public getInRaw (): ParametersParameter | undefined { - const match = {"name":"in"} as Record - const list = this.resource.parameter - 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 - return errors - } - -} - diff --git a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-sdc/profiles/QuestionnaireResponse_SDCQuestionnaireResponse.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-sdc/profiles/QuestionnaireResponse_SDCQuestionnaireResponse.ts deleted file mode 100644 index a52b809c0..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-sdc/profiles/QuestionnaireResponse_SDCQuestionnaireResponse.ts +++ /dev/null @@ -1,236 +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-r4-core/Attachment"; -import type { CodeableConcept } from "../../hl7-fhir-r4-core/CodeableConcept"; -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"; - -export interface SDCQuestionnaireResponse extends QuestionnaireResponse { - questionnaire: string; - authored: string; -} - -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 } 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 } 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 } 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 } 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 } 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 } 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 } 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 as Record | undefined)?.valueSignature as Signature | undefined - } - - public getSignatureExtension (): Extension | undefined { - const ext = this.resource.extension?.find(e => e.url === "http://hl7.org/fhir/StructureDefinition/questionnaireresponse-signature") - return ext - } - - public getCompletionMode (): CodeableConcept | undefined { - const ext = this.resource.extension?.find(e => e.url === "http://hl7.org/fhir/StructureDefinition/questionnaireresponse-completionMode") - return (ext as Record | undefined)?.valueCodeableConcept as CodeableConcept | undefined - } - - public getCompletionModeExtension (): Extension | undefined { - const ext = this.resource.extension?.find(e => e.url === "http://hl7.org/fhir/StructureDefinition/questionnaireresponse-completionMode") - return ext - } - - 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 as Record | undefined)?.valueString as string | undefined - } - - public getQuestionnaireDisplayExtension (): Extension | 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 - } - - 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 as Record | undefined)?.valueAttachment as Attachment | undefined - } - - public getItemMediaExtension (): 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/uv/sdc/StructureDefinition/sdc-questionnaire-itemMedia") - return ext - } - - 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 as Record | undefined)?.valueSignature as Signature | undefined - } - - public getItemSignatureExtension (): 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/questionnaireresponse-signature") - return ext - } - - 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 as Record | undefined)?.valueAttachment as Attachment | undefined - } - - public getItemAnswerMediaExtension (): Extension | 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 - } - - 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 as Record | undefined)?.valueDecimal as number | undefined - } - - public getOrdinalValueExtension (): Extension | 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 - } - - 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 deleted file mode 100644 index d61faa4b2..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-sdc/profiles/QuestionnaireResponse_SDCQuestionnaireResponseAdapt.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 { 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/Questionnaire_SDCBaseQuestionnaire.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-sdc/profiles/Questionnaire_SDCBaseQuestionnaire.ts deleted file mode 100644 index 2f36460b8..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-sdc/profiles/Questionnaire_SDCBaseQuestionnaire.ts +++ /dev/null @@ -1,165 +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"; - -export interface SDCBaseQuestionnaire extends Questionnaire { - url: string; -} - -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 } 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 } 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 } 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 } 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 } 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 } 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 as Record | undefined)?.valueMarkdown as string | undefined - } - - public getDesignNoteExtension (): Extension | undefined { - const ext = this.resource.extension?.find(e => e.url === "http://hl7.org/fhir/StructureDefinition/designNote") - return ext - } - - 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 as Record | undefined)?.valueUrl as string | undefined - } - - public getTerminologyServerExtension (): Extension | undefined { - const ext = this.resource.extension?.find(e => e.url === "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-preferredTerminologyServer") - return ext - } - - 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 as Record | undefined)?.valueCode as string | undefined - } - - public getPerformerTypeExtension (): Extension | undefined { - const ext = this.resource.extension?.find(e => e.url === "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-performerType") - return ext - } - - 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 as Record | undefined)?.valueCode as string | undefined - } - - public getAssembleExpectationExtension (): Extension | undefined { - const ext = this.resource.extension?.find(e => e.url === "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-assemble-expectation") - 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/Questionnaire_SDCModularQuestionnaire.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-sdc/profiles/Questionnaire_SDCModularQuestionnaire.ts deleted file mode 100644 index 69364b646..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-sdc/profiles/Questionnaire_SDCModularQuestionnaire.ts +++ /dev/null @@ -1,200 +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"; - -export interface SDCModularQuestionnaire extends Questionnaire { - url: string; -} - -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 } 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 } 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 } 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 } 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 } 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 } 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 } 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 } 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 as Record | undefined)?.valueMarkdown as string | undefined - } - - public getDesignNoteExtension (): Extension | undefined { - const ext = this.resource.extension?.find(e => e.url === "http://hl7.org/fhir/StructureDefinition/designNote") - return ext - } - - 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 as Record | undefined)?.valueUrl as string | undefined - } - - public getTerminologyServerExtension (): Extension | undefined { - const ext = this.resource.extension?.find(e => e.url === "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-preferredTerminologyServer") - return ext - } - - 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 as Record | undefined)?.valueCode as string | undefined - } - - public getPerformerTypeExtension (): Extension | undefined { - const ext = this.resource.extension?.find(e => e.url === "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-performerType") - return ext - } - - 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 as Record | undefined)?.valueCode as string | undefined - } - - public getAssembleExpectationExtension (): Extension | undefined { - const ext = this.resource.extension?.find(e => e.url === "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-assemble-expectation") - return ext - } - - 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 as Record | undefined)?.valueString as string | undefined - } - - public getAssembleContextExtension (): Extension | undefined { - const ext = this.resource.extension?.find(e => e.url === "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-assembleContext") - return ext - } - - 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 as Record | undefined)?.valueCanonical as string | undefined - } - - public getSubQuestionnaireExtension (): 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/uv/sdc/StructureDefinition/sdc-questionnaire-subQuestionnaire") - 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 deleted file mode 100644 index 8c5642484..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-sdc/profiles/Questionnaire_SDCQuestionnaireAdapt.ts +++ /dev/null @@ -1,129 +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"; - -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/Questionnaire_SDCQuestionnaireAdaptSearch.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-sdc/profiles/Questionnaire_SDCQuestionnaireAdaptSearch.ts deleted file mode 100644 index 341be7e31..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-sdc/profiles/Questionnaire_SDCQuestionnaireAdaptSearch.ts +++ /dev/null @@ -1,233 +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"; - -export interface SDCQuestionnaireAdaptSearch extends Questionnaire { - url: string; - title: string; - date: string; -} - -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 } 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 } 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 } 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 } 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 } 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 } 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 } as Extension) - return this - } - - 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 setSubmissionEndpoint (value: string): this { - const list = (this.resource.extension ??= []) - 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 as Record | undefined)?.valueMarkdown as string | undefined - } - - public getDesignNoteExtension (): Extension | undefined { - const ext = this.resource.extension?.find(e => e.url === "http://hl7.org/fhir/StructureDefinition/designNote") - return ext - } - - 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 as Record | undefined)?.valueUrl as string | undefined - } - - public getTerminologyServerExtension (): Extension | undefined { - const ext = this.resource.extension?.find(e => e.url === "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-preferredTerminologyServer") - return ext - } - - 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 as Record | undefined)?.valueCode as string | undefined - } - - public getPerformerTypeExtension (): Extension | undefined { - const ext = this.resource.extension?.find(e => e.url === "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-performerType") - return ext - } - - 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 as Record | undefined)?.valueCode as string | undefined - } - - public getAssembleExpectationExtension (): Extension | undefined { - const ext = this.resource.extension?.find(e => e.url === "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-assemble-expectation") - return ext - } - - 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 as Record | undefined)?.valueCanonical as string | undefined - } - - public getAssembledFromExtension (): Extension | undefined { - const ext = this.resource.extension?.find(e => e.url === "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-assembledFrom") - return ext - } - - public getQuestionnaireAdaptive (): Extension | undefined { - return this.resource.extension?.find(e => e.url === "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-questionnaireAdaptive") - } - - 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 as Record | undefined)?.valueUri as string | undefined - } - - public getSubmissionEndpointExtension (): Extension | undefined { - const ext = this.resource.extension?.find(e => e.url === "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-endpoint") - 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/Questionnaire_SDCQuestionnaireBehave.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-sdc/profiles/Questionnaire_SDCQuestionnaireBehave.ts deleted file mode 100644 index 601962a88..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-sdc/profiles/Questionnaire_SDCQuestionnaireBehave.ts +++ /dev/null @@ -1,994 +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 { Expression } from "../../hl7-fhir-r4-core/Expression"; -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"; - -export interface SDCQuestionnaireBehave extends Questionnaire { - url: string; -} - -export type SDCQuestionnaireBehave_ConstraintInput = { - key: string; - requirements?: string; - severity: string; - expression: string; - human: string; - location?: string[]; -} - -export type SDCQuestionnaireBehave_LaunchContextInput = { - name: Coding; - type: string[]; - description?: string; -} - -export type SDCQuestionnaireBehave_AnswerOptionsToggleExpressionInput = { - option: unknown[]; - expression: Expression; -} - -export type SDCQuestionnaireBehave_ItemConstraintInput = { - key: string; - requirements?: string; - severity: string; - expression: string; - human: string; - location?: string[]; -} - -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 } 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 } 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 } 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 } 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 } 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 } 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 } 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 } 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 } as Extension) - return this - } - - public setConstraint (input: SDCQuestionnaireBehave_ConstraintInput): this { - const subExtensions: Extension[] = [] - if (input.key !== undefined) { - subExtensions.push({ url: "key", valueId: input.key }) - } - if (input.requirements !== undefined) { - subExtensions.push({ url: "requirements", valueString: input.requirements }) - } - if (input.severity !== undefined) { - subExtensions.push({ url: "severity", valueCode: input.severity }) - } - if (input.expression !== undefined) { - subExtensions.push({ url: "expression", valueString: input.expression }) - } - if (input.human !== undefined) { - subExtensions.push({ url: "human", valueString: input.human }) - } - if (input.location) { - for (const item of input.location) { - subExtensions.push({ url: "location", valueString: item }) - } - } - const list = (this.resource.extension ??= []) - list.push({ url: "http://hl7.org/fhir/StructureDefinition/questionnaire-constraint", extension: subExtensions }) - return this - } - - 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 setLaunchContext (input: SDCQuestionnaireBehave_LaunchContextInput): this { - const subExtensions: Extension[] = [] - if (input.name !== undefined) { - subExtensions.push({ url: "name", valueCoding: input.name }) - } - if (input.type) { - for (const item of input.type) { - subExtensions.push({ url: "type", valueCode: item }) - } - } - if (input.description !== undefined) { - subExtensions.push({ url: "description", valueString: input.description }) - } - const list = (this.resource.extension ??= []) - list.push({ url: "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-launchContext", extension: subExtensions }) - return this - } - - public setVariable (value: Expression): this { - const list = (this.resource.extension ??= []) - 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 } 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 } 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 } 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 } 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 } 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 } 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 } as Extension) - return this - } - - public setMinValue (value: Omit): 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/minValue", ...value }) - return this - } - - public setMaxValue (value: Omit): 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/maxValue", ...value }) - return this - } - - 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 } 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 } 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 } 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 } 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 } as Extension) - return this - } - - public setAnswerOptionsToggleExpression (input: SDCQuestionnaireBehave_AnswerOptionsToggleExpressionInput): this { - const subExtensions: Extension[] = [] - if (input.option) { - for (const item of input.option) { - subExtensions.push({ url: "option", value: item } as Extension) - } - } - if (input.expression !== undefined) { - subExtensions.push({ url: "expression", valueExpression: input.expression }) - } - 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-answerOptionsToggleExpression", extension: subExtensions }) - return this - } - - 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 } 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 } 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 } 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 } 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 } 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 } 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 } 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 } as Extension) - return this - } - - public setItemConstraint (input: SDCQuestionnaireBehave_ItemConstraintInput): this { - const subExtensions: Extension[] = [] - if (input.key !== undefined) { - subExtensions.push({ url: "key", valueId: input.key }) - } - if (input.requirements !== undefined) { - subExtensions.push({ url: "requirements", valueString: input.requirements }) - } - if (input.severity !== undefined) { - subExtensions.push({ url: "severity", valueCode: input.severity }) - } - if (input.expression !== undefined) { - subExtensions.push({ url: "expression", valueString: input.expression }) - } - if (input.human !== undefined) { - subExtensions.push({ url: "human", valueString: input.human }) - } - if (input.location) { - for (const item of input.location) { - subExtensions.push({ url: "location", valueString: item }) - } - } - 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-constraint", extension: subExtensions }) - 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 } 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 } 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 } 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 } 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 } 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 } 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 } 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 } 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 } 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 as Record | undefined)?.valueMarkdown as string | undefined - } - - public getDesignNoteExtension (): Extension | undefined { - const ext = this.resource.extension?.find(e => e.url === "http://hl7.org/fhir/StructureDefinition/designNote") - return ext - } - - 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 as Record | undefined)?.valueUrl as string | undefined - } - - public getTerminologyServerExtension (): Extension | undefined { - const ext = this.resource.extension?.find(e => e.url === "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-preferredTerminologyServer") - return ext - } - - 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 as Record | undefined)?.valueCode as string | undefined - } - - public getPerformerTypeExtension (): Extension | undefined { - const ext = this.resource.extension?.find(e => e.url === "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-performerType") - return ext - } - - 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 as Record | undefined)?.valueCode as string | undefined - } - - public getAssembleExpectationExtension (): Extension | undefined { - const ext = this.resource.extension?.find(e => e.url === "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-assemble-expectation") - return ext - } - - 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 as Record | undefined)?.valueCode as string | undefined - } - - public getEntryModeExtension (): Extension | undefined { - const ext = this.resource.extension?.find(e => e.url === "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-entryMode") - return ext - } - - 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 as Record | undefined)?.valueUri as string | undefined - } - - public getSubmissionEndpointExtension (): Extension | undefined { - const ext = this.resource.extension?.find(e => e.url === "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-endpoint") - return ext - } - - public getSignatureRequired (): CodeableConcept | undefined { - const ext = this.resource.extension?.find(e => e.url === "http://hl7.org/fhir/StructureDefinition/questionnaire-signatureRequired") - return (ext as Record | undefined)?.valueCodeableConcept as CodeableConcept | undefined - } - - public getSignatureRequiredExtension (): Extension | undefined { - const ext = this.resource.extension?.find(e => e.url === "http://hl7.org/fhir/StructureDefinition/questionnaire-signatureRequired") - return ext - } - - public getConstraint (): SDCQuestionnaireBehave_ConstraintInput | undefined { - const ext = this.resource.extension?.find(e => e.url === "http://hl7.org/fhir/StructureDefinition/questionnaire-constraint") - if (!ext) return undefined - const config = [{ name: "key", valueField: "valueId", isArray: false }, { name: "requirements", valueField: "valueString", isArray: false }, { name: "severity", valueField: "valueCode", isArray: false }, { name: "expression", valueField: "valueString", isArray: false }, { name: "human", valueField: "valueString", isArray: false }, { name: "location", valueField: "valueString", isArray: true }] - return extractComplexExtension(ext as unknown as { extension?: Array<{ url?: string; [key: string]: unknown }> }, config) as SDCQuestionnaireBehave_ConstraintInput - } - - public getConstraintExtension (): Extension | undefined { - const ext = this.resource.extension?.find(e => e.url === "http://hl7.org/fhir/StructureDefinition/questionnaire-constraint") - return ext - } - - 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 - } - - public getLaunchContext (): SDCQuestionnaireBehave_LaunchContextInput | undefined { - const ext = this.resource.extension?.find(e => e.url === "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-launchContext") - if (!ext) return undefined - const config = [{ name: "name", valueField: "valueCoding", isArray: false }, { name: "type", valueField: "valueCode", isArray: true }, { name: "description", valueField: "valueString", isArray: false }] - return extractComplexExtension(ext as unknown as { extension?: Array<{ url?: string; [key: string]: unknown }> }, config) as SDCQuestionnaireBehave_LaunchContextInput - } - - public getLaunchContextExtension (): Extension | undefined { - const ext = this.resource.extension?.find(e => e.url === "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-launchContext") - return ext - } - - public getVariable (): Expression | undefined { - const ext = this.resource.extension?.find(e => e.url === "http://hl7.org/fhir/StructureDefinition/variable") - return (ext as Record | undefined)?.valueExpression as Expression | undefined - } - - public getVariableExtension (): Extension | undefined { - const ext = this.resource.extension?.find(e => e.url === "http://hl7.org/fhir/StructureDefinition/variable") - return ext - } - - 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 as Record | undefined)?.valueExpression as Expression | undefined - } - - public getAnswerExpressionExtension (): 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/uv/sdc/StructureDefinition/sdc-questionnaire-answerExpression") - return ext - } - - 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 as Record | undefined)?.valueCode as string | undefined - } - - public getUsageModeExtension (): 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-usageMode") - return ext - } - - 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 as Record | undefined)?.valueCodeableConcept as CodeableConcept | undefined - } - - public getItemSignatureRequiredExtension (): 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-signatureRequired") - return ext - } - - 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 as Record | undefined)?.valueInteger as number | undefined - } - - public getItemMinOccursExtension (): 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-minOccurs") - return ext - } - - 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 as Record | undefined)?.valueInteger as number | undefined - } - - public getItemMaxOccursExtension (): 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-maxOccurs") - return ext - } - - 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 as Record | undefined)?.valueInteger as number | undefined - } - - public getMinLengthExtension (): 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/minLength") - return ext - } - - 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 as Record | undefined)?.valueString as string | undefined - } - - public getRegexExtension (): 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/regex") - return ext - } - - public getMinValue (): Extension | undefined { - const target = getOrCreateObjectAtPath(this.resource as unknown as Record, ["item"]) - return (target.extension as Extension[] | undefined)?.find(e => e.url === "http://hl7.org/fhir/StructureDefinition/minValue") - } - - public getMaxValue (): Extension | undefined { - const target = getOrCreateObjectAtPath(this.resource as unknown as Record, ["item"]) - return (target.extension as Extension[] | undefined)?.find(e => e.url === "http://hl7.org/fhir/StructureDefinition/maxValue") - } - - 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 as Record | undefined)?.valueQuantity as Quantity | undefined - } - - public getMinQuantityExtension (): 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/uv/sdc/StructureDefinition/sdc-questionnaire-minQuantity") - return ext - } - - 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 as Record | undefined)?.valueQuantity as Quantity | undefined - } - - public getMaxQuantityExtension (): 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/uv/sdc/StructureDefinition/sdc-questionnaire-maxQuantity") - return ext - } - - 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 as Record | undefined)?.valueInteger as number | undefined - } - - public getMaxDecimalPlacesExtension (): 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/maxDecimalPlaces") - return ext - } - - 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 as Record | undefined)?.valueCode as string | undefined - } - - public getMimeTypeExtension (): 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/mimeType") - return ext - } - - 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 as Record | undefined)?.valueDecimal as number | undefined - } - - public getMaxSizeExtension (): 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/maxSize") - return ext - } - - public getAnswerOptionsToggleExpression (): SDCQuestionnaireBehave_AnswerOptionsToggleExpressionInput | 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-answerOptionsToggleExpression") - if (!ext) return undefined - const config = [{ name: "option", valueField: "value", isArray: true }, { name: "expression", valueField: "valueExpression", isArray: false }] - return extractComplexExtension(ext as unknown as { extension?: Array<{ url?: string; [key: string]: unknown }> }, config) as SDCQuestionnaireBehave_AnswerOptionsToggleExpressionInput - } - - public getAnswerOptionsToggleExpressionExtension (): 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/uv/sdc/StructureDefinition/sdc-questionnaire-answerOptionsToggleExpression") - return ext - } - - 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 as Record | undefined)?.valueCoding as Coding | undefined - } - - public getUnitOptionExtension (): 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-unitOption") - return ext - } - - 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 as Record | undefined)?.valueCanonical as string | undefined - } - - public getUnitValueSetExtension (): 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-unitValueSet") - return ext - } - - 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 as Record | undefined)?.valueCode as string | undefined - } - - public getUnitOpenExtension (): 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/uv/sdc/StructureDefinition/sdc-questionnaire-unitOpen") - return ext - } - - 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 as Record | undefined)?.valueCanonical as string | undefined - } - - public getUnitSupplementalSystemExtension (): 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/uv/sdc/StructureDefinition/sdc-questionnaire-unitSupplementalSystem") - return ext - } - - 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 as Record | undefined)?.valueCode as string | undefined - } - - public getAllowedResourceExtension (): 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-referenceResource") - return ext - } - - 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 as Record | undefined)?.valueCanonical as string | undefined - } - - public getAllowedProfileExtension (): 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-referenceProfile") - return ext - } - - 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 as Record | undefined)?.valueExpression as Expression | undefined - } - - public getCandidateExpressionExtension (): 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/uv/sdc/StructureDefinition/sdc-questionnaire-candidateExpression") - return ext - } - - 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 as Record | undefined)?.valueCanonical as string | undefined - } - - public getLookupQuestionnaireExtension (): 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/uv/sdc/StructureDefinition/sdc-questionnaire-lookupQuestionnaire") - return ext - } - - public getItemConstraint (): SDCQuestionnaireBehave_ItemConstraintInput | 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-constraint") - if (!ext) return undefined - const config = [{ name: "key", valueField: "valueId", isArray: false }, { name: "requirements", valueField: "valueString", isArray: false }, { name: "severity", valueField: "valueCode", isArray: false }, { name: "expression", valueField: "valueString", isArray: false }, { name: "human", valueField: "valueString", isArray: false }, { name: "location", valueField: "valueString", isArray: true }] - return extractComplexExtension(ext as unknown as { extension?: Array<{ url?: string; [key: string]: unknown }> }, config) as SDCQuestionnaireBehave_ItemConstraintInput - } - - public getItemConstraintExtension (): 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-constraint") - return ext - } - - 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 as Record | undefined)?.valueExpression as Expression | undefined - } - - public getInitialExpressionExtension (): 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/uv/sdc/StructureDefinition/sdc-questionnaire-initialExpression") - return ext - } - - 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 as Record | undefined)?.valueExpression as Expression | undefined - } - - public getCalculatedExpressionExtension (): 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/uv/sdc/StructureDefinition/sdc-questionnaire-calculatedExpression") - return ext - } - - 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 as Record | undefined)?.valueExpression as Expression | undefined - } - - public getEnableWhenExpressionExtension (): 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/uv/sdc/StructureDefinition/sdc-questionnaire-enableWhenExpression") - return ext - } - - 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 as Record | undefined)?.valueExpression as Expression | undefined - } - - public getRequiredExpressionExtension (): Extension | 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 - } - - 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 as Record | undefined)?.valueExpression as Expression | undefined - } - - public getRepeatsExpressionExtension (): Extension | 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 - } - - 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 as Record | undefined)?.valueExpression as Expression | undefined - } - - public getReadOnlyExpressionExtension (): Extension | 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 - } - - 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 as Record | undefined)?.valueExpression as Expression | undefined - } - - public getAnswerValueSetExpressionExtension (): Extension | 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 - } - - 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 as Record | undefined)?.valueBoolean as boolean | undefined - } - - public getOptionExclusiveExtension (): Extension | 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 - } - - 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 as Record | undefined)?.valueDecimal as number | undefined - } - - public getOrdinalValueExtension (): Extension | 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 - } - - 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/Questionnaire_SDCQuestionnaireExtractDefinition.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-sdc/profiles/Questionnaire_SDCQuestionnaireExtractDefinition.ts deleted file mode 100644 index 418213ec6..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-sdc/profiles/Questionnaire_SDCQuestionnaireExtractDefinition.ts +++ /dev/null @@ -1,295 +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 { Coding } from "../../hl7-fhir-r4-core/Coding"; -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"; - -export interface SDCQuestionnaireExtractDefinition extends Questionnaire { - url: string; -} - -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 } 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 } 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 } 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 } 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 } 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 } 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 } as Extension) - return this - } - - public setExtensionItemExtractionContext (value: Omit): this { - const list = (this.resource.extension ??= []) - list.push({ url: "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-itemExtractionContext", ...value }) - 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 } as Extension) - return this - } - - public setExtensionItemItemExtractionContext (value: Omit): 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-itemExtractionContext", ...value }) - 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 } 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 } 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 } 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 } 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 as Record | undefined)?.valueMarkdown as string | undefined - } - - public getDesignNoteExtension (): Extension | undefined { - const ext = this.resource.extension?.find(e => e.url === "http://hl7.org/fhir/StructureDefinition/designNote") - return ext - } - - 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 as Record | undefined)?.valueUrl as string | undefined - } - - public getTerminologyServerExtension (): Extension | undefined { - const ext = this.resource.extension?.find(e => e.url === "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-preferredTerminologyServer") - return ext - } - - 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 as Record | undefined)?.valueCode as string | undefined - } - - public getPerformerTypeExtension (): Extension | undefined { - const ext = this.resource.extension?.find(e => e.url === "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-performerType") - return ext - } - - 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 as Record | undefined)?.valueCode as string | undefined - } - - public getAssembleExpectationExtension (): Extension | undefined { - const ext = this.resource.extension?.find(e => e.url === "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-assemble-expectation") - return ext - } - - 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 - } - - public getItemExtractionContext (): Extension | undefined { - return this.resource.extension?.find(e => e.url === "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-itemExtractionContext") - } - - 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 as Record | undefined)?.valueCoding as Coding | undefined - } - - public getUnitExtension (): 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-unit") - return ext - } - - 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 as Record | undefined)?.valueExpression as Expression | undefined - } - - public getItemVariableExtension (): 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/variable") - return ext - } - - 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 as Record | undefined)?.valueExpression as Expression | undefined - } - - public getInitialExpressionExtension (): 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/uv/sdc/StructureDefinition/sdc-questionnaire-initialExpression") - return ext - } - - 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 as Record | undefined)?.valueBoolean as boolean | undefined - } - - public getItemHiddenExtension (): 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 - } - - 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 as Record | undefined)?.valueBoolean as boolean | undefined - } - - public getIsSubjectExtension (): 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/uv/sdc/StructureDefinition/sdc-questionnaire-isSubject") - 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/Questionnaire_SDCQuestionnaireExtractObservation.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-sdc/profiles/Questionnaire_SDCQuestionnaireExtractObservation.ts deleted file mode 100644 index 55ab87a1a..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-sdc/profiles/Questionnaire_SDCQuestionnaireExtractObservation.ts +++ /dev/null @@ -1,250 +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 { Extension } from "../../hl7-fhir-r4-core/Extension"; -import type { Questionnaire } from "../../hl7-fhir-r4-core/Questionnaire"; - -export interface SDCQuestionnaireExtractObservation extends Questionnaire { - url: string; -} - -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 } 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 } 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 } 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 } 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 } 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 } 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 } 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 } 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 } 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 } 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 } 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 as Record | undefined)?.valueMarkdown as string | undefined - } - - public getDesignNoteExtension (): Extension | undefined { - const ext = this.resource.extension?.find(e => e.url === "http://hl7.org/fhir/StructureDefinition/designNote") - return ext - } - - 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 as Record | undefined)?.valueUrl as string | undefined - } - - public getTerminologyServerExtension (): Extension | undefined { - const ext = this.resource.extension?.find(e => e.url === "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-preferredTerminologyServer") - return ext - } - - 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 as Record | undefined)?.valueCode as string | undefined - } - - public getPerformerTypeExtension (): Extension | undefined { - const ext = this.resource.extension?.find(e => e.url === "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-performerType") - return ext - } - - 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 as Record | undefined)?.valueCode as string | undefined - } - - public getAssembleExpectationExtension (): Extension | undefined { - const ext = this.resource.extension?.find(e => e.url === "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-assemble-expectation") - return ext - } - - 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 as Record | undefined)?.valueCoding as Coding | undefined - } - - public getUnitExtension (): 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-unit") - return ext - } - - 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 as Record | undefined)?.valueBoolean as boolean | undefined - } - - public getObservationExtractExtension (): 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/uv/sdc/StructureDefinition/sdc-questionnaire-observationExtract") - return ext - } - - 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 as Record | undefined)?.valueCodeableConcept as CodeableConcept | undefined - } - - public getObservationExtractCategoryExtension (): 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/uv/sdc/StructureDefinition/sdc-questionnaire-observation-extract-category") - return ext - } - - 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 as Record | undefined)?.valueBoolean as boolean | undefined - } - - public getIsSubjectExtension (): 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/uv/sdc/StructureDefinition/sdc-questionnaire-isSubject") - 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/Questionnaire_SDCQuestionnaireExtractStructureMap.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-sdc/profiles/Questionnaire_SDCQuestionnaireExtractStructureMap.ts deleted file mode 100644 index 61b1b996c..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-sdc/profiles/Questionnaire_SDCQuestionnaireExtractStructureMap.ts +++ /dev/null @@ -1,239 +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 { 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"; - -export interface SDCQuestionnaireExtractStructureMap extends Questionnaire { - url: string; -} - -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 } 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 } 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 } 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 } 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 } 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 } 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 } 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 } 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 } 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 } 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 as Record | undefined)?.valueMarkdown as string | undefined - } - - public getDesignNoteExtension (): Extension | undefined { - const ext = this.resource.extension?.find(e => e.url === "http://hl7.org/fhir/StructureDefinition/designNote") - return ext - } - - 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 as Record | undefined)?.valueUrl as string | undefined - } - - public getTerminologyServerExtension (): Extension | undefined { - const ext = this.resource.extension?.find(e => e.url === "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-preferredTerminologyServer") - return ext - } - - 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 as Record | undefined)?.valueCode as string | undefined - } - - public getPerformerTypeExtension (): Extension | undefined { - const ext = this.resource.extension?.find(e => e.url === "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-performerType") - return ext - } - - 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 as Record | undefined)?.valueCode as string | undefined - } - - public getAssembleExpectationExtension (): Extension | undefined { - const ext = this.resource.extension?.find(e => e.url === "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-assemble-expectation") - return ext - } - - 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 as Record | undefined)?.valueCanonical as string | undefined - } - - public getTargetStructureMapExtension (): Extension | undefined { - const ext = this.resource.extension?.find(e => e.url === "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-targetStructureMap") - return ext - } - - 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 as Record | undefined)?.valueCoding as Coding | undefined - } - - public getUnitExtension (): 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-unit") - return ext - } - - 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 as Record | undefined)?.valueBoolean as boolean | undefined - } - - public getItemHiddenExtension (): 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 - } - - 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 as Record | undefined)?.valueBoolean as boolean | undefined - } - - public getIsSubjectExtension (): 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/uv/sdc/StructureDefinition/sdc-questionnaire-isSubject") - 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/Questionnaire_SDCQuestionnairePopulateExpression.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-sdc/profiles/Questionnaire_SDCQuestionnairePopulateExpression.ts deleted file mode 100644 index b07056c96..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-sdc/profiles/Questionnaire_SDCQuestionnairePopulateExpression.ts +++ /dev/null @@ -1,447 +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 { Coding } from "../../hl7-fhir-r4-core/Coding"; -import type { Expression } from "../../hl7-fhir-r4-core/Expression"; -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"; - -export interface SDCQuestionnairePopulateExpression extends Questionnaire { - url: string; -} - -export type SDCQuestionnairePopulateExpression_LaunchContextInput = { - name: Coding; - type: string[]; - description?: string; -} - -export type SDCQuestionnairePopulateExpression_ContextExpressionInput = { - label: string; - expression: Expression; -} - -export type SDCQuestionnairePopulateExpression_ChoiceColumnInput = { - path: string; - label?: string; - width?: Quantity; - forDisplay?: boolean; -} - -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 } 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 } 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 } 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 } 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 } 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 } 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 } as Extension) - return this - } - - public setLaunchContext (input: SDCQuestionnairePopulateExpression_LaunchContextInput): this { - const subExtensions: Extension[] = [] - if (input.name !== undefined) { - subExtensions.push({ url: "name", valueCoding: input.name }) - } - if (input.type) { - for (const item of input.type) { - subExtensions.push({ url: "type", valueCode: item }) - } - } - if (input.description !== undefined) { - subExtensions.push({ url: "description", valueString: input.description }) - } - const list = (this.resource.extension ??= []) - list.push({ url: "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-launchContext", extension: subExtensions }) - return this - } - - 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 } 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 } 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 } 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 } 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 } 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 } 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 } as Extension) - return this - } - - public setContextExpression (input: SDCQuestionnairePopulateExpression_ContextExpressionInput): this { - const subExtensions: Extension[] = [] - if (input.label !== undefined) { - subExtensions.push({ url: "label", valueString: input.label }) - } - if (input.expression !== undefined) { - subExtensions.push({ url: "expression", valueExpression: input.expression }) - } - 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-contextExpression", extension: subExtensions }) - 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 } as Extension) - return this - } - - public setChoiceColumn (input: SDCQuestionnairePopulateExpression_ChoiceColumnInput): this { - const subExtensions: Extension[] = [] - if (input.path !== undefined) { - subExtensions.push({ url: "path", valueString: input.path }) - } - if (input.label !== undefined) { - subExtensions.push({ url: "label", valueString: input.label }) - } - if (input.width !== undefined) { - subExtensions.push({ url: "width", valueQuantity: input.width }) - } - if (input.forDisplay !== undefined) { - subExtensions.push({ url: "forDisplay", valueBoolean: input.forDisplay }) - } - 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-choiceColumn", extension: subExtensions }) - 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 } 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 as Record | undefined)?.valueMarkdown as string | undefined - } - - public getDesignNoteExtension (): Extension | undefined { - const ext = this.resource.extension?.find(e => e.url === "http://hl7.org/fhir/StructureDefinition/designNote") - return ext - } - - 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 as Record | undefined)?.valueUrl as string | undefined - } - - public getTerminologyServerExtension (): Extension | undefined { - const ext = this.resource.extension?.find(e => e.url === "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-preferredTerminologyServer") - return ext - } - - 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 as Record | undefined)?.valueCode as string | undefined - } - - public getPerformerTypeExtension (): Extension | undefined { - const ext = this.resource.extension?.find(e => e.url === "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-performerType") - return ext - } - - 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 as Record | undefined)?.valueCode as string | undefined - } - - public getAssembleExpectationExtension (): Extension | undefined { - const ext = this.resource.extension?.find(e => e.url === "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-assemble-expectation") - return ext - } - - 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 - } - - public getLaunchContext (): SDCQuestionnairePopulateExpression_LaunchContextInput | undefined { - const ext = this.resource.extension?.find(e => e.url === "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-launchContext") - if (!ext) return undefined - const config = [{ name: "name", valueField: "valueCoding", isArray: false }, { name: "type", valueField: "valueCode", isArray: true }, { name: "description", valueField: "valueString", isArray: false }] - return extractComplexExtension(ext as unknown as { extension?: Array<{ url?: string; [key: string]: unknown }> }, config) as SDCQuestionnairePopulateExpression_LaunchContextInput - } - - public getLaunchContextExtension (): Extension | undefined { - const ext = this.resource.extension?.find(e => e.url === "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-launchContext") - return ext - } - - 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 as Record | undefined)?.valueExpression as Expression | undefined - } - - public getItemPopulationContextExtension (): Extension | undefined { - const ext = this.resource.extension?.find(e => e.url === "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-itemPopulationContext") - return ext - } - - public getVariable (): Expression | undefined { - const ext = this.resource.extension?.find(e => e.url === "http://hl7.org/fhir/StructureDefinition/variable") - return (ext as Record | undefined)?.valueExpression as Expression | undefined - } - - public getVariableExtension (): Extension | undefined { - const ext = this.resource.extension?.find(e => e.url === "http://hl7.org/fhir/StructureDefinition/variable") - return ext - } - - 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 as Record | undefined)?.valueCoding as Coding | undefined - } - - public getUnitExtension (): 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-unit") - return ext - } - - 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 as Record | undefined)?.valueExpression as Expression | undefined - } - - public getItemVariableExtension (): 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/variable") - return ext - } - - 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 as Record | undefined)?.valueExpression as Expression | undefined - } - - public getInitialExpressionExtension (): 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/uv/sdc/StructureDefinition/sdc-questionnaire-initialExpression") - return ext - } - - 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 as Record | undefined)?.valueExpression as Expression | undefined - } - - public getCandidateExpressionExtension (): 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/uv/sdc/StructureDefinition/sdc-questionnaire-candidateExpression") - return ext - } - - public getContextExpression (): SDCQuestionnairePopulateExpression_ContextExpressionInput | 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-contextExpression") - if (!ext) return undefined - const config = [{ name: "label", valueField: "valueString", isArray: false }, { name: "expression", valueField: "valueExpression", isArray: false }] - return extractComplexExtension(ext as unknown as { extension?: Array<{ url?: string; [key: string]: unknown }> }, config) as SDCQuestionnairePopulateExpression_ContextExpressionInput - } - - public getContextExpressionExtension (): 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/uv/sdc/StructureDefinition/sdc-questionnaire-contextExpression") - return ext - } - - 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 as Record | undefined)?.valueBoolean as boolean | undefined - } - - public getItemHiddenExtension (): 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 - } - - public getChoiceColumn (): SDCQuestionnairePopulateExpression_ChoiceColumnInput | 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-choiceColumn") - if (!ext) return undefined - const config = [{ name: "path", valueField: "valueString", isArray: false }, { name: "label", valueField: "valueString", isArray: false }, { name: "width", valueField: "valueQuantity", isArray: false }, { name: "forDisplay", valueField: "valueBoolean", isArray: false }] - return extractComplexExtension(ext as unknown as { extension?: Array<{ url?: string; [key: string]: unknown }> }, config) as SDCQuestionnairePopulateExpression_ChoiceColumnInput - } - - public getChoiceColumnExtension (): 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/uv/sdc/StructureDefinition/sdc-questionnaire-choiceColumn") - return ext - } - - 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 as Record | undefined)?.valueBoolean as boolean | undefined - } - - public getIsSubjectExtension (): 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/uv/sdc/StructureDefinition/sdc-questionnaire-isSubject") - 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/Questionnaire_SDCQuestionnairePopulateObservation.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-sdc/profiles/Questionnaire_SDCQuestionnairePopulateObservation.ts deleted file mode 100644 index bd638e9b7..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-sdc/profiles/Questionnaire_SDCQuestionnairePopulateObservation.ts +++ /dev/null @@ -1,224 +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 { Coding } from "../../hl7-fhir-r4-core/Coding"; -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"; - -export interface SDCQuestionnairePopulateObservation extends Questionnaire { - url: string; -} - -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 } 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 } 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 } 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 } 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 } 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 } 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 } 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 } 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 } 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 as Record | undefined)?.valueMarkdown as string | undefined - } - - public getDesignNoteExtension (): Extension | undefined { - const ext = this.resource.extension?.find(e => e.url === "http://hl7.org/fhir/StructureDefinition/designNote") - return ext - } - - 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 as Record | undefined)?.valueUrl as string | undefined - } - - public getTerminologyServerExtension (): Extension | undefined { - const ext = this.resource.extension?.find(e => e.url === "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-preferredTerminologyServer") - return ext - } - - 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 as Record | undefined)?.valueCode as string | undefined - } - - public getPerformerTypeExtension (): Extension | undefined { - const ext = this.resource.extension?.find(e => e.url === "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-performerType") - return ext - } - - 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 as Record | undefined)?.valueCode as string | undefined - } - - public getAssembleExpectationExtension (): Extension | undefined { - const ext = this.resource.extension?.find(e => e.url === "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-assemble-expectation") - return ext - } - - 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 as Record | undefined)?.valueDuration as Duration | undefined - } - - public getObservationLinkPeriodExtension (): 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/uv/sdc/StructureDefinition/sdc-questionnaire-observationLinkPeriod") - return ext - } - - 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 as Record | undefined)?.valueCoding as Coding | undefined - } - - public getUnitExtension (): 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-unit") - return ext - } - - 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 as Record | undefined)?.valueBoolean as boolean | undefined - } - - public getIsSubjectExtension (): 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/uv/sdc/StructureDefinition/sdc-questionnaire-isSubject") - 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/Questionnaire_SDCQuestionnairePopulateStructureMap.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-sdc/profiles/Questionnaire_SDCQuestionnairePopulateStructureMap.ts deleted file mode 100644 index b83850514..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-sdc/profiles/Questionnaire_SDCQuestionnairePopulateStructureMap.ts +++ /dev/null @@ -1,292 +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 { 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"; -import type { Reference } from "../../hl7-fhir-r4-core/Reference"; - -export interface SDCQuestionnairePopulateStructureMap extends Questionnaire { - url: string; -} - -export type SDCQuestionnairePopulateStructureMap_LaunchContextInput = { - name: Coding; - type: string[]; - description?: string; -} - -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 } 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 } 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 } 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 } 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 } 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 } as Extension) - return this - } - - public setLaunchContext (input: SDCQuestionnairePopulateStructureMap_LaunchContextInput): this { - const subExtensions: Extension[] = [] - if (input.name !== undefined) { - subExtensions.push({ url: "name", valueCoding: input.name }) - } - if (input.type) { - for (const item of input.type) { - subExtensions.push({ url: "type", valueCode: item }) - } - } - if (input.description !== undefined) { - subExtensions.push({ url: "description", valueString: input.description }) - } - const list = (this.resource.extension ??= []) - list.push({ url: "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-launchContext", extension: subExtensions }) - return this - } - - 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 } 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 } 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 } 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 } 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 } 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 as Record | undefined)?.valueMarkdown as string | undefined - } - - public getDesignNoteExtension (): Extension | undefined { - const ext = this.resource.extension?.find(e => e.url === "http://hl7.org/fhir/StructureDefinition/designNote") - return ext - } - - 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 as Record | undefined)?.valueUrl as string | undefined - } - - public getTerminologyServerExtension (): Extension | undefined { - const ext = this.resource.extension?.find(e => e.url === "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-preferredTerminologyServer") - return ext - } - - 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 as Record | undefined)?.valueCode as string | undefined - } - - public getPerformerTypeExtension (): Extension | undefined { - const ext = this.resource.extension?.find(e => e.url === "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-performerType") - return ext - } - - 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 as Record | undefined)?.valueCode as string | undefined - } - - public getAssembleExpectationExtension (): Extension | undefined { - const ext = this.resource.extension?.find(e => e.url === "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-assemble-expectation") - return ext - } - - public getLaunchContext (): SDCQuestionnairePopulateStructureMap_LaunchContextInput | undefined { - const ext = this.resource.extension?.find(e => e.url === "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-launchContext") - if (!ext) return undefined - const config = [{ name: "name", valueField: "valueCoding", isArray: false }, { name: "type", valueField: "valueCode", isArray: true }, { name: "description", valueField: "valueString", isArray: false }] - return extractComplexExtension(ext as unknown as { extension?: Array<{ url?: string; [key: string]: unknown }> }, config) as SDCQuestionnairePopulateStructureMap_LaunchContextInput - } - - public getLaunchContextExtension (): Extension | undefined { - const ext = this.resource.extension?.find(e => e.url === "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-launchContext") - return ext - } - - 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 as Record | undefined)?.valueReference as Reference | undefined - } - - public getSourceQueriesExtension (): Extension | undefined { - const ext = this.resource.extension?.find(e => e.url === "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-sourceQueries") - return ext - } - - 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 as Record | undefined)?.valueCanonical as string | undefined - } - - public getSourceStructureMapExtension (): Extension | undefined { - const ext = this.resource.extension?.find(e => e.url === "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-sourceStructureMap") - return ext - } - - 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 as Record | undefined)?.valueCoding as Coding | undefined - } - - public getUnitExtension (): 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-unit") - return ext - } - - 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 as Record | undefined)?.valueBoolean as boolean | undefined - } - - public getItemHiddenExtension (): 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 - } - - 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 as Record | undefined)?.valueBoolean as boolean | undefined - } - - public getIsSubjectExtension (): 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/uv/sdc/StructureDefinition/sdc-questionnaire-isSubject") - 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/Questionnaire_SDCQuestionnaireRender.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-sdc/profiles/Questionnaire_SDCQuestionnaireRender.ts deleted file mode 100644 index 7016aad33..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-sdc/profiles/Questionnaire_SDCQuestionnaireRender.ts +++ /dev/null @@ -1,663 +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-r4-core/Attachment"; -import type { CodeableConcept } from "../../hl7-fhir-r4-core/CodeableConcept"; -import type { Expression } from "../../hl7-fhir-r4-core/Expression"; -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"; - -export interface SDCQuestionnaireRender extends Questionnaire { - url: string; -} - -export type SDCQuestionnaireRender_ChoiceColumnInput = { - path: string; - label?: string; - width?: Quantity; - forDisplay?: boolean; -} - -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 } 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 } 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 } 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 } 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 } 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 } 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 } 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 } 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 } 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 } 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 } 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 } 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 } 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 } 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 } 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 } 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 } 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 } as Extension) - return this - } - - public setChoiceColumn (input: SDCQuestionnaireRender_ChoiceColumnInput): this { - const subExtensions: Extension[] = [] - if (input.path !== undefined) { - subExtensions.push({ url: "path", valueString: input.path }) - } - if (input.label !== undefined) { - subExtensions.push({ url: "label", valueString: input.label }) - } - if (input.width !== undefined) { - subExtensions.push({ url: "width", valueQuantity: input.width }) - } - if (input.forDisplay !== undefined) { - subExtensions.push({ url: "forDisplay", valueBoolean: input.forDisplay }) - } - 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-choiceColumn", extension: subExtensions }) - return this - } - - 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 } 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 } 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 } 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 } 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 } 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 } 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 } 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 } 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 } 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 } 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 } 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 } 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 as Record | undefined)?.valueMarkdown as string | undefined - } - - public getDesignNoteExtension (): Extension | undefined { - const ext = this.resource.extension?.find(e => e.url === "http://hl7.org/fhir/StructureDefinition/designNote") - return ext - } - - 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 as Record | undefined)?.valueUrl as string | undefined - } - - public getTerminologyServerExtension (): Extension | undefined { - const ext = this.resource.extension?.find(e => e.url === "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-preferredTerminologyServer") - return ext - } - - 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 as Record | undefined)?.valueCode as string | undefined - } - - public getPerformerTypeExtension (): Extension | undefined { - const ext = this.resource.extension?.find(e => e.url === "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-performerType") - return ext - } - - 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 as Record | undefined)?.valueCode as string | undefined - } - - public getAssembleExpectationExtension (): Extension | undefined { - const ext = this.resource.extension?.find(e => e.url === "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-assemble-expectation") - return ext - } - - public getStyleSensitive (): boolean | undefined { - const ext = this.resource.extension?.find(e => e.url === "http://hl7.org/fhir/StructureDefinition/rendering-styleSensitive") - return (ext as Record | undefined)?.valueBoolean as boolean | undefined - } - - public getStyleSensitiveExtension (): Extension | undefined { - const ext = this.resource.extension?.find(e => e.url === "http://hl7.org/fhir/StructureDefinition/rendering-styleSensitive") - return ext - } - - 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 as Record | undefined)?.valueString as string | undefined - } - - public getTitleRenderingStyleExtension (): Extension | 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 - } - - 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 as Record | undefined)?.valueString as string | undefined - } - - public getTitleXhtmlExtension (): Extension | 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 - } - - 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 as Record | undefined)?.valueAttachment as Attachment | undefined - } - - public getItemMediaExtension (): 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/uv/sdc/StructureDefinition/sdc-questionnaire-itemMedia") - return ext - } - - 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 as Record | undefined)?.valueBoolean as boolean | undefined - } - - public getItemOptionalDisplayExtension (): 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/uv/sdc/StructureDefinition/sdc-questionnaire-optionalDisplay") - return ext - } - - 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 as Record | undefined)?.valueString as string | undefined - } - - public getItemShortTextExtension (): 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/uv/sdc/StructureDefinition/sdc-questionnaire-shortText") - return ext - } - - 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 as Record | undefined)?.valueBoolean as boolean | undefined - } - - public getItemHiddenExtension (): 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 - } - - 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 as Record | undefined)?.valueString as string | undefined - } - - public getOpenLabelExtension (): 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/uv/sdc/StructureDefinition/sdc-questionnaire-openLabel") - return ext - } - - 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 as Record | undefined)?.valueCodeableConcept as CodeableConcept | undefined - } - - public getItemControlExtension (): 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-itemControl") - return ext - } - - 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 as Record | undefined)?.valueCode as string | undefined - } - - public getChoiceOrientationExtension (): 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-choiceOrientation") - return ext - } - - 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 as Record | undefined)?.valueCodeableConcept as CodeableConcept | undefined - } - - public getDisplayCategoryExtension (): 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-displayCategory") - return ext - } - - 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 as Record | undefined)?.valueUri as string | undefined - } - - public getSupportLinkExtension (): 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-supportLink") - return ext - } - - public getChoiceColumn (): SDCQuestionnaireRender_ChoiceColumnInput | 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-choiceColumn") - if (!ext) return undefined - const config = [{ name: "path", valueField: "valueString", isArray: false }, { name: "label", valueField: "valueString", isArray: false }, { name: "width", valueField: "valueQuantity", isArray: false }, { name: "forDisplay", valueField: "valueBoolean", isArray: false }] - return extractComplexExtension(ext as unknown as { extension?: Array<{ url?: string; [key: string]: unknown }> }, config) as SDCQuestionnaireRender_ChoiceColumnInput - } - - public getChoiceColumnExtension (): 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/uv/sdc/StructureDefinition/sdc-questionnaire-choiceColumn") - return ext - } - - 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 as Record | undefined)?.valueQuantity as Quantity | undefined - } - - public getWidthExtension (): 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/uv/sdc/StructureDefinition/sdc-questionnaire-width") - return ext - } - - 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 as Record | undefined)?.valueInteger as number | undefined - } - - public getSliderStepValueExtension (): 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-sliderStepValue") - return ext - } - - 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 as Record | undefined)?.valueString as string | undefined - } - - public getEntryFormatExtension (): 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/entryFormat") - return ext - } - - 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 as Record | undefined)?.valueCode as string | undefined - } - - public getCollapsibleExtension (): 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/uv/sdc/StructureDefinition/sdc-questionnaire-collapsible") - return ext - } - - 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 as Record | undefined)?.valueString as string | undefined - } - - public getItemLabelRenderingStyleExtension (): Extension | 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 - } - - 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 as Record | undefined)?.valueString as string | undefined - } - - public getItemLabelXhtmlExtension (): Extension | 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 - } - - 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 as Record | undefined)?.valueString as string | undefined - } - - public getGroupTextRenderingStyleExtension (): Extension | 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 - } - - 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 as Record | undefined)?.valueString as string | undefined - } - - public getGroupTextXhtmlExtension (): Extension | 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 - } - - 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 as Record | undefined)?.valueExpression as Expression | undefined - } - - public getExpressionExtension (): Extension | 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 - } - - 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 as Record | undefined)?.valueAttachment as Attachment | undefined - } - - public getItemAnswerMediaExtension (): Extension | 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 - } - - 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 as Record | undefined)?.valueString as string | undefined - } - - public getOptionDisplayRenderingStyleExtension (): Extension | 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 - } - - 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 as Record | undefined)?.valueString as string | undefined - } - - public getOptionDisplayXhtmlExtension (): Extension | 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 - } - - 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/Questionnaire_SDCQuestionnaireSearch.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-sdc/profiles/Questionnaire_SDCQuestionnaireSearch.ts deleted file mode 100644 index a8f7cc694..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-sdc/profiles/Questionnaire_SDCQuestionnaireSearch.ts +++ /dev/null @@ -1,207 +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"; - -export interface SDCQuestionnaireSearch extends Questionnaire { - url: string; - title: string; - date: string; -} - -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 } 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 } 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 } 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 } 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 } 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 } 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 } 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 as Record | undefined)?.valueMarkdown as string | undefined - } - - public getDesignNoteExtension (): Extension | undefined { - const ext = this.resource.extension?.find(e => e.url === "http://hl7.org/fhir/StructureDefinition/designNote") - return ext - } - - 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 as Record | undefined)?.valueUrl as string | undefined - } - - public getTerminologyServerExtension (): Extension | undefined { - const ext = this.resource.extension?.find(e => e.url === "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-preferredTerminologyServer") - return ext - } - - 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 as Record | undefined)?.valueCode as string | undefined - } - - public getPerformerTypeExtension (): Extension | undefined { - const ext = this.resource.extension?.find(e => e.url === "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-performerType") - return ext - } - - 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 as Record | undefined)?.valueCode as string | undefined - } - - public getAssembleExpectationExtension (): Extension | undefined { - const ext = this.resource.extension?.find(e => e.url === "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-assemble-expectation") - return ext - } - - 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 as Record | undefined)?.valueCanonical as string | undefined - } - - public getAssembledFromExtension (): Extension | undefined { - const ext = this.resource.extension?.find(e => e.url === "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-assembledFrom") - 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/ServiceRequest_SDCQuestionnaireServiceRequest.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-sdc/profiles/ServiceRequest_SDCQuestionnaireServiceRequest.ts deleted file mode 100644 index 075063782..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-sdc/profiles/ServiceRequest_SDCQuestionnaireServiceRequest.ts +++ /dev/null @@ -1,157 +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"; - -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 deleted file mode 100644 index 657c8fd62..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-sdc/profiles/Task_SDCTaskQuestionnaire.ts +++ /dev/null @@ -1,230 +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"; - -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 deleted file mode 100644 index ba9c0a212..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-sdc/profiles/UsageContext_SDCUsageContext.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 { 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/ValueSet_SDCValueSet.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-sdc/profiles/ValueSet_SDCValueSet.ts deleted file mode 100644 index 349cf8fee..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-sdc/profiles/ValueSet_SDCValueSet.ts +++ /dev/null @@ -1,338 +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 { ValueSet } from "../../hl7-fhir-r4-core/ValueSet"; - -export interface SDCValueSet extends ValueSet { - immutable: boolean; -} - -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 } 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 } 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 } 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 } 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 } 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 } 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 } 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 } 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 } 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 } 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 } 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 } 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 } 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 } 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 as Record | undefined)?.valueBoolean as boolean | undefined - } - - public getStyleSensitiveExtension (): Extension | undefined { - const ext = this.resource.extension?.find(e => e.url === "http://hl7.org/fhir/StructureDefinition/rendering-styleSensitive") - return ext - } - - 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 as Record | undefined)?.valueString as string | undefined - } - - public getConceptLabelExtension (): Extension | 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 - } - - 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 as Record | undefined)?.valueInteger as number | undefined - } - - public getConceptConceptOrderExtension (): Extension | 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 - } - - 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 as Record | undefined)?.valueString as string | undefined - } - - public getCodeDisplayRenderingStyleExtension (): Extension | 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 - } - - 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 as Record | undefined)?.valueString as string | undefined - } - - public getCodeDisplayXhtmlExtension (): Extension | 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 - } - - 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 as Record | undefined)?.valueString as string | undefined - } - - public getDesignationRenderingStyleExtension (): Extension | 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 - } - - 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 as Record | undefined)?.valueString as string | undefined - } - - public getDesignationXhtmlExtension (): Extension | 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 - } - - 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 as Record | undefined)?.valueUri as string | undefined - } - - public getExpansionSourceExtension (): Extension | 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 - } - - 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 as Record | undefined)?.valueString as string | undefined - } - - public getExpansionLabelExtension (): Extension | 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 - } - - 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 as Record | undefined)?.valueString as string | undefined - } - - public getExpansionDisplayRenderingStyleExtension (): Extension | 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 - } - - 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 as Record | undefined)?.valueString as string | undefined - } - - public getExpansionDisplayXhtmlExtension (): Extension | 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 - } - - 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 as Record | undefined)?.valueString as string | undefined - } - - public getExpansionDesignationRenderingStyleExtension (): Extension | 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 - } - - 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 as Record | undefined)?.valueString as string | undefined - } - - public getExpansionDesignationXhtmlExtension (): Extension | 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 - } - - 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 deleted file mode 100644 index d760cc900..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-sdc/profiles/index.ts +++ /dev/null @@ -1,76 +0,0 @@ -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/index.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-smart-app-launch/index.ts deleted file mode 100644 index 09303f508..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-smart-app-launch/index.ts +++ /dev/null @@ -1 +0,0 @@ -export * from "./profiles"; 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 deleted file mode 100644 index 084ba8beb..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-smart-app-launch/profiles/Basic_SMARTAppStateBasic.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 { 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 deleted file mode 100644 index 04ae0fe98..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-smart-app-launch/profiles/Bundle_UserAccessBrandsBundle.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 { 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 deleted file mode 100644 index 897211440..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-smart-app-launch/profiles/Endpoint_UserAccessEndpoint.ts +++ /dev/null @@ -1,190 +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 { 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/Organization_UserAccessBrand.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-smart-app-launch/profiles/Organization_UserAccessBrand.ts deleted file mode 100644 index d893e8312..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-smart-app-launch/profiles/Organization_UserAccessBrand.ts +++ /dev/null @@ -1,196 +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 { Coding } from "../../hl7-fhir-r4-core/Coding"; -import type { ContactPoint } from "../../hl7-fhir-r4-core/ContactPoint"; -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"; - -export interface UserAccessBrand extends Organization { - name: string; - telecom: ContactPoint[]; -} - -export type UserAccessBrand_BrandInput = { - brandLogo?: string[]; - brandLogoLicenseType?: Coding[]; - brandLogoLicense?: string[]; - brandBundle?: string[]; -} - -export type UserAccessBrand_PortalInput = { - portalName?: string; - portalDescription?: string; - portalUrl?: string; - portalLogo?: string[]; - portalLogoLicenseType?: Coding[]; - portalLogoLicense?: string[]; - portalEndpoint?: Reference[]; -} - -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 - } - - public setBrand (input: UserAccessBrand_BrandInput): this { - const subExtensions: Extension[] = [] - if (input.brandLogo) { - for (const item of input.brandLogo) { - subExtensions.push({ url: "brandLogo", valueUrl: item }) - } - } - if (input.brandLogoLicenseType) { - for (const item of input.brandLogoLicenseType) { - subExtensions.push({ url: "brandLogoLicenseType", valueCoding: item }) - } - } - if (input.brandLogoLicense) { - for (const item of input.brandLogoLicense) { - subExtensions.push({ url: "brandLogoLicense", valueUrl: item }) - } - } - if (input.brandBundle) { - for (const item of input.brandBundle) { - subExtensions.push({ url: "brandBundle", valueUrl: item }) - } - } - const list = (this.resource.extension ??= []) - list.push({ url: "http://hl7.org/fhir/StructureDefinition/organization-brand", extension: subExtensions }) - return this - } - - public setPortal (input: UserAccessBrand_PortalInput): this { - const subExtensions: Extension[] = [] - if (input.portalName !== undefined) { - subExtensions.push({ url: "portalName", valueString: input.portalName }) - } - if (input.portalDescription !== undefined) { - subExtensions.push({ url: "portalDescription", valueMarkdown: input.portalDescription }) - } - if (input.portalUrl !== undefined) { - subExtensions.push({ url: "portalUrl", valueUrl: input.portalUrl }) - } - if (input.portalLogo) { - for (const item of input.portalLogo) { - subExtensions.push({ url: "portalLogo", valueUrl: item }) - } - } - if (input.portalLogoLicenseType) { - for (const item of input.portalLogoLicenseType) { - subExtensions.push({ url: "portalLogoLicenseType", valueCoding: item }) - } - } - if (input.portalLogoLicense) { - for (const item of input.portalLogoLicense) { - subExtensions.push({ url: "portalLogoLicense", valueUrl: item }) - } - } - if (input.portalEndpoint) { - for (const item of input.portalEndpoint) { - subExtensions.push({ url: "portalEndpoint", valueReference: item }) - } - } - const list = (this.resource.extension ??= []) - list.push({ url: "http://hl7.org/fhir/StructureDefinition/organization-portal", extension: subExtensions }) - return this - } - - public getBrand (): UserAccessBrand_BrandInput | undefined { - const ext = this.resource.extension?.find(e => e.url === "http://hl7.org/fhir/StructureDefinition/organization-brand") - if (!ext) return undefined - const config = [{ name: "brandLogo", valueField: "valueUrl", isArray: true }, { name: "brandLogoLicenseType", valueField: "valueCoding", isArray: true }, { name: "brandLogoLicense", valueField: "valueUrl", isArray: true }, { name: "brandBundle", valueField: "valueUrl", isArray: true }] - return extractComplexExtension(ext as unknown as { extension?: Array<{ url?: string; [key: string]: unknown }> }, config) as UserAccessBrand_BrandInput - } - - public getBrandExtension (): Extension | undefined { - const ext = this.resource.extension?.find(e => e.url === "http://hl7.org/fhir/StructureDefinition/organization-brand") - return ext - } - - public getPortal (): UserAccessBrand_PortalInput | undefined { - const ext = this.resource.extension?.find(e => e.url === "http://hl7.org/fhir/StructureDefinition/organization-portal") - if (!ext) return undefined - const config = [{ name: "portalName", valueField: "valueString", isArray: false }, { name: "portalDescription", valueField: "valueMarkdown", isArray: false }, { name: "portalUrl", valueField: "valueUrl", isArray: false }, { name: "portalLogo", valueField: "valueUrl", isArray: true }, { name: "portalLogoLicenseType", valueField: "valueCoding", isArray: true }, { name: "portalLogoLicense", valueField: "valueUrl", isArray: true }, { name: "portalEndpoint", valueField: "valueReference", isArray: true }] - return extractComplexExtension(ext as unknown as { extension?: Array<{ url?: string; [key: string]: unknown }> }, config) as UserAccessBrand_PortalInput - } - - public getPortalExtension (): Extension | undefined { - const ext = this.resource.extension?.find(e => e.url === "http://hl7.org/fhir/StructureDefinition/organization-portal") - 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/Task_TaskEhrLaunch.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-smart-app-launch/profiles/Task_TaskEhrLaunch.ts deleted file mode 100644 index 03a73a725..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-smart-app-launch/profiles/Task_TaskEhrLaunch.ts +++ /dev/null @@ -1,157 +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 { Task } from "../../hl7-fhir-r4-core/Task"; -import type { TaskInput } from "../../hl7-fhir-r4-core/Task"; - -export interface TaskEhrLaunch extends Task { - 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, 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 - } - - public setLaunchurl (input?: TaskEhrLaunch_Input_LaunchurlSliceInput): this { - const match = {"type":{"coding":[{"system":"http://hl7.org/fhir/smart-app-launch/CodeSystem/smart-codes","code":"smartonfhir-application"}]}} 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 setLaunchcontext (input?: TaskEhrLaunch_Input_LaunchcontextSliceInput): this { - const match = {"type":{"coding":[{"system":"http://hl7.org/fhir/smart-app-launch/CodeSystem/smart-codes","code":"smartonfhir-appcontext"}]}} 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 getLaunchurl (): TaskEhrLaunch_Input_LaunchurlSliceInput | undefined { - const match = {"type":{"coding":[{"system":"http://hl7.org/fhir/smart-app-launch/CodeSystem/smart-codes","code":"smartonfhir-application"}]}} 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 TaskEhrLaunch_Input_LaunchurlSliceInput - } - - public getLaunchurlRaw (): TaskInput | undefined { - const match = {"type":{"coding":[{"system":"http://hl7.org/fhir/smart-app-launch/CodeSystem/smart-codes","code":"smartonfhir-application"}]}} as Record - const list = this.resource.input - if (!list) return undefined - const item = list.find((item) => matchesSlice(item, match)) - return item - } - - public getLaunchcontext (): TaskEhrLaunch_Input_LaunchcontextSliceInput | undefined { - const match = {"type":{"coding":[{"system":"http://hl7.org/fhir/smart-app-launch/CodeSystem/smart-codes","code":"smartonfhir-appcontext"}]}} 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 TaskEhrLaunch_Input_LaunchcontextSliceInput - } - - public getLaunchcontextRaw (): TaskInput | undefined { - const match = {"type":{"coding":[{"system":"http://hl7.org/fhir/smart-app-launch/CodeSystem/smart-codes","code":"smartonfhir-appcontext"}]}} as Record - const list = this.resource.input - 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, "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/Task_TaskStandaloneLaunch.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-smart-app-launch/profiles/Task_TaskStandaloneLaunch.ts deleted file mode 100644 index ce5c4f2f3..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-smart-app-launch/profiles/Task_TaskStandaloneLaunch.ts +++ /dev/null @@ -1,157 +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 { Task } from "../../hl7-fhir-r4-core/Task"; -import type { TaskInput } from "../../hl7-fhir-r4-core/Task"; - -export interface TaskStandaloneLaunch extends Task { - 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, 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 - } - - public setLaunchurl (input?: TaskStandaloneLaunch_Input_LaunchurlSliceInput): this { - const match = {"type":{"coding":[{"system":"http://hl7.org/fhir/smart-app-launch/CodeSystem/smart-codes","code":"smartonfhir-application"}]}} 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 setLaunchcontext (input?: TaskStandaloneLaunch_Input_LaunchcontextSliceInput): this { - const match = {"type":{"coding":[{"system":"http://hl7.org/fhir/smart-app-launch/CodeSystem/smart-codes","code":"smartonfhir-appcontext"}]}} 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 getLaunchurl (): TaskStandaloneLaunch_Input_LaunchurlSliceInput | undefined { - const match = {"type":{"coding":[{"system":"http://hl7.org/fhir/smart-app-launch/CodeSystem/smart-codes","code":"smartonfhir-application"}]}} 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 TaskStandaloneLaunch_Input_LaunchurlSliceInput - } - - public getLaunchurlRaw (): TaskInput | undefined { - const match = {"type":{"coding":[{"system":"http://hl7.org/fhir/smart-app-launch/CodeSystem/smart-codes","code":"smartonfhir-application"}]}} as Record - const list = this.resource.input - if (!list) return undefined - const item = list.find((item) => matchesSlice(item, match)) - return item - } - - public getLaunchcontext (): TaskStandaloneLaunch_Input_LaunchcontextSliceInput | undefined { - const match = {"type":{"coding":[{"system":"http://hl7.org/fhir/smart-app-launch/CodeSystem/smart-codes","code":"smartonfhir-appcontext"}]}} 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 TaskStandaloneLaunch_Input_LaunchcontextSliceInput - } - - public getLaunchcontextRaw (): TaskInput | undefined { - const match = {"type":{"coding":[{"system":"http://hl7.org/fhir/smart-app-launch/CodeSystem/smart-codes","code":"smartonfhir-appcontext"}]}} as Record - const list = this.resource.input - 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, "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/index.ts b/examples/typescript-us-core/fhir-types/hl7-fhir-uv-smart-app-launch/profiles/index.ts deleted file mode 100644 index 8c3ee624a..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-fhir-uv-smart-app-launch/profiles/index.ts +++ /dev/null @@ -1,10 +0,0 @@ -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 deleted file mode 100644 index 09303f508..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-terminology-r4/index.ts +++ /dev/null @@ -1 +0,0 @@ -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 deleted file mode 100644 index 484f0ab1d..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-terminology-r4/profiles/Extension_AssociatedConceptProperty.ts +++ /dev/null @@ -1,88 +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 { 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 deleted file mode 100644 index 084983dcc..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-terminology-r4/profiles/Extension_NamingSystemTitle.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-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 deleted file mode 100644 index 686f8d925..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-terminology-r4/profiles/Extension_NamingSystemVersion.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-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 deleted file mode 100644 index 409c24450..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-terminology-r4/profiles/Extension_SupportedConceptRelationshipInverseName.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-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 deleted file mode 100644 index 8fcdcbe19..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-terminology-r4/profiles/Extension_SupportedConceptRelationshipIsNavigable.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-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 deleted file mode 100644 index badc90812..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-terminology-r4/profiles/Extension_SupportedConceptRelationshipReflexivity.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-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 deleted file mode 100644 index 5378eb03b..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-terminology-r4/profiles/Extension_SupportedConceptRelationshipRelationshipKind.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-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 deleted file mode 100644 index dc174d032..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-terminology-r4/profiles/Extension_SupportedConceptRelationshipSymmetry.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-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 deleted file mode 100644 index ae02a275b..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-terminology-r4/profiles/Extension_SupportedConceptRelationshipTransitivity.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-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 deleted file mode 100644 index 95291f3ed..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-terminology-r4/profiles/index.ts +++ /dev/null @@ -1,9 +0,0 @@ -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 deleted file mode 100644 index 09303f508..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-terminology-r5/index.ts +++ /dev/null @@ -1 +0,0 @@ -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 deleted file mode 100644 index c009c3fd4..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-terminology-r5/profiles/Extension_AssociatedConceptProperty.ts +++ /dev/null @@ -1,88 +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 { 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 deleted file mode 100644 index 14d39a59a..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-terminology-r5/profiles/Extension_NamingSystemTitle.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 { 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 deleted file mode 100644 index 94e2d3cdb..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-terminology-r5/profiles/Extension_NamingSystemVersion.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 { 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 deleted file mode 100644 index 21daebcaf..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-terminology-r5/profiles/Extension_SupportedConceptRelationshipInverseName.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 { 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 deleted file mode 100644 index ac66a7a01..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-terminology-r5/profiles/Extension_SupportedConceptRelationshipIsNavigable.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 { 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 deleted file mode 100644 index 7f5aa1669..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-terminology-r5/profiles/Extension_SupportedConceptRelationshipReflexivity.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 { 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 deleted file mode 100644 index 5ee968790..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-terminology-r5/profiles/Extension_SupportedConceptRelationshipRelationshipKind.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 { 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 deleted file mode 100644 index ed17b98d1..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-terminology-r5/profiles/Extension_SupportedConceptRelationshipSymmetry.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 { 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 deleted file mode 100644 index 1ae7ede85..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-terminology-r5/profiles/Extension_SupportedConceptRelationshipTransitivity.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 { 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 deleted file mode 100644 index 95291f3ed..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-terminology-r5/profiles/index.ts +++ /dev/null @@ -1,9 +0,0 @@ -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 deleted file mode 100644 index 09303f508..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-terminology/index.ts +++ /dev/null @@ -1 +0,0 @@ -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 deleted file mode 100644 index 65dc5b1c0..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-terminology/profiles/Extension_AssociatedConceptProperty.ts +++ /dev/null @@ -1,88 +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 { 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 deleted file mode 100644 index db94eaf4e..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-terminology/profiles/Extension_NamingSystemTitle.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-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 deleted file mode 100644 index 80d4551f4..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-terminology/profiles/Extension_NamingSystemVersion.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-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 deleted file mode 100644 index ca78ad658..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-terminology/profiles/Extension_SupportedConceptRelationshipInverseName.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-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 deleted file mode 100644 index 86dd9075f..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-terminology/profiles/Extension_SupportedConceptRelationshipIsNavigable.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-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 deleted file mode 100644 index 6f84d54b8..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-terminology/profiles/Extension_SupportedConceptRelationshipReflexivity.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-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 deleted file mode 100644 index e3a392688..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-terminology/profiles/Extension_SupportedConceptRelationshipRelationshipKind.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-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 deleted file mode 100644 index 6aa9c1eb3..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-terminology/profiles/Extension_SupportedConceptRelationshipSymmetry.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-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 deleted file mode 100644 index d6d89d4a1..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-terminology/profiles/Extension_SupportedConceptRelationshipTransitivity.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-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 deleted file mode 100644 index 95291f3ed..000000000 --- a/examples/typescript-us-core/fhir-types/hl7-terminology/profiles/index.ts +++ /dev/null @@ -1,9 +0,0 @@ -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/generate.ts b/examples/typescript-us-core/generate.ts index 3ff5ea426..230b42c71 100644 --- a/examples/typescript-us-core/generate.ts +++ b/examples/typescript-us-core/generate.ts @@ -9,6 +9,15 @@ if (require.main === module) { const builder = new APIBuilder() .throwException() .fromPackage("hl7.fhir.us.core", "8.0.1") + .typeSchema({ + treeShake: { + "hl7.fhir.us.core": { + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient": {}, + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-blood-pressure": {}, + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-body-weight": {}, + }, + }, + }) .typescript({ withDebugComment: false, generateProfile: true, diff --git a/examples/typescript-us-core/multi-profile-demo.ts b/examples/typescript-us-core/multi-profile-demo.ts index 645762474..bafc2efd0 100644 --- a/examples/typescript-us-core/multi-profile-demo.ts +++ b/examples/typescript-us-core/multi-profile-demo.ts @@ -2,7 +2,7 @@ * Demonstrates using profile classes with the generated getter/setter methods. * * This example shows: - * 1. Creating observations with Body Weight and Body Height profiles + * 1. Creating observations with Body Weight profile * 2. Using setters to apply profile-defined slices (no input needed for constant slices) * 3. Using getters to read values: * - getVSCat() - returns flat API (simplified, without discriminator) @@ -11,10 +11,7 @@ */ import type { Observation } from "./fhir-types/hl7-fhir-r4-core/Observation"; -import { - USCoreBodyHeightProfileProfile as usHeightProfile, - USCoreBodyWeightProfileProfile as usWeightProfile, -} from "./fhir-types/hl7-fhir-us-core/profiles"; +import { USCoreBodyWeightProfileProfile as usWeightProfile } from "./fhir-types/hl7-fhir-us-core/profiles"; // Helper to create a base Observation resource const createBaseObservation = (): Observation => ({ @@ -48,31 +45,7 @@ function createBodyWeightObservation(): Observation { return profile.toResource(); } -// Example 2: Create a Body Height observation -function createBodyHeightObservation(): Observation { - const resource = createBaseObservation(); - const profile = new usHeightProfile(resource); - - // Set the vital-signs category slice - profile.setVSCat(); - - // Set additional required fields - resource.code = { - coding: [{ system: "http://loinc.org", code: "8302-2", display: "Body Height" }], - }; - resource.valueQuantity = { - value: 175, - unit: "cm", - system: "http://unitsofmeasure.org", - code: "cm", - }; - resource.subject = { reference: "Patient/example" }; - resource.effectiveDateTime = new Date().toISOString(); - - return profile.toResource(); -} - -// Example 3: Using getters to read values +// Example 2: Using getters to read values function demonstrateGetters() { const resource = createBaseObservation(); const profile = new usWeightProfile(resource); @@ -90,7 +63,7 @@ function demonstrateGetters() { console.log("Raw coding:", raw?.coding); } -// Example 4: Using override interface types +// Example 3: Using override interface types function demonstrateTypeNarrowing() { // The USCoreBodyWeightProfile interface extends Observation with: // - subject: Reference<"Patient"> (narrowed from broader union) @@ -110,9 +83,6 @@ if (require.main === module) { console.log("=== Body Weight Observation ==="); console.log(JSON.stringify(createBodyWeightObservation(), null, 2)); - console.log("\n=== Body Height Observation ==="); - console.log(JSON.stringify(createBodyHeightObservation(), null, 2)); - console.log("\n=== Getter Demonstration ==="); demonstrateGetters(); diff --git a/examples/typescript-us-core/multi-profile.test.ts b/examples/typescript-us-core/multi-profile.test.ts index 0f46afd3e..cc1345244 100644 --- a/examples/typescript-us-core/multi-profile.test.ts +++ b/examples/typescript-us-core/multi-profile.test.ts @@ -1,9 +1,6 @@ import { describe, expect, it } from "bun:test"; import type { Observation } from "./fhir-types/hl7-fhir-r4-core/Observation"; -import { - USCoreBodyHeightProfileProfile as usHeightProfile, - USCoreBodyWeightProfileProfile as usWeightProfile, -} from "./fhir-types/hl7-fhir-us-core/profiles"; +import { USCoreBodyWeightProfileProfile as usWeightProfile } from "./fhir-types/hl7-fhir-us-core/profiles"; const createObservation = (): Observation => ({ resourceType: "Observation", status: "final", code: {} }); @@ -28,26 +25,6 @@ describe("Multi-Profile Pattern", () => { }); }); - describe("Body Height Profile", () => { - it("creates valid body height observation", () => { - const profile = new usHeightProfile(createObservation()); - profile.setVSCat({}); - - const resource = profile.toResource(); - expect(resource.resourceType).toBe("Observation"); - expect(resource.category).toBeDefined(); - expect(resource.category?.length).toBeGreaterThan(0); - }); - - it("has getters for slices", () => { - const profile = new usHeightProfile(createObservation()); - profile.setVSCat({}); - - const vscat = profile.getVSCat(); - expect(vscat).toBeDefined(); - }); - }); - describe("Profile composition patterns", () => { it("wraps existing resource with profile", () => { // Create a base observation @@ -67,45 +44,23 @@ describe("Multi-Profile Pattern", () => { expect(resource.category).toBeDefined(); }); - it("creates separate weight and height observations", () => { - // Create weight observation + it("creates weight observation with value", () => { 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 usHeightProfile(createObservation()); - heightProfile.setVSCat({}); - const heightObs = heightProfile.toResource(); - heightObs.code = { coding: [{ system: "http://loinc.org", code: "8302-2", display: "Body Height" }] }; - heightObs.valueQuantity = { value: 175, unit: "cm", system: "http://unitsofmeasure.org", code: "cm" }; - - // Both should have vital-signs category expect(weightObs.category?.length).toBeGreaterThan(0); - expect(heightObs.category?.length).toBeGreaterThan(0); - - // But have different codes expect(weightObs.code?.coding?.[0]?.code).toBe("29463-7"); - expect(heightObs.code?.coding?.[0]?.code).toBe("8302-2"); - - // And different values expect(weightObs.valueQuantity?.value).toBe(70); - expect(heightObs.valueQuantity?.value).toBe(175); }); }); describe("Override interface type safety", () => { it("profile class uses narrowed types from override interface", () => { - // 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 usWeightProfile(createObservation()); const resource = profile.toResource(); - - // TypeScript should enforce that subject is Reference<"Patient"> - // This test just verifies the resource structure is correct expect(resource.resourceType).toBe("Observation"); }); }); diff --git a/examples/typescript-us-core/profile-demo.ts b/examples/typescript-us-core/profile-demo.ts index f68de1e03..64e54619f 100644 --- a/examples/typescript-us-core/profile-demo.ts +++ b/examples/typescript-us-core/profile-demo.ts @@ -88,21 +88,18 @@ function createBloodPressureExample(): Observation { USCoreBloodPressureProfileProfile.setVSCat() .setSystolic({ // The code for systolic (8480-6) is auto-applied by the profile - valueQuantity: { - value: 120, - unit: "mmHg", - system: "http://unitsofmeasure.org", - code: "mm[Hg]", - }, + // Quantity fields are flat (valueQuantity is unwrapped) + value: 120, + unit: "mmHg", + system: "http://unitsofmeasure.org", + code: "mm[Hg]", }) .setDiastolic({ // The code for diastolic (8462-4) is auto-applied by the profile - valueQuantity: { - value: 80, - unit: "mmHg", - system: "http://unitsofmeasure.org", - code: "mm[Hg]", - }, + value: 80, + unit: "mmHg", + system: "http://unitsofmeasure.org", + code: "mm[Hg]", }); // Get the underlying FHIR resource diff --git a/test/unit/api/profile-getters.test.ts b/examples/typescript-us-core/profile-getters.test.ts similarity index 80% rename from test/unit/api/profile-getters.test.ts rename to examples/typescript-us-core/profile-getters.test.ts index 51fa1d781..a255eb9d2 100644 --- a/test/unit/api/profile-getters.test.ts +++ b/examples/typescript-us-core/profile-getters.test.ts @@ -1,10 +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 type { Observation } from "./fhir-types/hl7-fhir-r4-core/Observation"; +import type { Patient } from "./fhir-types/hl7-fhir-r4-core/Patient"; import { USCoreBloodPressureProfileProfile as usBpProfile, USCorePatientProfileProfile as usPatientProfile, -} from "../../../examples/typescript-us-core/fhir-types/hl7-fhir-us-core/profiles"; +} from "./fhir-types/hl7-fhir-us-core/profiles"; const createPatient = (): Patient => ({ resourceType: "Patient" }); const createObservation = (): Observation => ({ resourceType: "Observation", status: "final", code: {} }); @@ -65,22 +65,16 @@ describe("Profile Getter Methods", () => { describe("Slice getters", () => { it("returns simplified slice without discriminator via getSystolic()", () => { const profile = new usBpProfile(createObservation()); - profile.setSystolic({ - valueQuantity: { value: 120, unit: "mmHg", system: "http://unitsofmeasure.org", code: "mm[Hg]" }, - }); + profile.setSystolic({ value: 120, unit: "mmHg", system: "http://unitsofmeasure.org", code: "mm[Hg]" }); const result = profile.getSystolic(); expect(result).toBeDefined(); - expect(result?.valueQuantity?.value).toBe(120); - // Should NOT include the code discriminator in simplified form - expect((result as Record)?.code).toBeUndefined(); + expect(result?.value).toBe(120); }); it("returns full slice with discriminator via getSystolicRaw()", () => { const profile = new usBpProfile(createObservation()); - profile.setSystolic({ - valueQuantity: { value: 120, unit: "mmHg", system: "http://unitsofmeasure.org", code: "mm[Hg]" }, - }); + profile.setSystolic({ value: 120, unit: "mmHg", system: "http://unitsofmeasure.org", code: "mm[Hg]" }); const raw = profile.getSystolicRaw(); expect(raw).toBeDefined(); @@ -97,14 +91,14 @@ describe("Profile Getter Methods", () => { it("can get multiple slices independently", () => { const profile = new usBpProfile(createObservation()); - profile.setSystolic({ valueQuantity: { value: 120, unit: "mmHg" } }); - profile.setDiastolic({ valueQuantity: { value: 80, unit: "mmHg" } }); + profile.setSystolic({ value: 120, unit: "mmHg" }); + profile.setDiastolic({ value: 80, unit: "mmHg" }); const systolic = profile.getSystolic(); const diastolic = profile.getDiastolic(); - expect(systolic?.valueQuantity?.value).toBe(120); - expect(diastolic?.valueQuantity?.value).toBe(80); + expect(systolic?.value).toBe(120); + expect(diastolic?.value).toBe(80); }); });