Search in sources :

Example 16 with RequestGroup

use of org.hl7.fhir.dstu3.model.RequestGroup in project org.hl7.fhir.core by hapifhir.

the class RdfParser method composeRequestGroupRequestGroupActionRelatedActionComponent.

protected void composeRequestGroupRequestGroupActionRelatedActionComponent(Complex parent, String parentType, String name, RequestGroup.RequestGroupActionRelatedActionComponent element, int index) {
    if (element == null)
        return;
    Complex t;
    if (Utilities.noString(parentType))
        t = parent;
    else {
        t = parent.predicate("fhir:" + parentType + '.' + name);
    }
    composeBackboneElement(t, "relatedAction", name, element, index);
    if (element.hasActionIdElement())
        composeId(t, "RequestGroup", "actionId", element.getActionIdElement(), -1);
    if (element.hasRelationshipElement())
        composeEnum(t, "RequestGroup", "relationship", element.getRelationshipElement(), -1);
    if (element.hasOffset())
        composeType(t, "RequestGroup", "offset", element.getOffset(), -1);
}
Also used : Complex(org.hl7.fhir.r4.utils.formats.Turtle.Complex)

Aggregations

ArrayList (java.util.ArrayList)4 Complex (org.hl7.fhir.dstu3.utils.formats.Turtle.Complex)4 Complex (org.hl7.fhir.r4.utils.formats.Turtle.Complex)4 RequestGroup (org.hl7.fhir.dstu3.model.RequestGroup)3 RequestGroup (org.hl7.fhir.r4.model.RequestGroup)3 IParser (ca.uhn.fhir.parser.IParser)2 Operation (ca.uhn.fhir.rest.annotation.Operation)2 CarePlan (org.hl7.fhir.dstu3.model.CarePlan)2 PlanDefinition (org.hl7.fhir.dstu3.model.PlanDefinition)2 Reference (org.hl7.fhir.dstu3.model.Reference)2 CarePlan (org.hl7.fhir.r4.model.CarePlan)2 PlanDefinition (org.hl7.fhir.r4.model.PlanDefinition)2 Reference (org.hl7.fhir.r4.model.Reference)2 Attachment (org.hl7.fhir.dstu3.model.Attachment)1 DomainResource (org.hl7.fhir.dstu3.model.DomainResource)1 Extension (org.hl7.fhir.dstu3.model.Extension)1 RelatedArtifact (org.hl7.fhir.dstu3.model.RelatedArtifact)1 RequestGroupActionComponent (org.hl7.fhir.dstu3.model.RequestGroup.RequestGroupActionComponent)1 Resource (org.hl7.fhir.dstu3.model.Resource)1 Attachment (org.hl7.fhir.r4.model.Attachment)1