use of org.hl7.fhir.r4.model.CapabilityStatement in project org.hl7.fhir.core by hapifhir.
the class RdfParser method composeCapabilityStatementCapabilityStatementDocumentComponent.
protected void composeCapabilityStatementCapabilityStatementDocumentComponent(Complex parent, String parentType, String name, CapabilityStatement.CapabilityStatementDocumentComponent element, int index) {
if (element == null)
return;
Complex t;
if (Utilities.noString(parentType))
t = parent;
else {
t = parent.predicate("fhir:" + parentType + '.' + name);
}
composeBackboneElement(t, "document", name, element, index);
if (element.hasModeElement())
composeEnum(t, "CapabilityStatement", "mode", element.getModeElement(), -1);
if (element.hasDocumentationElement())
composeString(t, "CapabilityStatement", "documentation", element.getDocumentationElement(), -1);
if (element.hasProfile())
composeReference(t, "CapabilityStatement", "profile", element.getProfile(), -1);
}
use of org.hl7.fhir.r4.model.CapabilityStatement in project org.hl7.fhir.core by hapifhir.
the class RdfParser method composeCapabilityStatementCapabilityStatementImplementationComponent.
protected void composeCapabilityStatementCapabilityStatementImplementationComponent(Complex parent, String parentType, String name, CapabilityStatement.CapabilityStatementImplementationComponent element, int index) {
if (element == null)
return;
Complex t;
if (Utilities.noString(parentType))
t = parent;
else {
t = parent.predicate("fhir:" + parentType + '.' + name);
}
composeBackboneElement(t, "implementation", name, element, index);
if (element.hasDescriptionElement())
composeString(t, "CapabilityStatement", "description", element.getDescriptionElement(), -1);
if (element.hasUrlElement())
composeUri(t, "CapabilityStatement", "url", element.getUrlElement(), -1);
}
use of org.hl7.fhir.r4.model.CapabilityStatement in project org.hl7.fhir.core by hapifhir.
the class RdfParser method composeCapabilityStatementCapabilityStatementRestResourceSearchParamComponent.
protected void composeCapabilityStatementCapabilityStatementRestResourceSearchParamComponent(Complex parent, String parentType, String name, CapabilityStatement.CapabilityStatementRestResourceSearchParamComponent element, int index) {
if (element == null)
return;
Complex t;
if (Utilities.noString(parentType))
t = parent;
else {
t = parent.predicate("fhir:" + parentType + '.' + name);
}
composeBackboneElement(t, "searchParam", name, element, index);
if (element.hasNameElement())
composeString(t, "CapabilityStatement", "name", element.getNameElement(), -1);
if (element.hasDefinitionElement())
composeUri(t, "CapabilityStatement", "definition", element.getDefinitionElement(), -1);
if (element.hasTypeElement())
composeEnum(t, "CapabilityStatement", "type", element.getTypeElement(), -1);
if (element.hasDocumentationElement())
composeString(t, "CapabilityStatement", "documentation", element.getDocumentationElement(), -1);
}
use of org.hl7.fhir.r4.model.CapabilityStatement in project org.hl7.fhir.core by hapifhir.
the class RdfParser method composeCapabilityStatementCapabilityStatementRestResourceComponent.
protected void composeCapabilityStatementCapabilityStatementRestResourceComponent(Complex parent, String parentType, String name, CapabilityStatement.CapabilityStatementRestResourceComponent element, int index) {
if (element == null)
return;
Complex t;
if (Utilities.noString(parentType))
t = parent;
else {
t = parent.predicate("fhir:" + parentType + '.' + name);
}
composeBackboneElement(t, "resource", name, element, index);
if (element.hasTypeElement())
composeCode(t, "CapabilityStatement", "type", element.getTypeElement(), -1);
if (element.hasProfile())
composeReference(t, "CapabilityStatement", "profile", element.getProfile(), -1);
if (element.hasDocumentationElement())
composeMarkdown(t, "CapabilityStatement", "documentation", element.getDocumentationElement(), -1);
for (int i = 0; i < element.getInteraction().size(); i++) composeCapabilityStatementResourceInteractionComponent(t, "CapabilityStatement", "interaction", element.getInteraction().get(i), i);
if (element.hasVersioningElement())
composeEnum(t, "CapabilityStatement", "versioning", element.getVersioningElement(), -1);
if (element.hasReadHistoryElement())
composeBoolean(t, "CapabilityStatement", "readHistory", element.getReadHistoryElement(), -1);
if (element.hasUpdateCreateElement())
composeBoolean(t, "CapabilityStatement", "updateCreate", element.getUpdateCreateElement(), -1);
if (element.hasConditionalCreateElement())
composeBoolean(t, "CapabilityStatement", "conditionalCreate", element.getConditionalCreateElement(), -1);
if (element.hasConditionalReadElement())
composeEnum(t, "CapabilityStatement", "conditionalRead", element.getConditionalReadElement(), -1);
if (element.hasConditionalUpdateElement())
composeBoolean(t, "CapabilityStatement", "conditionalUpdate", element.getConditionalUpdateElement(), -1);
if (element.hasConditionalDeleteElement())
composeEnum(t, "CapabilityStatement", "conditionalDelete", element.getConditionalDeleteElement(), -1);
for (int i = 0; i < element.getReferencePolicy().size(); i++) composeEnum(t, "CapabilityStatement", "referencePolicy", element.getReferencePolicy().get(i), i);
for (int i = 0; i < element.getSearchInclude().size(); i++) composeString(t, "CapabilityStatement", "searchInclude", element.getSearchInclude().get(i), i);
for (int i = 0; i < element.getSearchRevInclude().size(); i++) composeString(t, "CapabilityStatement", "searchRevInclude", element.getSearchRevInclude().get(i), i);
for (int i = 0; i < element.getSearchParam().size(); i++) composeCapabilityStatementCapabilityStatementRestResourceSearchParamComponent(t, "CapabilityStatement", "searchParam", element.getSearchParam().get(i), i);
}
use of org.hl7.fhir.r4.model.CapabilityStatement in project org.hl7.fhir.core by hapifhir.
the class RdfParser method composeCapabilityStatementCapabilityStatementMessagingSupportedMessageComponent.
protected void composeCapabilityStatementCapabilityStatementMessagingSupportedMessageComponent(Complex parent, String parentType, String name, CapabilityStatement.CapabilityStatementMessagingSupportedMessageComponent element, int index) {
if (element == null)
return;
Complex t;
if (Utilities.noString(parentType))
t = parent;
else {
t = parent.predicate("fhir:" + parentType + '.' + name);
}
composeBackboneElement(t, "supportedMessage", name, element, index);
if (element.hasModeElement())
composeEnum(t, "CapabilityStatement", "mode", element.getModeElement(), -1);
if (element.hasDefinition())
composeReference(t, "CapabilityStatement", "definition", element.getDefinition(), -1);
}
Aggregations