use of org.hl7.fhir.dstu3.model.codesystems.BenefitCategory in project org.hl7.fhir.core by hapifhir.
the class RdfParser method composeEligibilityRequest.
protected void composeEligibilityRequest(Complex parent, String parentType, String name, EligibilityRequest element, int index) {
if (element == null)
return;
Complex t;
if (Utilities.noString(parentType))
t = parent;
else {
t = parent.predicate("fhir:" + parentType + '.' + name);
}
composeDomainResource(t, "EligibilityRequest", name, element, index);
for (int i = 0; i < element.getIdentifier().size(); i++) composeIdentifier(t, "EligibilityRequest", "identifier", element.getIdentifier().get(i), i);
if (element.hasStatusElement())
composeEnum(t, "EligibilityRequest", "status", element.getStatusElement(), -1);
if (element.hasPriority())
composeCodeableConcept(t, "EligibilityRequest", "priority", element.getPriority(), -1);
if (element.hasPatient())
composeReference(t, "EligibilityRequest", "patient", element.getPatient(), -1);
if (element.hasServiced())
composeType(t, "EligibilityRequest", "serviced", element.getServiced(), -1);
if (element.hasCreatedElement())
composeDateTime(t, "EligibilityRequest", "created", element.getCreatedElement(), -1);
if (element.hasEnterer())
composeReference(t, "EligibilityRequest", "enterer", element.getEnterer(), -1);
if (element.hasProvider())
composeReference(t, "EligibilityRequest", "provider", element.getProvider(), -1);
if (element.hasOrganization())
composeReference(t, "EligibilityRequest", "organization", element.getOrganization(), -1);
if (element.hasInsurer())
composeReference(t, "EligibilityRequest", "insurer", element.getInsurer(), -1);
if (element.hasFacility())
composeReference(t, "EligibilityRequest", "facility", element.getFacility(), -1);
if (element.hasCoverage())
composeReference(t, "EligibilityRequest", "coverage", element.getCoverage(), -1);
if (element.hasBusinessArrangementElement())
composeString(t, "EligibilityRequest", "businessArrangement", element.getBusinessArrangementElement(), -1);
if (element.hasBenefitCategory())
composeCodeableConcept(t, "EligibilityRequest", "benefitCategory", element.getBenefitCategory(), -1);
if (element.hasBenefitSubCategory())
composeCodeableConcept(t, "EligibilityRequest", "benefitSubCategory", element.getBenefitSubCategory(), -1);
}
Aggregations