use of org.hl7.fhir.r4b.model.DataRequirement in project org.hl7.fhir.core by hapifhir.
the class RdfParser method composeLibrary.
protected void composeLibrary(Complex parent, String parentType, String name, Library element, int index) {
if (element == null)
return;
Complex t;
if (Utilities.noString(parentType))
t = parent;
else {
t = parent.predicate("fhir:" + parentType + '.' + name);
}
composeDomainResource(t, "Library", name, element, index);
if (element.hasUrlElement())
composeUri(t, "Library", "url", element.getUrlElement(), -1);
for (int i = 0; i < element.getIdentifier().size(); i++) composeIdentifier(t, "Library", "identifier", element.getIdentifier().get(i), i);
if (element.hasVersionElement())
composeString(t, "Library", "version", element.getVersionElement(), -1);
if (element.hasNameElement())
composeString(t, "Library", "name", element.getNameElement(), -1);
if (element.hasTitleElement())
composeString(t, "Library", "title", element.getTitleElement(), -1);
if (element.hasStatusElement())
composeEnum(t, "Library", "status", element.getStatusElement(), -1);
if (element.hasExperimentalElement())
composeBoolean(t, "Library", "experimental", element.getExperimentalElement(), -1);
if (element.hasType())
composeCodeableConcept(t, "Library", "type", element.getType(), -1);
if (element.hasDateElement())
composeDateTime(t, "Library", "date", element.getDateElement(), -1);
if (element.hasPublisherElement())
composeString(t, "Library", "publisher", element.getPublisherElement(), -1);
if (element.hasDescriptionElement())
composeMarkdown(t, "Library", "description", element.getDescriptionElement(), -1);
if (element.hasPurposeElement())
composeMarkdown(t, "Library", "purpose", element.getPurposeElement(), -1);
if (element.hasUsageElement())
composeString(t, "Library", "usage", element.getUsageElement(), -1);
if (element.hasApprovalDateElement())
composeDate(t, "Library", "approvalDate", element.getApprovalDateElement(), -1);
if (element.hasLastReviewDateElement())
composeDate(t, "Library", "lastReviewDate", element.getLastReviewDateElement(), -1);
if (element.hasEffectivePeriod())
composePeriod(t, "Library", "effectivePeriod", element.getEffectivePeriod(), -1);
for (int i = 0; i < element.getUseContext().size(); i++) composeUsageContext(t, "Library", "useContext", element.getUseContext().get(i), i);
for (int i = 0; i < element.getJurisdiction().size(); i++) composeCodeableConcept(t, "Library", "jurisdiction", element.getJurisdiction().get(i), i);
for (int i = 0; i < element.getTopic().size(); i++) composeCodeableConcept(t, "Library", "topic", element.getTopic().get(i), i);
for (int i = 0; i < element.getContributor().size(); i++) composeContributor(t, "Library", "contributor", element.getContributor().get(i), i);
for (int i = 0; i < element.getContact().size(); i++) composeContactDetail(t, "Library", "contact", element.getContact().get(i), i);
if (element.hasCopyrightElement())
composeMarkdown(t, "Library", "copyright", element.getCopyrightElement(), -1);
for (int i = 0; i < element.getRelatedArtifact().size(); i++) composeRelatedArtifact(t, "Library", "relatedArtifact", element.getRelatedArtifact().get(i), i);
for (int i = 0; i < element.getParameter().size(); i++) composeParameterDefinition(t, "Library", "parameter", element.getParameter().get(i), i);
for (int i = 0; i < element.getDataRequirement().size(); i++) composeDataRequirement(t, "Library", "dataRequirement", element.getDataRequirement().get(i), i);
for (int i = 0; i < element.getContent().size(); i++) composeAttachment(t, "Library", "content", element.getContent().get(i), i);
}
use of org.hl7.fhir.r4b.model.DataRequirement in project org.hl7.fhir.core by hapifhir.
the class RdfParser method composeDataRequirementDataRequirementDateFilterComponent.
protected void composeDataRequirementDataRequirementDateFilterComponent(Complex parent, String parentType, String name, DataRequirement.DataRequirementDateFilterComponent element, int index) {
if (element == null)
return;
Complex t;
if (Utilities.noString(parentType))
t = parent;
else {
t = parent.predicate("fhir:" + parentType + '.' + name);
}
composeElement(t, "dateFilter", name, element, index);
if (element.hasPathElement())
composeString(t, "DataRequirement", "path", element.getPathElement(), -1);
if (element.hasValue())
composeType(t, "DataRequirement", "value", element.getValue(), -1);
}
use of org.hl7.fhir.r4b.model.DataRequirement in project org.hl7.fhir.core by hapifhir.
the class RdfParser method composeServiceDefinition.
protected void composeServiceDefinition(Complex parent, String parentType, String name, ServiceDefinition element, int index) {
if (element == null)
return;
Complex t;
if (Utilities.noString(parentType))
t = parent;
else {
t = parent.predicate("fhir:" + parentType + '.' + name);
}
composeDomainResource(t, "ServiceDefinition", name, element, index);
if (element.hasUrlElement())
composeUri(t, "ServiceDefinition", "url", element.getUrlElement(), -1);
for (int i = 0; i < element.getIdentifier().size(); i++) composeIdentifier(t, "ServiceDefinition", "identifier", element.getIdentifier().get(i), i);
if (element.hasVersionElement())
composeString(t, "ServiceDefinition", "version", element.getVersionElement(), -1);
if (element.hasNameElement())
composeString(t, "ServiceDefinition", "name", element.getNameElement(), -1);
if (element.hasTitleElement())
composeString(t, "ServiceDefinition", "title", element.getTitleElement(), -1);
if (element.hasStatusElement())
composeEnum(t, "ServiceDefinition", "status", element.getStatusElement(), -1);
if (element.hasExperimentalElement())
composeBoolean(t, "ServiceDefinition", "experimental", element.getExperimentalElement(), -1);
if (element.hasDateElement())
composeDateTime(t, "ServiceDefinition", "date", element.getDateElement(), -1);
if (element.hasPublisherElement())
composeString(t, "ServiceDefinition", "publisher", element.getPublisherElement(), -1);
if (element.hasDescriptionElement())
composeMarkdown(t, "ServiceDefinition", "description", element.getDescriptionElement(), -1);
if (element.hasPurposeElement())
composeMarkdown(t, "ServiceDefinition", "purpose", element.getPurposeElement(), -1);
if (element.hasUsageElement())
composeString(t, "ServiceDefinition", "usage", element.getUsageElement(), -1);
if (element.hasApprovalDateElement())
composeDate(t, "ServiceDefinition", "approvalDate", element.getApprovalDateElement(), -1);
if (element.hasLastReviewDateElement())
composeDate(t, "ServiceDefinition", "lastReviewDate", element.getLastReviewDateElement(), -1);
if (element.hasEffectivePeriod())
composePeriod(t, "ServiceDefinition", "effectivePeriod", element.getEffectivePeriod(), -1);
for (int i = 0; i < element.getUseContext().size(); i++) composeUsageContext(t, "ServiceDefinition", "useContext", element.getUseContext().get(i), i);
for (int i = 0; i < element.getJurisdiction().size(); i++) composeCodeableConcept(t, "ServiceDefinition", "jurisdiction", element.getJurisdiction().get(i), i);
for (int i = 0; i < element.getTopic().size(); i++) composeCodeableConcept(t, "ServiceDefinition", "topic", element.getTopic().get(i), i);
for (int i = 0; i < element.getContributor().size(); i++) composeContributor(t, "ServiceDefinition", "contributor", element.getContributor().get(i), i);
for (int i = 0; i < element.getContact().size(); i++) composeContactDetail(t, "ServiceDefinition", "contact", element.getContact().get(i), i);
if (element.hasCopyrightElement())
composeMarkdown(t, "ServiceDefinition", "copyright", element.getCopyrightElement(), -1);
for (int i = 0; i < element.getRelatedArtifact().size(); i++) composeRelatedArtifact(t, "ServiceDefinition", "relatedArtifact", element.getRelatedArtifact().get(i), i);
for (int i = 0; i < element.getTrigger().size(); i++) composeTriggerDefinition(t, "ServiceDefinition", "trigger", element.getTrigger().get(i), i);
for (int i = 0; i < element.getDataRequirement().size(); i++) composeDataRequirement(t, "ServiceDefinition", "dataRequirement", element.getDataRequirement().get(i), i);
if (element.hasOperationDefinition())
composeReference(t, "ServiceDefinition", "operationDefinition", element.getOperationDefinition(), -1);
}
use of org.hl7.fhir.r4b.model.DataRequirement in project org.hl7.fhir.core by hapifhir.
the class RdfParser method composeDataRequirementDataRequirementDateFilterComponent.
protected void composeDataRequirementDataRequirementDateFilterComponent(Complex parent, String parentType, String name, DataRequirement.DataRequirementDateFilterComponent element, int index) {
if (element == null)
return;
Complex t;
if (Utilities.noString(parentType))
t = parent;
else {
t = parent.predicate("fhir:" + parentType + '.' + name);
}
composeElement(t, "dateFilter", name, element, index);
if (element.hasPathElement())
composeString(t, "DataRequirement", "path", element.getPathElement(), -1);
if (element.hasSearchParamElement())
composeString(t, "DataRequirement", "searchParam", element.getSearchParamElement(), -1);
if (element.hasValue())
composeType(t, "DataRequirement", "value", element.getValue(), -1);
}
use of org.hl7.fhir.r4b.model.DataRequirement in project org.hl7.fhir.core by hapifhir.
the class RdfParser method composeGuidanceResponse.
protected void composeGuidanceResponse(Complex parent, String parentType, String name, GuidanceResponse element, int index) {
if (element == null)
return;
Complex t;
if (Utilities.noString(parentType))
t = parent;
else {
t = parent.predicate("fhir:" + parentType + '.' + name);
}
composeDomainResource(t, "GuidanceResponse", name, element, index);
if (element.hasRequestIdentifier())
composeIdentifier(t, "GuidanceResponse", "requestIdentifier", element.getRequestIdentifier(), -1);
for (int i = 0; i < element.getIdentifier().size(); i++) composeIdentifier(t, "GuidanceResponse", "identifier", element.getIdentifier().get(i), i);
if (element.hasModule())
composeType(t, "GuidanceResponse", "module", element.getModule(), -1);
if (element.hasStatusElement())
composeEnum(t, "GuidanceResponse", "status", element.getStatusElement(), -1);
if (element.hasSubject())
composeReference(t, "GuidanceResponse", "subject", element.getSubject(), -1);
if (element.hasEncounter())
composeReference(t, "GuidanceResponse", "encounter", element.getEncounter(), -1);
if (element.hasOccurrenceDateTimeElement())
composeDateTime(t, "GuidanceResponse", "occurrenceDateTime", element.getOccurrenceDateTimeElement(), -1);
if (element.hasPerformer())
composeReference(t, "GuidanceResponse", "performer", element.getPerformer(), -1);
for (int i = 0; i < element.getReasonCode().size(); i++) composeCodeableConcept(t, "GuidanceResponse", "reasonCode", element.getReasonCode().get(i), i);
for (int i = 0; i < element.getReasonReference().size(); i++) composeReference(t, "GuidanceResponse", "reasonReference", element.getReasonReference().get(i), i);
for (int i = 0; i < element.getNote().size(); i++) composeAnnotation(t, "GuidanceResponse", "note", element.getNote().get(i), i);
for (int i = 0; i < element.getEvaluationMessage().size(); i++) composeReference(t, "GuidanceResponse", "evaluationMessage", element.getEvaluationMessage().get(i), i);
if (element.hasOutputParameters())
composeReference(t, "GuidanceResponse", "outputParameters", element.getOutputParameters(), -1);
if (element.hasResult())
composeReference(t, "GuidanceResponse", "result", element.getResult(), -1);
for (int i = 0; i < element.getDataRequirement().size(); i++) composeDataRequirement(t, "GuidanceResponse", "dataRequirement", element.getDataRequirement().get(i), i);
}
Aggregations