use of org.hl7.fhir.r5.model.Topic in project org.hl7.fhir.core by hapifhir.
the class RdfParser method composeContract.
protected void composeContract(Complex parent, String parentType, String name, Contract element, int index) {
if (element == null)
return;
Complex t;
if (Utilities.noString(parentType))
t = parent;
else {
t = parent.predicate("fhir:" + parentType + '.' + name);
}
composeDomainResource(t, "Contract", name, element, index);
if (element.hasIdentifier())
composeIdentifier(t, "Contract", "identifier", element.getIdentifier(), -1);
if (element.hasStatusElement())
composeEnum(t, "Contract", "status", element.getStatusElement(), -1);
if (element.hasIssuedElement())
composeDateTime(t, "Contract", "issued", element.getIssuedElement(), -1);
if (element.hasApplies())
composePeriod(t, "Contract", "applies", element.getApplies(), -1);
for (int i = 0; i < element.getSubject().size(); i++) composeReference(t, "Contract", "subject", element.getSubject().get(i), i);
for (int i = 0; i < element.getTopic().size(); i++) composeReference(t, "Contract", "topic", element.getTopic().get(i), i);
for (int i = 0; i < element.getAuthority().size(); i++) composeReference(t, "Contract", "authority", element.getAuthority().get(i), i);
for (int i = 0; i < element.getDomain().size(); i++) composeReference(t, "Contract", "domain", element.getDomain().get(i), i);
if (element.hasType())
composeCodeableConcept(t, "Contract", "type", element.getType(), -1);
for (int i = 0; i < element.getSubType().size(); i++) composeCodeableConcept(t, "Contract", "subType", element.getSubType().get(i), i);
for (int i = 0; i < element.getAction().size(); i++) composeCodeableConcept(t, "Contract", "action", element.getAction().get(i), i);
for (int i = 0; i < element.getActionReason().size(); i++) composeCodeableConcept(t, "Contract", "actionReason", element.getActionReason().get(i), i);
if (element.hasDecisionType())
composeCodeableConcept(t, "Contract", "decisionType", element.getDecisionType(), -1);
if (element.hasContentDerivative())
composeCodeableConcept(t, "Contract", "contentDerivative", element.getContentDerivative(), -1);
for (int i = 0; i < element.getSecurityLabel().size(); i++) composeCoding(t, "Contract", "securityLabel", element.getSecurityLabel().get(i), i);
for (int i = 0; i < element.getAgent().size(); i++) composeContractAgentComponent(t, "Contract", "agent", element.getAgent().get(i), i);
for (int i = 0; i < element.getSigner().size(); i++) composeContractSignatoryComponent(t, "Contract", "signer", element.getSigner().get(i), i);
for (int i = 0; i < element.getValuedItem().size(); i++) composeContractValuedItemComponent(t, "Contract", "valuedItem", element.getValuedItem().get(i), i);
for (int i = 0; i < element.getTerm().size(); i++) composeContractTermComponent(t, "Contract", "term", element.getTerm().get(i), i);
if (element.hasBinding())
composeType(t, "Contract", "binding", element.getBinding(), -1);
for (int i = 0; i < element.getFriendly().size(); i++) composeContractFriendlyLanguageComponent(t, "Contract", "friendly", element.getFriendly().get(i), i);
for (int i = 0; i < element.getLegal().size(); i++) composeContractLegalLanguageComponent(t, "Contract", "legal", element.getLegal().get(i), i);
for (int i = 0; i < element.getRule().size(); i++) composeContractComputableLanguageComponent(t, "Contract", "rule", element.getRule().get(i), i);
}
use of org.hl7.fhir.r5.model.Topic 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.Topic 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);
}
use of org.hl7.fhir.r5.model.Topic in project org.hl7.fhir.core by hapifhir.
the class RdfParser method composeCommunication.
protected void composeCommunication(Complex parent, String parentType, String name, Communication element, int index) {
if (element == null)
return;
Complex t;
if (Utilities.noString(parentType))
t = parent;
else {
t = parent.predicate("fhir:" + parentType + '.' + name);
}
composeDomainResource(t, "Communication", name, element, index);
for (int i = 0; i < element.getIdentifier().size(); i++) composeIdentifier(t, "Communication", "identifier", element.getIdentifier().get(i), i);
for (int i = 0; i < element.getDefinition().size(); i++) composeReference(t, "Communication", "definition", element.getDefinition().get(i), i);
for (int i = 0; i < element.getBasedOn().size(); i++) composeReference(t, "Communication", "basedOn", element.getBasedOn().get(i), i);
for (int i = 0; i < element.getPartOf().size(); i++) composeReference(t, "Communication", "partOf", element.getPartOf().get(i), i);
if (element.hasStatusElement())
composeEnum(t, "Communication", "status", element.getStatusElement(), -1);
if (element.hasNotDoneElement())
composeBoolean(t, "Communication", "notDone", element.getNotDoneElement(), -1);
if (element.hasNotDoneReason())
composeCodeableConcept(t, "Communication", "notDoneReason", element.getNotDoneReason(), -1);
for (int i = 0; i < element.getCategory().size(); i++) composeCodeableConcept(t, "Communication", "category", element.getCategory().get(i), i);
for (int i = 0; i < element.getMedium().size(); i++) composeCodeableConcept(t, "Communication", "medium", element.getMedium().get(i), i);
if (element.hasSubject())
composeReference(t, "Communication", "subject", element.getSubject(), -1);
for (int i = 0; i < element.getRecipient().size(); i++) composeReference(t, "Communication", "recipient", element.getRecipient().get(i), i);
for (int i = 0; i < element.getTopic().size(); i++) composeReference(t, "Communication", "topic", element.getTopic().get(i), i);
if (element.hasContext())
composeReference(t, "Communication", "context", element.getContext(), -1);
if (element.hasSentElement())
composeDateTime(t, "Communication", "sent", element.getSentElement(), -1);
if (element.hasReceivedElement())
composeDateTime(t, "Communication", "received", element.getReceivedElement(), -1);
if (element.hasSender())
composeReference(t, "Communication", "sender", element.getSender(), -1);
for (int i = 0; i < element.getReasonCode().size(); i++) composeCodeableConcept(t, "Communication", "reasonCode", element.getReasonCode().get(i), i);
for (int i = 0; i < element.getReasonReference().size(); i++) composeReference(t, "Communication", "reasonReference", element.getReasonReference().get(i), i);
for (int i = 0; i < element.getPayload().size(); i++) composeCommunicationCommunicationPayloadComponent(t, "Communication", "payload", element.getPayload().get(i), i);
for (int i = 0; i < element.getNote().size(); i++) composeAnnotation(t, "Communication", "note", element.getNote().get(i), i);
}
use of org.hl7.fhir.r5.model.Topic in project org.hl7.fhir.core by hapifhir.
the class RdfParser method composeContract.
protected void composeContract(Complex parent, String parentType, String name, Contract element, int index) {
if (element == null)
return;
Complex t;
if (Utilities.noString(parentType))
t = parent;
else {
t = parent.predicate("fhir:" + parentType + '.' + name);
}
composeDomainResource(t, "Contract", name, element, index);
if (element.hasIdentifier())
composeIdentifier(t, "Contract", "identifier", element.getIdentifier(), -1);
if (element.hasIssuedElement())
composeDateTime(t, "Contract", "issued", element.getIssuedElement(), -1);
if (element.hasApplies())
composePeriod(t, "Contract", "applies", element.getApplies(), -1);
for (int i = 0; i < element.getSubject().size(); i++) composeReference(t, "Contract", "subject", element.getSubject().get(i), i);
for (int i = 0; i < element.getTopic().size(); i++) composeReference(t, "Contract", "topic", element.getTopic().get(i), i);
for (int i = 0; i < element.getAuthority().size(); i++) composeReference(t, "Contract", "authority", element.getAuthority().get(i), i);
for (int i = 0; i < element.getDomain().size(); i++) composeReference(t, "Contract", "domain", element.getDomain().get(i), i);
if (element.hasType())
composeCodeableConcept(t, "Contract", "type", element.getType(), -1);
for (int i = 0; i < element.getSubType().size(); i++) composeCodeableConcept(t, "Contract", "subType", element.getSubType().get(i), i);
for (int i = 0; i < element.getAction().size(); i++) composeCodeableConcept(t, "Contract", "action", element.getAction().get(i), i);
for (int i = 0; i < element.getActionReason().size(); i++) composeCodeableConcept(t, "Contract", "actionReason", element.getActionReason().get(i), i);
for (int i = 0; i < element.getAgent().size(); i++) composeContractAgentComponent(t, "Contract", "agent", element.getAgent().get(i), i);
for (int i = 0; i < element.getSigner().size(); i++) composeContractSignatoryComponent(t, "Contract", "signer", element.getSigner().get(i), i);
for (int i = 0; i < element.getValuedItem().size(); i++) composeContractValuedItemComponent(t, "Contract", "valuedItem", element.getValuedItem().get(i), i);
for (int i = 0; i < element.getTerm().size(); i++) composeContractTermComponent(t, "Contract", "term", element.getTerm().get(i), i);
if (element.hasBinding())
composeType(t, "Contract", "binding", element.getBinding(), -1);
for (int i = 0; i < element.getFriendly().size(); i++) composeContractFriendlyLanguageComponent(t, "Contract", "friendly", element.getFriendly().get(i), i);
for (int i = 0; i < element.getLegal().size(); i++) composeContractLegalLanguageComponent(t, "Contract", "legal", element.getLegal().get(i), i);
for (int i = 0; i < element.getRule().size(); i++) composeContractComputableLanguageComponent(t, "Contract", "rule", element.getRule().get(i), i);
}
Aggregations