Package ca.uhn.fhir.jpa.packages.loader
Class PackageResourceParsingSvc
java.lang.Object
ca.uhn.fhir.jpa.packages.loader.PackageResourceParsingSvc
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionList
<org.hl7.fhir.instance.model.api.IBaseResource> parseResourcesOfType
(String theType, org.hl7.fhir.utilities.npm.NpmPackage thePkg) Parses out resource of theType from provided package
-
Constructor Details
-
PackageResourceParsingSvc
-
-
Method Details
-
parseResourcesOfType
public List<org.hl7.fhir.instance.model.api.IBaseResource> parseResourcesOfType(String theType, org.hl7.fhir.utilities.npm.NpmPackage thePkg) Parses out resource of theType from provided package- Parameters:
theType
- - the resource typethePkg
- - the npm package- Returns:
- - a list of all resources that match type theType in package thePkg
-