Class ChPpqmUtils
java.lang.Object
org.openehealth.ipf.commons.ihe.fhir.chppqm.ChPpqmUtils
- Author:
- Dmytro Rud
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classstatic classstatic class -
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionstatic BundlecreatePpq4DeleteRequestBundle(Collection<String> consentIds) static BundlecreatePpq4SubmitRequestBundle(Collection<Consent> consents, Bundle.HTTPVerb httpMethod) static Stringstatic Stringstatic StringextractConsentId(Consent consent, String idType) static StringextractConsentIdsFromEntryUrls(Bundle bundle) Extracts identifiers of consents from URLs in a bundle's entries (primarily for PPQ-4 operation DELETE).static FhirContextstatic StringgetTemplateProfileUri(String templateId)
-
Field Details
-
FHIR_CONTEXT
-
TEMPLATE_IDS
-
TEMPLATE_PROFILE_URIS
-
-
Method Details
-
getFhirContext
-
getTemplateProfileUri
-
extractConsentId
-
extractConsentIdFromUrl
-
extractConsentIdsFromEntryUrls
Extracts identifiers of consents from URLs in a bundle's entries (primarily for PPQ-4 operation DELETE). -
createUrl
-
createUrl
-
createPpq4SubmitRequestBundle
public static Bundle createPpq4SubmitRequestBundle(Collection<Consent> consents, Bundle.HTTPVerb httpMethod) -
createPpq4DeleteRequestBundle
-