use of org.hl7.fhir.r5.model.Library in project org.hl7.fhir.core by hapifhir.
the class RdfParser method composeOrderSet.
protected void composeOrderSet(Complex parent, String parentType, String name, OrderSet element, int index) {
if (element == null)
return;
Complex t;
if (Utilities.noString(parentType))
t = parent;
else {
t = parent.predicate("fhir:" + parentType + '.' + name);
}
composeDomainResource(t, "OrderSet", name, element, index);
if (element.hasModuleMetadata())
composeModuleMetadata(t, "OrderSet", "moduleMetadata", element.getModuleMetadata(), -1);
for (int i = 0; i < element.getLibrary().size(); i++) composeReference(t, "OrderSet", "library", element.getLibrary().get(i), i);
for (int i = 0; i < element.getAction().size(); i++) composeActionDefinition(t, "OrderSet", "action", element.getAction().get(i), i);
}
use of org.hl7.fhir.r5.model.Library in project org.hl7.fhir.core by hapifhir.
the class RdfParser method composeModuleDefinition.
protected void composeModuleDefinition(Complex parent, String parentType, String name, ModuleDefinition element, int index) {
if (element == null)
return;
Complex t;
if (Utilities.noString(parentType))
t = parent;
else {
t = parent.predicate("fhir:" + parentType + '.' + name);
}
composeDomainResource(t, "ModuleDefinition", name, element, index);
for (int i = 0; i < element.getIdentifier().size(); i++) composeIdentifier(t, "ModuleDefinition", "identifier", element.getIdentifier().get(i), i);
if (element.hasVersionElement())
composeString(t, "ModuleDefinition", "version", element.getVersionElement(), -1);
for (int i = 0; i < element.getModel().size(); i++) composeModuleDefinitionModuleDefinitionModelComponent(t, "ModuleDefinition", "model", element.getModel().get(i), i);
for (int i = 0; i < element.getLibrary().size(); i++) composeModuleDefinitionModuleDefinitionLibraryComponent(t, "ModuleDefinition", "library", element.getLibrary().get(i), i);
for (int i = 0; i < element.getCodeSystem().size(); i++) composeModuleDefinitionModuleDefinitionCodeSystemComponent(t, "ModuleDefinition", "codeSystem", element.getCodeSystem().get(i), i);
for (int i = 0; i < element.getValueSet().size(); i++) composeModuleDefinitionModuleDefinitionValueSetComponent(t, "ModuleDefinition", "valueSet", element.getValueSet().get(i), i);
for (int i = 0; i < element.getParameter().size(); i++) composeModuleDefinitionModuleDefinitionParameterComponent(t, "ModuleDefinition", "parameter", element.getParameter().get(i), i);
for (int i = 0; i < element.getData().size(); i++) composeModuleDefinitionModuleDefinitionDataComponent(t, "ModuleDefinition", "data", element.getData().get(i), i);
}
use of org.hl7.fhir.r5.model.Library in project org.hl7.fhir.core by hapifhir.
the class RdfParser method composeLibraryLibraryValueSetComponent.
protected void composeLibraryLibraryValueSetComponent(Complex parent, String parentType, String name, Library.LibraryValueSetComponent element, int index) {
if (element == null)
return;
Complex t;
if (Utilities.noString(parentType))
t = parent;
else {
t = parent.predicate("fhir:" + parentType + '.' + name);
}
composeBackboneElement(t, "valueSet", name, element, index);
if (element.hasNameElement())
composeString(t, "Library", "name", element.getNameElement(), -1);
if (element.hasIdentifierElement())
composeString(t, "Library", "identifier", element.getIdentifierElement(), -1);
if (element.hasVersionElement())
composeString(t, "Library", "version", element.getVersionElement(), -1);
for (int i = 0; i < element.getCodeSystem().size(); i++) composeString(t, "Library", "codeSystem", element.getCodeSystem().get(i), i);
}
use of org.hl7.fhir.r5.model.Library in project org.hl7.fhir.core by hapifhir.
the class RdfParser method composeActivityDefinition.
protected void composeActivityDefinition(Complex parent, String parentType, String name, ActivityDefinition element, int index) {
if (element == null)
return;
Complex t;
if (Utilities.noString(parentType))
t = parent;
else {
t = parent.predicate("fhir:" + parentType + '.' + name);
}
composeDomainResource(t, "ActivityDefinition", name, element, index);
if (element.hasUrlElement())
composeUri(t, "ActivityDefinition", "url", element.getUrlElement(), -1);
for (int i = 0; i < element.getIdentifier().size(); i++) composeIdentifier(t, "ActivityDefinition", "identifier", element.getIdentifier().get(i), i);
if (element.hasVersionElement())
composeString(t, "ActivityDefinition", "version", element.getVersionElement(), -1);
if (element.hasNameElement())
composeString(t, "ActivityDefinition", "name", element.getNameElement(), -1);
if (element.hasTitleElement())
composeString(t, "ActivityDefinition", "title", element.getTitleElement(), -1);
if (element.hasStatusElement())
composeEnum(t, "ActivityDefinition", "status", element.getStatusElement(), -1);
if (element.hasExperimentalElement())
composeBoolean(t, "ActivityDefinition", "experimental", element.getExperimentalElement(), -1);
if (element.hasDateElement())
composeDateTime(t, "ActivityDefinition", "date", element.getDateElement(), -1);
if (element.hasPublisherElement())
composeString(t, "ActivityDefinition", "publisher", element.getPublisherElement(), -1);
if (element.hasDescriptionElement())
composeMarkdown(t, "ActivityDefinition", "description", element.getDescriptionElement(), -1);
if (element.hasPurposeElement())
composeMarkdown(t, "ActivityDefinition", "purpose", element.getPurposeElement(), -1);
if (element.hasUsageElement())
composeString(t, "ActivityDefinition", "usage", element.getUsageElement(), -1);
if (element.hasApprovalDateElement())
composeDate(t, "ActivityDefinition", "approvalDate", element.getApprovalDateElement(), -1);
if (element.hasLastReviewDateElement())
composeDate(t, "ActivityDefinition", "lastReviewDate", element.getLastReviewDateElement(), -1);
if (element.hasEffectivePeriod())
composePeriod(t, "ActivityDefinition", "effectivePeriod", element.getEffectivePeriod(), -1);
for (int i = 0; i < element.getUseContext().size(); i++) composeUsageContext(t, "ActivityDefinition", "useContext", element.getUseContext().get(i), i);
for (int i = 0; i < element.getJurisdiction().size(); i++) composeCodeableConcept(t, "ActivityDefinition", "jurisdiction", element.getJurisdiction().get(i), i);
for (int i = 0; i < element.getTopic().size(); i++) composeCodeableConcept(t, "ActivityDefinition", "topic", element.getTopic().get(i), i);
for (int i = 0; i < element.getContributor().size(); i++) composeContributor(t, "ActivityDefinition", "contributor", element.getContributor().get(i), i);
for (int i = 0; i < element.getContact().size(); i++) composeContactDetail(t, "ActivityDefinition", "contact", element.getContact().get(i), i);
if (element.hasCopyrightElement())
composeMarkdown(t, "ActivityDefinition", "copyright", element.getCopyrightElement(), -1);
for (int i = 0; i < element.getRelatedArtifact().size(); i++) composeRelatedArtifact(t, "ActivityDefinition", "relatedArtifact", element.getRelatedArtifact().get(i), i);
for (int i = 0; i < element.getLibrary().size(); i++) composeReference(t, "ActivityDefinition", "library", element.getLibrary().get(i), i);
if (element.hasKindElement())
composeEnum(t, "ActivityDefinition", "kind", element.getKindElement(), -1);
if (element.hasCode())
composeCodeableConcept(t, "ActivityDefinition", "code", element.getCode(), -1);
if (element.hasTiming())
composeType(t, "ActivityDefinition", "timing", element.getTiming(), -1);
if (element.hasLocation())
composeReference(t, "ActivityDefinition", "location", element.getLocation(), -1);
for (int i = 0; i < element.getParticipant().size(); i++) composeActivityDefinitionActivityDefinitionParticipantComponent(t, "ActivityDefinition", "participant", element.getParticipant().get(i), i);
if (element.hasProduct())
composeType(t, "ActivityDefinition", "product", element.getProduct(), -1);
if (element.hasQuantity())
composeQuantity(t, "ActivityDefinition", "quantity", element.getQuantity(), -1);
for (int i = 0; i < element.getDosage().size(); i++) composeDosage(t, "ActivityDefinition", "dosage", element.getDosage().get(i), i);
for (int i = 0; i < element.getBodySite().size(); i++) composeCodeableConcept(t, "ActivityDefinition", "bodySite", element.getBodySite().get(i), i);
if (element.hasTransform())
composeReference(t, "ActivityDefinition", "transform", element.getTransform(), -1);
for (int i = 0; i < element.getDynamicValue().size(); i++) composeActivityDefinitionActivityDefinitionDynamicValueComponent(t, "ActivityDefinition", "dynamicValue", element.getDynamicValue().get(i), i);
}
use of org.hl7.fhir.r5.model.Library in project org.hl7.fhir.core by hapifhir.
the class RdfParser method composeMeasure.
protected void composeMeasure(Complex parent, String parentType, String name, Measure element, int index) {
if (element == null)
return;
Complex t;
if (Utilities.noString(parentType))
t = parent;
else {
t = parent.predicate("fhir:" + parentType + '.' + name);
}
composeDomainResource(t, "Measure", name, element, index);
if (element.hasUrlElement())
composeUri(t, "Measure", "url", element.getUrlElement(), -1);
for (int i = 0; i < element.getIdentifier().size(); i++) composeIdentifier(t, "Measure", "identifier", element.getIdentifier().get(i), i);
if (element.hasVersionElement())
composeString(t, "Measure", "version", element.getVersionElement(), -1);
if (element.hasNameElement())
composeString(t, "Measure", "name", element.getNameElement(), -1);
if (element.hasTitleElement())
composeString(t, "Measure", "title", element.getTitleElement(), -1);
if (element.hasStatusElement())
composeEnum(t, "Measure", "status", element.getStatusElement(), -1);
if (element.hasExperimentalElement())
composeBoolean(t, "Measure", "experimental", element.getExperimentalElement(), -1);
if (element.hasDateElement())
composeDateTime(t, "Measure", "date", element.getDateElement(), -1);
if (element.hasPublisherElement())
composeString(t, "Measure", "publisher", element.getPublisherElement(), -1);
if (element.hasDescriptionElement())
composeMarkdown(t, "Measure", "description", element.getDescriptionElement(), -1);
if (element.hasPurposeElement())
composeMarkdown(t, "Measure", "purpose", element.getPurposeElement(), -1);
if (element.hasUsageElement())
composeString(t, "Measure", "usage", element.getUsageElement(), -1);
if (element.hasApprovalDateElement())
composeDate(t, "Measure", "approvalDate", element.getApprovalDateElement(), -1);
if (element.hasLastReviewDateElement())
composeDate(t, "Measure", "lastReviewDate", element.getLastReviewDateElement(), -1);
if (element.hasEffectivePeriod())
composePeriod(t, "Measure", "effectivePeriod", element.getEffectivePeriod(), -1);
for (int i = 0; i < element.getUseContext().size(); i++) composeUsageContext(t, "Measure", "useContext", element.getUseContext().get(i), i);
for (int i = 0; i < element.getJurisdiction().size(); i++) composeCodeableConcept(t, "Measure", "jurisdiction", element.getJurisdiction().get(i), i);
for (int i = 0; i < element.getTopic().size(); i++) composeCodeableConcept(t, "Measure", "topic", element.getTopic().get(i), i);
for (int i = 0; i < element.getContributor().size(); i++) composeContributor(t, "Measure", "contributor", element.getContributor().get(i), i);
for (int i = 0; i < element.getContact().size(); i++) composeContactDetail(t, "Measure", "contact", element.getContact().get(i), i);
if (element.hasCopyrightElement())
composeMarkdown(t, "Measure", "copyright", element.getCopyrightElement(), -1);
for (int i = 0; i < element.getRelatedArtifact().size(); i++) composeRelatedArtifact(t, "Measure", "relatedArtifact", element.getRelatedArtifact().get(i), i);
for (int i = 0; i < element.getLibrary().size(); i++) composeReference(t, "Measure", "library", element.getLibrary().get(i), i);
if (element.hasDisclaimerElement())
composeMarkdown(t, "Measure", "disclaimer", element.getDisclaimerElement(), -1);
if (element.hasScoring())
composeCodeableConcept(t, "Measure", "scoring", element.getScoring(), -1);
if (element.hasCompositeScoring())
composeCodeableConcept(t, "Measure", "compositeScoring", element.getCompositeScoring(), -1);
for (int i = 0; i < element.getType().size(); i++) composeCodeableConcept(t, "Measure", "type", element.getType().get(i), i);
if (element.hasRiskAdjustmentElement())
composeString(t, "Measure", "riskAdjustment", element.getRiskAdjustmentElement(), -1);
if (element.hasRateAggregationElement())
composeString(t, "Measure", "rateAggregation", element.getRateAggregationElement(), -1);
if (element.hasRationaleElement())
composeMarkdown(t, "Measure", "rationale", element.getRationaleElement(), -1);
if (element.hasClinicalRecommendationStatementElement())
composeMarkdown(t, "Measure", "clinicalRecommendationStatement", element.getClinicalRecommendationStatementElement(), -1);
if (element.hasImprovementNotationElement())
composeString(t, "Measure", "improvementNotation", element.getImprovementNotationElement(), -1);
for (int i = 0; i < element.getDefinition().size(); i++) composeMarkdown(t, "Measure", "definition", element.getDefinition().get(i), i);
if (element.hasGuidanceElement())
composeMarkdown(t, "Measure", "guidance", element.getGuidanceElement(), -1);
if (element.hasSetElement())
composeString(t, "Measure", "set", element.getSetElement(), -1);
for (int i = 0; i < element.getGroup().size(); i++) composeMeasureMeasureGroupComponent(t, "Measure", "group", element.getGroup().get(i), i);
for (int i = 0; i < element.getSupplementalData().size(); i++) composeMeasureMeasureSupplementalDataComponent(t, "Measure", "supplementalData", element.getSupplementalData().get(i), i);
}
Aggregations