Search in sources :

Example 1 with SystemInteractionComponent

use of org.hl7.fhir.r4.model.CapabilityStatement.SystemInteractionComponent in project pathling by aehrc.

the class ConformanceProvider method buildSystemLevelInteractions.

@Nonnull
private List<SystemInteractionComponent> buildSystemLevelInteractions() {
    final List<SystemInteractionComponent> interactions = new ArrayList<>();
    final SystemInteractionComponent interaction = new SystemInteractionComponent();
    interaction.setCode(SystemRestfulInteraction.BATCH);
    interactions.add(interaction);
    return interactions;
}
Also used : ArrayList(java.util.ArrayList) SystemInteractionComponent(org.hl7.fhir.r4.model.CapabilityStatement.SystemInteractionComponent) Nonnull(javax.annotation.Nonnull)

Example 2 with SystemInteractionComponent

use of org.hl7.fhir.r4.model.CapabilityStatement.SystemInteractionComponent in project kindling by HL7.

the class Publisher method genConfInteraction.

private void genConfInteraction(CapabilityStatement conf, CapabilityStatementRestComponent res, SystemRestfulInteraction op, String doco) {
    SystemInteractionComponent t = new SystemInteractionComponent();
    t.setCode(op);
    t.setDocumentation(doco);
    res.getInteraction().add(t);
}
Also used : SystemInteractionComponent(org.hl7.fhir.r5.model.CapabilityStatement.SystemInteractionComponent)

Aggregations

ArrayList (java.util.ArrayList)1 Nonnull (javax.annotation.Nonnull)1 SystemInteractionComponent (org.hl7.fhir.r4.model.CapabilityStatement.SystemInteractionComponent)1 SystemInteractionComponent (org.hl7.fhir.r5.model.CapabilityStatement.SystemInteractionComponent)1