use of org.hl7.fhir.r4.model.Consent in project org.hl7.fhir.core by hapifhir.
the class RdfParser method composeConsentConsentPolicyComponent.
protected void composeConsentConsentPolicyComponent(Complex parent, String parentType, String name, Consent.ConsentPolicyComponent element, int index) {
if (element == null)
return;
Complex t;
if (Utilities.noString(parentType))
t = parent;
else {
t = parent.predicate("fhir:" + parentType + '.' + name);
}
composeBackboneElement(t, "policy", name, element, index);
if (element.hasAuthorityElement())
composeUri(t, "Consent", "authority", element.getAuthorityElement(), -1);
if (element.hasUriElement())
composeUri(t, "Consent", "uri", element.getUriElement(), -1);
}
Aggregations