use of org.hl7.fhir.r4.model.AuditEvent in project org.hl7.fhir.core by hapifhir.
the class RdfParser method composeAuditEventAuditEventEntityComponent.
protected void composeAuditEventAuditEventEntityComponent(Complex parent, String parentType, String name, AuditEvent.AuditEventEntityComponent element, int index) {
if (element == null)
return;
Complex t;
if (Utilities.noString(parentType))
t = parent;
else {
t = parent.predicate("fhir:" + parentType + '.' + name);
}
composeBackboneElement(t, "entity", name, element, index);
if (element.hasIdentifier())
composeIdentifier(t, "AuditEvent", "identifier", element.getIdentifier(), -1);
if (element.hasReference())
composeReference(t, "AuditEvent", "reference", element.getReference(), -1);
if (element.hasType())
composeCoding(t, "AuditEvent", "type", element.getType(), -1);
if (element.hasRole())
composeCoding(t, "AuditEvent", "role", element.getRole(), -1);
if (element.hasLifecycle())
composeCoding(t, "AuditEvent", "lifecycle", element.getLifecycle(), -1);
for (int i = 0; i < element.getSecurityLabel().size(); i++) composeCoding(t, "AuditEvent", "securityLabel", element.getSecurityLabel().get(i), i);
if (element.hasNameElement())
composeString(t, "AuditEvent", "name", element.getNameElement(), -1);
if (element.hasDescriptionElement())
composeString(t, "AuditEvent", "description", element.getDescriptionElement(), -1);
if (element.hasQueryElement())
composeBase64Binary(t, "AuditEvent", "query", element.getQueryElement(), -1);
for (int i = 0; i < element.getDetail().size(); i++) composeAuditEventAuditEventEntityDetailComponent(t, "AuditEvent", "detail", element.getDetail().get(i), i);
}
use of org.hl7.fhir.r4.model.AuditEvent in project org.hl7.fhir.core by hapifhir.
the class RdfParser method composeAuditEventAuditEventEntityDetailComponent.
protected void composeAuditEventAuditEventEntityDetailComponent(Complex parent, String parentType, String name, AuditEvent.AuditEventEntityDetailComponent element, int index) {
if (element == null)
return;
Complex t;
if (Utilities.noString(parentType))
t = parent;
else {
t = parent.predicate("fhir:" + parentType + '.' + name);
}
composeBackboneElement(t, "detail", name, element, index);
if (element.hasTypeElement())
composeString(t, "AuditEvent", "type", element.getTypeElement(), -1);
if (element.hasValueElement())
composeBase64Binary(t, "AuditEvent", "value", element.getValueElement(), -1);
}
use of org.hl7.fhir.r4.model.AuditEvent in project org.hl7.fhir.core by hapifhir.
the class RdfParser method composeAuditEventAuditEventAgentNetworkComponent.
protected void composeAuditEventAuditEventAgentNetworkComponent(Complex parent, String parentType, String name, AuditEvent.AuditEventAgentNetworkComponent element, int index) {
if (element == null)
return;
Complex t;
if (Utilities.noString(parentType))
t = parent;
else {
t = parent.predicate("fhir:" + parentType + '.' + name);
}
composeBackboneElement(t, "network", name, element, index);
if (element.hasAddressElement())
composeString(t, "AuditEvent", "address", element.getAddressElement(), -1);
if (element.hasTypeElement())
composeEnum(t, "AuditEvent", "type", element.getTypeElement(), -1);
}
use of org.hl7.fhir.r4.model.AuditEvent in project org.hl7.fhir.core by hapifhir.
the class RdfParser method composeAuditEventAuditEventAgentComponent.
protected void composeAuditEventAuditEventAgentComponent(Complex parent, String parentType, String name, AuditEvent.AuditEventAgentComponent element, int index) {
if (element == null)
return;
Complex t;
if (Utilities.noString(parentType))
t = parent;
else {
t = parent.predicate("fhir:" + parentType + '.' + name);
}
composeBackboneElement(t, "agent", name, element, index);
for (int i = 0; i < element.getRole().size(); i++) composeCodeableConcept(t, "AuditEvent", "role", element.getRole().get(i), i);
if (element.hasReference())
composeReference(t, "AuditEvent", "reference", element.getReference(), -1);
if (element.hasUserId())
composeIdentifier(t, "AuditEvent", "userId", element.getUserId(), -1);
if (element.hasAltIdElement())
composeString(t, "AuditEvent", "altId", element.getAltIdElement(), -1);
if (element.hasNameElement())
composeString(t, "AuditEvent", "name", element.getNameElement(), -1);
if (element.hasRequestorElement())
composeBoolean(t, "AuditEvent", "requestor", element.getRequestorElement(), -1);
if (element.hasLocation())
composeReference(t, "AuditEvent", "location", element.getLocation(), -1);
for (int i = 0; i < element.getPolicy().size(); i++) composeUri(t, "AuditEvent", "policy", element.getPolicy().get(i), i);
if (element.hasMedia())
composeCoding(t, "AuditEvent", "media", element.getMedia(), -1);
if (element.hasNetwork())
composeAuditEventAuditEventAgentNetworkComponent(t, "AuditEvent", "network", element.getNetwork(), -1);
for (int i = 0; i < element.getPurposeOfUse().size(); i++) composeCoding(t, "AuditEvent", "purposeOfUse", element.getPurposeOfUse().get(i), i);
}
use of org.hl7.fhir.r4.model.AuditEvent in project org.hl7.fhir.core by hapifhir.
the class RdfParser method composeAuditEventAuditEventSourceComponent.
protected void composeAuditEventAuditEventSourceComponent(Complex parent, String parentType, String name, AuditEvent.AuditEventSourceComponent element, int index) {
if (element == null)
return;
Complex t;
if (Utilities.noString(parentType))
t = parent;
else {
t = parent.predicate("fhir:" + parentType + '.' + name);
}
composeBackboneElement(t, "source", name, element, index);
if (element.hasSiteElement())
composeString(t, "AuditEvent", "site", element.getSiteElement(), -1);
if (element.hasIdentifier())
composeIdentifier(t, "AuditEvent", "identifier", element.getIdentifier(), -1);
for (int i = 0; i < element.getType().size(); i++) composeCoding(t, "AuditEvent", "type", element.getType().get(i), i);
}
Aggregations