interface FHIRClientAsync<CTX> {
    batch<FHIRVersion>(ctx: CTX, fhirVersion: FHIRVersion, bundle: Resource<FHIRVersion, "Bundle">): Promise<Resource<FHIRVersion, "Bundle">>;
    capabilities<FHIRVersion>(ctx: CTX, fhirVersion: FHIRVersion): Promise<Resource<FHIRVersion, "CapabilityStatement">>;
    conditionalUpdate<FHIRVersion, T>(ctx: CTX, fhirVersion: FHIRVersion, resourceType: T, parameters: string | ParsedParameter<string | number>[], resource: Resource<FHIRVersion, T>): Promise<Resource<FHIRVersion, T>>;
    create<FHIRVersion, Value>(ctx: CTX, fhirVersion: FHIRVersion, resource: Value): Promise<Value>;
    delete_instance<FHIRVersion, T>(ctx: CTX, fhirVersion: FHIRVersion, resourceType: T, id: NonNullable<Resource<FHIRVersion, ResourceType<FHIRVersion>>["id"]>): Promise<void>;
    delete_system<FHIRVersion>(ctx: CTX, fhirVersion: FHIRVersion, parameters?: string | ParsedParameter<string | number>[]): Promise<void>;
    delete_type<FHIRVersion, T>(ctx: CTX, fhirVersion: FHIRVersion, resourceType: T, parameters?: string | ParsedParameter<string | number>[]): Promise<void>;
    history_instance<FHIRVersion, T>(ctx: CTX, fhirVersion: FHIRVersion, resourceType: T, id: NonNullable<Resource<FHIRVersion, ResourceType<FHIRVersion>>["id"]>, parameters?: string | ParsedParameter<string | number>[]): Promise<NonNullable<Resource<FHIRVersion, "Bundle">["entry"]>>;
    history_system<FHIRVersion>(ctx: CTX, fhirVersion: FHIRVersion, parameters?: string | ParsedParameter<string | number>[]): Promise<NonNullable<Resource<FHIRVersion, "Bundle">["entry"]>>;
    history_type<FHIRVersion, T>(ctx: CTX, fhirVersion: FHIRVersion, resourceType: T, parameters?: string | ParsedParameter<string | number>[]): Promise<NonNullable<Resource<FHIRVersion, "Bundle">["entry"]>>;
    invoke_instance<FHIRVersion, Op, Input, Output, T>(op: Op, ctx: CTX, fhirVersion: FHIRVersion, resourceType: T, id: NonNullable<Resource<FHIRVersion, ResourceType<FHIRVersion>>["id"]>, input: Input): Promise<Output>;
    invoke_system<FHIRVersion, Op, Input, Output>(op: Op, ctx: CTX, fhirVersion: FHIRVersion, input: Input): Promise<Output>;
    invoke_type<FHIRVersion, Op, Input, Output, T>(op: Op, ctx: CTX, fhirVersion: FHIRVersion, resourceType: T, input: Input): Promise<Output>;
    patch<FHIRVersion, T>(ctx: CTX, fhirVersion: FHIRVersion, resourceType: T, id: NonNullable<Resource<FHIRVersion, ResourceType<FHIRVersion>>["id"]>, patches: any): Promise<Resource<FHIRVersion, T>>;
    read<FHIRVersion, T>(ctx: CTX, fhirVersion: FHIRVersion, resourceType: T, id: NonNullable<Resource<FHIRVersion, ResourceType<FHIRVersion>>["id"]>): Promise<undefined | Resource<FHIRVersion, T>>;
    request<Version, I>(ctx: CTX, request: FHIRRequest<Version, I>): Promise<FHIRResponse<Version, "error" | I>>;
    search_system<FHIRVersion>(ctx: CTX, fhirVersion: FHIRVersion, parameters: string | ParsedParameter<string | number>[]): Promise<{
        resources: Resource<FHIRVersion, ResourceType<FHIRVersion>>[];
        total?: number;
    }>;
    search_type<FHIRVersion, T>(ctx: CTX, fhirVersion: FHIRVersion, type: T, parameters: string | ParsedParameter<string | number>[]): Promise<{
        resources: Resource<FHIRVersion, T>[];
        total?: number;
    }>;
    transaction<FHIRVersion>(ctx: CTX, fhirVersion: FHIRVersion, bundle: Resource<FHIRVersion, "Bundle">): Promise<Resource<FHIRVersion, "Bundle">>;
    update<FHIRVersion, T>(ctx: CTX, fhirVersion: FHIRVersion, resourceType: T, id: NonNullable<Resource<FHIRVersion, ResourceType<FHIRVersion>>["id"]>, resource: Resource<FHIRVersion, T>): Promise<Resource<FHIRVersion, T>>;
    vread<FHIRVersion, T>(ctx: CTX, fhirVersion: FHIRVersion, resourceType: T, id: NonNullable<Resource<FHIRVersion, ResourceType<FHIRVersion>>["id"]>, versionId: NonNullable<Resource<FHIRVersion, ResourceType<FHIRVersion>>["id"]>): Promise<undefined | Resource<FHIRVersion, T>>;
}

Type Parameters

  • CTX

Implemented by

Methods

  • Type Parameters

    • FHIRVersion extends "4.0" | "4.3"
    • T extends
          | "SearchParameter"
          | "Account"
          | "ActivityDefinition"
          | "AdverseEvent"
          | "AllergyIntolerance"
          | "Appointment"
          | "AppointmentResponse"
          | "AuditEvent"
          | "Basic"
          | "Binary"
          | "BiologicallyDerivedProduct"
          | "BodyStructure"
          | "Bundle"
          | "CapabilityStatement"
          | "CarePlan"
          | "CareTeam"
          | "CatalogEntry"
          | "ChargeItem"
          | "ChargeItemDefinition"
          | "Claim"
          | "ClaimResponse"
          | "ClinicalImpression"
          | "CodeSystem"
          | "Communication"
          | "CommunicationRequest"
          | "CompartmentDefinition"
          | "Composition"
          | "ConceptMap"
          | "Condition"
          | "Consent"
          | "Contract"
          | "Coverage"
          | "CoverageEligibilityRequest"
          | "CoverageEligibilityResponse"
          | "DetectedIssue"
          | "Device"
          | "DeviceDefinition"
          | "DeviceMetric"
          | "DeviceRequest"
          | "DeviceUseStatement"
          | "DiagnosticReport"
          | "DocumentManifest"
          | "DocumentReference"
          | "EffectEvidenceSynthesis"
          | "Encounter"
          | "Endpoint"
          | "EnrollmentRequest"
          | "EnrollmentResponse"
          | "EpisodeOfCare"
          | "EventDefinition"
          | "Evidence"
          | "EvidenceVariable"
          | "ExampleScenario"
          | "ExplanationOfBenefit"
          | "FamilyMemberHistory"
          | "Flag"
          | "Goal"
          | "GraphDefinition"
          | "Group"
          | "GuidanceResponse"
          | "HealthcareService"
          | "ImagingStudy"
          | "Immunization"
          | "ImmunizationEvaluation"
          | "ImmunizationRecommendation"
          | "ImplementationGuide"
          | "InsurancePlan"
          | "Invoice"
          | "Library"
          | "Linkage"
          | "List"
          | "Location"
          | "Measure"
          | "MeasureReport"
          | "Media"
          | "Medication"
          | "MedicationAdministration"
          | "MedicationDispense"
          | "MedicationKnowledge"
          | "MedicationRequest"
          | "MedicationStatement"
          | "MedicinalProduct"
          | "MedicinalProductAuthorization"
          | "MedicinalProductContraindication"
          | "MedicinalProductIndication"
          | "MedicinalProductIngredient"
          | "MedicinalProductInteraction"
          | "MedicinalProductManufactured"
          | "MedicinalProductPackaged"
          | "MedicinalProductPharmaceutical"
          | "MedicinalProductUndesirableEffect"
          | "MessageDefinition"
          | "MessageHeader"
          | "MolecularSequence"
          | "NamingSystem"
          | "NutritionOrder"
          | "Observation"
          | "ObservationDefinition"
          | "OperationDefinition"
          | "OperationOutcome"
          | "Organization"
          | "OrganizationAffiliation"
          | "Parameters"
          | "Patient"
          | "PaymentNotice"
          | "PaymentReconciliation"
          | "Person"
          | "PlanDefinition"
          | "Practitioner"
          | "PractitionerRole"
          | "Procedure"
          | "Provenance"
          | "Questionnaire"
          | "QuestionnaireResponse"
          | "RelatedPerson"
          | "RequestGroup"
          | "ResearchDefinition"
          | "ResearchElementDefinition"
          | "ResearchStudy"
          | "ResearchSubject"
          | "RiskAssessment"
          | "RiskEvidenceSynthesis"
          | "Schedule"
          | "ServiceRequest"
          | "Slot"
          | "Specimen"
          | "SpecimenDefinition"
          | "StructureDefinition"
          | "StructureMap"
          | "Subscription"
          | "Substance"
          | "SubstanceNucleicAcid"
          | "SubstancePolymer"
          | "SubstanceProtein"
          | "SubstanceReferenceInformation"
          | "SubstanceSourceMaterial"
          | "SubstanceSpecification"
          | "SupplyDelivery"
          | "SupplyRequest"
          | "Task"
          | "TerminologyCapabilities"
          | "TestReport"
          | "TestScript"
          | "ValueSet"
          | "VerificationResult"
          | "VisionPrescription"
          | "AccessPolicyV2"
          | "AccessPolicy"
          | "ClientApplication"
          | "IdentityProvider"
          | "Membership"
          | "MessageBroker"
          | "MessageTopic"
          | "AdministrableProductDefinition"
          | "Citation"
          | "ClinicalUseDefinition"
          | "EvidenceReport"
          | "Ingredient"
          | "ManufacturedItemDefinition"
          | "MedicinalProductDefinition"
          | "NutritionProduct"
          | "PackagedProductDefinition"
          | "RegulatedAuthorization"
          | "SubscriptionStatus"
          | "SubscriptionTopic"
          | "SubstanceDefinition"

    Parameters

    Returns Promise<Resource<FHIRVersion, T>>

  • Type Parameters

    • FHIRVersion extends "4.0" | "4.3"
    • T extends
          | "SearchParameter"
          | "Account"
          | "ActivityDefinition"
          | "AdverseEvent"
          | "AllergyIntolerance"
          | "Appointment"
          | "AppointmentResponse"
          | "AuditEvent"
          | "Basic"
          | "Binary"
          | "BiologicallyDerivedProduct"
          | "BodyStructure"
          | "Bundle"
          | "CapabilityStatement"
          | "CarePlan"
          | "CareTeam"
          | "CatalogEntry"
          | "ChargeItem"
          | "ChargeItemDefinition"
          | "Claim"
          | "ClaimResponse"
          | "ClinicalImpression"
          | "CodeSystem"
          | "Communication"
          | "CommunicationRequest"
          | "CompartmentDefinition"
          | "Composition"
          | "ConceptMap"
          | "Condition"
          | "Consent"
          | "Contract"
          | "Coverage"
          | "CoverageEligibilityRequest"
          | "CoverageEligibilityResponse"
          | "DetectedIssue"
          | "Device"
          | "DeviceDefinition"
          | "DeviceMetric"
          | "DeviceRequest"
          | "DeviceUseStatement"
          | "DiagnosticReport"
          | "DocumentManifest"
          | "DocumentReference"
          | "EffectEvidenceSynthesis"
          | "Encounter"
          | "Endpoint"
          | "EnrollmentRequest"
          | "EnrollmentResponse"
          | "EpisodeOfCare"
          | "EventDefinition"
          | "Evidence"
          | "EvidenceVariable"
          | "ExampleScenario"
          | "ExplanationOfBenefit"
          | "FamilyMemberHistory"
          | "Flag"
          | "Goal"
          | "GraphDefinition"
          | "Group"
          | "GuidanceResponse"
          | "HealthcareService"
          | "ImagingStudy"
          | "Immunization"
          | "ImmunizationEvaluation"
          | "ImmunizationRecommendation"
          | "ImplementationGuide"
          | "InsurancePlan"
          | "Invoice"
          | "Library"
          | "Linkage"
          | "List"
          | "Location"
          | "Measure"
          | "MeasureReport"
          | "Media"
          | "Medication"
          | "MedicationAdministration"
          | "MedicationDispense"
          | "MedicationKnowledge"
          | "MedicationRequest"
          | "MedicationStatement"
          | "MedicinalProduct"
          | "MedicinalProductAuthorization"
          | "MedicinalProductContraindication"
          | "MedicinalProductIndication"
          | "MedicinalProductIngredient"
          | "MedicinalProductInteraction"
          | "MedicinalProductManufactured"
          | "MedicinalProductPackaged"
          | "MedicinalProductPharmaceutical"
          | "MedicinalProductUndesirableEffect"
          | "MessageDefinition"
          | "MessageHeader"
          | "MolecularSequence"
          | "NamingSystem"
          | "NutritionOrder"
          | "Observation"
          | "ObservationDefinition"
          | "OperationDefinition"
          | "OperationOutcome"
          | "Organization"
          | "OrganizationAffiliation"
          | "Parameters"
          | "Patient"
          | "PaymentNotice"
          | "PaymentReconciliation"
          | "Person"
          | "PlanDefinition"
          | "Practitioner"
          | "PractitionerRole"
          | "Procedure"
          | "Provenance"
          | "Questionnaire"
          | "QuestionnaireResponse"
          | "RelatedPerson"
          | "RequestGroup"
          | "ResearchDefinition"
          | "ResearchElementDefinition"
          | "ResearchStudy"
          | "ResearchSubject"
          | "RiskAssessment"
          | "RiskEvidenceSynthesis"
          | "Schedule"
          | "ServiceRequest"
          | "Slot"
          | "Specimen"
          | "SpecimenDefinition"
          | "StructureDefinition"
          | "StructureMap"
          | "Subscription"
          | "Substance"
          | "SubstanceNucleicAcid"
          | "SubstancePolymer"
          | "SubstanceProtein"
          | "SubstanceReferenceInformation"
          | "SubstanceSourceMaterial"
          | "SubstanceSpecification"
          | "SupplyDelivery"
          | "SupplyRequest"
          | "Task"
          | "TerminologyCapabilities"
          | "TestReport"
          | "TestScript"
          | "ValueSet"
          | "VerificationResult"
          | "VisionPrescription"
          | "AccessPolicyV2"
          | "AccessPolicy"
          | "ClientApplication"
          | "IdentityProvider"
          | "Membership"
          | "MessageBroker"
          | "MessageTopic"
          | "AdministrableProductDefinition"
          | "Citation"
          | "ClinicalUseDefinition"
          | "EvidenceReport"
          | "Ingredient"
          | "ManufacturedItemDefinition"
          | "MedicinalProductDefinition"
          | "NutritionProduct"
          | "PackagedProductDefinition"
          | "RegulatedAuthorization"
          | "SubscriptionStatus"
          | "SubscriptionTopic"
          | "SubstanceDefinition"

    Parameters

    Returns Promise<void>

  • Type Parameters

    • FHIRVersion extends "4.0" | "4.3"
    • T extends
          | "SearchParameter"
          | "Account"
          | "ActivityDefinition"
          | "AdverseEvent"
          | "AllergyIntolerance"
          | "Appointment"
          | "AppointmentResponse"
          | "AuditEvent"
          | "Basic"
          | "Binary"
          | "BiologicallyDerivedProduct"
          | "BodyStructure"
          | "Bundle"
          | "CapabilityStatement"
          | "CarePlan"
          | "CareTeam"
          | "CatalogEntry"
          | "ChargeItem"
          | "ChargeItemDefinition"
          | "Claim"
          | "ClaimResponse"
          | "ClinicalImpression"
          | "CodeSystem"
          | "Communication"
          | "CommunicationRequest"
          | "CompartmentDefinition"
          | "Composition"
          | "ConceptMap"
          | "Condition"
          | "Consent"
          | "Contract"
          | "Coverage"
          | "CoverageEligibilityRequest"
          | "CoverageEligibilityResponse"
          | "DetectedIssue"
          | "Device"
          | "DeviceDefinition"
          | "DeviceMetric"
          | "DeviceRequest"
          | "DeviceUseStatement"
          | "DiagnosticReport"
          | "DocumentManifest"
          | "DocumentReference"
          | "EffectEvidenceSynthesis"
          | "Encounter"
          | "Endpoint"
          | "EnrollmentRequest"
          | "EnrollmentResponse"
          | "EpisodeOfCare"
          | "EventDefinition"
          | "Evidence"
          | "EvidenceVariable"
          | "ExampleScenario"
          | "ExplanationOfBenefit"
          | "FamilyMemberHistory"
          | "Flag"
          | "Goal"
          | "GraphDefinition"
          | "Group"
          | "GuidanceResponse"
          | "HealthcareService"
          | "ImagingStudy"
          | "Immunization"
          | "ImmunizationEvaluation"
          | "ImmunizationRecommendation"
          | "ImplementationGuide"
          | "InsurancePlan"
          | "Invoice"
          | "Library"
          | "Linkage"
          | "List"
          | "Location"
          | "Measure"
          | "MeasureReport"
          | "Media"
          | "Medication"
          | "MedicationAdministration"
          | "MedicationDispense"
          | "MedicationKnowledge"
          | "MedicationRequest"
          | "MedicationStatement"
          | "MedicinalProduct"
          | "MedicinalProductAuthorization"
          | "MedicinalProductContraindication"
          | "MedicinalProductIndication"
          | "MedicinalProductIngredient"
          | "MedicinalProductInteraction"
          | "MedicinalProductManufactured"
          | "MedicinalProductPackaged"
          | "MedicinalProductPharmaceutical"
          | "MedicinalProductUndesirableEffect"
          | "MessageDefinition"
          | "MessageHeader"
          | "MolecularSequence"
          | "NamingSystem"
          | "NutritionOrder"
          | "Observation"
          | "ObservationDefinition"
          | "OperationDefinition"
          | "OperationOutcome"
          | "Organization"
          | "OrganizationAffiliation"
          | "Parameters"
          | "Patient"
          | "PaymentNotice"
          | "PaymentReconciliation"
          | "Person"
          | "PlanDefinition"
          | "Practitioner"
          | "PractitionerRole"
          | "Procedure"
          | "Provenance"
          | "Questionnaire"
          | "QuestionnaireResponse"
          | "RelatedPerson"
          | "RequestGroup"
          | "ResearchDefinition"
          | "ResearchElementDefinition"
          | "ResearchStudy"
          | "ResearchSubject"
          | "RiskAssessment"
          | "RiskEvidenceSynthesis"
          | "Schedule"
          | "ServiceRequest"
          | "Slot"
          | "Specimen"
          | "SpecimenDefinition"
          | "StructureDefinition"
          | "StructureMap"
          | "Subscription"
          | "Substance"
          | "SubstanceNucleicAcid"
          | "SubstancePolymer"
          | "SubstanceProtein"
          | "SubstanceReferenceInformation"
          | "SubstanceSourceMaterial"
          | "SubstanceSpecification"
          | "SupplyDelivery"
          | "SupplyRequest"
          | "Task"
          | "TerminologyCapabilities"
          | "TestReport"
          | "TestScript"
          | "ValueSet"
          | "VerificationResult"
          | "VisionPrescription"
          | "AccessPolicyV2"
          | "AccessPolicy"
          | "ClientApplication"
          | "IdentityProvider"
          | "Membership"
          | "MessageBroker"
          | "MessageTopic"
          | "AdministrableProductDefinition"
          | "Citation"
          | "ClinicalUseDefinition"
          | "EvidenceReport"
          | "Ingredient"
          | "ManufacturedItemDefinition"
          | "MedicinalProductDefinition"
          | "NutritionProduct"
          | "PackagedProductDefinition"
          | "RegulatedAuthorization"
          | "SubscriptionStatus"
          | "SubscriptionTopic"
          | "SubstanceDefinition"

    Parameters

    Returns Promise<void>

  • Type Parameters

    • FHIRVersion extends "4.0" | "4.3"
    • T extends
          | "SearchParameter"
          | "Account"
          | "ActivityDefinition"
          | "AdverseEvent"
          | "AllergyIntolerance"
          | "Appointment"
          | "AppointmentResponse"
          | "AuditEvent"
          | "Basic"
          | "Binary"
          | "BiologicallyDerivedProduct"
          | "BodyStructure"
          | "Bundle"
          | "CapabilityStatement"
          | "CarePlan"
          | "CareTeam"
          | "CatalogEntry"
          | "ChargeItem"
          | "ChargeItemDefinition"
          | "Claim"
          | "ClaimResponse"
          | "ClinicalImpression"
          | "CodeSystem"
          | "Communication"
          | "CommunicationRequest"
          | "CompartmentDefinition"
          | "Composition"
          | "ConceptMap"
          | "Condition"
          | "Consent"
          | "Contract"
          | "Coverage"
          | "CoverageEligibilityRequest"
          | "CoverageEligibilityResponse"
          | "DetectedIssue"
          | "Device"
          | "DeviceDefinition"
          | "DeviceMetric"
          | "DeviceRequest"
          | "DeviceUseStatement"
          | "DiagnosticReport"
          | "DocumentManifest"
          | "DocumentReference"
          | "EffectEvidenceSynthesis"
          | "Encounter"
          | "Endpoint"
          | "EnrollmentRequest"
          | "EnrollmentResponse"
          | "EpisodeOfCare"
          | "EventDefinition"
          | "Evidence"
          | "EvidenceVariable"
          | "ExampleScenario"
          | "ExplanationOfBenefit"
          | "FamilyMemberHistory"
          | "Flag"
          | "Goal"
          | "GraphDefinition"
          | "Group"
          | "GuidanceResponse"
          | "HealthcareService"
          | "ImagingStudy"
          | "Immunization"
          | "ImmunizationEvaluation"
          | "ImmunizationRecommendation"
          | "ImplementationGuide"
          | "InsurancePlan"
          | "Invoice"
          | "Library"
          | "Linkage"
          | "List"
          | "Location"
          | "Measure"
          | "MeasureReport"
          | "Media"
          | "Medication"
          | "MedicationAdministration"
          | "MedicationDispense"
          | "MedicationKnowledge"
          | "MedicationRequest"
          | "MedicationStatement"
          | "MedicinalProduct"
          | "MedicinalProductAuthorization"
          | "MedicinalProductContraindication"
          | "MedicinalProductIndication"
          | "MedicinalProductIngredient"
          | "MedicinalProductInteraction"
          | "MedicinalProductManufactured"
          | "MedicinalProductPackaged"
          | "MedicinalProductPharmaceutical"
          | "MedicinalProductUndesirableEffect"
          | "MessageDefinition"
          | "MessageHeader"
          | "MolecularSequence"
          | "NamingSystem"
          | "NutritionOrder"
          | "Observation"
          | "ObservationDefinition"
          | "OperationDefinition"
          | "OperationOutcome"
          | "Organization"
          | "OrganizationAffiliation"
          | "Parameters"
          | "Patient"
          | "PaymentNotice"
          | "PaymentReconciliation"
          | "Person"
          | "PlanDefinition"
          | "Practitioner"
          | "PractitionerRole"
          | "Procedure"
          | "Provenance"
          | "Questionnaire"
          | "QuestionnaireResponse"
          | "RelatedPerson"
          | "RequestGroup"
          | "ResearchDefinition"
          | "ResearchElementDefinition"
          | "ResearchStudy"
          | "ResearchSubject"
          | "RiskAssessment"
          | "RiskEvidenceSynthesis"
          | "Schedule"
          | "ServiceRequest"
          | "Slot"
          | "Specimen"
          | "SpecimenDefinition"
          | "StructureDefinition"
          | "StructureMap"
          | "Subscription"
          | "Substance"
          | "SubstanceNucleicAcid"
          | "SubstancePolymer"
          | "SubstanceProtein"
          | "SubstanceReferenceInformation"
          | "SubstanceSourceMaterial"
          | "SubstanceSpecification"
          | "SupplyDelivery"
          | "SupplyRequest"
          | "Task"
          | "TerminologyCapabilities"
          | "TestReport"
          | "TestScript"
          | "ValueSet"
          | "VerificationResult"
          | "VisionPrescription"
          | "AccessPolicyV2"
          | "AccessPolicy"
          | "ClientApplication"
          | "IdentityProvider"
          | "Membership"
          | "MessageBroker"
          | "MessageTopic"
          | "AdministrableProductDefinition"
          | "Citation"
          | "ClinicalUseDefinition"
          | "EvidenceReport"
          | "Ingredient"
          | "ManufacturedItemDefinition"
          | "MedicinalProductDefinition"
          | "NutritionProduct"
          | "PackagedProductDefinition"
          | "RegulatedAuthorization"
          | "SubscriptionStatus"
          | "SubscriptionTopic"
          | "SubstanceDefinition"

    Parameters

    Returns Promise<NonNullable<Resource<FHIRVersion, "Bundle">["entry"]>>

  • Type Parameters

    • FHIRVersion extends "4.0" | "4.3"
    • T extends
          | "SearchParameter"
          | "Account"
          | "ActivityDefinition"
          | "AdverseEvent"
          | "AllergyIntolerance"
          | "Appointment"
          | "AppointmentResponse"
          | "AuditEvent"
          | "Basic"
          | "Binary"
          | "BiologicallyDerivedProduct"
          | "BodyStructure"
          | "Bundle"
          | "CapabilityStatement"
          | "CarePlan"
          | "CareTeam"
          | "CatalogEntry"
          | "ChargeItem"
          | "ChargeItemDefinition"
          | "Claim"
          | "ClaimResponse"
          | "ClinicalImpression"
          | "CodeSystem"
          | "Communication"
          | "CommunicationRequest"
          | "CompartmentDefinition"
          | "Composition"
          | "ConceptMap"
          | "Condition"
          | "Consent"
          | "Contract"
          | "Coverage"
          | "CoverageEligibilityRequest"
          | "CoverageEligibilityResponse"
          | "DetectedIssue"
          | "Device"
          | "DeviceDefinition"
          | "DeviceMetric"
          | "DeviceRequest"
          | "DeviceUseStatement"
          | "DiagnosticReport"
          | "DocumentManifest"
          | "DocumentReference"
          | "EffectEvidenceSynthesis"
          | "Encounter"
          | "Endpoint"
          | "EnrollmentRequest"
          | "EnrollmentResponse"
          | "EpisodeOfCare"
          | "EventDefinition"
          | "Evidence"
          | "EvidenceVariable"
          | "ExampleScenario"
          | "ExplanationOfBenefit"
          | "FamilyMemberHistory"
          | "Flag"
          | "Goal"
          | "GraphDefinition"
          | "Group"
          | "GuidanceResponse"
          | "HealthcareService"
          | "ImagingStudy"
          | "Immunization"
          | "ImmunizationEvaluation"
          | "ImmunizationRecommendation"
          | "ImplementationGuide"
          | "InsurancePlan"
          | "Invoice"
          | "Library"
          | "Linkage"
          | "List"
          | "Location"
          | "Measure"
          | "MeasureReport"
          | "Media"
          | "Medication"
          | "MedicationAdministration"
          | "MedicationDispense"
          | "MedicationKnowledge"
          | "MedicationRequest"
          | "MedicationStatement"
          | "MedicinalProduct"
          | "MedicinalProductAuthorization"
          | "MedicinalProductContraindication"
          | "MedicinalProductIndication"
          | "MedicinalProductIngredient"
          | "MedicinalProductInteraction"
          | "MedicinalProductManufactured"
          | "MedicinalProductPackaged"
          | "MedicinalProductPharmaceutical"
          | "MedicinalProductUndesirableEffect"
          | "MessageDefinition"
          | "MessageHeader"
          | "MolecularSequence"
          | "NamingSystem"
          | "NutritionOrder"
          | "Observation"
          | "ObservationDefinition"
          | "OperationDefinition"
          | "OperationOutcome"
          | "Organization"
          | "OrganizationAffiliation"
          | "Parameters"
          | "Patient"
          | "PaymentNotice"
          | "PaymentReconciliation"
          | "Person"
          | "PlanDefinition"
          | "Practitioner"
          | "PractitionerRole"
          | "Procedure"
          | "Provenance"
          | "Questionnaire"
          | "QuestionnaireResponse"
          | "RelatedPerson"
          | "RequestGroup"
          | "ResearchDefinition"
          | "ResearchElementDefinition"
          | "ResearchStudy"
          | "ResearchSubject"
          | "RiskAssessment"
          | "RiskEvidenceSynthesis"
          | "Schedule"
          | "ServiceRequest"
          | "Slot"
          | "Specimen"
          | "SpecimenDefinition"
          | "StructureDefinition"
          | "StructureMap"
          | "Subscription"
          | "Substance"
          | "SubstanceNucleicAcid"
          | "SubstancePolymer"
          | "SubstanceProtein"
          | "SubstanceReferenceInformation"
          | "SubstanceSourceMaterial"
          | "SubstanceSpecification"
          | "SupplyDelivery"
          | "SupplyRequest"
          | "Task"
          | "TerminologyCapabilities"
          | "TestReport"
          | "TestScript"
          | "ValueSet"
          | "VerificationResult"
          | "VisionPrescription"
          | "AccessPolicyV2"
          | "AccessPolicy"
          | "ClientApplication"
          | "IdentityProvider"
          | "Membership"
          | "MessageBroker"
          | "MessageTopic"
          | "AdministrableProductDefinition"
          | "Citation"
          | "ClinicalUseDefinition"
          | "EvidenceReport"
          | "Ingredient"
          | "ManufacturedItemDefinition"
          | "MedicinalProductDefinition"
          | "NutritionProduct"
          | "PackagedProductDefinition"
          | "RegulatedAuthorization"
          | "SubscriptionStatus"
          | "SubscriptionTopic"
          | "SubstanceDefinition"

    Parameters

    Returns Promise<NonNullable<Resource<FHIRVersion, "Bundle">["entry"]>>

  • Type Parameters

    • FHIRVersion extends "4.0" | "4.3"
    • Op extends code | IOperation<any, any>
    • Input extends any
    • Output extends any
    • T extends
          | "SearchParameter"
          | "Account"
          | "ActivityDefinition"
          | "AdverseEvent"
          | "AllergyIntolerance"
          | "Appointment"
          | "AppointmentResponse"
          | "AuditEvent"
          | "Basic"
          | "Binary"
          | "BiologicallyDerivedProduct"
          | "BodyStructure"
          | "Bundle"
          | "CapabilityStatement"
          | "CarePlan"
          | "CareTeam"
          | "CatalogEntry"
          | "ChargeItem"
          | "ChargeItemDefinition"
          | "Claim"
          | "ClaimResponse"
          | "ClinicalImpression"
          | "CodeSystem"
          | "Communication"
          | "CommunicationRequest"
          | "CompartmentDefinition"
          | "Composition"
          | "ConceptMap"
          | "Condition"
          | "Consent"
          | "Contract"
          | "Coverage"
          | "CoverageEligibilityRequest"
          | "CoverageEligibilityResponse"
          | "DetectedIssue"
          | "Device"
          | "DeviceDefinition"
          | "DeviceMetric"
          | "DeviceRequest"
          | "DeviceUseStatement"
          | "DiagnosticReport"
          | "DocumentManifest"
          | "DocumentReference"
          | "EffectEvidenceSynthesis"
          | "Encounter"
          | "Endpoint"
          | "EnrollmentRequest"
          | "EnrollmentResponse"
          | "EpisodeOfCare"
          | "EventDefinition"
          | "Evidence"
          | "EvidenceVariable"
          | "ExampleScenario"
          | "ExplanationOfBenefit"
          | "FamilyMemberHistory"
          | "Flag"
          | "Goal"
          | "GraphDefinition"
          | "Group"
          | "GuidanceResponse"
          | "HealthcareService"
          | "ImagingStudy"
          | "Immunization"
          | "ImmunizationEvaluation"
          | "ImmunizationRecommendation"
          | "ImplementationGuide"
          | "InsurancePlan"
          | "Invoice"
          | "Library"
          | "Linkage"
          | "List"
          | "Location"
          | "Measure"
          | "MeasureReport"
          | "Media"
          | "Medication"
          | "MedicationAdministration"
          | "MedicationDispense"
          | "MedicationKnowledge"
          | "MedicationRequest"
          | "MedicationStatement"
          | "MedicinalProduct"
          | "MedicinalProductAuthorization"
          | "MedicinalProductContraindication"
          | "MedicinalProductIndication"
          | "MedicinalProductIngredient"
          | "MedicinalProductInteraction"
          | "MedicinalProductManufactured"
          | "MedicinalProductPackaged"
          | "MedicinalProductPharmaceutical"
          | "MedicinalProductUndesirableEffect"
          | "MessageDefinition"
          | "MessageHeader"
          | "MolecularSequence"
          | "NamingSystem"
          | "NutritionOrder"
          | "Observation"
          | "ObservationDefinition"
          | "OperationDefinition"
          | "OperationOutcome"
          | "Organization"
          | "OrganizationAffiliation"
          | "Parameters"
          | "Patient"
          | "PaymentNotice"
          | "PaymentReconciliation"
          | "Person"
          | "PlanDefinition"
          | "Practitioner"
          | "PractitionerRole"
          | "Procedure"
          | "Provenance"
          | "Questionnaire"
          | "QuestionnaireResponse"
          | "RelatedPerson"
          | "RequestGroup"
          | "ResearchDefinition"
          | "ResearchElementDefinition"
          | "ResearchStudy"
          | "ResearchSubject"
          | "RiskAssessment"
          | "RiskEvidenceSynthesis"
          | "Schedule"
          | "ServiceRequest"
          | "Slot"
          | "Specimen"
          | "SpecimenDefinition"
          | "StructureDefinition"
          | "StructureMap"
          | "Subscription"
          | "Substance"
          | "SubstanceNucleicAcid"
          | "SubstancePolymer"
          | "SubstanceProtein"
          | "SubstanceReferenceInformation"
          | "SubstanceSourceMaterial"
          | "SubstanceSpecification"
          | "SupplyDelivery"
          | "SupplyRequest"
          | "Task"
          | "TerminologyCapabilities"
          | "TestReport"
          | "TestScript"
          | "ValueSet"
          | "VerificationResult"
          | "VisionPrescription"
          | "AccessPolicyV2"
          | "AccessPolicy"
          | "ClientApplication"
          | "IdentityProvider"
          | "Membership"
          | "MessageBroker"
          | "MessageTopic"
          | "AdministrableProductDefinition"
          | "Citation"
          | "ClinicalUseDefinition"
          | "EvidenceReport"
          | "Ingredient"
          | "ManufacturedItemDefinition"
          | "MedicinalProductDefinition"
          | "NutritionProduct"
          | "PackagedProductDefinition"
          | "RegulatedAuthorization"
          | "SubscriptionStatus"
          | "SubscriptionTopic"
          | "SubstanceDefinition"

    Parameters

    Returns Promise<Output>

  • Type Parameters

    • FHIRVersion extends "4.0" | "4.3"
    • Op extends code | IOperation<any, any>
    • Input extends any
    • Output extends any
    • T extends
          | "SearchParameter"
          | "Account"
          | "ActivityDefinition"
          | "AdverseEvent"
          | "AllergyIntolerance"
          | "Appointment"
          | "AppointmentResponse"
          | "AuditEvent"
          | "Basic"
          | "Binary"
          | "BiologicallyDerivedProduct"
          | "BodyStructure"
          | "Bundle"
          | "CapabilityStatement"
          | "CarePlan"
          | "CareTeam"
          | "CatalogEntry"
          | "ChargeItem"
          | "ChargeItemDefinition"
          | "Claim"
          | "ClaimResponse"
          | "ClinicalImpression"
          | "CodeSystem"
          | "Communication"
          | "CommunicationRequest"
          | "CompartmentDefinition"
          | "Composition"
          | "ConceptMap"
          | "Condition"
          | "Consent"
          | "Contract"
          | "Coverage"
          | "CoverageEligibilityRequest"
          | "CoverageEligibilityResponse"
          | "DetectedIssue"
          | "Device"
          | "DeviceDefinition"
          | "DeviceMetric"
          | "DeviceRequest"
          | "DeviceUseStatement"
          | "DiagnosticReport"
          | "DocumentManifest"
          | "DocumentReference"
          | "EffectEvidenceSynthesis"
          | "Encounter"
          | "Endpoint"
          | "EnrollmentRequest"
          | "EnrollmentResponse"
          | "EpisodeOfCare"
          | "EventDefinition"
          | "Evidence"
          | "EvidenceVariable"
          | "ExampleScenario"
          | "ExplanationOfBenefit"
          | "FamilyMemberHistory"
          | "Flag"
          | "Goal"
          | "GraphDefinition"
          | "Group"
          | "GuidanceResponse"
          | "HealthcareService"
          | "ImagingStudy"
          | "Immunization"
          | "ImmunizationEvaluation"
          | "ImmunizationRecommendation"
          | "ImplementationGuide"
          | "InsurancePlan"
          | "Invoice"
          | "Library"
          | "Linkage"
          | "List"
          | "Location"
          | "Measure"
          | "MeasureReport"
          | "Media"
          | "Medication"
          | "MedicationAdministration"
          | "MedicationDispense"
          | "MedicationKnowledge"
          | "MedicationRequest"
          | "MedicationStatement"
          | "MedicinalProduct"
          | "MedicinalProductAuthorization"
          | "MedicinalProductContraindication"
          | "MedicinalProductIndication"
          | "MedicinalProductIngredient"
          | "MedicinalProductInteraction"
          | "MedicinalProductManufactured"
          | "MedicinalProductPackaged"
          | "MedicinalProductPharmaceutical"
          | "MedicinalProductUndesirableEffect"
          | "MessageDefinition"
          | "MessageHeader"
          | "MolecularSequence"
          | "NamingSystem"
          | "NutritionOrder"
          | "Observation"
          | "ObservationDefinition"
          | "OperationDefinition"
          | "OperationOutcome"
          | "Organization"
          | "OrganizationAffiliation"
          | "Parameters"
          | "Patient"
          | "PaymentNotice"
          | "PaymentReconciliation"
          | "Person"
          | "PlanDefinition"
          | "Practitioner"
          | "PractitionerRole"
          | "Procedure"
          | "Provenance"
          | "Questionnaire"
          | "QuestionnaireResponse"
          | "RelatedPerson"
          | "RequestGroup"
          | "ResearchDefinition"
          | "ResearchElementDefinition"
          | "ResearchStudy"
          | "ResearchSubject"
          | "RiskAssessment"
          | "RiskEvidenceSynthesis"
          | "Schedule"
          | "ServiceRequest"
          | "Slot"
          | "Specimen"
          | "SpecimenDefinition"
          | "StructureDefinition"
          | "StructureMap"
          | "Subscription"
          | "Substance"
          | "SubstanceNucleicAcid"
          | "SubstancePolymer"
          | "SubstanceProtein"
          | "SubstanceReferenceInformation"
          | "SubstanceSourceMaterial"
          | "SubstanceSpecification"
          | "SupplyDelivery"
          | "SupplyRequest"
          | "Task"
          | "TerminologyCapabilities"
          | "TestReport"
          | "TestScript"
          | "ValueSet"
          | "VerificationResult"
          | "VisionPrescription"
          | "AccessPolicyV2"
          | "AccessPolicy"
          | "ClientApplication"
          | "IdentityProvider"
          | "Membership"
          | "MessageBroker"
          | "MessageTopic"
          | "AdministrableProductDefinition"
          | "Citation"
          | "ClinicalUseDefinition"
          | "EvidenceReport"
          | "Ingredient"
          | "ManufacturedItemDefinition"
          | "MedicinalProductDefinition"
          | "NutritionProduct"
          | "PackagedProductDefinition"
          | "RegulatedAuthorization"
          | "SubscriptionStatus"
          | "SubscriptionTopic"
          | "SubstanceDefinition"

    Parameters

    Returns Promise<Output>

  • Type Parameters

    • FHIRVersion extends "4.0" | "4.3"
    • T extends
          | "SearchParameter"
          | "Account"
          | "ActivityDefinition"
          | "AdverseEvent"
          | "AllergyIntolerance"
          | "Appointment"
          | "AppointmentResponse"
          | "AuditEvent"
          | "Basic"
          | "Binary"
          | "BiologicallyDerivedProduct"
          | "BodyStructure"
          | "Bundle"
          | "CapabilityStatement"
          | "CarePlan"
          | "CareTeam"
          | "CatalogEntry"
          | "ChargeItem"
          | "ChargeItemDefinition"
          | "Claim"
          | "ClaimResponse"
          | "ClinicalImpression"
          | "CodeSystem"
          | "Communication"
          | "CommunicationRequest"
          | "CompartmentDefinition"
          | "Composition"
          | "ConceptMap"
          | "Condition"
          | "Consent"
          | "Contract"
          | "Coverage"
          | "CoverageEligibilityRequest"
          | "CoverageEligibilityResponse"
          | "DetectedIssue"
          | "Device"
          | "DeviceDefinition"
          | "DeviceMetric"
          | "DeviceRequest"
          | "DeviceUseStatement"
          | "DiagnosticReport"
          | "DocumentManifest"
          | "DocumentReference"
          | "EffectEvidenceSynthesis"
          | "Encounter"
          | "Endpoint"
          | "EnrollmentRequest"
          | "EnrollmentResponse"
          | "EpisodeOfCare"
          | "EventDefinition"
          | "Evidence"
          | "EvidenceVariable"
          | "ExampleScenario"
          | "ExplanationOfBenefit"
          | "FamilyMemberHistory"
          | "Flag"
          | "Goal"
          | "GraphDefinition"
          | "Group"
          | "GuidanceResponse"
          | "HealthcareService"
          | "ImagingStudy"
          | "Immunization"
          | "ImmunizationEvaluation"
          | "ImmunizationRecommendation"
          | "ImplementationGuide"
          | "InsurancePlan"
          | "Invoice"
          | "Library"
          | "Linkage"
          | "List"
          | "Location"
          | "Measure"
          | "MeasureReport"
          | "Media"
          | "Medication"
          | "MedicationAdministration"
          | "MedicationDispense"
          | "MedicationKnowledge"
          | "MedicationRequest"
          | "MedicationStatement"
          | "MedicinalProduct"
          | "MedicinalProductAuthorization"
          | "MedicinalProductContraindication"
          | "MedicinalProductIndication"
          | "MedicinalProductIngredient"
          | "MedicinalProductInteraction"
          | "MedicinalProductManufactured"
          | "MedicinalProductPackaged"
          | "MedicinalProductPharmaceutical"
          | "MedicinalProductUndesirableEffect"
          | "MessageDefinition"
          | "MessageHeader"
          | "MolecularSequence"
          | "NamingSystem"
          | "NutritionOrder"
          | "Observation"
          | "ObservationDefinition"
          | "OperationDefinition"
          | "OperationOutcome"
          | "Organization"
          | "OrganizationAffiliation"
          | "Parameters"
          | "Patient"
          | "PaymentNotice"
          | "PaymentReconciliation"
          | "Person"
          | "PlanDefinition"
          | "Practitioner"
          | "PractitionerRole"
          | "Procedure"
          | "Provenance"
          | "Questionnaire"
          | "QuestionnaireResponse"
          | "RelatedPerson"
          | "RequestGroup"
          | "ResearchDefinition"
          | "ResearchElementDefinition"
          | "ResearchStudy"
          | "ResearchSubject"
          | "RiskAssessment"
          | "RiskEvidenceSynthesis"
          | "Schedule"
          | "ServiceRequest"
          | "Slot"
          | "Specimen"
          | "SpecimenDefinition"
          | "StructureDefinition"
          | "StructureMap"
          | "Subscription"
          | "Substance"
          | "SubstanceNucleicAcid"
          | "SubstancePolymer"
          | "SubstanceProtein"
          | "SubstanceReferenceInformation"
          | "SubstanceSourceMaterial"
          | "SubstanceSpecification"
          | "SupplyDelivery"
          | "SupplyRequest"
          | "Task"
          | "TerminologyCapabilities"
          | "TestReport"
          | "TestScript"
          | "ValueSet"
          | "VerificationResult"
          | "VisionPrescription"
          | "AccessPolicyV2"
          | "AccessPolicy"
          | "ClientApplication"
          | "IdentityProvider"
          | "Membership"
          | "MessageBroker"
          | "MessageTopic"
          | "AdministrableProductDefinition"
          | "Citation"
          | "ClinicalUseDefinition"
          | "EvidenceReport"
          | "Ingredient"
          | "ManufacturedItemDefinition"
          | "MedicinalProductDefinition"
          | "NutritionProduct"
          | "PackagedProductDefinition"
          | "RegulatedAuthorization"
          | "SubscriptionStatus"
          | "SubscriptionTopic"
          | "SubstanceDefinition"

    Parameters

    Returns Promise<Resource<FHIRVersion, T>>

  • Type Parameters

    • FHIRVersion extends "4.0" | "4.3"
    • T extends
          | "SearchParameter"
          | "Account"
          | "ActivityDefinition"
          | "AdverseEvent"
          | "AllergyIntolerance"
          | "Appointment"
          | "AppointmentResponse"
          | "AuditEvent"
          | "Basic"
          | "Binary"
          | "BiologicallyDerivedProduct"
          | "BodyStructure"
          | "Bundle"
          | "CapabilityStatement"
          | "CarePlan"
          | "CareTeam"
          | "CatalogEntry"
          | "ChargeItem"
          | "ChargeItemDefinition"
          | "Claim"
          | "ClaimResponse"
          | "ClinicalImpression"
          | "CodeSystem"
          | "Communication"
          | "CommunicationRequest"
          | "CompartmentDefinition"
          | "Composition"
          | "ConceptMap"
          | "Condition"
          | "Consent"
          | "Contract"
          | "Coverage"
          | "CoverageEligibilityRequest"
          | "CoverageEligibilityResponse"
          | "DetectedIssue"
          | "Device"
          | "DeviceDefinition"
          | "DeviceMetric"
          | "DeviceRequest"
          | "DeviceUseStatement"
          | "DiagnosticReport"
          | "DocumentManifest"
          | "DocumentReference"
          | "EffectEvidenceSynthesis"
          | "Encounter"
          | "Endpoint"
          | "EnrollmentRequest"
          | "EnrollmentResponse"
          | "EpisodeOfCare"
          | "EventDefinition"
          | "Evidence"
          | "EvidenceVariable"
          | "ExampleScenario"
          | "ExplanationOfBenefit"
          | "FamilyMemberHistory"
          | "Flag"
          | "Goal"
          | "GraphDefinition"
          | "Group"
          | "GuidanceResponse"
          | "HealthcareService"
          | "ImagingStudy"
          | "Immunization"
          | "ImmunizationEvaluation"
          | "ImmunizationRecommendation"
          | "ImplementationGuide"
          | "InsurancePlan"
          | "Invoice"
          | "Library"
          | "Linkage"
          | "List"
          | "Location"
          | "Measure"
          | "MeasureReport"
          | "Media"
          | "Medication"
          | "MedicationAdministration"
          | "MedicationDispense"
          | "MedicationKnowledge"
          | "MedicationRequest"
          | "MedicationStatement"
          | "MedicinalProduct"
          | "MedicinalProductAuthorization"
          | "MedicinalProductContraindication"
          | "MedicinalProductIndication"
          | "MedicinalProductIngredient"
          | "MedicinalProductInteraction"
          | "MedicinalProductManufactured"
          | "MedicinalProductPackaged"
          | "MedicinalProductPharmaceutical"
          | "MedicinalProductUndesirableEffect"
          | "MessageDefinition"
          | "MessageHeader"
          | "MolecularSequence"
          | "NamingSystem"
          | "NutritionOrder"
          | "Observation"
          | "ObservationDefinition"
          | "OperationDefinition"
          | "OperationOutcome"
          | "Organization"
          | "OrganizationAffiliation"
          | "Parameters"
          | "Patient"
          | "PaymentNotice"
          | "PaymentReconciliation"
          | "Person"
          | "PlanDefinition"
          | "Practitioner"
          | "PractitionerRole"
          | "Procedure"
          | "Provenance"
          | "Questionnaire"
          | "QuestionnaireResponse"
          | "RelatedPerson"
          | "RequestGroup"
          | "ResearchDefinition"
          | "ResearchElementDefinition"
          | "ResearchStudy"
          | "ResearchSubject"
          | "RiskAssessment"
          | "RiskEvidenceSynthesis"
          | "Schedule"
          | "ServiceRequest"
          | "Slot"
          | "Specimen"
          | "SpecimenDefinition"
          | "StructureDefinition"
          | "StructureMap"
          | "Subscription"
          | "Substance"
          | "SubstanceNucleicAcid"
          | "SubstancePolymer"
          | "SubstanceProtein"
          | "SubstanceReferenceInformation"
          | "SubstanceSourceMaterial"
          | "SubstanceSpecification"
          | "SupplyDelivery"
          | "SupplyRequest"
          | "Task"
          | "TerminologyCapabilities"
          | "TestReport"
          | "TestScript"
          | "ValueSet"
          | "VerificationResult"
          | "VisionPrescription"
          | "AccessPolicyV2"
          | "AccessPolicy"
          | "ClientApplication"
          | "IdentityProvider"
          | "Membership"
          | "MessageBroker"
          | "MessageTopic"
          | "AdministrableProductDefinition"
          | "Citation"
          | "ClinicalUseDefinition"
          | "EvidenceReport"
          | "Ingredient"
          | "ManufacturedItemDefinition"
          | "MedicinalProductDefinition"
          | "NutritionProduct"
          | "PackagedProductDefinition"
          | "RegulatedAuthorization"
          | "SubscriptionStatus"
          | "SubscriptionTopic"
          | "SubstanceDefinition"

    Parameters

    Returns Promise<undefined | Resource<FHIRVersion, T>>

  • Type Parameters

    • FHIRVersion extends "4.0" | "4.3"
    • T extends
          | "SearchParameter"
          | "Account"
          | "ActivityDefinition"
          | "AdverseEvent"
          | "AllergyIntolerance"
          | "Appointment"
          | "AppointmentResponse"
          | "AuditEvent"
          | "Basic"
          | "Binary"
          | "BiologicallyDerivedProduct"
          | "BodyStructure"
          | "Bundle"
          | "CapabilityStatement"
          | "CarePlan"
          | "CareTeam"
          | "CatalogEntry"
          | "ChargeItem"
          | "ChargeItemDefinition"
          | "Claim"
          | "ClaimResponse"
          | "ClinicalImpression"
          | "CodeSystem"
          | "Communication"
          | "CommunicationRequest"
          | "CompartmentDefinition"
          | "Composition"
          | "ConceptMap"
          | "Condition"
          | "Consent"
          | "Contract"
          | "Coverage"
          | "CoverageEligibilityRequest"
          | "CoverageEligibilityResponse"
          | "DetectedIssue"
          | "Device"
          | "DeviceDefinition"
          | "DeviceMetric"
          | "DeviceRequest"
          | "DeviceUseStatement"
          | "DiagnosticReport"
          | "DocumentManifest"
          | "DocumentReference"
          | "EffectEvidenceSynthesis"
          | "Encounter"
          | "Endpoint"
          | "EnrollmentRequest"
          | "EnrollmentResponse"
          | "EpisodeOfCare"
          | "EventDefinition"
          | "Evidence"
          | "EvidenceVariable"
          | "ExampleScenario"
          | "ExplanationOfBenefit"
          | "FamilyMemberHistory"
          | "Flag"
          | "Goal"
          | "GraphDefinition"
          | "Group"
          | "GuidanceResponse"
          | "HealthcareService"
          | "ImagingStudy"
          | "Immunization"
          | "ImmunizationEvaluation"
          | "ImmunizationRecommendation"
          | "ImplementationGuide"
          | "InsurancePlan"
          | "Invoice"
          | "Library"
          | "Linkage"
          | "List"
          | "Location"
          | "Measure"
          | "MeasureReport"
          | "Media"
          | "Medication"
          | "MedicationAdministration"
          | "MedicationDispense"
          | "MedicationKnowledge"
          | "MedicationRequest"
          | "MedicationStatement"
          | "MedicinalProduct"
          | "MedicinalProductAuthorization"
          | "MedicinalProductContraindication"
          | "MedicinalProductIndication"
          | "MedicinalProductIngredient"
          | "MedicinalProductInteraction"
          | "MedicinalProductManufactured"
          | "MedicinalProductPackaged"
          | "MedicinalProductPharmaceutical"
          | "MedicinalProductUndesirableEffect"
          | "MessageDefinition"
          | "MessageHeader"
          | "MolecularSequence"
          | "NamingSystem"
          | "NutritionOrder"
          | "Observation"
          | "ObservationDefinition"
          | "OperationDefinition"
          | "OperationOutcome"
          | "Organization"
          | "OrganizationAffiliation"
          | "Parameters"
          | "Patient"
          | "PaymentNotice"
          | "PaymentReconciliation"
          | "Person"
          | "PlanDefinition"
          | "Practitioner"
          | "PractitionerRole"
          | "Procedure"
          | "Provenance"
          | "Questionnaire"
          | "QuestionnaireResponse"
          | "RelatedPerson"
          | "RequestGroup"
          | "ResearchDefinition"
          | "ResearchElementDefinition"
          | "ResearchStudy"
          | "ResearchSubject"
          | "RiskAssessment"
          | "RiskEvidenceSynthesis"
          | "Schedule"
          | "ServiceRequest"
          | "Slot"
          | "Specimen"
          | "SpecimenDefinition"
          | "StructureDefinition"
          | "StructureMap"
          | "Subscription"
          | "Substance"
          | "SubstanceNucleicAcid"
          | "SubstancePolymer"
          | "SubstanceProtein"
          | "SubstanceReferenceInformation"
          | "SubstanceSourceMaterial"
          | "SubstanceSpecification"
          | "SupplyDelivery"
          | "SupplyRequest"
          | "Task"
          | "TerminologyCapabilities"
          | "TestReport"
          | "TestScript"
          | "ValueSet"
          | "VerificationResult"
          | "VisionPrescription"
          | "AccessPolicyV2"
          | "AccessPolicy"
          | "ClientApplication"
          | "IdentityProvider"
          | "Membership"
          | "MessageBroker"
          | "MessageTopic"
          | "AdministrableProductDefinition"
          | "Citation"
          | "ClinicalUseDefinition"
          | "EvidenceReport"
          | "Ingredient"
          | "ManufacturedItemDefinition"
          | "MedicinalProductDefinition"
          | "NutritionProduct"
          | "PackagedProductDefinition"
          | "RegulatedAuthorization"
          | "SubscriptionStatus"
          | "SubscriptionTopic"
          | "SubstanceDefinition"

    Parameters

    Returns Promise<{
        resources: Resource<FHIRVersion, T>[];
        total?: number;
    }>

  • Type Parameters

    • FHIRVersion extends "4.0" | "4.3"
    • T extends
          | "SearchParameter"
          | "Account"
          | "ActivityDefinition"
          | "AdverseEvent"
          | "AllergyIntolerance"
          | "Appointment"
          | "AppointmentResponse"
          | "AuditEvent"
          | "Basic"
          | "Binary"
          | "BiologicallyDerivedProduct"
          | "BodyStructure"
          | "Bundle"
          | "CapabilityStatement"
          | "CarePlan"
          | "CareTeam"
          | "CatalogEntry"
          | "ChargeItem"
          | "ChargeItemDefinition"
          | "Claim"
          | "ClaimResponse"
          | "ClinicalImpression"
          | "CodeSystem"
          | "Communication"
          | "CommunicationRequest"
          | "CompartmentDefinition"
          | "Composition"
          | "ConceptMap"
          | "Condition"
          | "Consent"
          | "Contract"
          | "Coverage"
          | "CoverageEligibilityRequest"
          | "CoverageEligibilityResponse"
          | "DetectedIssue"
          | "Device"
          | "DeviceDefinition"
          | "DeviceMetric"
          | "DeviceRequest"
          | "DeviceUseStatement"
          | "DiagnosticReport"
          | "DocumentManifest"
          | "DocumentReference"
          | "EffectEvidenceSynthesis"
          | "Encounter"
          | "Endpoint"
          | "EnrollmentRequest"
          | "EnrollmentResponse"
          | "EpisodeOfCare"
          | "EventDefinition"
          | "Evidence"
          | "EvidenceVariable"
          | "ExampleScenario"
          | "ExplanationOfBenefit"
          | "FamilyMemberHistory"
          | "Flag"
          | "Goal"
          | "GraphDefinition"
          | "Group"
          | "GuidanceResponse"
          | "HealthcareService"
          | "ImagingStudy"
          | "Immunization"
          | "ImmunizationEvaluation"
          | "ImmunizationRecommendation"
          | "ImplementationGuide"
          | "InsurancePlan"
          | "Invoice"
          | "Library"
          | "Linkage"
          | "List"
          | "Location"
          | "Measure"
          | "MeasureReport"
          | "Media"
          | "Medication"
          | "MedicationAdministration"
          | "MedicationDispense"
          | "MedicationKnowledge"
          | "MedicationRequest"
          | "MedicationStatement"
          | "MedicinalProduct"
          | "MedicinalProductAuthorization"
          | "MedicinalProductContraindication"
          | "MedicinalProductIndication"
          | "MedicinalProductIngredient"
          | "MedicinalProductInteraction"
          | "MedicinalProductManufactured"
          | "MedicinalProductPackaged"
          | "MedicinalProductPharmaceutical"
          | "MedicinalProductUndesirableEffect"
          | "MessageDefinition"
          | "MessageHeader"
          | "MolecularSequence"
          | "NamingSystem"
          | "NutritionOrder"
          | "Observation"
          | "ObservationDefinition"
          | "OperationDefinition"
          | "OperationOutcome"
          | "Organization"
          | "OrganizationAffiliation"
          | "Parameters"
          | "Patient"
          | "PaymentNotice"
          | "PaymentReconciliation"
          | "Person"
          | "PlanDefinition"
          | "Practitioner"
          | "PractitionerRole"
          | "Procedure"
          | "Provenance"
          | "Questionnaire"
          | "QuestionnaireResponse"
          | "RelatedPerson"
          | "RequestGroup"
          | "ResearchDefinition"
          | "ResearchElementDefinition"
          | "ResearchStudy"
          | "ResearchSubject"
          | "RiskAssessment"
          | "RiskEvidenceSynthesis"
          | "Schedule"
          | "ServiceRequest"
          | "Slot"
          | "Specimen"
          | "SpecimenDefinition"
          | "StructureDefinition"
          | "StructureMap"
          | "Subscription"
          | "Substance"
          | "SubstanceNucleicAcid"
          | "SubstancePolymer"
          | "SubstanceProtein"
          | "SubstanceReferenceInformation"
          | "SubstanceSourceMaterial"
          | "SubstanceSpecification"
          | "SupplyDelivery"
          | "SupplyRequest"
          | "Task"
          | "TerminologyCapabilities"
          | "TestReport"
          | "TestScript"
          | "ValueSet"
          | "VerificationResult"
          | "VisionPrescription"
          | "AccessPolicyV2"
          | "AccessPolicy"
          | "ClientApplication"
          | "IdentityProvider"
          | "Membership"
          | "MessageBroker"
          | "MessageTopic"
          | "AdministrableProductDefinition"
          | "Citation"
          | "ClinicalUseDefinition"
          | "EvidenceReport"
          | "Ingredient"
          | "ManufacturedItemDefinition"
          | "MedicinalProductDefinition"
          | "NutritionProduct"
          | "PackagedProductDefinition"
          | "RegulatedAuthorization"
          | "SubscriptionStatus"
          | "SubscriptionTopic"
          | "SubstanceDefinition"

    Parameters

    Returns Promise<Resource<FHIRVersion, T>>

  • Type Parameters

    • FHIRVersion extends "4.0" | "4.3"
    • T extends
          | "SearchParameter"
          | "Account"
          | "ActivityDefinition"
          | "AdverseEvent"
          | "AllergyIntolerance"
          | "Appointment"
          | "AppointmentResponse"
          | "AuditEvent"
          | "Basic"
          | "Binary"
          | "BiologicallyDerivedProduct"
          | "BodyStructure"
          | "Bundle"
          | "CapabilityStatement"
          | "CarePlan"
          | "CareTeam"
          | "CatalogEntry"
          | "ChargeItem"
          | "ChargeItemDefinition"
          | "Claim"
          | "ClaimResponse"
          | "ClinicalImpression"
          | "CodeSystem"
          | "Communication"
          | "CommunicationRequest"
          | "CompartmentDefinition"
          | "Composition"
          | "ConceptMap"
          | "Condition"
          | "Consent"
          | "Contract"
          | "Coverage"
          | "CoverageEligibilityRequest"
          | "CoverageEligibilityResponse"
          | "DetectedIssue"
          | "Device"
          | "DeviceDefinition"
          | "DeviceMetric"
          | "DeviceRequest"
          | "DeviceUseStatement"
          | "DiagnosticReport"
          | "DocumentManifest"
          | "DocumentReference"
          | "EffectEvidenceSynthesis"
          | "Encounter"
          | "Endpoint"
          | "EnrollmentRequest"
          | "EnrollmentResponse"
          | "EpisodeOfCare"
          | "EventDefinition"
          | "Evidence"
          | "EvidenceVariable"
          | "ExampleScenario"
          | "ExplanationOfBenefit"
          | "FamilyMemberHistory"
          | "Flag"
          | "Goal"
          | "GraphDefinition"
          | "Group"
          | "GuidanceResponse"
          | "HealthcareService"
          | "ImagingStudy"
          | "Immunization"
          | "ImmunizationEvaluation"
          | "ImmunizationRecommendation"
          | "ImplementationGuide"
          | "InsurancePlan"
          | "Invoice"
          | "Library"
          | "Linkage"
          | "List"
          | "Location"
          | "Measure"
          | "MeasureReport"
          | "Media"
          | "Medication"
          | "MedicationAdministration"
          | "MedicationDispense"
          | "MedicationKnowledge"
          | "MedicationRequest"
          | "MedicationStatement"
          | "MedicinalProduct"
          | "MedicinalProductAuthorization"
          | "MedicinalProductContraindication"
          | "MedicinalProductIndication"
          | "MedicinalProductIngredient"
          | "MedicinalProductInteraction"
          | "MedicinalProductManufactured"
          | "MedicinalProductPackaged"
          | "MedicinalProductPharmaceutical"
          | "MedicinalProductUndesirableEffect"
          | "MessageDefinition"
          | "MessageHeader"
          | "MolecularSequence"
          | "NamingSystem"
          | "NutritionOrder"
          | "Observation"
          | "ObservationDefinition"
          | "OperationDefinition"
          | "OperationOutcome"
          | "Organization"
          | "OrganizationAffiliation"
          | "Parameters"
          | "Patient"
          | "PaymentNotice"
          | "PaymentReconciliation"
          | "Person"
          | "PlanDefinition"
          | "Practitioner"
          | "PractitionerRole"
          | "Procedure"
          | "Provenance"
          | "Questionnaire"
          | "QuestionnaireResponse"
          | "RelatedPerson"
          | "RequestGroup"
          | "ResearchDefinition"
          | "ResearchElementDefinition"
          | "ResearchStudy"
          | "ResearchSubject"
          | "RiskAssessment"
          | "RiskEvidenceSynthesis"
          | "Schedule"
          | "ServiceRequest"
          | "Slot"
          | "Specimen"
          | "SpecimenDefinition"
          | "StructureDefinition"
          | "StructureMap"
          | "Subscription"
          | "Substance"
          | "SubstanceNucleicAcid"
          | "SubstancePolymer"
          | "SubstanceProtein"
          | "SubstanceReferenceInformation"
          | "SubstanceSourceMaterial"
          | "SubstanceSpecification"
          | "SupplyDelivery"
          | "SupplyRequest"
          | "Task"
          | "TerminologyCapabilities"
          | "TestReport"
          | "TestScript"
          | "ValueSet"
          | "VerificationResult"
          | "VisionPrescription"
          | "AccessPolicyV2"
          | "AccessPolicy"
          | "ClientApplication"
          | "IdentityProvider"
          | "Membership"
          | "MessageBroker"
          | "MessageTopic"
          | "AdministrableProductDefinition"
          | "Citation"
          | "ClinicalUseDefinition"
          | "EvidenceReport"
          | "Ingredient"
          | "ManufacturedItemDefinition"
          | "MedicinalProductDefinition"
          | "NutritionProduct"
          | "PackagedProductDefinition"
          | "RegulatedAuthorization"
          | "SubscriptionStatus"
          | "SubscriptionTopic"
          | "SubstanceDefinition"

    Parameters

    Returns Promise<undefined | Resource<FHIRVersion, T>>