@imranq2/fhirpatientsummary 1.0.4 → 1.0.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs +2480 -0
- package/dist/index.d.cts +718 -0
- package/dist/index.d.ts +718 -0
- package/dist/index.js +2451 -0
- package/package.json +28 -17
- package/lib/cjs/generators/fhir_summary_generator.cjs +0 -228
- package/lib/cjs/generators/fhir_summary_generator.d.ts +0 -46
- package/lib/cjs/generators/narrative_generator.cjs +0 -80
- package/lib/cjs/generators/narrative_generator.d.ts +0 -40
- package/lib/cjs/index.cjs +0 -9
- package/lib/cjs/index.d.ts +0 -3
- package/lib/cjs/narratives/templates/typescript/AdvanceDirectivesTemplate.cjs +0 -70
- package/lib/cjs/narratives/templates/typescript/AdvanceDirectivesTemplate.d.ts +0 -22
- package/lib/cjs/narratives/templates/typescript/AllergyIntoleranceTemplate.cjs +0 -155
- package/lib/cjs/narratives/templates/typescript/AllergyIntoleranceTemplate.d.ts +0 -31
- package/lib/cjs/narratives/templates/typescript/ClinicalImpressionTemplate.cjs +0 -111
- package/lib/cjs/narratives/templates/typescript/ClinicalImpressionTemplate.d.ts +0 -15
- package/lib/cjs/narratives/templates/typescript/CompositionTemplate.cjs +0 -30
- package/lib/cjs/narratives/templates/typescript/CompositionTemplate.d.ts +0 -22
- package/lib/cjs/narratives/templates/typescript/DiagnosticResultsTemplate.cjs +0 -153
- package/lib/cjs/narratives/templates/typescript/DiagnosticResultsTemplate.d.ts +0 -50
- package/lib/cjs/narratives/templates/typescript/FamilyHistoryTemplate.cjs +0 -103
- package/lib/cjs/narratives/templates/typescript/FamilyHistoryTemplate.d.ts +0 -15
- package/lib/cjs/narratives/templates/typescript/FunctionalStatusTemplate.cjs +0 -70
- package/lib/cjs/narratives/templates/typescript/FunctionalStatusTemplate.d.ts +0 -22
- package/lib/cjs/narratives/templates/typescript/HistoryOfProceduresTemplate.cjs +0 -66
- package/lib/cjs/narratives/templates/typescript/HistoryOfProceduresTemplate.d.ts +0 -22
- package/lib/cjs/narratives/templates/typescript/ImmunizationsTemplate.cjs +0 -73
- package/lib/cjs/narratives/templates/typescript/ImmunizationsTemplate.d.ts +0 -22
- package/lib/cjs/narratives/templates/typescript/MedicalDevicesTemplate.cjs +0 -67
- package/lib/cjs/narratives/templates/typescript/MedicalDevicesTemplate.d.ts +0 -22
- package/lib/cjs/narratives/templates/typescript/MedicationSummaryTemplate.cjs +0 -206
- package/lib/cjs/narratives/templates/typescript/MedicationSummaryTemplate.d.ts +0 -50
- package/lib/cjs/narratives/templates/typescript/PastHistoryOfIllnessTemplate.cjs +0 -59
- package/lib/cjs/narratives/templates/typescript/PastHistoryOfIllnessTemplate.d.ts +0 -15
- package/lib/cjs/narratives/templates/typescript/PatientTemplate.cjs +0 -158
- package/lib/cjs/narratives/templates/typescript/PatientTemplate.d.ts +0 -65
- package/lib/cjs/narratives/templates/typescript/PlanOfCareTemplate.cjs +0 -63
- package/lib/cjs/narratives/templates/typescript/PlanOfCareTemplate.d.ts +0 -15
- package/lib/cjs/narratives/templates/typescript/PregnancyTemplate.cjs +0 -68
- package/lib/cjs/narratives/templates/typescript/PregnancyTemplate.d.ts +0 -22
- package/lib/cjs/narratives/templates/typescript/ProblemListTemplate.cjs +0 -119
- package/lib/cjs/narratives/templates/typescript/ProblemListTemplate.d.ts +0 -22
- package/lib/cjs/narratives/templates/typescript/SocialHistoryTemplate.cjs +0 -70
- package/lib/cjs/narratives/templates/typescript/SocialHistoryTemplate.d.ts +0 -22
- package/lib/cjs/narratives/templates/typescript/TemplateUtilities.cjs +0 -696
- package/lib/cjs/narratives/templates/typescript/TemplateUtilities.d.ts +0 -251
- package/lib/cjs/narratives/templates/typescript/TypeScriptTemplateMapper.cjs +0 -64
- package/lib/cjs/narratives/templates/typescript/TypeScriptTemplateMapper.d.ts +0 -17
- package/lib/cjs/narratives/templates/typescript/VitalSignsTemplate.cjs +0 -74
- package/lib/cjs/narratives/templates/typescript/VitalSignsTemplate.d.ts +0 -22
- package/lib/cjs/narratives/templates/typescript/interfaces/ITemplate.cjs +0 -2
- package/lib/cjs/narratives/templates/typescript/interfaces/ITemplate.d.ts +0 -13
- package/lib/cjs/package.json +0 -1
- package/lib/cjs/profiles/ips_resource_profile_registry.cjs +0 -143
- package/lib/cjs/profiles/ips_resource_profile_registry.d.ts +0 -7
- package/lib/cjs/structures/ips_mandatory_sections.cjs +0 -11
- package/lib/cjs/structures/ips_mandatory_sections.d.ts +0 -7
- package/lib/cjs/structures/ips_recommended_sections.cjs +0 -12
- package/lib/cjs/structures/ips_recommended_sections.d.ts +0 -8
- package/lib/cjs/structures/ips_resource_profile.cjs +0 -2
- package/lib/cjs/structures/ips_resource_profile.d.ts +0 -7
- package/lib/cjs/structures/ips_section_loinc_codes.cjs +0 -48
- package/lib/cjs/structures/ips_section_loinc_codes.d.ts +0 -4
- package/lib/cjs/structures/ips_section_resource_map.cjs +0 -69
- package/lib/cjs/structures/ips_section_resource_map.d.ts +0 -8
- package/lib/cjs/structures/ips_sections.cjs +0 -27
- package/lib/cjs/structures/ips_sections.d.ts +0 -19
- package/lib/cjs/types/baseTypes.cjs +0 -2
- package/lib/cjs/types/baseTypes.d.ts +0 -23
- package/lib/cjs/types/partials/AccountCoverage.cjs +0 -3
- package/lib/cjs/types/partials/AccountCoverage.d.ts +0 -10
- package/lib/cjs/types/partials/AccountGuarantor.cjs +0 -3
- package/lib/cjs/types/partials/AccountGuarantor.d.ts +0 -11
- package/lib/cjs/types/partials/ActivityDefinitionDynamicValue.cjs +0 -3
- package/lib/cjs/types/partials/ActivityDefinitionDynamicValue.d.ts +0 -9
- package/lib/cjs/types/partials/ActivityDefinitionParticipant.cjs +0 -3
- package/lib/cjs/types/partials/ActivityDefinitionParticipant.d.ts +0 -9
- package/lib/cjs/types/partials/Address.cjs +0 -3
- package/lib/cjs/types/partials/Address.d.ts +0 -16
- package/lib/cjs/types/partials/AdministrableProductDefinitionProperty.cjs +0 -3
- package/lib/cjs/types/partials/AdministrableProductDefinitionProperty.d.ts +0 -17
- package/lib/cjs/types/partials/AdministrableProductDefinitionRouteOfAdministration.cjs +0 -3
- package/lib/cjs/types/partials/AdministrableProductDefinitionRouteOfAdministration.d.ts +0 -17
- package/lib/cjs/types/partials/AdministrableProductDefinitionTargetSpecies.cjs +0 -3
- package/lib/cjs/types/partials/AdministrableProductDefinitionTargetSpecies.d.ts +0 -10
- package/lib/cjs/types/partials/AdministrableProductDefinitionWithdrawalPeriod.cjs +0 -3
- package/lib/cjs/types/partials/AdministrableProductDefinitionWithdrawalPeriod.d.ts +0 -11
- package/lib/cjs/types/partials/AdverseEventCausality.cjs +0 -3
- package/lib/cjs/types/partials/AdverseEventCausality.d.ts +0 -12
- package/lib/cjs/types/partials/AdverseEventSuspectEntity.cjs +0 -3
- package/lib/cjs/types/partials/AdverseEventSuspectEntity.d.ts +0 -10
- package/lib/cjs/types/partials/Age.cjs +0 -3
- package/lib/cjs/types/partials/Age.d.ts +0 -9
- package/lib/cjs/types/partials/AllergyIntoleranceReaction.cjs +0 -3
- package/lib/cjs/types/partials/AllergyIntoleranceReaction.d.ts +0 -16
- package/lib/cjs/types/partials/Annotation.cjs +0 -3
- package/lib/cjs/types/partials/Annotation.d.ts +0 -12
- package/lib/cjs/types/partials/AppointmentParticipant.cjs +0 -3
- package/lib/cjs/types/partials/AppointmentParticipant.d.ts +0 -14
- package/lib/cjs/types/partials/Attachment.cjs +0 -3
- package/lib/cjs/types/partials/Attachment.d.ts +0 -17
- package/lib/cjs/types/partials/AuditEventAgent.cjs +0 -3
- package/lib/cjs/types/partials/AuditEventAgent.d.ts +0 -22
- package/lib/cjs/types/partials/AuditEventDetail.cjs +0 -3
- package/lib/cjs/types/partials/AuditEventDetail.d.ts +0 -10
- package/lib/cjs/types/partials/AuditEventEntity.cjs +0 -3
- package/lib/cjs/types/partials/AuditEventEntity.d.ts +0 -19
- package/lib/cjs/types/partials/AuditEventNetwork.cjs +0 -3
- package/lib/cjs/types/partials/AuditEventNetwork.d.ts +0 -8
- package/lib/cjs/types/partials/AuditEventSource.cjs +0 -3
- package/lib/cjs/types/partials/AuditEventSource.d.ts +0 -11
- package/lib/cjs/types/partials/BackboneElement.cjs +0 -3
- package/lib/cjs/types/partials/BackboneElement.d.ts +0 -6
- package/lib/cjs/types/partials/BiologicallyDerivedProductCollection.cjs +0 -3
- package/lib/cjs/types/partials/BiologicallyDerivedProductCollection.d.ts +0 -13
- package/lib/cjs/types/partials/BiologicallyDerivedProductManipulation.cjs +0 -3
- package/lib/cjs/types/partials/BiologicallyDerivedProductManipulation.d.ts +0 -11
- package/lib/cjs/types/partials/BiologicallyDerivedProductProcessing.cjs +0 -3
- package/lib/cjs/types/partials/BiologicallyDerivedProductProcessing.d.ts +0 -15
- package/lib/cjs/types/partials/BiologicallyDerivedProductStorage.cjs +0 -3
- package/lib/cjs/types/partials/BiologicallyDerivedProductStorage.d.ts +0 -12
- package/lib/cjs/types/partials/BundleEntry.cjs +0 -3
- package/lib/cjs/types/partials/BundleEntry.d.ts +0 -18
- package/lib/cjs/types/partials/BundleLink.cjs +0 -3
- package/lib/cjs/types/partials/BundleLink.d.ts +0 -9
- package/lib/cjs/types/partials/BundleRequest.cjs +0 -3
- package/lib/cjs/types/partials/BundleRequest.d.ts +0 -14
- package/lib/cjs/types/partials/BundleResponse.cjs +0 -3
- package/lib/cjs/types/partials/BundleResponse.d.ts +0 -14
- package/lib/cjs/types/partials/BundleSearch.cjs +0 -3
- package/lib/cjs/types/partials/BundleSearch.d.ts +0 -9
- package/lib/cjs/types/partials/CapabilityStatementDocument.cjs +0 -3
- package/lib/cjs/types/partials/CapabilityStatementDocument.d.ts +0 -11
- package/lib/cjs/types/partials/CapabilityStatementEndpoint.cjs +0 -3
- package/lib/cjs/types/partials/CapabilityStatementEndpoint.d.ts +0 -10
- package/lib/cjs/types/partials/CapabilityStatementImplementation.cjs +0 -3
- package/lib/cjs/types/partials/CapabilityStatementImplementation.d.ts +0 -11
- package/lib/cjs/types/partials/CapabilityStatementInteraction.cjs +0 -3
- package/lib/cjs/types/partials/CapabilityStatementInteraction.d.ts +0 -9
- package/lib/cjs/types/partials/CapabilityStatementInteraction1.cjs +0 -3
- package/lib/cjs/types/partials/CapabilityStatementInteraction1.d.ts +0 -9
- package/lib/cjs/types/partials/CapabilityStatementMessaging.cjs +0 -3
- package/lib/cjs/types/partials/CapabilityStatementMessaging.d.ts +0 -14
- package/lib/cjs/types/partials/CapabilityStatementOperation.cjs +0 -3
- package/lib/cjs/types/partials/CapabilityStatementOperation.d.ts +0 -11
- package/lib/cjs/types/partials/CapabilityStatementResource.cjs +0 -3
- package/lib/cjs/types/partials/CapabilityStatementResource.d.ts +0 -28
- package/lib/cjs/types/partials/CapabilityStatementRest.cjs +0 -3
- package/lib/cjs/types/partials/CapabilityStatementRest.d.ts +0 -21
- package/lib/cjs/types/partials/CapabilityStatementSearchParam.cjs +0 -3
- package/lib/cjs/types/partials/CapabilityStatementSearchParam.d.ts +0 -12
- package/lib/cjs/types/partials/CapabilityStatementSecurity.cjs +0 -3
- package/lib/cjs/types/partials/CapabilityStatementSecurity.d.ts +0 -11
- package/lib/cjs/types/partials/CapabilityStatementSoftware.cjs +0 -3
- package/lib/cjs/types/partials/CapabilityStatementSoftware.d.ts +0 -10
- package/lib/cjs/types/partials/CapabilityStatementSupportedMessage.cjs +0 -3
- package/lib/cjs/types/partials/CapabilityStatementSupportedMessage.d.ts +0 -9
- package/lib/cjs/types/partials/CarePlanActivity.cjs +0 -3
- package/lib/cjs/types/partials/CarePlanActivity.d.ts +0 -15
- package/lib/cjs/types/partials/CarePlanDetail.cjs +0 -3
- package/lib/cjs/types/partials/CarePlanDetail.d.ts +0 -33
- package/lib/cjs/types/partials/CareTeamParticipant.cjs +0 -3
- package/lib/cjs/types/partials/CareTeamParticipant.d.ts +0 -13
- package/lib/cjs/types/partials/CatalogEntryRelatedEntry.cjs +0 -3
- package/lib/cjs/types/partials/CatalogEntryRelatedEntry.d.ts +0 -9
- package/lib/cjs/types/partials/ChargeItemDefinitionApplicability.cjs +0 -3
- package/lib/cjs/types/partials/ChargeItemDefinitionApplicability.d.ts +0 -9
- package/lib/cjs/types/partials/ChargeItemDefinitionPriceComponent.cjs +0 -3
- package/lib/cjs/types/partials/ChargeItemDefinitionPriceComponent.d.ts +0 -13
- package/lib/cjs/types/partials/ChargeItemDefinitionPropertyGroup.cjs +0 -3
- package/lib/cjs/types/partials/ChargeItemDefinitionPropertyGroup.d.ts +0 -10
- package/lib/cjs/types/partials/ChargeItemPerformer.cjs +0 -3
- package/lib/cjs/types/partials/ChargeItemPerformer.d.ts +0 -10
- package/lib/cjs/types/partials/CitationAbstract.cjs +0 -3
- package/lib/cjs/types/partials/CitationAbstract.d.ts +0 -12
- package/lib/cjs/types/partials/CitationAffiliationInfo.cjs +0 -3
- package/lib/cjs/types/partials/CitationAffiliationInfo.d.ts +0 -10
- package/lib/cjs/types/partials/CitationCitedArtifact.cjs +0 -3
- package/lib/cjs/types/partials/CitationCitedArtifact.d.ts +0 -35
- package/lib/cjs/types/partials/CitationClassification.cjs +0 -3
- package/lib/cjs/types/partials/CitationClassification.d.ts +0 -9
- package/lib/cjs/types/partials/CitationClassification1.cjs +0 -3
- package/lib/cjs/types/partials/CitationClassification1.d.ts +0 -11
- package/lib/cjs/types/partials/CitationContributionInstance.cjs +0 -3
- package/lib/cjs/types/partials/CitationContributionInstance.d.ts +0 -10
- package/lib/cjs/types/partials/CitationContributorship.cjs +0 -3
- package/lib/cjs/types/partials/CitationContributorship.d.ts +0 -11
- package/lib/cjs/types/partials/CitationDateOfPublication.cjs +0 -3
- package/lib/cjs/types/partials/CitationDateOfPublication.d.ts +0 -13
- package/lib/cjs/types/partials/CitationEntry.cjs +0 -3
- package/lib/cjs/types/partials/CitationEntry.d.ts +0 -26
- package/lib/cjs/types/partials/CitationPart.cjs +0 -3
- package/lib/cjs/types/partials/CitationPart.d.ts +0 -11
- package/lib/cjs/types/partials/CitationPeriodicRelease.cjs +0 -3
- package/lib/cjs/types/partials/CitationPeriodicRelease.d.ts +0 -12
- package/lib/cjs/types/partials/CitationPublicationForm.cjs +0 -3
- package/lib/cjs/types/partials/CitationPublicationForm.d.ts +0 -22
- package/lib/cjs/types/partials/CitationPublishedIn.cjs +0 -3
- package/lib/cjs/types/partials/CitationPublishedIn.d.ts +0 -14
- package/lib/cjs/types/partials/CitationRelatesTo.cjs +0 -3
- package/lib/cjs/types/partials/CitationRelatesTo.d.ts +0 -17
- package/lib/cjs/types/partials/CitationRelatesTo1.cjs +0 -3
- package/lib/cjs/types/partials/CitationRelatesTo1.d.ts +0 -17
- package/lib/cjs/types/partials/CitationStatusDate.cjs +0 -3
- package/lib/cjs/types/partials/CitationStatusDate.d.ts +0 -11
- package/lib/cjs/types/partials/CitationStatusDate1.cjs +0 -3
- package/lib/cjs/types/partials/CitationStatusDate1.d.ts +0 -11
- package/lib/cjs/types/partials/CitationSummary.cjs +0 -3
- package/lib/cjs/types/partials/CitationSummary.d.ts +0 -10
- package/lib/cjs/types/partials/CitationSummary1.cjs +0 -3
- package/lib/cjs/types/partials/CitationSummary1.d.ts +0 -12
- package/lib/cjs/types/partials/CitationTitle.cjs +0 -3
- package/lib/cjs/types/partials/CitationTitle.d.ts +0 -11
- package/lib/cjs/types/partials/CitationVersion.cjs +0 -3
- package/lib/cjs/types/partials/CitationVersion.d.ts +0 -9
- package/lib/cjs/types/partials/CitationWebLocation.cjs +0 -3
- package/lib/cjs/types/partials/CitationWebLocation.d.ts +0 -10
- package/lib/cjs/types/partials/CitationWhoClassified.cjs +0 -3
- package/lib/cjs/types/partials/CitationWhoClassified.d.ts +0 -12
- package/lib/cjs/types/partials/ClaimAccident.cjs +0 -3
- package/lib/cjs/types/partials/ClaimAccident.d.ts +0 -14
- package/lib/cjs/types/partials/ClaimCareTeam.cjs +0 -3
- package/lib/cjs/types/partials/ClaimCareTeam.d.ts +0 -14
- package/lib/cjs/types/partials/ClaimDetail.cjs +0 -3
- package/lib/cjs/types/partials/ClaimDetail.d.ts +0 -25
- package/lib/cjs/types/partials/ClaimDiagnosis.cjs +0 -3
- package/lib/cjs/types/partials/ClaimDiagnosis.d.ts +0 -15
- package/lib/cjs/types/partials/ClaimInsurance.cjs +0 -3
- package/lib/cjs/types/partials/ClaimInsurance.d.ts +0 -16
- package/lib/cjs/types/partials/ClaimItem.cjs +0 -3
- package/lib/cjs/types/partials/ClaimItem.d.ts +0 -40
- package/lib/cjs/types/partials/ClaimPayee.cjs +0 -3
- package/lib/cjs/types/partials/ClaimPayee.d.ts +0 -10
- package/lib/cjs/types/partials/ClaimProcedure.cjs +0 -3
- package/lib/cjs/types/partials/ClaimProcedure.d.ts +0 -16
- package/lib/cjs/types/partials/ClaimRelated.cjs +0 -3
- package/lib/cjs/types/partials/ClaimRelated.d.ts +0 -12
- package/lib/cjs/types/partials/ClaimResponseAddItem.cjs +0 -3
- package/lib/cjs/types/partials/ClaimResponseAddItem.d.ts +0 -38
- package/lib/cjs/types/partials/ClaimResponseAdjudication.cjs +0 -3
- package/lib/cjs/types/partials/ClaimResponseAdjudication.d.ts +0 -13
- package/lib/cjs/types/partials/ClaimResponseDetail.cjs +0 -3
- package/lib/cjs/types/partials/ClaimResponseDetail.d.ts +0 -13
- package/lib/cjs/types/partials/ClaimResponseDetail1.cjs +0 -3
- package/lib/cjs/types/partials/ClaimResponseDetail1.d.ts +0 -22
- package/lib/cjs/types/partials/ClaimResponseError.cjs +0 -3
- package/lib/cjs/types/partials/ClaimResponseError.d.ts +0 -12
- package/lib/cjs/types/partials/ClaimResponseInsurance.cjs +0 -3
- package/lib/cjs/types/partials/ClaimResponseInsurance.d.ts +0 -13
- package/lib/cjs/types/partials/ClaimResponseItem.cjs +0 -3
- package/lib/cjs/types/partials/ClaimResponseItem.d.ts +0 -13
- package/lib/cjs/types/partials/ClaimResponsePayment.cjs +0 -3
- package/lib/cjs/types/partials/ClaimResponsePayment.d.ts +0 -16
- package/lib/cjs/types/partials/ClaimResponseProcessNote.cjs +0 -3
- package/lib/cjs/types/partials/ClaimResponseProcessNote.d.ts +0 -12
- package/lib/cjs/types/partials/ClaimResponseSubDetail.cjs +0 -3
- package/lib/cjs/types/partials/ClaimResponseSubDetail.d.ts +0 -11
- package/lib/cjs/types/partials/ClaimResponseSubDetail1.cjs +0 -3
- package/lib/cjs/types/partials/ClaimResponseSubDetail1.d.ts +0 -20
- package/lib/cjs/types/partials/ClaimResponseTotal.cjs +0 -3
- package/lib/cjs/types/partials/ClaimResponseTotal.d.ts +0 -10
- package/lib/cjs/types/partials/ClaimSubDetail.cjs +0 -3
- package/lib/cjs/types/partials/ClaimSubDetail.d.ts +0 -23
- package/lib/cjs/types/partials/ClaimSupportingInfo.cjs +0 -3
- package/lib/cjs/types/partials/ClaimSupportingInfo.d.ts +0 -24
- package/lib/cjs/types/partials/ClinicalImpressionFinding.cjs +0 -3
- package/lib/cjs/types/partials/ClinicalImpressionFinding.d.ts +0 -11
- package/lib/cjs/types/partials/ClinicalImpressionInvestigation.cjs +0 -3
- package/lib/cjs/types/partials/ClinicalImpressionInvestigation.d.ts +0 -10
- package/lib/cjs/types/partials/ClinicalUseDefinitionContraindication.cjs +0 -3
- package/lib/cjs/types/partials/ClinicalUseDefinitionContraindication.d.ts +0 -14
- package/lib/cjs/types/partials/ClinicalUseDefinitionIndication.cjs +0 -3
- package/lib/cjs/types/partials/ClinicalUseDefinitionIndication.d.ts +0 -18
- package/lib/cjs/types/partials/ClinicalUseDefinitionInteractant.cjs +0 -3
- package/lib/cjs/types/partials/ClinicalUseDefinitionInteractant.d.ts +0 -10
- package/lib/cjs/types/partials/ClinicalUseDefinitionInteraction.cjs +0 -3
- package/lib/cjs/types/partials/ClinicalUseDefinitionInteraction.d.ts +0 -14
- package/lib/cjs/types/partials/ClinicalUseDefinitionOtherTherapy.cjs +0 -3
- package/lib/cjs/types/partials/ClinicalUseDefinitionOtherTherapy.d.ts +0 -10
- package/lib/cjs/types/partials/ClinicalUseDefinitionUndesirableEffect.cjs +0 -3
- package/lib/cjs/types/partials/ClinicalUseDefinitionUndesirableEffect.d.ts +0 -11
- package/lib/cjs/types/partials/ClinicalUseDefinitionWarning.cjs +0 -3
- package/lib/cjs/types/partials/ClinicalUseDefinitionWarning.d.ts +0 -10
- package/lib/cjs/types/partials/CodeSystemConcept.cjs +0 -3
- package/lib/cjs/types/partials/CodeSystemConcept.d.ts +0 -14
- package/lib/cjs/types/partials/CodeSystemDesignation.cjs +0 -3
- package/lib/cjs/types/partials/CodeSystemDesignation.d.ts +0 -10
- package/lib/cjs/types/partials/CodeSystemFilter.cjs +0 -3
- package/lib/cjs/types/partials/CodeSystemFilter.d.ts +0 -10
- package/lib/cjs/types/partials/CodeSystemProperty.cjs +0 -3
- package/lib/cjs/types/partials/CodeSystemProperty.d.ts +0 -11
- package/lib/cjs/types/partials/CodeSystemProperty1.cjs +0 -3
- package/lib/cjs/types/partials/CodeSystemProperty1.d.ts +0 -18
- package/lib/cjs/types/partials/CodeableConcept.cjs +0 -3
- package/lib/cjs/types/partials/CodeableConcept.d.ts +0 -8
- package/lib/cjs/types/partials/CodeableReference.cjs +0 -3
- package/lib/cjs/types/partials/CodeableReference.d.ts +0 -9
- package/lib/cjs/types/partials/Coding.cjs +0 -3
- package/lib/cjs/types/partials/Coding.d.ts +0 -11
- package/lib/cjs/types/partials/CommunicationPayload.cjs +0 -3
- package/lib/cjs/types/partials/CommunicationPayload.d.ts +0 -11
- package/lib/cjs/types/partials/CommunicationRequestPayload.cjs +0 -3
- package/lib/cjs/types/partials/CommunicationRequestPayload.d.ts +0 -11
- package/lib/cjs/types/partials/CompartmentDefinitionResource.cjs +0 -3
- package/lib/cjs/types/partials/CompartmentDefinitionResource.d.ts +0 -9
- package/lib/cjs/types/partials/CompositionAttester.cjs +0 -3
- package/lib/cjs/types/partials/CompositionAttester.d.ts +0 -11
- package/lib/cjs/types/partials/CompositionEvent.cjs +0 -3
- package/lib/cjs/types/partials/CompositionEvent.d.ts +0 -12
- package/lib/cjs/types/partials/CompositionRelatesTo.cjs +0 -3
- package/lib/cjs/types/partials/CompositionRelatesTo.d.ts +0 -11
- package/lib/cjs/types/partials/CompositionSection.cjs +0 -3
- package/lib/cjs/types/partials/CompositionSection.d.ts +0 -19
- package/lib/cjs/types/partials/ConceptMapDependsOn.cjs +0 -3
- package/lib/cjs/types/partials/ConceptMapDependsOn.d.ts +0 -12
- package/lib/cjs/types/partials/ConceptMapElement.cjs +0 -3
- package/lib/cjs/types/partials/ConceptMapElement.d.ts +0 -10
- package/lib/cjs/types/partials/ConceptMapGroup.cjs +0 -3
- package/lib/cjs/types/partials/ConceptMapGroup.d.ts +0 -15
- package/lib/cjs/types/partials/ConceptMapTarget.cjs +0 -3
- package/lib/cjs/types/partials/ConceptMapTarget.d.ts +0 -13
- package/lib/cjs/types/partials/ConceptMapUnmapped.cjs +0 -3
- package/lib/cjs/types/partials/ConceptMapUnmapped.d.ts +0 -11
- package/lib/cjs/types/partials/ConditionEvidence.cjs +0 -3
- package/lib/cjs/types/partials/ConditionEvidence.d.ts +0 -10
- package/lib/cjs/types/partials/ConditionStage.cjs +0 -3
- package/lib/cjs/types/partials/ConditionStage.d.ts +0 -11
- package/lib/cjs/types/partials/ConsentActor.cjs +0 -3
- package/lib/cjs/types/partials/ConsentActor.d.ts +0 -10
- package/lib/cjs/types/partials/ConsentData.cjs +0 -3
- package/lib/cjs/types/partials/ConsentData.d.ts +0 -9
- package/lib/cjs/types/partials/ConsentPolicy.cjs +0 -3
- package/lib/cjs/types/partials/ConsentPolicy.d.ts +0 -9
- package/lib/cjs/types/partials/ConsentProvision.cjs +0 -3
- package/lib/cjs/types/partials/ConsentProvision.d.ts +0 -22
- package/lib/cjs/types/partials/ConsentVerification.cjs +0 -3
- package/lib/cjs/types/partials/ConsentVerification.d.ts +0 -11
- package/lib/cjs/types/partials/ContactDetail.cjs +0 -3
- package/lib/cjs/types/partials/ContactDetail.d.ts +0 -8
- package/lib/cjs/types/partials/ContactPoint.cjs +0 -3
- package/lib/cjs/types/partials/ContactPoint.d.ts +0 -12
- package/lib/cjs/types/partials/ContractAction.cjs +0 -3
- package/lib/cjs/types/partials/ContractAction.d.ts +0 -37
- package/lib/cjs/types/partials/ContractAnswer.cjs +0 -3
- package/lib/cjs/types/partials/ContractAnswer.d.ts +0 -28
- package/lib/cjs/types/partials/ContractAsset.cjs +0 -3
- package/lib/cjs/types/partials/ContractAsset.d.ts +0 -29
- package/lib/cjs/types/partials/ContractContentDefinition.cjs +0 -3
- package/lib/cjs/types/partials/ContractContentDefinition.d.ts +0 -16
- package/lib/cjs/types/partials/ContractContext.cjs +0 -3
- package/lib/cjs/types/partials/ContractContext.d.ts +0 -11
- package/lib/cjs/types/partials/ContractFriendly.cjs +0 -3
- package/lib/cjs/types/partials/ContractFriendly.d.ts +0 -10
- package/lib/cjs/types/partials/ContractLegal.cjs +0 -3
- package/lib/cjs/types/partials/ContractLegal.d.ts +0 -10
- package/lib/cjs/types/partials/ContractOffer.cjs +0 -3
- package/lib/cjs/types/partials/ContractOffer.d.ts +0 -22
- package/lib/cjs/types/partials/ContractParty.cjs +0 -3
- package/lib/cjs/types/partials/ContractParty.d.ts +0 -10
- package/lib/cjs/types/partials/ContractRule.cjs +0 -3
- package/lib/cjs/types/partials/ContractRule.d.ts +0 -10
- package/lib/cjs/types/partials/ContractSecurityLabel.cjs +0 -3
- package/lib/cjs/types/partials/ContractSecurityLabel.d.ts +0 -12
- package/lib/cjs/types/partials/ContractSigner.cjs +0 -3
- package/lib/cjs/types/partials/ContractSigner.d.ts +0 -12
- package/lib/cjs/types/partials/ContractSubject.cjs +0 -3
- package/lib/cjs/types/partials/ContractSubject.d.ts +0 -10
- package/lib/cjs/types/partials/ContractTerm.cjs +0 -3
- package/lib/cjs/types/partials/ContractTerm.d.ts +0 -28
- package/lib/cjs/types/partials/ContractValuedItem.cjs +0 -3
- package/lib/cjs/types/partials/ContractValuedItem.d.ts +0 -29
- package/lib/cjs/types/partials/Contributor.cjs +0 -3
- package/lib/cjs/types/partials/Contributor.d.ts +0 -9
- package/lib/cjs/types/partials/Count.cjs +0 -3
- package/lib/cjs/types/partials/Count.d.ts +0 -9
- package/lib/cjs/types/partials/CoverageClass.cjs +0 -3
- package/lib/cjs/types/partials/CoverageClass.d.ts +0 -10
- package/lib/cjs/types/partials/CoverageCostToBeneficiary.cjs +0 -3
- package/lib/cjs/types/partials/CoverageCostToBeneficiary.d.ts +0 -14
- package/lib/cjs/types/partials/CoverageEligibilityRequestDiagnosis.cjs +0 -3
- package/lib/cjs/types/partials/CoverageEligibilityRequestDiagnosis.d.ts +0 -10
- package/lib/cjs/types/partials/CoverageEligibilityRequestInsurance.cjs +0 -3
- package/lib/cjs/types/partials/CoverageEligibilityRequestInsurance.d.ts +0 -10
- package/lib/cjs/types/partials/CoverageEligibilityRequestItem.cjs +0 -3
- package/lib/cjs/types/partials/CoverageEligibilityRequestItem.d.ts +0 -22
- package/lib/cjs/types/partials/CoverageEligibilityRequestSupportingInfo.cjs +0 -3
- package/lib/cjs/types/partials/CoverageEligibilityRequestSupportingInfo.d.ts +0 -11
- package/lib/cjs/types/partials/CoverageEligibilityResponseBenefit.cjs +0 -3
- package/lib/cjs/types/partials/CoverageEligibilityResponseBenefit.d.ts +0 -16
- package/lib/cjs/types/partials/CoverageEligibilityResponseError.cjs +0 -3
- package/lib/cjs/types/partials/CoverageEligibilityResponseError.d.ts +0 -8
- package/lib/cjs/types/partials/CoverageEligibilityResponseInsurance.cjs +0 -3
- package/lib/cjs/types/partials/CoverageEligibilityResponseInsurance.d.ts +0 -13
- package/lib/cjs/types/partials/CoverageEligibilityResponseItem.cjs +0 -3
- package/lib/cjs/types/partials/CoverageEligibilityResponseItem.d.ts +0 -24
- package/lib/cjs/types/partials/CoverageException.cjs +0 -3
- package/lib/cjs/types/partials/CoverageException.d.ts +0 -10
- package/lib/cjs/types/partials/DataRequirement.cjs +0 -3
- package/lib/cjs/types/partials/DataRequirement.d.ts +0 -21
- package/lib/cjs/types/partials/DataRequirementCodeFilter.cjs +0 -3
- package/lib/cjs/types/partials/DataRequirementCodeFilter.d.ts +0 -11
- package/lib/cjs/types/partials/DataRequirementDateFilter.cjs +0 -3
- package/lib/cjs/types/partials/DataRequirementDateFilter.d.ts +0 -13
- package/lib/cjs/types/partials/DataRequirementSort.cjs +0 -3
- package/lib/cjs/types/partials/DataRequirementSort.d.ts +0 -7
- package/lib/cjs/types/partials/DetectedIssueEvidence.cjs +0 -3
- package/lib/cjs/types/partials/DetectedIssueEvidence.d.ts +0 -10
- package/lib/cjs/types/partials/DetectedIssueMitigation.cjs +0 -3
- package/lib/cjs/types/partials/DetectedIssueMitigation.d.ts +0 -12
- package/lib/cjs/types/partials/DeviceDefinitionCapability.cjs +0 -3
- package/lib/cjs/types/partials/DeviceDefinitionCapability.d.ts +0 -9
- package/lib/cjs/types/partials/DeviceDefinitionDeviceName.cjs +0 -3
- package/lib/cjs/types/partials/DeviceDefinitionDeviceName.d.ts +0 -8
- package/lib/cjs/types/partials/DeviceDefinitionMaterial.cjs +0 -3
- package/lib/cjs/types/partials/DeviceDefinitionMaterial.d.ts +0 -10
- package/lib/cjs/types/partials/DeviceDefinitionProperty.cjs +0 -3
- package/lib/cjs/types/partials/DeviceDefinitionProperty.d.ts +0 -11
- package/lib/cjs/types/partials/DeviceDefinitionSpecialization.cjs +0 -3
- package/lib/cjs/types/partials/DeviceDefinitionSpecialization.d.ts +0 -8
- package/lib/cjs/types/partials/DeviceDefinitionUdiDeviceIdentifier.cjs +0 -3
- package/lib/cjs/types/partials/DeviceDefinitionUdiDeviceIdentifier.d.ts +0 -10
- package/lib/cjs/types/partials/DeviceDeviceName.cjs +0 -3
- package/lib/cjs/types/partials/DeviceDeviceName.d.ts +0 -8
- package/lib/cjs/types/partials/DeviceMetricCalibration.cjs +0 -3
- package/lib/cjs/types/partials/DeviceMetricCalibration.d.ts +0 -10
- package/lib/cjs/types/partials/DeviceProperty.cjs +0 -3
- package/lib/cjs/types/partials/DeviceProperty.d.ts +0 -11
- package/lib/cjs/types/partials/DeviceRequestParameter.cjs +0 -3
- package/lib/cjs/types/partials/DeviceRequestParameter.d.ts +0 -14
- package/lib/cjs/types/partials/DeviceSpecialization.cjs +0 -3
- package/lib/cjs/types/partials/DeviceSpecialization.d.ts +0 -9
- package/lib/cjs/types/partials/DeviceUdiCarrier.cjs +0 -3
- package/lib/cjs/types/partials/DeviceUdiCarrier.d.ts +0 -14
- package/lib/cjs/types/partials/DeviceVersion.cjs +0 -3
- package/lib/cjs/types/partials/DeviceVersion.d.ts +0 -11
- package/lib/cjs/types/partials/DiagnosticReportMedia.cjs +0 -3
- package/lib/cjs/types/partials/DiagnosticReportMedia.d.ts +0 -9
- package/lib/cjs/types/partials/Distance.cjs +0 -3
- package/lib/cjs/types/partials/Distance.d.ts +0 -9
- package/lib/cjs/types/partials/DocumentManifestRelated.cjs +0 -3
- package/lib/cjs/types/partials/DocumentManifestRelated.d.ts +0 -10
- package/lib/cjs/types/partials/DocumentReferenceContent.cjs +0 -3
- package/lib/cjs/types/partials/DocumentReferenceContent.d.ts +0 -10
- package/lib/cjs/types/partials/DocumentReferenceContext.cjs +0 -3
- package/lib/cjs/types/partials/DocumentReferenceContext.d.ts +0 -16
- package/lib/cjs/types/partials/DocumentReferenceRelatesTo.cjs +0 -3
- package/lib/cjs/types/partials/DocumentReferenceRelatesTo.d.ts +0 -9
- package/lib/cjs/types/partials/Dosage.cjs +0 -3
- package/lib/cjs/types/partials/Dosage.d.ts +0 -26
- package/lib/cjs/types/partials/DosageDoseAndRate.cjs +0 -3
- package/lib/cjs/types/partials/DosageDoseAndRate.d.ts +0 -16
- package/lib/cjs/types/partials/Duration.cjs +0 -3
- package/lib/cjs/types/partials/Duration.d.ts +0 -12
- package/lib/cjs/types/partials/Element.cjs +0 -3
- package/lib/cjs/types/partials/Element.d.ts +0 -5
- package/lib/cjs/types/partials/ElementDefinition.cjs +0 -3
- package/lib/cjs/types/partials/ElementDefinition.d.ts +0 -256
- package/lib/cjs/types/partials/ElementDefinitionBase.cjs +0 -3
- package/lib/cjs/types/partials/ElementDefinitionBase.d.ts +0 -10
- package/lib/cjs/types/partials/ElementDefinitionBinding.cjs +0 -3
- package/lib/cjs/types/partials/ElementDefinitionBinding.d.ts +0 -10
- package/lib/cjs/types/partials/ElementDefinitionConstraint.cjs +0 -3
- package/lib/cjs/types/partials/ElementDefinitionConstraint.d.ts +0 -15
- package/lib/cjs/types/partials/ElementDefinitionDiscriminator.cjs +0 -3
- package/lib/cjs/types/partials/ElementDefinitionDiscriminator.d.ts +0 -8
- package/lib/cjs/types/partials/ElementDefinitionExample.cjs +0 -3
- package/lib/cjs/types/partials/ElementDefinitionExample.d.ts +0 -101
- package/lib/cjs/types/partials/ElementDefinitionMapping.cjs +0 -3
- package/lib/cjs/types/partials/ElementDefinitionMapping.d.ts +0 -11
- package/lib/cjs/types/partials/ElementDefinitionSlicing.cjs +0 -3
- package/lib/cjs/types/partials/ElementDefinitionSlicing.d.ts +0 -11
- package/lib/cjs/types/partials/ElementDefinitionType.cjs +0 -3
- package/lib/cjs/types/partials/ElementDefinitionType.d.ts +0 -13
- package/lib/cjs/types/partials/EncounterClassHistory.cjs +0 -3
- package/lib/cjs/types/partials/EncounterClassHistory.d.ts +0 -10
- package/lib/cjs/types/partials/EncounterDiagnosis.cjs +0 -3
- package/lib/cjs/types/partials/EncounterDiagnosis.d.ts +0 -12
- package/lib/cjs/types/partials/EncounterHospitalization.cjs +0 -3
- package/lib/cjs/types/partials/EncounterHospitalization.d.ts +0 -18
- package/lib/cjs/types/partials/EncounterLocation.cjs +0 -3
- package/lib/cjs/types/partials/EncounterLocation.d.ts +0 -13
- package/lib/cjs/types/partials/EncounterParticipant.cjs +0 -3
- package/lib/cjs/types/partials/EncounterParticipant.d.ts +0 -12
- package/lib/cjs/types/partials/EncounterStatusHistory.cjs +0 -3
- package/lib/cjs/types/partials/EncounterStatusHistory.d.ts +0 -9
- package/lib/cjs/types/partials/EpisodeOfCareDiagnosis.cjs +0 -3
- package/lib/cjs/types/partials/EpisodeOfCareDiagnosis.d.ts +0 -12
- package/lib/cjs/types/partials/EpisodeOfCareStatusHistory.cjs +0 -3
- package/lib/cjs/types/partials/EpisodeOfCareStatusHistory.d.ts +0 -9
- package/lib/cjs/types/partials/EvidenceAttributeEstimate.cjs +0 -3
- package/lib/cjs/types/partials/EvidenceAttributeEstimate.d.ts +0 -18
- package/lib/cjs/types/partials/EvidenceCertainty.cjs +0 -3
- package/lib/cjs/types/partials/EvidenceCertainty.d.ts +0 -14
- package/lib/cjs/types/partials/EvidenceModelCharacteristic.cjs +0 -3
- package/lib/cjs/types/partials/EvidenceModelCharacteristic.d.ts +0 -14
- package/lib/cjs/types/partials/EvidenceReportCharacteristic.cjs +0 -3
- package/lib/cjs/types/partials/EvidenceReportCharacteristic.d.ts +0 -19
- package/lib/cjs/types/partials/EvidenceReportRelatesTo.cjs +0 -3
- package/lib/cjs/types/partials/EvidenceReportRelatesTo.d.ts +0 -11
- package/lib/cjs/types/partials/EvidenceReportSection.cjs +0 -3
- package/lib/cjs/types/partials/EvidenceReportSection.d.ts +0 -22
- package/lib/cjs/types/partials/EvidenceReportSubject.cjs +0 -3
- package/lib/cjs/types/partials/EvidenceReportSubject.d.ts +0 -10
- package/lib/cjs/types/partials/EvidenceSampleSize.cjs +0 -3
- package/lib/cjs/types/partials/EvidenceSampleSize.d.ts +0 -13
- package/lib/cjs/types/partials/EvidenceStatistic.cjs +0 -3
- package/lib/cjs/types/partials/EvidenceStatistic.d.ts +0 -23
- package/lib/cjs/types/partials/EvidenceVariable.cjs +0 -3
- package/lib/cjs/types/partials/EvidenceVariable.d.ts +0 -15
- package/lib/cjs/types/partials/EvidenceVariableCategory.cjs +0 -3
- package/lib/cjs/types/partials/EvidenceVariableCategory.d.ts +0 -13
- package/lib/cjs/types/partials/EvidenceVariableCharacteristic.cjs +0 -3
- package/lib/cjs/types/partials/EvidenceVariableCharacteristic.d.ts +0 -21
- package/lib/cjs/types/partials/EvidenceVariableDefinition.cjs +0 -3
- package/lib/cjs/types/partials/EvidenceVariableDefinition.d.ts +0 -16
- package/lib/cjs/types/partials/EvidenceVariableTimeFromStart.cjs +0 -3
- package/lib/cjs/types/partials/EvidenceVariableTimeFromStart.d.ts +0 -13
- package/lib/cjs/types/partials/ExampleScenarioActor.cjs +0 -3
- package/lib/cjs/types/partials/ExampleScenarioActor.d.ts +0 -11
- package/lib/cjs/types/partials/ExampleScenarioAlternative.cjs +0 -3
- package/lib/cjs/types/partials/ExampleScenarioAlternative.d.ts +0 -11
- package/lib/cjs/types/partials/ExampleScenarioContainedInstance.cjs +0 -3
- package/lib/cjs/types/partials/ExampleScenarioContainedInstance.d.ts +0 -8
- package/lib/cjs/types/partials/ExampleScenarioInstance.cjs +0 -3
- package/lib/cjs/types/partials/ExampleScenarioInstance.d.ts +0 -15
- package/lib/cjs/types/partials/ExampleScenarioOperation.cjs +0 -3
- package/lib/cjs/types/partials/ExampleScenarioOperation.d.ts +0 -18
- package/lib/cjs/types/partials/ExampleScenarioProcess.cjs +0 -3
- package/lib/cjs/types/partials/ExampleScenarioProcess.d.ts +0 -13
- package/lib/cjs/types/partials/ExampleScenarioStep.cjs +0 -3
- package/lib/cjs/types/partials/ExampleScenarioStep.d.ts +0 -13
- package/lib/cjs/types/partials/ExampleScenarioVersion.cjs +0 -3
- package/lib/cjs/types/partials/ExampleScenarioVersion.d.ts +0 -9
- package/lib/cjs/types/partials/ExplanationOfBenefitAccident.cjs +0 -3
- package/lib/cjs/types/partials/ExplanationOfBenefitAccident.d.ts +0 -14
- package/lib/cjs/types/partials/ExplanationOfBenefitAddItem.cjs +0 -3
- package/lib/cjs/types/partials/ExplanationOfBenefitAddItem.d.ts +0 -38
- package/lib/cjs/types/partials/ExplanationOfBenefitAdjudication.cjs +0 -3
- package/lib/cjs/types/partials/ExplanationOfBenefitAdjudication.d.ts +0 -13
- package/lib/cjs/types/partials/ExplanationOfBenefitBenefitBalance.cjs +0 -3
- package/lib/cjs/types/partials/ExplanationOfBenefitBenefitBalance.d.ts +0 -16
- package/lib/cjs/types/partials/ExplanationOfBenefitCareTeam.cjs +0 -3
- package/lib/cjs/types/partials/ExplanationOfBenefitCareTeam.d.ts +0 -14
- package/lib/cjs/types/partials/ExplanationOfBenefitDetail.cjs +0 -3
- package/lib/cjs/types/partials/ExplanationOfBenefitDetail.d.ts +0 -28
- package/lib/cjs/types/partials/ExplanationOfBenefitDetail1.cjs +0 -3
- package/lib/cjs/types/partials/ExplanationOfBenefitDetail1.d.ts +0 -22
- package/lib/cjs/types/partials/ExplanationOfBenefitDiagnosis.cjs +0 -3
- package/lib/cjs/types/partials/ExplanationOfBenefitDiagnosis.d.ts +0 -15
- package/lib/cjs/types/partials/ExplanationOfBenefitFinancial.cjs +0 -3
- package/lib/cjs/types/partials/ExplanationOfBenefitFinancial.d.ts +0 -15
- package/lib/cjs/types/partials/ExplanationOfBenefitInsurance.cjs +0 -3
- package/lib/cjs/types/partials/ExplanationOfBenefitInsurance.d.ts +0 -10
- package/lib/cjs/types/partials/ExplanationOfBenefitItem.cjs +0 -3
- package/lib/cjs/types/partials/ExplanationOfBenefitItem.d.ts +0 -43
- package/lib/cjs/types/partials/ExplanationOfBenefitPayee.cjs +0 -3
- package/lib/cjs/types/partials/ExplanationOfBenefitPayee.d.ts +0 -10
- package/lib/cjs/types/partials/ExplanationOfBenefitPayment.cjs +0 -3
- package/lib/cjs/types/partials/ExplanationOfBenefitPayment.d.ts +0 -16
- package/lib/cjs/types/partials/ExplanationOfBenefitProcedure.cjs +0 -3
- package/lib/cjs/types/partials/ExplanationOfBenefitProcedure.d.ts +0 -16
- package/lib/cjs/types/partials/ExplanationOfBenefitProcessNote.cjs +0 -3
- package/lib/cjs/types/partials/ExplanationOfBenefitProcessNote.d.ts +0 -12
- package/lib/cjs/types/partials/ExplanationOfBenefitRelated.cjs +0 -3
- package/lib/cjs/types/partials/ExplanationOfBenefitRelated.d.ts +0 -12
- package/lib/cjs/types/partials/ExplanationOfBenefitSubDetail.cjs +0 -3
- package/lib/cjs/types/partials/ExplanationOfBenefitSubDetail.d.ts +0 -26
- package/lib/cjs/types/partials/ExplanationOfBenefitSubDetail1.cjs +0 -3
- package/lib/cjs/types/partials/ExplanationOfBenefitSubDetail1.d.ts +0 -20
- package/lib/cjs/types/partials/ExplanationOfBenefitSupportingInfo.cjs +0 -3
- package/lib/cjs/types/partials/ExplanationOfBenefitSupportingInfo.d.ts +0 -25
- package/lib/cjs/types/partials/ExplanationOfBenefitTotal.cjs +0 -3
- package/lib/cjs/types/partials/ExplanationOfBenefitTotal.d.ts +0 -10
- package/lib/cjs/types/partials/Expression.cjs +0 -3
- package/lib/cjs/types/partials/Expression.d.ts +0 -12
- package/lib/cjs/types/partials/Extension.cjs +0 -3
- package/lib/cjs/types/partials/Extension.d.ts +0 -99
- package/lib/cjs/types/partials/FamilyMemberHistoryCondition.cjs +0 -3
- package/lib/cjs/types/partials/FamilyMemberHistoryCondition.d.ts +0 -19
- package/lib/cjs/types/partials/GoalTarget.cjs +0 -3
- package/lib/cjs/types/partials/GoalTarget.d.ts +0 -22
- package/lib/cjs/types/partials/GraphDefinitionCompartment.cjs +0 -3
- package/lib/cjs/types/partials/GraphDefinitionCompartment.d.ts +0 -11
- package/lib/cjs/types/partials/GraphDefinitionLink.cjs +0 -3
- package/lib/cjs/types/partials/GraphDefinitionLink.d.ts +0 -14
- package/lib/cjs/types/partials/GraphDefinitionTarget.cjs +0 -3
- package/lib/cjs/types/partials/GraphDefinitionTarget.d.ts +0 -14
- package/lib/cjs/types/partials/GroupCharacteristic.cjs +0 -3
- package/lib/cjs/types/partials/GroupCharacteristic.d.ts +0 -19
- package/lib/cjs/types/partials/GroupMember.cjs +0 -3
- package/lib/cjs/types/partials/GroupMember.d.ts +0 -11
- package/lib/cjs/types/partials/HealthcareServiceAvailableTime.cjs +0 -3
- package/lib/cjs/types/partials/HealthcareServiceAvailableTime.d.ts +0 -11
- package/lib/cjs/types/partials/HealthcareServiceEligibility.cjs +0 -3
- package/lib/cjs/types/partials/HealthcareServiceEligibility.d.ts +0 -10
- package/lib/cjs/types/partials/HealthcareServiceNotAvailable.cjs +0 -3
- package/lib/cjs/types/partials/HealthcareServiceNotAvailable.d.ts +0 -9
- package/lib/cjs/types/partials/HumanName.cjs +0 -3
- package/lib/cjs/types/partials/HumanName.d.ts +0 -13
- package/lib/cjs/types/partials/Identifier.cjs +0 -3
- package/lib/cjs/types/partials/Identifier.d.ts +0 -15
- package/lib/cjs/types/partials/ImagingStudyInstance.cjs +0 -3
- package/lib/cjs/types/partials/ImagingStudyInstance.d.ts +0 -13
- package/lib/cjs/types/partials/ImagingStudyPerformer.cjs +0 -3
- package/lib/cjs/types/partials/ImagingStudyPerformer.d.ts +0 -10
- package/lib/cjs/types/partials/ImagingStudySeries.cjs +0 -3
- package/lib/cjs/types/partials/ImagingStudySeries.d.ts +0 -25
- package/lib/cjs/types/partials/ImmunizationEducation.cjs +0 -3
- package/lib/cjs/types/partials/ImmunizationEducation.d.ts +0 -12
- package/lib/cjs/types/partials/ImmunizationPerformer.cjs +0 -3
- package/lib/cjs/types/partials/ImmunizationPerformer.d.ts +0 -10
- package/lib/cjs/types/partials/ImmunizationProtocolApplied.cjs +0 -3
- package/lib/cjs/types/partials/ImmunizationProtocolApplied.d.ts +0 -16
- package/lib/cjs/types/partials/ImmunizationReaction.cjs +0 -3
- package/lib/cjs/types/partials/ImmunizationReaction.d.ts +0 -11
- package/lib/cjs/types/partials/ImmunizationRecommendationDateCriterion.cjs +0 -3
- package/lib/cjs/types/partials/ImmunizationRecommendationDateCriterion.d.ts +0 -10
- package/lib/cjs/types/partials/ImmunizationRecommendationRecommendation.cjs +0 -3
- package/lib/cjs/types/partials/ImmunizationRecommendationRecommendation.d.ts +0 -24
- package/lib/cjs/types/partials/ImplementationGuideDefinition.cjs +0 -3
- package/lib/cjs/types/partials/ImplementationGuideDefinition.d.ts +0 -16
- package/lib/cjs/types/partials/ImplementationGuideDependsOn.cjs +0 -3
- package/lib/cjs/types/partials/ImplementationGuideDependsOn.d.ts +0 -11
- package/lib/cjs/types/partials/ImplementationGuideGlobal.cjs +0 -3
- package/lib/cjs/types/partials/ImplementationGuideGlobal.d.ts +0 -9
- package/lib/cjs/types/partials/ImplementationGuideGrouping.cjs +0 -3
- package/lib/cjs/types/partials/ImplementationGuideGrouping.d.ts +0 -8
- package/lib/cjs/types/partials/ImplementationGuideManifest.cjs +0 -3
- package/lib/cjs/types/partials/ImplementationGuideManifest.d.ts +0 -14
- package/lib/cjs/types/partials/ImplementationGuidePage.cjs +0 -3
- package/lib/cjs/types/partials/ImplementationGuidePage.d.ts +0 -13
- package/lib/cjs/types/partials/ImplementationGuidePage1.cjs +0 -3
- package/lib/cjs/types/partials/ImplementationGuidePage1.d.ts +0 -9
- package/lib/cjs/types/partials/ImplementationGuideParameter.cjs +0 -3
- package/lib/cjs/types/partials/ImplementationGuideParameter.d.ts +0 -8
- package/lib/cjs/types/partials/ImplementationGuideResource.cjs +0 -3
- package/lib/cjs/types/partials/ImplementationGuideResource.d.ts +0 -16
- package/lib/cjs/types/partials/ImplementationGuideResource1.cjs +0 -3
- package/lib/cjs/types/partials/ImplementationGuideResource1.d.ts +0 -13
- package/lib/cjs/types/partials/ImplementationGuideTemplate.cjs +0 -3
- package/lib/cjs/types/partials/ImplementationGuideTemplate.d.ts +0 -9
- package/lib/cjs/types/partials/IngredientManufacturer.cjs +0 -3
- package/lib/cjs/types/partials/IngredientManufacturer.d.ts +0 -9
- package/lib/cjs/types/partials/IngredientReferenceStrength.cjs +0 -3
- package/lib/cjs/types/partials/IngredientReferenceStrength.d.ts +0 -15
- package/lib/cjs/types/partials/IngredientStrength.cjs +0 -3
- package/lib/cjs/types/partials/IngredientStrength.d.ts +0 -19
- package/lib/cjs/types/partials/IngredientSubstance.cjs +0 -3
- package/lib/cjs/types/partials/IngredientSubstance.d.ts +0 -10
- package/lib/cjs/types/partials/InsurancePlanBenefit.cjs +0 -3
- package/lib/cjs/types/partials/InsurancePlanBenefit.d.ts +0 -11
- package/lib/cjs/types/partials/InsurancePlanBenefit1.cjs +0 -3
- package/lib/cjs/types/partials/InsurancePlanBenefit1.d.ts +0 -10
- package/lib/cjs/types/partials/InsurancePlanContact.cjs +0 -3
- package/lib/cjs/types/partials/InsurancePlanContact.d.ts +0 -14
- package/lib/cjs/types/partials/InsurancePlanCost.cjs +0 -3
- package/lib/cjs/types/partials/InsurancePlanCost.d.ts +0 -12
- package/lib/cjs/types/partials/InsurancePlanCoverage.cjs +0 -3
- package/lib/cjs/types/partials/InsurancePlanCoverage.d.ts +0 -12
- package/lib/cjs/types/partials/InsurancePlanGeneralCost.cjs +0 -3
- package/lib/cjs/types/partials/InsurancePlanGeneralCost.d.ts +0 -13
- package/lib/cjs/types/partials/InsurancePlanLimit.cjs +0 -3
- package/lib/cjs/types/partials/InsurancePlanLimit.d.ts +0 -10
- package/lib/cjs/types/partials/InsurancePlanPlan.cjs +0 -3
- package/lib/cjs/types/partials/InsurancePlanPlan.d.ts +0 -17
- package/lib/cjs/types/partials/InsurancePlanSpecificCost.cjs +0 -3
- package/lib/cjs/types/partials/InsurancePlanSpecificCost.d.ts +0 -10
- package/lib/cjs/types/partials/InvoiceLineItem.cjs +0 -3
- package/lib/cjs/types/partials/InvoiceLineItem.d.ts +0 -14
- package/lib/cjs/types/partials/InvoiceParticipant.cjs +0 -3
- package/lib/cjs/types/partials/InvoiceParticipant.d.ts +0 -10
- package/lib/cjs/types/partials/InvoicePriceComponent.cjs +0 -3
- package/lib/cjs/types/partials/InvoicePriceComponent.d.ts +0 -13
- package/lib/cjs/types/partials/LinkageItem.cjs +0 -3
- package/lib/cjs/types/partials/LinkageItem.d.ts +0 -9
- package/lib/cjs/types/partials/ListEntry.cjs +0 -3
- package/lib/cjs/types/partials/ListEntry.d.ts +0 -13
- package/lib/cjs/types/partials/LocationHoursOfOperation.cjs +0 -3
- package/lib/cjs/types/partials/LocationHoursOfOperation.d.ts +0 -11
- package/lib/cjs/types/partials/LocationPosition.cjs +0 -3
- package/lib/cjs/types/partials/LocationPosition.d.ts +0 -10
- package/lib/cjs/types/partials/ManufacturedItemDefinitionProperty.cjs +0 -3
- package/lib/cjs/types/partials/ManufacturedItemDefinitionProperty.d.ts +0 -16
- package/lib/cjs/types/partials/MarketingStatus.cjs +0 -3
- package/lib/cjs/types/partials/MarketingStatus.d.ts +0 -14
- package/lib/cjs/types/partials/MeasureComponent.cjs +0 -3
- package/lib/cjs/types/partials/MeasureComponent.d.ts +0 -11
- package/lib/cjs/types/partials/MeasureGroup.cjs +0 -3
- package/lib/cjs/types/partials/MeasureGroup.d.ts +0 -13
- package/lib/cjs/types/partials/MeasurePopulation.cjs +0 -3
- package/lib/cjs/types/partials/MeasurePopulation.d.ts +0 -11
- package/lib/cjs/types/partials/MeasureReportComponent.cjs +0 -3
- package/lib/cjs/types/partials/MeasureReportComponent.d.ts +0 -9
- package/lib/cjs/types/partials/MeasureReportGroup.cjs +0 -3
- package/lib/cjs/types/partials/MeasureReportGroup.d.ts +0 -14
- package/lib/cjs/types/partials/MeasureReportPopulation.cjs +0 -3
- package/lib/cjs/types/partials/MeasureReportPopulation.d.ts +0 -12
- package/lib/cjs/types/partials/MeasureReportPopulation1.cjs +0 -3
- package/lib/cjs/types/partials/MeasureReportPopulation1.d.ts +0 -12
- package/lib/cjs/types/partials/MeasureReportStratifier.cjs +0 -3
- package/lib/cjs/types/partials/MeasureReportStratifier.d.ts +0 -10
- package/lib/cjs/types/partials/MeasureReportStratum.cjs +0 -3
- package/lib/cjs/types/partials/MeasureReportStratum.d.ts +0 -14
- package/lib/cjs/types/partials/MeasureStratifier.cjs +0 -3
- package/lib/cjs/types/partials/MeasureStratifier.d.ts +0 -13
- package/lib/cjs/types/partials/MeasureSupplementalData.cjs +0 -3
- package/lib/cjs/types/partials/MeasureSupplementalData.d.ts +0 -12
- package/lib/cjs/types/partials/MedicationAdministrationDosage.cjs +0 -3
- package/lib/cjs/types/partials/MedicationAdministrationDosage.d.ts +0 -16
- package/lib/cjs/types/partials/MedicationAdministrationPerformer.cjs +0 -3
- package/lib/cjs/types/partials/MedicationAdministrationPerformer.d.ts +0 -10
- package/lib/cjs/types/partials/MedicationBatch.cjs +0 -3
- package/lib/cjs/types/partials/MedicationBatch.d.ts +0 -9
- package/lib/cjs/types/partials/MedicationDispensePerformer.cjs +0 -3
- package/lib/cjs/types/partials/MedicationDispensePerformer.d.ts +0 -10
- package/lib/cjs/types/partials/MedicationDispenseSubstitution.cjs +0 -3
- package/lib/cjs/types/partials/MedicationDispenseSubstitution.d.ts +0 -12
- package/lib/cjs/types/partials/MedicationIngredient.cjs +0 -3
- package/lib/cjs/types/partials/MedicationIngredient.d.ts +0 -13
- package/lib/cjs/types/partials/MedicationKnowledgeAdministrationGuidelines.cjs +0 -3
- package/lib/cjs/types/partials/MedicationKnowledgeAdministrationGuidelines.d.ts +0 -14
- package/lib/cjs/types/partials/MedicationKnowledgeCost.cjs +0 -3
- package/lib/cjs/types/partials/MedicationKnowledgeCost.d.ts +0 -11
- package/lib/cjs/types/partials/MedicationKnowledgeDosage.cjs +0 -3
- package/lib/cjs/types/partials/MedicationKnowledgeDosage.d.ts +0 -10
- package/lib/cjs/types/partials/MedicationKnowledgeDrugCharacteristic.cjs +0 -3
- package/lib/cjs/types/partials/MedicationKnowledgeDrugCharacteristic.d.ts +0 -14
- package/lib/cjs/types/partials/MedicationKnowledgeIngredient.cjs +0 -3
- package/lib/cjs/types/partials/MedicationKnowledgeIngredient.d.ts +0 -13
- package/lib/cjs/types/partials/MedicationKnowledgeKinetics.cjs +0 -3
- package/lib/cjs/types/partials/MedicationKnowledgeKinetics.d.ts +0 -10
- package/lib/cjs/types/partials/MedicationKnowledgeMaxDispense.cjs +0 -3
- package/lib/cjs/types/partials/MedicationKnowledgeMaxDispense.d.ts +0 -9
- package/lib/cjs/types/partials/MedicationKnowledgeMedicineClassification.cjs +0 -3
- package/lib/cjs/types/partials/MedicationKnowledgeMedicineClassification.d.ts +0 -9
- package/lib/cjs/types/partials/MedicationKnowledgeMonitoringProgram.cjs +0 -3
- package/lib/cjs/types/partials/MedicationKnowledgeMonitoringProgram.d.ts +0 -9
- package/lib/cjs/types/partials/MedicationKnowledgeMonograph.cjs +0 -3
- package/lib/cjs/types/partials/MedicationKnowledgeMonograph.d.ts +0 -10
- package/lib/cjs/types/partials/MedicationKnowledgePackaging.cjs +0 -3
- package/lib/cjs/types/partials/MedicationKnowledgePackaging.d.ts +0 -10
- package/lib/cjs/types/partials/MedicationKnowledgePatientCharacteristics.cjs +0 -3
- package/lib/cjs/types/partials/MedicationKnowledgePatientCharacteristics.d.ts +0 -11
- package/lib/cjs/types/partials/MedicationKnowledgeRegulatory.cjs +0 -3
- package/lib/cjs/types/partials/MedicationKnowledgeRegulatory.d.ts +0 -14
- package/lib/cjs/types/partials/MedicationKnowledgeRelatedMedicationKnowledge.cjs +0 -3
- package/lib/cjs/types/partials/MedicationKnowledgeRelatedMedicationKnowledge.d.ts +0 -10
- package/lib/cjs/types/partials/MedicationKnowledgeSchedule.cjs +0 -3
- package/lib/cjs/types/partials/MedicationKnowledgeSchedule.d.ts +0 -8
- package/lib/cjs/types/partials/MedicationKnowledgeSubstitution.cjs +0 -3
- package/lib/cjs/types/partials/MedicationKnowledgeSubstitution.d.ts +0 -9
- package/lib/cjs/types/partials/MedicationRequestDispenseRequest.cjs +0 -3
- package/lib/cjs/types/partials/MedicationRequestDispenseRequest.d.ts +0 -18
- package/lib/cjs/types/partials/MedicationRequestInitialFill.cjs +0 -3
- package/lib/cjs/types/partials/MedicationRequestInitialFill.d.ts +0 -9
- package/lib/cjs/types/partials/MedicationRequestSubstitution.cjs +0 -3
- package/lib/cjs/types/partials/MedicationRequestSubstitution.d.ts +0 -10
- package/lib/cjs/types/partials/MedicinalProductDefinitionCharacteristic.cjs +0 -3
- package/lib/cjs/types/partials/MedicinalProductDefinitionCharacteristic.d.ts +0 -16
- package/lib/cjs/types/partials/MedicinalProductDefinitionContact.cjs +0 -3
- package/lib/cjs/types/partials/MedicinalProductDefinitionContact.d.ts +0 -10
- package/lib/cjs/types/partials/MedicinalProductDefinitionCountryLanguage.cjs +0 -3
- package/lib/cjs/types/partials/MedicinalProductDefinitionCountryLanguage.d.ts +0 -10
- package/lib/cjs/types/partials/MedicinalProductDefinitionCrossReference.cjs +0 -3
- package/lib/cjs/types/partials/MedicinalProductDefinitionCrossReference.d.ts +0 -10
- package/lib/cjs/types/partials/MedicinalProductDefinitionName.cjs +0 -3
- package/lib/cjs/types/partials/MedicinalProductDefinitionName.d.ts +0 -13
- package/lib/cjs/types/partials/MedicinalProductDefinitionNamePart.cjs +0 -3
- package/lib/cjs/types/partials/MedicinalProductDefinitionNamePart.d.ts +0 -9
- package/lib/cjs/types/partials/MedicinalProductDefinitionOperation.cjs +0 -3
- package/lib/cjs/types/partials/MedicinalProductDefinitionOperation.d.ts +0 -14
- package/lib/cjs/types/partials/MessageDefinitionAllowedResponse.cjs +0 -3
- package/lib/cjs/types/partials/MessageDefinitionAllowedResponse.d.ts +0 -10
- package/lib/cjs/types/partials/MessageDefinitionFocus.cjs +0 -3
- package/lib/cjs/types/partials/MessageDefinitionFocus.d.ts +0 -12
- package/lib/cjs/types/partials/MessageHeaderDestination.cjs +0 -3
- package/lib/cjs/types/partials/MessageHeaderDestination.d.ts +0 -12
- package/lib/cjs/types/partials/MessageHeaderResponse.cjs +0 -3
- package/lib/cjs/types/partials/MessageHeaderResponse.d.ts +0 -11
- package/lib/cjs/types/partials/MessageHeaderSource.cjs +0 -3
- package/lib/cjs/types/partials/MessageHeaderSource.d.ts +0 -13
- package/lib/cjs/types/partials/Meta.cjs +0 -3
- package/lib/cjs/types/partials/Meta.d.ts +0 -16
- package/lib/cjs/types/partials/MolecularSequenceInner.cjs +0 -3
- package/lib/cjs/types/partials/MolecularSequenceInner.d.ts +0 -9
- package/lib/cjs/types/partials/MolecularSequenceOuter.cjs +0 -3
- package/lib/cjs/types/partials/MolecularSequenceOuter.d.ts +0 -9
- package/lib/cjs/types/partials/MolecularSequenceQuality.cjs +0 -3
- package/lib/cjs/types/partials/MolecularSequenceQuality.d.ts +0 -26
- package/lib/cjs/types/partials/MolecularSequenceReferenceSeq.cjs +0 -3
- package/lib/cjs/types/partials/MolecularSequenceReferenceSeq.d.ts +0 -18
- package/lib/cjs/types/partials/MolecularSequenceRepository.cjs +0 -3
- package/lib/cjs/types/partials/MolecularSequenceRepository.d.ts +0 -13
- package/lib/cjs/types/partials/MolecularSequenceRoc.cjs +0 -3
- package/lib/cjs/types/partials/MolecularSequenceRoc.d.ts +0 -15
- package/lib/cjs/types/partials/MolecularSequenceStructureVariant.cjs +0 -3
- package/lib/cjs/types/partials/MolecularSequenceStructureVariant.d.ts +0 -15
- package/lib/cjs/types/partials/MolecularSequenceVariant.cjs +0 -3
- package/lib/cjs/types/partials/MolecularSequenceVariant.d.ts +0 -14
- package/lib/cjs/types/partials/Money.cjs +0 -3
- package/lib/cjs/types/partials/Money.d.ts +0 -8
- package/lib/cjs/types/partials/NamingSystemUniqueId.cjs +0 -3
- package/lib/cjs/types/partials/NamingSystemUniqueId.d.ts +0 -12
- package/lib/cjs/types/partials/Narrative.cjs +0 -3
- package/lib/cjs/types/partials/Narrative.d.ts +0 -8
- package/lib/cjs/types/partials/NutritionOrderAdministration.cjs +0 -3
- package/lib/cjs/types/partials/NutritionOrderAdministration.d.ts +0 -13
- package/lib/cjs/types/partials/NutritionOrderEnteralFormula.cjs +0 -3
- package/lib/cjs/types/partials/NutritionOrderEnteralFormula.d.ts +0 -18
- package/lib/cjs/types/partials/NutritionOrderNutrient.cjs +0 -3
- package/lib/cjs/types/partials/NutritionOrderNutrient.d.ts +0 -10
- package/lib/cjs/types/partials/NutritionOrderOralDiet.cjs +0 -3
- package/lib/cjs/types/partials/NutritionOrderOralDiet.d.ts +0 -16
- package/lib/cjs/types/partials/NutritionOrderSupplement.cjs +0 -3
- package/lib/cjs/types/partials/NutritionOrderSupplement.d.ts +0 -14
- package/lib/cjs/types/partials/NutritionOrderTexture.cjs +0 -3
- package/lib/cjs/types/partials/NutritionOrderTexture.d.ts +0 -9
- package/lib/cjs/types/partials/NutritionProductIngredient.cjs +0 -3
- package/lib/cjs/types/partials/NutritionProductIngredient.d.ts +0 -10
- package/lib/cjs/types/partials/NutritionProductInstance.cjs +0 -3
- package/lib/cjs/types/partials/NutritionProductInstance.d.ts +0 -14
- package/lib/cjs/types/partials/NutritionProductNutrient.cjs +0 -3
- package/lib/cjs/types/partials/NutritionProductNutrient.d.ts +0 -10
- package/lib/cjs/types/partials/NutritionProductProductCharacteristic.cjs +0 -3
- package/lib/cjs/types/partials/NutritionProductProductCharacteristic.d.ts +0 -17
- package/lib/cjs/types/partials/ObservationComponent.cjs +0 -3
- package/lib/cjs/types/partials/ObservationComponent.d.ts +0 -31
- package/lib/cjs/types/partials/ObservationDefinitionQualifiedInterval.cjs +0 -3
- package/lib/cjs/types/partials/ObservationDefinitionQualifiedInterval.d.ts +0 -16
- package/lib/cjs/types/partials/ObservationDefinitionQuantitativeDetails.cjs +0 -3
- package/lib/cjs/types/partials/ObservationDefinitionQuantitativeDetails.d.ts +0 -13
- package/lib/cjs/types/partials/ObservationReferenceRange.cjs +0 -3
- package/lib/cjs/types/partials/ObservationReferenceRange.d.ts +0 -15
- package/lib/cjs/types/partials/OperationDefinitionBinding.cjs +0 -3
- package/lib/cjs/types/partials/OperationDefinitionBinding.d.ts +0 -9
- package/lib/cjs/types/partials/OperationDefinitionOverload.cjs +0 -3
- package/lib/cjs/types/partials/OperationDefinitionOverload.d.ts +0 -8
- package/lib/cjs/types/partials/OperationDefinitionParameter.cjs +0 -3
- package/lib/cjs/types/partials/OperationDefinitionParameter.d.ts +0 -21
- package/lib/cjs/types/partials/OperationDefinitionReferencedFrom.cjs +0 -3
- package/lib/cjs/types/partials/OperationDefinitionReferencedFrom.d.ts +0 -8
- package/lib/cjs/types/partials/OperationOutcomeIssue.cjs +0 -3
- package/lib/cjs/types/partials/OperationOutcomeIssue.d.ts +0 -13
- package/lib/cjs/types/partials/OrganizationContact.cjs +0 -3
- package/lib/cjs/types/partials/OrganizationContact.d.ts +0 -14
- package/lib/cjs/types/partials/PackagedProductDefinitionContainedItem.cjs +0 -3
- package/lib/cjs/types/partials/PackagedProductDefinitionContainedItem.d.ts +0 -10
- package/lib/cjs/types/partials/PackagedProductDefinitionLegalStatusOfSupply.cjs +0 -3
- package/lib/cjs/types/partials/PackagedProductDefinitionLegalStatusOfSupply.d.ts +0 -9
- package/lib/cjs/types/partials/PackagedProductDefinitionPackage.cjs +0 -3
- package/lib/cjs/types/partials/PackagedProductDefinitionPackage.d.ts +0 -23
- package/lib/cjs/types/partials/PackagedProductDefinitionProperty.cjs +0 -3
- package/lib/cjs/types/partials/PackagedProductDefinitionProperty.d.ts +0 -16
- package/lib/cjs/types/partials/PackagedProductDefinitionShelfLifeStorage.cjs +0 -3
- package/lib/cjs/types/partials/PackagedProductDefinitionShelfLifeStorage.d.ts +0 -12
- package/lib/cjs/types/partials/ParameterDefinition.cjs +0 -3
- package/lib/cjs/types/partials/ParameterDefinition.d.ts +0 -14
- package/lib/cjs/types/partials/ParametersParameter.cjs +0 -3
- package/lib/cjs/types/partials/ParametersParameter.d.ts +0 -102
- package/lib/cjs/types/partials/PatientCommunication.cjs +0 -3
- package/lib/cjs/types/partials/PatientCommunication.d.ts +0 -9
- package/lib/cjs/types/partials/PatientContact.cjs +0 -3
- package/lib/cjs/types/partials/PatientContact.d.ts +0 -19
- package/lib/cjs/types/partials/PatientLink.cjs +0 -3
- package/lib/cjs/types/partials/PatientLink.d.ts +0 -9
- package/lib/cjs/types/partials/PaymentReconciliationDetail.cjs +0 -3
- package/lib/cjs/types/partials/PaymentReconciliationDetail.d.ts +0 -21
- package/lib/cjs/types/partials/PaymentReconciliationProcessNote.cjs +0 -3
- package/lib/cjs/types/partials/PaymentReconciliationProcessNote.d.ts +0 -8
- package/lib/cjs/types/partials/Period.cjs +0 -3
- package/lib/cjs/types/partials/Period.d.ts +0 -8
- package/lib/cjs/types/partials/PersonLink.cjs +0 -3
- package/lib/cjs/types/partials/PersonLink.d.ts +0 -9
- package/lib/cjs/types/partials/PlanDefinitionAction.cjs +0 -3
- package/lib/cjs/types/partials/PlanDefinitionAction.d.ts +0 -58
- package/lib/cjs/types/partials/PlanDefinitionCondition.cjs +0 -3
- package/lib/cjs/types/partials/PlanDefinitionCondition.d.ts +0 -9
- package/lib/cjs/types/partials/PlanDefinitionDynamicValue.cjs +0 -3
- package/lib/cjs/types/partials/PlanDefinitionDynamicValue.d.ts +0 -9
- package/lib/cjs/types/partials/PlanDefinitionGoal.cjs +0 -3
- package/lib/cjs/types/partials/PlanDefinitionGoal.d.ts +0 -16
- package/lib/cjs/types/partials/PlanDefinitionParticipant.cjs +0 -3
- package/lib/cjs/types/partials/PlanDefinitionParticipant.d.ts +0 -9
- package/lib/cjs/types/partials/PlanDefinitionRelatedAction.cjs +0 -3
- package/lib/cjs/types/partials/PlanDefinitionRelatedAction.d.ts +0 -13
- package/lib/cjs/types/partials/PlanDefinitionTarget.cjs +0 -3
- package/lib/cjs/types/partials/PlanDefinitionTarget.d.ts +0 -14
- package/lib/cjs/types/partials/Population.cjs +0 -3
- package/lib/cjs/types/partials/Population.d.ts +0 -13
- package/lib/cjs/types/partials/PractitionerQualification.cjs +0 -3
- package/lib/cjs/types/partials/PractitionerQualification.d.ts +0 -14
- package/lib/cjs/types/partials/PractitionerRoleAvailableTime.cjs +0 -3
- package/lib/cjs/types/partials/PractitionerRoleAvailableTime.d.ts +0 -11
- package/lib/cjs/types/partials/PractitionerRoleNotAvailable.cjs +0 -3
- package/lib/cjs/types/partials/PractitionerRoleNotAvailable.d.ts +0 -9
- package/lib/cjs/types/partials/ProcedureFocalDevice.cjs +0 -3
- package/lib/cjs/types/partials/ProcedureFocalDevice.d.ts +0 -10
- package/lib/cjs/types/partials/ProcedurePerformer.cjs +0 -3
- package/lib/cjs/types/partials/ProcedurePerformer.d.ts +0 -11
- package/lib/cjs/types/partials/ProdCharacteristic.cjs +0 -3
- package/lib/cjs/types/partials/ProdCharacteristic.d.ts +0 -20
- package/lib/cjs/types/partials/ProductShelfLife.cjs +0 -3
- package/lib/cjs/types/partials/ProductShelfLife.d.ts +0 -13
- package/lib/cjs/types/partials/ProvenanceAgent.cjs +0 -3
- package/lib/cjs/types/partials/ProvenanceAgent.d.ts +0 -12
- package/lib/cjs/types/partials/ProvenanceEntity.cjs +0 -3
- package/lib/cjs/types/partials/ProvenanceEntity.d.ts +0 -11
- package/lib/cjs/types/partials/Quantity.cjs +0 -3
- package/lib/cjs/types/partials/Quantity.d.ts +0 -12
- package/lib/cjs/types/partials/QuestionnaireAnswerOption.cjs +0 -3
- package/lib/cjs/types/partials/QuestionnaireAnswerOption.d.ts +0 -18
- package/lib/cjs/types/partials/QuestionnaireEnableWhen.cjs +0 -3
- package/lib/cjs/types/partials/QuestionnaireEnableWhen.d.ts +0 -26
- package/lib/cjs/types/partials/QuestionnaireInitial.cjs +0 -3
- package/lib/cjs/types/partials/QuestionnaireInitial.d.ts +0 -28
- package/lib/cjs/types/partials/QuestionnaireItem.cjs +0 -3
- package/lib/cjs/types/partials/QuestionnaireItem.d.ts +0 -29
- package/lib/cjs/types/partials/QuestionnaireResponseAnswer.cjs +0 -3
- package/lib/cjs/types/partials/QuestionnaireResponseAnswer.d.ts +0 -30
- package/lib/cjs/types/partials/QuestionnaireResponseItem.cjs +0 -3
- package/lib/cjs/types/partials/QuestionnaireResponseItem.d.ts +0 -13
- package/lib/cjs/types/partials/Range.cjs +0 -3
- package/lib/cjs/types/partials/Range.d.ts +0 -8
- package/lib/cjs/types/partials/Ratio.cjs +0 -3
- package/lib/cjs/types/partials/Ratio.d.ts +0 -8
- package/lib/cjs/types/partials/RatioRange.cjs +0 -3
- package/lib/cjs/types/partials/RatioRange.d.ts +0 -9
- package/lib/cjs/types/partials/Reference.cjs +0 -3
- package/lib/cjs/types/partials/Reference.d.ts +0 -14
- package/lib/cjs/types/partials/RegulatedAuthorizationCase.cjs +0 -3
- package/lib/cjs/types/partials/RegulatedAuthorizationCase.d.ts +0 -16
- package/lib/cjs/types/partials/RelatedArtifact.cjs +0 -3
- package/lib/cjs/types/partials/RelatedArtifact.d.ts +0 -16
- package/lib/cjs/types/partials/RelatedPersonCommunication.cjs +0 -3
- package/lib/cjs/types/partials/RelatedPersonCommunication.d.ts +0 -9
- package/lib/cjs/types/partials/RequestGroupAction.cjs +0 -3
- package/lib/cjs/types/partials/RequestGroupAction.d.ts +0 -40
- package/lib/cjs/types/partials/RequestGroupCondition.cjs +0 -3
- package/lib/cjs/types/partials/RequestGroupCondition.d.ts +0 -9
- package/lib/cjs/types/partials/RequestGroupRelatedAction.cjs +0 -3
- package/lib/cjs/types/partials/RequestGroupRelatedAction.d.ts +0 -13
- package/lib/cjs/types/partials/ResearchElementDefinitionCharacteristic.cjs +0 -3
- package/lib/cjs/types/partials/ResearchElementDefinitionCharacteristic.d.ts +0 -36
- package/lib/cjs/types/partials/ResearchStudyArm.cjs +0 -3
- package/lib/cjs/types/partials/ResearchStudyArm.d.ts +0 -10
- package/lib/cjs/types/partials/ResearchStudyObjective.cjs +0 -3
- package/lib/cjs/types/partials/ResearchStudyObjective.d.ts +0 -9
- package/lib/cjs/types/partials/RiskAssessmentPrediction.cjs +0 -3
- package/lib/cjs/types/partials/RiskAssessmentPrediction.d.ts +0 -18
- package/lib/cjs/types/partials/SampledData.cjs +0 -3
- package/lib/cjs/types/partials/SampledData.d.ts +0 -15
- package/lib/cjs/types/partials/SearchParameterComponent.cjs +0 -3
- package/lib/cjs/types/partials/SearchParameterComponent.d.ts +0 -9
- package/lib/cjs/types/partials/Signature.cjs +0 -3
- package/lib/cjs/types/partials/Signature.d.ts +0 -16
- package/lib/cjs/types/partials/SpecimenCollection.cjs +0 -3
- package/lib/cjs/types/partials/SpecimenCollection.d.ts +0 -20
- package/lib/cjs/types/partials/SpecimenContainer.cjs +0 -3
- package/lib/cjs/types/partials/SpecimenContainer.d.ts +0 -17
- package/lib/cjs/types/partials/SpecimenDefinitionAdditive.cjs +0 -3
- package/lib/cjs/types/partials/SpecimenDefinitionAdditive.d.ts +0 -10
- package/lib/cjs/types/partials/SpecimenDefinitionContainer.cjs +0 -3
- package/lib/cjs/types/partials/SpecimenDefinitionContainer.d.ts +0 -18
- package/lib/cjs/types/partials/SpecimenDefinitionHandling.cjs +0 -3
- package/lib/cjs/types/partials/SpecimenDefinitionHandling.d.ts +0 -13
- package/lib/cjs/types/partials/SpecimenDefinitionTypeTested.cjs +0 -3
- package/lib/cjs/types/partials/SpecimenDefinitionTypeTested.d.ts +0 -18
- package/lib/cjs/types/partials/SpecimenProcessing.cjs +0 -3
- package/lib/cjs/types/partials/SpecimenProcessing.d.ts +0 -15
- package/lib/cjs/types/partials/StructureDefinitionContext.cjs +0 -3
- package/lib/cjs/types/partials/StructureDefinitionContext.d.ts +0 -8
- package/lib/cjs/types/partials/StructureDefinitionDifferential.cjs +0 -3
- package/lib/cjs/types/partials/StructureDefinitionDifferential.d.ts +0 -8
- package/lib/cjs/types/partials/StructureDefinitionMapping.cjs +0 -3
- package/lib/cjs/types/partials/StructureDefinitionMapping.d.ts +0 -12
- package/lib/cjs/types/partials/StructureDefinitionSnapshot.cjs +0 -3
- package/lib/cjs/types/partials/StructureDefinitionSnapshot.d.ts +0 -8
- package/lib/cjs/types/partials/StructureMapDependent.cjs +0 -3
- package/lib/cjs/types/partials/StructureMapDependent.d.ts +0 -9
- package/lib/cjs/types/partials/StructureMapGroup.cjs +0 -3
- package/lib/cjs/types/partials/StructureMapGroup.d.ts +0 -15
- package/lib/cjs/types/partials/StructureMapInput.cjs +0 -3
- package/lib/cjs/types/partials/StructureMapInput.d.ts +0 -11
- package/lib/cjs/types/partials/StructureMapParameter.cjs +0 -3
- package/lib/cjs/types/partials/StructureMapParameter.d.ts +0 -14
- package/lib/cjs/types/partials/StructureMapRule.cjs +0 -3
- package/lib/cjs/types/partials/StructureMapRule.d.ts +0 -16
- package/lib/cjs/types/partials/StructureMapSource.cjs +0 -3
- package/lib/cjs/types/partials/StructureMapSource.d.ts +0 -108
- package/lib/cjs/types/partials/StructureMapStructure.cjs +0 -3
- package/lib/cjs/types/partials/StructureMapStructure.d.ts +0 -11
- package/lib/cjs/types/partials/StructureMapTarget.cjs +0 -3
- package/lib/cjs/types/partials/StructureMapTarget.d.ts +0 -16
- package/lib/cjs/types/partials/SubscriptionChannel.cjs +0 -3
- package/lib/cjs/types/partials/SubscriptionChannel.d.ts +0 -11
- package/lib/cjs/types/partials/SubscriptionStatusNotificationEvent.cjs +0 -3
- package/lib/cjs/types/partials/SubscriptionStatusNotificationEvent.d.ts +0 -12
- package/lib/cjs/types/partials/SubscriptionTopicCanFilterBy.cjs +0 -3
- package/lib/cjs/types/partials/SubscriptionTopicCanFilterBy.d.ts +0 -13
- package/lib/cjs/types/partials/SubscriptionTopicEventTrigger.cjs +0 -3
- package/lib/cjs/types/partials/SubscriptionTopicEventTrigger.d.ts +0 -12
- package/lib/cjs/types/partials/SubscriptionTopicNotificationShape.cjs +0 -3
- package/lib/cjs/types/partials/SubscriptionTopicNotificationShape.d.ts +0 -10
- package/lib/cjs/types/partials/SubscriptionTopicQueryCriteria.cjs +0 -3
- package/lib/cjs/types/partials/SubscriptionTopicQueryCriteria.d.ts +0 -11
- package/lib/cjs/types/partials/SubscriptionTopicResourceTrigger.cjs +0 -3
- package/lib/cjs/types/partials/SubscriptionTopicResourceTrigger.d.ts +0 -14
- package/lib/cjs/types/partials/SubstanceDefinitionCode.cjs +0 -3
- package/lib/cjs/types/partials/SubstanceDefinitionCode.d.ts +0 -15
- package/lib/cjs/types/partials/SubstanceDefinitionMoiety.cjs +0 -3
- package/lib/cjs/types/partials/SubstanceDefinitionMoiety.d.ts +0 -18
- package/lib/cjs/types/partials/SubstanceDefinitionMolecularWeight.cjs +0 -3
- package/lib/cjs/types/partials/SubstanceDefinitionMolecularWeight.d.ts +0 -11
- package/lib/cjs/types/partials/SubstanceDefinitionName.cjs +0 -3
- package/lib/cjs/types/partials/SubstanceDefinitionName.d.ts +0 -20
- package/lib/cjs/types/partials/SubstanceDefinitionOfficial.cjs +0 -3
- package/lib/cjs/types/partials/SubstanceDefinitionOfficial.d.ts +0 -11
- package/lib/cjs/types/partials/SubstanceDefinitionProperty.cjs +0 -3
- package/lib/cjs/types/partials/SubstanceDefinitionProperty.d.ts +0 -16
- package/lib/cjs/types/partials/SubstanceDefinitionRelationship.cjs +0 -3
- package/lib/cjs/types/partials/SubstanceDefinitionRelationship.d.ts +0 -20
- package/lib/cjs/types/partials/SubstanceDefinitionRepresentation.cjs +0 -3
- package/lib/cjs/types/partials/SubstanceDefinitionRepresentation.d.ts +0 -12
- package/lib/cjs/types/partials/SubstanceDefinitionSourceMaterial.cjs +0 -3
- package/lib/cjs/types/partials/SubstanceDefinitionSourceMaterial.d.ts +0 -12
- package/lib/cjs/types/partials/SubstanceDefinitionStructure.cjs +0 -3
- package/lib/cjs/types/partials/SubstanceDefinitionStructure.d.ts +0 -18
- package/lib/cjs/types/partials/SubstanceIngredient.cjs +0 -3
- package/lib/cjs/types/partials/SubstanceIngredient.d.ts +0 -12
- package/lib/cjs/types/partials/SubstanceInstance.cjs +0 -3
- package/lib/cjs/types/partials/SubstanceInstance.d.ts +0 -12
- package/lib/cjs/types/partials/SupplyDeliverySuppliedItem.cjs +0 -3
- package/lib/cjs/types/partials/SupplyDeliverySuppliedItem.d.ts +0 -12
- package/lib/cjs/types/partials/SupplyRequestParameter.cjs +0 -3
- package/lib/cjs/types/partials/SupplyRequestParameter.d.ts +0 -14
- package/lib/cjs/types/partials/TaskInput.cjs +0 -3
- package/lib/cjs/types/partials/TaskInput.d.ts +0 -99
- package/lib/cjs/types/partials/TaskOutput.cjs +0 -3
- package/lib/cjs/types/partials/TaskOutput.d.ts +0 -99
- package/lib/cjs/types/partials/TaskRestriction.cjs +0 -3
- package/lib/cjs/types/partials/TaskRestriction.d.ts +0 -12
- package/lib/cjs/types/partials/TerminologyCapabilitiesClosure.cjs +0 -3
- package/lib/cjs/types/partials/TerminologyCapabilitiesClosure.d.ts +0 -7
- package/lib/cjs/types/partials/TerminologyCapabilitiesCodeSystem.cjs +0 -3
- package/lib/cjs/types/partials/TerminologyCapabilitiesCodeSystem.d.ts +0 -11
- package/lib/cjs/types/partials/TerminologyCapabilitiesExpansion.cjs +0 -3
- package/lib/cjs/types/partials/TerminologyCapabilitiesExpansion.d.ts +0 -13
- package/lib/cjs/types/partials/TerminologyCapabilitiesFilter.cjs +0 -3
- package/lib/cjs/types/partials/TerminologyCapabilitiesFilter.d.ts +0 -8
- package/lib/cjs/types/partials/TerminologyCapabilitiesImplementation.cjs +0 -3
- package/lib/cjs/types/partials/TerminologyCapabilitiesImplementation.d.ts +0 -9
- package/lib/cjs/types/partials/TerminologyCapabilitiesParameter.cjs +0 -3
- package/lib/cjs/types/partials/TerminologyCapabilitiesParameter.d.ts +0 -8
- package/lib/cjs/types/partials/TerminologyCapabilitiesSoftware.cjs +0 -3
- package/lib/cjs/types/partials/TerminologyCapabilitiesSoftware.d.ts +0 -8
- package/lib/cjs/types/partials/TerminologyCapabilitiesTranslation.cjs +0 -3
- package/lib/cjs/types/partials/TerminologyCapabilitiesTranslation.d.ts +0 -7
- package/lib/cjs/types/partials/TerminologyCapabilitiesValidateCode.cjs +0 -3
- package/lib/cjs/types/partials/TerminologyCapabilitiesValidateCode.d.ts +0 -7
- package/lib/cjs/types/partials/TerminologyCapabilitiesVersion.cjs +0 -3
- package/lib/cjs/types/partials/TerminologyCapabilitiesVersion.d.ts +0 -13
- package/lib/cjs/types/partials/TestReportAction.cjs +0 -3
- package/lib/cjs/types/partials/TestReportAction.d.ts +0 -10
- package/lib/cjs/types/partials/TestReportAction1.cjs +0 -3
- package/lib/cjs/types/partials/TestReportAction1.d.ts +0 -10
- package/lib/cjs/types/partials/TestReportAction2.cjs +0 -3
- package/lib/cjs/types/partials/TestReportAction2.d.ts +0 -8
- package/lib/cjs/types/partials/TestReportAssert.cjs +0 -3
- package/lib/cjs/types/partials/TestReportAssert.d.ts +0 -10
- package/lib/cjs/types/partials/TestReportOperation.cjs +0 -3
- package/lib/cjs/types/partials/TestReportOperation.d.ts +0 -11
- package/lib/cjs/types/partials/TestReportParticipant.cjs +0 -3
- package/lib/cjs/types/partials/TestReportParticipant.d.ts +0 -10
- package/lib/cjs/types/partials/TestReportSetup.cjs +0 -3
- package/lib/cjs/types/partials/TestReportSetup.d.ts +0 -8
- package/lib/cjs/types/partials/TestReportTeardown.cjs +0 -3
- package/lib/cjs/types/partials/TestReportTeardown.d.ts +0 -8
- package/lib/cjs/types/partials/TestReportTest.cjs +0 -3
- package/lib/cjs/types/partials/TestReportTest.d.ts +0 -10
- package/lib/cjs/types/partials/TestScriptAction.cjs +0 -3
- package/lib/cjs/types/partials/TestScriptAction.d.ts +0 -10
- package/lib/cjs/types/partials/TestScriptAction1.cjs +0 -3
- package/lib/cjs/types/partials/TestScriptAction1.d.ts +0 -10
- package/lib/cjs/types/partials/TestScriptAction2.cjs +0 -3
- package/lib/cjs/types/partials/TestScriptAction2.d.ts +0 -8
- package/lib/cjs/types/partials/TestScriptAssert.cjs +0 -3
- package/lib/cjs/types/partials/TestScriptAssert.d.ts +0 -29
- package/lib/cjs/types/partials/TestScriptCapability.cjs +0 -3
- package/lib/cjs/types/partials/TestScriptCapability.d.ts +0 -16
- package/lib/cjs/types/partials/TestScriptDestination.cjs +0 -3
- package/lib/cjs/types/partials/TestScriptDestination.d.ts +0 -10
- package/lib/cjs/types/partials/TestScriptFixture.cjs +0 -3
- package/lib/cjs/types/partials/TestScriptFixture.d.ts +0 -10
- package/lib/cjs/types/partials/TestScriptLink.cjs +0 -3
- package/lib/cjs/types/partials/TestScriptLink.d.ts +0 -9
- package/lib/cjs/types/partials/TestScriptMetadata.cjs +0 -3
- package/lib/cjs/types/partials/TestScriptMetadata.d.ts +0 -10
- package/lib/cjs/types/partials/TestScriptOperation.cjs +0 -3
- package/lib/cjs/types/partials/TestScriptOperation.d.ts +0 -27
- package/lib/cjs/types/partials/TestScriptOrigin.cjs +0 -3
- package/lib/cjs/types/partials/TestScriptOrigin.d.ts +0 -10
- package/lib/cjs/types/partials/TestScriptRequestHeader.cjs +0 -3
- package/lib/cjs/types/partials/TestScriptRequestHeader.d.ts +0 -8
- package/lib/cjs/types/partials/TestScriptSetup.cjs +0 -3
- package/lib/cjs/types/partials/TestScriptSetup.d.ts +0 -8
- package/lib/cjs/types/partials/TestScriptTeardown.cjs +0 -3
- package/lib/cjs/types/partials/TestScriptTeardown.d.ts +0 -8
- package/lib/cjs/types/partials/TestScriptTest.cjs +0 -3
- package/lib/cjs/types/partials/TestScriptTest.d.ts +0 -10
- package/lib/cjs/types/partials/TestScriptVariable.cjs +0 -3
- package/lib/cjs/types/partials/TestScriptVariable.d.ts +0 -15
- package/lib/cjs/types/partials/Timing.cjs +0 -3
- package/lib/cjs/types/partials/Timing.d.ts +0 -12
- package/lib/cjs/types/partials/TimingRepeat.cjs +0 -3
- package/lib/cjs/types/partials/TimingRepeat.d.ts +0 -30
- package/lib/cjs/types/partials/TriggerDefinition.cjs +0 -3
- package/lib/cjs/types/partials/TriggerDefinition.d.ts +0 -19
- package/lib/cjs/types/partials/UsageContext.cjs +0 -3
- package/lib/cjs/types/partials/UsageContext.d.ts +0 -15
- package/lib/cjs/types/partials/ValueSetCompose.cjs +0 -3
- package/lib/cjs/types/partials/ValueSetCompose.d.ts +0 -12
- package/lib/cjs/types/partials/ValueSetConcept.cjs +0 -3
- package/lib/cjs/types/partials/ValueSetConcept.d.ts +0 -10
- package/lib/cjs/types/partials/ValueSetContains.cjs +0 -3
- package/lib/cjs/types/partials/ValueSetContains.d.ts +0 -16
- package/lib/cjs/types/partials/ValueSetDesignation.cjs +0 -3
- package/lib/cjs/types/partials/ValueSetDesignation.d.ts +0 -10
- package/lib/cjs/types/partials/ValueSetExpansion.cjs +0 -3
- package/lib/cjs/types/partials/ValueSetExpansion.d.ts +0 -17
- package/lib/cjs/types/partials/ValueSetFilter.cjs +0 -3
- package/lib/cjs/types/partials/ValueSetFilter.d.ts +0 -9
- package/lib/cjs/types/partials/ValueSetInclude.cjs +0 -3
- package/lib/cjs/types/partials/ValueSetInclude.d.ts +0 -15
- package/lib/cjs/types/partials/ValueSetParameter.cjs +0 -3
- package/lib/cjs/types/partials/ValueSetParameter.d.ts +0 -18
- package/lib/cjs/types/partials/VerificationResultAttestation.cjs +0 -3
- package/lib/cjs/types/partials/VerificationResultAttestation.d.ts +0 -18
- package/lib/cjs/types/partials/VerificationResultPrimarySource.cjs +0 -3
- package/lib/cjs/types/partials/VerificationResultPrimarySource.d.ts +0 -16
- package/lib/cjs/types/partials/VerificationResultValidator.cjs +0 -3
- package/lib/cjs/types/partials/VerificationResultValidator.d.ts +0 -11
- package/lib/cjs/types/partials/VisionPrescriptionLensSpecification.cjs +0 -3
- package/lib/cjs/types/partials/VisionPrescriptionLensSpecification.d.ts +0 -26
- package/lib/cjs/types/partials/VisionPrescriptionPrism.cjs +0 -3
- package/lib/cjs/types/partials/VisionPrescriptionPrism.d.ts +0 -9
- package/lib/cjs/types/resources/Account.cjs +0 -3
- package/lib/cjs/types/resources/Account.d.ts +0 -33
- package/lib/cjs/types/resources/ActivityDefinition.cjs +0 -3
- package/lib/cjs/types/resources/ActivityDefinition.d.ts +0 -87
- package/lib/cjs/types/resources/AdministrableProductDefinition.cjs +0 -3
- package/lib/cjs/types/resources/AdministrableProductDefinition.d.ts +0 -31
- package/lib/cjs/types/resources/AdverseEvent.cjs +0 -3
- package/lib/cjs/types/resources/AdverseEvent.d.ts +0 -41
- package/lib/cjs/types/resources/AllergyIntolerance.cjs +0 -3
- package/lib/cjs/types/resources/AllergyIntolerance.d.ts +0 -45
- package/lib/cjs/types/resources/Appointment.cjs +0 -3
- package/lib/cjs/types/resources/Appointment.d.ts +0 -47
- package/lib/cjs/types/resources/AppointmentResponse.cjs +0 -3
- package/lib/cjs/types/resources/AppointmentResponse.d.ts +0 -28
- package/lib/cjs/types/resources/AuditEvent.cjs +0 -3
- package/lib/cjs/types/resources/AuditEvent.d.ts +0 -34
- package/lib/cjs/types/resources/Basic.cjs +0 -3
- package/lib/cjs/types/resources/Basic.d.ts +0 -25
- package/lib/cjs/types/resources/Binary.cjs +0 -3
- package/lib/cjs/types/resources/Binary.d.ts +0 -14
- package/lib/cjs/types/resources/BiologicallyDerivedProduct.cjs +0 -3
- package/lib/cjs/types/resources/BiologicallyDerivedProduct.d.ts +0 -35
- package/lib/cjs/types/resources/BodyStructure.cjs +0 -3
- package/lib/cjs/types/resources/BodyStructure.d.ts +0 -28
- package/lib/cjs/types/resources/Bundle.cjs +0 -3
- package/lib/cjs/types/resources/Bundle.d.ts +0 -22
- package/lib/cjs/types/resources/CapabilityStatement.cjs +0 -3
- package/lib/cjs/types/resources/CapabilityStatement.d.ts +0 -53
- package/lib/cjs/types/resources/CarePlan.cjs +0 -3
- package/lib/cjs/types/resources/CarePlan.d.ts +0 -47
- package/lib/cjs/types/resources/CareTeam.cjs +0 -3
- package/lib/cjs/types/resources/CareTeam.d.ts +0 -36
- package/lib/cjs/types/resources/CatalogEntry.cjs +0 -3
- package/lib/cjs/types/resources/CatalogEntry.d.ts +0 -35
- package/lib/cjs/types/resources/ChargeItem.cjs +0 -3
- package/lib/cjs/types/resources/ChargeItem.d.ts +0 -57
- package/lib/cjs/types/resources/ChargeItemDefinition.cjs +0 -3
- package/lib/cjs/types/resources/ChargeItemDefinition.d.ts +0 -51
- package/lib/cjs/types/resources/Citation.cjs +0 -3
- package/lib/cjs/types/resources/Citation.d.ts +0 -59
- package/lib/cjs/types/resources/Claim.cjs +0 -3
- package/lib/cjs/types/resources/Claim.d.ts +0 -58
- package/lib/cjs/types/resources/ClaimResponse.cjs +0 -3
- package/lib/cjs/types/resources/ClaimResponse.d.ts +0 -57
- package/lib/cjs/types/resources/ClinicalImpression.cjs +0 -3
- package/lib/cjs/types/resources/ClinicalImpression.d.ts +0 -45
- package/lib/cjs/types/resources/ClinicalUseDefinition.cjs +0 -3
- package/lib/cjs/types/resources/ClinicalUseDefinition.d.ts +0 -35
- package/lib/cjs/types/resources/CodeSystem.cjs +0 -3
- package/lib/cjs/types/resources/CodeSystem.d.ts +0 -53
- package/lib/cjs/types/resources/Communication.cjs +0 -3
- package/lib/cjs/types/resources/Communication.d.ts +0 -46
- package/lib/cjs/types/resources/CommunicationRequest.cjs +0 -3
- package/lib/cjs/types/resources/CommunicationRequest.d.ts +0 -46
- package/lib/cjs/types/resources/CompartmentDefinition.cjs +0 -3
- package/lib/cjs/types/resources/CompartmentDefinition.d.ts +0 -35
- package/lib/cjs/types/resources/Composition.cjs +0 -3
- package/lib/cjs/types/resources/Composition.d.ts +0 -39
- package/lib/cjs/types/resources/ConceptMap.cjs +0 -3
- package/lib/cjs/types/resources/ConceptMap.d.ts +0 -44
- package/lib/cjs/types/resources/Condition.cjs +0 -3
- package/lib/cjs/types/resources/Condition.d.ts +0 -51
- package/lib/cjs/types/resources/Consent.cjs +0 -3
- package/lib/cjs/types/resources/Consent.d.ts +0 -38
- package/lib/cjs/types/resources/Contract.cjs +0 -3
- package/lib/cjs/types/resources/Contract.d.ts +0 -63
- package/lib/cjs/types/resources/Coverage.cjs +0 -3
- package/lib/cjs/types/resources/Coverage.d.ts +0 -40
- package/lib/cjs/types/resources/CoverageEligibilityRequest.cjs +0 -3
- package/lib/cjs/types/resources/CoverageEligibilityRequest.d.ts +0 -40
- package/lib/cjs/types/resources/CoverageEligibilityResponse.cjs +0 -3
- package/lib/cjs/types/resources/CoverageEligibilityResponse.d.ts +0 -40
- package/lib/cjs/types/resources/DetectedIssue.cjs +0 -3
- package/lib/cjs/types/resources/DetectedIssue.d.ts +0 -36
- package/lib/cjs/types/resources/Device.cjs +0 -3
- package/lib/cjs/types/resources/Device.d.ts +0 -53
- package/lib/cjs/types/resources/DeviceDefinition.cjs +0 -3
- package/lib/cjs/types/resources/DeviceDefinition.d.ts +0 -53
- package/lib/cjs/types/resources/DeviceMetric.cjs +0 -3
- package/lib/cjs/types/resources/DeviceMetric.d.ts +0 -31
- package/lib/cjs/types/resources/DeviceRequest.cjs +0 -3
- package/lib/cjs/types/resources/DeviceRequest.d.ts +0 -52
- package/lib/cjs/types/resources/DeviceUseStatement.cjs +0 -3
- package/lib/cjs/types/resources/DeviceUseStatement.d.ts +0 -38
- package/lib/cjs/types/resources/DiagnosticReport.cjs +0 -3
- package/lib/cjs/types/resources/DiagnosticReport.d.ts +0 -43
- package/lib/cjs/types/resources/DocumentManifest.cjs +0 -3
- package/lib/cjs/types/resources/DocumentManifest.d.ts +0 -33
- package/lib/cjs/types/resources/DocumentReference.cjs +0 -3
- package/lib/cjs/types/resources/DocumentReference.d.ts +0 -39
- package/lib/cjs/types/resources/DomainResource.cjs +0 -3
- package/lib/cjs/types/resources/DomainResource.d.ts +0 -16
- package/lib/cjs/types/resources/Encounter.cjs +0 -3
- package/lib/cjs/types/resources/Encounter.d.ts +0 -51
- package/lib/cjs/types/resources/Endpoint.cjs +0 -3
- package/lib/cjs/types/resources/Endpoint.d.ts +0 -34
- package/lib/cjs/types/resources/EnrollmentRequest.cjs +0 -3
- package/lib/cjs/types/resources/EnrollmentRequest.d.ts +0 -26
- package/lib/cjs/types/resources/EnrollmentResponse.cjs +0 -3
- package/lib/cjs/types/resources/EnrollmentResponse.d.ts +0 -27
- package/lib/cjs/types/resources/EpisodeOfCare.cjs +0 -3
- package/lib/cjs/types/resources/EpisodeOfCare.d.ts +0 -34
- package/lib/cjs/types/resources/EventDefinition.cjs +0 -3
- package/lib/cjs/types/resources/EventDefinition.d.ts +0 -56
- package/lib/cjs/types/resources/Evidence.cjs +0 -3
- package/lib/cjs/types/resources/Evidence.d.ts +0 -55
- package/lib/cjs/types/resources/EvidenceReport.cjs +0 -3
- package/lib/cjs/types/resources/EvidenceReport.d.ts +0 -46
- package/lib/cjs/types/resources/EvidenceVariable.cjs +0 -3
- package/lib/cjs/types/resources/EvidenceVariable.d.ts +0 -49
- package/lib/cjs/types/resources/ExampleScenario.cjs +0 -3
- package/lib/cjs/types/resources/ExampleScenario.d.ts +0 -43
- package/lib/cjs/types/resources/ExplanationOfBenefit.cjs +0 -3
- package/lib/cjs/types/resources/ExplanationOfBenefit.d.ts +0 -81
- package/lib/cjs/types/resources/FamilyMemberHistory.cjs +0 -3
- package/lib/cjs/types/resources/FamilyMemberHistory.d.ts +0 -53
- package/lib/cjs/types/resources/Flag.cjs +0 -3
- package/lib/cjs/types/resources/Flag.d.ts +0 -28
- package/lib/cjs/types/resources/Goal.cjs +0 -3
- package/lib/cjs/types/resources/Goal.d.ts +0 -39
- package/lib/cjs/types/resources/GraphDefinition.cjs +0 -3
- package/lib/cjs/types/resources/GraphDefinition.d.ts +0 -38
- package/lib/cjs/types/resources/Group.cjs +0 -3
- package/lib/cjs/types/resources/Group.d.ts +0 -32
- package/lib/cjs/types/resources/GuidanceResponse.cjs +0 -3
- package/lib/cjs/types/resources/GuidanceResponse.d.ts +0 -40
- package/lib/cjs/types/resources/HealthcareService.cjs +0 -3
- package/lib/cjs/types/resources/HealthcareService.d.ts +0 -49
- package/lib/cjs/types/resources/ImagingStudy.cjs +0 -3
- package/lib/cjs/types/resources/ImagingStudy.d.ts +0 -44
- package/lib/cjs/types/resources/Immunization.cjs +0 -3
- package/lib/cjs/types/resources/Immunization.d.ts +0 -56
- package/lib/cjs/types/resources/ImmunizationEvaluation.cjs +0 -3
- package/lib/cjs/types/resources/ImmunizationEvaluation.d.ts +0 -36
- package/lib/cjs/types/resources/ImmunizationRecommendation.cjs +0 -3
- package/lib/cjs/types/resources/ImmunizationRecommendation.d.ts +0 -25
- package/lib/cjs/types/resources/ImplementationGuide.cjs +0 -3
- package/lib/cjs/types/resources/ImplementationGuide.d.ts +0 -46
- package/lib/cjs/types/resources/Ingredient.cjs +0 -3
- package/lib/cjs/types/resources/Ingredient.d.ts +0 -29
- package/lib/cjs/types/resources/InsurancePlan.cjs +0 -3
- package/lib/cjs/types/resources/InsurancePlan.d.ts +0 -37
- package/lib/cjs/types/resources/Invoice.cjs +0 -3
- package/lib/cjs/types/resources/Invoice.d.ts +0 -42
- package/lib/cjs/types/resources/Library.cjs +0 -3
- package/lib/cjs/types/resources/Library.d.ts +0 -61
- package/lib/cjs/types/resources/Linkage.cjs +0 -3
- package/lib/cjs/types/resources/Linkage.d.ts +0 -21
- package/lib/cjs/types/resources/List.cjs +0 -3
- package/lib/cjs/types/resources/List.d.ts +0 -35
- package/lib/cjs/types/resources/Location.cjs +0 -3
- package/lib/cjs/types/resources/Location.d.ts +0 -41
- package/lib/cjs/types/resources/ManufacturedItemDefinition.cjs +0 -3
- package/lib/cjs/types/resources/ManufacturedItemDefinition.d.ts +0 -27
- package/lib/cjs/types/resources/Measure.cjs +0 -3
- package/lib/cjs/types/resources/Measure.d.ts +0 -71
- package/lib/cjs/types/resources/MeasureReport.cjs +0 -3
- package/lib/cjs/types/resources/MeasureReport.d.ts +0 -34
- package/lib/cjs/types/resources/Media.cjs +0 -3
- package/lib/cjs/types/resources/Media.d.ts +0 -49
- package/lib/cjs/types/resources/Medication.cjs +0 -3
- package/lib/cjs/types/resources/Medication.d.ts +0 -30
- package/lib/cjs/types/resources/MedicationAdministration.cjs +0 -3
- package/lib/cjs/types/resources/MedicationAdministration.d.ts +0 -45
- package/lib/cjs/types/resources/MedicationDispense.cjs +0 -3
- package/lib/cjs/types/resources/MedicationDispense.d.ts +0 -51
- package/lib/cjs/types/resources/MedicationKnowledge.cjs +0 -3
- package/lib/cjs/types/resources/MedicationKnowledge.d.ts +0 -53
- package/lib/cjs/types/resources/MedicationRequest.cjs +0 -3
- package/lib/cjs/types/resources/MedicationRequest.d.ts +0 -59
- package/lib/cjs/types/resources/MedicationStatement.cjs +0 -3
- package/lib/cjs/types/resources/MedicationStatement.d.ts +0 -42
- package/lib/cjs/types/resources/MedicinalProductDefinition.cjs +0 -3
- package/lib/cjs/types/resources/MedicinalProductDefinition.d.ts +0 -57
- package/lib/cjs/types/resources/MessageDefinition.cjs +0 -3
- package/lib/cjs/types/resources/MessageDefinition.d.ts +0 -51
- package/lib/cjs/types/resources/MessageHeader.cjs +0 -3
- package/lib/cjs/types/resources/MessageHeader.d.ts +0 -35
- package/lib/cjs/types/resources/MolecularSequence.cjs +0 -3
- package/lib/cjs/types/resources/MolecularSequence.d.ts +0 -41
- package/lib/cjs/types/resources/NamingSystem.cjs +0 -3
- package/lib/cjs/types/resources/NamingSystem.d.ts +0 -35
- package/lib/cjs/types/resources/NutritionOrder.cjs +0 -3
- package/lib/cjs/types/resources/NutritionOrder.d.ts +0 -42
- package/lib/cjs/types/resources/NutritionProduct.cjs +0 -3
- package/lib/cjs/types/resources/NutritionProduct.d.ts +0 -34
- package/lib/cjs/types/resources/Observation.cjs +0 -3
- package/lib/cjs/types/resources/Observation.d.ts +0 -69
- package/lib/cjs/types/resources/ObservationDefinition.cjs +0 -3
- package/lib/cjs/types/resources/ObservationDefinition.d.ts +0 -34
- package/lib/cjs/types/resources/OperationDefinition.cjs +0 -3
- package/lib/cjs/types/resources/OperationDefinition.d.ts +0 -50
- package/lib/cjs/types/resources/OperationOutcome.cjs +0 -3
- package/lib/cjs/types/resources/OperationOutcome.d.ts +0 -18
- package/lib/cjs/types/resources/Organization.cjs +0 -3
- package/lib/cjs/types/resources/Organization.d.ts +0 -32
- package/lib/cjs/types/resources/OrganizationAffiliation.cjs +0 -3
- package/lib/cjs/types/resources/OrganizationAffiliation.d.ts +0 -33
- package/lib/cjs/types/resources/PackagedProductDefinition.cjs +0 -3
- package/lib/cjs/types/resources/PackagedProductDefinition.d.ts +0 -39
- package/lib/cjs/types/resources/Parameters.cjs +0 -3
- package/lib/cjs/types/resources/Parameters.d.ts +0 -11
- package/lib/cjs/types/resources/Patient.cjs +0 -3
- package/lib/cjs/types/resources/Patient.d.ts +0 -47
- package/lib/cjs/types/resources/PaymentNotice.cjs +0 -3
- package/lib/cjs/types/resources/PaymentNotice.d.ts +0 -34
- package/lib/cjs/types/resources/PaymentReconciliation.cjs +0 -3
- package/lib/cjs/types/resources/PaymentReconciliation.d.ts +0 -40
- package/lib/cjs/types/resources/Person.cjs +0 -3
- package/lib/cjs/types/resources/Person.d.ts +0 -34
- package/lib/cjs/types/resources/PlanDefinition.cjs +0 -3
- package/lib/cjs/types/resources/PlanDefinition.d.ts +0 -62
- package/lib/cjs/types/resources/Practitioner.cjs +0 -3
- package/lib/cjs/types/resources/Practitioner.d.ts +0 -34
- package/lib/cjs/types/resources/PractitionerRole.cjs +0 -3
- package/lib/cjs/types/resources/PractitionerRole.d.ts +0 -37
- package/lib/cjs/types/resources/Procedure.cjs +0 -3
- package/lib/cjs/types/resources/Procedure.d.ts +0 -59
- package/lib/cjs/types/resources/Provenance.cjs +0 -3
- package/lib/cjs/types/resources/Provenance.d.ts +0 -35
- package/lib/cjs/types/resources/Questionnaire.cjs +0 -3
- package/lib/cjs/types/resources/Questionnaire.d.ts +0 -49
- package/lib/cjs/types/resources/QuestionnaireResponse.cjs +0 -3
- package/lib/cjs/types/resources/QuestionnaireResponse.d.ts +0 -32
- package/lib/cjs/types/resources/RegulatedAuthorization.cjs +0 -3
- package/lib/cjs/types/resources/RegulatedAuthorization.d.ts +0 -38
- package/lib/cjs/types/resources/RelatedPerson.cjs +0 -3
- package/lib/cjs/types/resources/RelatedPerson.d.ts +0 -38
- package/lib/cjs/types/resources/RequestGroup.cjs +0 -3
- package/lib/cjs/types/resources/RequestGroup.d.ts +0 -41
- package/lib/cjs/types/resources/ResearchDefinition.cjs +0 -3
- package/lib/cjs/types/resources/ResearchDefinition.d.ts +0 -62
- package/lib/cjs/types/resources/ResearchElementDefinition.cjs +0 -3
- package/lib/cjs/types/resources/ResearchElementDefinition.d.ts +0 -62
- package/lib/cjs/types/resources/ResearchStudy.cjs +0 -3
- package/lib/cjs/types/resources/ResearchStudy.d.ts +0 -50
- package/lib/cjs/types/resources/ResearchSubject.cjs +0 -3
- package/lib/cjs/types/resources/ResearchSubject.d.ts +0 -27
- package/lib/cjs/types/resources/Resource.cjs +0 -3
- package/lib/cjs/types/resources/Resource.d.ts +0 -9
- package/lib/cjs/types/resources/RiskAssessment.cjs +0 -3
- package/lib/cjs/types/resources/RiskAssessment.d.ts +0 -41
- package/lib/cjs/types/resources/Schedule.cjs +0 -3
- package/lib/cjs/types/resources/Schedule.d.ts +0 -28
- package/lib/cjs/types/resources/SearchParameter.cjs +0 -3
- package/lib/cjs/types/resources/SearchParameter.d.ts +0 -49
- package/lib/cjs/types/resources/ServiceRequest.cjs +0 -3
- package/lib/cjs/types/resources/ServiceRequest.d.ts +0 -65
- package/lib/cjs/types/resources/Slot.cjs +0 -3
- package/lib/cjs/types/resources/Slot.d.ts +0 -31
- package/lib/cjs/types/resources/Specimen.cjs +0 -3
- package/lib/cjs/types/resources/Specimen.d.ts +0 -37
- package/lib/cjs/types/resources/SpecimenDefinition.cjs +0 -3
- package/lib/cjs/types/resources/SpecimenDefinition.d.ts +0 -25
- package/lib/cjs/types/resources/StructureDefinition.cjs +0 -3
- package/lib/cjs/types/resources/StructureDefinition.d.ts +0 -55
- package/lib/cjs/types/resources/StructureMap.cjs +0 -3
- package/lib/cjs/types/resources/StructureMap.d.ts +0 -43
- package/lib/cjs/types/resources/Subscription.cjs +0 -3
- package/lib/cjs/types/resources/Subscription.d.ts +0 -26
- package/lib/cjs/types/resources/SubscriptionStatus.cjs +0 -3
- package/lib/cjs/types/resources/SubscriptionStatus.d.ts +0 -27
- package/lib/cjs/types/resources/SubscriptionTopic.cjs +0 -3
- package/lib/cjs/types/resources/SubscriptionTopic.d.ts +0 -51
- package/lib/cjs/types/resources/Substance.cjs +0 -3
- package/lib/cjs/types/resources/Substance.d.ts +0 -27
- package/lib/cjs/types/resources/SubstanceDefinition.cjs +0 -3
- package/lib/cjs/types/resources/SubstanceDefinition.d.ts +0 -48
- package/lib/cjs/types/resources/SupplyDelivery.cjs +0 -3
- package/lib/cjs/types/resources/SupplyDelivery.d.ts +0 -36
- package/lib/cjs/types/resources/SupplyRequest.cjs +0 -3
- package/lib/cjs/types/resources/SupplyRequest.d.ts +0 -42
- package/lib/cjs/types/resources/Task.cjs +0 -3
- package/lib/cjs/types/resources/Task.d.ts +0 -57
- package/lib/cjs/types/resources/TerminologyCapabilities.cjs +0 -3
- package/lib/cjs/types/resources/TerminologyCapabilities.d.ts +0 -52
- package/lib/cjs/types/resources/TestReport.cjs +0 -3
- package/lib/cjs/types/resources/TestReport.d.ts +0 -36
- package/lib/cjs/types/resources/TestScript.cjs +0 -3
- package/lib/cjs/types/resources/TestScript.d.ts +0 -55
- package/lib/cjs/types/resources/ValueSet.cjs +0 -3
- package/lib/cjs/types/resources/ValueSet.d.ts +0 -42
- package/lib/cjs/types/resources/VerificationResult.cjs +0 -3
- package/lib/cjs/types/resources/VerificationResult.d.ts +0 -38
- package/lib/cjs/types/resources/VisionPrescription.cjs +0 -3
- package/lib/cjs/types/resources/VisionPrescription.d.ts +0 -28
- package/lib/cjs/types/simpleTypes/Base64Binary.cjs +0 -2
- package/lib/cjs/types/simpleTypes/Base64Binary.d.ts +0 -1
- package/lib/cjs/types/simpleTypes/Canonical.cjs +0 -2
- package/lib/cjs/types/simpleTypes/Canonical.d.ts +0 -1
- package/lib/cjs/types/simpleTypes/Code.cjs +0 -2
- package/lib/cjs/types/simpleTypes/Code.d.ts +0 -1
- package/lib/cjs/types/simpleTypes/Date.cjs +0 -2
- package/lib/cjs/types/simpleTypes/Date.d.ts +0 -1
- package/lib/cjs/types/simpleTypes/DateTime.cjs +0 -2
- package/lib/cjs/types/simpleTypes/DateTime.d.ts +0 -1
- package/lib/cjs/types/simpleTypes/Decimal.cjs +0 -2
- package/lib/cjs/types/simpleTypes/Decimal.d.ts +0 -1
- package/lib/cjs/types/simpleTypes/Id.cjs +0 -2
- package/lib/cjs/types/simpleTypes/Id.d.ts +0 -1
- package/lib/cjs/types/simpleTypes/Instant.cjs +0 -2
- package/lib/cjs/types/simpleTypes/Instant.d.ts +0 -1
- package/lib/cjs/types/simpleTypes/Int.cjs +0 -2
- package/lib/cjs/types/simpleTypes/Int.d.ts +0 -1
- package/lib/cjs/types/simpleTypes/Markdown.cjs +0 -2
- package/lib/cjs/types/simpleTypes/Markdown.d.ts +0 -1
- package/lib/cjs/types/simpleTypes/Oid.cjs +0 -2
- package/lib/cjs/types/simpleTypes/Oid.d.ts +0 -1
- package/lib/cjs/types/simpleTypes/ResourceContainer.cjs +0 -2
- package/lib/cjs/types/simpleTypes/ResourceContainer.d.ts +0 -1
- package/lib/cjs/types/simpleTypes/Time.cjs +0 -2
- package/lib/cjs/types/simpleTypes/Time.d.ts +0 -1
- package/lib/cjs/types/simpleTypes/UnsignedInt.cjs +0 -2
- package/lib/cjs/types/simpleTypes/UnsignedInt.d.ts +0 -1
- package/lib/cjs/types/simpleTypes/Uri.cjs +0 -2
- package/lib/cjs/types/simpleTypes/Uri.d.ts +0 -1
- package/lib/cjs/types/simpleTypes/Url.cjs +0 -2
- package/lib/cjs/types/simpleTypes/Url.d.ts +0 -1
- package/lib/cjs/types/simpleTypes/Uuid.cjs +0 -2
- package/lib/cjs/types/simpleTypes/Uuid.d.ts +0 -1
- package/lib/cjs/types/simpleTypes/Xhtml.cjs +0 -2
- package/lib/cjs/types/simpleTypes/Xhtml.d.ts +0 -1
- package/lib/esm/generators/fhir_summary_generator.d.ts +0 -46
- package/lib/esm/generators/fhir_summary_generator.js +0 -224
- package/lib/esm/generators/narrative_generator.d.ts +0 -40
- package/lib/esm/generators/narrative_generator.js +0 -76
- package/lib/esm/index.d.ts +0 -3
- package/lib/esm/index.js +0 -3
- package/lib/esm/narratives/templates/typescript/AdvanceDirectivesTemplate.d.ts +0 -22
- package/lib/esm/narratives/templates/typescript/AdvanceDirectivesTemplate.js +0 -66
- package/lib/esm/narratives/templates/typescript/AllergyIntoleranceTemplate.d.ts +0 -31
- package/lib/esm/narratives/templates/typescript/AllergyIntoleranceTemplate.js +0 -151
- package/lib/esm/narratives/templates/typescript/ClinicalImpressionTemplate.d.ts +0 -15
- package/lib/esm/narratives/templates/typescript/ClinicalImpressionTemplate.js +0 -107
- package/lib/esm/narratives/templates/typescript/CompositionTemplate.d.ts +0 -22
- package/lib/esm/narratives/templates/typescript/CompositionTemplate.js +0 -26
- package/lib/esm/narratives/templates/typescript/DiagnosticResultsTemplate.d.ts +0 -50
- package/lib/esm/narratives/templates/typescript/DiagnosticResultsTemplate.js +0 -149
- package/lib/esm/narratives/templates/typescript/FamilyHistoryTemplate.d.ts +0 -15
- package/lib/esm/narratives/templates/typescript/FamilyHistoryTemplate.js +0 -99
- package/lib/esm/narratives/templates/typescript/FunctionalStatusTemplate.d.ts +0 -22
- package/lib/esm/narratives/templates/typescript/FunctionalStatusTemplate.js +0 -66
- package/lib/esm/narratives/templates/typescript/HistoryOfProceduresTemplate.d.ts +0 -22
- package/lib/esm/narratives/templates/typescript/HistoryOfProceduresTemplate.js +0 -62
- package/lib/esm/narratives/templates/typescript/ImmunizationsTemplate.d.ts +0 -22
- package/lib/esm/narratives/templates/typescript/ImmunizationsTemplate.js +0 -69
- package/lib/esm/narratives/templates/typescript/MedicalDevicesTemplate.d.ts +0 -22
- package/lib/esm/narratives/templates/typescript/MedicalDevicesTemplate.js +0 -63
- package/lib/esm/narratives/templates/typescript/MedicationSummaryTemplate.d.ts +0 -50
- package/lib/esm/narratives/templates/typescript/MedicationSummaryTemplate.js +0 -202
- package/lib/esm/narratives/templates/typescript/PastHistoryOfIllnessTemplate.d.ts +0 -15
- package/lib/esm/narratives/templates/typescript/PastHistoryOfIllnessTemplate.js +0 -55
- package/lib/esm/narratives/templates/typescript/PatientTemplate.d.ts +0 -65
- package/lib/esm/narratives/templates/typescript/PatientTemplate.js +0 -154
- package/lib/esm/narratives/templates/typescript/PlanOfCareTemplate.d.ts +0 -15
- package/lib/esm/narratives/templates/typescript/PlanOfCareTemplate.js +0 -59
- package/lib/esm/narratives/templates/typescript/PregnancyTemplate.d.ts +0 -22
- package/lib/esm/narratives/templates/typescript/PregnancyTemplate.js +0 -64
- package/lib/esm/narratives/templates/typescript/ProblemListTemplate.d.ts +0 -22
- package/lib/esm/narratives/templates/typescript/ProblemListTemplate.js +0 -115
- package/lib/esm/narratives/templates/typescript/SocialHistoryTemplate.d.ts +0 -22
- package/lib/esm/narratives/templates/typescript/SocialHistoryTemplate.js +0 -66
- package/lib/esm/narratives/templates/typescript/TemplateUtilities.d.ts +0 -251
- package/lib/esm/narratives/templates/typescript/TemplateUtilities.js +0 -692
- package/lib/esm/narratives/templates/typescript/TypeScriptTemplateMapper.d.ts +0 -17
- package/lib/esm/narratives/templates/typescript/TypeScriptTemplateMapper.js +0 -60
- package/lib/esm/narratives/templates/typescript/VitalSignsTemplate.d.ts +0 -22
- package/lib/esm/narratives/templates/typescript/VitalSignsTemplate.js +0 -70
- package/lib/esm/narratives/templates/typescript/interfaces/ITemplate.d.ts +0 -13
- package/lib/esm/narratives/templates/typescript/interfaces/ITemplate.js +0 -1
- package/lib/esm/profiles/ips_resource_profile_registry.d.ts +0 -7
- package/lib/esm/profiles/ips_resource_profile_registry.js +0 -139
- package/lib/esm/structures/ips_mandatory_sections.d.ts +0 -7
- package/lib/esm/structures/ips_mandatory_sections.js +0 -8
- package/lib/esm/structures/ips_recommended_sections.d.ts +0 -8
- package/lib/esm/structures/ips_recommended_sections.js +0 -9
- package/lib/esm/structures/ips_resource_profile.d.ts +0 -7
- package/lib/esm/structures/ips_resource_profile.js +0 -1
- package/lib/esm/structures/ips_section_loinc_codes.d.ts +0 -4
- package/lib/esm/structures/ips_section_loinc_codes.js +0 -44
- package/lib/esm/structures/ips_section_resource_map.d.ts +0 -8
- package/lib/esm/structures/ips_section_resource_map.js +0 -65
- package/lib/esm/structures/ips_sections.d.ts +0 -19
- package/lib/esm/structures/ips_sections.js +0 -24
- package/lib/esm/types/baseTypes.d.ts +0 -23
- package/lib/esm/types/baseTypes.js +0 -1
- package/lib/esm/types/partials/AccountCoverage.d.ts +0 -10
- package/lib/esm/types/partials/AccountCoverage.js +0 -2
- package/lib/esm/types/partials/AccountGuarantor.d.ts +0 -11
- package/lib/esm/types/partials/AccountGuarantor.js +0 -2
- package/lib/esm/types/partials/ActivityDefinitionDynamicValue.d.ts +0 -9
- package/lib/esm/types/partials/ActivityDefinitionDynamicValue.js +0 -2
- package/lib/esm/types/partials/ActivityDefinitionParticipant.d.ts +0 -9
- package/lib/esm/types/partials/ActivityDefinitionParticipant.js +0 -2
- package/lib/esm/types/partials/Address.d.ts +0 -16
- package/lib/esm/types/partials/Address.js +0 -2
- package/lib/esm/types/partials/AdministrableProductDefinitionProperty.d.ts +0 -17
- package/lib/esm/types/partials/AdministrableProductDefinitionProperty.js +0 -2
- package/lib/esm/types/partials/AdministrableProductDefinitionRouteOfAdministration.d.ts +0 -17
- package/lib/esm/types/partials/AdministrableProductDefinitionRouteOfAdministration.js +0 -2
- package/lib/esm/types/partials/AdministrableProductDefinitionTargetSpecies.d.ts +0 -10
- package/lib/esm/types/partials/AdministrableProductDefinitionTargetSpecies.js +0 -2
- package/lib/esm/types/partials/AdministrableProductDefinitionWithdrawalPeriod.d.ts +0 -11
- package/lib/esm/types/partials/AdministrableProductDefinitionWithdrawalPeriod.js +0 -2
- package/lib/esm/types/partials/AdverseEventCausality.d.ts +0 -12
- package/lib/esm/types/partials/AdverseEventCausality.js +0 -2
- package/lib/esm/types/partials/AdverseEventSuspectEntity.d.ts +0 -10
- package/lib/esm/types/partials/AdverseEventSuspectEntity.js +0 -2
- package/lib/esm/types/partials/Age.d.ts +0 -9
- package/lib/esm/types/partials/Age.js +0 -2
- package/lib/esm/types/partials/AllergyIntoleranceReaction.d.ts +0 -16
- package/lib/esm/types/partials/AllergyIntoleranceReaction.js +0 -2
- package/lib/esm/types/partials/Annotation.d.ts +0 -12
- package/lib/esm/types/partials/Annotation.js +0 -2
- package/lib/esm/types/partials/AppointmentParticipant.d.ts +0 -14
- package/lib/esm/types/partials/AppointmentParticipant.js +0 -2
- package/lib/esm/types/partials/Attachment.d.ts +0 -17
- package/lib/esm/types/partials/Attachment.js +0 -2
- package/lib/esm/types/partials/AuditEventAgent.d.ts +0 -22
- package/lib/esm/types/partials/AuditEventAgent.js +0 -2
- package/lib/esm/types/partials/AuditEventDetail.d.ts +0 -10
- package/lib/esm/types/partials/AuditEventDetail.js +0 -2
- package/lib/esm/types/partials/AuditEventEntity.d.ts +0 -19
- package/lib/esm/types/partials/AuditEventEntity.js +0 -2
- package/lib/esm/types/partials/AuditEventNetwork.d.ts +0 -8
- package/lib/esm/types/partials/AuditEventNetwork.js +0 -2
- package/lib/esm/types/partials/AuditEventSource.d.ts +0 -11
- package/lib/esm/types/partials/AuditEventSource.js +0 -2
- package/lib/esm/types/partials/BackboneElement.d.ts +0 -6
- package/lib/esm/types/partials/BackboneElement.js +0 -2
- package/lib/esm/types/partials/BiologicallyDerivedProductCollection.d.ts +0 -13
- package/lib/esm/types/partials/BiologicallyDerivedProductCollection.js +0 -2
- package/lib/esm/types/partials/BiologicallyDerivedProductManipulation.d.ts +0 -11
- package/lib/esm/types/partials/BiologicallyDerivedProductManipulation.js +0 -2
- package/lib/esm/types/partials/BiologicallyDerivedProductProcessing.d.ts +0 -15
- package/lib/esm/types/partials/BiologicallyDerivedProductProcessing.js +0 -2
- package/lib/esm/types/partials/BiologicallyDerivedProductStorage.d.ts +0 -12
- package/lib/esm/types/partials/BiologicallyDerivedProductStorage.js +0 -2
- package/lib/esm/types/partials/BundleEntry.d.ts +0 -18
- package/lib/esm/types/partials/BundleEntry.js +0 -2
- package/lib/esm/types/partials/BundleLink.d.ts +0 -9
- package/lib/esm/types/partials/BundleLink.js +0 -2
- package/lib/esm/types/partials/BundleRequest.d.ts +0 -14
- package/lib/esm/types/partials/BundleRequest.js +0 -2
- package/lib/esm/types/partials/BundleResponse.d.ts +0 -14
- package/lib/esm/types/partials/BundleResponse.js +0 -2
- package/lib/esm/types/partials/BundleSearch.d.ts +0 -9
- package/lib/esm/types/partials/BundleSearch.js +0 -2
- package/lib/esm/types/partials/CapabilityStatementDocument.d.ts +0 -11
- package/lib/esm/types/partials/CapabilityStatementDocument.js +0 -2
- package/lib/esm/types/partials/CapabilityStatementEndpoint.d.ts +0 -10
- package/lib/esm/types/partials/CapabilityStatementEndpoint.js +0 -2
- package/lib/esm/types/partials/CapabilityStatementImplementation.d.ts +0 -11
- package/lib/esm/types/partials/CapabilityStatementImplementation.js +0 -2
- package/lib/esm/types/partials/CapabilityStatementInteraction.d.ts +0 -9
- package/lib/esm/types/partials/CapabilityStatementInteraction.js +0 -2
- package/lib/esm/types/partials/CapabilityStatementInteraction1.d.ts +0 -9
- package/lib/esm/types/partials/CapabilityStatementInteraction1.js +0 -2
- package/lib/esm/types/partials/CapabilityStatementMessaging.d.ts +0 -14
- package/lib/esm/types/partials/CapabilityStatementMessaging.js +0 -2
- package/lib/esm/types/partials/CapabilityStatementOperation.d.ts +0 -11
- package/lib/esm/types/partials/CapabilityStatementOperation.js +0 -2
- package/lib/esm/types/partials/CapabilityStatementResource.d.ts +0 -28
- package/lib/esm/types/partials/CapabilityStatementResource.js +0 -2
- package/lib/esm/types/partials/CapabilityStatementRest.d.ts +0 -21
- package/lib/esm/types/partials/CapabilityStatementRest.js +0 -2
- package/lib/esm/types/partials/CapabilityStatementSearchParam.d.ts +0 -12
- package/lib/esm/types/partials/CapabilityStatementSearchParam.js +0 -2
- package/lib/esm/types/partials/CapabilityStatementSecurity.d.ts +0 -11
- package/lib/esm/types/partials/CapabilityStatementSecurity.js +0 -2
- package/lib/esm/types/partials/CapabilityStatementSoftware.d.ts +0 -10
- package/lib/esm/types/partials/CapabilityStatementSoftware.js +0 -2
- package/lib/esm/types/partials/CapabilityStatementSupportedMessage.d.ts +0 -9
- package/lib/esm/types/partials/CapabilityStatementSupportedMessage.js +0 -2
- package/lib/esm/types/partials/CarePlanActivity.d.ts +0 -15
- package/lib/esm/types/partials/CarePlanActivity.js +0 -2
- package/lib/esm/types/partials/CarePlanDetail.d.ts +0 -33
- package/lib/esm/types/partials/CarePlanDetail.js +0 -2
- package/lib/esm/types/partials/CareTeamParticipant.d.ts +0 -13
- package/lib/esm/types/partials/CareTeamParticipant.js +0 -2
- package/lib/esm/types/partials/CatalogEntryRelatedEntry.d.ts +0 -9
- package/lib/esm/types/partials/CatalogEntryRelatedEntry.js +0 -2
- package/lib/esm/types/partials/ChargeItemDefinitionApplicability.d.ts +0 -9
- package/lib/esm/types/partials/ChargeItemDefinitionApplicability.js +0 -2
- package/lib/esm/types/partials/ChargeItemDefinitionPriceComponent.d.ts +0 -13
- package/lib/esm/types/partials/ChargeItemDefinitionPriceComponent.js +0 -2
- package/lib/esm/types/partials/ChargeItemDefinitionPropertyGroup.d.ts +0 -10
- package/lib/esm/types/partials/ChargeItemDefinitionPropertyGroup.js +0 -2
- package/lib/esm/types/partials/ChargeItemPerformer.d.ts +0 -10
- package/lib/esm/types/partials/ChargeItemPerformer.js +0 -2
- package/lib/esm/types/partials/CitationAbstract.d.ts +0 -12
- package/lib/esm/types/partials/CitationAbstract.js +0 -2
- package/lib/esm/types/partials/CitationAffiliationInfo.d.ts +0 -10
- package/lib/esm/types/partials/CitationAffiliationInfo.js +0 -2
- package/lib/esm/types/partials/CitationCitedArtifact.d.ts +0 -35
- package/lib/esm/types/partials/CitationCitedArtifact.js +0 -2
- package/lib/esm/types/partials/CitationClassification.d.ts +0 -9
- package/lib/esm/types/partials/CitationClassification.js +0 -2
- package/lib/esm/types/partials/CitationClassification1.d.ts +0 -11
- package/lib/esm/types/partials/CitationClassification1.js +0 -2
- package/lib/esm/types/partials/CitationContributionInstance.d.ts +0 -10
- package/lib/esm/types/partials/CitationContributionInstance.js +0 -2
- package/lib/esm/types/partials/CitationContributorship.d.ts +0 -11
- package/lib/esm/types/partials/CitationContributorship.js +0 -2
- package/lib/esm/types/partials/CitationDateOfPublication.d.ts +0 -13
- package/lib/esm/types/partials/CitationDateOfPublication.js +0 -2
- package/lib/esm/types/partials/CitationEntry.d.ts +0 -26
- package/lib/esm/types/partials/CitationEntry.js +0 -2
- package/lib/esm/types/partials/CitationPart.d.ts +0 -11
- package/lib/esm/types/partials/CitationPart.js +0 -2
- package/lib/esm/types/partials/CitationPeriodicRelease.d.ts +0 -12
- package/lib/esm/types/partials/CitationPeriodicRelease.js +0 -2
- package/lib/esm/types/partials/CitationPublicationForm.d.ts +0 -22
- package/lib/esm/types/partials/CitationPublicationForm.js +0 -2
- package/lib/esm/types/partials/CitationPublishedIn.d.ts +0 -14
- package/lib/esm/types/partials/CitationPublishedIn.js +0 -2
- package/lib/esm/types/partials/CitationRelatesTo.d.ts +0 -17
- package/lib/esm/types/partials/CitationRelatesTo.js +0 -2
- package/lib/esm/types/partials/CitationRelatesTo1.d.ts +0 -17
- package/lib/esm/types/partials/CitationRelatesTo1.js +0 -2
- package/lib/esm/types/partials/CitationStatusDate.d.ts +0 -11
- package/lib/esm/types/partials/CitationStatusDate.js +0 -2
- package/lib/esm/types/partials/CitationStatusDate1.d.ts +0 -11
- package/lib/esm/types/partials/CitationStatusDate1.js +0 -2
- package/lib/esm/types/partials/CitationSummary.d.ts +0 -10
- package/lib/esm/types/partials/CitationSummary.js +0 -2
- package/lib/esm/types/partials/CitationSummary1.d.ts +0 -12
- package/lib/esm/types/partials/CitationSummary1.js +0 -2
- package/lib/esm/types/partials/CitationTitle.d.ts +0 -11
- package/lib/esm/types/partials/CitationTitle.js +0 -2
- package/lib/esm/types/partials/CitationVersion.d.ts +0 -9
- package/lib/esm/types/partials/CitationVersion.js +0 -2
- package/lib/esm/types/partials/CitationWebLocation.d.ts +0 -10
- package/lib/esm/types/partials/CitationWebLocation.js +0 -2
- package/lib/esm/types/partials/CitationWhoClassified.d.ts +0 -12
- package/lib/esm/types/partials/CitationWhoClassified.js +0 -2
- package/lib/esm/types/partials/ClaimAccident.d.ts +0 -14
- package/lib/esm/types/partials/ClaimAccident.js +0 -2
- package/lib/esm/types/partials/ClaimCareTeam.d.ts +0 -14
- package/lib/esm/types/partials/ClaimCareTeam.js +0 -2
- package/lib/esm/types/partials/ClaimDetail.d.ts +0 -25
- package/lib/esm/types/partials/ClaimDetail.js +0 -2
- package/lib/esm/types/partials/ClaimDiagnosis.d.ts +0 -15
- package/lib/esm/types/partials/ClaimDiagnosis.js +0 -2
- package/lib/esm/types/partials/ClaimInsurance.d.ts +0 -16
- package/lib/esm/types/partials/ClaimInsurance.js +0 -2
- package/lib/esm/types/partials/ClaimItem.d.ts +0 -40
- package/lib/esm/types/partials/ClaimItem.js +0 -2
- package/lib/esm/types/partials/ClaimPayee.d.ts +0 -10
- package/lib/esm/types/partials/ClaimPayee.js +0 -2
- package/lib/esm/types/partials/ClaimProcedure.d.ts +0 -16
- package/lib/esm/types/partials/ClaimProcedure.js +0 -2
- package/lib/esm/types/partials/ClaimRelated.d.ts +0 -12
- package/lib/esm/types/partials/ClaimRelated.js +0 -2
- package/lib/esm/types/partials/ClaimResponseAddItem.d.ts +0 -38
- package/lib/esm/types/partials/ClaimResponseAddItem.js +0 -2
- package/lib/esm/types/partials/ClaimResponseAdjudication.d.ts +0 -13
- package/lib/esm/types/partials/ClaimResponseAdjudication.js +0 -2
- package/lib/esm/types/partials/ClaimResponseDetail.d.ts +0 -13
- package/lib/esm/types/partials/ClaimResponseDetail.js +0 -2
- package/lib/esm/types/partials/ClaimResponseDetail1.d.ts +0 -22
- package/lib/esm/types/partials/ClaimResponseDetail1.js +0 -2
- package/lib/esm/types/partials/ClaimResponseError.d.ts +0 -12
- package/lib/esm/types/partials/ClaimResponseError.js +0 -2
- package/lib/esm/types/partials/ClaimResponseInsurance.d.ts +0 -13
- package/lib/esm/types/partials/ClaimResponseInsurance.js +0 -2
- package/lib/esm/types/partials/ClaimResponseItem.d.ts +0 -13
- package/lib/esm/types/partials/ClaimResponseItem.js +0 -2
- package/lib/esm/types/partials/ClaimResponsePayment.d.ts +0 -16
- package/lib/esm/types/partials/ClaimResponsePayment.js +0 -2
- package/lib/esm/types/partials/ClaimResponseProcessNote.d.ts +0 -12
- package/lib/esm/types/partials/ClaimResponseProcessNote.js +0 -2
- package/lib/esm/types/partials/ClaimResponseSubDetail.d.ts +0 -11
- package/lib/esm/types/partials/ClaimResponseSubDetail.js +0 -2
- package/lib/esm/types/partials/ClaimResponseSubDetail1.d.ts +0 -20
- package/lib/esm/types/partials/ClaimResponseSubDetail1.js +0 -2
- package/lib/esm/types/partials/ClaimResponseTotal.d.ts +0 -10
- package/lib/esm/types/partials/ClaimResponseTotal.js +0 -2
- package/lib/esm/types/partials/ClaimSubDetail.d.ts +0 -23
- package/lib/esm/types/partials/ClaimSubDetail.js +0 -2
- package/lib/esm/types/partials/ClaimSupportingInfo.d.ts +0 -24
- package/lib/esm/types/partials/ClaimSupportingInfo.js +0 -2
- package/lib/esm/types/partials/ClinicalImpressionFinding.d.ts +0 -11
- package/lib/esm/types/partials/ClinicalImpressionFinding.js +0 -2
- package/lib/esm/types/partials/ClinicalImpressionInvestigation.d.ts +0 -10
- package/lib/esm/types/partials/ClinicalImpressionInvestigation.js +0 -2
- package/lib/esm/types/partials/ClinicalUseDefinitionContraindication.d.ts +0 -14
- package/lib/esm/types/partials/ClinicalUseDefinitionContraindication.js +0 -2
- package/lib/esm/types/partials/ClinicalUseDefinitionIndication.d.ts +0 -18
- package/lib/esm/types/partials/ClinicalUseDefinitionIndication.js +0 -2
- package/lib/esm/types/partials/ClinicalUseDefinitionInteractant.d.ts +0 -10
- package/lib/esm/types/partials/ClinicalUseDefinitionInteractant.js +0 -2
- package/lib/esm/types/partials/ClinicalUseDefinitionInteraction.d.ts +0 -14
- package/lib/esm/types/partials/ClinicalUseDefinitionInteraction.js +0 -2
- package/lib/esm/types/partials/ClinicalUseDefinitionOtherTherapy.d.ts +0 -10
- package/lib/esm/types/partials/ClinicalUseDefinitionOtherTherapy.js +0 -2
- package/lib/esm/types/partials/ClinicalUseDefinitionUndesirableEffect.d.ts +0 -11
- package/lib/esm/types/partials/ClinicalUseDefinitionUndesirableEffect.js +0 -2
- package/lib/esm/types/partials/ClinicalUseDefinitionWarning.d.ts +0 -10
- package/lib/esm/types/partials/ClinicalUseDefinitionWarning.js +0 -2
- package/lib/esm/types/partials/CodeSystemConcept.d.ts +0 -14
- package/lib/esm/types/partials/CodeSystemConcept.js +0 -2
- package/lib/esm/types/partials/CodeSystemDesignation.d.ts +0 -10
- package/lib/esm/types/partials/CodeSystemDesignation.js +0 -2
- package/lib/esm/types/partials/CodeSystemFilter.d.ts +0 -10
- package/lib/esm/types/partials/CodeSystemFilter.js +0 -2
- package/lib/esm/types/partials/CodeSystemProperty.d.ts +0 -11
- package/lib/esm/types/partials/CodeSystemProperty.js +0 -2
- package/lib/esm/types/partials/CodeSystemProperty1.d.ts +0 -18
- package/lib/esm/types/partials/CodeSystemProperty1.js +0 -2
- package/lib/esm/types/partials/CodeableConcept.d.ts +0 -8
- package/lib/esm/types/partials/CodeableConcept.js +0 -2
- package/lib/esm/types/partials/CodeableReference.d.ts +0 -9
- package/lib/esm/types/partials/CodeableReference.js +0 -2
- package/lib/esm/types/partials/Coding.d.ts +0 -11
- package/lib/esm/types/partials/Coding.js +0 -2
- package/lib/esm/types/partials/CommunicationPayload.d.ts +0 -11
- package/lib/esm/types/partials/CommunicationPayload.js +0 -2
- package/lib/esm/types/partials/CommunicationRequestPayload.d.ts +0 -11
- package/lib/esm/types/partials/CommunicationRequestPayload.js +0 -2
- package/lib/esm/types/partials/CompartmentDefinitionResource.d.ts +0 -9
- package/lib/esm/types/partials/CompartmentDefinitionResource.js +0 -2
- package/lib/esm/types/partials/CompositionAttester.d.ts +0 -11
- package/lib/esm/types/partials/CompositionAttester.js +0 -2
- package/lib/esm/types/partials/CompositionEvent.d.ts +0 -12
- package/lib/esm/types/partials/CompositionEvent.js +0 -2
- package/lib/esm/types/partials/CompositionRelatesTo.d.ts +0 -11
- package/lib/esm/types/partials/CompositionRelatesTo.js +0 -2
- package/lib/esm/types/partials/CompositionSection.d.ts +0 -19
- package/lib/esm/types/partials/CompositionSection.js +0 -2
- package/lib/esm/types/partials/ConceptMapDependsOn.d.ts +0 -12
- package/lib/esm/types/partials/ConceptMapDependsOn.js +0 -2
- package/lib/esm/types/partials/ConceptMapElement.d.ts +0 -10
- package/lib/esm/types/partials/ConceptMapElement.js +0 -2
- package/lib/esm/types/partials/ConceptMapGroup.d.ts +0 -15
- package/lib/esm/types/partials/ConceptMapGroup.js +0 -2
- package/lib/esm/types/partials/ConceptMapTarget.d.ts +0 -13
- package/lib/esm/types/partials/ConceptMapTarget.js +0 -2
- package/lib/esm/types/partials/ConceptMapUnmapped.d.ts +0 -11
- package/lib/esm/types/partials/ConceptMapUnmapped.js +0 -2
- package/lib/esm/types/partials/ConditionEvidence.d.ts +0 -10
- package/lib/esm/types/partials/ConditionEvidence.js +0 -2
- package/lib/esm/types/partials/ConditionStage.d.ts +0 -11
- package/lib/esm/types/partials/ConditionStage.js +0 -2
- package/lib/esm/types/partials/ConsentActor.d.ts +0 -10
- package/lib/esm/types/partials/ConsentActor.js +0 -2
- package/lib/esm/types/partials/ConsentData.d.ts +0 -9
- package/lib/esm/types/partials/ConsentData.js +0 -2
- package/lib/esm/types/partials/ConsentPolicy.d.ts +0 -9
- package/lib/esm/types/partials/ConsentPolicy.js +0 -2
- package/lib/esm/types/partials/ConsentProvision.d.ts +0 -22
- package/lib/esm/types/partials/ConsentProvision.js +0 -2
- package/lib/esm/types/partials/ConsentVerification.d.ts +0 -11
- package/lib/esm/types/partials/ConsentVerification.js +0 -2
- package/lib/esm/types/partials/ContactDetail.d.ts +0 -8
- package/lib/esm/types/partials/ContactDetail.js +0 -2
- package/lib/esm/types/partials/ContactPoint.d.ts +0 -12
- package/lib/esm/types/partials/ContactPoint.js +0 -2
- package/lib/esm/types/partials/ContractAction.d.ts +0 -37
- package/lib/esm/types/partials/ContractAction.js +0 -2
- package/lib/esm/types/partials/ContractAnswer.d.ts +0 -28
- package/lib/esm/types/partials/ContractAnswer.js +0 -2
- package/lib/esm/types/partials/ContractAsset.d.ts +0 -29
- package/lib/esm/types/partials/ContractAsset.js +0 -2
- package/lib/esm/types/partials/ContractContentDefinition.d.ts +0 -16
- package/lib/esm/types/partials/ContractContentDefinition.js +0 -2
- package/lib/esm/types/partials/ContractContext.d.ts +0 -11
- package/lib/esm/types/partials/ContractContext.js +0 -2
- package/lib/esm/types/partials/ContractFriendly.d.ts +0 -10
- package/lib/esm/types/partials/ContractFriendly.js +0 -2
- package/lib/esm/types/partials/ContractLegal.d.ts +0 -10
- package/lib/esm/types/partials/ContractLegal.js +0 -2
- package/lib/esm/types/partials/ContractOffer.d.ts +0 -22
- package/lib/esm/types/partials/ContractOffer.js +0 -2
- package/lib/esm/types/partials/ContractParty.d.ts +0 -10
- package/lib/esm/types/partials/ContractParty.js +0 -2
- package/lib/esm/types/partials/ContractRule.d.ts +0 -10
- package/lib/esm/types/partials/ContractRule.js +0 -2
- package/lib/esm/types/partials/ContractSecurityLabel.d.ts +0 -12
- package/lib/esm/types/partials/ContractSecurityLabel.js +0 -2
- package/lib/esm/types/partials/ContractSigner.d.ts +0 -12
- package/lib/esm/types/partials/ContractSigner.js +0 -2
- package/lib/esm/types/partials/ContractSubject.d.ts +0 -10
- package/lib/esm/types/partials/ContractSubject.js +0 -2
- package/lib/esm/types/partials/ContractTerm.d.ts +0 -28
- package/lib/esm/types/partials/ContractTerm.js +0 -2
- package/lib/esm/types/partials/ContractValuedItem.d.ts +0 -29
- package/lib/esm/types/partials/ContractValuedItem.js +0 -2
- package/lib/esm/types/partials/Contributor.d.ts +0 -9
- package/lib/esm/types/partials/Contributor.js +0 -2
- package/lib/esm/types/partials/Count.d.ts +0 -9
- package/lib/esm/types/partials/Count.js +0 -2
- package/lib/esm/types/partials/CoverageClass.d.ts +0 -10
- package/lib/esm/types/partials/CoverageClass.js +0 -2
- package/lib/esm/types/partials/CoverageCostToBeneficiary.d.ts +0 -14
- package/lib/esm/types/partials/CoverageCostToBeneficiary.js +0 -2
- package/lib/esm/types/partials/CoverageEligibilityRequestDiagnosis.d.ts +0 -10
- package/lib/esm/types/partials/CoverageEligibilityRequestDiagnosis.js +0 -2
- package/lib/esm/types/partials/CoverageEligibilityRequestInsurance.d.ts +0 -10
- package/lib/esm/types/partials/CoverageEligibilityRequestInsurance.js +0 -2
- package/lib/esm/types/partials/CoverageEligibilityRequestItem.d.ts +0 -22
- package/lib/esm/types/partials/CoverageEligibilityRequestItem.js +0 -2
- package/lib/esm/types/partials/CoverageEligibilityRequestSupportingInfo.d.ts +0 -11
- package/lib/esm/types/partials/CoverageEligibilityRequestSupportingInfo.js +0 -2
- package/lib/esm/types/partials/CoverageEligibilityResponseBenefit.d.ts +0 -16
- package/lib/esm/types/partials/CoverageEligibilityResponseBenefit.js +0 -2
- package/lib/esm/types/partials/CoverageEligibilityResponseError.d.ts +0 -8
- package/lib/esm/types/partials/CoverageEligibilityResponseError.js +0 -2
- package/lib/esm/types/partials/CoverageEligibilityResponseInsurance.d.ts +0 -13
- package/lib/esm/types/partials/CoverageEligibilityResponseInsurance.js +0 -2
- package/lib/esm/types/partials/CoverageEligibilityResponseItem.d.ts +0 -24
- package/lib/esm/types/partials/CoverageEligibilityResponseItem.js +0 -2
- package/lib/esm/types/partials/CoverageException.d.ts +0 -10
- package/lib/esm/types/partials/CoverageException.js +0 -2
- package/lib/esm/types/partials/DataRequirement.d.ts +0 -21
- package/lib/esm/types/partials/DataRequirement.js +0 -2
- package/lib/esm/types/partials/DataRequirementCodeFilter.d.ts +0 -11
- package/lib/esm/types/partials/DataRequirementCodeFilter.js +0 -2
- package/lib/esm/types/partials/DataRequirementDateFilter.d.ts +0 -13
- package/lib/esm/types/partials/DataRequirementDateFilter.js +0 -2
- package/lib/esm/types/partials/DataRequirementSort.d.ts +0 -7
- package/lib/esm/types/partials/DataRequirementSort.js +0 -2
- package/lib/esm/types/partials/DetectedIssueEvidence.d.ts +0 -10
- package/lib/esm/types/partials/DetectedIssueEvidence.js +0 -2
- package/lib/esm/types/partials/DetectedIssueMitigation.d.ts +0 -12
- package/lib/esm/types/partials/DetectedIssueMitigation.js +0 -2
- package/lib/esm/types/partials/DeviceDefinitionCapability.d.ts +0 -9
- package/lib/esm/types/partials/DeviceDefinitionCapability.js +0 -2
- package/lib/esm/types/partials/DeviceDefinitionDeviceName.d.ts +0 -8
- package/lib/esm/types/partials/DeviceDefinitionDeviceName.js +0 -2
- package/lib/esm/types/partials/DeviceDefinitionMaterial.d.ts +0 -10
- package/lib/esm/types/partials/DeviceDefinitionMaterial.js +0 -2
- package/lib/esm/types/partials/DeviceDefinitionProperty.d.ts +0 -11
- package/lib/esm/types/partials/DeviceDefinitionProperty.js +0 -2
- package/lib/esm/types/partials/DeviceDefinitionSpecialization.d.ts +0 -8
- package/lib/esm/types/partials/DeviceDefinitionSpecialization.js +0 -2
- package/lib/esm/types/partials/DeviceDefinitionUdiDeviceIdentifier.d.ts +0 -10
- package/lib/esm/types/partials/DeviceDefinitionUdiDeviceIdentifier.js +0 -2
- package/lib/esm/types/partials/DeviceDeviceName.d.ts +0 -8
- package/lib/esm/types/partials/DeviceDeviceName.js +0 -2
- package/lib/esm/types/partials/DeviceMetricCalibration.d.ts +0 -10
- package/lib/esm/types/partials/DeviceMetricCalibration.js +0 -2
- package/lib/esm/types/partials/DeviceProperty.d.ts +0 -11
- package/lib/esm/types/partials/DeviceProperty.js +0 -2
- package/lib/esm/types/partials/DeviceRequestParameter.d.ts +0 -14
- package/lib/esm/types/partials/DeviceRequestParameter.js +0 -2
- package/lib/esm/types/partials/DeviceSpecialization.d.ts +0 -9
- package/lib/esm/types/partials/DeviceSpecialization.js +0 -2
- package/lib/esm/types/partials/DeviceUdiCarrier.d.ts +0 -14
- package/lib/esm/types/partials/DeviceUdiCarrier.js +0 -2
- package/lib/esm/types/partials/DeviceVersion.d.ts +0 -11
- package/lib/esm/types/partials/DeviceVersion.js +0 -2
- package/lib/esm/types/partials/DiagnosticReportMedia.d.ts +0 -9
- package/lib/esm/types/partials/DiagnosticReportMedia.js +0 -2
- package/lib/esm/types/partials/Distance.d.ts +0 -9
- package/lib/esm/types/partials/Distance.js +0 -2
- package/lib/esm/types/partials/DocumentManifestRelated.d.ts +0 -10
- package/lib/esm/types/partials/DocumentManifestRelated.js +0 -2
- package/lib/esm/types/partials/DocumentReferenceContent.d.ts +0 -10
- package/lib/esm/types/partials/DocumentReferenceContent.js +0 -2
- package/lib/esm/types/partials/DocumentReferenceContext.d.ts +0 -16
- package/lib/esm/types/partials/DocumentReferenceContext.js +0 -2
- package/lib/esm/types/partials/DocumentReferenceRelatesTo.d.ts +0 -9
- package/lib/esm/types/partials/DocumentReferenceRelatesTo.js +0 -2
- package/lib/esm/types/partials/Dosage.d.ts +0 -26
- package/lib/esm/types/partials/Dosage.js +0 -2
- package/lib/esm/types/partials/DosageDoseAndRate.d.ts +0 -16
- package/lib/esm/types/partials/DosageDoseAndRate.js +0 -2
- package/lib/esm/types/partials/Duration.d.ts +0 -12
- package/lib/esm/types/partials/Duration.js +0 -2
- package/lib/esm/types/partials/Element.d.ts +0 -5
- package/lib/esm/types/partials/Element.js +0 -2
- package/lib/esm/types/partials/ElementDefinition.d.ts +0 -256
- package/lib/esm/types/partials/ElementDefinition.js +0 -2
- package/lib/esm/types/partials/ElementDefinitionBase.d.ts +0 -10
- package/lib/esm/types/partials/ElementDefinitionBase.js +0 -2
- package/lib/esm/types/partials/ElementDefinitionBinding.d.ts +0 -10
- package/lib/esm/types/partials/ElementDefinitionBinding.js +0 -2
- package/lib/esm/types/partials/ElementDefinitionConstraint.d.ts +0 -15
- package/lib/esm/types/partials/ElementDefinitionConstraint.js +0 -2
- package/lib/esm/types/partials/ElementDefinitionDiscriminator.d.ts +0 -8
- package/lib/esm/types/partials/ElementDefinitionDiscriminator.js +0 -2
- package/lib/esm/types/partials/ElementDefinitionExample.d.ts +0 -101
- package/lib/esm/types/partials/ElementDefinitionExample.js +0 -2
- package/lib/esm/types/partials/ElementDefinitionMapping.d.ts +0 -11
- package/lib/esm/types/partials/ElementDefinitionMapping.js +0 -2
- package/lib/esm/types/partials/ElementDefinitionSlicing.d.ts +0 -11
- package/lib/esm/types/partials/ElementDefinitionSlicing.js +0 -2
- package/lib/esm/types/partials/ElementDefinitionType.d.ts +0 -13
- package/lib/esm/types/partials/ElementDefinitionType.js +0 -2
- package/lib/esm/types/partials/EncounterClassHistory.d.ts +0 -10
- package/lib/esm/types/partials/EncounterClassHistory.js +0 -2
- package/lib/esm/types/partials/EncounterDiagnosis.d.ts +0 -12
- package/lib/esm/types/partials/EncounterDiagnosis.js +0 -2
- package/lib/esm/types/partials/EncounterHospitalization.d.ts +0 -18
- package/lib/esm/types/partials/EncounterHospitalization.js +0 -2
- package/lib/esm/types/partials/EncounterLocation.d.ts +0 -13
- package/lib/esm/types/partials/EncounterLocation.js +0 -2
- package/lib/esm/types/partials/EncounterParticipant.d.ts +0 -12
- package/lib/esm/types/partials/EncounterParticipant.js +0 -2
- package/lib/esm/types/partials/EncounterStatusHistory.d.ts +0 -9
- package/lib/esm/types/partials/EncounterStatusHistory.js +0 -2
- package/lib/esm/types/partials/EpisodeOfCareDiagnosis.d.ts +0 -12
- package/lib/esm/types/partials/EpisodeOfCareDiagnosis.js +0 -2
- package/lib/esm/types/partials/EpisodeOfCareStatusHistory.d.ts +0 -9
- package/lib/esm/types/partials/EpisodeOfCareStatusHistory.js +0 -2
- package/lib/esm/types/partials/EvidenceAttributeEstimate.d.ts +0 -18
- package/lib/esm/types/partials/EvidenceAttributeEstimate.js +0 -2
- package/lib/esm/types/partials/EvidenceCertainty.d.ts +0 -14
- package/lib/esm/types/partials/EvidenceCertainty.js +0 -2
- package/lib/esm/types/partials/EvidenceModelCharacteristic.d.ts +0 -14
- package/lib/esm/types/partials/EvidenceModelCharacteristic.js +0 -2
- package/lib/esm/types/partials/EvidenceReportCharacteristic.d.ts +0 -19
- package/lib/esm/types/partials/EvidenceReportCharacteristic.js +0 -2
- package/lib/esm/types/partials/EvidenceReportRelatesTo.d.ts +0 -11
- package/lib/esm/types/partials/EvidenceReportRelatesTo.js +0 -2
- package/lib/esm/types/partials/EvidenceReportSection.d.ts +0 -22
- package/lib/esm/types/partials/EvidenceReportSection.js +0 -2
- package/lib/esm/types/partials/EvidenceReportSubject.d.ts +0 -10
- package/lib/esm/types/partials/EvidenceReportSubject.js +0 -2
- package/lib/esm/types/partials/EvidenceSampleSize.d.ts +0 -13
- package/lib/esm/types/partials/EvidenceSampleSize.js +0 -2
- package/lib/esm/types/partials/EvidenceStatistic.d.ts +0 -23
- package/lib/esm/types/partials/EvidenceStatistic.js +0 -2
- package/lib/esm/types/partials/EvidenceVariable.d.ts +0 -15
- package/lib/esm/types/partials/EvidenceVariable.js +0 -2
- package/lib/esm/types/partials/EvidenceVariableCategory.d.ts +0 -13
- package/lib/esm/types/partials/EvidenceVariableCategory.js +0 -2
- package/lib/esm/types/partials/EvidenceVariableCharacteristic.d.ts +0 -21
- package/lib/esm/types/partials/EvidenceVariableCharacteristic.js +0 -2
- package/lib/esm/types/partials/EvidenceVariableDefinition.d.ts +0 -16
- package/lib/esm/types/partials/EvidenceVariableDefinition.js +0 -2
- package/lib/esm/types/partials/EvidenceVariableTimeFromStart.d.ts +0 -13
- package/lib/esm/types/partials/EvidenceVariableTimeFromStart.js +0 -2
- package/lib/esm/types/partials/ExampleScenarioActor.d.ts +0 -11
- package/lib/esm/types/partials/ExampleScenarioActor.js +0 -2
- package/lib/esm/types/partials/ExampleScenarioAlternative.d.ts +0 -11
- package/lib/esm/types/partials/ExampleScenarioAlternative.js +0 -2
- package/lib/esm/types/partials/ExampleScenarioContainedInstance.d.ts +0 -8
- package/lib/esm/types/partials/ExampleScenarioContainedInstance.js +0 -2
- package/lib/esm/types/partials/ExampleScenarioInstance.d.ts +0 -15
- package/lib/esm/types/partials/ExampleScenarioInstance.js +0 -2
- package/lib/esm/types/partials/ExampleScenarioOperation.d.ts +0 -18
- package/lib/esm/types/partials/ExampleScenarioOperation.js +0 -2
- package/lib/esm/types/partials/ExampleScenarioProcess.d.ts +0 -13
- package/lib/esm/types/partials/ExampleScenarioProcess.js +0 -2
- package/lib/esm/types/partials/ExampleScenarioStep.d.ts +0 -13
- package/lib/esm/types/partials/ExampleScenarioStep.js +0 -2
- package/lib/esm/types/partials/ExampleScenarioVersion.d.ts +0 -9
- package/lib/esm/types/partials/ExampleScenarioVersion.js +0 -2
- package/lib/esm/types/partials/ExplanationOfBenefitAccident.d.ts +0 -14
- package/lib/esm/types/partials/ExplanationOfBenefitAccident.js +0 -2
- package/lib/esm/types/partials/ExplanationOfBenefitAddItem.d.ts +0 -38
- package/lib/esm/types/partials/ExplanationOfBenefitAddItem.js +0 -2
- package/lib/esm/types/partials/ExplanationOfBenefitAdjudication.d.ts +0 -13
- package/lib/esm/types/partials/ExplanationOfBenefitAdjudication.js +0 -2
- package/lib/esm/types/partials/ExplanationOfBenefitBenefitBalance.d.ts +0 -16
- package/lib/esm/types/partials/ExplanationOfBenefitBenefitBalance.js +0 -2
- package/lib/esm/types/partials/ExplanationOfBenefitCareTeam.d.ts +0 -14
- package/lib/esm/types/partials/ExplanationOfBenefitCareTeam.js +0 -2
- package/lib/esm/types/partials/ExplanationOfBenefitDetail.d.ts +0 -28
- package/lib/esm/types/partials/ExplanationOfBenefitDetail.js +0 -2
- package/lib/esm/types/partials/ExplanationOfBenefitDetail1.d.ts +0 -22
- package/lib/esm/types/partials/ExplanationOfBenefitDetail1.js +0 -2
- package/lib/esm/types/partials/ExplanationOfBenefitDiagnosis.d.ts +0 -15
- package/lib/esm/types/partials/ExplanationOfBenefitDiagnosis.js +0 -2
- package/lib/esm/types/partials/ExplanationOfBenefitFinancial.d.ts +0 -15
- package/lib/esm/types/partials/ExplanationOfBenefitFinancial.js +0 -2
- package/lib/esm/types/partials/ExplanationOfBenefitInsurance.d.ts +0 -10
- package/lib/esm/types/partials/ExplanationOfBenefitInsurance.js +0 -2
- package/lib/esm/types/partials/ExplanationOfBenefitItem.d.ts +0 -43
- package/lib/esm/types/partials/ExplanationOfBenefitItem.js +0 -2
- package/lib/esm/types/partials/ExplanationOfBenefitPayee.d.ts +0 -10
- package/lib/esm/types/partials/ExplanationOfBenefitPayee.js +0 -2
- package/lib/esm/types/partials/ExplanationOfBenefitPayment.d.ts +0 -16
- package/lib/esm/types/partials/ExplanationOfBenefitPayment.js +0 -2
- package/lib/esm/types/partials/ExplanationOfBenefitProcedure.d.ts +0 -16
- package/lib/esm/types/partials/ExplanationOfBenefitProcedure.js +0 -2
- package/lib/esm/types/partials/ExplanationOfBenefitProcessNote.d.ts +0 -12
- package/lib/esm/types/partials/ExplanationOfBenefitProcessNote.js +0 -2
- package/lib/esm/types/partials/ExplanationOfBenefitRelated.d.ts +0 -12
- package/lib/esm/types/partials/ExplanationOfBenefitRelated.js +0 -2
- package/lib/esm/types/partials/ExplanationOfBenefitSubDetail.d.ts +0 -26
- package/lib/esm/types/partials/ExplanationOfBenefitSubDetail.js +0 -2
- package/lib/esm/types/partials/ExplanationOfBenefitSubDetail1.d.ts +0 -20
- package/lib/esm/types/partials/ExplanationOfBenefitSubDetail1.js +0 -2
- package/lib/esm/types/partials/ExplanationOfBenefitSupportingInfo.d.ts +0 -25
- package/lib/esm/types/partials/ExplanationOfBenefitSupportingInfo.js +0 -2
- package/lib/esm/types/partials/ExplanationOfBenefitTotal.d.ts +0 -10
- package/lib/esm/types/partials/ExplanationOfBenefitTotal.js +0 -2
- package/lib/esm/types/partials/Expression.d.ts +0 -12
- package/lib/esm/types/partials/Expression.js +0 -2
- package/lib/esm/types/partials/Extension.d.ts +0 -99
- package/lib/esm/types/partials/Extension.js +0 -2
- package/lib/esm/types/partials/FamilyMemberHistoryCondition.d.ts +0 -19
- package/lib/esm/types/partials/FamilyMemberHistoryCondition.js +0 -2
- package/lib/esm/types/partials/GoalTarget.d.ts +0 -22
- package/lib/esm/types/partials/GoalTarget.js +0 -2
- package/lib/esm/types/partials/GraphDefinitionCompartment.d.ts +0 -11
- package/lib/esm/types/partials/GraphDefinitionCompartment.js +0 -2
- package/lib/esm/types/partials/GraphDefinitionLink.d.ts +0 -14
- package/lib/esm/types/partials/GraphDefinitionLink.js +0 -2
- package/lib/esm/types/partials/GraphDefinitionTarget.d.ts +0 -14
- package/lib/esm/types/partials/GraphDefinitionTarget.js +0 -2
- package/lib/esm/types/partials/GroupCharacteristic.d.ts +0 -19
- package/lib/esm/types/partials/GroupCharacteristic.js +0 -2
- package/lib/esm/types/partials/GroupMember.d.ts +0 -11
- package/lib/esm/types/partials/GroupMember.js +0 -2
- package/lib/esm/types/partials/HealthcareServiceAvailableTime.d.ts +0 -11
- package/lib/esm/types/partials/HealthcareServiceAvailableTime.js +0 -2
- package/lib/esm/types/partials/HealthcareServiceEligibility.d.ts +0 -10
- package/lib/esm/types/partials/HealthcareServiceEligibility.js +0 -2
- package/lib/esm/types/partials/HealthcareServiceNotAvailable.d.ts +0 -9
- package/lib/esm/types/partials/HealthcareServiceNotAvailable.js +0 -2
- package/lib/esm/types/partials/HumanName.d.ts +0 -13
- package/lib/esm/types/partials/HumanName.js +0 -2
- package/lib/esm/types/partials/Identifier.d.ts +0 -15
- package/lib/esm/types/partials/Identifier.js +0 -2
- package/lib/esm/types/partials/ImagingStudyInstance.d.ts +0 -13
- package/lib/esm/types/partials/ImagingStudyInstance.js +0 -2
- package/lib/esm/types/partials/ImagingStudyPerformer.d.ts +0 -10
- package/lib/esm/types/partials/ImagingStudyPerformer.js +0 -2
- package/lib/esm/types/partials/ImagingStudySeries.d.ts +0 -25
- package/lib/esm/types/partials/ImagingStudySeries.js +0 -2
- package/lib/esm/types/partials/ImmunizationEducation.d.ts +0 -12
- package/lib/esm/types/partials/ImmunizationEducation.js +0 -2
- package/lib/esm/types/partials/ImmunizationPerformer.d.ts +0 -10
- package/lib/esm/types/partials/ImmunizationPerformer.js +0 -2
- package/lib/esm/types/partials/ImmunizationProtocolApplied.d.ts +0 -16
- package/lib/esm/types/partials/ImmunizationProtocolApplied.js +0 -2
- package/lib/esm/types/partials/ImmunizationReaction.d.ts +0 -11
- package/lib/esm/types/partials/ImmunizationReaction.js +0 -2
- package/lib/esm/types/partials/ImmunizationRecommendationDateCriterion.d.ts +0 -10
- package/lib/esm/types/partials/ImmunizationRecommendationDateCriterion.js +0 -2
- package/lib/esm/types/partials/ImmunizationRecommendationRecommendation.d.ts +0 -24
- package/lib/esm/types/partials/ImmunizationRecommendationRecommendation.js +0 -2
- package/lib/esm/types/partials/ImplementationGuideDefinition.d.ts +0 -16
- package/lib/esm/types/partials/ImplementationGuideDefinition.js +0 -2
- package/lib/esm/types/partials/ImplementationGuideDependsOn.d.ts +0 -11
- package/lib/esm/types/partials/ImplementationGuideDependsOn.js +0 -2
- package/lib/esm/types/partials/ImplementationGuideGlobal.d.ts +0 -9
- package/lib/esm/types/partials/ImplementationGuideGlobal.js +0 -2
- package/lib/esm/types/partials/ImplementationGuideGrouping.d.ts +0 -8
- package/lib/esm/types/partials/ImplementationGuideGrouping.js +0 -2
- package/lib/esm/types/partials/ImplementationGuideManifest.d.ts +0 -14
- package/lib/esm/types/partials/ImplementationGuideManifest.js +0 -2
- package/lib/esm/types/partials/ImplementationGuidePage.d.ts +0 -13
- package/lib/esm/types/partials/ImplementationGuidePage.js +0 -2
- package/lib/esm/types/partials/ImplementationGuidePage1.d.ts +0 -9
- package/lib/esm/types/partials/ImplementationGuidePage1.js +0 -2
- package/lib/esm/types/partials/ImplementationGuideParameter.d.ts +0 -8
- package/lib/esm/types/partials/ImplementationGuideParameter.js +0 -2
- package/lib/esm/types/partials/ImplementationGuideResource.d.ts +0 -16
- package/lib/esm/types/partials/ImplementationGuideResource.js +0 -2
- package/lib/esm/types/partials/ImplementationGuideResource1.d.ts +0 -13
- package/lib/esm/types/partials/ImplementationGuideResource1.js +0 -2
- package/lib/esm/types/partials/ImplementationGuideTemplate.d.ts +0 -9
- package/lib/esm/types/partials/ImplementationGuideTemplate.js +0 -2
- package/lib/esm/types/partials/IngredientManufacturer.d.ts +0 -9
- package/lib/esm/types/partials/IngredientManufacturer.js +0 -2
- package/lib/esm/types/partials/IngredientReferenceStrength.d.ts +0 -15
- package/lib/esm/types/partials/IngredientReferenceStrength.js +0 -2
- package/lib/esm/types/partials/IngredientStrength.d.ts +0 -19
- package/lib/esm/types/partials/IngredientStrength.js +0 -2
- package/lib/esm/types/partials/IngredientSubstance.d.ts +0 -10
- package/lib/esm/types/partials/IngredientSubstance.js +0 -2
- package/lib/esm/types/partials/InsurancePlanBenefit.d.ts +0 -11
- package/lib/esm/types/partials/InsurancePlanBenefit.js +0 -2
- package/lib/esm/types/partials/InsurancePlanBenefit1.d.ts +0 -10
- package/lib/esm/types/partials/InsurancePlanBenefit1.js +0 -2
- package/lib/esm/types/partials/InsurancePlanContact.d.ts +0 -14
- package/lib/esm/types/partials/InsurancePlanContact.js +0 -2
- package/lib/esm/types/partials/InsurancePlanCost.d.ts +0 -12
- package/lib/esm/types/partials/InsurancePlanCost.js +0 -2
- package/lib/esm/types/partials/InsurancePlanCoverage.d.ts +0 -12
- package/lib/esm/types/partials/InsurancePlanCoverage.js +0 -2
- package/lib/esm/types/partials/InsurancePlanGeneralCost.d.ts +0 -13
- package/lib/esm/types/partials/InsurancePlanGeneralCost.js +0 -2
- package/lib/esm/types/partials/InsurancePlanLimit.d.ts +0 -10
- package/lib/esm/types/partials/InsurancePlanLimit.js +0 -2
- package/lib/esm/types/partials/InsurancePlanPlan.d.ts +0 -17
- package/lib/esm/types/partials/InsurancePlanPlan.js +0 -2
- package/lib/esm/types/partials/InsurancePlanSpecificCost.d.ts +0 -10
- package/lib/esm/types/partials/InsurancePlanSpecificCost.js +0 -2
- package/lib/esm/types/partials/InvoiceLineItem.d.ts +0 -14
- package/lib/esm/types/partials/InvoiceLineItem.js +0 -2
- package/lib/esm/types/partials/InvoiceParticipant.d.ts +0 -10
- package/lib/esm/types/partials/InvoiceParticipant.js +0 -2
- package/lib/esm/types/partials/InvoicePriceComponent.d.ts +0 -13
- package/lib/esm/types/partials/InvoicePriceComponent.js +0 -2
- package/lib/esm/types/partials/LinkageItem.d.ts +0 -9
- package/lib/esm/types/partials/LinkageItem.js +0 -2
- package/lib/esm/types/partials/ListEntry.d.ts +0 -13
- package/lib/esm/types/partials/ListEntry.js +0 -2
- package/lib/esm/types/partials/LocationHoursOfOperation.d.ts +0 -11
- package/lib/esm/types/partials/LocationHoursOfOperation.js +0 -2
- package/lib/esm/types/partials/LocationPosition.d.ts +0 -10
- package/lib/esm/types/partials/LocationPosition.js +0 -2
- package/lib/esm/types/partials/ManufacturedItemDefinitionProperty.d.ts +0 -16
- package/lib/esm/types/partials/ManufacturedItemDefinitionProperty.js +0 -2
- package/lib/esm/types/partials/MarketingStatus.d.ts +0 -14
- package/lib/esm/types/partials/MarketingStatus.js +0 -2
- package/lib/esm/types/partials/MeasureComponent.d.ts +0 -11
- package/lib/esm/types/partials/MeasureComponent.js +0 -2
- package/lib/esm/types/partials/MeasureGroup.d.ts +0 -13
- package/lib/esm/types/partials/MeasureGroup.js +0 -2
- package/lib/esm/types/partials/MeasurePopulation.d.ts +0 -11
- package/lib/esm/types/partials/MeasurePopulation.js +0 -2
- package/lib/esm/types/partials/MeasureReportComponent.d.ts +0 -9
- package/lib/esm/types/partials/MeasureReportComponent.js +0 -2
- package/lib/esm/types/partials/MeasureReportGroup.d.ts +0 -14
- package/lib/esm/types/partials/MeasureReportGroup.js +0 -2
- package/lib/esm/types/partials/MeasureReportPopulation.d.ts +0 -12
- package/lib/esm/types/partials/MeasureReportPopulation.js +0 -2
- package/lib/esm/types/partials/MeasureReportPopulation1.d.ts +0 -12
- package/lib/esm/types/partials/MeasureReportPopulation1.js +0 -2
- package/lib/esm/types/partials/MeasureReportStratifier.d.ts +0 -10
- package/lib/esm/types/partials/MeasureReportStratifier.js +0 -2
- package/lib/esm/types/partials/MeasureReportStratum.d.ts +0 -14
- package/lib/esm/types/partials/MeasureReportStratum.js +0 -2
- package/lib/esm/types/partials/MeasureStratifier.d.ts +0 -13
- package/lib/esm/types/partials/MeasureStratifier.js +0 -2
- package/lib/esm/types/partials/MeasureSupplementalData.d.ts +0 -12
- package/lib/esm/types/partials/MeasureSupplementalData.js +0 -2
- package/lib/esm/types/partials/MedicationAdministrationDosage.d.ts +0 -16
- package/lib/esm/types/partials/MedicationAdministrationDosage.js +0 -2
- package/lib/esm/types/partials/MedicationAdministrationPerformer.d.ts +0 -10
- package/lib/esm/types/partials/MedicationAdministrationPerformer.js +0 -2
- package/lib/esm/types/partials/MedicationBatch.d.ts +0 -9
- package/lib/esm/types/partials/MedicationBatch.js +0 -2
- package/lib/esm/types/partials/MedicationDispensePerformer.d.ts +0 -10
- package/lib/esm/types/partials/MedicationDispensePerformer.js +0 -2
- package/lib/esm/types/partials/MedicationDispenseSubstitution.d.ts +0 -12
- package/lib/esm/types/partials/MedicationDispenseSubstitution.js +0 -2
- package/lib/esm/types/partials/MedicationIngredient.d.ts +0 -13
- package/lib/esm/types/partials/MedicationIngredient.js +0 -2
- package/lib/esm/types/partials/MedicationKnowledgeAdministrationGuidelines.d.ts +0 -14
- package/lib/esm/types/partials/MedicationKnowledgeAdministrationGuidelines.js +0 -2
- package/lib/esm/types/partials/MedicationKnowledgeCost.d.ts +0 -11
- package/lib/esm/types/partials/MedicationKnowledgeCost.js +0 -2
- package/lib/esm/types/partials/MedicationKnowledgeDosage.d.ts +0 -10
- package/lib/esm/types/partials/MedicationKnowledgeDosage.js +0 -2
- package/lib/esm/types/partials/MedicationKnowledgeDrugCharacteristic.d.ts +0 -14
- package/lib/esm/types/partials/MedicationKnowledgeDrugCharacteristic.js +0 -2
- package/lib/esm/types/partials/MedicationKnowledgeIngredient.d.ts +0 -13
- package/lib/esm/types/partials/MedicationKnowledgeIngredient.js +0 -2
- package/lib/esm/types/partials/MedicationKnowledgeKinetics.d.ts +0 -10
- package/lib/esm/types/partials/MedicationKnowledgeKinetics.js +0 -2
- package/lib/esm/types/partials/MedicationKnowledgeMaxDispense.d.ts +0 -9
- package/lib/esm/types/partials/MedicationKnowledgeMaxDispense.js +0 -2
- package/lib/esm/types/partials/MedicationKnowledgeMedicineClassification.d.ts +0 -9
- package/lib/esm/types/partials/MedicationKnowledgeMedicineClassification.js +0 -2
- package/lib/esm/types/partials/MedicationKnowledgeMonitoringProgram.d.ts +0 -9
- package/lib/esm/types/partials/MedicationKnowledgeMonitoringProgram.js +0 -2
- package/lib/esm/types/partials/MedicationKnowledgeMonograph.d.ts +0 -10
- package/lib/esm/types/partials/MedicationKnowledgeMonograph.js +0 -2
- package/lib/esm/types/partials/MedicationKnowledgePackaging.d.ts +0 -10
- package/lib/esm/types/partials/MedicationKnowledgePackaging.js +0 -2
- package/lib/esm/types/partials/MedicationKnowledgePatientCharacteristics.d.ts +0 -11
- package/lib/esm/types/partials/MedicationKnowledgePatientCharacteristics.js +0 -2
- package/lib/esm/types/partials/MedicationKnowledgeRegulatory.d.ts +0 -14
- package/lib/esm/types/partials/MedicationKnowledgeRegulatory.js +0 -2
- package/lib/esm/types/partials/MedicationKnowledgeRelatedMedicationKnowledge.d.ts +0 -10
- package/lib/esm/types/partials/MedicationKnowledgeRelatedMedicationKnowledge.js +0 -2
- package/lib/esm/types/partials/MedicationKnowledgeSchedule.d.ts +0 -8
- package/lib/esm/types/partials/MedicationKnowledgeSchedule.js +0 -2
- package/lib/esm/types/partials/MedicationKnowledgeSubstitution.d.ts +0 -9
- package/lib/esm/types/partials/MedicationKnowledgeSubstitution.js +0 -2
- package/lib/esm/types/partials/MedicationRequestDispenseRequest.d.ts +0 -18
- package/lib/esm/types/partials/MedicationRequestDispenseRequest.js +0 -2
- package/lib/esm/types/partials/MedicationRequestInitialFill.d.ts +0 -9
- package/lib/esm/types/partials/MedicationRequestInitialFill.js +0 -2
- package/lib/esm/types/partials/MedicationRequestSubstitution.d.ts +0 -10
- package/lib/esm/types/partials/MedicationRequestSubstitution.js +0 -2
- package/lib/esm/types/partials/MedicinalProductDefinitionCharacteristic.d.ts +0 -16
- package/lib/esm/types/partials/MedicinalProductDefinitionCharacteristic.js +0 -2
- package/lib/esm/types/partials/MedicinalProductDefinitionContact.d.ts +0 -10
- package/lib/esm/types/partials/MedicinalProductDefinitionContact.js +0 -2
- package/lib/esm/types/partials/MedicinalProductDefinitionCountryLanguage.d.ts +0 -10
- package/lib/esm/types/partials/MedicinalProductDefinitionCountryLanguage.js +0 -2
- package/lib/esm/types/partials/MedicinalProductDefinitionCrossReference.d.ts +0 -10
- package/lib/esm/types/partials/MedicinalProductDefinitionCrossReference.js +0 -2
- package/lib/esm/types/partials/MedicinalProductDefinitionName.d.ts +0 -13
- package/lib/esm/types/partials/MedicinalProductDefinitionName.js +0 -2
- package/lib/esm/types/partials/MedicinalProductDefinitionNamePart.d.ts +0 -9
- package/lib/esm/types/partials/MedicinalProductDefinitionNamePart.js +0 -2
- package/lib/esm/types/partials/MedicinalProductDefinitionOperation.d.ts +0 -14
- package/lib/esm/types/partials/MedicinalProductDefinitionOperation.js +0 -2
- package/lib/esm/types/partials/MessageDefinitionAllowedResponse.d.ts +0 -10
- package/lib/esm/types/partials/MessageDefinitionAllowedResponse.js +0 -2
- package/lib/esm/types/partials/MessageDefinitionFocus.d.ts +0 -12
- package/lib/esm/types/partials/MessageDefinitionFocus.js +0 -2
- package/lib/esm/types/partials/MessageHeaderDestination.d.ts +0 -12
- package/lib/esm/types/partials/MessageHeaderDestination.js +0 -2
- package/lib/esm/types/partials/MessageHeaderResponse.d.ts +0 -11
- package/lib/esm/types/partials/MessageHeaderResponse.js +0 -2
- package/lib/esm/types/partials/MessageHeaderSource.d.ts +0 -13
- package/lib/esm/types/partials/MessageHeaderSource.js +0 -2
- package/lib/esm/types/partials/Meta.d.ts +0 -16
- package/lib/esm/types/partials/Meta.js +0 -2
- package/lib/esm/types/partials/MolecularSequenceInner.d.ts +0 -9
- package/lib/esm/types/partials/MolecularSequenceInner.js +0 -2
- package/lib/esm/types/partials/MolecularSequenceOuter.d.ts +0 -9
- package/lib/esm/types/partials/MolecularSequenceOuter.js +0 -2
- package/lib/esm/types/partials/MolecularSequenceQuality.d.ts +0 -26
- package/lib/esm/types/partials/MolecularSequenceQuality.js +0 -2
- package/lib/esm/types/partials/MolecularSequenceReferenceSeq.d.ts +0 -18
- package/lib/esm/types/partials/MolecularSequenceReferenceSeq.js +0 -2
- package/lib/esm/types/partials/MolecularSequenceRepository.d.ts +0 -13
- package/lib/esm/types/partials/MolecularSequenceRepository.js +0 -2
- package/lib/esm/types/partials/MolecularSequenceRoc.d.ts +0 -15
- package/lib/esm/types/partials/MolecularSequenceRoc.js +0 -2
- package/lib/esm/types/partials/MolecularSequenceStructureVariant.d.ts +0 -15
- package/lib/esm/types/partials/MolecularSequenceStructureVariant.js +0 -2
- package/lib/esm/types/partials/MolecularSequenceVariant.d.ts +0 -14
- package/lib/esm/types/partials/MolecularSequenceVariant.js +0 -2
- package/lib/esm/types/partials/Money.d.ts +0 -8
- package/lib/esm/types/partials/Money.js +0 -2
- package/lib/esm/types/partials/NamingSystemUniqueId.d.ts +0 -12
- package/lib/esm/types/partials/NamingSystemUniqueId.js +0 -2
- package/lib/esm/types/partials/Narrative.d.ts +0 -8
- package/lib/esm/types/partials/Narrative.js +0 -2
- package/lib/esm/types/partials/NutritionOrderAdministration.d.ts +0 -13
- package/lib/esm/types/partials/NutritionOrderAdministration.js +0 -2
- package/lib/esm/types/partials/NutritionOrderEnteralFormula.d.ts +0 -18
- package/lib/esm/types/partials/NutritionOrderEnteralFormula.js +0 -2
- package/lib/esm/types/partials/NutritionOrderNutrient.d.ts +0 -10
- package/lib/esm/types/partials/NutritionOrderNutrient.js +0 -2
- package/lib/esm/types/partials/NutritionOrderOralDiet.d.ts +0 -16
- package/lib/esm/types/partials/NutritionOrderOralDiet.js +0 -2
- package/lib/esm/types/partials/NutritionOrderSupplement.d.ts +0 -14
- package/lib/esm/types/partials/NutritionOrderSupplement.js +0 -2
- package/lib/esm/types/partials/NutritionOrderTexture.d.ts +0 -9
- package/lib/esm/types/partials/NutritionOrderTexture.js +0 -2
- package/lib/esm/types/partials/NutritionProductIngredient.d.ts +0 -10
- package/lib/esm/types/partials/NutritionProductIngredient.js +0 -2
- package/lib/esm/types/partials/NutritionProductInstance.d.ts +0 -14
- package/lib/esm/types/partials/NutritionProductInstance.js +0 -2
- package/lib/esm/types/partials/NutritionProductNutrient.d.ts +0 -10
- package/lib/esm/types/partials/NutritionProductNutrient.js +0 -2
- package/lib/esm/types/partials/NutritionProductProductCharacteristic.d.ts +0 -17
- package/lib/esm/types/partials/NutritionProductProductCharacteristic.js +0 -2
- package/lib/esm/types/partials/ObservationComponent.d.ts +0 -31
- package/lib/esm/types/partials/ObservationComponent.js +0 -2
- package/lib/esm/types/partials/ObservationDefinitionQualifiedInterval.d.ts +0 -16
- package/lib/esm/types/partials/ObservationDefinitionQualifiedInterval.js +0 -2
- package/lib/esm/types/partials/ObservationDefinitionQuantitativeDetails.d.ts +0 -13
- package/lib/esm/types/partials/ObservationDefinitionQuantitativeDetails.js +0 -2
- package/lib/esm/types/partials/ObservationReferenceRange.d.ts +0 -15
- package/lib/esm/types/partials/ObservationReferenceRange.js +0 -2
- package/lib/esm/types/partials/OperationDefinitionBinding.d.ts +0 -9
- package/lib/esm/types/partials/OperationDefinitionBinding.js +0 -2
- package/lib/esm/types/partials/OperationDefinitionOverload.d.ts +0 -8
- package/lib/esm/types/partials/OperationDefinitionOverload.js +0 -2
- package/lib/esm/types/partials/OperationDefinitionParameter.d.ts +0 -21
- package/lib/esm/types/partials/OperationDefinitionParameter.js +0 -2
- package/lib/esm/types/partials/OperationDefinitionReferencedFrom.d.ts +0 -8
- package/lib/esm/types/partials/OperationDefinitionReferencedFrom.js +0 -2
- package/lib/esm/types/partials/OperationOutcomeIssue.d.ts +0 -13
- package/lib/esm/types/partials/OperationOutcomeIssue.js +0 -2
- package/lib/esm/types/partials/OrganizationContact.d.ts +0 -14
- package/lib/esm/types/partials/OrganizationContact.js +0 -2
- package/lib/esm/types/partials/PackagedProductDefinitionContainedItem.d.ts +0 -10
- package/lib/esm/types/partials/PackagedProductDefinitionContainedItem.js +0 -2
- package/lib/esm/types/partials/PackagedProductDefinitionLegalStatusOfSupply.d.ts +0 -9
- package/lib/esm/types/partials/PackagedProductDefinitionLegalStatusOfSupply.js +0 -2
- package/lib/esm/types/partials/PackagedProductDefinitionPackage.d.ts +0 -23
- package/lib/esm/types/partials/PackagedProductDefinitionPackage.js +0 -2
- package/lib/esm/types/partials/PackagedProductDefinitionProperty.d.ts +0 -16
- package/lib/esm/types/partials/PackagedProductDefinitionProperty.js +0 -2
- package/lib/esm/types/partials/PackagedProductDefinitionShelfLifeStorage.d.ts +0 -12
- package/lib/esm/types/partials/PackagedProductDefinitionShelfLifeStorage.js +0 -2
- package/lib/esm/types/partials/ParameterDefinition.d.ts +0 -14
- package/lib/esm/types/partials/ParameterDefinition.js +0 -2
- package/lib/esm/types/partials/ParametersParameter.d.ts +0 -102
- package/lib/esm/types/partials/ParametersParameter.js +0 -2
- package/lib/esm/types/partials/PatientCommunication.d.ts +0 -9
- package/lib/esm/types/partials/PatientCommunication.js +0 -2
- package/lib/esm/types/partials/PatientContact.d.ts +0 -19
- package/lib/esm/types/partials/PatientContact.js +0 -2
- package/lib/esm/types/partials/PatientLink.d.ts +0 -9
- package/lib/esm/types/partials/PatientLink.js +0 -2
- package/lib/esm/types/partials/PaymentReconciliationDetail.d.ts +0 -21
- package/lib/esm/types/partials/PaymentReconciliationDetail.js +0 -2
- package/lib/esm/types/partials/PaymentReconciliationProcessNote.d.ts +0 -8
- package/lib/esm/types/partials/PaymentReconciliationProcessNote.js +0 -2
- package/lib/esm/types/partials/Period.d.ts +0 -8
- package/lib/esm/types/partials/Period.js +0 -2
- package/lib/esm/types/partials/PersonLink.d.ts +0 -9
- package/lib/esm/types/partials/PersonLink.js +0 -2
- package/lib/esm/types/partials/PlanDefinitionAction.d.ts +0 -58
- package/lib/esm/types/partials/PlanDefinitionAction.js +0 -2
- package/lib/esm/types/partials/PlanDefinitionCondition.d.ts +0 -9
- package/lib/esm/types/partials/PlanDefinitionCondition.js +0 -2
- package/lib/esm/types/partials/PlanDefinitionDynamicValue.d.ts +0 -9
- package/lib/esm/types/partials/PlanDefinitionDynamicValue.js +0 -2
- package/lib/esm/types/partials/PlanDefinitionGoal.d.ts +0 -16
- package/lib/esm/types/partials/PlanDefinitionGoal.js +0 -2
- package/lib/esm/types/partials/PlanDefinitionParticipant.d.ts +0 -9
- package/lib/esm/types/partials/PlanDefinitionParticipant.js +0 -2
- package/lib/esm/types/partials/PlanDefinitionRelatedAction.d.ts +0 -13
- package/lib/esm/types/partials/PlanDefinitionRelatedAction.js +0 -2
- package/lib/esm/types/partials/PlanDefinitionTarget.d.ts +0 -14
- package/lib/esm/types/partials/PlanDefinitionTarget.js +0 -2
- package/lib/esm/types/partials/Population.d.ts +0 -13
- package/lib/esm/types/partials/Population.js +0 -2
- package/lib/esm/types/partials/PractitionerQualification.d.ts +0 -14
- package/lib/esm/types/partials/PractitionerQualification.js +0 -2
- package/lib/esm/types/partials/PractitionerRoleAvailableTime.d.ts +0 -11
- package/lib/esm/types/partials/PractitionerRoleAvailableTime.js +0 -2
- package/lib/esm/types/partials/PractitionerRoleNotAvailable.d.ts +0 -9
- package/lib/esm/types/partials/PractitionerRoleNotAvailable.js +0 -2
- package/lib/esm/types/partials/ProcedureFocalDevice.d.ts +0 -10
- package/lib/esm/types/partials/ProcedureFocalDevice.js +0 -2
- package/lib/esm/types/partials/ProcedurePerformer.d.ts +0 -11
- package/lib/esm/types/partials/ProcedurePerformer.js +0 -2
- package/lib/esm/types/partials/ProdCharacteristic.d.ts +0 -20
- package/lib/esm/types/partials/ProdCharacteristic.js +0 -2
- package/lib/esm/types/partials/ProductShelfLife.d.ts +0 -13
- package/lib/esm/types/partials/ProductShelfLife.js +0 -2
- package/lib/esm/types/partials/ProvenanceAgent.d.ts +0 -12
- package/lib/esm/types/partials/ProvenanceAgent.js +0 -2
- package/lib/esm/types/partials/ProvenanceEntity.d.ts +0 -11
- package/lib/esm/types/partials/ProvenanceEntity.js +0 -2
- package/lib/esm/types/partials/Quantity.d.ts +0 -12
- package/lib/esm/types/partials/Quantity.js +0 -2
- package/lib/esm/types/partials/QuestionnaireAnswerOption.d.ts +0 -18
- package/lib/esm/types/partials/QuestionnaireAnswerOption.js +0 -2
- package/lib/esm/types/partials/QuestionnaireEnableWhen.d.ts +0 -26
- package/lib/esm/types/partials/QuestionnaireEnableWhen.js +0 -2
- package/lib/esm/types/partials/QuestionnaireInitial.d.ts +0 -28
- package/lib/esm/types/partials/QuestionnaireInitial.js +0 -2
- package/lib/esm/types/partials/QuestionnaireItem.d.ts +0 -29
- package/lib/esm/types/partials/QuestionnaireItem.js +0 -2
- package/lib/esm/types/partials/QuestionnaireResponseAnswer.d.ts +0 -30
- package/lib/esm/types/partials/QuestionnaireResponseAnswer.js +0 -2
- package/lib/esm/types/partials/QuestionnaireResponseItem.d.ts +0 -13
- package/lib/esm/types/partials/QuestionnaireResponseItem.js +0 -2
- package/lib/esm/types/partials/Range.d.ts +0 -8
- package/lib/esm/types/partials/Range.js +0 -2
- package/lib/esm/types/partials/Ratio.d.ts +0 -8
- package/lib/esm/types/partials/Ratio.js +0 -2
- package/lib/esm/types/partials/RatioRange.d.ts +0 -9
- package/lib/esm/types/partials/RatioRange.js +0 -2
- package/lib/esm/types/partials/Reference.d.ts +0 -14
- package/lib/esm/types/partials/Reference.js +0 -2
- package/lib/esm/types/partials/RegulatedAuthorizationCase.d.ts +0 -16
- package/lib/esm/types/partials/RegulatedAuthorizationCase.js +0 -2
- package/lib/esm/types/partials/RelatedArtifact.d.ts +0 -16
- package/lib/esm/types/partials/RelatedArtifact.js +0 -2
- package/lib/esm/types/partials/RelatedPersonCommunication.d.ts +0 -9
- package/lib/esm/types/partials/RelatedPersonCommunication.js +0 -2
- package/lib/esm/types/partials/RequestGroupAction.d.ts +0 -40
- package/lib/esm/types/partials/RequestGroupAction.js +0 -2
- package/lib/esm/types/partials/RequestGroupCondition.d.ts +0 -9
- package/lib/esm/types/partials/RequestGroupCondition.js +0 -2
- package/lib/esm/types/partials/RequestGroupRelatedAction.d.ts +0 -13
- package/lib/esm/types/partials/RequestGroupRelatedAction.js +0 -2
- package/lib/esm/types/partials/ResearchElementDefinitionCharacteristic.d.ts +0 -36
- package/lib/esm/types/partials/ResearchElementDefinitionCharacteristic.js +0 -2
- package/lib/esm/types/partials/ResearchStudyArm.d.ts +0 -10
- package/lib/esm/types/partials/ResearchStudyArm.js +0 -2
- package/lib/esm/types/partials/ResearchStudyObjective.d.ts +0 -9
- package/lib/esm/types/partials/ResearchStudyObjective.js +0 -2
- package/lib/esm/types/partials/RiskAssessmentPrediction.d.ts +0 -18
- package/lib/esm/types/partials/RiskAssessmentPrediction.js +0 -2
- package/lib/esm/types/partials/SampledData.d.ts +0 -15
- package/lib/esm/types/partials/SampledData.js +0 -2
- package/lib/esm/types/partials/SearchParameterComponent.d.ts +0 -9
- package/lib/esm/types/partials/SearchParameterComponent.js +0 -2
- package/lib/esm/types/partials/Signature.d.ts +0 -16
- package/lib/esm/types/partials/Signature.js +0 -2
- package/lib/esm/types/partials/SpecimenCollection.d.ts +0 -20
- package/lib/esm/types/partials/SpecimenCollection.js +0 -2
- package/lib/esm/types/partials/SpecimenContainer.d.ts +0 -17
- package/lib/esm/types/partials/SpecimenContainer.js +0 -2
- package/lib/esm/types/partials/SpecimenDefinitionAdditive.d.ts +0 -10
- package/lib/esm/types/partials/SpecimenDefinitionAdditive.js +0 -2
- package/lib/esm/types/partials/SpecimenDefinitionContainer.d.ts +0 -18
- package/lib/esm/types/partials/SpecimenDefinitionContainer.js +0 -2
- package/lib/esm/types/partials/SpecimenDefinitionHandling.d.ts +0 -13
- package/lib/esm/types/partials/SpecimenDefinitionHandling.js +0 -2
- package/lib/esm/types/partials/SpecimenDefinitionTypeTested.d.ts +0 -18
- package/lib/esm/types/partials/SpecimenDefinitionTypeTested.js +0 -2
- package/lib/esm/types/partials/SpecimenProcessing.d.ts +0 -15
- package/lib/esm/types/partials/SpecimenProcessing.js +0 -2
- package/lib/esm/types/partials/StructureDefinitionContext.d.ts +0 -8
- package/lib/esm/types/partials/StructureDefinitionContext.js +0 -2
- package/lib/esm/types/partials/StructureDefinitionDifferential.d.ts +0 -8
- package/lib/esm/types/partials/StructureDefinitionDifferential.js +0 -2
- package/lib/esm/types/partials/StructureDefinitionMapping.d.ts +0 -12
- package/lib/esm/types/partials/StructureDefinitionMapping.js +0 -2
- package/lib/esm/types/partials/StructureDefinitionSnapshot.d.ts +0 -8
- package/lib/esm/types/partials/StructureDefinitionSnapshot.js +0 -2
- package/lib/esm/types/partials/StructureMapDependent.d.ts +0 -9
- package/lib/esm/types/partials/StructureMapDependent.js +0 -2
- package/lib/esm/types/partials/StructureMapGroup.d.ts +0 -15
- package/lib/esm/types/partials/StructureMapGroup.js +0 -2
- package/lib/esm/types/partials/StructureMapInput.d.ts +0 -11
- package/lib/esm/types/partials/StructureMapInput.js +0 -2
- package/lib/esm/types/partials/StructureMapParameter.d.ts +0 -14
- package/lib/esm/types/partials/StructureMapParameter.js +0 -2
- package/lib/esm/types/partials/StructureMapRule.d.ts +0 -16
- package/lib/esm/types/partials/StructureMapRule.js +0 -2
- package/lib/esm/types/partials/StructureMapSource.d.ts +0 -108
- package/lib/esm/types/partials/StructureMapSource.js +0 -2
- package/lib/esm/types/partials/StructureMapStructure.d.ts +0 -11
- package/lib/esm/types/partials/StructureMapStructure.js +0 -2
- package/lib/esm/types/partials/StructureMapTarget.d.ts +0 -16
- package/lib/esm/types/partials/StructureMapTarget.js +0 -2
- package/lib/esm/types/partials/SubscriptionChannel.d.ts +0 -11
- package/lib/esm/types/partials/SubscriptionChannel.js +0 -2
- package/lib/esm/types/partials/SubscriptionStatusNotificationEvent.d.ts +0 -12
- package/lib/esm/types/partials/SubscriptionStatusNotificationEvent.js +0 -2
- package/lib/esm/types/partials/SubscriptionTopicCanFilterBy.d.ts +0 -13
- package/lib/esm/types/partials/SubscriptionTopicCanFilterBy.js +0 -2
- package/lib/esm/types/partials/SubscriptionTopicEventTrigger.d.ts +0 -12
- package/lib/esm/types/partials/SubscriptionTopicEventTrigger.js +0 -2
- package/lib/esm/types/partials/SubscriptionTopicNotificationShape.d.ts +0 -10
- package/lib/esm/types/partials/SubscriptionTopicNotificationShape.js +0 -2
- package/lib/esm/types/partials/SubscriptionTopicQueryCriteria.d.ts +0 -11
- package/lib/esm/types/partials/SubscriptionTopicQueryCriteria.js +0 -2
- package/lib/esm/types/partials/SubscriptionTopicResourceTrigger.d.ts +0 -14
- package/lib/esm/types/partials/SubscriptionTopicResourceTrigger.js +0 -2
- package/lib/esm/types/partials/SubstanceDefinitionCode.d.ts +0 -15
- package/lib/esm/types/partials/SubstanceDefinitionCode.js +0 -2
- package/lib/esm/types/partials/SubstanceDefinitionMoiety.d.ts +0 -18
- package/lib/esm/types/partials/SubstanceDefinitionMoiety.js +0 -2
- package/lib/esm/types/partials/SubstanceDefinitionMolecularWeight.d.ts +0 -11
- package/lib/esm/types/partials/SubstanceDefinitionMolecularWeight.js +0 -2
- package/lib/esm/types/partials/SubstanceDefinitionName.d.ts +0 -20
- package/lib/esm/types/partials/SubstanceDefinitionName.js +0 -2
- package/lib/esm/types/partials/SubstanceDefinitionOfficial.d.ts +0 -11
- package/lib/esm/types/partials/SubstanceDefinitionOfficial.js +0 -2
- package/lib/esm/types/partials/SubstanceDefinitionProperty.d.ts +0 -16
- package/lib/esm/types/partials/SubstanceDefinitionProperty.js +0 -2
- package/lib/esm/types/partials/SubstanceDefinitionRelationship.d.ts +0 -20
- package/lib/esm/types/partials/SubstanceDefinitionRelationship.js +0 -2
- package/lib/esm/types/partials/SubstanceDefinitionRepresentation.d.ts +0 -12
- package/lib/esm/types/partials/SubstanceDefinitionRepresentation.js +0 -2
- package/lib/esm/types/partials/SubstanceDefinitionSourceMaterial.d.ts +0 -12
- package/lib/esm/types/partials/SubstanceDefinitionSourceMaterial.js +0 -2
- package/lib/esm/types/partials/SubstanceDefinitionStructure.d.ts +0 -18
- package/lib/esm/types/partials/SubstanceDefinitionStructure.js +0 -2
- package/lib/esm/types/partials/SubstanceIngredient.d.ts +0 -12
- package/lib/esm/types/partials/SubstanceIngredient.js +0 -2
- package/lib/esm/types/partials/SubstanceInstance.d.ts +0 -12
- package/lib/esm/types/partials/SubstanceInstance.js +0 -2
- package/lib/esm/types/partials/SupplyDeliverySuppliedItem.d.ts +0 -12
- package/lib/esm/types/partials/SupplyDeliverySuppliedItem.js +0 -2
- package/lib/esm/types/partials/SupplyRequestParameter.d.ts +0 -14
- package/lib/esm/types/partials/SupplyRequestParameter.js +0 -2
- package/lib/esm/types/partials/TaskInput.d.ts +0 -99
- package/lib/esm/types/partials/TaskInput.js +0 -2
- package/lib/esm/types/partials/TaskOutput.d.ts +0 -99
- package/lib/esm/types/partials/TaskOutput.js +0 -2
- package/lib/esm/types/partials/TaskRestriction.d.ts +0 -12
- package/lib/esm/types/partials/TaskRestriction.js +0 -2
- package/lib/esm/types/partials/TerminologyCapabilitiesClosure.d.ts +0 -7
- package/lib/esm/types/partials/TerminologyCapabilitiesClosure.js +0 -2
- package/lib/esm/types/partials/TerminologyCapabilitiesCodeSystem.d.ts +0 -11
- package/lib/esm/types/partials/TerminologyCapabilitiesCodeSystem.js +0 -2
- package/lib/esm/types/partials/TerminologyCapabilitiesExpansion.d.ts +0 -13
- package/lib/esm/types/partials/TerminologyCapabilitiesExpansion.js +0 -2
- package/lib/esm/types/partials/TerminologyCapabilitiesFilter.d.ts +0 -8
- package/lib/esm/types/partials/TerminologyCapabilitiesFilter.js +0 -2
- package/lib/esm/types/partials/TerminologyCapabilitiesImplementation.d.ts +0 -9
- package/lib/esm/types/partials/TerminologyCapabilitiesImplementation.js +0 -2
- package/lib/esm/types/partials/TerminologyCapabilitiesParameter.d.ts +0 -8
- package/lib/esm/types/partials/TerminologyCapabilitiesParameter.js +0 -2
- package/lib/esm/types/partials/TerminologyCapabilitiesSoftware.d.ts +0 -8
- package/lib/esm/types/partials/TerminologyCapabilitiesSoftware.js +0 -2
- package/lib/esm/types/partials/TerminologyCapabilitiesTranslation.d.ts +0 -7
- package/lib/esm/types/partials/TerminologyCapabilitiesTranslation.js +0 -2
- package/lib/esm/types/partials/TerminologyCapabilitiesValidateCode.d.ts +0 -7
- package/lib/esm/types/partials/TerminologyCapabilitiesValidateCode.js +0 -2
- package/lib/esm/types/partials/TerminologyCapabilitiesVersion.d.ts +0 -13
- package/lib/esm/types/partials/TerminologyCapabilitiesVersion.js +0 -2
- package/lib/esm/types/partials/TestReportAction.d.ts +0 -10
- package/lib/esm/types/partials/TestReportAction.js +0 -2
- package/lib/esm/types/partials/TestReportAction1.d.ts +0 -10
- package/lib/esm/types/partials/TestReportAction1.js +0 -2
- package/lib/esm/types/partials/TestReportAction2.d.ts +0 -8
- package/lib/esm/types/partials/TestReportAction2.js +0 -2
- package/lib/esm/types/partials/TestReportAssert.d.ts +0 -10
- package/lib/esm/types/partials/TestReportAssert.js +0 -2
- package/lib/esm/types/partials/TestReportOperation.d.ts +0 -11
- package/lib/esm/types/partials/TestReportOperation.js +0 -2
- package/lib/esm/types/partials/TestReportParticipant.d.ts +0 -10
- package/lib/esm/types/partials/TestReportParticipant.js +0 -2
- package/lib/esm/types/partials/TestReportSetup.d.ts +0 -8
- package/lib/esm/types/partials/TestReportSetup.js +0 -2
- package/lib/esm/types/partials/TestReportTeardown.d.ts +0 -8
- package/lib/esm/types/partials/TestReportTeardown.js +0 -2
- package/lib/esm/types/partials/TestReportTest.d.ts +0 -10
- package/lib/esm/types/partials/TestReportTest.js +0 -2
- package/lib/esm/types/partials/TestScriptAction.d.ts +0 -10
- package/lib/esm/types/partials/TestScriptAction.js +0 -2
- package/lib/esm/types/partials/TestScriptAction1.d.ts +0 -10
- package/lib/esm/types/partials/TestScriptAction1.js +0 -2
- package/lib/esm/types/partials/TestScriptAction2.d.ts +0 -8
- package/lib/esm/types/partials/TestScriptAction2.js +0 -2
- package/lib/esm/types/partials/TestScriptAssert.d.ts +0 -29
- package/lib/esm/types/partials/TestScriptAssert.js +0 -2
- package/lib/esm/types/partials/TestScriptCapability.d.ts +0 -16
- package/lib/esm/types/partials/TestScriptCapability.js +0 -2
- package/lib/esm/types/partials/TestScriptDestination.d.ts +0 -10
- package/lib/esm/types/partials/TestScriptDestination.js +0 -2
- package/lib/esm/types/partials/TestScriptFixture.d.ts +0 -10
- package/lib/esm/types/partials/TestScriptFixture.js +0 -2
- package/lib/esm/types/partials/TestScriptLink.d.ts +0 -9
- package/lib/esm/types/partials/TestScriptLink.js +0 -2
- package/lib/esm/types/partials/TestScriptMetadata.d.ts +0 -10
- package/lib/esm/types/partials/TestScriptMetadata.js +0 -2
- package/lib/esm/types/partials/TestScriptOperation.d.ts +0 -27
- package/lib/esm/types/partials/TestScriptOperation.js +0 -2
- package/lib/esm/types/partials/TestScriptOrigin.d.ts +0 -10
- package/lib/esm/types/partials/TestScriptOrigin.js +0 -2
- package/lib/esm/types/partials/TestScriptRequestHeader.d.ts +0 -8
- package/lib/esm/types/partials/TestScriptRequestHeader.js +0 -2
- package/lib/esm/types/partials/TestScriptSetup.d.ts +0 -8
- package/lib/esm/types/partials/TestScriptSetup.js +0 -2
- package/lib/esm/types/partials/TestScriptTeardown.d.ts +0 -8
- package/lib/esm/types/partials/TestScriptTeardown.js +0 -2
- package/lib/esm/types/partials/TestScriptTest.d.ts +0 -10
- package/lib/esm/types/partials/TestScriptTest.js +0 -2
- package/lib/esm/types/partials/TestScriptVariable.d.ts +0 -15
- package/lib/esm/types/partials/TestScriptVariable.js +0 -2
- package/lib/esm/types/partials/Timing.d.ts +0 -12
- package/lib/esm/types/partials/Timing.js +0 -2
- package/lib/esm/types/partials/TimingRepeat.d.ts +0 -30
- package/lib/esm/types/partials/TimingRepeat.js +0 -2
- package/lib/esm/types/partials/TriggerDefinition.d.ts +0 -19
- package/lib/esm/types/partials/TriggerDefinition.js +0 -2
- package/lib/esm/types/partials/UsageContext.d.ts +0 -15
- package/lib/esm/types/partials/UsageContext.js +0 -2
- package/lib/esm/types/partials/ValueSetCompose.d.ts +0 -12
- package/lib/esm/types/partials/ValueSetCompose.js +0 -2
- package/lib/esm/types/partials/ValueSetConcept.d.ts +0 -10
- package/lib/esm/types/partials/ValueSetConcept.js +0 -2
- package/lib/esm/types/partials/ValueSetContains.d.ts +0 -16
- package/lib/esm/types/partials/ValueSetContains.js +0 -2
- package/lib/esm/types/partials/ValueSetDesignation.d.ts +0 -10
- package/lib/esm/types/partials/ValueSetDesignation.js +0 -2
- package/lib/esm/types/partials/ValueSetExpansion.d.ts +0 -17
- package/lib/esm/types/partials/ValueSetExpansion.js +0 -2
- package/lib/esm/types/partials/ValueSetFilter.d.ts +0 -9
- package/lib/esm/types/partials/ValueSetFilter.js +0 -2
- package/lib/esm/types/partials/ValueSetInclude.d.ts +0 -15
- package/lib/esm/types/partials/ValueSetInclude.js +0 -2
- package/lib/esm/types/partials/ValueSetParameter.d.ts +0 -18
- package/lib/esm/types/partials/ValueSetParameter.js +0 -2
- package/lib/esm/types/partials/VerificationResultAttestation.d.ts +0 -18
- package/lib/esm/types/partials/VerificationResultAttestation.js +0 -2
- package/lib/esm/types/partials/VerificationResultPrimarySource.d.ts +0 -16
- package/lib/esm/types/partials/VerificationResultPrimarySource.js +0 -2
- package/lib/esm/types/partials/VerificationResultValidator.d.ts +0 -11
- package/lib/esm/types/partials/VerificationResultValidator.js +0 -2
- package/lib/esm/types/partials/VisionPrescriptionLensSpecification.d.ts +0 -26
- package/lib/esm/types/partials/VisionPrescriptionLensSpecification.js +0 -2
- package/lib/esm/types/partials/VisionPrescriptionPrism.d.ts +0 -9
- package/lib/esm/types/partials/VisionPrescriptionPrism.js +0 -2
- package/lib/esm/types/resources/Account.d.ts +0 -33
- package/lib/esm/types/resources/Account.js +0 -2
- package/lib/esm/types/resources/ActivityDefinition.d.ts +0 -87
- package/lib/esm/types/resources/ActivityDefinition.js +0 -2
- package/lib/esm/types/resources/AdministrableProductDefinition.d.ts +0 -31
- package/lib/esm/types/resources/AdministrableProductDefinition.js +0 -2
- package/lib/esm/types/resources/AdverseEvent.d.ts +0 -41
- package/lib/esm/types/resources/AdverseEvent.js +0 -2
- package/lib/esm/types/resources/AllergyIntolerance.d.ts +0 -45
- package/lib/esm/types/resources/AllergyIntolerance.js +0 -2
- package/lib/esm/types/resources/Appointment.d.ts +0 -47
- package/lib/esm/types/resources/Appointment.js +0 -2
- package/lib/esm/types/resources/AppointmentResponse.d.ts +0 -28
- package/lib/esm/types/resources/AppointmentResponse.js +0 -2
- package/lib/esm/types/resources/AuditEvent.d.ts +0 -34
- package/lib/esm/types/resources/AuditEvent.js +0 -2
- package/lib/esm/types/resources/Basic.d.ts +0 -25
- package/lib/esm/types/resources/Basic.js +0 -2
- package/lib/esm/types/resources/Binary.d.ts +0 -14
- package/lib/esm/types/resources/Binary.js +0 -2
- package/lib/esm/types/resources/BiologicallyDerivedProduct.d.ts +0 -35
- package/lib/esm/types/resources/BiologicallyDerivedProduct.js +0 -2
- package/lib/esm/types/resources/BodyStructure.d.ts +0 -28
- package/lib/esm/types/resources/BodyStructure.js +0 -2
- package/lib/esm/types/resources/Bundle.d.ts +0 -22
- package/lib/esm/types/resources/Bundle.js +0 -2
- package/lib/esm/types/resources/CapabilityStatement.d.ts +0 -53
- package/lib/esm/types/resources/CapabilityStatement.js +0 -2
- package/lib/esm/types/resources/CarePlan.d.ts +0 -47
- package/lib/esm/types/resources/CarePlan.js +0 -2
- package/lib/esm/types/resources/CareTeam.d.ts +0 -36
- package/lib/esm/types/resources/CareTeam.js +0 -2
- package/lib/esm/types/resources/CatalogEntry.d.ts +0 -35
- package/lib/esm/types/resources/CatalogEntry.js +0 -2
- package/lib/esm/types/resources/ChargeItem.d.ts +0 -57
- package/lib/esm/types/resources/ChargeItem.js +0 -2
- package/lib/esm/types/resources/ChargeItemDefinition.d.ts +0 -51
- package/lib/esm/types/resources/ChargeItemDefinition.js +0 -2
- package/lib/esm/types/resources/Citation.d.ts +0 -59
- package/lib/esm/types/resources/Citation.js +0 -2
- package/lib/esm/types/resources/Claim.d.ts +0 -58
- package/lib/esm/types/resources/Claim.js +0 -2
- package/lib/esm/types/resources/ClaimResponse.d.ts +0 -57
- package/lib/esm/types/resources/ClaimResponse.js +0 -2
- package/lib/esm/types/resources/ClinicalImpression.d.ts +0 -45
- package/lib/esm/types/resources/ClinicalImpression.js +0 -2
- package/lib/esm/types/resources/ClinicalUseDefinition.d.ts +0 -35
- package/lib/esm/types/resources/ClinicalUseDefinition.js +0 -2
- package/lib/esm/types/resources/CodeSystem.d.ts +0 -53
- package/lib/esm/types/resources/CodeSystem.js +0 -2
- package/lib/esm/types/resources/Communication.d.ts +0 -46
- package/lib/esm/types/resources/Communication.js +0 -2
- package/lib/esm/types/resources/CommunicationRequest.d.ts +0 -46
- package/lib/esm/types/resources/CommunicationRequest.js +0 -2
- package/lib/esm/types/resources/CompartmentDefinition.d.ts +0 -35
- package/lib/esm/types/resources/CompartmentDefinition.js +0 -2
- package/lib/esm/types/resources/Composition.d.ts +0 -39
- package/lib/esm/types/resources/Composition.js +0 -2
- package/lib/esm/types/resources/ConceptMap.d.ts +0 -44
- package/lib/esm/types/resources/ConceptMap.js +0 -2
- package/lib/esm/types/resources/Condition.d.ts +0 -51
- package/lib/esm/types/resources/Condition.js +0 -2
- package/lib/esm/types/resources/Consent.d.ts +0 -38
- package/lib/esm/types/resources/Consent.js +0 -2
- package/lib/esm/types/resources/Contract.d.ts +0 -63
- package/lib/esm/types/resources/Contract.js +0 -2
- package/lib/esm/types/resources/Coverage.d.ts +0 -40
- package/lib/esm/types/resources/Coverage.js +0 -2
- package/lib/esm/types/resources/CoverageEligibilityRequest.d.ts +0 -40
- package/lib/esm/types/resources/CoverageEligibilityRequest.js +0 -2
- package/lib/esm/types/resources/CoverageEligibilityResponse.d.ts +0 -40
- package/lib/esm/types/resources/CoverageEligibilityResponse.js +0 -2
- package/lib/esm/types/resources/DetectedIssue.d.ts +0 -36
- package/lib/esm/types/resources/DetectedIssue.js +0 -2
- package/lib/esm/types/resources/Device.d.ts +0 -53
- package/lib/esm/types/resources/Device.js +0 -2
- package/lib/esm/types/resources/DeviceDefinition.d.ts +0 -53
- package/lib/esm/types/resources/DeviceDefinition.js +0 -2
- package/lib/esm/types/resources/DeviceMetric.d.ts +0 -31
- package/lib/esm/types/resources/DeviceMetric.js +0 -2
- package/lib/esm/types/resources/DeviceRequest.d.ts +0 -52
- package/lib/esm/types/resources/DeviceRequest.js +0 -2
- package/lib/esm/types/resources/DeviceUseStatement.d.ts +0 -38
- package/lib/esm/types/resources/DeviceUseStatement.js +0 -2
- package/lib/esm/types/resources/DiagnosticReport.d.ts +0 -43
- package/lib/esm/types/resources/DiagnosticReport.js +0 -2
- package/lib/esm/types/resources/DocumentManifest.d.ts +0 -33
- package/lib/esm/types/resources/DocumentManifest.js +0 -2
- package/lib/esm/types/resources/DocumentReference.d.ts +0 -39
- package/lib/esm/types/resources/DocumentReference.js +0 -2
- package/lib/esm/types/resources/DomainResource.d.ts +0 -16
- package/lib/esm/types/resources/DomainResource.js +0 -2
- package/lib/esm/types/resources/Encounter.d.ts +0 -51
- package/lib/esm/types/resources/Encounter.js +0 -2
- package/lib/esm/types/resources/Endpoint.d.ts +0 -34
- package/lib/esm/types/resources/Endpoint.js +0 -2
- package/lib/esm/types/resources/EnrollmentRequest.d.ts +0 -26
- package/lib/esm/types/resources/EnrollmentRequest.js +0 -2
- package/lib/esm/types/resources/EnrollmentResponse.d.ts +0 -27
- package/lib/esm/types/resources/EnrollmentResponse.js +0 -2
- package/lib/esm/types/resources/EpisodeOfCare.d.ts +0 -34
- package/lib/esm/types/resources/EpisodeOfCare.js +0 -2
- package/lib/esm/types/resources/EventDefinition.d.ts +0 -56
- package/lib/esm/types/resources/EventDefinition.js +0 -2
- package/lib/esm/types/resources/Evidence.d.ts +0 -55
- package/lib/esm/types/resources/Evidence.js +0 -2
- package/lib/esm/types/resources/EvidenceReport.d.ts +0 -46
- package/lib/esm/types/resources/EvidenceReport.js +0 -2
- package/lib/esm/types/resources/EvidenceVariable.d.ts +0 -49
- package/lib/esm/types/resources/EvidenceVariable.js +0 -2
- package/lib/esm/types/resources/ExampleScenario.d.ts +0 -43
- package/lib/esm/types/resources/ExampleScenario.js +0 -2
- package/lib/esm/types/resources/ExplanationOfBenefit.d.ts +0 -81
- package/lib/esm/types/resources/ExplanationOfBenefit.js +0 -2
- package/lib/esm/types/resources/FamilyMemberHistory.d.ts +0 -53
- package/lib/esm/types/resources/FamilyMemberHistory.js +0 -2
- package/lib/esm/types/resources/Flag.d.ts +0 -28
- package/lib/esm/types/resources/Flag.js +0 -2
- package/lib/esm/types/resources/Goal.d.ts +0 -39
- package/lib/esm/types/resources/Goal.js +0 -2
- package/lib/esm/types/resources/GraphDefinition.d.ts +0 -38
- package/lib/esm/types/resources/GraphDefinition.js +0 -2
- package/lib/esm/types/resources/Group.d.ts +0 -32
- package/lib/esm/types/resources/Group.js +0 -2
- package/lib/esm/types/resources/GuidanceResponse.d.ts +0 -40
- package/lib/esm/types/resources/GuidanceResponse.js +0 -2
- package/lib/esm/types/resources/HealthcareService.d.ts +0 -49
- package/lib/esm/types/resources/HealthcareService.js +0 -2
- package/lib/esm/types/resources/ImagingStudy.d.ts +0 -44
- package/lib/esm/types/resources/ImagingStudy.js +0 -2
- package/lib/esm/types/resources/Immunization.d.ts +0 -56
- package/lib/esm/types/resources/Immunization.js +0 -2
- package/lib/esm/types/resources/ImmunizationEvaluation.d.ts +0 -36
- package/lib/esm/types/resources/ImmunizationEvaluation.js +0 -2
- package/lib/esm/types/resources/ImmunizationRecommendation.d.ts +0 -25
- package/lib/esm/types/resources/ImmunizationRecommendation.js +0 -2
- package/lib/esm/types/resources/ImplementationGuide.d.ts +0 -46
- package/lib/esm/types/resources/ImplementationGuide.js +0 -2
- package/lib/esm/types/resources/Ingredient.d.ts +0 -29
- package/lib/esm/types/resources/Ingredient.js +0 -2
- package/lib/esm/types/resources/InsurancePlan.d.ts +0 -37
- package/lib/esm/types/resources/InsurancePlan.js +0 -2
- package/lib/esm/types/resources/Invoice.d.ts +0 -42
- package/lib/esm/types/resources/Invoice.js +0 -2
- package/lib/esm/types/resources/Library.d.ts +0 -61
- package/lib/esm/types/resources/Library.js +0 -2
- package/lib/esm/types/resources/Linkage.d.ts +0 -21
- package/lib/esm/types/resources/Linkage.js +0 -2
- package/lib/esm/types/resources/List.d.ts +0 -35
- package/lib/esm/types/resources/List.js +0 -2
- package/lib/esm/types/resources/Location.d.ts +0 -41
- package/lib/esm/types/resources/Location.js +0 -2
- package/lib/esm/types/resources/ManufacturedItemDefinition.d.ts +0 -27
- package/lib/esm/types/resources/ManufacturedItemDefinition.js +0 -2
- package/lib/esm/types/resources/Measure.d.ts +0 -71
- package/lib/esm/types/resources/Measure.js +0 -2
- package/lib/esm/types/resources/MeasureReport.d.ts +0 -34
- package/lib/esm/types/resources/MeasureReport.js +0 -2
- package/lib/esm/types/resources/Media.d.ts +0 -49
- package/lib/esm/types/resources/Media.js +0 -2
- package/lib/esm/types/resources/Medication.d.ts +0 -30
- package/lib/esm/types/resources/Medication.js +0 -2
- package/lib/esm/types/resources/MedicationAdministration.d.ts +0 -45
- package/lib/esm/types/resources/MedicationAdministration.js +0 -2
- package/lib/esm/types/resources/MedicationDispense.d.ts +0 -51
- package/lib/esm/types/resources/MedicationDispense.js +0 -2
- package/lib/esm/types/resources/MedicationKnowledge.d.ts +0 -53
- package/lib/esm/types/resources/MedicationKnowledge.js +0 -2
- package/lib/esm/types/resources/MedicationRequest.d.ts +0 -59
- package/lib/esm/types/resources/MedicationRequest.js +0 -2
- package/lib/esm/types/resources/MedicationStatement.d.ts +0 -42
- package/lib/esm/types/resources/MedicationStatement.js +0 -2
- package/lib/esm/types/resources/MedicinalProductDefinition.d.ts +0 -57
- package/lib/esm/types/resources/MedicinalProductDefinition.js +0 -2
- package/lib/esm/types/resources/MessageDefinition.d.ts +0 -51
- package/lib/esm/types/resources/MessageDefinition.js +0 -2
- package/lib/esm/types/resources/MessageHeader.d.ts +0 -35
- package/lib/esm/types/resources/MessageHeader.js +0 -2
- package/lib/esm/types/resources/MolecularSequence.d.ts +0 -41
- package/lib/esm/types/resources/MolecularSequence.js +0 -2
- package/lib/esm/types/resources/NamingSystem.d.ts +0 -35
- package/lib/esm/types/resources/NamingSystem.js +0 -2
- package/lib/esm/types/resources/NutritionOrder.d.ts +0 -42
- package/lib/esm/types/resources/NutritionOrder.js +0 -2
- package/lib/esm/types/resources/NutritionProduct.d.ts +0 -34
- package/lib/esm/types/resources/NutritionProduct.js +0 -2
- package/lib/esm/types/resources/Observation.d.ts +0 -69
- package/lib/esm/types/resources/Observation.js +0 -2
- package/lib/esm/types/resources/ObservationDefinition.d.ts +0 -34
- package/lib/esm/types/resources/ObservationDefinition.js +0 -2
- package/lib/esm/types/resources/OperationDefinition.d.ts +0 -50
- package/lib/esm/types/resources/OperationDefinition.js +0 -2
- package/lib/esm/types/resources/OperationOutcome.d.ts +0 -18
- package/lib/esm/types/resources/OperationOutcome.js +0 -2
- package/lib/esm/types/resources/Organization.d.ts +0 -32
- package/lib/esm/types/resources/Organization.js +0 -2
- package/lib/esm/types/resources/OrganizationAffiliation.d.ts +0 -33
- package/lib/esm/types/resources/OrganizationAffiliation.js +0 -2
- package/lib/esm/types/resources/PackagedProductDefinition.d.ts +0 -39
- package/lib/esm/types/resources/PackagedProductDefinition.js +0 -2
- package/lib/esm/types/resources/Parameters.d.ts +0 -11
- package/lib/esm/types/resources/Parameters.js +0 -2
- package/lib/esm/types/resources/Patient.d.ts +0 -47
- package/lib/esm/types/resources/Patient.js +0 -2
- package/lib/esm/types/resources/PaymentNotice.d.ts +0 -34
- package/lib/esm/types/resources/PaymentNotice.js +0 -2
- package/lib/esm/types/resources/PaymentReconciliation.d.ts +0 -40
- package/lib/esm/types/resources/PaymentReconciliation.js +0 -2
- package/lib/esm/types/resources/Person.d.ts +0 -34
- package/lib/esm/types/resources/Person.js +0 -2
- package/lib/esm/types/resources/PlanDefinition.d.ts +0 -62
- package/lib/esm/types/resources/PlanDefinition.js +0 -2
- package/lib/esm/types/resources/Practitioner.d.ts +0 -34
- package/lib/esm/types/resources/Practitioner.js +0 -2
- package/lib/esm/types/resources/PractitionerRole.d.ts +0 -37
- package/lib/esm/types/resources/PractitionerRole.js +0 -2
- package/lib/esm/types/resources/Procedure.d.ts +0 -59
- package/lib/esm/types/resources/Procedure.js +0 -2
- package/lib/esm/types/resources/Provenance.d.ts +0 -35
- package/lib/esm/types/resources/Provenance.js +0 -2
- package/lib/esm/types/resources/Questionnaire.d.ts +0 -49
- package/lib/esm/types/resources/Questionnaire.js +0 -2
- package/lib/esm/types/resources/QuestionnaireResponse.d.ts +0 -32
- package/lib/esm/types/resources/QuestionnaireResponse.js +0 -2
- package/lib/esm/types/resources/RegulatedAuthorization.d.ts +0 -38
- package/lib/esm/types/resources/RegulatedAuthorization.js +0 -2
- package/lib/esm/types/resources/RelatedPerson.d.ts +0 -38
- package/lib/esm/types/resources/RelatedPerson.js +0 -2
- package/lib/esm/types/resources/RequestGroup.d.ts +0 -41
- package/lib/esm/types/resources/RequestGroup.js +0 -2
- package/lib/esm/types/resources/ResearchDefinition.d.ts +0 -62
- package/lib/esm/types/resources/ResearchDefinition.js +0 -2
- package/lib/esm/types/resources/ResearchElementDefinition.d.ts +0 -62
- package/lib/esm/types/resources/ResearchElementDefinition.js +0 -2
- package/lib/esm/types/resources/ResearchStudy.d.ts +0 -50
- package/lib/esm/types/resources/ResearchStudy.js +0 -2
- package/lib/esm/types/resources/ResearchSubject.d.ts +0 -27
- package/lib/esm/types/resources/ResearchSubject.js +0 -2
- package/lib/esm/types/resources/Resource.d.ts +0 -9
- package/lib/esm/types/resources/Resource.js +0 -2
- package/lib/esm/types/resources/RiskAssessment.d.ts +0 -41
- package/lib/esm/types/resources/RiskAssessment.js +0 -2
- package/lib/esm/types/resources/Schedule.d.ts +0 -28
- package/lib/esm/types/resources/Schedule.js +0 -2
- package/lib/esm/types/resources/SearchParameter.d.ts +0 -49
- package/lib/esm/types/resources/SearchParameter.js +0 -2
- package/lib/esm/types/resources/ServiceRequest.d.ts +0 -65
- package/lib/esm/types/resources/ServiceRequest.js +0 -2
- package/lib/esm/types/resources/Slot.d.ts +0 -31
- package/lib/esm/types/resources/Slot.js +0 -2
- package/lib/esm/types/resources/Specimen.d.ts +0 -37
- package/lib/esm/types/resources/Specimen.js +0 -2
- package/lib/esm/types/resources/SpecimenDefinition.d.ts +0 -25
- package/lib/esm/types/resources/SpecimenDefinition.js +0 -2
- package/lib/esm/types/resources/StructureDefinition.d.ts +0 -55
- package/lib/esm/types/resources/StructureDefinition.js +0 -2
- package/lib/esm/types/resources/StructureMap.d.ts +0 -43
- package/lib/esm/types/resources/StructureMap.js +0 -2
- package/lib/esm/types/resources/Subscription.d.ts +0 -26
- package/lib/esm/types/resources/Subscription.js +0 -2
- package/lib/esm/types/resources/SubscriptionStatus.d.ts +0 -27
- package/lib/esm/types/resources/SubscriptionStatus.js +0 -2
- package/lib/esm/types/resources/SubscriptionTopic.d.ts +0 -51
- package/lib/esm/types/resources/SubscriptionTopic.js +0 -2
- package/lib/esm/types/resources/Substance.d.ts +0 -27
- package/lib/esm/types/resources/Substance.js +0 -2
- package/lib/esm/types/resources/SubstanceDefinition.d.ts +0 -48
- package/lib/esm/types/resources/SubstanceDefinition.js +0 -2
- package/lib/esm/types/resources/SupplyDelivery.d.ts +0 -36
- package/lib/esm/types/resources/SupplyDelivery.js +0 -2
- package/lib/esm/types/resources/SupplyRequest.d.ts +0 -42
- package/lib/esm/types/resources/SupplyRequest.js +0 -2
- package/lib/esm/types/resources/Task.d.ts +0 -57
- package/lib/esm/types/resources/Task.js +0 -2
- package/lib/esm/types/resources/TerminologyCapabilities.d.ts +0 -52
- package/lib/esm/types/resources/TerminologyCapabilities.js +0 -2
- package/lib/esm/types/resources/TestReport.d.ts +0 -36
- package/lib/esm/types/resources/TestReport.js +0 -2
- package/lib/esm/types/resources/TestScript.d.ts +0 -55
- package/lib/esm/types/resources/TestScript.js +0 -2
- package/lib/esm/types/resources/ValueSet.d.ts +0 -42
- package/lib/esm/types/resources/ValueSet.js +0 -2
- package/lib/esm/types/resources/VerificationResult.d.ts +0 -38
- package/lib/esm/types/resources/VerificationResult.js +0 -2
- package/lib/esm/types/resources/VisionPrescription.d.ts +0 -28
- package/lib/esm/types/resources/VisionPrescription.js +0 -2
- package/lib/esm/types/simpleTypes/Base64Binary.d.ts +0 -1
- package/lib/esm/types/simpleTypes/Base64Binary.js +0 -1
- package/lib/esm/types/simpleTypes/Canonical.d.ts +0 -1
- package/lib/esm/types/simpleTypes/Canonical.js +0 -1
- package/lib/esm/types/simpleTypes/Code.d.ts +0 -1
- package/lib/esm/types/simpleTypes/Code.js +0 -1
- package/lib/esm/types/simpleTypes/Date.d.ts +0 -1
- package/lib/esm/types/simpleTypes/Date.js +0 -1
- package/lib/esm/types/simpleTypes/DateTime.d.ts +0 -1
- package/lib/esm/types/simpleTypes/DateTime.js +0 -1
- package/lib/esm/types/simpleTypes/Decimal.d.ts +0 -1
- package/lib/esm/types/simpleTypes/Decimal.js +0 -1
- package/lib/esm/types/simpleTypes/Id.d.ts +0 -1
- package/lib/esm/types/simpleTypes/Id.js +0 -1
- package/lib/esm/types/simpleTypes/Instant.d.ts +0 -1
- package/lib/esm/types/simpleTypes/Instant.js +0 -1
- package/lib/esm/types/simpleTypes/Int.d.ts +0 -1
- package/lib/esm/types/simpleTypes/Int.js +0 -1
- package/lib/esm/types/simpleTypes/Markdown.d.ts +0 -1
- package/lib/esm/types/simpleTypes/Markdown.js +0 -1
- package/lib/esm/types/simpleTypes/Oid.d.ts +0 -1
- package/lib/esm/types/simpleTypes/Oid.js +0 -1
- package/lib/esm/types/simpleTypes/ResourceContainer.d.ts +0 -1
- package/lib/esm/types/simpleTypes/ResourceContainer.js +0 -1
- package/lib/esm/types/simpleTypes/Time.d.ts +0 -1
- package/lib/esm/types/simpleTypes/Time.js +0 -1
- package/lib/esm/types/simpleTypes/UnsignedInt.d.ts +0 -1
- package/lib/esm/types/simpleTypes/UnsignedInt.js +0 -1
- package/lib/esm/types/simpleTypes/Uri.d.ts +0 -1
- package/lib/esm/types/simpleTypes/Uri.js +0 -1
- package/lib/esm/types/simpleTypes/Url.d.ts +0 -1
- package/lib/esm/types/simpleTypes/Url.js +0 -1
- package/lib/esm/types/simpleTypes/Uuid.d.ts +0 -1
- package/lib/esm/types/simpleTypes/Uuid.js +0 -1
- package/lib/esm/types/simpleTypes/Xhtml.d.ts +0 -1
- package/lib/esm/types/simpleTypes/Xhtml.js +0 -1
package/dist/index.js
ADDED
|
@@ -0,0 +1,2451 @@
|
|
|
1
|
+
// src/structures/ips_sections.ts
|
|
2
|
+
var IPSSections = /* @__PURE__ */ ((IPSSections2) => {
|
|
3
|
+
IPSSections2["PATIENT"] = "Patient";
|
|
4
|
+
IPSSections2["ALLERGIES"] = "AllergyIntoleranceSection";
|
|
5
|
+
IPSSections2["MEDICATIONS"] = "MedicationSection";
|
|
6
|
+
IPSSections2["PROBLEMS"] = "ProblemSection";
|
|
7
|
+
IPSSections2["IMMUNIZATIONS"] = "ImmunizationSection";
|
|
8
|
+
IPSSections2["VITAL_SIGNS"] = "VitalSignsSection";
|
|
9
|
+
IPSSections2["MEDICAL_DEVICES"] = "MedicalDeviceSection";
|
|
10
|
+
IPSSections2["DIAGNOSTIC_REPORTS"] = "DiagnosticReportSection";
|
|
11
|
+
IPSSections2["PROCEDURES"] = "ProcedureSection";
|
|
12
|
+
IPSSections2["FAMILY_HISTORY"] = "FamilyHistorySection";
|
|
13
|
+
IPSSections2["SOCIAL_HISTORY"] = "SocialHistorySection";
|
|
14
|
+
IPSSections2["PREGNANCY_HISTORY"] = "PregnancyHistorySection";
|
|
15
|
+
IPSSections2["FUNCTIONAL_STATUS"] = "FunctionalStatusSection";
|
|
16
|
+
IPSSections2["MEDICAL_HISTORY"] = "MedicalHistorySection";
|
|
17
|
+
IPSSections2["CARE_PLAN"] = "CarePlanSection";
|
|
18
|
+
IPSSections2["CLINICAL_IMPRESSION"] = "ClinicalImpressionSection";
|
|
19
|
+
IPSSections2["ADVANCE_DIRECTIVES"] = "AdvanceDirectivesSection";
|
|
20
|
+
return IPSSections2;
|
|
21
|
+
})(IPSSections || {});
|
|
22
|
+
|
|
23
|
+
// src/structures/ips_section_loinc_codes.ts
|
|
24
|
+
var IPS_SECTION_LOINC_CODES = {
|
|
25
|
+
["Patient" /* PATIENT */]: "54126-4",
|
|
26
|
+
["AllergyIntoleranceSection" /* ALLERGIES */]: "48765-2",
|
|
27
|
+
["MedicationSection" /* MEDICATIONS */]: "10160-0",
|
|
28
|
+
["ProblemSection" /* PROBLEMS */]: "11450-4",
|
|
29
|
+
["ImmunizationSection" /* IMMUNIZATIONS */]: "11369-6",
|
|
30
|
+
["VitalSignsSection" /* VITAL_SIGNS */]: "8716-3",
|
|
31
|
+
["MedicalDeviceSection" /* MEDICAL_DEVICES */]: "46264-8",
|
|
32
|
+
["DiagnosticReportSection" /* DIAGNOSTIC_REPORTS */]: "30954-2",
|
|
33
|
+
["ProcedureSection" /* PROCEDURES */]: "47519-4",
|
|
34
|
+
["FamilyHistorySection" /* FAMILY_HISTORY */]: "10157-6",
|
|
35
|
+
["SocialHistorySection" /* SOCIAL_HISTORY */]: "29762-2",
|
|
36
|
+
["PregnancyHistorySection" /* PREGNANCY_HISTORY */]: "10162-6",
|
|
37
|
+
["FunctionalStatusSection" /* FUNCTIONAL_STATUS */]: "47420-5",
|
|
38
|
+
["MedicalHistorySection" /* MEDICAL_HISTORY */]: "11348-0",
|
|
39
|
+
["CarePlanSection" /* CARE_PLAN */]: "18776-5",
|
|
40
|
+
["ClinicalImpressionSection" /* CLINICAL_IMPRESSION */]: "51848-0",
|
|
41
|
+
["AdvanceDirectivesSection" /* ADVANCE_DIRECTIVES */]: "42348-3"
|
|
42
|
+
};
|
|
43
|
+
var IPS_SECTION_DISPLAY_NAMES = {
|
|
44
|
+
["Patient" /* PATIENT */]: "Patient summary Document",
|
|
45
|
+
["AllergyIntoleranceSection" /* ALLERGIES */]: "Allergies and adverse reactions Document",
|
|
46
|
+
["MedicationSection" /* MEDICATIONS */]: "History of Medication use Narrative",
|
|
47
|
+
["ProblemSection" /* PROBLEMS */]: "Problem list - Reported",
|
|
48
|
+
["ImmunizationSection" /* IMMUNIZATIONS */]: "History of Immunization Narrative",
|
|
49
|
+
["VitalSignsSection" /* VITAL_SIGNS */]: "Vital signs",
|
|
50
|
+
["MedicalDeviceSection" /* MEDICAL_DEVICES */]: "History of medical device use",
|
|
51
|
+
["DiagnosticReportSection" /* DIAGNOSTIC_REPORTS */]: "Relevant diagnostic tests/laboratory data Narrative",
|
|
52
|
+
["ProcedureSection" /* PROCEDURES */]: "History of Procedures Document",
|
|
53
|
+
["FamilyHistorySection" /* FAMILY_HISTORY */]: "History of family member diseases Narrative",
|
|
54
|
+
["SocialHistorySection" /* SOCIAL_HISTORY */]: "Social history Narrative",
|
|
55
|
+
["PregnancyHistorySection" /* PREGNANCY_HISTORY */]: "History of pregnancies Narrative",
|
|
56
|
+
["FunctionalStatusSection" /* FUNCTIONAL_STATUS */]: "Functional status assessment note",
|
|
57
|
+
["MedicalHistorySection" /* MEDICAL_HISTORY */]: "History of Past illness NarrativeHistory and physical note Document",
|
|
58
|
+
["CarePlanSection" /* CARE_PLAN */]: "Plan of care note",
|
|
59
|
+
["ClinicalImpressionSection" /* CLINICAL_IMPRESSION */]: "Evaluation note",
|
|
60
|
+
["AdvanceDirectivesSection" /* ADVANCE_DIRECTIVES */]: "Advance directives Document"
|
|
61
|
+
};
|
|
62
|
+
|
|
63
|
+
// src/structures/ips_section_resource_map.ts
|
|
64
|
+
var IPSSectionResourceMap = {
|
|
65
|
+
["Patient" /* PATIENT */]: ["Patient"],
|
|
66
|
+
["AllergyIntoleranceSection" /* ALLERGIES */]: ["AllergyIntolerance"],
|
|
67
|
+
["MedicationSection" /* MEDICATIONS */]: ["MedicationRequest", "MedicationStatement"],
|
|
68
|
+
["ProblemSection" /* PROBLEMS */]: ["Condition"],
|
|
69
|
+
["ImmunizationSection" /* IMMUNIZATIONS */]: ["Immunization"],
|
|
70
|
+
["VitalSignsSection" /* VITAL_SIGNS */]: ["Observation"],
|
|
71
|
+
["MedicalDeviceSection" /* MEDICAL_DEVICES */]: ["Device"],
|
|
72
|
+
["DiagnosticReportSection" /* DIAGNOSTIC_REPORTS */]: ["DiagnosticReport", "Observation"],
|
|
73
|
+
// Diagnostic reports can include Observations
|
|
74
|
+
["ProcedureSection" /* PROCEDURES */]: ["Procedure"],
|
|
75
|
+
["FamilyHistorySection" /* FAMILY_HISTORY */]: ["FamilyMemberHistory"],
|
|
76
|
+
["SocialHistorySection" /* SOCIAL_HISTORY */]: ["Observation"],
|
|
77
|
+
// Social history is often Observation
|
|
78
|
+
["PregnancyHistorySection" /* PREGNANCY_HISTORY */]: ["Observation"],
|
|
79
|
+
// Pregnancy history is often Observation
|
|
80
|
+
["FunctionalStatusSection" /* FUNCTIONAL_STATUS */]: ["Observation"],
|
|
81
|
+
// Functional status is often Observation
|
|
82
|
+
["MedicalHistorySection" /* MEDICAL_HISTORY */]: ["Condition"],
|
|
83
|
+
// Medical history is often Condition
|
|
84
|
+
["CarePlanSection" /* CARE_PLAN */]: ["CarePlan"],
|
|
85
|
+
["ClinicalImpressionSection" /* CLINICAL_IMPRESSION */]: ["ClinicalImpression"],
|
|
86
|
+
["AdvanceDirectivesSection" /* ADVANCE_DIRECTIVES */]: ["DocumentReference"]
|
|
87
|
+
// Advance directives are often stored as DocumentReference
|
|
88
|
+
};
|
|
89
|
+
var IPSSectionResourceFilters = {
|
|
90
|
+
// Only include active allergies
|
|
91
|
+
["AllergyIntoleranceSection" /* ALLERGIES */]: (resource) => resource.resourceType === "AllergyIntolerance" && resource.clinicalStatus?.coding?.some((c) => c.code === "active"),
|
|
92
|
+
// Only include active medication requests/statements
|
|
93
|
+
["MedicationSection" /* MEDICATIONS */]: (resource) => resource.resourceType === "MedicationRequest" && resource.status === "active" || resource.resourceType === "MedicationStatement" && resource.status === "active",
|
|
94
|
+
// Only include active problems/conditions
|
|
95
|
+
["ProblemSection" /* PROBLEMS */]: (resource) => resource.resourceType === "Condition" && resource.clinicalStatus?.coding?.some((c) => c.code === "active"),
|
|
96
|
+
// Only include completed immunizations
|
|
97
|
+
["ImmunizationSection" /* IMMUNIZATIONS */]: (resource) => resource.resourceType === "Immunization" && resource.status === "completed",
|
|
98
|
+
// Only include vital sign Observations (category.coding contains 'vital-signs')
|
|
99
|
+
["VitalSignsSection" /* VITAL_SIGNS */]: (resource) => resource.resourceType === "Observation" && resource.category?.some((cat) => cat.coding?.some((c) => c.code === "vital-signs")),
|
|
100
|
+
// Only include active devices
|
|
101
|
+
["MedicalDeviceSection" /* MEDICAL_DEVICES */]: (resource) => resource.resourceType === "Device" && resource.status === "active",
|
|
102
|
+
// Only include finalized diagnostic reports
|
|
103
|
+
["DiagnosticReportSection" /* DIAGNOSTIC_REPORTS */]: (resource) => ["DiagnosticReport", "Observation"].includes(resource.resourceType) && resource.status === "final",
|
|
104
|
+
// Only include completed procedures
|
|
105
|
+
["ProcedureSection" /* PROCEDURES */]: (resource) => resource.resourceType === "Procedure" && resource.status === "completed",
|
|
106
|
+
// Only include family history resources
|
|
107
|
+
["FamilyHistorySection" /* FAMILY_HISTORY */]: (resource) => resource.resourceType === "FamilyMemberHistory",
|
|
108
|
+
// Only include social history Observations (category.coding contains 'social-history')
|
|
109
|
+
["SocialHistorySection" /* SOCIAL_HISTORY */]: (resource) => resource.resourceType === "Observation" && resource.category?.some((cat) => cat.coding?.some((c) => c.code === "social-history")),
|
|
110
|
+
// Only include pregnancy history Observations (category.coding contains 'pregnancy')
|
|
111
|
+
["PregnancyHistorySection" /* PREGNANCY_HISTORY */]: (resource) => resource.resourceType === "Observation" && resource.category?.some((cat) => cat.coding?.some((c) => c.code === "pregnancy")),
|
|
112
|
+
// Only include functional status Observations (category.coding contains 'functional-status')
|
|
113
|
+
["FunctionalStatusSection" /* FUNCTIONAL_STATUS */]: (resource) => resource.resourceType === "Observation" && resource.category?.some((cat) => cat.coding?.some((c) => c.code === "functional-status")),
|
|
114
|
+
// Only include active medical history Conditions
|
|
115
|
+
["MedicalHistorySection" /* MEDICAL_HISTORY */]: (resource) => resource.resourceType === "Condition" && resource.clinicalStatus?.coding?.some((c) => c.code === "active"),
|
|
116
|
+
// Only include active care plans
|
|
117
|
+
["CarePlanSection" /* CARE_PLAN */]: (resource) => resource.resourceType === "CarePlan" && resource.status === "active",
|
|
118
|
+
// Only include ClinicalImpression resources
|
|
119
|
+
["ClinicalImpressionSection" /* CLINICAL_IMPRESSION */]: (resource) => resource.resourceType === "ClinicalImpression",
|
|
120
|
+
// Patient section: only Patient resource
|
|
121
|
+
["Patient" /* PATIENT */]: (resource) => resource.resourceType === "Patient"
|
|
122
|
+
};
|
|
123
|
+
var IPSSectionResourceHelper = class {
|
|
124
|
+
static getResourceTypesForSection(section) {
|
|
125
|
+
return IPSSectionResourceMap[section] || [];
|
|
126
|
+
}
|
|
127
|
+
static getResourceFilterForSection(section) {
|
|
128
|
+
return IPSSectionResourceFilters[section];
|
|
129
|
+
}
|
|
130
|
+
};
|
|
131
|
+
|
|
132
|
+
// src/narratives/templates/typescript/TemplateUtilities.ts
|
|
133
|
+
import { DateTime } from "luxon";
|
|
134
|
+
var TemplateUtilities = class {
|
|
135
|
+
/**
|
|
136
|
+
* Constructor to initialize the TemplateUtilities with a FHIR Bundle
|
|
137
|
+
* @param bundle - FHIR Bundle containing resources
|
|
138
|
+
*/
|
|
139
|
+
constructor(bundle) {
|
|
140
|
+
this.bundle = bundle;
|
|
141
|
+
}
|
|
142
|
+
/**
|
|
143
|
+
* Formats a CodeableConcept object
|
|
144
|
+
* @param cc - The CodeableConcept object
|
|
145
|
+
* @param field - Optional specific field to return
|
|
146
|
+
* @returns Formatted string representation
|
|
147
|
+
*/
|
|
148
|
+
codeableConcept(cc, field) {
|
|
149
|
+
if (!cc) {
|
|
150
|
+
return "";
|
|
151
|
+
}
|
|
152
|
+
if (field) {
|
|
153
|
+
if (cc[field]) {
|
|
154
|
+
return cc[field];
|
|
155
|
+
} else if (cc.coding && cc.coding[0] && cc.coding[0][field]) {
|
|
156
|
+
return cc.coding[0][field];
|
|
157
|
+
}
|
|
158
|
+
}
|
|
159
|
+
if (cc.text) {
|
|
160
|
+
return cc.text;
|
|
161
|
+
} else if ("display" in cc && cc.display) {
|
|
162
|
+
return cc.display;
|
|
163
|
+
} else if (cc.coding && cc.coding[0]) {
|
|
164
|
+
if (cc.coding[0].display) {
|
|
165
|
+
return cc.coding[0].display;
|
|
166
|
+
} else if (cc.coding[0].code) {
|
|
167
|
+
return cc.coding[0].code;
|
|
168
|
+
}
|
|
169
|
+
}
|
|
170
|
+
return "";
|
|
171
|
+
}
|
|
172
|
+
resolveReference(ref) {
|
|
173
|
+
if (!ref || !this.bundle || !this.bundle.entry) {
|
|
174
|
+
return null;
|
|
175
|
+
}
|
|
176
|
+
const referenceParts = ref.reference?.split("/");
|
|
177
|
+
if (!referenceParts || referenceParts.length !== 2) {
|
|
178
|
+
return null;
|
|
179
|
+
}
|
|
180
|
+
const referenceResourceType = referenceParts[0];
|
|
181
|
+
const referenceResourceId = referenceParts[1];
|
|
182
|
+
const resource = this.bundle.entry.find((entry) => {
|
|
183
|
+
return entry.resource && entry.resource.resourceType === referenceResourceType && entry.resource.id === referenceResourceId;
|
|
184
|
+
});
|
|
185
|
+
return resource ? resource.resource : null;
|
|
186
|
+
}
|
|
187
|
+
/**
|
|
188
|
+
* Renders a Device reference
|
|
189
|
+
* @param deviceRef - Reference to a Device resource
|
|
190
|
+
* @returns Formatted device description
|
|
191
|
+
*/
|
|
192
|
+
renderDevice(deviceRef) {
|
|
193
|
+
const device = deviceRef && this.resolveReference(deviceRef);
|
|
194
|
+
if (device && device.resourceType === "Device" && device.type) {
|
|
195
|
+
return this.codeableConcept(device.type, "display");
|
|
196
|
+
}
|
|
197
|
+
return "";
|
|
198
|
+
}
|
|
199
|
+
/**
|
|
200
|
+
* Renders an Organization reference
|
|
201
|
+
* @param orgRef - Reference to an Organization resource
|
|
202
|
+
* @returns Organization name
|
|
203
|
+
*/
|
|
204
|
+
renderOrganization(orgRef) {
|
|
205
|
+
const organization = orgRef && this.resolveReference(orgRef);
|
|
206
|
+
if (organization && organization.resourceType === "Organization" && organization.name) {
|
|
207
|
+
return organization.name;
|
|
208
|
+
}
|
|
209
|
+
return "";
|
|
210
|
+
}
|
|
211
|
+
/**
|
|
212
|
+
* Renders a vaccine manufacturer
|
|
213
|
+
* @param immunization - Immunization resource
|
|
214
|
+
* @returns Manufacturer name
|
|
215
|
+
*/
|
|
216
|
+
renderVaccineManufacturer(immunization) {
|
|
217
|
+
const organization = immunization.manufacturer && this.resolveReference(immunization.manufacturer);
|
|
218
|
+
if (organization && organization.resourceType === "Organization" && organization.name) {
|
|
219
|
+
return organization.name;
|
|
220
|
+
}
|
|
221
|
+
return "";
|
|
222
|
+
}
|
|
223
|
+
/**
|
|
224
|
+
* Renders a medication
|
|
225
|
+
* @param medicationType - Resource containing medication information
|
|
226
|
+
* @returns Formatted medication description
|
|
227
|
+
*/
|
|
228
|
+
renderMedicationStatement(medicationType) {
|
|
229
|
+
if (typeof medicationType !== "object" || medicationType === null) {
|
|
230
|
+
return "";
|
|
231
|
+
}
|
|
232
|
+
if (medicationType.medicationCodeableConcept) {
|
|
233
|
+
return this.codeableConcept(medicationType.medicationCodeableConcept);
|
|
234
|
+
} else if (medicationType.medicationReference) {
|
|
235
|
+
return this.renderMedicationRef(medicationType.medicationReference);
|
|
236
|
+
}
|
|
237
|
+
return "";
|
|
238
|
+
}
|
|
239
|
+
/**
|
|
240
|
+
* Renders a medication reference
|
|
241
|
+
* @param medicationRef - Reference to a Medication resource
|
|
242
|
+
* @returns Formatted medication description
|
|
243
|
+
*/
|
|
244
|
+
renderMedicationRef(medicationRef) {
|
|
245
|
+
const medication = medicationRef && this.resolveReference(medicationRef);
|
|
246
|
+
if (medication) {
|
|
247
|
+
return this.renderMedicationCode(medication);
|
|
248
|
+
}
|
|
249
|
+
return "";
|
|
250
|
+
}
|
|
251
|
+
/**
|
|
252
|
+
* Renders a medication code
|
|
253
|
+
* @param medication - Medication resource
|
|
254
|
+
* @returns Formatted medication code
|
|
255
|
+
*/
|
|
256
|
+
renderMedicationCode(medication) {
|
|
257
|
+
if (medication && medication.code) {
|
|
258
|
+
return this.codeableConcept(medication.code, "display");
|
|
259
|
+
}
|
|
260
|
+
return "";
|
|
261
|
+
}
|
|
262
|
+
/**
|
|
263
|
+
* Renders a dose number
|
|
264
|
+
* @param doseNumber - Dose number object
|
|
265
|
+
* @returns Formatted dose number
|
|
266
|
+
*/
|
|
267
|
+
renderDoseNumber(doseNumber) {
|
|
268
|
+
if (doseNumber && doseNumber.value !== void 0) {
|
|
269
|
+
return doseNumber.value.toString();
|
|
270
|
+
}
|
|
271
|
+
return "";
|
|
272
|
+
}
|
|
273
|
+
/**
|
|
274
|
+
* Renders the unit of a value
|
|
275
|
+
* @param value - Value object
|
|
276
|
+
* @returns Unit string
|
|
277
|
+
*/
|
|
278
|
+
renderValueUnit(value) {
|
|
279
|
+
if (value && value.constructor?.name === "Quantity" && value.unit) {
|
|
280
|
+
return value.unit;
|
|
281
|
+
}
|
|
282
|
+
return "";
|
|
283
|
+
}
|
|
284
|
+
/**
|
|
285
|
+
* Renders an effective date
|
|
286
|
+
* @param effective - Date value
|
|
287
|
+
* @param timezone - Optional timezone to use for date formatting (e.g., 'America/New_York', 'Europe/London')
|
|
288
|
+
* @returns Formatted date string
|
|
289
|
+
*/
|
|
290
|
+
renderEffective(effective, timezone) {
|
|
291
|
+
return this.formatDateTime(effective, timezone);
|
|
292
|
+
}
|
|
293
|
+
/**
|
|
294
|
+
* Renders a time value
|
|
295
|
+
* @param time - Time value
|
|
296
|
+
* @param timezone - Optional timezone to use for date formatting (e.g., 'America/New_York', 'Europe/London')
|
|
297
|
+
* @returns Formatted time string
|
|
298
|
+
*/
|
|
299
|
+
renderTime(time, timezone) {
|
|
300
|
+
return this.formatDateTime(time, timezone);
|
|
301
|
+
}
|
|
302
|
+
/**
|
|
303
|
+
* Renders a date value
|
|
304
|
+
* @param date - Date value
|
|
305
|
+
* @returns Formatted date string (date only, no time component)
|
|
306
|
+
*/
|
|
307
|
+
renderDate(date) {
|
|
308
|
+
return this.formatDateTime(date, void 0, true);
|
|
309
|
+
}
|
|
310
|
+
/**
|
|
311
|
+
* Renders a recorded date
|
|
312
|
+
* @param recorded - Date value
|
|
313
|
+
* @param timezone - Optional timezone to use for date formatting (e.g., 'America/New_York', 'Europe/London')
|
|
314
|
+
* @returns Formatted date string
|
|
315
|
+
*/
|
|
316
|
+
renderRecorded(recorded, timezone) {
|
|
317
|
+
return this.formatDateTime(recorded, timezone);
|
|
318
|
+
}
|
|
319
|
+
/**
|
|
320
|
+
* Concatenates a list of items, optionally extracting a specific attribute
|
|
321
|
+
* @param list - Array of items
|
|
322
|
+
* @param attr - Optional attribute to extract from each item
|
|
323
|
+
* @returns Comma-separated string of items
|
|
324
|
+
*/
|
|
325
|
+
concat(list, attr) {
|
|
326
|
+
if (!list || !Array.isArray(list)) {
|
|
327
|
+
return "";
|
|
328
|
+
}
|
|
329
|
+
const items = [];
|
|
330
|
+
for (const item of list) {
|
|
331
|
+
if (attr && item && typeof item === "object" && attr in item) {
|
|
332
|
+
items.push(item[attr]);
|
|
333
|
+
} else if (!attr && item !== void 0) {
|
|
334
|
+
items.push(item);
|
|
335
|
+
}
|
|
336
|
+
}
|
|
337
|
+
return items.filter((item) => typeof item === "string" || typeof item === "number").join(", ");
|
|
338
|
+
}
|
|
339
|
+
/**
|
|
340
|
+
* Safely concatenates a list of items, handling undefined/null lists
|
|
341
|
+
* @param list - Array of items (or undefined/null)
|
|
342
|
+
* @param attr - Optional attribute to extract from each item
|
|
343
|
+
* @returns Comma-separated string of items
|
|
344
|
+
*/
|
|
345
|
+
safeConcat(list, attr) {
|
|
346
|
+
return this.concat(list || [], attr);
|
|
347
|
+
}
|
|
348
|
+
/**
|
|
349
|
+
* Concatenates text from a list of CodeableConcept objects
|
|
350
|
+
* @param list - Array of CodeableConcept objects
|
|
351
|
+
* @returns Comma-separated string of text values
|
|
352
|
+
*/
|
|
353
|
+
concatCodeableConcept(list) {
|
|
354
|
+
if (!list || !Array.isArray(list)) {
|
|
355
|
+
return "";
|
|
356
|
+
}
|
|
357
|
+
const items = [];
|
|
358
|
+
for (const item of list) {
|
|
359
|
+
if (item && item.text) {
|
|
360
|
+
items.push(item.text);
|
|
361
|
+
}
|
|
362
|
+
}
|
|
363
|
+
return items.join(", ");
|
|
364
|
+
}
|
|
365
|
+
/**
|
|
366
|
+
* Concatenates reaction manifestations
|
|
367
|
+
* @param list - Array of reaction objects
|
|
368
|
+
* @returns Comma-separated string of manifestation texts
|
|
369
|
+
*/
|
|
370
|
+
concatReactionManifestation(list) {
|
|
371
|
+
if (!list || !Array.isArray(list)) {
|
|
372
|
+
return "";
|
|
373
|
+
}
|
|
374
|
+
const texts = [];
|
|
375
|
+
for (const item of list) {
|
|
376
|
+
if (item && item.manifestation && item.manifestation[0] && item.manifestation[0].text) {
|
|
377
|
+
texts.push(item.manifestation[0].text);
|
|
378
|
+
}
|
|
379
|
+
}
|
|
380
|
+
return texts.join(", ");
|
|
381
|
+
}
|
|
382
|
+
/**
|
|
383
|
+
* Concatenates dose numbers
|
|
384
|
+
* @param list - Array of dose objects
|
|
385
|
+
* @returns Comma-separated string of dose numbers
|
|
386
|
+
*/
|
|
387
|
+
concatDoseNumber(list) {
|
|
388
|
+
if (!list || !Array.isArray(list)) {
|
|
389
|
+
return "";
|
|
390
|
+
}
|
|
391
|
+
const doseNumbers = [];
|
|
392
|
+
for (const item of list) {
|
|
393
|
+
if (item && item.doseNumberPositiveInt) {
|
|
394
|
+
doseNumbers.push(item.doseNumberPositiveInt.toString());
|
|
395
|
+
}
|
|
396
|
+
}
|
|
397
|
+
return doseNumbers.join(", ");
|
|
398
|
+
}
|
|
399
|
+
/**
|
|
400
|
+
* Concatenates dosage routes
|
|
401
|
+
* @param list - Array of dosage objects
|
|
402
|
+
* @returns Comma-separated string of route texts
|
|
403
|
+
*/
|
|
404
|
+
concatDosageRoute(list) {
|
|
405
|
+
if (!list || !Array.isArray(list)) {
|
|
406
|
+
return "";
|
|
407
|
+
}
|
|
408
|
+
const routes = [];
|
|
409
|
+
for (const item of list) {
|
|
410
|
+
if (item && item.route && item.route.text) {
|
|
411
|
+
routes.push(item.route.text);
|
|
412
|
+
}
|
|
413
|
+
}
|
|
414
|
+
return routes.join(", ");
|
|
415
|
+
}
|
|
416
|
+
/**
|
|
417
|
+
* Returns the first item from a list of CodeableConcept objects
|
|
418
|
+
* @param list - Array of CodeableConcept objects
|
|
419
|
+
* @returns Display text from the first item
|
|
420
|
+
*/
|
|
421
|
+
firstFromCodeableConceptList(list) {
|
|
422
|
+
if (list && Array.isArray(list) && list[0]) {
|
|
423
|
+
return this.codeableConcept(list[0], "display");
|
|
424
|
+
}
|
|
425
|
+
return "";
|
|
426
|
+
}
|
|
427
|
+
/**
|
|
428
|
+
* Concatenates reference range texts
|
|
429
|
+
* @param list - Array of reference range objects
|
|
430
|
+
* @returns Comma-separated string of texts
|
|
431
|
+
*/
|
|
432
|
+
concatReferenceRange(list) {
|
|
433
|
+
if (!list || !Array.isArray(list)) {
|
|
434
|
+
return "";
|
|
435
|
+
}
|
|
436
|
+
const texts = [];
|
|
437
|
+
for (const item of list) {
|
|
438
|
+
if (item && item.text) {
|
|
439
|
+
texts.push(item.text);
|
|
440
|
+
}
|
|
441
|
+
}
|
|
442
|
+
return texts.join(", ");
|
|
443
|
+
}
|
|
444
|
+
/**
|
|
445
|
+
* Renders component codes
|
|
446
|
+
* @param list - Array of component objects
|
|
447
|
+
* @returns Comma-separated string of code texts
|
|
448
|
+
*/
|
|
449
|
+
renderComponent(list) {
|
|
450
|
+
if (!list || !Array.isArray(list)) {
|
|
451
|
+
return "";
|
|
452
|
+
}
|
|
453
|
+
const texts = [];
|
|
454
|
+
for (const item of list) {
|
|
455
|
+
if (item && item.code && item.code.text) {
|
|
456
|
+
texts.push(item.code.text);
|
|
457
|
+
}
|
|
458
|
+
}
|
|
459
|
+
return texts.join(", ");
|
|
460
|
+
}
|
|
461
|
+
narrativeLinkExtension(source) {
|
|
462
|
+
if (!source) {
|
|
463
|
+
return void 0;
|
|
464
|
+
}
|
|
465
|
+
if (source.extension && Array.isArray(source.extension)) {
|
|
466
|
+
const extension = source.extension.find(
|
|
467
|
+
(ext) => ext.url === "http://hl7.org/fhir/StructureDefinition/narrativeLink"
|
|
468
|
+
);
|
|
469
|
+
if (extension) {
|
|
470
|
+
return extension;
|
|
471
|
+
}
|
|
472
|
+
return void 0;
|
|
473
|
+
}
|
|
474
|
+
return source;
|
|
475
|
+
}
|
|
476
|
+
/**
|
|
477
|
+
* Extracts narrative link ID from extension or resource
|
|
478
|
+
* @param source - Extension object or resource with extensions array
|
|
479
|
+
* @returns Extracted ID or empty string
|
|
480
|
+
*/
|
|
481
|
+
narrativeLinkId(source) {
|
|
482
|
+
const extension = this.narrativeLinkExtension(source);
|
|
483
|
+
if (!extension) {
|
|
484
|
+
return "";
|
|
485
|
+
}
|
|
486
|
+
return this.extractIdFromExtension(extension);
|
|
487
|
+
}
|
|
488
|
+
/**
|
|
489
|
+
* Helper method to extract ID from an extension object
|
|
490
|
+
* @param extension - Extension object
|
|
491
|
+
* @returns Extracted ID or empty string
|
|
492
|
+
*/
|
|
493
|
+
extractIdFromExtension(extension) {
|
|
494
|
+
if (typeof extension === "object" && extension.value && extension.value.value && typeof extension.value.value === "string" && extension.value.value.includes("#")) {
|
|
495
|
+
return extension.value.value.split("#")[1];
|
|
496
|
+
}
|
|
497
|
+
return "";
|
|
498
|
+
}
|
|
499
|
+
extractObservationValue(observation) {
|
|
500
|
+
const valueFields = [
|
|
501
|
+
"valueString",
|
|
502
|
+
"valueInteger",
|
|
503
|
+
"valueBoolean",
|
|
504
|
+
"valueQuantity",
|
|
505
|
+
"valueCodeableConcept",
|
|
506
|
+
"valueDateTime",
|
|
507
|
+
"valueTime",
|
|
508
|
+
"valuePeriod"
|
|
509
|
+
];
|
|
510
|
+
for (const field of valueFields) {
|
|
511
|
+
const observationElement = observation[`${field}`];
|
|
512
|
+
if (observationElement !== void 0) {
|
|
513
|
+
switch (field) {
|
|
514
|
+
case "valueQuantity":
|
|
515
|
+
return this.formatQuantityValue(observationElement);
|
|
516
|
+
case "valueCodeableConcept":
|
|
517
|
+
return this.formatCodeableConceptValue(observationElement);
|
|
518
|
+
default:
|
|
519
|
+
return observationElement;
|
|
520
|
+
}
|
|
521
|
+
}
|
|
522
|
+
}
|
|
523
|
+
if (observation?.component && observation.component.length > 0) {
|
|
524
|
+
for (const component of observation.component) {
|
|
525
|
+
const componentValue = this.extractObservationValue(component);
|
|
526
|
+
if (componentValue !== null) {
|
|
527
|
+
return componentValue;
|
|
528
|
+
}
|
|
529
|
+
}
|
|
530
|
+
}
|
|
531
|
+
if (observation.dataAbsentReason) {
|
|
532
|
+
return this.formatCodeableConceptValue(observation.dataAbsentReason);
|
|
533
|
+
}
|
|
534
|
+
return null;
|
|
535
|
+
}
|
|
536
|
+
formatQuantityValue(quantity) {
|
|
537
|
+
if (!quantity) return "";
|
|
538
|
+
const parts = [];
|
|
539
|
+
if (quantity.comparator) parts.push(quantity.comparator);
|
|
540
|
+
if (quantity.value !== void 0) parts.push(quantity.value.toString());
|
|
541
|
+
if (quantity.unit) parts.push(quantity.unit);
|
|
542
|
+
return parts.join(" ").trim();
|
|
543
|
+
}
|
|
544
|
+
formatCodeableConceptValue(concept) {
|
|
545
|
+
if (!concept) return "";
|
|
546
|
+
if (concept.text) return concept.text;
|
|
547
|
+
if (concept.coding && concept.coding.length > 0) {
|
|
548
|
+
return concept.coding[0].display || concept.coding[0].code || "";
|
|
549
|
+
}
|
|
550
|
+
return "";
|
|
551
|
+
}
|
|
552
|
+
extractObservationValueUnit(observation) {
|
|
553
|
+
if (observation.valueQuantity && observation.valueQuantity.unit) {
|
|
554
|
+
return observation.valueQuantity.unit;
|
|
555
|
+
}
|
|
556
|
+
if (observation.component && observation.component.length > 0) {
|
|
557
|
+
for (const component of observation.component) {
|
|
558
|
+
const unit = this.extractObservationValueUnit(component);
|
|
559
|
+
if (unit) {
|
|
560
|
+
return unit;
|
|
561
|
+
}
|
|
562
|
+
}
|
|
563
|
+
}
|
|
564
|
+
return "";
|
|
565
|
+
}
|
|
566
|
+
/**
|
|
567
|
+
* Gets the medication name from various types of medication references or resources
|
|
568
|
+
* @param medicationSource - Can be a Reference to Medication, a CodeableConcept, or a Medication resource
|
|
569
|
+
* @returns The medication name as a string
|
|
570
|
+
*/
|
|
571
|
+
getMedicationName(medicationSource) {
|
|
572
|
+
if (!medicationSource) {
|
|
573
|
+
return "";
|
|
574
|
+
}
|
|
575
|
+
if (typeof medicationSource === "object" && "resourceType" in medicationSource && medicationSource.resourceType === "Medication") {
|
|
576
|
+
return this.renderMedicationCode(medicationSource);
|
|
577
|
+
}
|
|
578
|
+
if (typeof medicationSource === "object" && ("coding" in medicationSource || "text" in medicationSource)) {
|
|
579
|
+
return this.codeableConcept(medicationSource);
|
|
580
|
+
}
|
|
581
|
+
if (typeof medicationSource === "object" && "reference" in medicationSource) {
|
|
582
|
+
const medication = this.resolveReference(medicationSource);
|
|
583
|
+
if (medication && medication.code) {
|
|
584
|
+
return this.codeableConcept(medication.code);
|
|
585
|
+
}
|
|
586
|
+
}
|
|
587
|
+
return "";
|
|
588
|
+
}
|
|
589
|
+
/**
|
|
590
|
+
* Renders text as HTML, escaping special characters and replacing newlines with <br />
|
|
591
|
+
* @param text - The text to render
|
|
592
|
+
* @private
|
|
593
|
+
*/
|
|
594
|
+
renderTextAsHtml(text) {
|
|
595
|
+
if (!text || text.trim() === "") {
|
|
596
|
+
return "";
|
|
597
|
+
}
|
|
598
|
+
const escapedText = text.replace(/</g, "<").replace(/>/g, ">");
|
|
599
|
+
return escapedText.replace(/\n/g, "<br />");
|
|
600
|
+
}
|
|
601
|
+
/**
|
|
602
|
+
* Renders note elements from a FHIR resource in a standardized format
|
|
603
|
+
* Can render as simple comma-separated text or as styled HTML with timestamps
|
|
604
|
+
*
|
|
605
|
+
* @param notes - Array of note objects (or undefined/null)
|
|
606
|
+
* @param timezone - Optional timezone to use for date formatting
|
|
607
|
+
* @param options - Rendering options
|
|
608
|
+
* @returns Formatted string representation of notes
|
|
609
|
+
*/
|
|
610
|
+
renderNotes(notes, timezone, options = {}) {
|
|
611
|
+
if (!notes || !Array.isArray(notes) || notes.length === 0) {
|
|
612
|
+
return "";
|
|
613
|
+
}
|
|
614
|
+
if (!options.styled) {
|
|
615
|
+
return notes.map((n) => this.renderTextAsHtml(n.text)).join("<br />");
|
|
616
|
+
}
|
|
617
|
+
let noteHtml = "<ul>";
|
|
618
|
+
for (const note of notes) {
|
|
619
|
+
if (note.text) {
|
|
620
|
+
const noteType = note.authorString || "Overview";
|
|
621
|
+
noteHtml += `<li class="Note"><span class="NoteTitle">${noteType} (${this.renderTime(note.time, timezone)}):</span><br />`;
|
|
622
|
+
if (options.warning) {
|
|
623
|
+
noteHtml += `<span class="WarningMsg"><em>Formatting of this note might be different from the original.</em></span><br />`;
|
|
624
|
+
}
|
|
625
|
+
noteHtml += `<span class="NoteText">${this.renderTextAsHtml(note.text)}<br /></span></li>`;
|
|
626
|
+
}
|
|
627
|
+
}
|
|
628
|
+
noteHtml += "</ul>";
|
|
629
|
+
return noteHtml;
|
|
630
|
+
}
|
|
631
|
+
/**
|
|
632
|
+
* Helper method to format dates with Luxon
|
|
633
|
+
* @param dateValue - The date value to format
|
|
634
|
+
* @param timezone - Optional timezone
|
|
635
|
+
* @param dateOnly - Whether to format as date only (without time)
|
|
636
|
+
* @returns Formatted date string
|
|
637
|
+
* @private
|
|
638
|
+
*/
|
|
639
|
+
formatDateTime(dateValue, timezone, dateOnly = false) {
|
|
640
|
+
if (!dateValue) return "";
|
|
641
|
+
try {
|
|
642
|
+
let dateTime;
|
|
643
|
+
if (dateValue instanceof Date) {
|
|
644
|
+
dateTime = DateTime.fromJSDate(dateValue);
|
|
645
|
+
} else if (typeof dateValue === "string") {
|
|
646
|
+
dateTime = DateTime.fromISO(dateValue);
|
|
647
|
+
if (!dateValue.includes("T")) {
|
|
648
|
+
dateOnly = true;
|
|
649
|
+
}
|
|
650
|
+
} else {
|
|
651
|
+
dateTime = DateTime.fromISO(String(dateValue));
|
|
652
|
+
}
|
|
653
|
+
if (!dateTime.isValid) {
|
|
654
|
+
return String(dateValue);
|
|
655
|
+
}
|
|
656
|
+
if (timezone && !dateOnly) {
|
|
657
|
+
dateTime = dateTime.toUTC().setZone(timezone);
|
|
658
|
+
}
|
|
659
|
+
const formatOptions = dateOnly ? { year: "numeric", month: "2-digit", day: "2-digit" } : {
|
|
660
|
+
year: "numeric",
|
|
661
|
+
month: "numeric",
|
|
662
|
+
day: "numeric",
|
|
663
|
+
hour: "numeric",
|
|
664
|
+
minute: "numeric",
|
|
665
|
+
hour12: true,
|
|
666
|
+
timeZoneName: "short"
|
|
667
|
+
};
|
|
668
|
+
return dateTime.toLocaleString(formatOptions);
|
|
669
|
+
} catch {
|
|
670
|
+
return String(dateValue);
|
|
671
|
+
}
|
|
672
|
+
}
|
|
673
|
+
/**
|
|
674
|
+
* Renders the onset age in a human-readable format
|
|
675
|
+
* @param onsetAge - The onset age value, which can be a string, number, or an object with value and unit
|
|
676
|
+
* @param timezone - Optional timezone to use for date formatting (e.g., 'America/New_York', 'Europe/London')
|
|
677
|
+
*/
|
|
678
|
+
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
|
679
|
+
renderOnset(onsetAge, timezone) {
|
|
680
|
+
if (!onsetAge) {
|
|
681
|
+
return "";
|
|
682
|
+
}
|
|
683
|
+
if (typeof onsetAge === "object" && "value" in onsetAge && "unit" in onsetAge) {
|
|
684
|
+
return `${onsetAge.value} ${onsetAge.unit}`;
|
|
685
|
+
}
|
|
686
|
+
return "";
|
|
687
|
+
}
|
|
688
|
+
/**
|
|
689
|
+
* Renders a period of time in a human-readable format
|
|
690
|
+
* @param effectivePeriod - The effective period object containing start and end dates
|
|
691
|
+
* @param timezone - Optional timezone to use for date formatting (e.g., 'America/New_York', 'Europe/London')
|
|
692
|
+
*/
|
|
693
|
+
renderPeriod(effectivePeriod, timezone) {
|
|
694
|
+
if (!effectivePeriod || !effectivePeriod.start || !effectivePeriod.end) {
|
|
695
|
+
return "";
|
|
696
|
+
}
|
|
697
|
+
const start = this.renderTime(effectivePeriod.start, timezone);
|
|
698
|
+
const end = this.renderTime(effectivePeriod.end, timezone);
|
|
699
|
+
return `${start} - ${end}`;
|
|
700
|
+
}
|
|
701
|
+
/**
|
|
702
|
+
* Renders a reference to a FHIR resource
|
|
703
|
+
* @param itemReference - The reference object containing the resource type and ID
|
|
704
|
+
*/
|
|
705
|
+
renderReference(itemReference) {
|
|
706
|
+
if (itemReference && itemReference.reference) {
|
|
707
|
+
const parts = itemReference.reference.split("/");
|
|
708
|
+
if (parts.length === 2) {
|
|
709
|
+
const resourceType = parts[0];
|
|
710
|
+
const resourceId = parts[1];
|
|
711
|
+
const resource = this.bundle.entry?.find((entry) => entry.resource?.resourceType === resourceType && entry.resource?.id === resourceId);
|
|
712
|
+
if (resource) {
|
|
713
|
+
return `${resourceType}/${resourceId}`;
|
|
714
|
+
}
|
|
715
|
+
}
|
|
716
|
+
}
|
|
717
|
+
}
|
|
718
|
+
/**
|
|
719
|
+
* Formats a range of values in a human-readable format
|
|
720
|
+
* @param valueRange - The range object containing low and high values
|
|
721
|
+
*/
|
|
722
|
+
formatRange(valueRange) {
|
|
723
|
+
if (!valueRange || !valueRange.low || !valueRange.high) {
|
|
724
|
+
return "";
|
|
725
|
+
}
|
|
726
|
+
const low = valueRange.low.value !== void 0 ? valueRange.low.value.toString() : "";
|
|
727
|
+
const high = valueRange.high.value !== void 0 ? valueRange.high.value.toString() : "";
|
|
728
|
+
const lowUnit = valueRange.low.unit ? ` ${valueRange.low.unit}` : "";
|
|
729
|
+
const highUnit = valueRange.high.unit ? ` ${valueRange.high.unit}` : "";
|
|
730
|
+
return `${low}${lowUnit} - ${high}${highUnit}`;
|
|
731
|
+
}
|
|
732
|
+
/**
|
|
733
|
+
* Formats a ratio value in a human-readable format
|
|
734
|
+
* @param valueRatio - The ratio object containing numerator and denominator values
|
|
735
|
+
*/
|
|
736
|
+
formatRatio(valueRatio) {
|
|
737
|
+
if (!valueRatio || !valueRatio.numerator || !valueRatio.denominator) {
|
|
738
|
+
return "";
|
|
739
|
+
}
|
|
740
|
+
const numerator = valueRatio.numerator.value !== void 0 ? valueRatio.numerator.value.toString() : "";
|
|
741
|
+
const denominator = valueRatio.denominator.value !== void 0 ? valueRatio.denominator.value.toString() : "";
|
|
742
|
+
const numeratorUnit = valueRatio.numerator.unit ? ` ${valueRatio.numerator.unit}` : "";
|
|
743
|
+
const denominatorUnit = valueRatio.denominator.unit ? ` ${valueRatio.denominator.unit}` : "";
|
|
744
|
+
return `${numerator}${numeratorUnit} / ${denominator}${denominatorUnit}`;
|
|
745
|
+
}
|
|
746
|
+
};
|
|
747
|
+
|
|
748
|
+
// src/narratives/templates/typescript/PatientTemplate.ts
|
|
749
|
+
var PatientTemplate = class _PatientTemplate {
|
|
750
|
+
/**
|
|
751
|
+
* Generate HTML narrative for Patient resource
|
|
752
|
+
* @param resource - FHIR Bundle containing Patient resource
|
|
753
|
+
* @param timezone - Optional timezone to use for date formatting (e.g., 'America/New_York', 'Europe/London')
|
|
754
|
+
* @returns HTML string for rendering
|
|
755
|
+
*/
|
|
756
|
+
generateNarrative(resource, timezone) {
|
|
757
|
+
return _PatientTemplate.generateStaticNarrative(resource, timezone);
|
|
758
|
+
}
|
|
759
|
+
/**
|
|
760
|
+
* Internal static implementation that actually generates the narrative
|
|
761
|
+
* @param resource - FHIR Bundle containing Patient resource
|
|
762
|
+
* @param timezone - Optional timezone to use for date formatting (e.g., 'America/New_York', 'Europe/London')
|
|
763
|
+
* @returns HTML string for rendering
|
|
764
|
+
*/
|
|
765
|
+
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
|
766
|
+
static generateStaticNarrative(resource, timezone) {
|
|
767
|
+
const templateUtilities = new TemplateUtilities(resource);
|
|
768
|
+
let html = "";
|
|
769
|
+
for (const entry of resource.entry || []) {
|
|
770
|
+
if (entry.resource?.resourceType === "Patient") {
|
|
771
|
+
const patient = entry.resource;
|
|
772
|
+
html += `
|
|
773
|
+
<div>
|
|
774
|
+
<h2>Patient Summary</h2>
|
|
775
|
+
<ul>
|
|
776
|
+
<li><strong>Name(s):</strong>${this.renderNames(patient)}</li>
|
|
777
|
+
<li><strong>Gender:</strong>${patient.gender ? this.capitalize(patient.gender) : ""}</li>
|
|
778
|
+
<li><strong>Date of Birth:</strong>${patient.birthDate || ""}</li>
|
|
779
|
+
<li><strong>Identifier(s):</strong>${this.renderIdentifiers(patient)}</li>
|
|
780
|
+
<li><strong>Telecom:</strong>${this.renderTelecom(patient)}</li>
|
|
781
|
+
<li><strong>Address(es):</strong>${this.renderAddresses(patient)}</li>
|
|
782
|
+
<li><strong>Marital Status:</strong> ${patient.maritalStatus?.text || ""}</li>
|
|
783
|
+
<li><strong>Deceased:</strong>${this.renderDeceased(patient)}</li>
|
|
784
|
+
<li><strong>Language(s):</strong>${this.renderCommunication(templateUtilities, patient)}</li>
|
|
785
|
+
</ul>
|
|
786
|
+
</div>`;
|
|
787
|
+
}
|
|
788
|
+
}
|
|
789
|
+
return html;
|
|
790
|
+
}
|
|
791
|
+
/**
|
|
792
|
+
* Renders patient names as HTML list items
|
|
793
|
+
* @param patient - Patient resource
|
|
794
|
+
* @returns HTML string of list items
|
|
795
|
+
*/
|
|
796
|
+
static renderNames(patient) {
|
|
797
|
+
if (!patient.name || patient.name.length === 0) {
|
|
798
|
+
return "";
|
|
799
|
+
}
|
|
800
|
+
return patient.name.map((name) => {
|
|
801
|
+
const nameText = name.text || ((name.given || []).join(" ") + " " + (name.family || "")).trim();
|
|
802
|
+
return `<ul><li>${nameText}</li></ul>`;
|
|
803
|
+
}).join("");
|
|
804
|
+
}
|
|
805
|
+
/**
|
|
806
|
+
* Renders patient identifiers as HTML list items
|
|
807
|
+
* @param patient - Patient resource
|
|
808
|
+
* @returns HTML string of list items
|
|
809
|
+
*/
|
|
810
|
+
static renderIdentifiers(patient) {
|
|
811
|
+
if (!patient.identifier || patient.identifier.length === 0) {
|
|
812
|
+
return "";
|
|
813
|
+
}
|
|
814
|
+
return patient.identifier.map((id) => {
|
|
815
|
+
const system = id.system || "";
|
|
816
|
+
const value = id.value || "";
|
|
817
|
+
return `<ul><li>${system}: ${value}</li></ul>`;
|
|
818
|
+
}).join("");
|
|
819
|
+
}
|
|
820
|
+
/**
|
|
821
|
+
* Renders patient telecom information as HTML list items
|
|
822
|
+
* @param patient - Patient resource
|
|
823
|
+
* @returns HTML string of list items
|
|
824
|
+
*/
|
|
825
|
+
static renderTelecom(patient) {
|
|
826
|
+
if (!patient.telecom || patient.telecom.length === 0) {
|
|
827
|
+
return "";
|
|
828
|
+
}
|
|
829
|
+
return patient.telecom.map((telecom) => {
|
|
830
|
+
const system = telecom.system ? this.capitalize(telecom.system) : "";
|
|
831
|
+
const value = telecom.value || "";
|
|
832
|
+
const use = telecom.use ? ` (${telecom.use})` : "";
|
|
833
|
+
return `<ul><li>${system}: ${value}${use}</li></ul>`;
|
|
834
|
+
}).join("");
|
|
835
|
+
}
|
|
836
|
+
/**
|
|
837
|
+
* Renders patient addresses as HTML list items
|
|
838
|
+
* @param patient - Patient resource
|
|
839
|
+
* @returns HTML string of list items
|
|
840
|
+
*/
|
|
841
|
+
static renderAddresses(patient) {
|
|
842
|
+
if (!patient.address || patient.address.length === 0) {
|
|
843
|
+
return "";
|
|
844
|
+
}
|
|
845
|
+
return patient.address.map((address) => {
|
|
846
|
+
const addressText = address.text || ((address.line || []).join(", ") + ", " + (address.city || "") + ", " + (address.country || "")).trim();
|
|
847
|
+
return `<ul><li>${addressText}</li></ul>`;
|
|
848
|
+
}).join("");
|
|
849
|
+
}
|
|
850
|
+
/**
|
|
851
|
+
* Renders patient deceased status
|
|
852
|
+
* @param patient - Patient resource
|
|
853
|
+
* @returns HTML string for deceased status
|
|
854
|
+
*/
|
|
855
|
+
static renderDeceased(patient) {
|
|
856
|
+
if (patient.deceasedBoolean !== void 0) {
|
|
857
|
+
return patient.deceasedBoolean ? "Yes" : "No";
|
|
858
|
+
}
|
|
859
|
+
if (patient.deceasedDateTime) {
|
|
860
|
+
return patient.deceasedDateTime;
|
|
861
|
+
}
|
|
862
|
+
return "";
|
|
863
|
+
}
|
|
864
|
+
/**
|
|
865
|
+
* Renders patient communication preferences as HTML list items
|
|
866
|
+
* @param templateUtilities - Instance of TemplateUtilities for utility functions
|
|
867
|
+
* @param patient - Patient resource
|
|
868
|
+
* @returns HTML string of list items
|
|
869
|
+
*/
|
|
870
|
+
static renderCommunication(templateUtilities, patient) {
|
|
871
|
+
if (!patient.communication || patient.communication.length === 0) {
|
|
872
|
+
return "";
|
|
873
|
+
}
|
|
874
|
+
return patient.communication.map((comm) => {
|
|
875
|
+
if (!comm.language) return "";
|
|
876
|
+
const language = templateUtilities.codeableConcept(comm.language);
|
|
877
|
+
const preferred = comm.preferred ? " (preferred)" : "";
|
|
878
|
+
return `<ul><li>${language}${preferred}</li></ul>`;
|
|
879
|
+
}).join("");
|
|
880
|
+
}
|
|
881
|
+
/**
|
|
882
|
+
* Capitalizes first letter of a string
|
|
883
|
+
* @param str - String to capitalize
|
|
884
|
+
* @returns Capitalized string
|
|
885
|
+
*/
|
|
886
|
+
static capitalize(str) {
|
|
887
|
+
if (!str) return "";
|
|
888
|
+
return str.charAt(0).toUpperCase() + str.slice(1);
|
|
889
|
+
}
|
|
890
|
+
};
|
|
891
|
+
|
|
892
|
+
// src/narratives/templates/typescript/AllergyIntoleranceTemplate.ts
|
|
893
|
+
var AllergyIntoleranceTemplate = class _AllergyIntoleranceTemplate {
|
|
894
|
+
/**
|
|
895
|
+
* Generate HTML narrative for AllergyIntolerance resources
|
|
896
|
+
* @param resource - FHIR Bundle containing AllergyIntolerance resources
|
|
897
|
+
* @param timezone - Optional timezone to use for date formatting (e.g., 'America/New_York', 'Europe/London')
|
|
898
|
+
* @returns HTML string for rendering
|
|
899
|
+
*/
|
|
900
|
+
generateNarrative(resource, timezone) {
|
|
901
|
+
return _AllergyIntoleranceTemplate.generateStaticNarrative(resource, timezone);
|
|
902
|
+
}
|
|
903
|
+
/**
|
|
904
|
+
* Internal static implementation that actually generates the narrative
|
|
905
|
+
* @param resource - FHIR Bundle containing AllergyIntolerance resources
|
|
906
|
+
* @param timezone - Optional timezone to use for date formatting (e.g., 'America/New_York', 'Europe/London')
|
|
907
|
+
* @returns HTML string for rendering
|
|
908
|
+
*/
|
|
909
|
+
static generateStaticNarrative(resource, timezone) {
|
|
910
|
+
const templateUtilities = new TemplateUtilities(resource);
|
|
911
|
+
const activeAllergies = [];
|
|
912
|
+
const resolvedAllergies = [];
|
|
913
|
+
if (resource.entry && Array.isArray(resource.entry)) {
|
|
914
|
+
for (const entry of resource.entry) {
|
|
915
|
+
const allergy = entry.resource;
|
|
916
|
+
const status = allergy.clinicalStatus?.coding?.[0]?.code || "";
|
|
917
|
+
if (status === "inactive" || status === "resolved") {
|
|
918
|
+
resolvedAllergies.push(allergy);
|
|
919
|
+
} else {
|
|
920
|
+
activeAllergies.push(allergy);
|
|
921
|
+
}
|
|
922
|
+
}
|
|
923
|
+
}
|
|
924
|
+
let html = `<div xmlns="http://www.w3.org/1999/xhtml">`;
|
|
925
|
+
html += `
|
|
926
|
+
<div class="ActiveAllergies">
|
|
927
|
+
<h3>Active Allergies and Intolerances</h3>
|
|
928
|
+
<table class="ActiveAllergyTable">
|
|
929
|
+
<thead>
|
|
930
|
+
<tr>
|
|
931
|
+
<th>Allergen</th>
|
|
932
|
+
<th>Status</th>
|
|
933
|
+
<th>Category</th>
|
|
934
|
+
<th>Reaction</th>
|
|
935
|
+
<th>Severity</th>
|
|
936
|
+
<th>Onset Date</th>
|
|
937
|
+
<th>Comments</th>
|
|
938
|
+
</tr>
|
|
939
|
+
</thead>
|
|
940
|
+
<tbody>`;
|
|
941
|
+
if (activeAllergies.length > 0) {
|
|
942
|
+
html += this.generateAllergyRows(activeAllergies, templateUtilities, timezone);
|
|
943
|
+
} else {
|
|
944
|
+
html += `
|
|
945
|
+
<tr>
|
|
946
|
+
<td colspan="7">No active allergies recorded</td>
|
|
947
|
+
</tr>`;
|
|
948
|
+
}
|
|
949
|
+
html += `
|
|
950
|
+
</tbody>
|
|
951
|
+
</table>
|
|
952
|
+
</div>`;
|
|
953
|
+
html += `
|
|
954
|
+
<div class="ResolvedAllergies">
|
|
955
|
+
<h3>Resolved Allergies and Intolerances</h3>
|
|
956
|
+
<table class="ResolvedAllergyTable">
|
|
957
|
+
<thead>
|
|
958
|
+
<tr>
|
|
959
|
+
<th>Allergen</th>
|
|
960
|
+
<th>Status</th>
|
|
961
|
+
<th>Category</th>
|
|
962
|
+
<th>Reaction</th>
|
|
963
|
+
<th>Severity</th>
|
|
964
|
+
<th>Onset Date</th>
|
|
965
|
+
<th>Comments</th>
|
|
966
|
+
<th>Resolved Date</th>
|
|
967
|
+
</tr>
|
|
968
|
+
</thead>
|
|
969
|
+
<tbody>`;
|
|
970
|
+
if (resolvedAllergies.length > 0) {
|
|
971
|
+
html += this.generateAllergyRows(resolvedAllergies, templateUtilities, timezone, true);
|
|
972
|
+
} else {
|
|
973
|
+
html += `
|
|
974
|
+
<tr>
|
|
975
|
+
<td colspan="8">No resolved allergies recorded</td>
|
|
976
|
+
</tr>`;
|
|
977
|
+
}
|
|
978
|
+
html += `
|
|
979
|
+
</tbody>
|
|
980
|
+
</table>
|
|
981
|
+
</div>
|
|
982
|
+
</div>`;
|
|
983
|
+
return html;
|
|
984
|
+
}
|
|
985
|
+
/**
|
|
986
|
+
* Helper method to generate HTML table rows for allergies
|
|
987
|
+
* @param allergies - Array of allergy resources to process
|
|
988
|
+
* @param templateUtilities - Utilities for formatting
|
|
989
|
+
* @param includeResolved - Whether to include resolved date column
|
|
990
|
+
* @param timezone - Optional timezone to use for date formatting
|
|
991
|
+
* @returns HTML string with table rows
|
|
992
|
+
*/
|
|
993
|
+
static generateAllergyRows(allergies, templateUtilities, timezone, includeResolved = false) {
|
|
994
|
+
let html = "";
|
|
995
|
+
for (const allergy of allergies) {
|
|
996
|
+
html += `
|
|
997
|
+
<tr id="${templateUtilities.narrativeLinkId(allergy.extension)}">
|
|
998
|
+
<td class="Name"><span class="AllergenName">${templateUtilities.codeableConcept(allergy.code)}</span></td>
|
|
999
|
+
<td class="Status">${templateUtilities.codeableConcept(allergy.clinicalStatus) || "-"}</td>
|
|
1000
|
+
<td class="Category">${templateUtilities.safeConcat(allergy.category, "value") || "-"}</td>
|
|
1001
|
+
<td class="Reaction">${templateUtilities.concatReactionManifestation(allergy.reaction) || "-"}</td>
|
|
1002
|
+
<td class="Severity">${templateUtilities.safeConcat(allergy.reaction, "severity") || "-"}</td>
|
|
1003
|
+
<td class="OnsetDate">${templateUtilities.renderTime(allergy.onsetDateTime, timezone) || "-"}</td>
|
|
1004
|
+
<td class="Comments">${templateUtilities.renderNotes(allergy.note, timezone, { styled: true, warning: true })}</td>`;
|
|
1005
|
+
if (includeResolved) {
|
|
1006
|
+
let endDate = "-";
|
|
1007
|
+
if (allergy.extension && Array.isArray(allergy.extension)) {
|
|
1008
|
+
const endDateExt = allergy.extension.find(
|
|
1009
|
+
(ext) => ext.url === "http://hl7.org/fhir/StructureDefinition/allergyintolerance-resolutionDate"
|
|
1010
|
+
);
|
|
1011
|
+
if (endDateExt && endDateExt.valueDateTime) {
|
|
1012
|
+
endDate = templateUtilities.renderDate(endDateExt.valueDateTime);
|
|
1013
|
+
}
|
|
1014
|
+
}
|
|
1015
|
+
html += `
|
|
1016
|
+
<td class="ResolvedDate">${endDate}</td>`;
|
|
1017
|
+
}
|
|
1018
|
+
html += `</tr>`;
|
|
1019
|
+
}
|
|
1020
|
+
return html;
|
|
1021
|
+
}
|
|
1022
|
+
};
|
|
1023
|
+
|
|
1024
|
+
// src/narratives/templates/typescript/MedicationSummaryTemplate.ts
|
|
1025
|
+
var MedicationSummaryTemplate = class _MedicationSummaryTemplate {
|
|
1026
|
+
/**
|
|
1027
|
+
* Generate HTML narrative for Medication resources
|
|
1028
|
+
* @param resource - FHIR Bundle containing Medication resources
|
|
1029
|
+
* @param timezone - Optional timezone to use for date formatting (e.g., 'America/New_York', 'Europe/London')
|
|
1030
|
+
* @returns HTML string for rendering
|
|
1031
|
+
*/
|
|
1032
|
+
generateNarrative(resource, timezone) {
|
|
1033
|
+
return _MedicationSummaryTemplate.generateStaticNarrative(resource, timezone);
|
|
1034
|
+
}
|
|
1035
|
+
/**
|
|
1036
|
+
* Internal static implementation that actually generates the narrative
|
|
1037
|
+
* @param resource - FHIR Bundle containing Medication resources
|
|
1038
|
+
* @param timezone - Optional timezone to use for date formatting (e.g., 'America/New_York', 'Europe/London')
|
|
1039
|
+
* @returns HTML string for rendering
|
|
1040
|
+
*/
|
|
1041
|
+
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
|
1042
|
+
static generateStaticNarrative(resource, timezone) {
|
|
1043
|
+
const templateUtilities = new TemplateUtilities(resource);
|
|
1044
|
+
let html = "";
|
|
1045
|
+
const medicationRequests = this.getMedicationRequests(templateUtilities, resource);
|
|
1046
|
+
if (medicationRequests.length > 0) {
|
|
1047
|
+
html += this.renderMedicationRequests(templateUtilities, medicationRequests);
|
|
1048
|
+
}
|
|
1049
|
+
const medicationStatements = this.getMedicationStatements(templateUtilities, resource);
|
|
1050
|
+
if (medicationStatements.length > 0) {
|
|
1051
|
+
html += this.renderMedicationStatements(templateUtilities, medicationStatements);
|
|
1052
|
+
}
|
|
1053
|
+
return html;
|
|
1054
|
+
}
|
|
1055
|
+
/**
|
|
1056
|
+
* Extract MedicationRequest resources from the bundle
|
|
1057
|
+
* @param templateUtilities - Instance of TemplateUtilities for utility functions
|
|
1058
|
+
* @param resource - FHIR Bundle
|
|
1059
|
+
* @returns Array of MedicationRequest resources
|
|
1060
|
+
*/
|
|
1061
|
+
static getMedicationRequests(templateUtilities, resource) {
|
|
1062
|
+
if (!resource.entry || !Array.isArray(resource.entry)) {
|
|
1063
|
+
return [];
|
|
1064
|
+
}
|
|
1065
|
+
return resource.entry.filter((entry) => entry.resource?.resourceType === "MedicationRequest").map((entry) => ({
|
|
1066
|
+
resource: entry.resource,
|
|
1067
|
+
extension: templateUtilities.narrativeLinkExtension(entry.resource)
|
|
1068
|
+
}));
|
|
1069
|
+
}
|
|
1070
|
+
/**
|
|
1071
|
+
* Extract MedicationStatement resources from the bundle
|
|
1072
|
+
* @param templateUtilities - Instance of TemplateUtilities for utility functions
|
|
1073
|
+
* @param resource - FHIR Bundle
|
|
1074
|
+
* @returns Array of MedicationStatement resources
|
|
1075
|
+
*/
|
|
1076
|
+
static getMedicationStatements(templateUtilities, resource) {
|
|
1077
|
+
if (!resource.entry || !Array.isArray(resource.entry)) {
|
|
1078
|
+
return [];
|
|
1079
|
+
}
|
|
1080
|
+
return resource.entry.filter((entry) => entry.resource?.resourceType === "MedicationStatement").map((entry) => ({
|
|
1081
|
+
resource: entry.resource,
|
|
1082
|
+
extension: templateUtilities.narrativeLinkExtension(entry.resource)
|
|
1083
|
+
}));
|
|
1084
|
+
}
|
|
1085
|
+
/**
|
|
1086
|
+
* Render HTML table for MedicationRequest resources
|
|
1087
|
+
* @param templateUtilities - Instance of TemplateUtilities for utility functions
|
|
1088
|
+
* @param medications - Array of MedicationRequest resources
|
|
1089
|
+
* @returns HTML string for rendering
|
|
1090
|
+
*/
|
|
1091
|
+
static renderMedicationRequests(templateUtilities, medications) {
|
|
1092
|
+
let html = `<div xmlns="http://www.w3.org/1999/xhtml">
|
|
1093
|
+
<table>
|
|
1094
|
+
<thead>
|
|
1095
|
+
<tr>
|
|
1096
|
+
<th>Medication</th>
|
|
1097
|
+
<th>Sig</th>
|
|
1098
|
+
<th>Dispense Quantity</th>
|
|
1099
|
+
<th>Refills</th>
|
|
1100
|
+
<th>Start Date</th>
|
|
1101
|
+
<th>End Date</th>
|
|
1102
|
+
<th>Status</th>
|
|
1103
|
+
</tr>
|
|
1104
|
+
</thead>
|
|
1105
|
+
<tbody>`;
|
|
1106
|
+
for (const { resource: mr, extension } of medications) {
|
|
1107
|
+
const narrativeLinkId = templateUtilities.narrativeLinkId(extension);
|
|
1108
|
+
const status = mr.status ? String(mr.status) : "-";
|
|
1109
|
+
const medication = templateUtilities.getMedicationName(
|
|
1110
|
+
mr.medicationReference || mr.medicationCodeableConcept
|
|
1111
|
+
);
|
|
1112
|
+
const sig = templateUtilities.concat(mr.dosageInstruction, "text") || "-";
|
|
1113
|
+
let dispenseQuantity = "-";
|
|
1114
|
+
if (mr.dispenseRequest?.quantity) {
|
|
1115
|
+
const quantity = mr.dispenseRequest.quantity;
|
|
1116
|
+
if (quantity.value) {
|
|
1117
|
+
dispenseQuantity = `${quantity.value} ${quantity.unit || quantity.code || ""}`.trim();
|
|
1118
|
+
}
|
|
1119
|
+
}
|
|
1120
|
+
const refills = mr.dispenseRequest?.numberOfRepeatsAllowed?.toString() || "-";
|
|
1121
|
+
let startDate = "-";
|
|
1122
|
+
let endDate = "-";
|
|
1123
|
+
if (mr.dispenseRequest?.validityPeriod) {
|
|
1124
|
+
startDate = mr.dispenseRequest.validityPeriod.start || "-";
|
|
1125
|
+
endDate = mr.dispenseRequest.validityPeriod.end || "-";
|
|
1126
|
+
} else {
|
|
1127
|
+
startDate = mr.authoredOn || "-";
|
|
1128
|
+
}
|
|
1129
|
+
html += `
|
|
1130
|
+
<tr${narrativeLinkId ? ` id="${narrativeLinkId}"` : ""}>
|
|
1131
|
+
<td>${medication}<ul></ul></td>
|
|
1132
|
+
<td>${sig}</td>
|
|
1133
|
+
<td>${dispenseQuantity}</td>
|
|
1134
|
+
<td>${refills}</td>
|
|
1135
|
+
<td>${startDate}</td>
|
|
1136
|
+
<td>${endDate}</td>
|
|
1137
|
+
<td>${status}</td>
|
|
1138
|
+
</tr>`;
|
|
1139
|
+
}
|
|
1140
|
+
html += `
|
|
1141
|
+
</tbody>
|
|
1142
|
+
</table></div>`;
|
|
1143
|
+
return html;
|
|
1144
|
+
}
|
|
1145
|
+
/**
|
|
1146
|
+
* Render HTML table for MedicationStatement resources
|
|
1147
|
+
* @param templateUtilities - Instance of TemplateUtilities for utility functions
|
|
1148
|
+
* @param medications - Array of MedicationStatement resources
|
|
1149
|
+
* @returns HTML string for rendering
|
|
1150
|
+
*/
|
|
1151
|
+
static renderMedicationStatements(templateUtilities, medications) {
|
|
1152
|
+
let html = `<div xmlns="http://www.w3.org/1999/xhtml">
|
|
1153
|
+
<table>
|
|
1154
|
+
<thead>
|
|
1155
|
+
<tr>
|
|
1156
|
+
<th>Medication</th>
|
|
1157
|
+
<th>Sig</th>
|
|
1158
|
+
<th>Dispense Quantity</th>
|
|
1159
|
+
<th>Refills</th>
|
|
1160
|
+
<th>Start Date</th>
|
|
1161
|
+
<th>End Date</th>
|
|
1162
|
+
<th>Status</th>
|
|
1163
|
+
</tr>
|
|
1164
|
+
</thead>
|
|
1165
|
+
<tbody>`;
|
|
1166
|
+
for (const { resource: ms, extension } of medications) {
|
|
1167
|
+
const narrativeLinkId = templateUtilities.narrativeLinkId(extension);
|
|
1168
|
+
const status = ms.status ? String(ms.status) : "-";
|
|
1169
|
+
const medication = templateUtilities.getMedicationName(
|
|
1170
|
+
ms.medicationReference || ms.medicationCodeableConcept
|
|
1171
|
+
);
|
|
1172
|
+
const sig = templateUtilities.concat(ms.dosage, "text") || "-";
|
|
1173
|
+
const dispenseQuantity = "-";
|
|
1174
|
+
const refills = "-";
|
|
1175
|
+
let startDate = "-";
|
|
1176
|
+
let endDate = "-";
|
|
1177
|
+
if (ms.effectiveDateTime) {
|
|
1178
|
+
startDate = ms.effectiveDateTime;
|
|
1179
|
+
} else if (ms.effectivePeriod) {
|
|
1180
|
+
startDate = ms.effectivePeriod.start || "-";
|
|
1181
|
+
endDate = ms.effectivePeriod.end || "-";
|
|
1182
|
+
}
|
|
1183
|
+
html += `
|
|
1184
|
+
<tr${narrativeLinkId ? ` id="${narrativeLinkId}"` : ""}>
|
|
1185
|
+
<td>${medication}<ul></ul></td>
|
|
1186
|
+
<td>${sig}</td>
|
|
1187
|
+
<td>${dispenseQuantity}</td>
|
|
1188
|
+
<td>${refills}</td>
|
|
1189
|
+
<td>${startDate}</td>
|
|
1190
|
+
<td>${endDate}</td>
|
|
1191
|
+
<td>${status}</td>
|
|
1192
|
+
</tr>`;
|
|
1193
|
+
}
|
|
1194
|
+
html += `
|
|
1195
|
+
</tbody>
|
|
1196
|
+
</table></div>`;
|
|
1197
|
+
return html;
|
|
1198
|
+
}
|
|
1199
|
+
};
|
|
1200
|
+
|
|
1201
|
+
// src/narratives/templates/typescript/ImmunizationsTemplate.ts
|
|
1202
|
+
var ImmunizationsTemplate = class _ImmunizationsTemplate {
|
|
1203
|
+
/**
|
|
1204
|
+
* Generate HTML narrative for Immunization resources
|
|
1205
|
+
* @param resource - FHIR Bundle containing Immunization resources
|
|
1206
|
+
* @param timezone - Optional timezone to use for date formatting (e.g., 'America/New_York', 'Europe/London')
|
|
1207
|
+
* @returns HTML string for rendering
|
|
1208
|
+
*/
|
|
1209
|
+
generateNarrative(resource, timezone) {
|
|
1210
|
+
return _ImmunizationsTemplate.generateStaticNarrative(resource, timezone);
|
|
1211
|
+
}
|
|
1212
|
+
/**
|
|
1213
|
+
* Internal static implementation that actually generates the narrative
|
|
1214
|
+
* @param resource - FHIR Bundle containing Immunization resources
|
|
1215
|
+
* @param timezone - Optional timezone to use for date formatting (e.g., 'America/New_York', 'Europe/London')
|
|
1216
|
+
* @returns HTML string for rendering
|
|
1217
|
+
*/
|
|
1218
|
+
static generateStaticNarrative(resource, timezone) {
|
|
1219
|
+
const templateUtilities = new TemplateUtilities(resource);
|
|
1220
|
+
let html = `
|
|
1221
|
+
<h5>Immunizations</h5>
|
|
1222
|
+
<table class="hapiPropertyTable">
|
|
1223
|
+
<thead>
|
|
1224
|
+
<tr>
|
|
1225
|
+
<th>Immunization</th>
|
|
1226
|
+
<th>Status</th>
|
|
1227
|
+
<th>Dose Number</th>
|
|
1228
|
+
<th>Manufacturer</th>
|
|
1229
|
+
<th>Lot Number</th>
|
|
1230
|
+
<th>Comments</th>
|
|
1231
|
+
<th>Date</th>
|
|
1232
|
+
</tr>
|
|
1233
|
+
</thead>
|
|
1234
|
+
<tbody>`;
|
|
1235
|
+
if (resource.entry && Array.isArray(resource.entry)) {
|
|
1236
|
+
for (const entry of resource.entry) {
|
|
1237
|
+
if (entry.resource?.resourceType === "Immunization") {
|
|
1238
|
+
const imm = entry.resource;
|
|
1239
|
+
html += `
|
|
1240
|
+
<tr id="${templateUtilities.narrativeLinkId(imm)}">
|
|
1241
|
+
<td>${templateUtilities.codeableConcept(imm.vaccineCode)}</td>
|
|
1242
|
+
<td>${imm.status || ""}</td>
|
|
1243
|
+
<td>${templateUtilities.concatDoseNumber(imm.protocolApplied)}</td>
|
|
1244
|
+
<td>${templateUtilities.renderVaccineManufacturer(imm)}</td>
|
|
1245
|
+
<td>${imm.lotNumber || ""}</td>
|
|
1246
|
+
<td>${templateUtilities.renderNotes(imm.note, timezone)}</td>
|
|
1247
|
+
<td>${templateUtilities.renderTime(imm.occurrenceDateTime, timezone)}</td>
|
|
1248
|
+
</tr>`;
|
|
1249
|
+
}
|
|
1250
|
+
}
|
|
1251
|
+
}
|
|
1252
|
+
html += `
|
|
1253
|
+
</tbody>
|
|
1254
|
+
</table>`;
|
|
1255
|
+
return html;
|
|
1256
|
+
}
|
|
1257
|
+
};
|
|
1258
|
+
|
|
1259
|
+
// src/narratives/templates/typescript/ProblemListTemplate.ts
|
|
1260
|
+
var ProblemListTemplate = class _ProblemListTemplate {
|
|
1261
|
+
/**
|
|
1262
|
+
* Generate HTML narrative for Problem List
|
|
1263
|
+
* @param resource - FHIR Bundle containing Condition resources
|
|
1264
|
+
* @param timezone - Optional timezone to use for date formatting (e.g., 'America/New_York', 'Europe/London')
|
|
1265
|
+
* @returns HTML string for rendering
|
|
1266
|
+
*/
|
|
1267
|
+
generateNarrative(resource, timezone) {
|
|
1268
|
+
return _ProblemListTemplate.generateStaticNarrative(resource, timezone);
|
|
1269
|
+
}
|
|
1270
|
+
/**
|
|
1271
|
+
* Internal static implementation that actually generates the narrative
|
|
1272
|
+
* @param resource - FHIR Bundle containing Condition resources
|
|
1273
|
+
* @param timezone - Optional timezone to use for date formatting (e.g., 'America/New_York', 'Europe/London')
|
|
1274
|
+
* @returns HTML string for rendering
|
|
1275
|
+
*/
|
|
1276
|
+
static generateStaticNarrative(resource, timezone) {
|
|
1277
|
+
const templateUtilities = new TemplateUtilities(resource);
|
|
1278
|
+
let html = `<div xmlns="http://www.w3.org/1999/xhtml">`;
|
|
1279
|
+
const activeConditions = [];
|
|
1280
|
+
const resolvedConditions = [];
|
|
1281
|
+
if (resource.entry && Array.isArray(resource.entry)) {
|
|
1282
|
+
for (const entry of resource.entry) {
|
|
1283
|
+
const cond = entry.resource;
|
|
1284
|
+
if (cond.resourceType === "Composition") {
|
|
1285
|
+
continue;
|
|
1286
|
+
}
|
|
1287
|
+
const isResolved = cond.clinicalStatus?.coding?.some((c) => c.code === "resolved" || c.code === "inactive" || c.display?.toLowerCase().includes("resolved"));
|
|
1288
|
+
if (isResolved) {
|
|
1289
|
+
resolvedConditions.push(cond);
|
|
1290
|
+
} else {
|
|
1291
|
+
activeConditions.push(cond);
|
|
1292
|
+
}
|
|
1293
|
+
}
|
|
1294
|
+
}
|
|
1295
|
+
if (activeConditions.length > 0) {
|
|
1296
|
+
html += `<div class="ActiveProblems">
|
|
1297
|
+
<h3>Active Problems</h3>
|
|
1298
|
+
<table class="ActiveProblemTable">
|
|
1299
|
+
<thead>
|
|
1300
|
+
<tr>
|
|
1301
|
+
<th>Problem</th>
|
|
1302
|
+
<th>Priority</th>
|
|
1303
|
+
<th>Noted Date</th>
|
|
1304
|
+
<th>Diagnosed Date</th>
|
|
1305
|
+
<th>Notes</th>
|
|
1306
|
+
</tr>
|
|
1307
|
+
</thead>
|
|
1308
|
+
<tbody>`;
|
|
1309
|
+
for (const cond of activeConditions) {
|
|
1310
|
+
html += `<tr id="${templateUtilities.narrativeLinkId(cond)}">
|
|
1311
|
+
<td class="Name">${templateUtilities.codeableConcept(cond.code)}</td>
|
|
1312
|
+
<td class="Priority">${templateUtilities.codeableConcept(cond.severity)}</td>
|
|
1313
|
+
<td class="NotedDate">${templateUtilities.renderDate(cond.onsetDateTime)}</td>
|
|
1314
|
+
<td class="DiagnosedDate">${templateUtilities.renderDate(cond.recordedDate)}</td>
|
|
1315
|
+
<td class="Notes">${templateUtilities.renderNotes(cond.note, timezone, { styled: true, warning: true })}</td>
|
|
1316
|
+
</tr>`;
|
|
1317
|
+
}
|
|
1318
|
+
html += `</tbody>
|
|
1319
|
+
</table>
|
|
1320
|
+
</div>`;
|
|
1321
|
+
}
|
|
1322
|
+
if (activeConditions.length > 0 && resolvedConditions.length > 0) {
|
|
1323
|
+
html += `<br />`;
|
|
1324
|
+
}
|
|
1325
|
+
if (resolvedConditions.length > 0) {
|
|
1326
|
+
html += `<div class="ResolvedProblems">
|
|
1327
|
+
<h3>Resolved Problems</h3>
|
|
1328
|
+
<table class="ResolvedProblemTable">
|
|
1329
|
+
<thead>
|
|
1330
|
+
<tr>
|
|
1331
|
+
<th>Problem</th>
|
|
1332
|
+
<th>Priority</th>
|
|
1333
|
+
<th>Noted Date</th>
|
|
1334
|
+
<th>Diagnosed Date</th>
|
|
1335
|
+
<th>Resolved Date</th>
|
|
1336
|
+
<th>Notes</th>
|
|
1337
|
+
</tr>
|
|
1338
|
+
</thead>
|
|
1339
|
+
<tbody>`;
|
|
1340
|
+
for (const cond of resolvedConditions) {
|
|
1341
|
+
html += `<tr id="${templateUtilities.narrativeLinkId(cond)}">
|
|
1342
|
+
<td class="Name">${templateUtilities.codeableConcept(cond.code)}</td>
|
|
1343
|
+
<td class="Priority">${templateUtilities.codeableConcept(cond.severity)}</td>
|
|
1344
|
+
<td class="NotedDate">${templateUtilities.renderDate(cond.onsetDateTime)}</td>
|
|
1345
|
+
<td class="DiagnosedDate">${templateUtilities.renderDate(cond.recordedDate)}</td>
|
|
1346
|
+
<td class="ResolvedDate">${templateUtilities.renderDate(cond.abatementDateTime)}</td>
|
|
1347
|
+
<td class="Notes">${templateUtilities.renderNotes(cond.note, timezone, { styled: true, warning: true })}</td>
|
|
1348
|
+
</tr>`;
|
|
1349
|
+
}
|
|
1350
|
+
html += `</tbody>
|
|
1351
|
+
</table>
|
|
1352
|
+
</div>`;
|
|
1353
|
+
}
|
|
1354
|
+
html += `</div>`;
|
|
1355
|
+
return html;
|
|
1356
|
+
}
|
|
1357
|
+
};
|
|
1358
|
+
|
|
1359
|
+
// src/narratives/templates/typescript/VitalSignsTemplate.ts
|
|
1360
|
+
var VitalSignsTemplate = class _VitalSignsTemplate {
|
|
1361
|
+
/**
|
|
1362
|
+
* Generate HTML narrative for Vital Signs
|
|
1363
|
+
* @param resource - FHIR Bundle containing Observation resources
|
|
1364
|
+
* @param timezone - Optional timezone to use for date formatting (e.g., 'America/New_York', 'Europe/London')
|
|
1365
|
+
* @returns HTML string for rendering
|
|
1366
|
+
*/
|
|
1367
|
+
generateNarrative(resource, timezone) {
|
|
1368
|
+
return _VitalSignsTemplate.generateStaticNarrative(resource, timezone);
|
|
1369
|
+
}
|
|
1370
|
+
/**
|
|
1371
|
+
* Internal static implementation that actually generates the narrative
|
|
1372
|
+
* @param resource - FHIR Bundle containing Observation resources
|
|
1373
|
+
* @param timezone - Optional timezone to use for date formatting (e.g., 'America/New_York', 'Europe/London')
|
|
1374
|
+
* @returns HTML string for rendering
|
|
1375
|
+
*/
|
|
1376
|
+
static generateStaticNarrative(resource, timezone) {
|
|
1377
|
+
const templateUtilities = new TemplateUtilities(resource);
|
|
1378
|
+
let html = `
|
|
1379
|
+
<h5>Vital Signs</h5>
|
|
1380
|
+
<table class="hapiPropertyTable">
|
|
1381
|
+
<thead>
|
|
1382
|
+
<tr>
|
|
1383
|
+
<th>Code</th>
|
|
1384
|
+
<th>Result</th>
|
|
1385
|
+
<th>Unit</th>
|
|
1386
|
+
<th>Interpretation</th>
|
|
1387
|
+
<th>Component(s)</th>
|
|
1388
|
+
<th>Comments</th>
|
|
1389
|
+
<th>Date</th>
|
|
1390
|
+
</tr>
|
|
1391
|
+
</thead>
|
|
1392
|
+
<tbody>`;
|
|
1393
|
+
if (resource.entry && Array.isArray(resource.entry)) {
|
|
1394
|
+
for (const entry of resource.entry) {
|
|
1395
|
+
const obs = entry.resource;
|
|
1396
|
+
if (obs.resourceType === "Composition") {
|
|
1397
|
+
continue;
|
|
1398
|
+
}
|
|
1399
|
+
html += `
|
|
1400
|
+
<tr id="${templateUtilities.narrativeLinkId(obs)}">
|
|
1401
|
+
<td>${templateUtilities.codeableConcept(obs.code, "display")}</td>
|
|
1402
|
+
<td>${templateUtilities.extractObservationValue(obs)}</td>
|
|
1403
|
+
<td>${templateUtilities.extractObservationValueUnit(obs)}</td>
|
|
1404
|
+
<td>${templateUtilities.firstFromCodeableConceptList(obs.interpretation)}</td>
|
|
1405
|
+
<td>${templateUtilities.renderComponent(obs.component)}</td>
|
|
1406
|
+
<td>${templateUtilities.renderNotes(obs.note, timezone)}</td>
|
|
1407
|
+
<td>${templateUtilities.renderEffective(obs.effectiveDateTime, timezone)}</td>
|
|
1408
|
+
</tr>`;
|
|
1409
|
+
}
|
|
1410
|
+
}
|
|
1411
|
+
html += `
|
|
1412
|
+
</tbody>
|
|
1413
|
+
</table>`;
|
|
1414
|
+
return html;
|
|
1415
|
+
}
|
|
1416
|
+
};
|
|
1417
|
+
|
|
1418
|
+
// src/narratives/templates/typescript/MedicalDevicesTemplate.ts
|
|
1419
|
+
var MedicalDevicesTemplate = class _MedicalDevicesTemplate {
|
|
1420
|
+
/**
|
|
1421
|
+
* Generate HTML narrative for Medical Device resources
|
|
1422
|
+
* @param resource - FHIR Bundle containing Device resources
|
|
1423
|
+
* @param timezone - Optional timezone to use for date formatting (e.g., 'America/New_York', 'Europe/London')
|
|
1424
|
+
* @returns HTML string for rendering
|
|
1425
|
+
*/
|
|
1426
|
+
generateNarrative(resource, timezone) {
|
|
1427
|
+
return _MedicalDevicesTemplate.generateStaticNarrative(resource, timezone);
|
|
1428
|
+
}
|
|
1429
|
+
/**
|
|
1430
|
+
* Internal static implementation that actually generates the narrative
|
|
1431
|
+
* @param resource - FHIR Bundle containing Device resources
|
|
1432
|
+
* @param timezone - Optional timezone to use for date formatting (e.g., 'America/New_York', 'Europe/London')
|
|
1433
|
+
* @returns HTML string for rendering
|
|
1434
|
+
*/
|
|
1435
|
+
static generateStaticNarrative(resource, timezone) {
|
|
1436
|
+
const templateUtilities = new TemplateUtilities(resource);
|
|
1437
|
+
let html = `
|
|
1438
|
+
<h5>Medical Devices</h5>
|
|
1439
|
+
<table class="hapiPropertyTable">
|
|
1440
|
+
<thead>
|
|
1441
|
+
<tr>
|
|
1442
|
+
<th>Device</th>
|
|
1443
|
+
<th>Status</th>
|
|
1444
|
+
<th>Comments</th>
|
|
1445
|
+
<th>Date Recorded</th>
|
|
1446
|
+
</tr>
|
|
1447
|
+
</thead>
|
|
1448
|
+
<tbody>`;
|
|
1449
|
+
if (resource.entry && Array.isArray(resource.entry)) {
|
|
1450
|
+
for (const entry of resource.entry) {
|
|
1451
|
+
if (entry.resource?.resourceType === "DeviceUseStatement") {
|
|
1452
|
+
const dus = entry.resource;
|
|
1453
|
+
html += `
|
|
1454
|
+
<tr id="${templateUtilities.narrativeLinkId(dus)}">
|
|
1455
|
+
<td>${templateUtilities.renderDevice(dus.device)}</td>
|
|
1456
|
+
<td>${dus.status || ""}</td>
|
|
1457
|
+
<td>${templateUtilities.renderNotes(dus.note, timezone)}</td>
|
|
1458
|
+
<td>${templateUtilities.renderRecorded(dus.recordedOn, timezone)}</td>
|
|
1459
|
+
</tr>`;
|
|
1460
|
+
}
|
|
1461
|
+
}
|
|
1462
|
+
}
|
|
1463
|
+
html += `
|
|
1464
|
+
</tbody>
|
|
1465
|
+
</table>`;
|
|
1466
|
+
return html;
|
|
1467
|
+
}
|
|
1468
|
+
};
|
|
1469
|
+
|
|
1470
|
+
// src/narratives/templates/typescript/DiagnosticResultsTemplate.ts
|
|
1471
|
+
var DiagnosticResultsTemplate = class _DiagnosticResultsTemplate {
|
|
1472
|
+
/**
|
|
1473
|
+
* Generate HTML narrative for Diagnostic Results
|
|
1474
|
+
* @param resource - FHIR Bundle containing Observation and DiagnosticReport resources
|
|
1475
|
+
* @param timezone - Optional timezone to use for date formatting (e.g., 'America/New_York', 'Europe/London')
|
|
1476
|
+
* @returns HTML string for rendering
|
|
1477
|
+
*/
|
|
1478
|
+
generateNarrative(resource, timezone) {
|
|
1479
|
+
return _DiagnosticResultsTemplate.generateStaticNarrative(resource, timezone);
|
|
1480
|
+
}
|
|
1481
|
+
/**
|
|
1482
|
+
* Internal static implementation that actually generates the narrative
|
|
1483
|
+
* @param resource - FHIR Bundle containing Observation and DiagnosticReport resources
|
|
1484
|
+
* @param timezone - Optional timezone to use for date formatting (e.g., 'America/New_York', 'Europe/London')
|
|
1485
|
+
* @returns HTML string for rendering
|
|
1486
|
+
*/
|
|
1487
|
+
static generateStaticNarrative(resource, timezone) {
|
|
1488
|
+
const templateUtilities = new TemplateUtilities(resource);
|
|
1489
|
+
let html = "";
|
|
1490
|
+
const observations = this.getObservations(resource);
|
|
1491
|
+
if (observations.length > 0) {
|
|
1492
|
+
html += this.renderObservations(templateUtilities, observations, timezone);
|
|
1493
|
+
}
|
|
1494
|
+
const diagnosticReports = this.getDiagnosticReports(resource);
|
|
1495
|
+
if (diagnosticReports.length > 0) {
|
|
1496
|
+
html += this.renderDiagnosticReports(templateUtilities, diagnosticReports, timezone);
|
|
1497
|
+
}
|
|
1498
|
+
return html;
|
|
1499
|
+
}
|
|
1500
|
+
/**
|
|
1501
|
+
* Extract Observation resources from the bundle
|
|
1502
|
+
* @param resource - FHIR Bundle
|
|
1503
|
+
* @returns Array of Observation resources
|
|
1504
|
+
*/
|
|
1505
|
+
static getObservations(resource) {
|
|
1506
|
+
if (!resource.entry || !Array.isArray(resource.entry)) {
|
|
1507
|
+
return [];
|
|
1508
|
+
}
|
|
1509
|
+
return resource.entry.filter((entry) => entry.resource?.resourceType === "Observation").map((entry) => entry.resource);
|
|
1510
|
+
}
|
|
1511
|
+
/**
|
|
1512
|
+
* Extract DiagnosticReport resources from the bundle
|
|
1513
|
+
* @param resource - FHIR Bundle
|
|
1514
|
+
* @returns Array of DiagnosticReport resources
|
|
1515
|
+
*/
|
|
1516
|
+
static getDiagnosticReports(resource) {
|
|
1517
|
+
if (!resource.entry || !Array.isArray(resource.entry)) {
|
|
1518
|
+
return [];
|
|
1519
|
+
}
|
|
1520
|
+
return resource.entry.filter((entry) => entry.resource?.resourceType === "DiagnosticReport").map((entry) => entry.resource);
|
|
1521
|
+
}
|
|
1522
|
+
/**
|
|
1523
|
+
* Render HTML table for Observation resources
|
|
1524
|
+
* @param templateUtilities - Instance of TemplateUtilities for utility functions
|
|
1525
|
+
* @param observations - Array of Observation resources
|
|
1526
|
+
* @param timezone - Optional timezone to use for date formatting
|
|
1527
|
+
* @returns HTML string for rendering
|
|
1528
|
+
*/
|
|
1529
|
+
static renderObservations(templateUtilities, observations, timezone) {
|
|
1530
|
+
let html = `
|
|
1531
|
+
<h5>Diagnostic Results: Observations</h5>
|
|
1532
|
+
<table class="hapiPropertyTable">
|
|
1533
|
+
<thead>
|
|
1534
|
+
<tr>
|
|
1535
|
+
<th>Code</th>
|
|
1536
|
+
<th>Result</th>
|
|
1537
|
+
<th>Unit</th>
|
|
1538
|
+
<th>Interpretation</th>
|
|
1539
|
+
<th>Reference Range</th>
|
|
1540
|
+
<th>Comments</th>
|
|
1541
|
+
<th>Date</th>
|
|
1542
|
+
</tr>
|
|
1543
|
+
</thead>
|
|
1544
|
+
<tbody>`;
|
|
1545
|
+
for (const obs of observations) {
|
|
1546
|
+
html += `
|
|
1547
|
+
<tr id="${templateUtilities.narrativeLinkId(obs)}">
|
|
1548
|
+
<td>${templateUtilities.codeableConcept(obs.code)}</td>
|
|
1549
|
+
<td>${templateUtilities.extractObservationValue(obs)}</td>
|
|
1550
|
+
<td>${templateUtilities.extractObservationValueUnit(obs)}</td>
|
|
1551
|
+
<td>${templateUtilities.firstFromCodeableConceptList(obs.interpretation)}</td>
|
|
1552
|
+
<td>${templateUtilities.concatReferenceRange(obs.referenceRange)}</td>
|
|
1553
|
+
<td>${templateUtilities.renderNotes(obs.note, timezone)}</td>
|
|
1554
|
+
<td>${templateUtilities.renderTime(obs.effectiveDateTime, timezone)}</td>
|
|
1555
|
+
</tr>`;
|
|
1556
|
+
}
|
|
1557
|
+
html += `
|
|
1558
|
+
</tbody>
|
|
1559
|
+
</table>`;
|
|
1560
|
+
return html;
|
|
1561
|
+
}
|
|
1562
|
+
/**
|
|
1563
|
+
* Render HTML table for DiagnosticReport resources
|
|
1564
|
+
* @param templateUtilities - Instance of TemplateUtilities for utility functions
|
|
1565
|
+
* @param reports - Array of DiagnosticReport resources
|
|
1566
|
+
* @param timezone - Optional timezone to use for date formatting
|
|
1567
|
+
* @returns HTML string for rendering
|
|
1568
|
+
*/
|
|
1569
|
+
static renderDiagnosticReports(templateUtilities, reports, timezone) {
|
|
1570
|
+
let html = `
|
|
1571
|
+
<h5>Diagnostic Results: Reports</h5>
|
|
1572
|
+
<table class="hapiPropertyTable">
|
|
1573
|
+
<thead>
|
|
1574
|
+
<tr>
|
|
1575
|
+
<th>Report</th>
|
|
1576
|
+
<th>Status</th>
|
|
1577
|
+
<th>Category</th>
|
|
1578
|
+
<th>Result</th>
|
|
1579
|
+
<th>Issued</th>
|
|
1580
|
+
</tr>
|
|
1581
|
+
</thead>
|
|
1582
|
+
<tbody>`;
|
|
1583
|
+
for (const report of reports) {
|
|
1584
|
+
let resultCount = "";
|
|
1585
|
+
if (report.result && Array.isArray(report.result)) {
|
|
1586
|
+
resultCount = `${report.result.length} result${report.result.length !== 1 ? "s" : ""}`;
|
|
1587
|
+
}
|
|
1588
|
+
html += `
|
|
1589
|
+
<tr id="${templateUtilities.narrativeLinkId(report)}">
|
|
1590
|
+
<td>${templateUtilities.codeableConcept(report.code)}</td>
|
|
1591
|
+
<td>${report.status || ""}</td>
|
|
1592
|
+
<td>${templateUtilities.firstFromCodeableConceptList(report.category)}</td>
|
|
1593
|
+
<td>${resultCount}</td>
|
|
1594
|
+
<td>${report.issued ? templateUtilities.renderTime(report.issued, timezone) : ""}</td>
|
|
1595
|
+
</tr>`;
|
|
1596
|
+
}
|
|
1597
|
+
html += `
|
|
1598
|
+
</tbody>
|
|
1599
|
+
</table>`;
|
|
1600
|
+
return html;
|
|
1601
|
+
}
|
|
1602
|
+
};
|
|
1603
|
+
|
|
1604
|
+
// src/narratives/templates/typescript/HistoryOfProceduresTemplate.ts
|
|
1605
|
+
var HistoryOfProceduresTemplate = class _HistoryOfProceduresTemplate {
|
|
1606
|
+
/**
|
|
1607
|
+
* Generate HTML narrative for Procedure resources
|
|
1608
|
+
* @param resource - FHIR Bundle containing Procedure resources
|
|
1609
|
+
* @param timezone - Optional timezone to use for date formatting (e.g., 'America/New_York', 'Europe/London')
|
|
1610
|
+
* @returns HTML string for rendering
|
|
1611
|
+
*/
|
|
1612
|
+
generateNarrative(resource, timezone) {
|
|
1613
|
+
return _HistoryOfProceduresTemplate.generateStaticNarrative(resource, timezone);
|
|
1614
|
+
}
|
|
1615
|
+
/**
|
|
1616
|
+
* Internal static implementation that actually generates the narrative
|
|
1617
|
+
* @param resource - FHIR Bundle containing Procedure resources
|
|
1618
|
+
* @param timezone - Optional timezone to use for date formatting (e.g., 'America/New_York', 'Europe/London')
|
|
1619
|
+
* @returns HTML string for rendering
|
|
1620
|
+
*/
|
|
1621
|
+
static generateStaticNarrative(resource, timezone) {
|
|
1622
|
+
const templateUtilities = new TemplateUtilities(resource);
|
|
1623
|
+
let html = `
|
|
1624
|
+
<h5>History Of Procedures</h5>
|
|
1625
|
+
<table class="hapiPropertyTable">
|
|
1626
|
+
<thead>
|
|
1627
|
+
<tr>
|
|
1628
|
+
<th>Procedure</th>
|
|
1629
|
+
<th>Comments</th>
|
|
1630
|
+
<th>Date</th>
|
|
1631
|
+
</tr>
|
|
1632
|
+
</thead>
|
|
1633
|
+
<tbody>`;
|
|
1634
|
+
if (resource.entry && Array.isArray(resource.entry)) {
|
|
1635
|
+
for (const entry of resource.entry) {
|
|
1636
|
+
const proc = entry.resource;
|
|
1637
|
+
if (proc.resourceType === "Composition") {
|
|
1638
|
+
continue;
|
|
1639
|
+
}
|
|
1640
|
+
html += `
|
|
1641
|
+
<tr id="${templateUtilities.narrativeLinkId(proc)}">
|
|
1642
|
+
<td>${templateUtilities.codeableConcept(proc.code, "display")}</td>
|
|
1643
|
+
<td>${templateUtilities.renderNotes(proc.note, timezone)}</td>
|
|
1644
|
+
<td>${templateUtilities.renderTime(proc.performedDateTime, timezone)}</td>
|
|
1645
|
+
</tr>`;
|
|
1646
|
+
}
|
|
1647
|
+
}
|
|
1648
|
+
html += `
|
|
1649
|
+
</tbody>
|
|
1650
|
+
</table>`;
|
|
1651
|
+
return html;
|
|
1652
|
+
}
|
|
1653
|
+
};
|
|
1654
|
+
|
|
1655
|
+
// src/narratives/templates/typescript/SocialHistoryTemplate.ts
|
|
1656
|
+
var SocialHistoryTemplate = class _SocialHistoryTemplate {
|
|
1657
|
+
/**
|
|
1658
|
+
* Generate HTML narrative for Social History
|
|
1659
|
+
* @param resource - FHIR Bundle containing Observation resources
|
|
1660
|
+
* @param timezone - Optional timezone to use for date formatting (e.g., 'America/New_York', 'Europe/London')
|
|
1661
|
+
* @returns HTML string for rendering
|
|
1662
|
+
*/
|
|
1663
|
+
generateNarrative(resource, timezone) {
|
|
1664
|
+
return _SocialHistoryTemplate.generateStaticNarrative(resource, timezone);
|
|
1665
|
+
}
|
|
1666
|
+
/**
|
|
1667
|
+
* Internal static implementation that actually generates the narrative
|
|
1668
|
+
* @param resource - FHIR Bundle containing Observation resources
|
|
1669
|
+
* @param timezone - Optional timezone to use for date formatting (e.g., 'America/New_York', 'Europe/London')
|
|
1670
|
+
* @returns HTML string for rendering
|
|
1671
|
+
*/
|
|
1672
|
+
static generateStaticNarrative(resource, timezone) {
|
|
1673
|
+
const templateUtilities = new TemplateUtilities(resource);
|
|
1674
|
+
let html = `
|
|
1675
|
+
<h5>Social History</h5>
|
|
1676
|
+
<table class="hapiPropertyTable">
|
|
1677
|
+
<thead>
|
|
1678
|
+
<tr>
|
|
1679
|
+
<th>Code</th>
|
|
1680
|
+
<th>Result</th>
|
|
1681
|
+
<th>Unit</th>
|
|
1682
|
+
<th>Comments</th>
|
|
1683
|
+
<th>Date</th>
|
|
1684
|
+
</tr>
|
|
1685
|
+
</thead>
|
|
1686
|
+
<tbody>`;
|
|
1687
|
+
if (resource.entry && Array.isArray(resource.entry)) {
|
|
1688
|
+
for (const entry of resource.entry) {
|
|
1689
|
+
const obs = entry.resource;
|
|
1690
|
+
if (obs.resourceType === "Composition") {
|
|
1691
|
+
continue;
|
|
1692
|
+
}
|
|
1693
|
+
html += `
|
|
1694
|
+
<tr id="${templateUtilities.narrativeLinkId(obs)}">
|
|
1695
|
+
<td>${templateUtilities.codeableConcept(obs.code, "display")}</td>
|
|
1696
|
+
<td>${templateUtilities.extractObservationValue(obs)}</td>
|
|
1697
|
+
<td>${templateUtilities.extractObservationValueUnit(obs)}</td>
|
|
1698
|
+
<td>${templateUtilities.renderNotes(obs.note, timezone)}</td>
|
|
1699
|
+
<td>${templateUtilities.renderTime(obs.effectiveDateTime, timezone)}</td>
|
|
1700
|
+
</tr>`;
|
|
1701
|
+
}
|
|
1702
|
+
}
|
|
1703
|
+
html += `
|
|
1704
|
+
</tbody>
|
|
1705
|
+
</table>`;
|
|
1706
|
+
return html;
|
|
1707
|
+
}
|
|
1708
|
+
};
|
|
1709
|
+
|
|
1710
|
+
// src/narratives/templates/typescript/PastHistoryOfIllnessTemplate.ts
|
|
1711
|
+
var PastHistoryOfIllnessTemplate = class {
|
|
1712
|
+
/**
|
|
1713
|
+
* Generate HTML narrative for Past History of Illnesses
|
|
1714
|
+
* @param resource - FHIR Bundle containing Condition resources
|
|
1715
|
+
* @param timezone - Optional timezone to use for date formatting (e.g., 'America/New_York', 'Europe/London')
|
|
1716
|
+
* @returns HTML string for rendering
|
|
1717
|
+
*/
|
|
1718
|
+
generateNarrative(resource, timezone) {
|
|
1719
|
+
const templateUtilities = new TemplateUtilities(resource);
|
|
1720
|
+
let html = `
|
|
1721
|
+
<h5>Past History of Illnesses</h5>
|
|
1722
|
+
<table class="hapiPropertyTable">
|
|
1723
|
+
<thead>
|
|
1724
|
+
<tr>
|
|
1725
|
+
<th>Medical Problems</th>
|
|
1726
|
+
<th>Status</th>
|
|
1727
|
+
<th>Comments</th>
|
|
1728
|
+
<th>Date</th>
|
|
1729
|
+
</tr>
|
|
1730
|
+
</thead>
|
|
1731
|
+
<tbody>`;
|
|
1732
|
+
if (resource.entry && Array.isArray(resource.entry)) {
|
|
1733
|
+
for (const entry of resource.entry) {
|
|
1734
|
+
const cond = entry.resource;
|
|
1735
|
+
if (cond.resourceType === "Composition") {
|
|
1736
|
+
continue;
|
|
1737
|
+
}
|
|
1738
|
+
html += `
|
|
1739
|
+
<tr id="${templateUtilities.narrativeLinkId(cond)}">
|
|
1740
|
+
<td>${templateUtilities.codeableConcept(cond.code, "display")}</td>
|
|
1741
|
+
<td>${templateUtilities.codeableConcept(cond.clinicalStatus, "code")}</td>
|
|
1742
|
+
<td>${templateUtilities.renderNotes(cond.note, timezone)}</td>
|
|
1743
|
+
<td>${templateUtilities.renderTime(cond.onsetDateTime, timezone)}</td>
|
|
1744
|
+
</tr>`;
|
|
1745
|
+
}
|
|
1746
|
+
}
|
|
1747
|
+
html += `
|
|
1748
|
+
</tbody>
|
|
1749
|
+
</table>`;
|
|
1750
|
+
return html;
|
|
1751
|
+
}
|
|
1752
|
+
};
|
|
1753
|
+
|
|
1754
|
+
// src/narratives/templates/typescript/PlanOfCareTemplate.ts
|
|
1755
|
+
var PlanOfCareTemplate = class {
|
|
1756
|
+
/**
|
|
1757
|
+
* Generate HTML narrative for Plan of Care
|
|
1758
|
+
* @param resource - FHIR Bundle containing CarePlan resources
|
|
1759
|
+
* @param timezone - Optional timezone to use for date formatting (e.g., 'America/New_York', 'Europe/London')
|
|
1760
|
+
* @returns HTML string for rendering
|
|
1761
|
+
*/
|
|
1762
|
+
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
|
1763
|
+
generateNarrative(resource, timezone) {
|
|
1764
|
+
const templateUtilities = new TemplateUtilities(resource);
|
|
1765
|
+
let html = `
|
|
1766
|
+
<h5>Plan of Care</h5>
|
|
1767
|
+
<table class="hapiPropertyTable">
|
|
1768
|
+
<thead>
|
|
1769
|
+
<tr>
|
|
1770
|
+
<th>Activity</th>
|
|
1771
|
+
<th>Intent</th>
|
|
1772
|
+
<th>Comments</th>
|
|
1773
|
+
<th>Planned Start</th>
|
|
1774
|
+
<th>Planned End</th>
|
|
1775
|
+
</tr>
|
|
1776
|
+
</thead>
|
|
1777
|
+
<tbody>`;
|
|
1778
|
+
if (resource.entry && Array.isArray(resource.entry)) {
|
|
1779
|
+
for (const entry of resource.entry) {
|
|
1780
|
+
const cp = entry.resource;
|
|
1781
|
+
if (cp.resourceType === "Composition") {
|
|
1782
|
+
continue;
|
|
1783
|
+
}
|
|
1784
|
+
html += `
|
|
1785
|
+
<tr id="${templateUtilities.narrativeLinkId(cp)}">
|
|
1786
|
+
<td>${cp.description || ""}</td>
|
|
1787
|
+
<td>${cp.intent || cp.intent || ""}</td>
|
|
1788
|
+
<td>${templateUtilities.concat(cp.note, "text")}</td>
|
|
1789
|
+
<td>${cp.period?.start || ""}</td>
|
|
1790
|
+
<td>${cp.period?.end || ""}</td>
|
|
1791
|
+
</tr>`;
|
|
1792
|
+
}
|
|
1793
|
+
}
|
|
1794
|
+
html += `
|
|
1795
|
+
</tbody>
|
|
1796
|
+
</table>`;
|
|
1797
|
+
return html;
|
|
1798
|
+
}
|
|
1799
|
+
};
|
|
1800
|
+
|
|
1801
|
+
// src/narratives/templates/typescript/FunctionalStatusTemplate.ts
|
|
1802
|
+
var FunctionalStatusTemplate = class _FunctionalStatusTemplate {
|
|
1803
|
+
/**
|
|
1804
|
+
* Generate HTML narrative for Functional Status
|
|
1805
|
+
* @param resource - FHIR Bundle containing Observation resources
|
|
1806
|
+
* @param timezone - Optional timezone to use for date formatting (e.g., 'America/New_York', 'Europe/London')
|
|
1807
|
+
* @returns HTML string for rendering
|
|
1808
|
+
*/
|
|
1809
|
+
generateNarrative(resource, timezone) {
|
|
1810
|
+
return _FunctionalStatusTemplate.generateStaticNarrative(resource, timezone);
|
|
1811
|
+
}
|
|
1812
|
+
/**
|
|
1813
|
+
* Internal static implementation that actually generates the narrative
|
|
1814
|
+
* @param resource - FHIR Bundle containing Observation resources
|
|
1815
|
+
* @param timezone - Optional timezone to use for date formatting (e.g., 'America/New_York', 'Europe/London')
|
|
1816
|
+
* @returns HTML string for rendering
|
|
1817
|
+
*/
|
|
1818
|
+
static generateStaticNarrative(resource, timezone) {
|
|
1819
|
+
const templateUtilities = new TemplateUtilities(resource);
|
|
1820
|
+
let html = `
|
|
1821
|
+
<h5>Functional Status</h5>
|
|
1822
|
+
<table class="hapiPropertyTable">
|
|
1823
|
+
<thead>
|
|
1824
|
+
<tr>
|
|
1825
|
+
<th>Assessment</th>
|
|
1826
|
+
<th>Status</th>
|
|
1827
|
+
<th>Finding</th>
|
|
1828
|
+
<th>Comments</th>
|
|
1829
|
+
<th>Date</th>
|
|
1830
|
+
</tr>
|
|
1831
|
+
</thead>
|
|
1832
|
+
<tbody>`;
|
|
1833
|
+
if (resource.entry && Array.isArray(resource.entry)) {
|
|
1834
|
+
for (const entry of resource.entry) {
|
|
1835
|
+
const ci = entry.resource;
|
|
1836
|
+
if (ci.resourceType === "Composition") {
|
|
1837
|
+
continue;
|
|
1838
|
+
}
|
|
1839
|
+
html += `
|
|
1840
|
+
<tr id="${templateUtilities.narrativeLinkId(ci)}">
|
|
1841
|
+
<td>${templateUtilities.codeableConcept(ci.code, "display")}</td>
|
|
1842
|
+
<td>${ci.status || ""}</td>
|
|
1843
|
+
<td>${ci.summary || ""}</td>
|
|
1844
|
+
<td>${templateUtilities.renderNotes(ci.note, timezone)}</td>
|
|
1845
|
+
<td>${templateUtilities.renderEffective(ci.effectiveDateTime, timezone)}</td>
|
|
1846
|
+
</tr>`;
|
|
1847
|
+
}
|
|
1848
|
+
}
|
|
1849
|
+
html += `
|
|
1850
|
+
</tbody>
|
|
1851
|
+
</table>`;
|
|
1852
|
+
return html;
|
|
1853
|
+
}
|
|
1854
|
+
};
|
|
1855
|
+
|
|
1856
|
+
// src/narratives/templates/typescript/PregnancyTemplate.ts
|
|
1857
|
+
var PregnancyTemplate = class _PregnancyTemplate {
|
|
1858
|
+
/**
|
|
1859
|
+
* Generate HTML narrative for Pregnancy
|
|
1860
|
+
* @param resource - FHIR Bundle containing Observation resources
|
|
1861
|
+
* @param timezone - Optional timezone to use for date formatting (e.g., 'America/New_York', 'Europe/London')
|
|
1862
|
+
* @returns HTML string for rendering
|
|
1863
|
+
*/
|
|
1864
|
+
generateNarrative(resource, timezone) {
|
|
1865
|
+
return _PregnancyTemplate.generateStaticNarrative(resource, timezone);
|
|
1866
|
+
}
|
|
1867
|
+
/**
|
|
1868
|
+
* Internal static implementation that actually generates the narrative
|
|
1869
|
+
* @param resource - FHIR Bundle containing Observation resources
|
|
1870
|
+
* @param timezone - Optional timezone to use for date formatting (e.g., 'America/New_York', 'Europe/London')
|
|
1871
|
+
* @returns HTML string for rendering
|
|
1872
|
+
*/
|
|
1873
|
+
static generateStaticNarrative(resource, timezone) {
|
|
1874
|
+
const templateUtilities = new TemplateUtilities(resource);
|
|
1875
|
+
let html = `
|
|
1876
|
+
<h5>Pregnancy</h5>
|
|
1877
|
+
<table class="hapiPropertyTable">
|
|
1878
|
+
<thead>
|
|
1879
|
+
<tr>
|
|
1880
|
+
<th>Code</th>
|
|
1881
|
+
<th>Result</th>
|
|
1882
|
+
<th>Comments</th>
|
|
1883
|
+
<th>Date</th>
|
|
1884
|
+
</tr>
|
|
1885
|
+
</thead>
|
|
1886
|
+
<tbody>`;
|
|
1887
|
+
if (resource.entry && Array.isArray(resource.entry)) {
|
|
1888
|
+
for (const entry of resource.entry) {
|
|
1889
|
+
const obs = entry.resource;
|
|
1890
|
+
if (obs.resourceType === "Composition") {
|
|
1891
|
+
continue;
|
|
1892
|
+
}
|
|
1893
|
+
html += `
|
|
1894
|
+
<tr id="${templateUtilities.narrativeLinkId(obs)}">
|
|
1895
|
+
<td>${templateUtilities.codeableConcept(obs.code, "display")}</td>
|
|
1896
|
+
<td>${templateUtilities.extractObservationValue(obs)}</td>
|
|
1897
|
+
<td>${templateUtilities.renderNotes(obs.note, timezone)}</td>
|
|
1898
|
+
<td>${templateUtilities.renderEffective(obs.effectiveDateTime, timezone)}</td>
|
|
1899
|
+
</tr>`;
|
|
1900
|
+
}
|
|
1901
|
+
}
|
|
1902
|
+
html += `
|
|
1903
|
+
</tbody>
|
|
1904
|
+
</table>`;
|
|
1905
|
+
return html;
|
|
1906
|
+
}
|
|
1907
|
+
};
|
|
1908
|
+
|
|
1909
|
+
// src/narratives/templates/typescript/AdvanceDirectivesTemplate.ts
|
|
1910
|
+
var AdvanceDirectivesTemplate = class _AdvanceDirectivesTemplate {
|
|
1911
|
+
/**
|
|
1912
|
+
* Generate HTML narrative for Advance Directives
|
|
1913
|
+
* @param resource - FHIR Bundle containing Advance Directive resources
|
|
1914
|
+
* @param timezone - Optional timezone to use for date formatting (e.g., 'America/New_York', 'Europe/London')
|
|
1915
|
+
* @returns HTML string for rendering
|
|
1916
|
+
*/
|
|
1917
|
+
generateNarrative(resource, timezone) {
|
|
1918
|
+
return _AdvanceDirectivesTemplate.generateStaticNarrative(resource, timezone);
|
|
1919
|
+
}
|
|
1920
|
+
/**
|
|
1921
|
+
* Internal static implementation that actually generates the narrative
|
|
1922
|
+
* @param resource - FHIR Bundle containing Advance Directive resources
|
|
1923
|
+
* @param timezone - Optional timezone to use for date formatting (e.g., 'America/New_York', 'Europe/London')
|
|
1924
|
+
* @returns HTML string for rendering
|
|
1925
|
+
*/
|
|
1926
|
+
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
|
1927
|
+
static generateStaticNarrative(resource, timezone) {
|
|
1928
|
+
const templateUtilities = new TemplateUtilities(resource);
|
|
1929
|
+
let html = `
|
|
1930
|
+
<h5>Advance Directives</h5>
|
|
1931
|
+
<table class="hapiPropertyTable">
|
|
1932
|
+
<thead>
|
|
1933
|
+
<tr>
|
|
1934
|
+
<th>Scope</th>
|
|
1935
|
+
<th>Status</th>
|
|
1936
|
+
<th>Action Controlled</th>
|
|
1937
|
+
<th>Date</th>
|
|
1938
|
+
</tr>
|
|
1939
|
+
</thead>
|
|
1940
|
+
<tbody>`;
|
|
1941
|
+
if (resource.entry && Array.isArray(resource.entry)) {
|
|
1942
|
+
for (const entry of resource.entry) {
|
|
1943
|
+
const consent = entry.resource;
|
|
1944
|
+
if (consent.resourceType === "Composition") {
|
|
1945
|
+
continue;
|
|
1946
|
+
}
|
|
1947
|
+
html += `
|
|
1948
|
+
<tr id="${templateUtilities.narrativeLinkId(consent)}">
|
|
1949
|
+
<td>${templateUtilities.codeableConcept(consent.scope, "display")}</td>
|
|
1950
|
+
<td>${consent.status || ""}</td>
|
|
1951
|
+
<td>${consent.provision?.action ? templateUtilities.concatCodeableConcept(consent.provision.action) : ""}</td>
|
|
1952
|
+
<td>${consent.dateTime || ""}</td>
|
|
1953
|
+
</tr>`;
|
|
1954
|
+
}
|
|
1955
|
+
}
|
|
1956
|
+
html += `
|
|
1957
|
+
</tbody>
|
|
1958
|
+
</table>`;
|
|
1959
|
+
return html;
|
|
1960
|
+
}
|
|
1961
|
+
};
|
|
1962
|
+
|
|
1963
|
+
// src/narratives/templates/typescript/FamilyHistoryTemplate.ts
|
|
1964
|
+
var FamilyHistoryTemplate = class {
|
|
1965
|
+
/**
|
|
1966
|
+
* Generate HTML narrative for Family History
|
|
1967
|
+
* @param resource - FHIR Bundle containing FamilyMemberHistory resources
|
|
1968
|
+
* @param timezone - Optional timezone to use for date formatting (e.g., 'America/New_York', 'Europe/London')
|
|
1969
|
+
* @returns HTML string for rendering
|
|
1970
|
+
*/
|
|
1971
|
+
generateNarrative(resource, timezone) {
|
|
1972
|
+
const templateUtilities = new TemplateUtilities(resource);
|
|
1973
|
+
let html = `
|
|
1974
|
+
<h5>Family History</h5>
|
|
1975
|
+
<table class="hapiPropertyTable">
|
|
1976
|
+
<thead>
|
|
1977
|
+
<tr>
|
|
1978
|
+
<th>Relationship</th>
|
|
1979
|
+
<th>Condition</th>
|
|
1980
|
+
<th>Status</th>
|
|
1981
|
+
<th>Onset</th>
|
|
1982
|
+
<th>Notes</th>
|
|
1983
|
+
</tr>
|
|
1984
|
+
</thead>
|
|
1985
|
+
<tbody>`;
|
|
1986
|
+
if (resource.entry && Array.isArray(resource.entry)) {
|
|
1987
|
+
let hasFamilyHistory = false;
|
|
1988
|
+
for (const entry of resource.entry) {
|
|
1989
|
+
const familyHistory = entry.resource;
|
|
1990
|
+
if (!familyHistory || familyHistory.resourceType !== "FamilyMemberHistory") {
|
|
1991
|
+
continue;
|
|
1992
|
+
}
|
|
1993
|
+
hasFamilyHistory = true;
|
|
1994
|
+
const fmh = familyHistory;
|
|
1995
|
+
const relationship = templateUtilities.codeableConcept(fmh.relationship, "display");
|
|
1996
|
+
if (fmh.condition && Array.isArray(fmh.condition)) {
|
|
1997
|
+
for (const condition of fmh.condition) {
|
|
1998
|
+
const conditionCode = templateUtilities.codeableConcept(condition.code, "display");
|
|
1999
|
+
const status = fmh.status || "";
|
|
2000
|
+
let onset = "";
|
|
2001
|
+
if (condition.onsetAge) {
|
|
2002
|
+
onset = templateUtilities.renderOnset(condition.onsetAge, timezone);
|
|
2003
|
+
}
|
|
2004
|
+
const notes = condition.note ? templateUtilities.renderNotes(condition.note, timezone) : templateUtilities.renderNotes(fmh.note, timezone);
|
|
2005
|
+
html += `
|
|
2006
|
+
<tr id="${templateUtilities.narrativeLinkId(fmh)}">
|
|
2007
|
+
<td>${relationship}</td>
|
|
2008
|
+
<td>${conditionCode}</td>
|
|
2009
|
+
<td>${status}</td>
|
|
2010
|
+
<td>${onset}</td>
|
|
2011
|
+
<td>${notes}</td>
|
|
2012
|
+
</tr>`;
|
|
2013
|
+
}
|
|
2014
|
+
} else {
|
|
2015
|
+
html += `
|
|
2016
|
+
<tr id="${templateUtilities.narrativeLinkId(fmh)}">
|
|
2017
|
+
<td>${relationship}</td>
|
|
2018
|
+
<td>Not specified</td>
|
|
2019
|
+
<td>${fmh.status || ""}</td>
|
|
2020
|
+
<td></td>
|
|
2021
|
+
<td>${templateUtilities.renderNotes(fmh.note, timezone)}</td>
|
|
2022
|
+
</tr>`;
|
|
2023
|
+
}
|
|
2024
|
+
}
|
|
2025
|
+
if (!hasFamilyHistory) {
|
|
2026
|
+
html += `
|
|
2027
|
+
<tr>
|
|
2028
|
+
<td colspan="5">No family history recorded</td>
|
|
2029
|
+
</tr>`;
|
|
2030
|
+
}
|
|
2031
|
+
} else {
|
|
2032
|
+
html += `
|
|
2033
|
+
<tr>
|
|
2034
|
+
<td colspan="5">No family history recorded</td>
|
|
2035
|
+
</tr>`;
|
|
2036
|
+
}
|
|
2037
|
+
html += `
|
|
2038
|
+
</tbody>
|
|
2039
|
+
</table>`;
|
|
2040
|
+
return html;
|
|
2041
|
+
}
|
|
2042
|
+
};
|
|
2043
|
+
|
|
2044
|
+
// src/narratives/templates/typescript/ClinicalImpressionTemplate.ts
|
|
2045
|
+
var ClinicalImpressionTemplate = class {
|
|
2046
|
+
/**
|
|
2047
|
+
* Generate HTML narrative for Clinical Impressions
|
|
2048
|
+
* @param resource - FHIR Bundle containing ClinicalImpression resources
|
|
2049
|
+
* @param timezone - Optional timezone to use for date formatting (e.g., 'America/New_York', 'Europe/London')
|
|
2050
|
+
* @returns HTML string for rendering
|
|
2051
|
+
*/
|
|
2052
|
+
generateNarrative(resource, timezone) {
|
|
2053
|
+
const templateUtilities = new TemplateUtilities(resource);
|
|
2054
|
+
let html = `
|
|
2055
|
+
<h5>Clinical Impressions</h5>
|
|
2056
|
+
<table class="hapiPropertyTable">
|
|
2057
|
+
<thead>
|
|
2058
|
+
<tr>
|
|
2059
|
+
<th>Date</th>
|
|
2060
|
+
<th>Status</th>
|
|
2061
|
+
<th>Description</th>
|
|
2062
|
+
<th>Summary</th>
|
|
2063
|
+
<th>Findings</th>
|
|
2064
|
+
<th>Notes</th>
|
|
2065
|
+
</tr>
|
|
2066
|
+
</thead>
|
|
2067
|
+
<tbody>`;
|
|
2068
|
+
if (resource.entry && Array.isArray(resource.entry)) {
|
|
2069
|
+
let hasClinicalImpressions = false;
|
|
2070
|
+
for (const entry of resource.entry) {
|
|
2071
|
+
const res = entry.resource;
|
|
2072
|
+
if (!res || res.resourceType !== "ClinicalImpression") {
|
|
2073
|
+
continue;
|
|
2074
|
+
}
|
|
2075
|
+
hasClinicalImpressions = true;
|
|
2076
|
+
const impression = res;
|
|
2077
|
+
let formattedDate = "";
|
|
2078
|
+
if (impression.effectiveDateTime) {
|
|
2079
|
+
formattedDate = templateUtilities.renderTime(impression.effectiveDateTime, timezone);
|
|
2080
|
+
} else if (impression.effectivePeriod) {
|
|
2081
|
+
formattedDate = templateUtilities.renderPeriod(impression.effectivePeriod, timezone);
|
|
2082
|
+
} else if (impression.date) {
|
|
2083
|
+
formattedDate = templateUtilities.renderDate(impression.date);
|
|
2084
|
+
}
|
|
2085
|
+
const status = impression.status || "";
|
|
2086
|
+
const description = impression.description || "";
|
|
2087
|
+
const summary = impression.summary || "";
|
|
2088
|
+
let findingsHtml = "";
|
|
2089
|
+
if (impression.finding && impression.finding.length > 0) {
|
|
2090
|
+
findingsHtml = "<ul>";
|
|
2091
|
+
for (const finding of impression.finding) {
|
|
2092
|
+
const findingText = finding.itemCodeableConcept ? templateUtilities.codeableConcept(finding.itemCodeableConcept, "display") : finding.itemReference ? templateUtilities.renderReference(finding.itemReference) : "";
|
|
2093
|
+
const cause = finding.basis || "";
|
|
2094
|
+
findingsHtml += `<li>${findingText}${cause ? ` - ${cause}` : ""}</li>`;
|
|
2095
|
+
}
|
|
2096
|
+
findingsHtml += "</ul>";
|
|
2097
|
+
}
|
|
2098
|
+
const notes = templateUtilities.renderNotes(impression.note, timezone);
|
|
2099
|
+
html += `
|
|
2100
|
+
<tr id="${templateUtilities.narrativeLinkId(impression)}">
|
|
2101
|
+
<td>${formattedDate}</td>
|
|
2102
|
+
<td>${status}</td>
|
|
2103
|
+
<td>${description}</td>
|
|
2104
|
+
<td>${summary}</td>
|
|
2105
|
+
<td>${findingsHtml}</td>
|
|
2106
|
+
<td>${notes}</td>
|
|
2107
|
+
</tr>`;
|
|
2108
|
+
}
|
|
2109
|
+
if (!hasClinicalImpressions) {
|
|
2110
|
+
html += `
|
|
2111
|
+
<tr>
|
|
2112
|
+
<td colspan="6">No clinical impressions recorded</td>
|
|
2113
|
+
</tr>`;
|
|
2114
|
+
}
|
|
2115
|
+
} else {
|
|
2116
|
+
html += `
|
|
2117
|
+
<tr>
|
|
2118
|
+
<td colspan="6">No clinical impressions recorded</td>
|
|
2119
|
+
</tr>`;
|
|
2120
|
+
}
|
|
2121
|
+
html += `
|
|
2122
|
+
</tbody>
|
|
2123
|
+
</table>`;
|
|
2124
|
+
return html;
|
|
2125
|
+
}
|
|
2126
|
+
};
|
|
2127
|
+
|
|
2128
|
+
// src/narratives/templates/typescript/TypeScriptTemplateMapper.ts
|
|
2129
|
+
var TypeScriptTemplateMapper = class {
|
|
2130
|
+
/**
|
|
2131
|
+
* Generates HTML narrative for a specific IPS section
|
|
2132
|
+
* @param section - The IPS section
|
|
2133
|
+
* @param resource - FHIR Bundle containing resources
|
|
2134
|
+
* @param timezone - Optional timezone to use for date formatting (e.g., 'America/New_York', 'Europe/London')
|
|
2135
|
+
* @returns HTML string for rendering
|
|
2136
|
+
*/
|
|
2137
|
+
static generateNarrative(section, resource, timezone) {
|
|
2138
|
+
const templateClass = this.sectionToTemplate[section];
|
|
2139
|
+
if (!templateClass) {
|
|
2140
|
+
throw new Error(`No template found for section: ${section}`);
|
|
2141
|
+
}
|
|
2142
|
+
return templateClass.generateNarrative(resource, timezone);
|
|
2143
|
+
}
|
|
2144
|
+
};
|
|
2145
|
+
// Map of section types to their template classes
|
|
2146
|
+
// Each template either needs to be instantiated or has a static generateNarrative method
|
|
2147
|
+
TypeScriptTemplateMapper.sectionToTemplate = {
|
|
2148
|
+
["Patient" /* PATIENT */]: new PatientTemplate(),
|
|
2149
|
+
["AllergyIntoleranceSection" /* ALLERGIES */]: new AllergyIntoleranceTemplate(),
|
|
2150
|
+
["MedicationSection" /* MEDICATIONS */]: new MedicationSummaryTemplate(),
|
|
2151
|
+
["ImmunizationSection" /* IMMUNIZATIONS */]: new ImmunizationsTemplate(),
|
|
2152
|
+
["ProblemSection" /* PROBLEMS */]: new ProblemListTemplate(),
|
|
2153
|
+
["VitalSignsSection" /* VITAL_SIGNS */]: new VitalSignsTemplate(),
|
|
2154
|
+
["MedicalDeviceSection" /* MEDICAL_DEVICES */]: new MedicalDevicesTemplate(),
|
|
2155
|
+
["DiagnosticReportSection" /* DIAGNOSTIC_REPORTS */]: new DiagnosticResultsTemplate(),
|
|
2156
|
+
["ProcedureSection" /* PROCEDURES */]: new HistoryOfProceduresTemplate(),
|
|
2157
|
+
["FamilyHistorySection" /* FAMILY_HISTORY */]: new FamilyHistoryTemplate(),
|
|
2158
|
+
["SocialHistorySection" /* SOCIAL_HISTORY */]: new SocialHistoryTemplate(),
|
|
2159
|
+
["PregnancyHistorySection" /* PREGNANCY_HISTORY */]: new PregnancyTemplate(),
|
|
2160
|
+
["FunctionalStatusSection" /* FUNCTIONAL_STATUS */]: new FunctionalStatusTemplate(),
|
|
2161
|
+
["MedicalHistorySection" /* MEDICAL_HISTORY */]: new PastHistoryOfIllnessTemplate(),
|
|
2162
|
+
["CarePlanSection" /* CARE_PLAN */]: new PlanOfCareTemplate(),
|
|
2163
|
+
["ClinicalImpressionSection" /* CLINICAL_IMPRESSION */]: new ClinicalImpressionTemplate(),
|
|
2164
|
+
["AdvanceDirectivesSection" /* ADVANCE_DIRECTIVES */]: new AdvanceDirectivesTemplate()
|
|
2165
|
+
};
|
|
2166
|
+
|
|
2167
|
+
// src/generators/narrative_generator.ts
|
|
2168
|
+
var NarrativeGenerator = class {
|
|
2169
|
+
/**
|
|
2170
|
+
* Generates narrative HTML content for a section
|
|
2171
|
+
* @param section - IPS section type
|
|
2172
|
+
* @param resources - Array of domain resources
|
|
2173
|
+
* @param timezone - Optional timezone to use for date formatting (e.g., 'America/New_York', 'Europe/London')
|
|
2174
|
+
* @returns Generated HTML content or undefined if no resources
|
|
2175
|
+
*/
|
|
2176
|
+
static generateNarrativeContent(section, resources, timezone) {
|
|
2177
|
+
if (!resources || resources.length === 0) {
|
|
2178
|
+
return void 0;
|
|
2179
|
+
}
|
|
2180
|
+
try {
|
|
2181
|
+
const bundle = {
|
|
2182
|
+
resourceType: "Bundle",
|
|
2183
|
+
type: "collection",
|
|
2184
|
+
entry: resources.map((resource) => ({
|
|
2185
|
+
resource
|
|
2186
|
+
}))
|
|
2187
|
+
};
|
|
2188
|
+
return TypeScriptTemplateMapper.generateNarrative(section, bundle, timezone);
|
|
2189
|
+
} catch (error) {
|
|
2190
|
+
console.error(`Error generating narrative for section ${section}:`, error);
|
|
2191
|
+
return `<div class="error">Error generating narrative: ${error instanceof Error ? error.message : String(error)}</div>`;
|
|
2192
|
+
}
|
|
2193
|
+
}
|
|
2194
|
+
/**
|
|
2195
|
+
* Creates a complete FHIR Narrative object
|
|
2196
|
+
* @param content - HTML content
|
|
2197
|
+
* @returns FHIR Narrative object
|
|
2198
|
+
*/
|
|
2199
|
+
static createNarrative(content) {
|
|
2200
|
+
content = content.replace(/\s+/g, " ").trim();
|
|
2201
|
+
const divMatch = content.match(/^<div[^>]*>(.*?)<\/div>$/);
|
|
2202
|
+
if (divMatch) {
|
|
2203
|
+
content = divMatch[1];
|
|
2204
|
+
}
|
|
2205
|
+
return {
|
|
2206
|
+
status: "generated",
|
|
2207
|
+
div: `<div xmlns="http://www.w3.org/1999/xhtml">${content}</div>`
|
|
2208
|
+
};
|
|
2209
|
+
}
|
|
2210
|
+
/**
|
|
2211
|
+
* Generates a complete FHIR Narrative object for a section
|
|
2212
|
+
* @param section - IPS section type
|
|
2213
|
+
* @param resources - Array of domain resources
|
|
2214
|
+
* @param timezone - Optional timezone to use for date formatting (e.g., 'America/New_York', 'Europe/London')
|
|
2215
|
+
* @returns FHIR Narrative object or undefined if no resources
|
|
2216
|
+
*/
|
|
2217
|
+
static generateNarrative(section, resources, timezone) {
|
|
2218
|
+
const content = this.generateNarrativeContent(section, resources, timezone);
|
|
2219
|
+
if (!content) {
|
|
2220
|
+
return void 0;
|
|
2221
|
+
}
|
|
2222
|
+
return this.createNarrative(content);
|
|
2223
|
+
}
|
|
2224
|
+
/**
|
|
2225
|
+
* Wrap content in XHTML div with FHIR namespace
|
|
2226
|
+
* @param content - HTML content to wrap
|
|
2227
|
+
* @returns XHTML div string
|
|
2228
|
+
*/
|
|
2229
|
+
static wrapInXhtml(content) {
|
|
2230
|
+
return `<div xmlns="http://www.w3.org/1999/xhtml">${content}</div>`;
|
|
2231
|
+
}
|
|
2232
|
+
};
|
|
2233
|
+
|
|
2234
|
+
// src/generators/fhir_summary_generator.ts
|
|
2235
|
+
var ComprehensiveIPSCompositionBuilder = class {
|
|
2236
|
+
constructor() {
|
|
2237
|
+
this.sections = [];
|
|
2238
|
+
this.mandatorySectionsAdded = /* @__PURE__ */ new Set();
|
|
2239
|
+
this.resources = /* @__PURE__ */ new Set();
|
|
2240
|
+
}
|
|
2241
|
+
/**
|
|
2242
|
+
* sets the patient resource for the IPS Composition.
|
|
2243
|
+
* This is not needed if you are calling read_bundle, but can be used to set the patient resource directly.
|
|
2244
|
+
* @param patient - FHIR Patient resource to set
|
|
2245
|
+
*/
|
|
2246
|
+
setPatient(patient) {
|
|
2247
|
+
if (!patient || patient.resourceType !== "Patient") {
|
|
2248
|
+
throw new Error("Invalid Patient resource");
|
|
2249
|
+
}
|
|
2250
|
+
this.patient = patient;
|
|
2251
|
+
return this;
|
|
2252
|
+
}
|
|
2253
|
+
// Comprehensive method to add sections with validation
|
|
2254
|
+
addSection(sectionType, resources, timezone, options) {
|
|
2255
|
+
const validResources = resources;
|
|
2256
|
+
for (const resource of validResources) {
|
|
2257
|
+
this.resources.add(resource);
|
|
2258
|
+
}
|
|
2259
|
+
if (validResources.length === 0) {
|
|
2260
|
+
if (!options?.isOptional) {
|
|
2261
|
+
throw new Error(`No valid resources for mandatory section: ${sectionType}`);
|
|
2262
|
+
}
|
|
2263
|
+
return this;
|
|
2264
|
+
}
|
|
2265
|
+
if (sectionType !== "Patient" /* PATIENT */) {
|
|
2266
|
+
const narrative = NarrativeGenerator.generateNarrative(sectionType, validResources, timezone);
|
|
2267
|
+
const sectionEntry = {
|
|
2268
|
+
title: IPS_SECTION_DISPLAY_NAMES[sectionType] || sectionType,
|
|
2269
|
+
code: {
|
|
2270
|
+
coding: [{
|
|
2271
|
+
system: "http://loinc.org",
|
|
2272
|
+
code: options?.customLoincCode || IPS_SECTION_LOINC_CODES[sectionType],
|
|
2273
|
+
display: IPS_SECTION_DISPLAY_NAMES[sectionType] || sectionType
|
|
2274
|
+
}],
|
|
2275
|
+
text: IPS_SECTION_DISPLAY_NAMES[sectionType] || sectionType
|
|
2276
|
+
},
|
|
2277
|
+
text: narrative,
|
|
2278
|
+
entry: validResources.map((resource) => ({
|
|
2279
|
+
reference: `${resource.resourceType}/${resource.id}`,
|
|
2280
|
+
display: resource.resourceType
|
|
2281
|
+
}))
|
|
2282
|
+
};
|
|
2283
|
+
if (!options?.isOptional) {
|
|
2284
|
+
this.mandatorySectionsAdded.add(sectionType);
|
|
2285
|
+
}
|
|
2286
|
+
this.sections.push(sectionEntry);
|
|
2287
|
+
}
|
|
2288
|
+
return this;
|
|
2289
|
+
}
|
|
2290
|
+
/**
|
|
2291
|
+
* Reads a FHIR Bundle and extracts resources for each section defined in IPSSections.
|
|
2292
|
+
* @param bundle - FHIR Bundle containing resources
|
|
2293
|
+
* @param timezone - Optional timezone to use for date formatting (e.g., 'America/New_York', 'Europe/London')
|
|
2294
|
+
*/
|
|
2295
|
+
read_bundle(bundle, timezone) {
|
|
2296
|
+
if (!bundle.entry) {
|
|
2297
|
+
return this;
|
|
2298
|
+
}
|
|
2299
|
+
const patientEntry = bundle.entry.find((e) => e.resource?.resourceType === "Patient");
|
|
2300
|
+
if (!patientEntry || !patientEntry.resource) {
|
|
2301
|
+
throw new Error("Patient resource not found in the bundle");
|
|
2302
|
+
}
|
|
2303
|
+
this.patient = patientEntry.resource;
|
|
2304
|
+
for (const sectionType of Object.values(IPSSections)) {
|
|
2305
|
+
const resourceTypesForSection = IPSSectionResourceHelper.getResourceTypesForSection(sectionType);
|
|
2306
|
+
const customFilter = IPSSectionResourceHelper.getResourceFilterForSection(sectionType);
|
|
2307
|
+
let resources = bundle.entry.map((e) => e.resource).filter((r) => typeof r?.resourceType === "string" && resourceTypesForSection.includes(r.resourceType));
|
|
2308
|
+
if (customFilter) {
|
|
2309
|
+
resources = resources.filter(customFilter);
|
|
2310
|
+
}
|
|
2311
|
+
if (resources.length > 0) {
|
|
2312
|
+
this.addSection(sectionType, resources, timezone, { isOptional: true });
|
|
2313
|
+
}
|
|
2314
|
+
}
|
|
2315
|
+
return this;
|
|
2316
|
+
}
|
|
2317
|
+
/**
|
|
2318
|
+
* Builds the final Composition sections, ensuring all mandatory sections are present.
|
|
2319
|
+
* @param timezone - Optional timezone to use for date formatting (e.g., 'America/New_York', 'Europe/London')
|
|
2320
|
+
*/
|
|
2321
|
+
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
|
2322
|
+
build(timezone) {
|
|
2323
|
+
const mandatorySections = [
|
|
2324
|
+
"AllergyIntoleranceSection" /* ALLERGIES */,
|
|
2325
|
+
"MedicationSection" /* MEDICATIONS */,
|
|
2326
|
+
"ProblemSection" /* PROBLEMS */,
|
|
2327
|
+
"ImmunizationSection" /* IMMUNIZATIONS */
|
|
2328
|
+
];
|
|
2329
|
+
const missingMandatorySections = mandatorySections.filter(
|
|
2330
|
+
(section) => !this.mandatorySectionsAdded.has(section)
|
|
2331
|
+
);
|
|
2332
|
+
if (missingMandatorySections.length > 0) {
|
|
2333
|
+
throw new Error(
|
|
2334
|
+
`Missing mandatory IPS sections: ${missingMandatorySections.join(", ")}`
|
|
2335
|
+
);
|
|
2336
|
+
}
|
|
2337
|
+
return this.sections;
|
|
2338
|
+
}
|
|
2339
|
+
/**
|
|
2340
|
+
* Builds a complete FHIR Bundle containing the Composition and all resources.
|
|
2341
|
+
* @param authorOrganizationId - ID of the authoring organization (e.g., hospital or clinic)
|
|
2342
|
+
* @param authorOrganizationName - Name of the authoring organization
|
|
2343
|
+
* @param baseUrl - Base URL for the FHIR server (e.g., 'https://example.com/fhir')
|
|
2344
|
+
* @param timezone - Optional timezone to use for date formatting (e.g., 'America/New_York', 'Europe/London')
|
|
2345
|
+
*/
|
|
2346
|
+
build_bundle(authorOrganizationId, authorOrganizationName, baseUrl, timezone) {
|
|
2347
|
+
if (baseUrl.endsWith("/")) {
|
|
2348
|
+
baseUrl = baseUrl.slice(0, -1);
|
|
2349
|
+
}
|
|
2350
|
+
if (!this.patient) {
|
|
2351
|
+
throw new Error("Patient resource must be set before building the bundle");
|
|
2352
|
+
}
|
|
2353
|
+
const composition = {
|
|
2354
|
+
id: `Composition-${this.patient.id}`,
|
|
2355
|
+
resourceType: "Composition",
|
|
2356
|
+
status: "final",
|
|
2357
|
+
type: {
|
|
2358
|
+
coding: [{
|
|
2359
|
+
system: "http://loinc.org",
|
|
2360
|
+
code: "60591-5",
|
|
2361
|
+
display: "Patient summary Document"
|
|
2362
|
+
}]
|
|
2363
|
+
},
|
|
2364
|
+
subject: {
|
|
2365
|
+
reference: `Patient/${this.patient.id}`
|
|
2366
|
+
},
|
|
2367
|
+
author: [{
|
|
2368
|
+
reference: `Organization/${authorOrganizationId}`,
|
|
2369
|
+
// Assuming patient is also a practitioner for simplicity
|
|
2370
|
+
display: authorOrganizationName
|
|
2371
|
+
}],
|
|
2372
|
+
date: (/* @__PURE__ */ new Date()).toISOString(),
|
|
2373
|
+
title: "International Patient Summary",
|
|
2374
|
+
section: this.sections,
|
|
2375
|
+
text: this.createCompositionNarrative(timezone)
|
|
2376
|
+
};
|
|
2377
|
+
const bundle = {
|
|
2378
|
+
resourceType: "Bundle",
|
|
2379
|
+
type: "document",
|
|
2380
|
+
timestamp: (/* @__PURE__ */ new Date()).toISOString(),
|
|
2381
|
+
identifier: {
|
|
2382
|
+
"system": "urn:ietf:rfc:3986",
|
|
2383
|
+
"value": "urn:uuid:4dcfd353-49fd-4ab0-b521-c8d57ced74d6"
|
|
2384
|
+
},
|
|
2385
|
+
entry: []
|
|
2386
|
+
};
|
|
2387
|
+
bundle.entry?.push({
|
|
2388
|
+
fullUrl: `${baseUrl}/Composition/${composition.id}`,
|
|
2389
|
+
resource: composition
|
|
2390
|
+
});
|
|
2391
|
+
bundle.entry?.push({
|
|
2392
|
+
fullUrl: `${baseUrl}/Patient/${this.patient.id}`,
|
|
2393
|
+
resource: this.patient
|
|
2394
|
+
});
|
|
2395
|
+
this.resources.forEach((resource) => {
|
|
2396
|
+
if (resource.resourceType !== "Patient") {
|
|
2397
|
+
bundle.entry?.push(
|
|
2398
|
+
{
|
|
2399
|
+
fullUrl: `${baseUrl}/${resource.resourceType}/${resource.id}`,
|
|
2400
|
+
resource
|
|
2401
|
+
}
|
|
2402
|
+
);
|
|
2403
|
+
}
|
|
2404
|
+
});
|
|
2405
|
+
bundle.entry?.push({
|
|
2406
|
+
fullUrl: `${baseUrl}/Organization/${authorOrganizationId}`,
|
|
2407
|
+
resource: {
|
|
2408
|
+
resourceType: "Organization",
|
|
2409
|
+
id: authorOrganizationId,
|
|
2410
|
+
name: authorOrganizationName
|
|
2411
|
+
}
|
|
2412
|
+
});
|
|
2413
|
+
return bundle;
|
|
2414
|
+
}
|
|
2415
|
+
/**
|
|
2416
|
+
* Creates a narrative for the composition based on the patient and sections.
|
|
2417
|
+
* @param timezone - Optional timezone to use for date formatting (e.g., 'America/New_York', 'Europe/London')
|
|
2418
|
+
* @private
|
|
2419
|
+
*/
|
|
2420
|
+
createCompositionNarrative(timezone) {
|
|
2421
|
+
const patient = this.patient;
|
|
2422
|
+
let fullNarrativeContent = "";
|
|
2423
|
+
const patientNarrative = NarrativeGenerator.generateNarrativeContent(
|
|
2424
|
+
"Patient" /* PATIENT */,
|
|
2425
|
+
[patient],
|
|
2426
|
+
timezone
|
|
2427
|
+
);
|
|
2428
|
+
fullNarrativeContent = fullNarrativeContent.concat(patientNarrative || "");
|
|
2429
|
+
for (const sectionType of Object.values(IPSSections)) {
|
|
2430
|
+
const resourceTypesForSection = IPSSectionResourceHelper.getResourceTypesForSection(sectionType);
|
|
2431
|
+
const allResources = Array.from(this.resources);
|
|
2432
|
+
const resources = allResources.filter((r) => resourceTypesForSection.includes(r.resourceType));
|
|
2433
|
+
if (resources.length > 0) {
|
|
2434
|
+
const sectionNarrative = NarrativeGenerator.generateNarrativeContent(sectionType, resources, timezone);
|
|
2435
|
+
fullNarrativeContent = fullNarrativeContent.concat(sectionNarrative || "");
|
|
2436
|
+
}
|
|
2437
|
+
}
|
|
2438
|
+
return {
|
|
2439
|
+
status: "generated",
|
|
2440
|
+
div: NarrativeGenerator.wrapInXhtml(fullNarrativeContent)
|
|
2441
|
+
};
|
|
2442
|
+
}
|
|
2443
|
+
};
|
|
2444
|
+
|
|
2445
|
+
// src/index.ts
|
|
2446
|
+
var myPackage = (taco = "") => `${taco} from my package`;
|
|
2447
|
+
export {
|
|
2448
|
+
ComprehensiveIPSCompositionBuilder,
|
|
2449
|
+
NarrativeGenerator,
|
|
2450
|
+
myPackage
|
|
2451
|
+
};
|