Package tilda.utils.gcp
Class FHIRProviderCH
- java.lang.Object
-
- tilda.utils.fhir.FHIRProvider
-
- tilda.utils.gcp.FHIRProviderCH
-
public class FHIRProviderCH extends FHIRProvider
Useful documentation:- Create/Update
- https://cloud.google.com/healthcare/docs/samples/healthcare-update-resource#healthcare_update_resource-java
- https://cloud.google.com/healthcare/docs/how-tos/fhir-resources#healthcare-create-patient-java
- https://cloud.google.com/healthcare/docs/how-tos/fhir-resources#updating_a_fhir_resource
- https://hapifhir.io/hapi-fhir/docs/client/examples.html
- https://build.fhir.org/ig/HL7/us-bulk-data/
- Config
- https://cloud.google.com/healthcare/docs/how-tos/fhir#healthcare-get-metadata-java
- https://registry.terraform.io/providers/hashicorp/google/latest/docs/resources/healthcare_fhir_store
- Search
- https://cloud.google.com/healthcare/docs/how-tos/fhir-search
- https://cloud.google.com/healthcare/docs/samples/healthcare-search-resources-post
- https://cloud.google.com/healthcare/docs/reference/rest/v1/projects.locations.datasets.fhirStores.fhir/search
- https://hl7.org/implement/standards/fhir/R4/search.html
- https://hl7.org/fhir/search.html
- https://www.devdays.com/wp-content/uploads/2019/03/DD18-EU-Alexander-Zautke-Searching-in-FHIR-resources-2018-11-14.pdf
- Entities
- https://www.hl7.org/fhir/patient.html
- https://www.hl7.org/fhir/references.html#Reference
- https://www.hl7.org/fhir/observation.html
- Misc
- https://vneilley.medium.com/are-all-fhir-apis-the-same-48be75ac4ac5
- Author:
- Laurent Hasson
- Create/Update
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class tilda.utils.fhir.FHIRProvider
FHIRProvider.FhirEnitityCreator
-
-
Field Summary
Fields Modifier and Type Field Description protected com.google.api.services.healthcare.v1.CloudHealthcare
_ch
protected java.lang.String
_fhirStoreUri
protected com.google.auth.oauth2.GoogleCredentials
_gc
protected java.lang.String
_token
protected static org.apache.logging.log4j.Logger
LOG
-
Constructor Summary
Constructors Constructor Description FHIRProviderCH(java.lang.String projectName, java.lang.String fhirStoreUri, java.lang.String applicationName)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description com.google.gson.JsonObject
fhirResourceSearch(java.lang.String resourceType, java.util.List<StringStringPair> params)
com.google.gson.JsonObject
fhirStoreCapabilities()
protected static com.google.api.services.healthcare.v1.CloudHealthcare
getCloudHealthcare(com.google.auth.oauth2.GoogleCredentials creds, java.lang.String dataProjectName, java.lang.String clientApplicationName)
java.lang.String
getRootUrl()
java.lang.String
getToken()
-
Methods inherited from class tilda.utils.fhir.FHIRProvider
fhirResourceCreate, fhirResourceCreate, fhirResourceGet, fhirResourceSearchByIdentifier, fhirResourceSearchByIdentifier
-
-
-
-
Field Detail
-
LOG
protected static final org.apache.logging.log4j.Logger LOG
-
_gc
protected com.google.auth.oauth2.GoogleCredentials _gc
-
_ch
protected com.google.api.services.healthcare.v1.CloudHealthcare _ch
-
_token
protected java.lang.String _token
-
_fhirStoreUri
protected java.lang.String _fhirStoreUri
-
-
Method Detail
-
getCloudHealthcare
protected static com.google.api.services.healthcare.v1.CloudHealthcare getCloudHealthcare(com.google.auth.oauth2.GoogleCredentials creds, java.lang.String dataProjectName, java.lang.String clientApplicationName) throws java.io.IOException
- Throws:
java.io.IOException
-
fhirStoreCapabilities
public com.google.gson.JsonObject fhirStoreCapabilities() throws java.lang.Exception
- Specified by:
fhirStoreCapabilities
in classFHIRProvider
- Throws:
java.lang.Exception
-
getRootUrl
public java.lang.String getRootUrl() throws java.lang.Exception
- Specified by:
getRootUrl
in classFHIRProvider
- Throws:
java.lang.Exception
-
getToken
public java.lang.String getToken() throws java.lang.Exception
- Specified by:
getToken
in classFHIRProvider
- Throws:
java.lang.Exception
-
fhirResourceSearch
public com.google.gson.JsonObject fhirResourceSearch(java.lang.String resourceType, java.util.List<StringStringPair> params) throws java.lang.Exception
- Specified by:
fhirResourceSearch
in classFHIRProvider
- Throws:
java.lang.Exception
-
-