Skip to content

Commit

Permalink
437: implement the SsimplifiedPublish iti-105 transaction
Browse files Browse the repository at this point in the history
  • Loading branch information
Boris Stanojevic committed Dec 12, 2023
1 parent 4c46d46 commit 6692275
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ public enum FhirEventTypeCode implements EventType, EnumeratedCodedValue<EventTy
MobilePatientDemographicsQuery("ITI-78", IHE_SYSTEM_NAME, "Mobile Patient Demographics Query"),
RetrieveATNAAuditEvent("ITI-81", IHE_SYSTEM_NAME, "Retrieve ATNA AuditEvent"),
MobilePatientIdentifierCrossReferenceQuery("ITI-83", IHE_SYSTEM_NAME, "Mobile Patient Identifier Cross-reference Query"),
SimplifiedPublish("ITI-105", IHE_SYSTEM_NAME, "Simplified Publish"),
MobileQueryExistingData("PCC-44", IHE_SYSTEM_NAME, "Mobile Query Existing Data"),
QueryPharmacyDocumentsOverMhd("PHARM-5", IHE_SYSTEM_NAME, "Query Pharmacy Documents over MHD"),
MobilePrivacyPolicyFeed("PPQ-3", EHS_SYSTEM_NAME, "Mobile Privacy Policy Feed"),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,8 @@
import org.openehealth.ipf.commons.ihe.fhir.FhirTransactionValidator;
import org.openehealth.ipf.commons.ihe.fhir.audit.FhirAuditDataset;
import org.openehealth.ipf.commons.ihe.fhir.audit.FhirQueryAuditDataset;
import org.openehealth.ipf.commons.ihe.fhir.iti105.Iti105AuditDataset;
import org.openehealth.ipf.commons.ihe.fhir.iti105.Iti105TransactionConfiguration;
import org.openehealth.ipf.commons.ihe.fhir.iti65.Iti65AuditDataset;
import org.openehealth.ipf.commons.ihe.fhir.iti65.Iti65TransactionConfiguration;
import org.openehealth.ipf.commons.ihe.fhir.iti66.Iti66ClientRequestFactory;
Expand Down Expand Up @@ -117,6 +119,14 @@ public enum RetrieveBinaryInteractions implements InteractionId {
private final TransactionConfiguration<FhirAuditDataset> transactionConfiguration;
}

@AllArgsConstructor
public enum SimplifiedPublishInteractions implements FhirInteractionId<Iti105AuditDataset> {
ITI_105(ITI_105_CONFIG);

@Getter
private final FhirTransactionConfiguration<Iti105AuditDataset> fhirTransactionConfiguration;
}

@Override
public List<InteractionId> getInteractionIds() {
var interactions = new ArrayList<InteractionId>();
Expand All @@ -131,4 +141,6 @@ public List<InteractionId> getInteractionIds() {
private static final Iti67TransactionConfiguration ITI_67_CONFIG = new Iti67TransactionConfiguration();
private static final Iti68TransactionConfiguration ITI_68_CONFIG = new Iti68TransactionConfiguration();
private static final Iti68BinaryTransactionConfiguration ITI_68_BIN_CONFIG = new Iti68BinaryTransactionConfiguration();
private static final Iti105TransactionConfiguration ITI_105_CONFIG = new Iti105TransactionConfiguration();
}

0 comments on commit 6692275

Please sign in to comment.