@medplum/core 0.2.2 → 0.3.0
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/README.md +29 -25
- package/dist/cache.d.ts +1 -0
- package/dist/cache.js +3 -0
- package/dist/cache.js.map +1 -1
- package/dist/client.d.ts +66 -54
- package/dist/client.js +153 -122
- package/dist/client.js.map +1 -1
- package/dist/eventtarget.js +1 -1
- package/dist/eventtarget.js.map +1 -1
- package/dist/format.d.ts +1 -1
- package/dist/format.js.map +1 -1
- package/dist/index.d.ts +0 -2
- package/dist/index.js +0 -2
- package/dist/index.js.map +1 -1
- package/dist/jwt.js.map +1 -1
- package/dist/outcomes.d.ts +1 -1
- package/dist/outcomes.js +42 -28
- package/dist/outcomes.js.map +1 -1
- package/dist/search.js +4 -4
- package/dist/search.js.map +1 -1
- package/dist/searchparams.d.ts +1 -1
- package/dist/searchparams.js +1 -2
- package/dist/searchparams.js.map +1 -1
- package/dist/storage.js.map +1 -1
- package/dist/types.d.ts +1 -1
- package/dist/types.js +6 -6
- package/dist/types.js.map +1 -1
- package/dist/utils.d.ts +1 -1
- package/dist/utils.js +11 -6
- package/dist/utils.js.map +1 -1
- package/package.json +5 -6
- package/dist/fhir/AccessPolicy.d.ts +0 -75
- package/dist/fhir/AccessPolicy.js +0 -7
- package/dist/fhir/AccessPolicy.js.map +0 -1
- package/dist/fhir/Account.d.ts +0 -247
- package/dist/fhir/Account.js +0 -7
- package/dist/fhir/Account.js.map +0 -1
- package/dist/fhir/ActivityDefinition.d.ts +0 -500
- package/dist/fhir/ActivityDefinition.js +0 -7
- package/dist/fhir/ActivityDefinition.js.map +0 -1
- package/dist/fhir/Address.d.ts +0 -75
- package/dist/fhir/Address.js +0 -7
- package/dist/fhir/Address.js.map +0 -1
- package/dist/fhir/AdverseEvent.d.ts +0 -303
- package/dist/fhir/AdverseEvent.js +0 -7
- package/dist/fhir/AdverseEvent.js.map +0 -1
- package/dist/fhir/Age.d.ts +0 -47
- package/dist/fhir/Age.js +0 -7
- package/dist/fhir/Age.js.map +0 -1
- package/dist/fhir/AllergyIntolerance.d.ts +0 -283
- package/dist/fhir/AllergyIntolerance.js +0 -7
- package/dist/fhir/AllergyIntolerance.js.map +0 -1
- package/dist/fhir/Annotation.d.ts +0 -42
- package/dist/fhir/Annotation.js +0 -7
- package/dist/fhir/Annotation.js.map +0 -1
- package/dist/fhir/Appointment.d.ts +0 -284
- package/dist/fhir/Appointment.js +0 -7
- package/dist/fhir/Appointment.js.map +0 -1
- package/dist/fhir/AppointmentResponse.d.ts +0 -131
- package/dist/fhir/AppointmentResponse.js +0 -7
- package/dist/fhir/AppointmentResponse.js.map +0 -1
- package/dist/fhir/Attachment.d.ts +0 -58
- package/dist/fhir/Attachment.js +0 -7
- package/dist/fhir/Attachment.js.map +0 -1
- package/dist/fhir/AuditEvent.d.ts +0 -458
- package/dist/fhir/AuditEvent.js +0 -7
- package/dist/fhir/AuditEvent.js.map +0 -1
- package/dist/fhir/Basic.d.ts +0 -110
- package/dist/fhir/Basic.js +0 -7
- package/dist/fhir/Basic.js.map +0 -1
- package/dist/fhir/Binary.d.ts +0 -59
- package/dist/fhir/Binary.js +0 -7
- package/dist/fhir/Binary.js.map +0 -1
- package/dist/fhir/BiologicallyDerivedProduct.d.ts +0 -358
- package/dist/fhir/BiologicallyDerivedProduct.js +0 -7
- package/dist/fhir/BiologicallyDerivedProduct.js.map +0 -1
- package/dist/fhir/BodyStructure.d.ts +0 -119
- package/dist/fhir/BodyStructure.js +0 -7
- package/dist/fhir/BodyStructure.js.map +0 -1
- package/dist/fhir/Bot.d.ts +0 -49
- package/dist/fhir/Bot.js +0 -7
- package/dist/fhir/Bot.js.map +0 -1
- package/dist/fhir/Bundle.d.ts +0 -379
- package/dist/fhir/Bundle.js +0 -7
- package/dist/fhir/Bundle.js.map +0 -1
- package/dist/fhir/CapabilityStatement.d.ts +0 -1044
- package/dist/fhir/CapabilityStatement.js +0 -7
- package/dist/fhir/CapabilityStatement.js.map +0 -1
- package/dist/fhir/CarePlan.d.ts +0 -446
- package/dist/fhir/CarePlan.js +0 -7
- package/dist/fhir/CarePlan.js.map +0 -1
- package/dist/fhir/CareTeam.d.ts +0 -211
- package/dist/fhir/CareTeam.js +0 -7
- package/dist/fhir/CareTeam.js.map +0 -1
- package/dist/fhir/CatalogEntry.d.ts +0 -195
- package/dist/fhir/CatalogEntry.js +0 -7
- package/dist/fhir/CatalogEntry.js.map +0 -1
- package/dist/fhir/ChargeItem.d.ts +0 -287
- package/dist/fhir/ChargeItem.js +0 -7
- package/dist/fhir/ChargeItem.js.map +0 -1
- package/dist/fhir/ChargeItemDefinition.d.ts +0 -401
- package/dist/fhir/ChargeItemDefinition.js +0 -7
- package/dist/fhir/ChargeItemDefinition.js.map +0 -1
- package/dist/fhir/Claim.d.ts +0 -1092
- package/dist/fhir/Claim.js +0 -7
- package/dist/fhir/Claim.js.map +0 -1
- package/dist/fhir/ClaimResponse.d.ts +0 -1040
- package/dist/fhir/ClaimResponse.js +0 -7
- package/dist/fhir/ClaimResponse.js.map +0 -1
- package/dist/fhir/ClientApplication.d.ts +0 -46
- package/dist/fhir/ClientApplication.js +0 -7
- package/dist/fhir/ClientApplication.js.map +0 -1
- package/dist/fhir/ClinicalImpression.d.ts +0 -306
- package/dist/fhir/ClinicalImpression.js +0 -7
- package/dist/fhir/ClinicalImpression.js.map +0 -1
- package/dist/fhir/CodeSystem.d.ts +0 -541
- package/dist/fhir/CodeSystem.js +0 -7
- package/dist/fhir/CodeSystem.js.map +0 -1
- package/dist/fhir/CodeableConcept.d.ts +0 -33
- package/dist/fhir/CodeableConcept.js +0 -7
- package/dist/fhir/CodeableConcept.js.map +0 -1
- package/dist/fhir/Coding.d.ts +0 -50
- package/dist/fhir/Coding.js +0 -7
- package/dist/fhir/Coding.js.map +0 -1
- package/dist/fhir/Communication.d.ts +0 -264
- package/dist/fhir/Communication.js +0 -7
- package/dist/fhir/Communication.js.map +0 -1
- package/dist/fhir/CommunicationRequest.d.ts +0 -261
- package/dist/fhir/CommunicationRequest.js +0 -7
- package/dist/fhir/CommunicationRequest.js.map +0 -1
- package/dist/fhir/CompartmentDefinition.d.ts +0 -217
- package/dist/fhir/CompartmentDefinition.js +0 -7
- package/dist/fhir/CompartmentDefinition.js.map +0 -1
- package/dist/fhir/Composition.d.ts +0 -429
- package/dist/fhir/Composition.js +0 -7
- package/dist/fhir/Composition.js.map +0 -1
- package/dist/fhir/ConceptMap.d.ts +0 -518
- package/dist/fhir/ConceptMap.js +0 -7
- package/dist/fhir/ConceptMap.js.map +0 -1
- package/dist/fhir/Condition.d.ts +0 -326
- package/dist/fhir/Condition.js +0 -7
- package/dist/fhir/Condition.js.map +0 -1
- package/dist/fhir/Consent.d.ts +0 -460
- package/dist/fhir/Consent.js +0 -7
- package/dist/fhir/Consent.js.map +0 -1
- package/dist/fhir/ContactDetail.d.ts +0 -31
- package/dist/fhir/ContactDetail.js +0 -7
- package/dist/fhir/ContactDetail.js.map +0 -1
- package/dist/fhir/ContactPoint.d.ts +0 -47
- package/dist/fhir/ContactPoint.js +0 -7
- package/dist/fhir/ContactPoint.js.map +0 -1
- package/dist/fhir/Contract.d.ts +0 -1452
- package/dist/fhir/Contract.js +0 -7
- package/dist/fhir/Contract.js.map +0 -1
- package/dist/fhir/Contributor.d.ts +0 -37
- package/dist/fhir/Contributor.js +0 -7
- package/dist/fhir/Contributor.js.map +0 -1
- package/dist/fhir/Count.d.ts +0 -49
- package/dist/fhir/Count.js +0 -7
- package/dist/fhir/Count.js.map +0 -1
- package/dist/fhir/Coverage.d.ts +0 -327
- package/dist/fhir/Coverage.js +0 -7
- package/dist/fhir/Coverage.js.map +0 -1
- package/dist/fhir/CoverageEligibilityRequest.d.ts +0 -404
- package/dist/fhir/CoverageEligibilityRequest.js +0 -7
- package/dist/fhir/CoverageEligibilityRequest.js.map +0 -1
- package/dist/fhir/CoverageEligibilityResponse.d.ts +0 -434
- package/dist/fhir/CoverageEligibilityResponse.js +0 -7
- package/dist/fhir/CoverageEligibilityResponse.js.map +0 -1
- package/dist/fhir/DataRequirement.d.ts +0 -239
- package/dist/fhir/DataRequirement.js +0 -7
- package/dist/fhir/DataRequirement.js.map +0 -1
- package/dist/fhir/DetectedIssue.d.ts +0 -252
- package/dist/fhir/DetectedIssue.js +0 -7
- package/dist/fhir/DetectedIssue.js.map +0 -1
- package/dist/fhir/Device.d.ts +0 -493
- package/dist/fhir/Device.js +0 -7
- package/dist/fhir/Device.js.map +0 -1
- package/dist/fhir/DeviceDefinition.d.ts +0 -486
- package/dist/fhir/DeviceDefinition.js +0 -7
- package/dist/fhir/DeviceDefinition.js.map +0 -1
- package/dist/fhir/DeviceMetric.d.ts +0 -199
- package/dist/fhir/DeviceMetric.js +0 -7
- package/dist/fhir/DeviceMetric.js.map +0 -1
- package/dist/fhir/DeviceRequest.d.ts +0 -296
- package/dist/fhir/DeviceRequest.js +0 -7
- package/dist/fhir/DeviceRequest.js.map +0 -1
- package/dist/fhir/DeviceUseStatement.d.ts +0 -168
- package/dist/fhir/DeviceUseStatement.js +0 -7
- package/dist/fhir/DeviceUseStatement.js.map +0 -1
- package/dist/fhir/DiagnosticReport.d.ts +0 -254
- package/dist/fhir/DiagnosticReport.js +0 -7
- package/dist/fhir/DiagnosticReport.js.map +0 -1
- package/dist/fhir/Distance.d.ts +0 -47
- package/dist/fhir/Distance.js +0 -7
- package/dist/fhir/Distance.js.map +0 -1
- package/dist/fhir/DocumentManifest.d.ts +0 -196
- package/dist/fhir/DocumentManifest.js +0 -7
- package/dist/fhir/DocumentManifest.js.map +0 -1
- package/dist/fhir/DocumentReference.d.ts +0 -349
- package/dist/fhir/DocumentReference.js +0 -7
- package/dist/fhir/DocumentReference.js.map +0 -1
- package/dist/fhir/Dosage.d.ts +0 -152
- package/dist/fhir/Dosage.js +0 -7
- package/dist/fhir/Dosage.js.map +0 -1
- package/dist/fhir/Duration.d.ts +0 -46
- package/dist/fhir/Duration.js +0 -7
- package/dist/fhir/Duration.js.map +0 -1
- package/dist/fhir/EffectEvidenceSynthesis.d.ts +0 -591
- package/dist/fhir/EffectEvidenceSynthesis.js +0 -7
- package/dist/fhir/EffectEvidenceSynthesis.js.map +0 -1
- package/dist/fhir/Element.d.ts +0 -21
- package/dist/fhir/Element.js +0 -7
- package/dist/fhir/Element.js.map +0 -1
- package/dist/fhir/ElementDefinition.d.ts +0 -2701
- package/dist/fhir/ElementDefinition.js +0 -7
- package/dist/fhir/ElementDefinition.js.map +0 -1
- package/dist/fhir/Encounter.d.ts +0 -558
- package/dist/fhir/Encounter.js +0 -7
- package/dist/fhir/Encounter.js.map +0 -1
- package/dist/fhir/Endpoint.d.ts +0 -140
- package/dist/fhir/Endpoint.js +0 -7
- package/dist/fhir/Endpoint.js.map +0 -1
- package/dist/fhir/EnrollmentRequest.d.ts +0 -113
- package/dist/fhir/EnrollmentRequest.js +0 -7
- package/dist/fhir/EnrollmentRequest.js.map +0 -1
- package/dist/fhir/EnrollmentResponse.d.ts +0 -117
- package/dist/fhir/EnrollmentResponse.js +0 -7
- package/dist/fhir/EnrollmentResponse.js.map +0 -1
- package/dist/fhir/EpisodeOfCare.d.ts +0 -246
- package/dist/fhir/EpisodeOfCare.js +0 -7
- package/dist/fhir/EpisodeOfCare.js.map +0 -1
- package/dist/fhir/EventDefinition.d.ts +0 -253
- package/dist/fhir/EventDefinition.js +0 -7
- package/dist/fhir/EventDefinition.js.map +0 -1
- package/dist/fhir/Evidence.d.ts +0 -252
- package/dist/fhir/Evidence.js +0 -7
- package/dist/fhir/Evidence.js.map +0 -1
- package/dist/fhir/EvidenceVariable.d.ts +0 -370
- package/dist/fhir/EvidenceVariable.js +0 -7
- package/dist/fhir/EvidenceVariable.js.map +0 -1
- package/dist/fhir/ExampleScenario.d.ts +0 -628
- package/dist/fhir/ExampleScenario.js +0 -7
- package/dist/fhir/ExampleScenario.js.map +0 -1
- package/dist/fhir/ExplanationOfBenefit.d.ts +0 -1841
- package/dist/fhir/ExplanationOfBenefit.js +0 -7
- package/dist/fhir/ExplanationOfBenefit.js.map +0 -1
- package/dist/fhir/Expression.d.ts +0 -45
- package/dist/fhir/Expression.js +0 -7
- package/dist/fhir/Expression.js.map +0 -1
- package/dist/fhir/Extension.d.ts +0 -306
- package/dist/fhir/Extension.js +0 -7
- package/dist/fhir/Extension.js.map +0 -1
- package/dist/fhir/FamilyMemberHistory.d.ts +0 -306
- package/dist/fhir/FamilyMemberHistory.js +0 -7
- package/dist/fhir/FamilyMemberHistory.js.map +0 -1
- package/dist/fhir/Flag.d.ts +0 -132
- package/dist/fhir/Flag.js +0 -7
- package/dist/fhir/Flag.js.map +0 -1
- package/dist/fhir/Goal.d.ts +0 -299
- package/dist/fhir/Goal.js +0 -7
- package/dist/fhir/Goal.js.map +0 -1
- package/dist/fhir/GraphDefinition.d.ts +0 -350
- package/dist/fhir/GraphDefinition.js +0 -7
- package/dist/fhir/GraphDefinition.js.map +0 -1
- package/dist/fhir/Group.d.ts +0 -271
- package/dist/fhir/Group.js +0 -7
- package/dist/fhir/Group.js.map +0 -1
- package/dist/fhir/GuidanceResponse.d.ts +0 -196
- package/dist/fhir/GuidanceResponse.js +0 -7
- package/dist/fhir/GuidanceResponse.js.map +0 -1
- package/dist/fhir/HealthcareService.d.ts +0 -356
- package/dist/fhir/HealthcareService.js +0 -7
- package/dist/fhir/HealthcareService.js.map +0 -1
- package/dist/fhir/HumanName.d.ts +0 -58
- package/dist/fhir/HumanName.js +0 -7
- package/dist/fhir/HumanName.js.map +0 -1
- package/dist/fhir/Identifier.d.ts +0 -53
- package/dist/fhir/Identifier.js +0 -7
- package/dist/fhir/Identifier.js.map +0 -1
- package/dist/fhir/ImagingStudy.d.ts +0 -407
- package/dist/fhir/ImagingStudy.js +0 -7
- package/dist/fhir/ImagingStudy.js.map +0 -1
- package/dist/fhir/Immunization.d.ts +0 -444
- package/dist/fhir/Immunization.js +0 -7
- package/dist/fhir/Immunization.js.map +0 -1
- package/dist/fhir/ImmunizationEvaluation.d.ts +0 -149
- package/dist/fhir/ImmunizationEvaluation.js +0 -7
- package/dist/fhir/ImmunizationEvaluation.js.map +0 -1
- package/dist/fhir/ImmunizationRecommendation.d.ts +0 -254
- package/dist/fhir/ImmunizationRecommendation.js +0 -7
- package/dist/fhir/ImmunizationRecommendation.js.map +0 -1
- package/dist/fhir/ImplementationGuide.d.ts +0 -824
- package/dist/fhir/ImplementationGuide.js +0 -7
- package/dist/fhir/ImplementationGuide.js.map +0 -1
- package/dist/fhir/InsurancePlan.d.ts +0 -624
- package/dist/fhir/InsurancePlan.js +0 -7
- package/dist/fhir/InsurancePlan.js.map +0 -1
- package/dist/fhir/Invoice.d.ts +0 -346
- package/dist/fhir/Invoice.js +0 -7
- package/dist/fhir/Invoice.js.map +0 -1
- package/dist/fhir/JsonWebKey.d.ts +0 -99
- package/dist/fhir/JsonWebKey.js +0 -7
- package/dist/fhir/JsonWebKey.js.map +0 -1
- package/dist/fhir/Library.d.ts +0 -277
- package/dist/fhir/Library.js +0 -7
- package/dist/fhir/Library.js.map +0 -1
- package/dist/fhir/Linkage.d.ts +0 -146
- package/dist/fhir/Linkage.js +0 -7
- package/dist/fhir/Linkage.js.map +0 -1
- package/dist/fhir/List.d.ts +0 -200
- package/dist/fhir/List.js +0 -7
- package/dist/fhir/List.js.map +0 -1
- package/dist/fhir/Location.d.ts +0 -277
- package/dist/fhir/Location.js +0 -7
- package/dist/fhir/Location.js.map +0 -1
- package/dist/fhir/Login.d.ts +0 -119
- package/dist/fhir/Login.js +0 -7
- package/dist/fhir/Login.js.map +0 -1
- package/dist/fhir/MarketingStatus.d.ts +0 -82
- package/dist/fhir/MarketingStatus.js +0 -7
- package/dist/fhir/MarketingStatus.js.map +0 -1
- package/dist/fhir/Measure.d.ts +0 -620
- package/dist/fhir/Measure.js +0 -7
- package/dist/fhir/Measure.js.map +0 -1
- package/dist/fhir/MeasureReport.d.ts +0 -463
- package/dist/fhir/MeasureReport.js +0 -7
- package/dist/fhir/MeasureReport.js.map +0 -1
- package/dist/fhir/Media.d.ts +0 -205
- package/dist/fhir/Media.js +0 -7
- package/dist/fhir/Media.js.map +0 -1
- package/dist/fhir/Medication.d.ts +0 -230
- package/dist/fhir/Medication.js +0 -7
- package/dist/fhir/Medication.js.map +0 -1
- package/dist/fhir/MedicationAdministration.d.ts +0 -352
- package/dist/fhir/MedicationAdministration.js +0 -7
- package/dist/fhir/MedicationAdministration.js.map +0 -1
- package/dist/fhir/MedicationDispense.d.ts +0 -343
- package/dist/fhir/MedicationDispense.js +0 -7
- package/dist/fhir/MedicationDispense.js.map +0 -1
- package/dist/fhir/MedicationKnowledge.d.ts +0 -992
- package/dist/fhir/MedicationKnowledge.js +0 -7
- package/dist/fhir/MedicationKnowledge.js.map +0 -1
- package/dist/fhir/MedicationRequest.d.ts +0 -481
- package/dist/fhir/MedicationRequest.js +0 -7
- package/dist/fhir/MedicationRequest.js.map +0 -1
- package/dist/fhir/MedicationStatement.d.ts +0 -228
- package/dist/fhir/MedicationStatement.js +0 -7
- package/dist/fhir/MedicationStatement.js.map +0 -1
- package/dist/fhir/MedicinalProduct.d.ts +0 -453
- package/dist/fhir/MedicinalProduct.js +0 -7
- package/dist/fhir/MedicinalProduct.js.map +0 -1
- package/dist/fhir/MedicinalProductAuthorization.d.ts +0 -271
- package/dist/fhir/MedicinalProductAuthorization.js +0 -7
- package/dist/fhir/MedicinalProductAuthorization.js.map +0 -1
- package/dist/fhir/MedicinalProductContraindication.d.ts +0 -170
- package/dist/fhir/MedicinalProductContraindication.js +0 -7
- package/dist/fhir/MedicinalProductContraindication.js.map +0 -1
- package/dist/fhir/MedicinalProductIndication.d.ts +0 -179
- package/dist/fhir/MedicinalProductIndication.js +0 -7
- package/dist/fhir/MedicinalProductIndication.js.map +0 -1
- package/dist/fhir/MedicinalProductIngredient.d.ts +0 -336
- package/dist/fhir/MedicinalProductIngredient.js +0 -7
- package/dist/fhir/MedicinalProductIngredient.js.map +0 -1
- package/dist/fhir/MedicinalProductInteraction.d.ts +0 -158
- package/dist/fhir/MedicinalProductInteraction.js +0 -7
- package/dist/fhir/MedicinalProductInteraction.js.map +0 -1
- package/dist/fhir/MedicinalProductManufactured.d.ts +0 -113
- package/dist/fhir/MedicinalProductManufactured.js +0 -7
- package/dist/fhir/MedicinalProductManufactured.js.map +0 -1
- package/dist/fhir/MedicinalProductPackaged.d.ts +0 -259
- package/dist/fhir/MedicinalProductPackaged.js +0 -7
- package/dist/fhir/MedicinalProductPackaged.js.map +0 -1
- package/dist/fhir/MedicinalProductPharmaceutical.d.ts +0 -331
- package/dist/fhir/MedicinalProductPharmaceutical.js +0 -7
- package/dist/fhir/MedicinalProductPharmaceutical.js.map +0 -1
- package/dist/fhir/MedicinalProductUndesirableEffect.d.ts +0 -101
- package/dist/fhir/MedicinalProductUndesirableEffect.js +0 -7
- package/dist/fhir/MedicinalProductUndesirableEffect.js.map +0 -1
- package/dist/fhir/MessageDefinition.d.ts +0 -330
- package/dist/fhir/MessageDefinition.js +0 -7
- package/dist/fhir/MessageDefinition.js.map +0 -1
- package/dist/fhir/MessageHeader.d.ts +0 -323
- package/dist/fhir/MessageHeader.js +0 -7
- package/dist/fhir/MessageHeader.js.map +0 -1
- package/dist/fhir/Meta.d.ts +0 -75
- package/dist/fhir/Meta.js +0 -7
- package/dist/fhir/Meta.js.map +0 -1
- package/dist/fhir/MolecularSequence.d.ts +0 -760
- package/dist/fhir/MolecularSequence.js +0 -7
- package/dist/fhir/MolecularSequence.js.map +0 -1
- package/dist/fhir/Money.d.ts +0 -29
- package/dist/fhir/Money.js +0 -7
- package/dist/fhir/Money.js.map +0 -1
- package/dist/fhir/NamingSystem.d.ts +0 -218
- package/dist/fhir/NamingSystem.js +0 -7
- package/dist/fhir/NamingSystem.js.map +0 -1
- package/dist/fhir/Narrative.d.ts +0 -32
- package/dist/fhir/Narrative.js +0 -7
- package/dist/fhir/Narrative.js.map +0 -1
- package/dist/fhir/NutritionOrder.d.ts +0 -566
- package/dist/fhir/NutritionOrder.js +0 -7
- package/dist/fhir/NutritionOrder.js.map +0 -1
- package/dist/fhir/Observation.d.ts +0 -520
- package/dist/fhir/Observation.js +0 -7
- package/dist/fhir/Observation.js.map +0 -1
- package/dist/fhir/ObservationDefinition.d.ts +0 -278
- package/dist/fhir/ObservationDefinition.js +0 -7
- package/dist/fhir/ObservationDefinition.js.map +0 -1
- package/dist/fhir/OperationDefinition.d.ts +0 -468
- package/dist/fhir/OperationDefinition.js +0 -7
- package/dist/fhir/OperationDefinition.js.map +0 -1
- package/dist/fhir/OperationOutcome.d.ts +0 -160
- package/dist/fhir/OperationOutcome.js +0 -7
- package/dist/fhir/OperationOutcome.js.map +0 -1
- package/dist/fhir/Organization.d.ts +0 -184
- package/dist/fhir/Organization.js +0 -7
- package/dist/fhir/Organization.js.map +0 -1
- package/dist/fhir/OrganizationAffiliation.d.ts +0 -145
- package/dist/fhir/OrganizationAffiliation.js +0 -7
- package/dist/fhir/OrganizationAffiliation.js.map +0 -1
- package/dist/fhir/ParameterDefinition.d.ts +0 -57
- package/dist/fhir/ParameterDefinition.js +0 -7
- package/dist/fhir/ParameterDefinition.js.map +0 -1
- package/dist/fhir/Parameters.d.ts +0 -319
- package/dist/fhir/Parameters.js +0 -7
- package/dist/fhir/Parameters.js.map +0 -1
- package/dist/fhir/PasswordChangeRequest.d.ts +0 -51
- package/dist/fhir/PasswordChangeRequest.js +0 -7
- package/dist/fhir/PasswordChangeRequest.js.map +0 -1
- package/dist/fhir/Patient.d.ts +0 -342
- package/dist/fhir/Patient.js +0 -7
- package/dist/fhir/Patient.js.map +0 -1
- package/dist/fhir/PaymentNotice.d.ts +0 -135
- package/dist/fhir/PaymentNotice.js +0 -7
- package/dist/fhir/PaymentNotice.js.map +0 -1
- package/dist/fhir/PaymentReconciliation.d.ts +0 -280
- package/dist/fhir/PaymentReconciliation.js +0 -7
- package/dist/fhir/PaymentReconciliation.js.map +0 -1
- package/dist/fhir/Period.d.ts +0 -32
- package/dist/fhir/Period.js +0 -7
- package/dist/fhir/Period.js.map +0 -1
- package/dist/fhir/Person.d.ts +0 -175
- package/dist/fhir/Person.js +0 -7
- package/dist/fhir/Person.js.map +0 -1
- package/dist/fhir/PlanDefinition.d.ts +0 -837
- package/dist/fhir/PlanDefinition.js +0 -7
- package/dist/fhir/PlanDefinition.js.map +0 -1
- package/dist/fhir/Population.d.ts +0 -62
- package/dist/fhir/Population.js +0 -7
- package/dist/fhir/Population.js.map +0 -1
- package/dist/fhir/Practitioner.d.ts +0 -191
- package/dist/fhir/Practitioner.js +0 -7
- package/dist/fhir/Practitioner.js.map +0 -1
- package/dist/fhir/PractitionerRole.d.ts +0 -259
- package/dist/fhir/PractitionerRole.js +0 -7
- package/dist/fhir/PractitionerRole.js.map +0 -1
- package/dist/fhir/Procedure.d.ts +0 -372
- package/dist/fhir/Procedure.js +0 -7
- package/dist/fhir/Procedure.js.map +0 -1
- package/dist/fhir/ProdCharacteristic.d.ts +0 -112
- package/dist/fhir/ProdCharacteristic.js +0 -7
- package/dist/fhir/ProdCharacteristic.js.map +0 -1
- package/dist/fhir/ProductShelfLife.d.ts +0 -70
- package/dist/fhir/ProductShelfLife.js +0 -7
- package/dist/fhir/ProductShelfLife.js.map +0 -1
- package/dist/fhir/Project.d.ts +0 -43
- package/dist/fhir/Project.js +0 -7
- package/dist/fhir/Project.js.map +0 -1
- package/dist/fhir/ProjectMembership.d.ts +0 -66
- package/dist/fhir/ProjectMembership.js +0 -7
- package/dist/fhir/ProjectMembership.js.map +0 -1
- package/dist/fhir/Provenance.d.ts +0 -258
- package/dist/fhir/Provenance.js +0 -7
- package/dist/fhir/Provenance.js.map +0 -1
- package/dist/fhir/Quantity.d.ts +0 -46
- package/dist/fhir/Quantity.js +0 -7
- package/dist/fhir/Quantity.js.map +0 -1
- package/dist/fhir/Questionnaire.d.ts +0 -603
- package/dist/fhir/Questionnaire.js +0 -7
- package/dist/fhir/Questionnaire.js.map +0 -1
- package/dist/fhir/QuestionnaireResponse.d.ts +0 -313
- package/dist/fhir/QuestionnaireResponse.js +0 -7
- package/dist/fhir/QuestionnaireResponse.js.map +0 -1
- package/dist/fhir/Range.d.ts +0 -30
- package/dist/fhir/Range.js +0 -7
- package/dist/fhir/Range.js.map +0 -1
- package/dist/fhir/Ratio.d.ts +0 -30
- package/dist/fhir/Ratio.js +0 -7
- package/dist/fhir/Ratio.js.map +0 -1
- package/dist/fhir/Reference.d.ts +0 -67
- package/dist/fhir/Reference.js +0 -7
- package/dist/fhir/Reference.js.map +0 -1
- package/dist/fhir/RefreshToken.d.ts +0 -45
- package/dist/fhir/RefreshToken.js +0 -7
- package/dist/fhir/RefreshToken.js.map +0 -1
- package/dist/fhir/RelatedArtifact.d.ts +0 -57
- package/dist/fhir/RelatedArtifact.js +0 -7
- package/dist/fhir/RelatedArtifact.js.map +0 -1
- package/dist/fhir/RelatedPerson.d.ts +0 -190
- package/dist/fhir/RelatedPerson.js +0 -7
- package/dist/fhir/RelatedPerson.js.map +0 -1
- package/dist/fhir/RequestGroup.d.ts +0 -434
- package/dist/fhir/RequestGroup.js +0 -7
- package/dist/fhir/RequestGroup.js.map +0 -1
- package/dist/fhir/ResearchDefinition.d.ts +0 -291
- package/dist/fhir/ResearchDefinition.js +0 -7
- package/dist/fhir/ResearchDefinition.js.map +0 -1
- package/dist/fhir/ResearchElementDefinition.d.ts +0 -431
- package/dist/fhir/ResearchElementDefinition.js +0 -7
- package/dist/fhir/ResearchElementDefinition.js.map +0 -1
- package/dist/fhir/ResearchStudy.d.ts +0 -318
- package/dist/fhir/ResearchStudy.js +0 -7
- package/dist/fhir/ResearchStudy.js.map +0 -1
- package/dist/fhir/ResearchSubject.d.ts +0 -119
- package/dist/fhir/ResearchSubject.js +0 -7
- package/dist/fhir/ResearchSubject.js.map +0 -1
- package/dist/fhir/Resource.d.ts +0 -156
- package/dist/fhir/Resource.js +0 -7
- package/dist/fhir/Resource.js.map +0 -1
- package/dist/fhir/RiskAssessment.d.ts +0 -246
- package/dist/fhir/RiskAssessment.js +0 -7
- package/dist/fhir/RiskAssessment.js.map +0 -1
- package/dist/fhir/RiskEvidenceSynthesis.d.ts +0 -530
- package/dist/fhir/RiskEvidenceSynthesis.js +0 -7
- package/dist/fhir/RiskEvidenceSynthesis.js.map +0 -1
- package/dist/fhir/SampledData.d.ts +0 -62
- package/dist/fhir/SampledData.js +0 -7
- package/dist/fhir/SampledData.js.map +0 -1
- package/dist/fhir/Schedule.d.ts +0 -129
- package/dist/fhir/Schedule.js +0 -7
- package/dist/fhir/Schedule.js.map +0 -1
- package/dist/fhir/SearchParameter.d.ts +0 -277
- package/dist/fhir/SearchParameter.js +0 -7
- package/dist/fhir/SearchParameter.js.map +0 -1
- package/dist/fhir/ServiceRequest.d.ts +0 -309
- package/dist/fhir/ServiceRequest.js +0 -7
- package/dist/fhir/ServiceRequest.js.map +0 -1
- package/dist/fhir/Signature.d.ts +0 -71
- package/dist/fhir/Signature.js +0 -7
- package/dist/fhir/Signature.js.map +0 -1
- package/dist/fhir/Slot.d.ts +0 -134
- package/dist/fhir/Slot.js +0 -7
- package/dist/fhir/Slot.js.map +0 -1
- package/dist/fhir/Specimen.d.ts +0 -366
- package/dist/fhir/Specimen.js +0 -7
- package/dist/fhir/Specimen.js.map +0 -1
- package/dist/fhir/SpecimenDefinition.d.ts +0 -363
- package/dist/fhir/SpecimenDefinition.js +0 -7
- package/dist/fhir/SpecimenDefinition.js.map +0 -1
- package/dist/fhir/StructureDefinition.d.ts +0 -438
- package/dist/fhir/StructureDefinition.js +0 -7
- package/dist/fhir/StructureDefinition.js.map +0 -1
- package/dist/fhir/StructureMap.d.ts +0 -904
- package/dist/fhir/StructureMap.js +0 -7
- package/dist/fhir/StructureMap.js.map +0 -1
- package/dist/fhir/Subscription.d.ts +0 -172
- package/dist/fhir/Subscription.js +0 -7
- package/dist/fhir/Subscription.js.map +0 -1
- package/dist/fhir/Substance.d.ts +0 -213
- package/dist/fhir/Substance.js +0 -7
- package/dist/fhir/Substance.js.map +0 -1
- package/dist/fhir/SubstanceAmount.d.ts +0 -115
- package/dist/fhir/SubstanceAmount.js +0 -7
- package/dist/fhir/SubstanceAmount.js.map +0 -1
- package/dist/fhir/SubstanceNucleicAcid.d.ts +0 -309
- package/dist/fhir/SubstanceNucleicAcid.js +0 -7
- package/dist/fhir/SubstanceNucleicAcid.js.map +0 -1
- package/dist/fhir/SubstancePolymer.d.ts +0 -405
- package/dist/fhir/SubstancePolymer.js +0 -7
- package/dist/fhir/SubstancePolymer.js.map +0 -1
- package/dist/fhir/SubstanceProtein.d.ts +0 -218
- package/dist/fhir/SubstanceProtein.js +0 -7
- package/dist/fhir/SubstanceProtein.js.map +0 -1
- package/dist/fhir/SubstanceReferenceInformation.d.ts +0 -330
- package/dist/fhir/SubstanceReferenceInformation.js +0 -7
- package/dist/fhir/SubstanceReferenceInformation.js.map +0 -1
- package/dist/fhir/SubstanceSourceMaterial.d.ts +0 -521
- package/dist/fhir/SubstanceSourceMaterial.js +0 -7
- package/dist/fhir/SubstanceSourceMaterial.js.map +0 -1
- package/dist/fhir/SubstanceSpecification.d.ts +0 -827
- package/dist/fhir/SubstanceSpecification.js +0 -7
- package/dist/fhir/SubstanceSpecification.js.map +0 -1
- package/dist/fhir/SupplyDelivery.d.ts +0 -205
- package/dist/fhir/SupplyDelivery.js +0 -7
- package/dist/fhir/SupplyDelivery.js.map +0 -1
- package/dist/fhir/SupplyRequest.d.ts +0 -237
- package/dist/fhir/SupplyRequest.js +0 -7
- package/dist/fhir/SupplyRequest.js.map +0 -1
- package/dist/fhir/Task.d.ts +0 -807
- package/dist/fhir/Task.js +0 -7
- package/dist/fhir/Task.js.map +0 -1
- package/dist/fhir/TerminologyCapabilities.d.ts +0 -716
- package/dist/fhir/TerminologyCapabilities.js +0 -7
- package/dist/fhir/TerminologyCapabilities.js.map +0 -1
- package/dist/fhir/TestReport.d.ts +0 -549
- package/dist/fhir/TestReport.js +0 -7
- package/dist/fhir/TestReport.js.map +0 -1
- package/dist/fhir/TestScript.d.ts +0 -1184
- package/dist/fhir/TestScript.js +0 -7
- package/dist/fhir/TestScript.js.map +0 -1
- package/dist/fhir/Timing.d.ts +0 -178
- package/dist/fhir/Timing.js +0 -7
- package/dist/fhir/Timing.js.map +0 -1
- package/dist/fhir/TriggerDefinition.d.ts +0 -65
- package/dist/fhir/TriggerDefinition.js +0 -7
- package/dist/fhir/TriggerDefinition.js.map +0 -1
- package/dist/fhir/UsageContext.d.ts +0 -61
- package/dist/fhir/UsageContext.js +0 -7
- package/dist/fhir/UsageContext.js.map +0 -1
- package/dist/fhir/User.d.ts +0 -45
- package/dist/fhir/User.js +0 -7
- package/dist/fhir/User.js.map +0 -1
- package/dist/fhir/ValueSet.d.ts +0 -725
- package/dist/fhir/ValueSet.js +0 -7
- package/dist/fhir/ValueSet.js.map +0 -1
- package/dist/fhir/VerificationResult.d.ts +0 -340
- package/dist/fhir/VerificationResult.js +0 -7
- package/dist/fhir/VerificationResult.js.map +0 -1
- package/dist/fhir/VisionPrescription.d.ts +0 -264
- package/dist/fhir/VisionPrescription.js +0 -7
- package/dist/fhir/VisionPrescription.js.map +0 -1
- package/dist/fhir/index.d.ts +0 -196
- package/dist/fhir/index.js +0 -213
- package/dist/fhir/index.js.map +0 -1
- package/dist/fhirpath/functions.d.ts +0 -6
- package/dist/fhirpath/functions.js +0 -349
- package/dist/fhirpath/functions.js.map +0 -1
- package/dist/fhirpath/index.d.ts +0 -2
- package/dist/fhirpath/index.js +0 -15
- package/dist/fhirpath/index.js.map +0 -1
- package/dist/fhirpath/parse.d.ts +0 -10
- package/dist/fhirpath/parse.js +0 -266
- package/dist/fhirpath/parse.js.map +0 -1
- package/dist/fhirpath/tokenize.d.ts +0 -13
- package/dist/fhirpath/tokenize.js +0 -39
- package/dist/fhirpath/tokenize.js.map +0 -1
- package/dist/fhirpath/utils.d.ts +0 -13
- package/dist/fhirpath/utils.js +0 -34
- package/dist/fhirpath/utils.js.map +0 -1
package/dist/fhir/Encounter.d.ts
DELETED
|
@@ -1,558 +0,0 @@
|
|
|
1
|
-
import { Account } from './Account';
|
|
2
|
-
import { Appointment } from './Appointment';
|
|
3
|
-
import { CodeableConcept } from './CodeableConcept';
|
|
4
|
-
import { Coding } from './Coding';
|
|
5
|
-
import { Condition } from './Condition';
|
|
6
|
-
import { Duration } from './Duration';
|
|
7
|
-
import { EpisodeOfCare } from './EpisodeOfCare';
|
|
8
|
-
import { Extension } from './Extension';
|
|
9
|
-
import { Group } from './Group';
|
|
10
|
-
import { Identifier } from './Identifier';
|
|
11
|
-
import { ImmunizationRecommendation } from './ImmunizationRecommendation';
|
|
12
|
-
import { Location } from './Location';
|
|
13
|
-
import { Meta } from './Meta';
|
|
14
|
-
import { Narrative } from './Narrative';
|
|
15
|
-
import { Observation } from './Observation';
|
|
16
|
-
import { Organization } from './Organization';
|
|
17
|
-
import { Patient } from './Patient';
|
|
18
|
-
import { Period } from './Period';
|
|
19
|
-
import { Practitioner } from './Practitioner';
|
|
20
|
-
import { PractitionerRole } from './PractitionerRole';
|
|
21
|
-
import { Procedure } from './Procedure';
|
|
22
|
-
import { Reference } from './Reference';
|
|
23
|
-
import { RelatedPerson } from './RelatedPerson';
|
|
24
|
-
import { Resource } from './Resource';
|
|
25
|
-
import { ServiceRequest } from './ServiceRequest';
|
|
26
|
-
/**
|
|
27
|
-
* An interaction between a patient and healthcare provider(s) for the
|
|
28
|
-
* purpose of providing healthcare service(s) or assessing the health
|
|
29
|
-
* status of a patient.
|
|
30
|
-
*/
|
|
31
|
-
export interface Encounter {
|
|
32
|
-
/**
|
|
33
|
-
* This is a Encounter resource
|
|
34
|
-
*/
|
|
35
|
-
readonly resourceType: 'Encounter';
|
|
36
|
-
/**
|
|
37
|
-
* The logical id of the resource, as used in the URL for the resource.
|
|
38
|
-
* Once assigned, this value never changes.
|
|
39
|
-
*/
|
|
40
|
-
readonly id?: string;
|
|
41
|
-
/**
|
|
42
|
-
* The metadata about the resource. This is content that is maintained by
|
|
43
|
-
* the infrastructure. Changes to the content might not always be
|
|
44
|
-
* associated with version changes to the resource.
|
|
45
|
-
*/
|
|
46
|
-
readonly meta?: Meta;
|
|
47
|
-
/**
|
|
48
|
-
* A reference to a set of rules that were followed when the resource was
|
|
49
|
-
* constructed, and which must be understood when processing the content.
|
|
50
|
-
* Often, this is a reference to an implementation guide that defines the
|
|
51
|
-
* special rules along with other profiles etc.
|
|
52
|
-
*/
|
|
53
|
-
readonly implicitRules?: string;
|
|
54
|
-
/**
|
|
55
|
-
* The base language in which the resource is written.
|
|
56
|
-
*/
|
|
57
|
-
readonly language?: string;
|
|
58
|
-
/**
|
|
59
|
-
* A human-readable narrative that contains a summary of the resource and
|
|
60
|
-
* can be used to represent the content of the resource to a human. The
|
|
61
|
-
* narrative need not encode all the structured data, but is required to
|
|
62
|
-
* contain sufficient detail to make it "clinically safe" for a human to
|
|
63
|
-
* just read the narrative. Resource definitions may define what content
|
|
64
|
-
* should be represented in the narrative to ensure clinical safety.
|
|
65
|
-
*/
|
|
66
|
-
readonly text?: Narrative;
|
|
67
|
-
/**
|
|
68
|
-
* These resources do not have an independent existence apart from the
|
|
69
|
-
* resource that contains them - they cannot be identified independently,
|
|
70
|
-
* and nor can they have their own independent transaction scope.
|
|
71
|
-
*/
|
|
72
|
-
readonly contained?: Resource[];
|
|
73
|
-
/**
|
|
74
|
-
* May be used to represent additional information that is not part of
|
|
75
|
-
* the basic definition of the resource. To make the use of extensions
|
|
76
|
-
* safe and manageable, there is a strict set of governance applied to
|
|
77
|
-
* the definition and use of extensions. Though any implementer can
|
|
78
|
-
* define an extension, there is a set of requirements that SHALL be met
|
|
79
|
-
* as part of the definition of the extension.
|
|
80
|
-
*/
|
|
81
|
-
readonly extension?: Extension[];
|
|
82
|
-
/**
|
|
83
|
-
* May be used to represent additional information that is not part of
|
|
84
|
-
* the basic definition of the resource and that modifies the
|
|
85
|
-
* understanding of the element that contains it and/or the understanding
|
|
86
|
-
* of the containing element's descendants. Usually modifier elements
|
|
87
|
-
* provide negation or qualification. To make the use of extensions safe
|
|
88
|
-
* and manageable, there is a strict set of governance applied to the
|
|
89
|
-
* definition and use of extensions. Though any implementer is allowed to
|
|
90
|
-
* define an extension, there is a set of requirements that SHALL be met
|
|
91
|
-
* as part of the definition of the extension. Applications processing a
|
|
92
|
-
* resource are required to check for modifier extensions.
|
|
93
|
-
*
|
|
94
|
-
* Modifier extensions SHALL NOT change the meaning of any elements on
|
|
95
|
-
* Resource or DomainResource (including cannot change the meaning of
|
|
96
|
-
* modifierExtension itself).
|
|
97
|
-
*/
|
|
98
|
-
readonly modifierExtension?: Extension[];
|
|
99
|
-
/**
|
|
100
|
-
* Identifier(s) by which this encounter is known.
|
|
101
|
-
*/
|
|
102
|
-
readonly identifier?: Identifier[];
|
|
103
|
-
/**
|
|
104
|
-
* planned | arrived | triaged | in-progress | onleave | finished |
|
|
105
|
-
* cancelled +.
|
|
106
|
-
*/
|
|
107
|
-
readonly status?: string;
|
|
108
|
-
/**
|
|
109
|
-
* The status history permits the encounter resource to contain the
|
|
110
|
-
* status history without needing to read through the historical versions
|
|
111
|
-
* of the resource, or even have the server store them.
|
|
112
|
-
*/
|
|
113
|
-
readonly statusHistory?: EncounterStatusHistory[];
|
|
114
|
-
/**
|
|
115
|
-
* Concepts representing classification of patient encounter such as
|
|
116
|
-
* ambulatory (outpatient), inpatient, emergency, home health or others
|
|
117
|
-
* due to local variations.
|
|
118
|
-
*/
|
|
119
|
-
readonly class?: Coding;
|
|
120
|
-
/**
|
|
121
|
-
* The class history permits the tracking of the encounters transitions
|
|
122
|
-
* without needing to go through the resource history. This would be
|
|
123
|
-
* used for a case where an admission starts of as an emergency
|
|
124
|
-
* encounter, then transitions into an inpatient scenario. Doing this and
|
|
125
|
-
* not restarting a new encounter ensures that any lab/diagnostic results
|
|
126
|
-
* can more easily follow the patient and not require re-processing and
|
|
127
|
-
* not get lost or cancelled during a kind of discharge from emergency to
|
|
128
|
-
* inpatient.
|
|
129
|
-
*/
|
|
130
|
-
readonly classHistory?: EncounterClassHistory[];
|
|
131
|
-
/**
|
|
132
|
-
* Specific type of encounter (e.g. e-mail consultation, surgical
|
|
133
|
-
* day-care, skilled nursing, rehabilitation).
|
|
134
|
-
*/
|
|
135
|
-
readonly type?: CodeableConcept[];
|
|
136
|
-
/**
|
|
137
|
-
* Broad categorization of the service that is to be provided (e.g.
|
|
138
|
-
* cardiology).
|
|
139
|
-
*/
|
|
140
|
-
readonly serviceType?: CodeableConcept;
|
|
141
|
-
/**
|
|
142
|
-
* Indicates the urgency of the encounter.
|
|
143
|
-
*/
|
|
144
|
-
readonly priority?: CodeableConcept;
|
|
145
|
-
/**
|
|
146
|
-
* The patient or group present at the encounter.
|
|
147
|
-
*/
|
|
148
|
-
readonly subject?: Reference<Patient | Group>;
|
|
149
|
-
/**
|
|
150
|
-
* Where a specific encounter should be classified as a part of a
|
|
151
|
-
* specific episode(s) of care this field should be used. This
|
|
152
|
-
* association can facilitate grouping of related encounters together for
|
|
153
|
-
* a specific purpose, such as government reporting, issue tracking,
|
|
154
|
-
* association via a common problem. The association is recorded on the
|
|
155
|
-
* encounter as these are typically created after the episode of care and
|
|
156
|
-
* grouped on entry rather than editing the episode of care to append
|
|
157
|
-
* another encounter to it (the episode of care could span years).
|
|
158
|
-
*/
|
|
159
|
-
readonly episodeOfCare?: Reference<EpisodeOfCare>[];
|
|
160
|
-
/**
|
|
161
|
-
* The request this encounter satisfies (e.g. incoming referral or
|
|
162
|
-
* procedure request).
|
|
163
|
-
*/
|
|
164
|
-
readonly basedOn?: Reference<ServiceRequest>[];
|
|
165
|
-
/**
|
|
166
|
-
* The list of people responsible for providing the service.
|
|
167
|
-
*/
|
|
168
|
-
readonly participant?: EncounterParticipant[];
|
|
169
|
-
/**
|
|
170
|
-
* The appointment that scheduled this encounter.
|
|
171
|
-
*/
|
|
172
|
-
readonly appointment?: Reference<Appointment>[];
|
|
173
|
-
/**
|
|
174
|
-
* The start and end time of the encounter.
|
|
175
|
-
*/
|
|
176
|
-
readonly period?: Period;
|
|
177
|
-
/**
|
|
178
|
-
* Quantity of time the encounter lasted. This excludes the time during
|
|
179
|
-
* leaves of absence.
|
|
180
|
-
*/
|
|
181
|
-
readonly length?: Duration;
|
|
182
|
-
/**
|
|
183
|
-
* Reason the encounter takes place, expressed as a code. For admissions,
|
|
184
|
-
* this can be used for a coded admission diagnosis.
|
|
185
|
-
*/
|
|
186
|
-
readonly reasonCode?: CodeableConcept[];
|
|
187
|
-
/**
|
|
188
|
-
* Reason the encounter takes place, expressed as a code. For admissions,
|
|
189
|
-
* this can be used for a coded admission diagnosis.
|
|
190
|
-
*/
|
|
191
|
-
readonly reasonReference?: Reference<Condition | Procedure | Observation | ImmunizationRecommendation>[];
|
|
192
|
-
/**
|
|
193
|
-
* The list of diagnosis relevant to this encounter.
|
|
194
|
-
*/
|
|
195
|
-
readonly diagnosis?: EncounterDiagnosis[];
|
|
196
|
-
/**
|
|
197
|
-
* The set of accounts that may be used for billing for this Encounter.
|
|
198
|
-
*/
|
|
199
|
-
readonly account?: Reference<Account>[];
|
|
200
|
-
/**
|
|
201
|
-
* Details about the admission to a healthcare service.
|
|
202
|
-
*/
|
|
203
|
-
readonly hospitalization?: EncounterHospitalization;
|
|
204
|
-
/**
|
|
205
|
-
* List of locations where the patient has been during this encounter.
|
|
206
|
-
*/
|
|
207
|
-
readonly location?: EncounterLocation[];
|
|
208
|
-
/**
|
|
209
|
-
* The organization that is primarily responsible for this Encounter's
|
|
210
|
-
* services. This MAY be the same as the organization on the Patient
|
|
211
|
-
* record, however it could be different, such as if the actor performing
|
|
212
|
-
* the services was from an external organization (which may be billed
|
|
213
|
-
* seperately) for an external consultation. Refer to the example bundle
|
|
214
|
-
* showing an abbreviated set of Encounters for a colonoscopy.
|
|
215
|
-
*/
|
|
216
|
-
readonly serviceProvider?: Reference<Organization>;
|
|
217
|
-
/**
|
|
218
|
-
* Another Encounter of which this encounter is a part of
|
|
219
|
-
* (administratively or in time).
|
|
220
|
-
*/
|
|
221
|
-
readonly partOf?: Reference<Encounter>;
|
|
222
|
-
}
|
|
223
|
-
/**
|
|
224
|
-
* The class history permits the tracking of the encounters transitions
|
|
225
|
-
* without needing to go through the resource history. This would be
|
|
226
|
-
* used for a case where an admission starts of as an emergency
|
|
227
|
-
* encounter, then transitions into an inpatient scenario. Doing this and
|
|
228
|
-
* not restarting a new encounter ensures that any lab/diagnostic results
|
|
229
|
-
* can more easily follow the patient and not require re-processing and
|
|
230
|
-
* not get lost or cancelled during a kind of discharge from emergency to
|
|
231
|
-
* inpatient.
|
|
232
|
-
*/
|
|
233
|
-
export interface EncounterClassHistory {
|
|
234
|
-
/**
|
|
235
|
-
* Unique id for the element within a resource (for internal references).
|
|
236
|
-
* This may be any string value that does not contain spaces.
|
|
237
|
-
*/
|
|
238
|
-
readonly id?: string;
|
|
239
|
-
/**
|
|
240
|
-
* May be used to represent additional information that is not part of
|
|
241
|
-
* the basic definition of the element. To make the use of extensions
|
|
242
|
-
* safe and manageable, there is a strict set of governance applied to
|
|
243
|
-
* the definition and use of extensions. Though any implementer can
|
|
244
|
-
* define an extension, there is a set of requirements that SHALL be met
|
|
245
|
-
* as part of the definition of the extension.
|
|
246
|
-
*/
|
|
247
|
-
readonly extension?: Extension[];
|
|
248
|
-
/**
|
|
249
|
-
* May be used to represent additional information that is not part of
|
|
250
|
-
* the basic definition of the element and that modifies the
|
|
251
|
-
* understanding of the element in which it is contained and/or the
|
|
252
|
-
* understanding of the containing element's descendants. Usually
|
|
253
|
-
* modifier elements provide negation or qualification. To make the use
|
|
254
|
-
* of extensions safe and manageable, there is a strict set of governance
|
|
255
|
-
* applied to the definition and use of extensions. Though any
|
|
256
|
-
* implementer can define an extension, there is a set of requirements
|
|
257
|
-
* that SHALL be met as part of the definition of the extension.
|
|
258
|
-
* Applications processing a resource are required to check for modifier
|
|
259
|
-
* extensions.
|
|
260
|
-
*
|
|
261
|
-
* Modifier extensions SHALL NOT change the meaning of any elements on
|
|
262
|
-
* Resource or DomainResource (including cannot change the meaning of
|
|
263
|
-
* modifierExtension itself).
|
|
264
|
-
*/
|
|
265
|
-
readonly modifierExtension?: Extension[];
|
|
266
|
-
/**
|
|
267
|
-
* inpatient | outpatient | ambulatory | emergency +.
|
|
268
|
-
*/
|
|
269
|
-
readonly class?: Coding;
|
|
270
|
-
/**
|
|
271
|
-
* The time that the episode was in the specified class.
|
|
272
|
-
*/
|
|
273
|
-
readonly period?: Period;
|
|
274
|
-
}
|
|
275
|
-
/**
|
|
276
|
-
* The list of diagnosis relevant to this encounter.
|
|
277
|
-
*/
|
|
278
|
-
export interface EncounterDiagnosis {
|
|
279
|
-
/**
|
|
280
|
-
* Unique id for the element within a resource (for internal references).
|
|
281
|
-
* This may be any string value that does not contain spaces.
|
|
282
|
-
*/
|
|
283
|
-
readonly id?: string;
|
|
284
|
-
/**
|
|
285
|
-
* May be used to represent additional information that is not part of
|
|
286
|
-
* the basic definition of the element. To make the use of extensions
|
|
287
|
-
* safe and manageable, there is a strict set of governance applied to
|
|
288
|
-
* the definition and use of extensions. Though any implementer can
|
|
289
|
-
* define an extension, there is a set of requirements that SHALL be met
|
|
290
|
-
* as part of the definition of the extension.
|
|
291
|
-
*/
|
|
292
|
-
readonly extension?: Extension[];
|
|
293
|
-
/**
|
|
294
|
-
* May be used to represent additional information that is not part of
|
|
295
|
-
* the basic definition of the element and that modifies the
|
|
296
|
-
* understanding of the element in which it is contained and/or the
|
|
297
|
-
* understanding of the containing element's descendants. Usually
|
|
298
|
-
* modifier elements provide negation or qualification. To make the use
|
|
299
|
-
* of extensions safe and manageable, there is a strict set of governance
|
|
300
|
-
* applied to the definition and use of extensions. Though any
|
|
301
|
-
* implementer can define an extension, there is a set of requirements
|
|
302
|
-
* that SHALL be met as part of the definition of the extension.
|
|
303
|
-
* Applications processing a resource are required to check for modifier
|
|
304
|
-
* extensions.
|
|
305
|
-
*
|
|
306
|
-
* Modifier extensions SHALL NOT change the meaning of any elements on
|
|
307
|
-
* Resource or DomainResource (including cannot change the meaning of
|
|
308
|
-
* modifierExtension itself).
|
|
309
|
-
*/
|
|
310
|
-
readonly modifierExtension?: Extension[];
|
|
311
|
-
/**
|
|
312
|
-
* Reason the encounter takes place, as specified using information from
|
|
313
|
-
* another resource. For admissions, this is the admission diagnosis. The
|
|
314
|
-
* indication will typically be a Condition (with other resources
|
|
315
|
-
* referenced in the evidence.detail), or a Procedure.
|
|
316
|
-
*/
|
|
317
|
-
readonly condition?: Reference<Condition | Procedure>;
|
|
318
|
-
/**
|
|
319
|
-
* Role that this diagnosis has within the encounter (e.g. admission,
|
|
320
|
-
* billing, discharge …).
|
|
321
|
-
*/
|
|
322
|
-
readonly use?: CodeableConcept;
|
|
323
|
-
/**
|
|
324
|
-
* Ranking of the diagnosis (for each role type).
|
|
325
|
-
*/
|
|
326
|
-
readonly rank?: number;
|
|
327
|
-
}
|
|
328
|
-
/**
|
|
329
|
-
* Details about the admission to a healthcare service.
|
|
330
|
-
*/
|
|
331
|
-
export interface EncounterHospitalization {
|
|
332
|
-
/**
|
|
333
|
-
* Unique id for the element within a resource (for internal references).
|
|
334
|
-
* This may be any string value that does not contain spaces.
|
|
335
|
-
*/
|
|
336
|
-
readonly id?: string;
|
|
337
|
-
/**
|
|
338
|
-
* May be used to represent additional information that is not part of
|
|
339
|
-
* the basic definition of the element. To make the use of extensions
|
|
340
|
-
* safe and manageable, there is a strict set of governance applied to
|
|
341
|
-
* the definition and use of extensions. Though any implementer can
|
|
342
|
-
* define an extension, there is a set of requirements that SHALL be met
|
|
343
|
-
* as part of the definition of the extension.
|
|
344
|
-
*/
|
|
345
|
-
readonly extension?: Extension[];
|
|
346
|
-
/**
|
|
347
|
-
* May be used to represent additional information that is not part of
|
|
348
|
-
* the basic definition of the element and that modifies the
|
|
349
|
-
* understanding of the element in which it is contained and/or the
|
|
350
|
-
* understanding of the containing element's descendants. Usually
|
|
351
|
-
* modifier elements provide negation or qualification. To make the use
|
|
352
|
-
* of extensions safe and manageable, there is a strict set of governance
|
|
353
|
-
* applied to the definition and use of extensions. Though any
|
|
354
|
-
* implementer can define an extension, there is a set of requirements
|
|
355
|
-
* that SHALL be met as part of the definition of the extension.
|
|
356
|
-
* Applications processing a resource are required to check for modifier
|
|
357
|
-
* extensions.
|
|
358
|
-
*
|
|
359
|
-
* Modifier extensions SHALL NOT change the meaning of any elements on
|
|
360
|
-
* Resource or DomainResource (including cannot change the meaning of
|
|
361
|
-
* modifierExtension itself).
|
|
362
|
-
*/
|
|
363
|
-
readonly modifierExtension?: Extension[];
|
|
364
|
-
/**
|
|
365
|
-
* Pre-admission identifier.
|
|
366
|
-
*/
|
|
367
|
-
readonly preAdmissionIdentifier?: Identifier;
|
|
368
|
-
/**
|
|
369
|
-
* The location/organization from which the patient came before
|
|
370
|
-
* admission.
|
|
371
|
-
*/
|
|
372
|
-
readonly origin?: Reference<Location | Organization>;
|
|
373
|
-
/**
|
|
374
|
-
* From where patient was admitted (physician referral, transfer).
|
|
375
|
-
*/
|
|
376
|
-
readonly admitSource?: CodeableConcept;
|
|
377
|
-
/**
|
|
378
|
-
* Whether this hospitalization is a readmission and why if known.
|
|
379
|
-
*/
|
|
380
|
-
readonly reAdmission?: CodeableConcept;
|
|
381
|
-
/**
|
|
382
|
-
* Diet preferences reported by the patient.
|
|
383
|
-
*/
|
|
384
|
-
readonly dietPreference?: CodeableConcept[];
|
|
385
|
-
/**
|
|
386
|
-
* Special courtesies (VIP, board member).
|
|
387
|
-
*/
|
|
388
|
-
readonly specialCourtesy?: CodeableConcept[];
|
|
389
|
-
/**
|
|
390
|
-
* Any special requests that have been made for this hospitalization
|
|
391
|
-
* encounter, such as the provision of specific equipment or other
|
|
392
|
-
* things.
|
|
393
|
-
*/
|
|
394
|
-
readonly specialArrangement?: CodeableConcept[];
|
|
395
|
-
/**
|
|
396
|
-
* Location/organization to which the patient is discharged.
|
|
397
|
-
*/
|
|
398
|
-
readonly destination?: Reference<Location | Organization>;
|
|
399
|
-
/**
|
|
400
|
-
* Category or kind of location after discharge.
|
|
401
|
-
*/
|
|
402
|
-
readonly dischargeDisposition?: CodeableConcept;
|
|
403
|
-
}
|
|
404
|
-
/**
|
|
405
|
-
* List of locations where the patient has been during this encounter.
|
|
406
|
-
*/
|
|
407
|
-
export interface EncounterLocation {
|
|
408
|
-
/**
|
|
409
|
-
* Unique id for the element within a resource (for internal references).
|
|
410
|
-
* This may be any string value that does not contain spaces.
|
|
411
|
-
*/
|
|
412
|
-
readonly id?: string;
|
|
413
|
-
/**
|
|
414
|
-
* May be used to represent additional information that is not part of
|
|
415
|
-
* the basic definition of the element. To make the use of extensions
|
|
416
|
-
* safe and manageable, there is a strict set of governance applied to
|
|
417
|
-
* the definition and use of extensions. Though any implementer can
|
|
418
|
-
* define an extension, there is a set of requirements that SHALL be met
|
|
419
|
-
* as part of the definition of the extension.
|
|
420
|
-
*/
|
|
421
|
-
readonly extension?: Extension[];
|
|
422
|
-
/**
|
|
423
|
-
* May be used to represent additional information that is not part of
|
|
424
|
-
* the basic definition of the element and that modifies the
|
|
425
|
-
* understanding of the element in which it is contained and/or the
|
|
426
|
-
* understanding of the containing element's descendants. Usually
|
|
427
|
-
* modifier elements provide negation or qualification. To make the use
|
|
428
|
-
* of extensions safe and manageable, there is a strict set of governance
|
|
429
|
-
* applied to the definition and use of extensions. Though any
|
|
430
|
-
* implementer can define an extension, there is a set of requirements
|
|
431
|
-
* that SHALL be met as part of the definition of the extension.
|
|
432
|
-
* Applications processing a resource are required to check for modifier
|
|
433
|
-
* extensions.
|
|
434
|
-
*
|
|
435
|
-
* Modifier extensions SHALL NOT change the meaning of any elements on
|
|
436
|
-
* Resource or DomainResource (including cannot change the meaning of
|
|
437
|
-
* modifierExtension itself).
|
|
438
|
-
*/
|
|
439
|
-
readonly modifierExtension?: Extension[];
|
|
440
|
-
/**
|
|
441
|
-
* The location where the encounter takes place.
|
|
442
|
-
*/
|
|
443
|
-
readonly location?: Reference<Location>;
|
|
444
|
-
/**
|
|
445
|
-
* The status of the participants' presence at the specified location
|
|
446
|
-
* during the period specified. If the participant is no longer at the
|
|
447
|
-
* location, then the period will have an end date/time.
|
|
448
|
-
*/
|
|
449
|
-
readonly status?: string;
|
|
450
|
-
/**
|
|
451
|
-
* This will be used to specify the required levels (bed/ward/room/etc.)
|
|
452
|
-
* desired to be recorded to simplify either messaging or query.
|
|
453
|
-
*/
|
|
454
|
-
readonly physicalType?: CodeableConcept;
|
|
455
|
-
/**
|
|
456
|
-
* Time period during which the patient was present at the location.
|
|
457
|
-
*/
|
|
458
|
-
readonly period?: Period;
|
|
459
|
-
}
|
|
460
|
-
/**
|
|
461
|
-
* The list of people responsible for providing the service.
|
|
462
|
-
*/
|
|
463
|
-
export interface EncounterParticipant {
|
|
464
|
-
/**
|
|
465
|
-
* Unique id for the element within a resource (for internal references).
|
|
466
|
-
* This may be any string value that does not contain spaces.
|
|
467
|
-
*/
|
|
468
|
-
readonly id?: string;
|
|
469
|
-
/**
|
|
470
|
-
* May be used to represent additional information that is not part of
|
|
471
|
-
* the basic definition of the element. To make the use of extensions
|
|
472
|
-
* safe and manageable, there is a strict set of governance applied to
|
|
473
|
-
* the definition and use of extensions. Though any implementer can
|
|
474
|
-
* define an extension, there is a set of requirements that SHALL be met
|
|
475
|
-
* as part of the definition of the extension.
|
|
476
|
-
*/
|
|
477
|
-
readonly extension?: Extension[];
|
|
478
|
-
/**
|
|
479
|
-
* May be used to represent additional information that is not part of
|
|
480
|
-
* the basic definition of the element and that modifies the
|
|
481
|
-
* understanding of the element in which it is contained and/or the
|
|
482
|
-
* understanding of the containing element's descendants. Usually
|
|
483
|
-
* modifier elements provide negation or qualification. To make the use
|
|
484
|
-
* of extensions safe and manageable, there is a strict set of governance
|
|
485
|
-
* applied to the definition and use of extensions. Though any
|
|
486
|
-
* implementer can define an extension, there is a set of requirements
|
|
487
|
-
* that SHALL be met as part of the definition of the extension.
|
|
488
|
-
* Applications processing a resource are required to check for modifier
|
|
489
|
-
* extensions.
|
|
490
|
-
*
|
|
491
|
-
* Modifier extensions SHALL NOT change the meaning of any elements on
|
|
492
|
-
* Resource or DomainResource (including cannot change the meaning of
|
|
493
|
-
* modifierExtension itself).
|
|
494
|
-
*/
|
|
495
|
-
readonly modifierExtension?: Extension[];
|
|
496
|
-
/**
|
|
497
|
-
* Role of participant in encounter.
|
|
498
|
-
*/
|
|
499
|
-
readonly type?: CodeableConcept[];
|
|
500
|
-
/**
|
|
501
|
-
* The period of time that the specified participant participated in the
|
|
502
|
-
* encounter. These can overlap or be sub-sets of the overall encounter's
|
|
503
|
-
* period.
|
|
504
|
-
*/
|
|
505
|
-
readonly period?: Period;
|
|
506
|
-
/**
|
|
507
|
-
* Persons involved in the encounter other than the patient.
|
|
508
|
-
*/
|
|
509
|
-
readonly individual?: Reference<Practitioner | PractitionerRole | RelatedPerson>;
|
|
510
|
-
}
|
|
511
|
-
/**
|
|
512
|
-
* The status history permits the encounter resource to contain the
|
|
513
|
-
* status history without needing to read through the historical versions
|
|
514
|
-
* of the resource, or even have the server store them.
|
|
515
|
-
*/
|
|
516
|
-
export interface EncounterStatusHistory {
|
|
517
|
-
/**
|
|
518
|
-
* Unique id for the element within a resource (for internal references).
|
|
519
|
-
* This may be any string value that does not contain spaces.
|
|
520
|
-
*/
|
|
521
|
-
readonly id?: string;
|
|
522
|
-
/**
|
|
523
|
-
* May be used to represent additional information that is not part of
|
|
524
|
-
* the basic definition of the element. To make the use of extensions
|
|
525
|
-
* safe and manageable, there is a strict set of governance applied to
|
|
526
|
-
* the definition and use of extensions. Though any implementer can
|
|
527
|
-
* define an extension, there is a set of requirements that SHALL be met
|
|
528
|
-
* as part of the definition of the extension.
|
|
529
|
-
*/
|
|
530
|
-
readonly extension?: Extension[];
|
|
531
|
-
/**
|
|
532
|
-
* May be used to represent additional information that is not part of
|
|
533
|
-
* the basic definition of the element and that modifies the
|
|
534
|
-
* understanding of the element in which it is contained and/or the
|
|
535
|
-
* understanding of the containing element's descendants. Usually
|
|
536
|
-
* modifier elements provide negation or qualification. To make the use
|
|
537
|
-
* of extensions safe and manageable, there is a strict set of governance
|
|
538
|
-
* applied to the definition and use of extensions. Though any
|
|
539
|
-
* implementer can define an extension, there is a set of requirements
|
|
540
|
-
* that SHALL be met as part of the definition of the extension.
|
|
541
|
-
* Applications processing a resource are required to check for modifier
|
|
542
|
-
* extensions.
|
|
543
|
-
*
|
|
544
|
-
* Modifier extensions SHALL NOT change the meaning of any elements on
|
|
545
|
-
* Resource or DomainResource (including cannot change the meaning of
|
|
546
|
-
* modifierExtension itself).
|
|
547
|
-
*/
|
|
548
|
-
readonly modifierExtension?: Extension[];
|
|
549
|
-
/**
|
|
550
|
-
* planned | arrived | triaged | in-progress | onleave | finished |
|
|
551
|
-
* cancelled +.
|
|
552
|
-
*/
|
|
553
|
-
readonly status?: string;
|
|
554
|
-
/**
|
|
555
|
-
* The time that the episode was in the specified status.
|
|
556
|
-
*/
|
|
557
|
-
readonly period?: Period;
|
|
558
|
-
}
|
package/dist/fhir/Encounter.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Encounter.js","sourceRoot":"","sources":["../../src/fhir/Encounter.ts"],"names":[],"mappings":";AAAA;;;GAGG","sourcesContent":["/*\n * Generated by @medplum/generator\n * Do not edit manually.\n */\n\nimport { Account } from './Account';\nimport { Appointment } from './Appointment';\nimport { CodeableConcept } from './CodeableConcept';\nimport { Coding } from './Coding';\nimport { Condition } from './Condition';\nimport { Duration } from './Duration';\nimport { EpisodeOfCare } from './EpisodeOfCare';\nimport { Extension } from './Extension';\nimport { Group } from './Group';\nimport { Identifier } from './Identifier';\nimport { ImmunizationRecommendation } from './ImmunizationRecommendation';\nimport { Location } from './Location';\nimport { Meta } from './Meta';\nimport { Narrative } from './Narrative';\nimport { Observation } from './Observation';\nimport { Organization } from './Organization';\nimport { Patient } from './Patient';\nimport { Period } from './Period';\nimport { Practitioner } from './Practitioner';\nimport { PractitionerRole } from './PractitionerRole';\nimport { Procedure } from './Procedure';\nimport { Reference } from './Reference';\nimport { RelatedPerson } from './RelatedPerson';\nimport { Resource } from './Resource';\nimport { ServiceRequest } from './ServiceRequest';\n\n/**\n * An interaction between a patient and healthcare provider(s) for the\n * purpose of providing healthcare service(s) or assessing the health\n * status of a patient.\n */\nexport interface Encounter {\n\n /**\n * This is a Encounter resource\n */\n readonly resourceType: 'Encounter';\n\n /**\n * The logical id of the resource, as used in the URL for the resource.\n * Once assigned, this value never changes.\n */\n readonly id?: string;\n\n /**\n * The metadata about the resource. This is content that is maintained by\n * the infrastructure. Changes to the content might not always be\n * associated with version changes to the resource.\n */\n readonly meta?: Meta;\n\n /**\n * A reference to a set of rules that were followed when the resource was\n * constructed, and which must be understood when processing the content.\n * Often, this is a reference to an implementation guide that defines the\n * special rules along with other profiles etc.\n */\n readonly implicitRules?: string;\n\n /**\n * The base language in which the resource is written.\n */\n readonly language?: string;\n\n /**\n * A human-readable narrative that contains a summary of the resource and\n * can be used to represent the content of the resource to a human. The\n * narrative need not encode all the structured data, but is required to\n * contain sufficient detail to make it "clinically safe" for a human to\n * just read the narrative. Resource definitions may define what content\n * should be represented in the narrative to ensure clinical safety.\n */\n readonly text?: Narrative;\n\n /**\n * These resources do not have an independent existence apart from the\n * resource that contains them - they cannot be identified independently,\n * and nor can they have their own independent transaction scope.\n */\n readonly contained?: Resource[];\n\n /**\n * May be used to represent additional information that is not part of\n * the basic definition of the resource. To make the use of extensions\n * safe and manageable, there is a strict set of governance applied to\n * the definition and use of extensions. Though any implementer can\n * define an extension, there is a set of requirements that SHALL be met\n * as part of the definition of the extension.\n */\n readonly extension?: Extension[];\n\n /**\n * May be used to represent additional information that is not part of\n * the basic definition of the resource and that modifies the\n * understanding of the element that contains it and/or the understanding\n * of the containing element's descendants. Usually modifier elements\n * provide negation or qualification. To make the use of extensions safe\n * and manageable, there is a strict set of governance applied to the\n * definition and use of extensions. Though any implementer is allowed to\n * define an extension, there is a set of requirements that SHALL be met\n * as part of the definition of the extension. Applications processing a\n * resource are required to check for modifier extensions.\n *\n * Modifier extensions SHALL NOT change the meaning of any elements on\n * Resource or DomainResource (including cannot change the meaning of\n * modifierExtension itself).\n */\n readonly modifierExtension?: Extension[];\n\n /**\n * Identifier(s) by which this encounter is known.\n */\n readonly identifier?: Identifier[];\n\n /**\n * planned | arrived | triaged | in-progress | onleave | finished |\n * cancelled +.\n */\n readonly status?: string;\n\n /**\n * The status history permits the encounter resource to contain the\n * status history without needing to read through the historical versions\n * of the resource, or even have the server store them.\n */\n readonly statusHistory?: EncounterStatusHistory[];\n\n /**\n * Concepts representing classification of patient encounter such as\n * ambulatory (outpatient), inpatient, emergency, home health or others\n * due to local variations.\n */\n readonly class?: Coding;\n\n /**\n * The class history permits the tracking of the encounters transitions\n * without needing to go through the resource history. This would be\n * used for a case where an admission starts of as an emergency\n * encounter, then transitions into an inpatient scenario. Doing this and\n * not restarting a new encounter ensures that any lab/diagnostic results\n * can more easily follow the patient and not require re-processing and\n * not get lost or cancelled during a kind of discharge from emergency to\n * inpatient.\n */\n readonly classHistory?: EncounterClassHistory[];\n\n /**\n * Specific type of encounter (e.g. e-mail consultation, surgical\n * day-care, skilled nursing, rehabilitation).\n */\n readonly type?: CodeableConcept[];\n\n /**\n * Broad categorization of the service that is to be provided (e.g.\n * cardiology).\n */\n readonly serviceType?: CodeableConcept;\n\n /**\n * Indicates the urgency of the encounter.\n */\n readonly priority?: CodeableConcept;\n\n /**\n * The patient or group present at the encounter.\n */\n readonly subject?: Reference<Patient | Group>;\n\n /**\n * Where a specific encounter should be classified as a part of a\n * specific episode(s) of care this field should be used. This\n * association can facilitate grouping of related encounters together for\n * a specific purpose, such as government reporting, issue tracking,\n * association via a common problem. The association is recorded on the\n * encounter as these are typically created after the episode of care and\n * grouped on entry rather than editing the episode of care to append\n * another encounter to it (the episode of care could span years).\n */\n readonly episodeOfCare?: Reference<EpisodeOfCare>[];\n\n /**\n * The request this encounter satisfies (e.g. incoming referral or\n * procedure request).\n */\n readonly basedOn?: Reference<ServiceRequest>[];\n\n /**\n * The list of people responsible for providing the service.\n */\n readonly participant?: EncounterParticipant[];\n\n /**\n * The appointment that scheduled this encounter.\n */\n readonly appointment?: Reference<Appointment>[];\n\n /**\n * The start and end time of the encounter.\n */\n readonly period?: Period;\n\n /**\n * Quantity of time the encounter lasted. This excludes the time during\n * leaves of absence.\n */\n readonly length?: Duration;\n\n /**\n * Reason the encounter takes place, expressed as a code. For admissions,\n * this can be used for a coded admission diagnosis.\n */\n readonly reasonCode?: CodeableConcept[];\n\n /**\n * Reason the encounter takes place, expressed as a code. For admissions,\n * this can be used for a coded admission diagnosis.\n */\n readonly reasonReference?: Reference<Condition | Procedure | Observation | ImmunizationRecommendation>[];\n\n /**\n * The list of diagnosis relevant to this encounter.\n */\n readonly diagnosis?: EncounterDiagnosis[];\n\n /**\n * The set of accounts that may be used for billing for this Encounter.\n */\n readonly account?: Reference<Account>[];\n\n /**\n * Details about the admission to a healthcare service.\n */\n readonly hospitalization?: EncounterHospitalization;\n\n /**\n * List of locations where the patient has been during this encounter.\n */\n readonly location?: EncounterLocation[];\n\n /**\n * The organization that is primarily responsible for this Encounter's\n * services. This MAY be the same as the organization on the Patient\n * record, however it could be different, such as if the actor performing\n * the services was from an external organization (which may be billed\n * seperately) for an external consultation. Refer to the example bundle\n * showing an abbreviated set of Encounters for a colonoscopy.\n */\n readonly serviceProvider?: Reference<Organization>;\n\n /**\n * Another Encounter of which this encounter is a part of\n * (administratively or in time).\n */\n readonly partOf?: Reference<Encounter>;\n}\n\n/**\n * The class history permits the tracking of the encounters transitions\n * without needing to go through the resource history. This would be\n * used for a case where an admission starts of as an emergency\n * encounter, then transitions into an inpatient scenario. Doing this and\n * not restarting a new encounter ensures that any lab/diagnostic results\n * can more easily follow the patient and not require re-processing and\n * not get lost or cancelled during a kind of discharge from emergency to\n * inpatient.\n */\nexport interface EncounterClassHistory {\n\n /**\n * Unique id for the element within a resource (for internal references).\n * This may be any string value that does not contain spaces.\n */\n readonly id?: string;\n\n /**\n * May be used to represent additional information that is not part of\n * the basic definition of the element. To make the use of extensions\n * safe and manageable, there is a strict set of governance applied to\n * the definition and use of extensions. Though any implementer can\n * define an extension, there is a set of requirements that SHALL be met\n * as part of the definition of the extension.\n */\n readonly extension?: Extension[];\n\n /**\n * May be used to represent additional information that is not part of\n * the basic definition of the element and that modifies the\n * understanding of the element in which it is contained and/or the\n * understanding of the containing element's descendants. Usually\n * modifier elements provide negation or qualification. To make the use\n * of extensions safe and manageable, there is a strict set of governance\n * applied to the definition and use of extensions. Though any\n * implementer can define an extension, there is a set of requirements\n * that SHALL be met as part of the definition of the extension.\n * Applications processing a resource are required to check for modifier\n * extensions.\n *\n * Modifier extensions SHALL NOT change the meaning of any elements on\n * Resource or DomainResource (including cannot change the meaning of\n * modifierExtension itself).\n */\n readonly modifierExtension?: Extension[];\n\n /**\n * inpatient | outpatient | ambulatory | emergency +.\n */\n readonly class?: Coding;\n\n /**\n * The time that the episode was in the specified class.\n */\n readonly period?: Period;\n}\n\n/**\n * The list of diagnosis relevant to this encounter.\n */\nexport interface EncounterDiagnosis {\n\n /**\n * Unique id for the element within a resource (for internal references).\n * This may be any string value that does not contain spaces.\n */\n readonly id?: string;\n\n /**\n * May be used to represent additional information that is not part of\n * the basic definition of the element. To make the use of extensions\n * safe and manageable, there is a strict set of governance applied to\n * the definition and use of extensions. Though any implementer can\n * define an extension, there is a set of requirements that SHALL be met\n * as part of the definition of the extension.\n */\n readonly extension?: Extension[];\n\n /**\n * May be used to represent additional information that is not part of\n * the basic definition of the element and that modifies the\n * understanding of the element in which it is contained and/or the\n * understanding of the containing element's descendants. Usually\n * modifier elements provide negation or qualification. To make the use\n * of extensions safe and manageable, there is a strict set of governance\n * applied to the definition and use of extensions. Though any\n * implementer can define an extension, there is a set of requirements\n * that SHALL be met as part of the definition of the extension.\n * Applications processing a resource are required to check for modifier\n * extensions.\n *\n * Modifier extensions SHALL NOT change the meaning of any elements on\n * Resource or DomainResource (including cannot change the meaning of\n * modifierExtension itself).\n */\n readonly modifierExtension?: Extension[];\n\n /**\n * Reason the encounter takes place, as specified using information from\n * another resource. For admissions, this is the admission diagnosis. The\n * indication will typically be a Condition (with other resources\n * referenced in the evidence.detail), or a Procedure.\n */\n readonly condition?: Reference<Condition | Procedure>;\n\n /**\n * Role that this diagnosis has within the encounter (e.g. admission,\n * billing, discharge …).\n */\n readonly use?: CodeableConcept;\n\n /**\n * Ranking of the diagnosis (for each role type).\n */\n readonly rank?: number;\n}\n\n/**\n * Details about the admission to a healthcare service.\n */\nexport interface EncounterHospitalization {\n\n /**\n * Unique id for the element within a resource (for internal references).\n * This may be any string value that does not contain spaces.\n */\n readonly id?: string;\n\n /**\n * May be used to represent additional information that is not part of\n * the basic definition of the element. To make the use of extensions\n * safe and manageable, there is a strict set of governance applied to\n * the definition and use of extensions. Though any implementer can\n * define an extension, there is a set of requirements that SHALL be met\n * as part of the definition of the extension.\n */\n readonly extension?: Extension[];\n\n /**\n * May be used to represent additional information that is not part of\n * the basic definition of the element and that modifies the\n * understanding of the element in which it is contained and/or the\n * understanding of the containing element's descendants. Usually\n * modifier elements provide negation or qualification. To make the use\n * of extensions safe and manageable, there is a strict set of governance\n * applied to the definition and use of extensions. Though any\n * implementer can define an extension, there is a set of requirements\n * that SHALL be met as part of the definition of the extension.\n * Applications processing a resource are required to check for modifier\n * extensions.\n *\n * Modifier extensions SHALL NOT change the meaning of any elements on\n * Resource or DomainResource (including cannot change the meaning of\n * modifierExtension itself).\n */\n readonly modifierExtension?: Extension[];\n\n /**\n * Pre-admission identifier.\n */\n readonly preAdmissionIdentifier?: Identifier;\n\n /**\n * The location/organization from which the patient came before\n * admission.\n */\n readonly origin?: Reference<Location | Organization>;\n\n /**\n * From where patient was admitted (physician referral, transfer).\n */\n readonly admitSource?: CodeableConcept;\n\n /**\n * Whether this hospitalization is a readmission and why if known.\n */\n readonly reAdmission?: CodeableConcept;\n\n /**\n * Diet preferences reported by the patient.\n */\n readonly dietPreference?: CodeableConcept[];\n\n /**\n * Special courtesies (VIP, board member).\n */\n readonly specialCourtesy?: CodeableConcept[];\n\n /**\n * Any special requests that have been made for this hospitalization\n * encounter, such as the provision of specific equipment or other\n * things.\n */\n readonly specialArrangement?: CodeableConcept[];\n\n /**\n * Location/organization to which the patient is discharged.\n */\n readonly destination?: Reference<Location | Organization>;\n\n /**\n * Category or kind of location after discharge.\n */\n readonly dischargeDisposition?: CodeableConcept;\n}\n\n/**\n * List of locations where the patient has been during this encounter.\n */\nexport interface EncounterLocation {\n\n /**\n * Unique id for the element within a resource (for internal references).\n * This may be any string value that does not contain spaces.\n */\n readonly id?: string;\n\n /**\n * May be used to represent additional information that is not part of\n * the basic definition of the element. To make the use of extensions\n * safe and manageable, there is a strict set of governance applied to\n * the definition and use of extensions. Though any implementer can\n * define an extension, there is a set of requirements that SHALL be met\n * as part of the definition of the extension.\n */\n readonly extension?: Extension[];\n\n /**\n * May be used to represent additional information that is not part of\n * the basic definition of the element and that modifies the\n * understanding of the element in which it is contained and/or the\n * understanding of the containing element's descendants. Usually\n * modifier elements provide negation or qualification. To make the use\n * of extensions safe and manageable, there is a strict set of governance\n * applied to the definition and use of extensions. Though any\n * implementer can define an extension, there is a set of requirements\n * that SHALL be met as part of the definition of the extension.\n * Applications processing a resource are required to check for modifier\n * extensions.\n *\n * Modifier extensions SHALL NOT change the meaning of any elements on\n * Resource or DomainResource (including cannot change the meaning of\n * modifierExtension itself).\n */\n readonly modifierExtension?: Extension[];\n\n /**\n * The location where the encounter takes place.\n */\n readonly location?: Reference<Location>;\n\n /**\n * The status of the participants' presence at the specified location\n * during the period specified. If the participant is no longer at the\n * location, then the period will have an end date/time.\n */\n readonly status?: string;\n\n /**\n * This will be used to specify the required levels (bed/ward/room/etc.)\n * desired to be recorded to simplify either messaging or query.\n */\n readonly physicalType?: CodeableConcept;\n\n /**\n * Time period during which the patient was present at the location.\n */\n readonly period?: Period;\n}\n\n/**\n * The list of people responsible for providing the service.\n */\nexport interface EncounterParticipant {\n\n /**\n * Unique id for the element within a resource (for internal references).\n * This may be any string value that does not contain spaces.\n */\n readonly id?: string;\n\n /**\n * May be used to represent additional information that is not part of\n * the basic definition of the element. To make the use of extensions\n * safe and manageable, there is a strict set of governance applied to\n * the definition and use of extensions. Though any implementer can\n * define an extension, there is a set of requirements that SHALL be met\n * as part of the definition of the extension.\n */\n readonly extension?: Extension[];\n\n /**\n * May be used to represent additional information that is not part of\n * the basic definition of the element and that modifies the\n * understanding of the element in which it is contained and/or the\n * understanding of the containing element's descendants. Usually\n * modifier elements provide negation or qualification. To make the use\n * of extensions safe and manageable, there is a strict set of governance\n * applied to the definition and use of extensions. Though any\n * implementer can define an extension, there is a set of requirements\n * that SHALL be met as part of the definition of the extension.\n * Applications processing a resource are required to check for modifier\n * extensions.\n *\n * Modifier extensions SHALL NOT change the meaning of any elements on\n * Resource or DomainResource (including cannot change the meaning of\n * modifierExtension itself).\n */\n readonly modifierExtension?: Extension[];\n\n /**\n * Role of participant in encounter.\n */\n readonly type?: CodeableConcept[];\n\n /**\n * The period of time that the specified participant participated in the\n * encounter. These can overlap or be sub-sets of the overall encounter's\n * period.\n */\n readonly period?: Period;\n\n /**\n * Persons involved in the encounter other than the patient.\n */\n readonly individual?: Reference<Practitioner | PractitionerRole | RelatedPerson>;\n}\n\n/**\n * The status history permits the encounter resource to contain the\n * status history without needing to read through the historical versions\n * of the resource, or even have the server store them.\n */\nexport interface EncounterStatusHistory {\n\n /**\n * Unique id for the element within a resource (for internal references).\n * This may be any string value that does not contain spaces.\n */\n readonly id?: string;\n\n /**\n * May be used to represent additional information that is not part of\n * the basic definition of the element. To make the use of extensions\n * safe and manageable, there is a strict set of governance applied to\n * the definition and use of extensions. Though any implementer can\n * define an extension, there is a set of requirements that SHALL be met\n * as part of the definition of the extension.\n */\n readonly extension?: Extension[];\n\n /**\n * May be used to represent additional information that is not part of\n * the basic definition of the element and that modifies the\n * understanding of the element in which it is contained and/or the\n * understanding of the containing element's descendants. Usually\n * modifier elements provide negation or qualification. To make the use\n * of extensions safe and manageable, there is a strict set of governance\n * applied to the definition and use of extensions. Though any\n * implementer can define an extension, there is a set of requirements\n * that SHALL be met as part of the definition of the extension.\n * Applications processing a resource are required to check for modifier\n * extensions.\n *\n * Modifier extensions SHALL NOT change the meaning of any elements on\n * Resource or DomainResource (including cannot change the meaning of\n * modifierExtension itself).\n */\n readonly modifierExtension?: Extension[];\n\n /**\n * planned | arrived | triaged | in-progress | onleave | finished |\n * cancelled +.\n */\n readonly status?: string;\n\n /**\n * The time that the episode was in the specified status.\n */\n readonly period?: Period;\n}\n"]}
|