PlasmaFHIRUtils
This is a set of somewhat random FHIR-related utility functions. If you are using the PlasmaFHIRApi
, then you won't need to use these functions as the API will use them internally for you.
getConformanceStatementURL
Returns the URL of the "metadata" endpoint for a given FHIR server.
getConformanceStatement
Returns the full "Conformance Statement" as a JSON object
getConformanceStatementPatientSearchParam
For a given FHIR resource, returns the search param that should be used to identify the patient, or null if one could not be found. You can also cache the "Conformance Statement" if you need to call this multiple times.
This is used by the PlasmaFHIRApi
whenever you call readPatientResource
.
Last updated