Skip to content

Commit

Permalink
Extend ReadWrite instead of ReadOnly class
Browse files Browse the repository at this point in the history
  • Loading branch information
DavidCKen committed Jul 25, 2019
1 parent 0795f21 commit c6f40e2
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
import org.dhis2.fhir.adapter.fhir.model.FhirVersion;
import org.dhis2.fhir.adapter.fhir.repository.DhisRepository;
import org.dhis2.fhir.adapter.fhir.repository.FhirRepository;
import org.dhis2.fhir.adapter.fhir.server.provider.AbstractReadOnlyResourceProvider;
import org.dhis2.fhir.adapter.fhir.server.provider.AbstractReadWriteResourceProvider;
import org.hl7.fhir.dstu3.model.MeasureReport;
import org.springframework.stereotype.Component;

Expand All @@ -55,7 +55,7 @@
* @author David Katuscak
*/
@Component
public class Dstu3MeasureReportResourceProvider extends AbstractReadOnlyResourceProvider<MeasureReport>
public class Dstu3MeasureReportResourceProvider extends AbstractReadWriteResourceProvider<MeasureReport>
{
public Dstu3MeasureReportResourceProvider( @Nonnull FhirClientResourceRepository fhirClientResourceRepository,
@Nonnull FhirClientSystemRepository fhirClientSystemRepository,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
import org.dhis2.fhir.adapter.fhir.model.FhirVersion;
import org.dhis2.fhir.adapter.fhir.repository.DhisRepository;
import org.dhis2.fhir.adapter.fhir.repository.FhirRepository;
import org.dhis2.fhir.adapter.fhir.server.provider.AbstractReadOnlyResourceProvider;
import org.dhis2.fhir.adapter.fhir.server.provider.AbstractReadWriteResourceProvider;
import org.hl7.fhir.r4.model.MeasureReport;
import org.springframework.stereotype.Component;

Expand All @@ -55,7 +55,7 @@
* @author David Katuscak
*/
@Component
public class R4MeasureReportResourceProvider extends AbstractReadOnlyResourceProvider<MeasureReport>
public class R4MeasureReportResourceProvider extends AbstractReadWriteResourceProvider<MeasureReport>
{
public R4MeasureReportResourceProvider( @Nonnull FhirClientResourceRepository fhirClientResourceRepository,
@Nonnull FhirClientSystemRepository fhirClientSystemRepository,
Expand Down

0 comments on commit c6f40e2

Please sign in to comment.