• Interface used to search dependencies for .index.json files and load their contents.

    Type Parameters

    • Version extends "4.0" | "4.3"
    • T extends
          | "Bundle"
          | "Account"
          | "ActivityDefinition"
          | "AdverseEvent"
          | "AllergyIntolerance"
          | "Appointment"
          | "AppointmentResponse"
          | "AuditEvent"
          | "Basic"
          | "Binary"
          | "BiologicallyDerivedProduct"
          | "BodyStructure"
          | "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"
          | "SearchParameter"
          | "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

    • options: {
          currentDirectory: string;
          fhirVersion: Version;
          loadDevelopmentPackages?: boolean;
          onlyPackages?: string[];
          resourceType: T;
          silence?: boolean;
      }

      Artifact Load options

      • currentDirectory: string
      • fhirVersion: Version
      • OptionalloadDevelopmentPackages?: boolean
      • OptionalonlyPackages?: string[]
      • resourceType: T
      • Optionalsilence?: boolean

    Returns Resource<Version, T>[]

    A list of resources of type T