Package dev.dsf.bpe.v2.fhir
Interface FhirResourceModifier
- All Known Implementing Classes:
AbstractFhirResourceModifier
public interface FhirResourceModifier
When implementations of this interface are registered as singleton
Bean
, modify methods are called during
process plugin loading and before the plugin FHIR resource are stored in the DSF FHIR server.
Warning: Modifications that are non static i.e. depend on values that can change from one start of the BPE to the next like environment variables and allow-list entries, require a stop BPE, remove plugin, start BPE, stop BPE, add plugin and start BPE cycle. Since not many modifications to the FHIR resources of a process plugin keep the plugin compatible across DSF instances, use this feature with care.
See AbstractFhirResourceModifier
for a no-modifications base implementation.
-
Method Summary
Modifier and TypeMethodDescriptionorg.hl7.fhir.r4.model.ActivityDefinition
modifyActivityDefinition
(String filename, org.hl7.fhir.r4.model.ActivityDefinition resource) org.hl7.fhir.r4.model.CodeSystem
modifyCodeSystem
(String filename, org.hl7.fhir.r4.model.CodeSystem resource) org.hl7.fhir.r4.model.Library
modifyLibrary
(String filename, org.hl7.fhir.r4.model.Library resource) org.hl7.fhir.r4.model.Measure
modifyMeasure
(String filename, org.hl7.fhir.r4.model.Measure resource) org.hl7.fhir.r4.model.NamingSystem
modifyNamingSystem
(String filename, org.hl7.fhir.r4.model.NamingSystem resource) org.hl7.fhir.r4.model.Questionnaire
modifyQuestionnaire
(String filename, org.hl7.fhir.r4.model.Questionnaire resource) org.hl7.fhir.r4.model.StructureDefinition
modifyStructureDefinition
(String filename, org.hl7.fhir.r4.model.StructureDefinition resource) org.hl7.fhir.r4.model.Task
modifyTask
(String filename, org.hl7.fhir.r4.model.Task resource) org.hl7.fhir.r4.model.ValueSet
modifyValueSet
(String filename, org.hl7.fhir.r4.model.ValueSet resource)
-
Method Details
-
modifyActivityDefinition
org.hl7.fhir.r4.model.ActivityDefinition modifyActivityDefinition(String filename, org.hl7.fhir.r4.model.ActivityDefinition resource) -
modifyCodeSystem
org.hl7.fhir.r4.model.CodeSystem modifyCodeSystem(String filename, org.hl7.fhir.r4.model.CodeSystem resource) -
modifyLibrary
org.hl7.fhir.r4.model.Library modifyLibrary(String filename, org.hl7.fhir.r4.model.Library resource) -
modifyMeasure
org.hl7.fhir.r4.model.Measure modifyMeasure(String filename, org.hl7.fhir.r4.model.Measure resource) -
modifyNamingSystem
org.hl7.fhir.r4.model.NamingSystem modifyNamingSystem(String filename, org.hl7.fhir.r4.model.NamingSystem resource) -
modifyQuestionnaire
org.hl7.fhir.r4.model.Questionnaire modifyQuestionnaire(String filename, org.hl7.fhir.r4.model.Questionnaire resource) -
modifyStructureDefinition
org.hl7.fhir.r4.model.StructureDefinition modifyStructureDefinition(String filename, org.hl7.fhir.r4.model.StructureDefinition resource) -
modifyTask
-
modifyValueSet
org.hl7.fhir.r4.model.ValueSet modifyValueSet(String filename, org.hl7.fhir.r4.model.ValueSet resource)
-