Package au.csiro.pathling.fhir
Class FhirUtils
java.lang.Object
au.csiro.pathling.fhir.FhirUtils
A utility class for working with FHIR resources.
- Author:
- John Grimes
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic Enumerations.ResourceTypegetResourceType(String resourceCode) A method for getting a FHIR resource type from a string.
-
Constructor Details
-
FhirUtils
public FhirUtils()
-
-
Method Details
-
getResourceType
A method for getting a FHIR resource type from a string. This method will always throw an error if the string does not match a known resource type.- Parameters:
resourceCode- the string to convert to a resource type- Returns:
- the resource type
-