@imranq2/fhirpatientsummary 1.0.0 → 1.0.2
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/lib/esm/src/generators/fhir_summary_generator.d.ts +46 -0
- package/lib/esm/src/generators/fhir_summary_generator.js +224 -0
- package/lib/esm/src/generators/narrative_generator.d.ts +40 -0
- package/lib/esm/src/generators/narrative_generator.js +76 -0
- package/lib/esm/src/narratives/templates/typescript/AdvanceDirectivesTemplate.d.ts +22 -0
- package/lib/esm/src/narratives/templates/typescript/AdvanceDirectivesTemplate.js +66 -0
- package/lib/esm/src/narratives/templates/typescript/AllergyIntoleranceTemplate.d.ts +31 -0
- package/lib/esm/src/narratives/templates/typescript/AllergyIntoleranceTemplate.js +151 -0
- package/lib/esm/src/narratives/templates/typescript/ClinicalImpressionTemplate.d.ts +15 -0
- package/lib/esm/src/narratives/templates/typescript/ClinicalImpressionTemplate.js +107 -0
- package/lib/esm/src/narratives/templates/typescript/DiagnosticResultsTemplate.d.ts +50 -0
- package/lib/esm/src/narratives/templates/typescript/DiagnosticResultsTemplate.js +149 -0
- package/lib/esm/src/narratives/templates/typescript/FamilyHistoryTemplate.d.ts +15 -0
- package/lib/esm/src/narratives/templates/typescript/FamilyHistoryTemplate.js +99 -0
- package/lib/esm/src/narratives/templates/typescript/FunctionalStatusTemplate.d.ts +22 -0
- package/lib/esm/src/narratives/templates/typescript/FunctionalStatusTemplate.js +66 -0
- package/lib/esm/src/narratives/templates/typescript/HistoryOfProceduresTemplate.d.ts +22 -0
- package/lib/esm/src/narratives/templates/typescript/HistoryOfProceduresTemplate.js +62 -0
- package/lib/esm/src/narratives/templates/typescript/ImmunizationsTemplate.d.ts +22 -0
- package/lib/esm/src/narratives/templates/typescript/ImmunizationsTemplate.js +69 -0
- package/lib/esm/src/narratives/templates/typescript/MedicalDevicesTemplate.d.ts +22 -0
- package/lib/esm/src/narratives/templates/typescript/MedicalDevicesTemplate.js +63 -0
- package/lib/esm/src/narratives/templates/typescript/MedicationSummaryTemplate.d.ts +50 -0
- package/lib/esm/src/narratives/templates/typescript/MedicationSummaryTemplate.js +202 -0
- package/lib/esm/src/narratives/templates/typescript/PastHistoryOfIllnessTemplate.d.ts +15 -0
- package/lib/esm/src/narratives/templates/typescript/PastHistoryOfIllnessTemplate.js +55 -0
- package/lib/esm/src/narratives/templates/typescript/PatientTemplate.d.ts +65 -0
- package/lib/esm/src/narratives/templates/typescript/PatientTemplate.js +154 -0
- package/lib/esm/src/narratives/templates/typescript/PlanOfCareTemplate.d.ts +15 -0
- package/lib/esm/src/narratives/templates/typescript/PlanOfCareTemplate.js +59 -0
- package/lib/esm/src/narratives/templates/typescript/PregnancyTemplate.d.ts +22 -0
- package/lib/esm/src/narratives/templates/typescript/PregnancyTemplate.js +64 -0
- package/lib/esm/src/narratives/templates/typescript/ProblemListTemplate.d.ts +22 -0
- package/lib/esm/src/narratives/templates/typescript/ProblemListTemplate.js +115 -0
- package/lib/esm/src/narratives/templates/typescript/SocialHistoryTemplate.d.ts +22 -0
- package/lib/esm/src/narratives/templates/typescript/SocialHistoryTemplate.js +66 -0
- package/lib/esm/src/narratives/templates/typescript/TemplateUtilities.d.ts +251 -0
- package/lib/esm/src/narratives/templates/typescript/TemplateUtilities.js +692 -0
- package/lib/esm/src/narratives/templates/typescript/TypeScriptTemplateMapper.d.ts +17 -0
- package/lib/esm/src/narratives/templates/typescript/TypeScriptTemplateMapper.js +60 -0
- package/lib/esm/src/narratives/templates/typescript/VitalSignsTemplate.d.ts +22 -0
- package/lib/esm/src/narratives/templates/typescript/VitalSignsTemplate.js +70 -0
- package/lib/esm/src/narratives/templates/typescript/interfaces/ITemplate.d.ts +13 -0
- package/lib/esm/src/narratives/templates/typescript/interfaces/ITemplate.js +1 -0
- package/lib/esm/src/profiles/ips_resource_profile_registry.d.ts +7 -0
- package/lib/esm/src/profiles/ips_resource_profile_registry.js +139 -0
- package/lib/esm/src/structures/ips_mandatory_sections.d.ts +7 -0
- package/lib/esm/src/structures/ips_mandatory_sections.js +8 -0
- package/lib/esm/src/structures/ips_recommended_sections.d.ts +8 -0
- package/lib/esm/src/structures/ips_recommended_sections.js +9 -0
- package/lib/esm/src/structures/ips_resource_profile.d.ts +7 -0
- package/lib/esm/src/structures/ips_resource_profile.js +1 -0
- package/lib/esm/src/structures/ips_section_loinc_codes.d.ts +4 -0
- package/lib/esm/src/structures/ips_section_loinc_codes.js +44 -0
- package/lib/esm/src/structures/ips_section_resource_map.d.ts +8 -0
- package/lib/esm/src/structures/ips_section_resource_map.js +65 -0
- package/lib/esm/src/structures/ips_sections.d.ts +19 -0
- package/lib/esm/src/structures/ips_sections.js +24 -0
- package/lib/esm/src/types/partials/Address.d.ts +16 -0
- package/lib/esm/src/types/partials/Address.js +2 -0
- package/lib/esm/src/types/partials/AllergyIntoleranceReaction.d.ts +16 -0
- package/lib/esm/src/types/partials/AllergyIntoleranceReaction.js +2 -0
- package/lib/esm/src/types/partials/Annotation.d.ts +12 -0
- package/lib/esm/src/types/partials/Annotation.js +2 -0
- package/lib/esm/src/types/partials/Attachment.d.ts +17 -0
- package/lib/esm/src/types/partials/Attachment.js +2 -0
- package/lib/esm/src/types/partials/BundleEntry.d.ts +18 -0
- package/lib/esm/src/types/partials/BundleEntry.js +2 -0
- package/lib/esm/src/types/partials/BundleLink.d.ts +9 -0
- package/lib/esm/src/types/partials/BundleLink.js +2 -0
- package/lib/esm/src/types/partials/BundleRequest.d.ts +14 -0
- package/lib/esm/src/types/partials/BundleRequest.js +2 -0
- package/lib/esm/src/types/partials/BundleResponse.d.ts +14 -0
- package/lib/esm/src/types/partials/BundleResponse.js +2 -0
- package/lib/esm/src/types/partials/BundleSearch.d.ts +9 -0
- package/lib/esm/src/types/partials/BundleSearch.js +2 -0
- package/lib/esm/src/types/partials/CarePlanActivity.d.ts +15 -0
- package/lib/esm/src/types/partials/CarePlanActivity.js +2 -0
- package/lib/esm/src/types/partials/CarePlanDetail.d.ts +33 -0
- package/lib/esm/src/types/partials/CarePlanDetail.js +2 -0
- package/lib/esm/src/types/partials/ClinicalImpressionFinding.d.ts +11 -0
- package/lib/esm/src/types/partials/ClinicalImpressionFinding.js +2 -0
- package/lib/esm/src/types/partials/ClinicalImpressionInvestigation.d.ts +10 -0
- package/lib/esm/src/types/partials/ClinicalImpressionInvestigation.js +2 -0
- package/lib/esm/src/types/partials/CodeableConcept.d.ts +8 -0
- package/lib/esm/src/types/partials/CodeableConcept.js +2 -0
- package/lib/esm/src/types/partials/CodeableReference.d.ts +9 -0
- package/lib/esm/src/types/partials/CodeableReference.js +2 -0
- package/lib/esm/src/types/partials/Coding.d.ts +11 -0
- package/lib/esm/src/types/partials/Coding.js +2 -0
- package/lib/esm/src/types/partials/CompositionAttester.d.ts +11 -0
- package/lib/esm/src/types/partials/CompositionAttester.js +2 -0
- package/lib/esm/src/types/partials/CompositionEvent.d.ts +12 -0
- package/lib/esm/src/types/partials/CompositionEvent.js +2 -0
- package/lib/esm/src/types/partials/CompositionRelatesTo.d.ts +11 -0
- package/lib/esm/src/types/partials/CompositionRelatesTo.js +2 -0
- package/lib/esm/src/types/partials/CompositionSection.d.ts +19 -0
- package/lib/esm/src/types/partials/CompositionSection.js +2 -0
- package/lib/esm/src/types/partials/ConditionEvidence.d.ts +10 -0
- package/lib/esm/src/types/partials/ConditionEvidence.js +2 -0
- package/lib/esm/src/types/partials/ConditionStage.d.ts +11 -0
- package/lib/esm/src/types/partials/ConditionStage.js +2 -0
- package/lib/esm/src/types/partials/ConsentActor.d.ts +10 -0
- package/lib/esm/src/types/partials/ConsentActor.js +2 -0
- package/lib/esm/src/types/partials/ConsentData.d.ts +9 -0
- package/lib/esm/src/types/partials/ConsentData.js +2 -0
- package/lib/esm/src/types/partials/ConsentPolicy.d.ts +9 -0
- package/lib/esm/src/types/partials/ConsentPolicy.js +2 -0
- package/lib/esm/src/types/partials/ConsentProvision.d.ts +22 -0
- package/lib/esm/src/types/partials/ConsentProvision.js +2 -0
- package/lib/esm/src/types/partials/ConsentVerification.d.ts +11 -0
- package/lib/esm/src/types/partials/ConsentVerification.js +2 -0
- package/lib/esm/src/types/partials/ContactDetail.d.ts +8 -0
- package/lib/esm/src/types/partials/ContactDetail.js +2 -0
- package/lib/esm/src/types/partials/ContactPoint.d.ts +12 -0
- package/lib/esm/src/types/partials/ContactPoint.js +2 -0
- package/lib/esm/src/types/partials/Contributor.d.ts +9 -0
- package/lib/esm/src/types/partials/Contributor.js +2 -0
- package/lib/esm/src/types/partials/DataRequirement.d.ts +21 -0
- package/lib/esm/src/types/partials/DataRequirement.js +2 -0
- package/lib/esm/src/types/partials/DataRequirementCodeFilter.d.ts +11 -0
- package/lib/esm/src/types/partials/DataRequirementCodeFilter.js +2 -0
- package/lib/esm/src/types/partials/DataRequirementDateFilter.d.ts +13 -0
- package/lib/esm/src/types/partials/DataRequirementDateFilter.js +2 -0
- package/lib/esm/src/types/partials/DataRequirementSort.d.ts +7 -0
- package/lib/esm/src/types/partials/DataRequirementSort.js +2 -0
- package/lib/esm/src/types/partials/DeviceDeviceName.d.ts +8 -0
- package/lib/esm/src/types/partials/DeviceDeviceName.js +2 -0
- package/lib/esm/src/types/partials/DeviceProperty.d.ts +11 -0
- package/lib/esm/src/types/partials/DeviceProperty.js +2 -0
- package/lib/esm/src/types/partials/DeviceSpecialization.d.ts +9 -0
- package/lib/esm/src/types/partials/DeviceSpecialization.js +2 -0
- package/lib/esm/src/types/partials/DeviceUdiCarrier.d.ts +14 -0
- package/lib/esm/src/types/partials/DeviceUdiCarrier.js +2 -0
- package/lib/esm/src/types/partials/DeviceVersion.d.ts +11 -0
- package/lib/esm/src/types/partials/DeviceVersion.js +2 -0
- package/lib/esm/src/types/partials/DiagnosticReportMedia.d.ts +9 -0
- package/lib/esm/src/types/partials/DiagnosticReportMedia.js +2 -0
- package/lib/esm/src/types/partials/Dosage.d.ts +26 -0
- package/lib/esm/src/types/partials/Dosage.js +2 -0
- package/lib/esm/src/types/partials/DosageDoseAndRate.d.ts +16 -0
- package/lib/esm/src/types/partials/DosageDoseAndRate.js +2 -0
- package/lib/esm/src/types/partials/Expression.d.ts +12 -0
- package/lib/esm/src/types/partials/Expression.js +2 -0
- package/lib/esm/src/types/partials/Extension.d.ts +99 -0
- package/lib/esm/src/types/partials/Extension.js +2 -0
- package/lib/esm/src/types/partials/FamilyMemberHistoryCondition.d.ts +19 -0
- package/lib/esm/src/types/partials/FamilyMemberHistoryCondition.js +2 -0
- package/lib/esm/src/types/partials/HumanName.d.ts +13 -0
- package/lib/esm/src/types/partials/HumanName.js +2 -0
- package/lib/esm/src/types/partials/Identifier.d.ts +15 -0
- package/lib/esm/src/types/partials/Identifier.js +2 -0
- package/lib/esm/src/types/partials/ImmunizationEducation.d.ts +12 -0
- package/lib/esm/src/types/partials/ImmunizationEducation.js +2 -0
- package/lib/esm/src/types/partials/ImmunizationPerformer.d.ts +10 -0
- package/lib/esm/src/types/partials/ImmunizationPerformer.js +2 -0
- package/lib/esm/src/types/partials/ImmunizationProtocolApplied.d.ts +16 -0
- package/lib/esm/src/types/partials/ImmunizationProtocolApplied.js +2 -0
- package/lib/esm/src/types/partials/ImmunizationReaction.d.ts +11 -0
- package/lib/esm/src/types/partials/ImmunizationReaction.js +2 -0
- package/lib/esm/src/types/partials/MedicationBatch.d.ts +9 -0
- package/lib/esm/src/types/partials/MedicationBatch.js +2 -0
- package/lib/esm/src/types/partials/MedicationIngredient.d.ts +13 -0
- package/lib/esm/src/types/partials/MedicationIngredient.js +2 -0
- package/lib/esm/src/types/partials/MedicationRequestDispenseRequest.d.ts +18 -0
- package/lib/esm/src/types/partials/MedicationRequestDispenseRequest.js +2 -0
- package/lib/esm/src/types/partials/MedicationRequestInitialFill.d.ts +9 -0
- package/lib/esm/src/types/partials/MedicationRequestInitialFill.js +2 -0
- package/lib/esm/src/types/partials/MedicationRequestSubstitution.d.ts +10 -0
- package/lib/esm/src/types/partials/MedicationRequestSubstitution.js +2 -0
- package/lib/esm/src/types/partials/Meta.d.ts +16 -0
- package/lib/esm/src/types/partials/Meta.js +2 -0
- package/lib/esm/src/types/partials/Money.d.ts +8 -0
- package/lib/esm/src/types/partials/Money.js +2 -0
- package/lib/esm/src/types/partials/Narrative.d.ts +8 -0
- package/lib/esm/src/types/partials/Narrative.js +2 -0
- package/lib/esm/src/types/partials/ObservationComponent.d.ts +31 -0
- package/lib/esm/src/types/partials/ObservationComponent.js +2 -0
- package/lib/esm/src/types/partials/ObservationReferenceRange.d.ts +15 -0
- package/lib/esm/src/types/partials/ObservationReferenceRange.js +2 -0
- package/lib/esm/src/types/partials/OrganizationContact.d.ts +14 -0
- package/lib/esm/src/types/partials/OrganizationContact.js +2 -0
- package/lib/esm/src/types/partials/ParameterDefinition.d.ts +14 -0
- package/lib/esm/src/types/partials/ParameterDefinition.js +2 -0
- package/lib/esm/src/types/partials/PatientCommunication.d.ts +9 -0
- package/lib/esm/src/types/partials/PatientCommunication.js +2 -0
- package/lib/esm/src/types/partials/PatientContact.d.ts +19 -0
- package/lib/esm/src/types/partials/PatientContact.js +2 -0
- package/lib/esm/src/types/partials/PatientLink.d.ts +9 -0
- package/lib/esm/src/types/partials/PatientLink.js +2 -0
- package/lib/esm/src/types/partials/Period.d.ts +8 -0
- package/lib/esm/src/types/partials/Period.js +2 -0
- package/lib/esm/src/types/partials/ProcedureFocalDevice.d.ts +10 -0
- package/lib/esm/src/types/partials/ProcedureFocalDevice.js +2 -0
- package/lib/esm/src/types/partials/ProcedurePerformer.d.ts +11 -0
- package/lib/esm/src/types/partials/ProcedurePerformer.js +2 -0
- package/lib/esm/src/types/partials/Quantity.d.ts +12 -0
- package/lib/esm/src/types/partials/Quantity.js +2 -0
- package/lib/esm/src/types/partials/Range.d.ts +8 -0
- package/lib/esm/src/types/partials/Range.js +2 -0
- package/lib/esm/src/types/partials/Ratio.d.ts +8 -0
- package/lib/esm/src/types/partials/Ratio.js +2 -0
- package/lib/esm/src/types/partials/RatioRange.d.ts +9 -0
- package/lib/esm/src/types/partials/RatioRange.js +2 -0
- package/lib/esm/src/types/partials/Reference.d.ts +14 -0
- package/lib/esm/src/types/partials/Reference.js +2 -0
- package/lib/esm/src/types/partials/RelatedArtifact.d.ts +16 -0
- package/lib/esm/src/types/partials/RelatedArtifact.js +2 -0
- package/lib/esm/src/types/partials/SampledData.d.ts +15 -0
- package/lib/esm/src/types/partials/SampledData.js +2 -0
- package/lib/esm/src/types/partials/Signature.d.ts +16 -0
- package/lib/esm/src/types/partials/Signature.js +2 -0
- package/lib/esm/src/types/partials/Timing.d.ts +12 -0
- package/lib/esm/src/types/partials/Timing.js +2 -0
- package/lib/esm/src/types/partials/TimingRepeat.d.ts +30 -0
- package/lib/esm/src/types/partials/TimingRepeat.js +2 -0
- package/lib/esm/src/types/partials/TriggerDefinition.d.ts +19 -0
- package/lib/esm/src/types/partials/TriggerDefinition.js +2 -0
- package/lib/esm/src/types/partials/UsageContext.d.ts +15 -0
- package/lib/esm/src/types/partials/UsageContext.js +2 -0
- package/lib/esm/src/types/resources/AllergyIntolerance.d.ts +45 -0
- package/lib/esm/src/types/resources/AllergyIntolerance.js +2 -0
- package/lib/esm/src/types/resources/Bundle.d.ts +22 -0
- package/lib/esm/src/types/resources/Bundle.js +2 -0
- package/lib/esm/src/types/resources/CarePlan.d.ts +47 -0
- package/lib/esm/src/types/resources/CarePlan.js +2 -0
- package/lib/esm/src/types/resources/ClinicalImpression.d.ts +45 -0
- package/lib/esm/src/types/resources/ClinicalImpression.js +2 -0
- package/lib/esm/src/types/resources/Composition.d.ts +39 -0
- package/lib/esm/src/types/resources/Composition.js +2 -0
- package/lib/esm/src/types/resources/Condition.d.ts +51 -0
- package/lib/esm/src/types/resources/Condition.js +2 -0
- package/lib/esm/src/types/resources/Consent.d.ts +38 -0
- package/lib/esm/src/types/resources/Consent.js +2 -0
- package/lib/esm/src/types/resources/Device.d.ts +53 -0
- package/lib/esm/src/types/resources/Device.js +2 -0
- package/lib/esm/src/types/resources/DeviceUseStatement.d.ts +38 -0
- package/lib/esm/src/types/resources/DeviceUseStatement.js +2 -0
- package/lib/esm/src/types/resources/DiagnosticReport.d.ts +43 -0
- package/lib/esm/src/types/resources/DiagnosticReport.js +2 -0
- package/lib/esm/src/types/resources/DomainResource.d.ts +16 -0
- package/lib/esm/src/types/resources/DomainResource.js +2 -0
- package/lib/esm/src/types/resources/FamilyMemberHistory.d.ts +53 -0
- package/lib/esm/src/types/resources/FamilyMemberHistory.js +2 -0
- package/lib/esm/src/types/resources/Immunization.d.ts +56 -0
- package/lib/esm/src/types/resources/Immunization.js +2 -0
- package/lib/esm/src/types/resources/Medication.d.ts +30 -0
- package/lib/esm/src/types/resources/Medication.js +2 -0
- package/lib/esm/src/types/resources/MedicationRequest.d.ts +59 -0
- package/lib/esm/src/types/resources/MedicationRequest.js +2 -0
- package/lib/esm/src/types/resources/MedicationStatement.d.ts +42 -0
- package/lib/esm/src/types/resources/MedicationStatement.js +2 -0
- package/lib/esm/src/types/resources/Observation.d.ts +69 -0
- package/lib/esm/src/types/resources/Observation.js +2 -0
- package/lib/esm/src/types/resources/Organization.d.ts +32 -0
- package/lib/esm/src/types/resources/Organization.js +2 -0
- package/lib/esm/src/types/resources/Patient.d.ts +47 -0
- package/lib/esm/src/types/resources/Patient.js +2 -0
- package/lib/esm/src/types/resources/Procedure.d.ts +59 -0
- package/lib/esm/src/types/resources/Procedure.js +2 -0
- package/lib/esm/src/types/simpleTypes/Base64Binary.d.ts +1 -0
- package/lib/esm/src/types/simpleTypes/Base64Binary.js +1 -0
- package/lib/esm/src/types/simpleTypes/Canonical.d.ts +1 -0
- package/lib/esm/src/types/simpleTypes/Canonical.js +1 -0
- package/lib/esm/src/types/simpleTypes/Date.d.ts +1 -0
- package/lib/esm/src/types/simpleTypes/Date.js +1 -0
- package/lib/esm/src/types/simpleTypes/DateTime.d.ts +1 -0
- package/lib/esm/src/types/simpleTypes/DateTime.js +1 -0
- package/lib/esm/src/types/simpleTypes/Decimal.d.ts +1 -0
- package/lib/esm/src/types/simpleTypes/Decimal.js +1 -0
- package/lib/esm/src/types/simpleTypes/Id.d.ts +1 -0
- package/lib/esm/src/types/simpleTypes/Id.js +1 -0
- package/lib/esm/src/types/simpleTypes/Instant.d.ts +1 -0
- package/lib/esm/src/types/simpleTypes/Instant.js +1 -0
- package/lib/esm/src/types/simpleTypes/Int.d.ts +1 -0
- package/lib/esm/src/types/simpleTypes/Int.js +1 -0
- package/lib/esm/src/types/simpleTypes/Markdown.d.ts +1 -0
- package/lib/esm/src/types/simpleTypes/Markdown.js +1 -0
- package/lib/esm/src/types/simpleTypes/Oid.d.ts +1 -0
- package/lib/esm/src/types/simpleTypes/Oid.js +1 -0
- package/lib/esm/src/types/simpleTypes/ResourceContainer.d.ts +1 -0
- package/lib/esm/src/types/simpleTypes/ResourceContainer.js +1 -0
- package/lib/esm/src/types/simpleTypes/Time.d.ts +1 -0
- package/lib/esm/src/types/simpleTypes/Time.js +1 -0
- package/lib/esm/src/types/simpleTypes/UnsignedInt.d.ts +1 -0
- package/lib/esm/src/types/simpleTypes/UnsignedInt.js +1 -0
- package/lib/esm/src/types/simpleTypes/Uri.d.ts +1 -0
- package/lib/esm/src/types/simpleTypes/Uri.js +1 -0
- package/lib/esm/src/types/simpleTypes/Url.d.ts +1 -0
- package/lib/esm/src/types/simpleTypes/Url.js +1 -0
- package/lib/esm/src/types/simpleTypes/Uuid.d.ts +1 -0
- package/lib/esm/src/types/simpleTypes/Uuid.js +1 -0
- package/lib/esm/src/types/simpleTypes/Xhtml.d.ts +1 -0
- package/lib/esm/src/types/simpleTypes/Xhtml.js +1 -0
- package/lib/esm/test/fhir-summary-bundle/fhir-summary-bundle.test.d.ts +1 -0
- package/lib/esm/test/fhir-summary-bundle/fhir-summary-bundle.test.js +67 -0
- package/lib/esm/test/ips-test/ips.test.d.ts +1 -0
- package/lib/esm/test/ips-test/ips.test.js +387 -0
- package/lib/esm/test/narrativeGenerator/narrativeGenerator.test.d.ts +1 -0
- package/lib/esm/test/narrativeGenerator/narrativeGenerator.test.js +641 -0
- package/lib/esm/test/summary.test.d.ts +1 -0
- package/lib/esm/test/summary.test.js +450 -0
- package/lib/esm/test/utilities/testHelpers.d.ts +21 -0
- package/lib/esm/test/utilities/testHelpers.js +129 -0
- package/package.json +11 -3
- /package/lib/{src → cjs/src}/generators/fhir_summary_generator.d.ts +0 -0
- /package/lib/{src → cjs/src}/generators/fhir_summary_generator.js +0 -0
- /package/lib/{src → cjs/src}/generators/narrative_generator.d.ts +0 -0
- /package/lib/{src → cjs/src}/generators/narrative_generator.js +0 -0
- /package/lib/{src → cjs/src}/narratives/templates/typescript/AdvanceDirectivesTemplate.d.ts +0 -0
- /package/lib/{src → cjs/src}/narratives/templates/typescript/AdvanceDirectivesTemplate.js +0 -0
- /package/lib/{src → cjs/src}/narratives/templates/typescript/AllergyIntoleranceTemplate.d.ts +0 -0
- /package/lib/{src → cjs/src}/narratives/templates/typescript/AllergyIntoleranceTemplate.js +0 -0
- /package/lib/{src → cjs/src}/narratives/templates/typescript/ClinicalImpressionTemplate.d.ts +0 -0
- /package/lib/{src → cjs/src}/narratives/templates/typescript/ClinicalImpressionTemplate.js +0 -0
- /package/lib/{src → cjs/src}/narratives/templates/typescript/DiagnosticResultsTemplate.d.ts +0 -0
- /package/lib/{src → cjs/src}/narratives/templates/typescript/DiagnosticResultsTemplate.js +0 -0
- /package/lib/{src → cjs/src}/narratives/templates/typescript/FamilyHistoryTemplate.d.ts +0 -0
- /package/lib/{src → cjs/src}/narratives/templates/typescript/FamilyHistoryTemplate.js +0 -0
- /package/lib/{src → cjs/src}/narratives/templates/typescript/FunctionalStatusTemplate.d.ts +0 -0
- /package/lib/{src → cjs/src}/narratives/templates/typescript/FunctionalStatusTemplate.js +0 -0
- /package/lib/{src → cjs/src}/narratives/templates/typescript/HistoryOfProceduresTemplate.d.ts +0 -0
- /package/lib/{src → cjs/src}/narratives/templates/typescript/HistoryOfProceduresTemplate.js +0 -0
- /package/lib/{src → cjs/src}/narratives/templates/typescript/ImmunizationsTemplate.d.ts +0 -0
- /package/lib/{src → cjs/src}/narratives/templates/typescript/ImmunizationsTemplate.js +0 -0
- /package/lib/{src → cjs/src}/narratives/templates/typescript/MedicalDevicesTemplate.d.ts +0 -0
- /package/lib/{src → cjs/src}/narratives/templates/typescript/MedicalDevicesTemplate.js +0 -0
- /package/lib/{src → cjs/src}/narratives/templates/typescript/MedicationSummaryTemplate.d.ts +0 -0
- /package/lib/{src → cjs/src}/narratives/templates/typescript/MedicationSummaryTemplate.js +0 -0
- /package/lib/{src → cjs/src}/narratives/templates/typescript/PastHistoryOfIllnessTemplate.d.ts +0 -0
- /package/lib/{src → cjs/src}/narratives/templates/typescript/PastHistoryOfIllnessTemplate.js +0 -0
- /package/lib/{src → cjs/src}/narratives/templates/typescript/PatientTemplate.d.ts +0 -0
- /package/lib/{src → cjs/src}/narratives/templates/typescript/PatientTemplate.js +0 -0
- /package/lib/{src → cjs/src}/narratives/templates/typescript/PlanOfCareTemplate.d.ts +0 -0
- /package/lib/{src → cjs/src}/narratives/templates/typescript/PlanOfCareTemplate.js +0 -0
- /package/lib/{src → cjs/src}/narratives/templates/typescript/PregnancyTemplate.d.ts +0 -0
- /package/lib/{src → cjs/src}/narratives/templates/typescript/PregnancyTemplate.js +0 -0
- /package/lib/{src → cjs/src}/narratives/templates/typescript/ProblemListTemplate.d.ts +0 -0
- /package/lib/{src → cjs/src}/narratives/templates/typescript/ProblemListTemplate.js +0 -0
- /package/lib/{src → cjs/src}/narratives/templates/typescript/SocialHistoryTemplate.d.ts +0 -0
- /package/lib/{src → cjs/src}/narratives/templates/typescript/SocialHistoryTemplate.js +0 -0
- /package/lib/{src → cjs/src}/narratives/templates/typescript/TemplateUtilities.d.ts +0 -0
- /package/lib/{src → cjs/src}/narratives/templates/typescript/TemplateUtilities.js +0 -0
- /package/lib/{src → cjs/src}/narratives/templates/typescript/TypeScriptTemplateMapper.d.ts +0 -0
- /package/lib/{src → cjs/src}/narratives/templates/typescript/TypeScriptTemplateMapper.js +0 -0
- /package/lib/{src → cjs/src}/narratives/templates/typescript/VitalSignsTemplate.d.ts +0 -0
- /package/lib/{src → cjs/src}/narratives/templates/typescript/VitalSignsTemplate.js +0 -0
- /package/lib/{src → cjs/src}/narratives/templates/typescript/interfaces/ITemplate.d.ts +0 -0
- /package/lib/{src → cjs/src}/narratives/templates/typescript/interfaces/ITemplate.js +0 -0
- /package/lib/{src → cjs/src}/profiles/ips_resource_profile_registry.d.ts +0 -0
- /package/lib/{src → cjs/src}/profiles/ips_resource_profile_registry.js +0 -0
- /package/lib/{src → cjs/src}/structures/ips_mandatory_sections.d.ts +0 -0
- /package/lib/{src → cjs/src}/structures/ips_mandatory_sections.js +0 -0
- /package/lib/{src → cjs/src}/structures/ips_recommended_sections.d.ts +0 -0
- /package/lib/{src → cjs/src}/structures/ips_recommended_sections.js +0 -0
- /package/lib/{src → cjs/src}/structures/ips_resource_profile.d.ts +0 -0
- /package/lib/{src → cjs/src}/structures/ips_resource_profile.js +0 -0
- /package/lib/{src → cjs/src}/structures/ips_section_loinc_codes.d.ts +0 -0
- /package/lib/{src → cjs/src}/structures/ips_section_loinc_codes.js +0 -0
- /package/lib/{src → cjs/src}/structures/ips_section_resource_map.d.ts +0 -0
- /package/lib/{src → cjs/src}/structures/ips_section_resource_map.js +0 -0
- /package/lib/{src → cjs/src}/structures/ips_sections.d.ts +0 -0
- /package/lib/{src → cjs/src}/structures/ips_sections.js +0 -0
- /package/lib/{src → cjs/src}/types/partials/Address.d.ts +0 -0
- /package/lib/{src → cjs/src}/types/partials/Address.js +0 -0
- /package/lib/{src → cjs/src}/types/partials/AllergyIntoleranceReaction.d.ts +0 -0
- /package/lib/{src → cjs/src}/types/partials/AllergyIntoleranceReaction.js +0 -0
- /package/lib/{src → cjs/src}/types/partials/Annotation.d.ts +0 -0
- /package/lib/{src → cjs/src}/types/partials/Annotation.js +0 -0
- /package/lib/{src → cjs/src}/types/partials/Attachment.d.ts +0 -0
- /package/lib/{src → cjs/src}/types/partials/Attachment.js +0 -0
- /package/lib/{src → cjs/src}/types/partials/BundleEntry.d.ts +0 -0
- /package/lib/{src → cjs/src}/types/partials/BundleEntry.js +0 -0
- /package/lib/{src → cjs/src}/types/partials/BundleLink.d.ts +0 -0
- /package/lib/{src → cjs/src}/types/partials/BundleLink.js +0 -0
- /package/lib/{src → cjs/src}/types/partials/BundleRequest.d.ts +0 -0
- /package/lib/{src → cjs/src}/types/partials/BundleRequest.js +0 -0
- /package/lib/{src → cjs/src}/types/partials/BundleResponse.d.ts +0 -0
- /package/lib/{src → cjs/src}/types/partials/BundleResponse.js +0 -0
- /package/lib/{src → cjs/src}/types/partials/BundleSearch.d.ts +0 -0
- /package/lib/{src → cjs/src}/types/partials/BundleSearch.js +0 -0
- /package/lib/{src → cjs/src}/types/partials/CarePlanActivity.d.ts +0 -0
- /package/lib/{src → cjs/src}/types/partials/CarePlanActivity.js +0 -0
- /package/lib/{src → cjs/src}/types/partials/CarePlanDetail.d.ts +0 -0
- /package/lib/{src → cjs/src}/types/partials/CarePlanDetail.js +0 -0
- /package/lib/{src → cjs/src}/types/partials/ClinicalImpressionFinding.d.ts +0 -0
- /package/lib/{src → cjs/src}/types/partials/ClinicalImpressionFinding.js +0 -0
- /package/lib/{src → cjs/src}/types/partials/ClinicalImpressionInvestigation.d.ts +0 -0
- /package/lib/{src → cjs/src}/types/partials/ClinicalImpressionInvestigation.js +0 -0
- /package/lib/{src → cjs/src}/types/partials/CodeableConcept.d.ts +0 -0
- /package/lib/{src → cjs/src}/types/partials/CodeableConcept.js +0 -0
- /package/lib/{src → cjs/src}/types/partials/CodeableReference.d.ts +0 -0
- /package/lib/{src → cjs/src}/types/partials/CodeableReference.js +0 -0
- /package/lib/{src → cjs/src}/types/partials/Coding.d.ts +0 -0
- /package/lib/{src → cjs/src}/types/partials/Coding.js +0 -0
- /package/lib/{src → cjs/src}/types/partials/CompositionAttester.d.ts +0 -0
- /package/lib/{src → cjs/src}/types/partials/CompositionAttester.js +0 -0
- /package/lib/{src → cjs/src}/types/partials/CompositionEvent.d.ts +0 -0
- /package/lib/{src → cjs/src}/types/partials/CompositionEvent.js +0 -0
- /package/lib/{src → cjs/src}/types/partials/CompositionRelatesTo.d.ts +0 -0
- /package/lib/{src → cjs/src}/types/partials/CompositionRelatesTo.js +0 -0
- /package/lib/{src → cjs/src}/types/partials/CompositionSection.d.ts +0 -0
- /package/lib/{src → cjs/src}/types/partials/CompositionSection.js +0 -0
- /package/lib/{src → cjs/src}/types/partials/ConditionEvidence.d.ts +0 -0
- /package/lib/{src → cjs/src}/types/partials/ConditionEvidence.js +0 -0
- /package/lib/{src → cjs/src}/types/partials/ConditionStage.d.ts +0 -0
- /package/lib/{src → cjs/src}/types/partials/ConditionStage.js +0 -0
- /package/lib/{src → cjs/src}/types/partials/ConsentActor.d.ts +0 -0
- /package/lib/{src → cjs/src}/types/partials/ConsentActor.js +0 -0
- /package/lib/{src → cjs/src}/types/partials/ConsentData.d.ts +0 -0
- /package/lib/{src → cjs/src}/types/partials/ConsentData.js +0 -0
- /package/lib/{src → cjs/src}/types/partials/ConsentPolicy.d.ts +0 -0
- /package/lib/{src → cjs/src}/types/partials/ConsentPolicy.js +0 -0
- /package/lib/{src → cjs/src}/types/partials/ConsentProvision.d.ts +0 -0
- /package/lib/{src → cjs/src}/types/partials/ConsentProvision.js +0 -0
- /package/lib/{src → cjs/src}/types/partials/ConsentVerification.d.ts +0 -0
- /package/lib/{src → cjs/src}/types/partials/ConsentVerification.js +0 -0
- /package/lib/{src → cjs/src}/types/partials/ContactDetail.d.ts +0 -0
- /package/lib/{src → cjs/src}/types/partials/ContactDetail.js +0 -0
- /package/lib/{src → cjs/src}/types/partials/ContactPoint.d.ts +0 -0
- /package/lib/{src → cjs/src}/types/partials/ContactPoint.js +0 -0
- /package/lib/{src → cjs/src}/types/partials/Contributor.d.ts +0 -0
- /package/lib/{src → cjs/src}/types/partials/Contributor.js +0 -0
- /package/lib/{src → cjs/src}/types/partials/DataRequirement.d.ts +0 -0
- /package/lib/{src → cjs/src}/types/partials/DataRequirement.js +0 -0
- /package/lib/{src → cjs/src}/types/partials/DataRequirementCodeFilter.d.ts +0 -0
- /package/lib/{src → cjs/src}/types/partials/DataRequirementCodeFilter.js +0 -0
- /package/lib/{src → cjs/src}/types/partials/DataRequirementDateFilter.d.ts +0 -0
- /package/lib/{src → cjs/src}/types/partials/DataRequirementDateFilter.js +0 -0
- /package/lib/{src → cjs/src}/types/partials/DataRequirementSort.d.ts +0 -0
- /package/lib/{src → cjs/src}/types/partials/DataRequirementSort.js +0 -0
- /package/lib/{src → cjs/src}/types/partials/DeviceDeviceName.d.ts +0 -0
- /package/lib/{src → cjs/src}/types/partials/DeviceDeviceName.js +0 -0
- /package/lib/{src → cjs/src}/types/partials/DeviceProperty.d.ts +0 -0
- /package/lib/{src → cjs/src}/types/partials/DeviceProperty.js +0 -0
- /package/lib/{src → cjs/src}/types/partials/DeviceSpecialization.d.ts +0 -0
- /package/lib/{src → cjs/src}/types/partials/DeviceSpecialization.js +0 -0
- /package/lib/{src → cjs/src}/types/partials/DeviceUdiCarrier.d.ts +0 -0
- /package/lib/{src → cjs/src}/types/partials/DeviceUdiCarrier.js +0 -0
- /package/lib/{src → cjs/src}/types/partials/DeviceVersion.d.ts +0 -0
- /package/lib/{src → cjs/src}/types/partials/DeviceVersion.js +0 -0
- /package/lib/{src → cjs/src}/types/partials/DiagnosticReportMedia.d.ts +0 -0
- /package/lib/{src → cjs/src}/types/partials/DiagnosticReportMedia.js +0 -0
- /package/lib/{src → cjs/src}/types/partials/Dosage.d.ts +0 -0
- /package/lib/{src → cjs/src}/types/partials/Dosage.js +0 -0
- /package/lib/{src → cjs/src}/types/partials/DosageDoseAndRate.d.ts +0 -0
- /package/lib/{src → cjs/src}/types/partials/DosageDoseAndRate.js +0 -0
- /package/lib/{src → cjs/src}/types/partials/Expression.d.ts +0 -0
- /package/lib/{src → cjs/src}/types/partials/Expression.js +0 -0
- /package/lib/{src → cjs/src}/types/partials/Extension.d.ts +0 -0
- /package/lib/{src → cjs/src}/types/partials/Extension.js +0 -0
- /package/lib/{src → cjs/src}/types/partials/FamilyMemberHistoryCondition.d.ts +0 -0
- /package/lib/{src → cjs/src}/types/partials/FamilyMemberHistoryCondition.js +0 -0
- /package/lib/{src → cjs/src}/types/partials/HumanName.d.ts +0 -0
- /package/lib/{src → cjs/src}/types/partials/HumanName.js +0 -0
- /package/lib/{src → cjs/src}/types/partials/Identifier.d.ts +0 -0
- /package/lib/{src → cjs/src}/types/partials/Identifier.js +0 -0
- /package/lib/{src → cjs/src}/types/partials/ImmunizationEducation.d.ts +0 -0
- /package/lib/{src → cjs/src}/types/partials/ImmunizationEducation.js +0 -0
- /package/lib/{src → cjs/src}/types/partials/ImmunizationPerformer.d.ts +0 -0
- /package/lib/{src → cjs/src}/types/partials/ImmunizationPerformer.js +0 -0
- /package/lib/{src → cjs/src}/types/partials/ImmunizationProtocolApplied.d.ts +0 -0
- /package/lib/{src → cjs/src}/types/partials/ImmunizationProtocolApplied.js +0 -0
- /package/lib/{src → cjs/src}/types/partials/ImmunizationReaction.d.ts +0 -0
- /package/lib/{src → cjs/src}/types/partials/ImmunizationReaction.js +0 -0
- /package/lib/{src → cjs/src}/types/partials/MedicationBatch.d.ts +0 -0
- /package/lib/{src → cjs/src}/types/partials/MedicationBatch.js +0 -0
- /package/lib/{src → cjs/src}/types/partials/MedicationIngredient.d.ts +0 -0
- /package/lib/{src → cjs/src}/types/partials/MedicationIngredient.js +0 -0
- /package/lib/{src → cjs/src}/types/partials/MedicationRequestDispenseRequest.d.ts +0 -0
- /package/lib/{src → cjs/src}/types/partials/MedicationRequestDispenseRequest.js +0 -0
- /package/lib/{src → cjs/src}/types/partials/MedicationRequestInitialFill.d.ts +0 -0
- /package/lib/{src → cjs/src}/types/partials/MedicationRequestInitialFill.js +0 -0
- /package/lib/{src → cjs/src}/types/partials/MedicationRequestSubstitution.d.ts +0 -0
- /package/lib/{src → cjs/src}/types/partials/MedicationRequestSubstitution.js +0 -0
- /package/lib/{src → cjs/src}/types/partials/Meta.d.ts +0 -0
- /package/lib/{src → cjs/src}/types/partials/Meta.js +0 -0
- /package/lib/{src → cjs/src}/types/partials/Money.d.ts +0 -0
- /package/lib/{src → cjs/src}/types/partials/Money.js +0 -0
- /package/lib/{src → cjs/src}/types/partials/Narrative.d.ts +0 -0
- /package/lib/{src → cjs/src}/types/partials/Narrative.js +0 -0
- /package/lib/{src → cjs/src}/types/partials/ObservationComponent.d.ts +0 -0
- /package/lib/{src → cjs/src}/types/partials/ObservationComponent.js +0 -0
- /package/lib/{src → cjs/src}/types/partials/ObservationReferenceRange.d.ts +0 -0
- /package/lib/{src → cjs/src}/types/partials/ObservationReferenceRange.js +0 -0
- /package/lib/{src → cjs/src}/types/partials/OrganizationContact.d.ts +0 -0
- /package/lib/{src → cjs/src}/types/partials/OrganizationContact.js +0 -0
- /package/lib/{src → cjs/src}/types/partials/ParameterDefinition.d.ts +0 -0
- /package/lib/{src → cjs/src}/types/partials/ParameterDefinition.js +0 -0
- /package/lib/{src → cjs/src}/types/partials/PatientCommunication.d.ts +0 -0
- /package/lib/{src → cjs/src}/types/partials/PatientCommunication.js +0 -0
- /package/lib/{src → cjs/src}/types/partials/PatientContact.d.ts +0 -0
- /package/lib/{src → cjs/src}/types/partials/PatientContact.js +0 -0
- /package/lib/{src → cjs/src}/types/partials/PatientLink.d.ts +0 -0
- /package/lib/{src → cjs/src}/types/partials/PatientLink.js +0 -0
- /package/lib/{src → cjs/src}/types/partials/Period.d.ts +0 -0
- /package/lib/{src → cjs/src}/types/partials/Period.js +0 -0
- /package/lib/{src → cjs/src}/types/partials/ProcedureFocalDevice.d.ts +0 -0
- /package/lib/{src → cjs/src}/types/partials/ProcedureFocalDevice.js +0 -0
- /package/lib/{src → cjs/src}/types/partials/ProcedurePerformer.d.ts +0 -0
- /package/lib/{src → cjs/src}/types/partials/ProcedurePerformer.js +0 -0
- /package/lib/{src → cjs/src}/types/partials/Quantity.d.ts +0 -0
- /package/lib/{src → cjs/src}/types/partials/Quantity.js +0 -0
- /package/lib/{src → cjs/src}/types/partials/Range.d.ts +0 -0
- /package/lib/{src → cjs/src}/types/partials/Range.js +0 -0
- /package/lib/{src → cjs/src}/types/partials/Ratio.d.ts +0 -0
- /package/lib/{src → cjs/src}/types/partials/Ratio.js +0 -0
- /package/lib/{src → cjs/src}/types/partials/RatioRange.d.ts +0 -0
- /package/lib/{src → cjs/src}/types/partials/RatioRange.js +0 -0
- /package/lib/{src → cjs/src}/types/partials/Reference.d.ts +0 -0
- /package/lib/{src → cjs/src}/types/partials/Reference.js +0 -0
- /package/lib/{src → cjs/src}/types/partials/RelatedArtifact.d.ts +0 -0
- /package/lib/{src → cjs/src}/types/partials/RelatedArtifact.js +0 -0
- /package/lib/{src → cjs/src}/types/partials/SampledData.d.ts +0 -0
- /package/lib/{src → cjs/src}/types/partials/SampledData.js +0 -0
- /package/lib/{src → cjs/src}/types/partials/Signature.d.ts +0 -0
- /package/lib/{src → cjs/src}/types/partials/Signature.js +0 -0
- /package/lib/{src → cjs/src}/types/partials/Timing.d.ts +0 -0
- /package/lib/{src → cjs/src}/types/partials/Timing.js +0 -0
- /package/lib/{src → cjs/src}/types/partials/TimingRepeat.d.ts +0 -0
- /package/lib/{src → cjs/src}/types/partials/TimingRepeat.js +0 -0
- /package/lib/{src → cjs/src}/types/partials/TriggerDefinition.d.ts +0 -0
- /package/lib/{src → cjs/src}/types/partials/TriggerDefinition.js +0 -0
- /package/lib/{src → cjs/src}/types/partials/UsageContext.d.ts +0 -0
- /package/lib/{src → cjs/src}/types/partials/UsageContext.js +0 -0
- /package/lib/{src → cjs/src}/types/resources/AllergyIntolerance.d.ts +0 -0
- /package/lib/{src → cjs/src}/types/resources/AllergyIntolerance.js +0 -0
- /package/lib/{src → cjs/src}/types/resources/Bundle.d.ts +0 -0
- /package/lib/{src → cjs/src}/types/resources/Bundle.js +0 -0
- /package/lib/{src → cjs/src}/types/resources/CarePlan.d.ts +0 -0
- /package/lib/{src → cjs/src}/types/resources/CarePlan.js +0 -0
- /package/lib/{src → cjs/src}/types/resources/ClinicalImpression.d.ts +0 -0
- /package/lib/{src → cjs/src}/types/resources/ClinicalImpression.js +0 -0
- /package/lib/{src → cjs/src}/types/resources/Composition.d.ts +0 -0
- /package/lib/{src → cjs/src}/types/resources/Composition.js +0 -0
- /package/lib/{src → cjs/src}/types/resources/Condition.d.ts +0 -0
- /package/lib/{src → cjs/src}/types/resources/Condition.js +0 -0
- /package/lib/{src → cjs/src}/types/resources/Consent.d.ts +0 -0
- /package/lib/{src → cjs/src}/types/resources/Consent.js +0 -0
- /package/lib/{src → cjs/src}/types/resources/Device.d.ts +0 -0
- /package/lib/{src → cjs/src}/types/resources/Device.js +0 -0
- /package/lib/{src → cjs/src}/types/resources/DeviceUseStatement.d.ts +0 -0
- /package/lib/{src → cjs/src}/types/resources/DeviceUseStatement.js +0 -0
- /package/lib/{src → cjs/src}/types/resources/DiagnosticReport.d.ts +0 -0
- /package/lib/{src → cjs/src}/types/resources/DiagnosticReport.js +0 -0
- /package/lib/{src → cjs/src}/types/resources/DomainResource.d.ts +0 -0
- /package/lib/{src → cjs/src}/types/resources/DomainResource.js +0 -0
- /package/lib/{src → cjs/src}/types/resources/FamilyMemberHistory.d.ts +0 -0
- /package/lib/{src → cjs/src}/types/resources/FamilyMemberHistory.js +0 -0
- /package/lib/{src → cjs/src}/types/resources/Immunization.d.ts +0 -0
- /package/lib/{src → cjs/src}/types/resources/Immunization.js +0 -0
- /package/lib/{src → cjs/src}/types/resources/Medication.d.ts +0 -0
- /package/lib/{src → cjs/src}/types/resources/Medication.js +0 -0
- /package/lib/{src → cjs/src}/types/resources/MedicationRequest.d.ts +0 -0
- /package/lib/{src → cjs/src}/types/resources/MedicationRequest.js +0 -0
- /package/lib/{src → cjs/src}/types/resources/MedicationStatement.d.ts +0 -0
- /package/lib/{src → cjs/src}/types/resources/MedicationStatement.js +0 -0
- /package/lib/{src → cjs/src}/types/resources/Observation.d.ts +0 -0
- /package/lib/{src → cjs/src}/types/resources/Observation.js +0 -0
- /package/lib/{src → cjs/src}/types/resources/Organization.d.ts +0 -0
- /package/lib/{src → cjs/src}/types/resources/Organization.js +0 -0
- /package/lib/{src → cjs/src}/types/resources/Patient.d.ts +0 -0
- /package/lib/{src → cjs/src}/types/resources/Patient.js +0 -0
- /package/lib/{src → cjs/src}/types/resources/Procedure.d.ts +0 -0
- /package/lib/{src → cjs/src}/types/resources/Procedure.js +0 -0
- /package/lib/{src → cjs/src}/types/simpleTypes/Base64Binary.d.ts +0 -0
- /package/lib/{src → cjs/src}/types/simpleTypes/Base64Binary.js +0 -0
- /package/lib/{src → cjs/src}/types/simpleTypes/Canonical.d.ts +0 -0
- /package/lib/{src → cjs/src}/types/simpleTypes/Canonical.js +0 -0
- /package/lib/{src → cjs/src}/types/simpleTypes/Date.d.ts +0 -0
- /package/lib/{src → cjs/src}/types/simpleTypes/Date.js +0 -0
- /package/lib/{src → cjs/src}/types/simpleTypes/DateTime.d.ts +0 -0
- /package/lib/{src → cjs/src}/types/simpleTypes/DateTime.js +0 -0
- /package/lib/{src → cjs/src}/types/simpleTypes/Decimal.d.ts +0 -0
- /package/lib/{src → cjs/src}/types/simpleTypes/Decimal.js +0 -0
- /package/lib/{src → cjs/src}/types/simpleTypes/Id.d.ts +0 -0
- /package/lib/{src → cjs/src}/types/simpleTypes/Id.js +0 -0
- /package/lib/{src → cjs/src}/types/simpleTypes/Instant.d.ts +0 -0
- /package/lib/{src → cjs/src}/types/simpleTypes/Instant.js +0 -0
- /package/lib/{src → cjs/src}/types/simpleTypes/Int.d.ts +0 -0
- /package/lib/{src → cjs/src}/types/simpleTypes/Int.js +0 -0
- /package/lib/{src → cjs/src}/types/simpleTypes/Markdown.d.ts +0 -0
- /package/lib/{src → cjs/src}/types/simpleTypes/Markdown.js +0 -0
- /package/lib/{src → cjs/src}/types/simpleTypes/Oid.d.ts +0 -0
- /package/lib/{src → cjs/src}/types/simpleTypes/Oid.js +0 -0
- /package/lib/{src → cjs/src}/types/simpleTypes/ResourceContainer.d.ts +0 -0
- /package/lib/{src → cjs/src}/types/simpleTypes/ResourceContainer.js +0 -0
- /package/lib/{src → cjs/src}/types/simpleTypes/Time.d.ts +0 -0
- /package/lib/{src → cjs/src}/types/simpleTypes/Time.js +0 -0
- /package/lib/{src → cjs/src}/types/simpleTypes/UnsignedInt.d.ts +0 -0
- /package/lib/{src → cjs/src}/types/simpleTypes/UnsignedInt.js +0 -0
- /package/lib/{src → cjs/src}/types/simpleTypes/Uri.d.ts +0 -0
- /package/lib/{src → cjs/src}/types/simpleTypes/Uri.js +0 -0
- /package/lib/{src → cjs/src}/types/simpleTypes/Url.d.ts +0 -0
- /package/lib/{src → cjs/src}/types/simpleTypes/Url.js +0 -0
- /package/lib/{src → cjs/src}/types/simpleTypes/Uuid.d.ts +0 -0
- /package/lib/{src → cjs/src}/types/simpleTypes/Uuid.js +0 -0
- /package/lib/{src → cjs/src}/types/simpleTypes/Xhtml.d.ts +0 -0
- /package/lib/{src → cjs/src}/types/simpleTypes/Xhtml.js +0 -0
- /package/lib/{test → cjs/test}/fhir-summary-bundle/fhir-summary-bundle.test.d.ts +0 -0
- /package/lib/{test → cjs/test}/fhir-summary-bundle/fhir-summary-bundle.test.js +0 -0
- /package/lib/{test → cjs/test}/ips-test/ips.test.d.ts +0 -0
- /package/lib/{test → cjs/test}/ips-test/ips.test.js +0 -0
- /package/lib/{test → cjs/test}/narrativeGenerator/narrativeGenerator.test.d.ts +0 -0
- /package/lib/{test → cjs/test}/narrativeGenerator/narrativeGenerator.test.js +0 -0
- /package/lib/{test → cjs/test}/summary.test.d.ts +0 -0
- /package/lib/{test → cjs/test}/summary.test.js +0 -0
- /package/lib/{test → cjs/test}/utilities/testHelpers.d.ts +0 -0
- /package/lib/{test → cjs/test}/utilities/testHelpers.js +0 -0
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
import { TMeta } from '../partials/Meta';
|
|
2
|
+
import { TUri } from '../simpleTypes/Uri';
|
|
3
|
+
import { TNarrative } from '../partials/Narrative';
|
|
4
|
+
import { TResourceContainer } from '../simpleTypes/ResourceContainer';
|
|
5
|
+
import { TExtension } from '../partials/Extension';
|
|
6
|
+
import { TIdentifier } from '../partials/Identifier';
|
|
7
|
+
import { TReference } from '../partials/Reference';
|
|
8
|
+
import { TDeviceUdiCarrier } from '../partials/DeviceUdiCarrier';
|
|
9
|
+
import { TCodeableConcept } from '../partials/CodeableConcept';
|
|
10
|
+
import { TDateTime } from '../simpleTypes/DateTime';
|
|
11
|
+
import { TDeviceDeviceName } from '../partials/DeviceDeviceName';
|
|
12
|
+
import { TDeviceSpecialization } from '../partials/DeviceSpecialization';
|
|
13
|
+
import { TDeviceVersion } from '../partials/DeviceVersion';
|
|
14
|
+
import { TDeviceProperty } from '../partials/DeviceProperty';
|
|
15
|
+
import { TContactPoint } from '../partials/ContactPoint';
|
|
16
|
+
import { TAnnotation } from '../partials/Annotation';
|
|
17
|
+
export type TDevice = {
|
|
18
|
+
resourceType?: string;
|
|
19
|
+
id?: string;
|
|
20
|
+
meta?: TMeta;
|
|
21
|
+
implicitRules?: TUri;
|
|
22
|
+
language?: string;
|
|
23
|
+
text?: TNarrative;
|
|
24
|
+
contained?: TResourceContainer[];
|
|
25
|
+
extension?: TExtension[];
|
|
26
|
+
modifierExtension?: TExtension[];
|
|
27
|
+
identifier?: TIdentifier[];
|
|
28
|
+
definition?: TReference;
|
|
29
|
+
udiCarrier?: TDeviceUdiCarrier[];
|
|
30
|
+
status?: string;
|
|
31
|
+
statusReason?: TCodeableConcept[];
|
|
32
|
+
distinctIdentifier?: string;
|
|
33
|
+
manufacturer?: string;
|
|
34
|
+
manufactureDate?: TDateTime;
|
|
35
|
+
expirationDate?: TDateTime;
|
|
36
|
+
lotNumber?: string;
|
|
37
|
+
serialNumber?: string;
|
|
38
|
+
deviceName?: TDeviceDeviceName[];
|
|
39
|
+
modelNumber?: string;
|
|
40
|
+
partNumber?: string;
|
|
41
|
+
type?: TCodeableConcept;
|
|
42
|
+
specialization?: TDeviceSpecialization[];
|
|
43
|
+
version?: TDeviceVersion[];
|
|
44
|
+
property?: TDeviceProperty[];
|
|
45
|
+
patient?: TReference;
|
|
46
|
+
owner?: TReference;
|
|
47
|
+
contact?: TContactPoint[];
|
|
48
|
+
location?: TReference;
|
|
49
|
+
url?: TUri;
|
|
50
|
+
note?: TAnnotation[];
|
|
51
|
+
safety?: TCodeableConcept[];
|
|
52
|
+
parent?: TReference;
|
|
53
|
+
};
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import { TMeta } from '../partials/Meta';
|
|
2
|
+
import { TUri } from '../simpleTypes/Uri';
|
|
3
|
+
import { TNarrative } from '../partials/Narrative';
|
|
4
|
+
import { TResourceContainer } from '../simpleTypes/ResourceContainer';
|
|
5
|
+
import { TExtension } from '../partials/Extension';
|
|
6
|
+
import { TIdentifier } from '../partials/Identifier';
|
|
7
|
+
import { TReference } from '../partials/Reference';
|
|
8
|
+
import { TTiming } from '../partials/Timing';
|
|
9
|
+
import { TPeriod } from '../partials/Period';
|
|
10
|
+
import { TDateTime } from '../simpleTypes/DateTime';
|
|
11
|
+
import { TCodeableConcept } from '../partials/CodeableConcept';
|
|
12
|
+
import { TAnnotation } from '../partials/Annotation';
|
|
13
|
+
export type TDeviceUseStatement = {
|
|
14
|
+
resourceType?: string;
|
|
15
|
+
id?: string;
|
|
16
|
+
meta?: TMeta;
|
|
17
|
+
implicitRules?: TUri;
|
|
18
|
+
language?: string;
|
|
19
|
+
text?: TNarrative;
|
|
20
|
+
contained?: TResourceContainer[];
|
|
21
|
+
extension?: TExtension[];
|
|
22
|
+
modifierExtension?: TExtension[];
|
|
23
|
+
identifier?: TIdentifier[];
|
|
24
|
+
basedOn?: TReference[];
|
|
25
|
+
status: string;
|
|
26
|
+
subject: TReference;
|
|
27
|
+
derivedFrom?: TReference[];
|
|
28
|
+
timingTiming?: TTiming;
|
|
29
|
+
timingPeriod?: TPeriod;
|
|
30
|
+
timingDateTime?: TDateTime;
|
|
31
|
+
recordedOn?: TDateTime;
|
|
32
|
+
source?: TReference;
|
|
33
|
+
device: TReference;
|
|
34
|
+
reasonCode?: TCodeableConcept[];
|
|
35
|
+
reasonReference?: TReference[];
|
|
36
|
+
bodySite?: TCodeableConcept;
|
|
37
|
+
note?: TAnnotation[];
|
|
38
|
+
};
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
import { TMeta } from '../partials/Meta';
|
|
2
|
+
import { TUri } from '../simpleTypes/Uri';
|
|
3
|
+
import { TNarrative } from '../partials/Narrative';
|
|
4
|
+
import { TResourceContainer } from '../simpleTypes/ResourceContainer';
|
|
5
|
+
import { TExtension } from '../partials/Extension';
|
|
6
|
+
import { TIdentifier } from '../partials/Identifier';
|
|
7
|
+
import { TReference } from '../partials/Reference';
|
|
8
|
+
import { TCodeableConcept } from '../partials/CodeableConcept';
|
|
9
|
+
import { TDateTime } from '../simpleTypes/DateTime';
|
|
10
|
+
import { TPeriod } from '../partials/Period';
|
|
11
|
+
import { TInstant } from '../simpleTypes/Instant';
|
|
12
|
+
import { TDiagnosticReportMedia } from '../partials/DiagnosticReportMedia';
|
|
13
|
+
import { TAttachment } from '../partials/Attachment';
|
|
14
|
+
export type TDiagnosticReport = {
|
|
15
|
+
resourceType?: string;
|
|
16
|
+
id?: string;
|
|
17
|
+
meta?: TMeta;
|
|
18
|
+
implicitRules?: TUri;
|
|
19
|
+
language?: string;
|
|
20
|
+
text?: TNarrative;
|
|
21
|
+
contained?: TResourceContainer[];
|
|
22
|
+
extension?: TExtension[];
|
|
23
|
+
modifierExtension?: TExtension[];
|
|
24
|
+
identifier?: TIdentifier[];
|
|
25
|
+
basedOn?: TReference[];
|
|
26
|
+
status: string;
|
|
27
|
+
category?: TCodeableConcept[];
|
|
28
|
+
code: TCodeableConcept;
|
|
29
|
+
subject?: TReference;
|
|
30
|
+
encounter?: TReference;
|
|
31
|
+
effectiveDateTime?: TDateTime;
|
|
32
|
+
effectivePeriod?: TPeriod;
|
|
33
|
+
issued?: TInstant;
|
|
34
|
+
performer?: TReference[];
|
|
35
|
+
resultsInterpreter?: TReference[];
|
|
36
|
+
specimen?: TReference[];
|
|
37
|
+
result?: TReference[];
|
|
38
|
+
imagingStudy?: TReference[];
|
|
39
|
+
media?: TDiagnosticReportMedia[];
|
|
40
|
+
conclusion?: string;
|
|
41
|
+
conclusionCode?: TCodeableConcept[];
|
|
42
|
+
presentedForm?: TAttachment[];
|
|
43
|
+
};
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { TMeta } from '../partials/Meta';
|
|
2
|
+
import { TUri } from '../simpleTypes/Uri';
|
|
3
|
+
import { TNarrative } from '../partials/Narrative';
|
|
4
|
+
import { TResourceContainer } from '../simpleTypes/ResourceContainer';
|
|
5
|
+
import { TExtension } from '../partials/Extension';
|
|
6
|
+
export type TDomainResource = {
|
|
7
|
+
resourceType?: string;
|
|
8
|
+
id?: string;
|
|
9
|
+
meta?: TMeta;
|
|
10
|
+
implicitRules?: TUri;
|
|
11
|
+
language?: string;
|
|
12
|
+
text?: TNarrative;
|
|
13
|
+
contained?: TResourceContainer[];
|
|
14
|
+
extension?: TExtension[];
|
|
15
|
+
modifierExtension?: TExtension[];
|
|
16
|
+
};
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
import { TMeta } from '../partials/Meta';
|
|
2
|
+
import { TUri } from '../simpleTypes/Uri';
|
|
3
|
+
import { TNarrative } from '../partials/Narrative';
|
|
4
|
+
import { TResourceContainer } from '../simpleTypes/ResourceContainer';
|
|
5
|
+
import { TExtension } from '../partials/Extension';
|
|
6
|
+
import { TIdentifier } from '../partials/Identifier';
|
|
7
|
+
import { TCanonical } from '../simpleTypes/Canonical';
|
|
8
|
+
import { TCodeableConcept } from '../partials/CodeableConcept';
|
|
9
|
+
import { TReference } from '../partials/Reference';
|
|
10
|
+
import { TDateTime } from '../simpleTypes/DateTime';
|
|
11
|
+
import { TPeriod } from '../partials/Period';
|
|
12
|
+
import { TDate } from '../simpleTypes/Date';
|
|
13
|
+
import { TQuantity } from '../partials/Quantity';
|
|
14
|
+
import { TRange } from '../partials/Range';
|
|
15
|
+
import { TAnnotation } from '../partials/Annotation';
|
|
16
|
+
import { TFamilyMemberHistoryCondition } from '../partials/FamilyMemberHistoryCondition';
|
|
17
|
+
export type TFamilyMemberHistory = {
|
|
18
|
+
resourceType?: string;
|
|
19
|
+
id?: string;
|
|
20
|
+
meta?: TMeta;
|
|
21
|
+
implicitRules?: TUri;
|
|
22
|
+
language?: string;
|
|
23
|
+
text?: TNarrative;
|
|
24
|
+
contained?: TResourceContainer[];
|
|
25
|
+
extension?: TExtension[];
|
|
26
|
+
modifierExtension?: TExtension[];
|
|
27
|
+
identifier?: TIdentifier[];
|
|
28
|
+
instantiatesCanonical?: TCanonical[];
|
|
29
|
+
instantiatesUri?: TUri[];
|
|
30
|
+
status: string;
|
|
31
|
+
dataAbsentReason?: TCodeableConcept;
|
|
32
|
+
patient: TReference;
|
|
33
|
+
date?: TDateTime;
|
|
34
|
+
name?: string;
|
|
35
|
+
relationship: TCodeableConcept;
|
|
36
|
+
sex?: TCodeableConcept;
|
|
37
|
+
bornPeriod?: TPeriod;
|
|
38
|
+
bornDate?: TDate;
|
|
39
|
+
bornString?: string;
|
|
40
|
+
ageAge?: TQuantity;
|
|
41
|
+
ageRange?: TRange;
|
|
42
|
+
ageString?: string;
|
|
43
|
+
estimatedAge?: boolean;
|
|
44
|
+
deceasedBoolean?: boolean;
|
|
45
|
+
deceasedAge?: TQuantity;
|
|
46
|
+
deceasedRange?: TRange;
|
|
47
|
+
deceasedDate?: TDate;
|
|
48
|
+
deceasedString?: string;
|
|
49
|
+
reasonCode?: TCodeableConcept[];
|
|
50
|
+
reasonReference?: TReference[];
|
|
51
|
+
note?: TAnnotation[];
|
|
52
|
+
condition?: TFamilyMemberHistoryCondition[];
|
|
53
|
+
};
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
import { TMeta } from '../partials/Meta';
|
|
2
|
+
import { TUri } from '../simpleTypes/Uri';
|
|
3
|
+
import { TNarrative } from '../partials/Narrative';
|
|
4
|
+
import { TResourceContainer } from '../simpleTypes/ResourceContainer';
|
|
5
|
+
import { TExtension } from '../partials/Extension';
|
|
6
|
+
import { TIdentifier } from '../partials/Identifier';
|
|
7
|
+
import { TCodeableConcept } from '../partials/CodeableConcept';
|
|
8
|
+
import { TReference } from '../partials/Reference';
|
|
9
|
+
import { TDateTime } from '../simpleTypes/DateTime';
|
|
10
|
+
import { TDate } from '../simpleTypes/Date';
|
|
11
|
+
import { TQuantity } from '../partials/Quantity';
|
|
12
|
+
import { TImmunizationPerformer } from '../partials/ImmunizationPerformer';
|
|
13
|
+
import { TAnnotation } from '../partials/Annotation';
|
|
14
|
+
import { TImmunizationEducation } from '../partials/ImmunizationEducation';
|
|
15
|
+
import { TImmunizationReaction } from '../partials/ImmunizationReaction';
|
|
16
|
+
import { TImmunizationProtocolApplied } from '../partials/ImmunizationProtocolApplied';
|
|
17
|
+
export type TImmunization = {
|
|
18
|
+
resourceType?: string;
|
|
19
|
+
id?: string;
|
|
20
|
+
meta?: TMeta;
|
|
21
|
+
implicitRules?: TUri;
|
|
22
|
+
language?: string;
|
|
23
|
+
text?: TNarrative;
|
|
24
|
+
contained?: TResourceContainer[];
|
|
25
|
+
extension?: TExtension[];
|
|
26
|
+
modifierExtension?: TExtension[];
|
|
27
|
+
identifier?: TIdentifier[];
|
|
28
|
+
status: string;
|
|
29
|
+
statusReason?: TCodeableConcept;
|
|
30
|
+
vaccineCode: TCodeableConcept;
|
|
31
|
+
patient: TReference;
|
|
32
|
+
encounter?: TReference;
|
|
33
|
+
occurrenceDateTime?: TDateTime;
|
|
34
|
+
occurrenceString?: string;
|
|
35
|
+
recorded?: TDateTime;
|
|
36
|
+
primarySource?: boolean;
|
|
37
|
+
reportOrigin?: TCodeableConcept;
|
|
38
|
+
location?: TReference;
|
|
39
|
+
manufacturer?: TReference;
|
|
40
|
+
lotNumber?: string;
|
|
41
|
+
expirationDate?: TDate;
|
|
42
|
+
site?: TCodeableConcept;
|
|
43
|
+
route?: TCodeableConcept;
|
|
44
|
+
doseQuantity?: TQuantity;
|
|
45
|
+
performer?: TImmunizationPerformer[];
|
|
46
|
+
note?: TAnnotation[];
|
|
47
|
+
reasonCode?: TCodeableConcept[];
|
|
48
|
+
reasonReference?: TReference[];
|
|
49
|
+
isSubpotent?: boolean;
|
|
50
|
+
subpotentReason?: TCodeableConcept[];
|
|
51
|
+
education?: TImmunizationEducation[];
|
|
52
|
+
programEligibility?: TCodeableConcept[];
|
|
53
|
+
fundingSource?: TCodeableConcept;
|
|
54
|
+
reaction?: TImmunizationReaction[];
|
|
55
|
+
protocolApplied?: TImmunizationProtocolApplied[];
|
|
56
|
+
};
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import { TMeta } from '../partials/Meta';
|
|
2
|
+
import { TUri } from '../simpleTypes/Uri';
|
|
3
|
+
import { TNarrative } from '../partials/Narrative';
|
|
4
|
+
import { TResourceContainer } from '../simpleTypes/ResourceContainer';
|
|
5
|
+
import { TExtension } from '../partials/Extension';
|
|
6
|
+
import { TIdentifier } from '../partials/Identifier';
|
|
7
|
+
import { TCodeableConcept } from '../partials/CodeableConcept';
|
|
8
|
+
import { TReference } from '../partials/Reference';
|
|
9
|
+
import { TRatio } from '../partials/Ratio';
|
|
10
|
+
import { TMedicationIngredient } from '../partials/MedicationIngredient';
|
|
11
|
+
import { TMedicationBatch } from '../partials/MedicationBatch';
|
|
12
|
+
export type TMedication = {
|
|
13
|
+
resourceType?: string;
|
|
14
|
+
id?: string;
|
|
15
|
+
meta?: TMeta;
|
|
16
|
+
implicitRules?: TUri;
|
|
17
|
+
language?: string;
|
|
18
|
+
text?: TNarrative;
|
|
19
|
+
contained?: TResourceContainer[];
|
|
20
|
+
extension?: TExtension[];
|
|
21
|
+
modifierExtension?: TExtension[];
|
|
22
|
+
identifier?: TIdentifier[];
|
|
23
|
+
code?: TCodeableConcept;
|
|
24
|
+
status?: string;
|
|
25
|
+
manufacturer?: TReference;
|
|
26
|
+
form?: TCodeableConcept;
|
|
27
|
+
amount?: TRatio;
|
|
28
|
+
ingredient?: TMedicationIngredient[];
|
|
29
|
+
batch?: TMedicationBatch;
|
|
30
|
+
};
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
import { TMeta } from '../partials/Meta';
|
|
2
|
+
import { TUri } from '../simpleTypes/Uri';
|
|
3
|
+
import { TNarrative } from '../partials/Narrative';
|
|
4
|
+
import { TResourceContainer } from '../simpleTypes/ResourceContainer';
|
|
5
|
+
import { TExtension } from '../partials/Extension';
|
|
6
|
+
import { TIdentifier } from '../partials/Identifier';
|
|
7
|
+
import { TCodeableConcept } from '../partials/CodeableConcept';
|
|
8
|
+
import { TReference } from '../partials/Reference';
|
|
9
|
+
import { TDateTime } from '../simpleTypes/DateTime';
|
|
10
|
+
import { TCanonical } from '../simpleTypes/Canonical';
|
|
11
|
+
import { TAnnotation } from '../partials/Annotation';
|
|
12
|
+
import { TDosage } from '../partials/Dosage';
|
|
13
|
+
import { TMedicationRequestDispenseRequest } from '../partials/MedicationRequestDispenseRequest';
|
|
14
|
+
import { TMedicationRequestSubstitution } from '../partials/MedicationRequestSubstitution';
|
|
15
|
+
export type TMedicationRequest = {
|
|
16
|
+
resourceType?: string;
|
|
17
|
+
id?: string;
|
|
18
|
+
meta?: TMeta;
|
|
19
|
+
implicitRules?: TUri;
|
|
20
|
+
language?: string;
|
|
21
|
+
text?: TNarrative;
|
|
22
|
+
contained?: TResourceContainer[];
|
|
23
|
+
extension?: TExtension[];
|
|
24
|
+
modifierExtension?: TExtension[];
|
|
25
|
+
identifier?: TIdentifier[];
|
|
26
|
+
status: string;
|
|
27
|
+
statusReason?: TCodeableConcept;
|
|
28
|
+
intent: string;
|
|
29
|
+
category?: TCodeableConcept[];
|
|
30
|
+
priority?: string;
|
|
31
|
+
doNotPerform?: boolean;
|
|
32
|
+
reportedBoolean?: boolean;
|
|
33
|
+
reportedReference?: TReference;
|
|
34
|
+
medicationCodeableConcept?: TCodeableConcept;
|
|
35
|
+
medicationReference?: TReference;
|
|
36
|
+
subject: TReference;
|
|
37
|
+
encounter?: TReference;
|
|
38
|
+
supportingInformation?: TReference[];
|
|
39
|
+
authoredOn?: TDateTime;
|
|
40
|
+
requester?: TReference;
|
|
41
|
+
performer?: TReference;
|
|
42
|
+
performerType?: TCodeableConcept;
|
|
43
|
+
recorder?: TReference;
|
|
44
|
+
reasonCode?: TCodeableConcept[];
|
|
45
|
+
reasonReference?: TReference[];
|
|
46
|
+
instantiatesCanonical?: TCanonical[];
|
|
47
|
+
instantiatesUri?: TUri[];
|
|
48
|
+
basedOn?: TReference[];
|
|
49
|
+
groupIdentifier?: TIdentifier;
|
|
50
|
+
courseOfTherapyType?: TCodeableConcept;
|
|
51
|
+
insurance?: TReference[];
|
|
52
|
+
note?: TAnnotation[];
|
|
53
|
+
dosageInstruction?: TDosage[];
|
|
54
|
+
dispenseRequest?: TMedicationRequestDispenseRequest;
|
|
55
|
+
substitution?: TMedicationRequestSubstitution;
|
|
56
|
+
priorPrescription?: TReference;
|
|
57
|
+
detectedIssue?: TReference[];
|
|
58
|
+
eventHistory?: TReference[];
|
|
59
|
+
};
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import { TMeta } from '../partials/Meta';
|
|
2
|
+
import { TUri } from '../simpleTypes/Uri';
|
|
3
|
+
import { TNarrative } from '../partials/Narrative';
|
|
4
|
+
import { TResourceContainer } from '../simpleTypes/ResourceContainer';
|
|
5
|
+
import { TExtension } from '../partials/Extension';
|
|
6
|
+
import { TIdentifier } from '../partials/Identifier';
|
|
7
|
+
import { TReference } from '../partials/Reference';
|
|
8
|
+
import { TCodeableConcept } from '../partials/CodeableConcept';
|
|
9
|
+
import { TDateTime } from '../simpleTypes/DateTime';
|
|
10
|
+
import { TPeriod } from '../partials/Period';
|
|
11
|
+
import { TAnnotation } from '../partials/Annotation';
|
|
12
|
+
import { TDosage } from '../partials/Dosage';
|
|
13
|
+
export type TMedicationStatement = {
|
|
14
|
+
resourceType?: string;
|
|
15
|
+
id?: string;
|
|
16
|
+
meta?: TMeta;
|
|
17
|
+
implicitRules?: TUri;
|
|
18
|
+
language?: string;
|
|
19
|
+
text?: TNarrative;
|
|
20
|
+
contained?: TResourceContainer[];
|
|
21
|
+
extension?: TExtension[];
|
|
22
|
+
modifierExtension?: TExtension[];
|
|
23
|
+
identifier?: TIdentifier[];
|
|
24
|
+
basedOn?: TReference[];
|
|
25
|
+
partOf?: TReference[];
|
|
26
|
+
status: string;
|
|
27
|
+
statusReason?: TCodeableConcept[];
|
|
28
|
+
category?: TCodeableConcept;
|
|
29
|
+
medicationCodeableConcept?: TCodeableConcept;
|
|
30
|
+
medicationReference?: TReference;
|
|
31
|
+
subject: TReference;
|
|
32
|
+
context?: TReference;
|
|
33
|
+
effectiveDateTime?: TDateTime;
|
|
34
|
+
effectivePeriod?: TPeriod;
|
|
35
|
+
dateAsserted?: TDateTime;
|
|
36
|
+
informationSource?: TReference;
|
|
37
|
+
derivedFrom?: TReference[];
|
|
38
|
+
reasonCode?: TCodeableConcept[];
|
|
39
|
+
reasonReference?: TReference[];
|
|
40
|
+
note?: TAnnotation[];
|
|
41
|
+
dosage?: TDosage[];
|
|
42
|
+
};
|
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
import { TMeta } from '../partials/Meta';
|
|
2
|
+
import { TUri } from '../simpleTypes/Uri';
|
|
3
|
+
import { TNarrative } from '../partials/Narrative';
|
|
4
|
+
import { TResourceContainer } from '../simpleTypes/ResourceContainer';
|
|
5
|
+
import { TExtension } from '../partials/Extension';
|
|
6
|
+
import { TIdentifier } from '../partials/Identifier';
|
|
7
|
+
import { TReference } from '../partials/Reference';
|
|
8
|
+
import { TCodeableConcept } from '../partials/CodeableConcept';
|
|
9
|
+
import { TDateTime } from '../simpleTypes/DateTime';
|
|
10
|
+
import { TPeriod } from '../partials/Period';
|
|
11
|
+
import { TTiming } from '../partials/Timing';
|
|
12
|
+
import { TInstant } from '../simpleTypes/Instant';
|
|
13
|
+
import { TQuantity } from '../partials/Quantity';
|
|
14
|
+
import { TInt } from '../simpleTypes/Int';
|
|
15
|
+
import { TRange } from '../partials/Range';
|
|
16
|
+
import { TRatio } from '../partials/Ratio';
|
|
17
|
+
import { TSampledData } from '../partials/SampledData';
|
|
18
|
+
import { TTime } from '../simpleTypes/Time';
|
|
19
|
+
import { TAnnotation } from '../partials/Annotation';
|
|
20
|
+
import { TObservationReferenceRange } from '../partials/ObservationReferenceRange';
|
|
21
|
+
import { TObservationComponent } from '../partials/ObservationComponent';
|
|
22
|
+
export type TObservation = {
|
|
23
|
+
resourceType?: string;
|
|
24
|
+
id?: string;
|
|
25
|
+
meta?: TMeta;
|
|
26
|
+
implicitRules?: TUri;
|
|
27
|
+
language?: string;
|
|
28
|
+
text?: TNarrative;
|
|
29
|
+
contained?: TResourceContainer[];
|
|
30
|
+
extension?: TExtension[];
|
|
31
|
+
modifierExtension?: TExtension[];
|
|
32
|
+
identifier?: TIdentifier[];
|
|
33
|
+
basedOn?: TReference[];
|
|
34
|
+
partOf?: TReference[];
|
|
35
|
+
status: string;
|
|
36
|
+
category?: TCodeableConcept[];
|
|
37
|
+
code: TCodeableConcept;
|
|
38
|
+
subject?: TReference;
|
|
39
|
+
focus?: TReference[];
|
|
40
|
+
encounter?: TReference;
|
|
41
|
+
effectiveDateTime?: TDateTime;
|
|
42
|
+
effectivePeriod?: TPeriod;
|
|
43
|
+
effectiveTiming?: TTiming;
|
|
44
|
+
effectiveInstant?: TInstant;
|
|
45
|
+
issued?: TInstant;
|
|
46
|
+
performer?: TReference[];
|
|
47
|
+
valueQuantity?: TQuantity;
|
|
48
|
+
valueCodeableConcept?: TCodeableConcept;
|
|
49
|
+
valueString?: string;
|
|
50
|
+
valueBoolean?: boolean;
|
|
51
|
+
valueInteger?: TInt;
|
|
52
|
+
valueRange?: TRange;
|
|
53
|
+
valueRatio?: TRatio;
|
|
54
|
+
valueSampledData?: TSampledData;
|
|
55
|
+
valueTime?: TTime;
|
|
56
|
+
valueDateTime?: TDateTime;
|
|
57
|
+
valuePeriod?: TPeriod;
|
|
58
|
+
dataAbsentReason?: TCodeableConcept;
|
|
59
|
+
interpretation?: TCodeableConcept[];
|
|
60
|
+
note?: TAnnotation[];
|
|
61
|
+
bodySite?: TCodeableConcept;
|
|
62
|
+
method?: TCodeableConcept;
|
|
63
|
+
specimen?: TReference;
|
|
64
|
+
device?: TReference;
|
|
65
|
+
referenceRange?: TObservationReferenceRange[];
|
|
66
|
+
hasMember?: TReference[];
|
|
67
|
+
derivedFrom?: TReference[];
|
|
68
|
+
component?: TObservationComponent[];
|
|
69
|
+
};
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import { TMeta } from '../partials/Meta';
|
|
2
|
+
import { TUri } from '../simpleTypes/Uri';
|
|
3
|
+
import { TNarrative } from '../partials/Narrative';
|
|
4
|
+
import { TResourceContainer } from '../simpleTypes/ResourceContainer';
|
|
5
|
+
import { TExtension } from '../partials/Extension';
|
|
6
|
+
import { TIdentifier } from '../partials/Identifier';
|
|
7
|
+
import { TCodeableConcept } from '../partials/CodeableConcept';
|
|
8
|
+
import { TContactPoint } from '../partials/ContactPoint';
|
|
9
|
+
import { TAddress } from '../partials/Address';
|
|
10
|
+
import { TReference } from '../partials/Reference';
|
|
11
|
+
import { TOrganizationContact } from '../partials/OrganizationContact';
|
|
12
|
+
export type TOrganization = {
|
|
13
|
+
resourceType?: string;
|
|
14
|
+
id?: string;
|
|
15
|
+
meta?: TMeta;
|
|
16
|
+
implicitRules?: TUri;
|
|
17
|
+
language?: string;
|
|
18
|
+
text?: TNarrative;
|
|
19
|
+
contained?: TResourceContainer[];
|
|
20
|
+
extension?: TExtension[];
|
|
21
|
+
modifierExtension?: TExtension[];
|
|
22
|
+
identifier?: TIdentifier[];
|
|
23
|
+
active?: boolean;
|
|
24
|
+
type?: TCodeableConcept[];
|
|
25
|
+
name?: string;
|
|
26
|
+
alias?: string[];
|
|
27
|
+
telecom?: TContactPoint[];
|
|
28
|
+
address?: TAddress[];
|
|
29
|
+
partOf?: TReference;
|
|
30
|
+
contact?: TOrganizationContact[];
|
|
31
|
+
endpoint?: TReference[];
|
|
32
|
+
};
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
import { TMeta } from '../partials/Meta';
|
|
2
|
+
import { TUri } from '../simpleTypes/Uri';
|
|
3
|
+
import { TNarrative } from '../partials/Narrative';
|
|
4
|
+
import { TResourceContainer } from '../simpleTypes/ResourceContainer';
|
|
5
|
+
import { TExtension } from '../partials/Extension';
|
|
6
|
+
import { TIdentifier } from '../partials/Identifier';
|
|
7
|
+
import { THumanName } from '../partials/HumanName';
|
|
8
|
+
import { TContactPoint } from '../partials/ContactPoint';
|
|
9
|
+
import { TDate } from '../simpleTypes/Date';
|
|
10
|
+
import { TDateTime } from '../simpleTypes/DateTime';
|
|
11
|
+
import { TAddress } from '../partials/Address';
|
|
12
|
+
import { TCodeableConcept } from '../partials/CodeableConcept';
|
|
13
|
+
import { TInt } from '../simpleTypes/Int';
|
|
14
|
+
import { TAttachment } from '../partials/Attachment';
|
|
15
|
+
import { TPatientContact } from '../partials/PatientContact';
|
|
16
|
+
import { TPatientCommunication } from '../partials/PatientCommunication';
|
|
17
|
+
import { TReference } from '../partials/Reference';
|
|
18
|
+
import { TPatientLink } from '../partials/PatientLink';
|
|
19
|
+
export type TPatient = {
|
|
20
|
+
resourceType?: string;
|
|
21
|
+
id?: string;
|
|
22
|
+
meta?: TMeta;
|
|
23
|
+
implicitRules?: TUri;
|
|
24
|
+
language?: string;
|
|
25
|
+
text?: TNarrative;
|
|
26
|
+
contained?: TResourceContainer[];
|
|
27
|
+
extension?: TExtension[];
|
|
28
|
+
modifierExtension?: TExtension[];
|
|
29
|
+
identifier?: TIdentifier[];
|
|
30
|
+
active?: boolean;
|
|
31
|
+
name?: THumanName[];
|
|
32
|
+
telecom?: TContactPoint[];
|
|
33
|
+
gender?: string;
|
|
34
|
+
birthDate?: TDate;
|
|
35
|
+
deceasedBoolean?: boolean;
|
|
36
|
+
deceasedDateTime?: TDateTime;
|
|
37
|
+
address?: TAddress[];
|
|
38
|
+
maritalStatus?: TCodeableConcept;
|
|
39
|
+
multipleBirthBoolean?: boolean;
|
|
40
|
+
multipleBirthInteger?: TInt;
|
|
41
|
+
photo?: TAttachment[];
|
|
42
|
+
contact?: TPatientContact[];
|
|
43
|
+
communication?: TPatientCommunication[];
|
|
44
|
+
generalPractitioner?: TReference[];
|
|
45
|
+
managingOrganization?: TReference;
|
|
46
|
+
link?: TPatientLink[];
|
|
47
|
+
};
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
import { TMeta } from '../partials/Meta';
|
|
2
|
+
import { TUri } from '../simpleTypes/Uri';
|
|
3
|
+
import { TNarrative } from '../partials/Narrative';
|
|
4
|
+
import { TResourceContainer } from '../simpleTypes/ResourceContainer';
|
|
5
|
+
import { TExtension } from '../partials/Extension';
|
|
6
|
+
import { TIdentifier } from '../partials/Identifier';
|
|
7
|
+
import { TCanonical } from '../simpleTypes/Canonical';
|
|
8
|
+
import { TReference } from '../partials/Reference';
|
|
9
|
+
import { TCodeableConcept } from '../partials/CodeableConcept';
|
|
10
|
+
import { TDateTime } from '../simpleTypes/DateTime';
|
|
11
|
+
import { TPeriod } from '../partials/Period';
|
|
12
|
+
import { TQuantity } from '../partials/Quantity';
|
|
13
|
+
import { TRange } from '../partials/Range';
|
|
14
|
+
import { TProcedurePerformer } from '../partials/ProcedurePerformer';
|
|
15
|
+
import { TAnnotation } from '../partials/Annotation';
|
|
16
|
+
import { TProcedureFocalDevice } from '../partials/ProcedureFocalDevice';
|
|
17
|
+
export type TProcedure = {
|
|
18
|
+
resourceType?: string;
|
|
19
|
+
id?: string;
|
|
20
|
+
meta?: TMeta;
|
|
21
|
+
implicitRules?: TUri;
|
|
22
|
+
language?: string;
|
|
23
|
+
text?: TNarrative;
|
|
24
|
+
contained?: TResourceContainer[];
|
|
25
|
+
extension?: TExtension[];
|
|
26
|
+
modifierExtension?: TExtension[];
|
|
27
|
+
identifier?: TIdentifier[];
|
|
28
|
+
instantiatesCanonical?: TCanonical[];
|
|
29
|
+
instantiatesUri?: TUri[];
|
|
30
|
+
basedOn?: TReference[];
|
|
31
|
+
partOf?: TReference[];
|
|
32
|
+
status: string;
|
|
33
|
+
statusReason?: TCodeableConcept;
|
|
34
|
+
category?: TCodeableConcept;
|
|
35
|
+
code?: TCodeableConcept;
|
|
36
|
+
subject: TReference;
|
|
37
|
+
encounter?: TReference;
|
|
38
|
+
performedDateTime?: TDateTime;
|
|
39
|
+
performedPeriod?: TPeriod;
|
|
40
|
+
performedString?: string;
|
|
41
|
+
performedAge?: TQuantity;
|
|
42
|
+
performedRange?: TRange;
|
|
43
|
+
recorder?: TReference;
|
|
44
|
+
asserter?: TReference;
|
|
45
|
+
performer?: TProcedurePerformer[];
|
|
46
|
+
location?: TReference;
|
|
47
|
+
reasonCode?: TCodeableConcept[];
|
|
48
|
+
reasonReference?: TReference[];
|
|
49
|
+
bodySite?: TCodeableConcept[];
|
|
50
|
+
outcome?: TCodeableConcept;
|
|
51
|
+
report?: TReference[];
|
|
52
|
+
complication?: TCodeableConcept[];
|
|
53
|
+
complicationDetail?: TReference[];
|
|
54
|
+
followUp?: TCodeableConcept[];
|
|
55
|
+
note?: TAnnotation[];
|
|
56
|
+
focalDevice?: TProcedureFocalDevice[];
|
|
57
|
+
usedReference?: TReference[];
|
|
58
|
+
usedCode?: TCodeableConcept[];
|
|
59
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export type TBase64Binary = string;
|