use of org.hl7.fhir.r4.model.CoverageEligibilityResponse in project org.hl7.fhir.core by hapifhir.
the class RdfParser method composeCoverageEligibilityResponse.
protected void composeCoverageEligibilityResponse(Complex parent, String parentType, String name, CoverageEligibilityResponse element, int index) {
if (element == null)
return;
Complex t;
if (Utilities.noString(parentType))
t = parent;
else {
t = parent.predicate("fhir:" + parentType + '.' + name);
}
composeDomainResource(t, "CoverageEligibilityResponse", name, element, index);
for (int i = 0; i < element.getIdentifier().size(); i++) composeIdentifier(t, "CoverageEligibilityResponse", "identifier", element.getIdentifier().get(i), i);
if (element.hasStatusElement())
composeEnum(t, "CoverageEligibilityResponse", "status", element.getStatusElement(), -1);
for (int i = 0; i < element.getPurpose().size(); i++) composeEnum(t, "CoverageEligibilityResponse", "purpose", element.getPurpose().get(i), i);
if (element.hasPatient())
composeReference(t, "CoverageEligibilityResponse", "patient", element.getPatient(), -1);
if (element.hasServiced())
composeType(t, "CoverageEligibilityResponse", "serviced", element.getServiced(), -1);
if (element.hasCreatedElement())
composeDateTime(t, "CoverageEligibilityResponse", "created", element.getCreatedElement(), -1);
if (element.hasRequestor())
composeReference(t, "CoverageEligibilityResponse", "requestor", element.getRequestor(), -1);
if (element.hasRequest())
composeReference(t, "CoverageEligibilityResponse", "request", element.getRequest(), -1);
if (element.hasOutcomeElement())
composeEnum(t, "CoverageEligibilityResponse", "outcome", element.getOutcomeElement(), -1);
if (element.hasDispositionElement())
composeString(t, "CoverageEligibilityResponse", "disposition", element.getDispositionElement(), -1);
if (element.hasInsurer())
composeReference(t, "CoverageEligibilityResponse", "insurer", element.getInsurer(), -1);
for (int i = 0; i < element.getInsurance().size(); i++) composeCoverageEligibilityResponseInsuranceComponent(t, "CoverageEligibilityResponse", "insurance", element.getInsurance().get(i), i);
if (element.hasPreAuthRefElement())
composeString(t, "CoverageEligibilityResponse", "preAuthRef", element.getPreAuthRefElement(), -1);
if (element.hasForm())
composeCodeableConcept(t, "CoverageEligibilityResponse", "form", element.getForm(), -1);
for (int i = 0; i < element.getError().size(); i++) composeCoverageEligibilityResponseErrorsComponent(t, "CoverageEligibilityResponse", "error", element.getError().get(i), i);
}
use of org.hl7.fhir.r4.model.CoverageEligibilityResponse in project org.hl7.fhir.core by hapifhir.
the class RdfParser method composeCoverageEligibilityResponseBenefitComponent.
protected void composeCoverageEligibilityResponseBenefitComponent(Complex parent, String parentType, String name, CoverageEligibilityResponse.BenefitComponent element, int index) {
if (element == null)
return;
Complex t;
if (Utilities.noString(parentType))
t = parent;
else {
t = parent.predicate("fhir:" + parentType + '.' + name);
}
composeBackboneElement(t, "benefit", name, element, index);
if (element.hasType())
composeCodeableConcept(t, "CoverageEligibilityResponse", "type", element.getType(), -1);
if (element.hasAllowed())
composeType(t, "CoverageEligibilityResponse", "allowed", element.getAllowed(), -1);
if (element.hasUsed())
composeType(t, "CoverageEligibilityResponse", "used", element.getUsed(), -1);
}
use of org.hl7.fhir.r4.model.CoverageEligibilityResponse in project org.hl7.fhir.core by hapifhir.
the class RdfParser method composeCoverageEligibilityResponseErrorsComponent.
protected void composeCoverageEligibilityResponseErrorsComponent(Complex parent, String parentType, String name, CoverageEligibilityResponse.ErrorsComponent element, int index) {
if (element == null)
return;
Complex t;
if (Utilities.noString(parentType))
t = parent;
else {
t = parent.predicate("fhir:" + parentType + '.' + name);
}
composeBackboneElement(t, "error", name, element, index);
if (element.hasCode())
composeCodeableConcept(t, "CoverageEligibilityResponse", "code", element.getCode(), -1);
}
use of org.hl7.fhir.r4.model.CoverageEligibilityResponse in project org.hl7.fhir.core by hapifhir.
the class RdfParser method composeCoverageEligibilityResponseItemsComponent.
protected void composeCoverageEligibilityResponseItemsComponent(Complex parent, String parentType, String name, CoverageEligibilityResponse.ItemsComponent element, int index) {
if (element == null)
return;
Complex t;
if (Utilities.noString(parentType))
t = parent;
else {
t = parent.predicate("fhir:" + parentType + '.' + name);
}
composeBackboneElement(t, "item", name, element, index);
if (element.hasCategory())
composeCodeableConcept(t, "CoverageEligibilityResponse", "category", element.getCategory(), -1);
if (element.hasProductOrService())
composeCodeableConcept(t, "CoverageEligibilityResponse", "productOrService", element.getProductOrService(), -1);
for (int i = 0; i < element.getModifier().size(); i++) composeCodeableConcept(t, "CoverageEligibilityResponse", "modifier", element.getModifier().get(i), i);
if (element.hasProvider())
composeReference(t, "CoverageEligibilityResponse", "provider", element.getProvider(), -1);
if (element.hasExcludedElement())
composeBoolean(t, "CoverageEligibilityResponse", "excluded", element.getExcludedElement(), -1);
if (element.hasNameElement())
composeString(t, "CoverageEligibilityResponse", "name", element.getNameElement(), -1);
if (element.hasDescriptionElement())
composeString(t, "CoverageEligibilityResponse", "description", element.getDescriptionElement(), -1);
if (element.hasNetwork())
composeCodeableConcept(t, "CoverageEligibilityResponse", "network", element.getNetwork(), -1);
if (element.hasUnit())
composeCodeableConcept(t, "CoverageEligibilityResponse", "unit", element.getUnit(), -1);
if (element.hasTerm())
composeCodeableConcept(t, "CoverageEligibilityResponse", "term", element.getTerm(), -1);
for (int i = 0; i < element.getBenefit().size(); i++) composeCoverageEligibilityResponseBenefitComponent(t, "CoverageEligibilityResponse", "benefit", element.getBenefit().get(i), i);
if (element.hasAuthorizationRequiredElement())
composeBoolean(t, "CoverageEligibilityResponse", "authorizationRequired", element.getAuthorizationRequiredElement(), -1);
for (int i = 0; i < element.getAuthorizationSupporting().size(); i++) composeCodeableConcept(t, "CoverageEligibilityResponse", "authorizationSupporting", element.getAuthorizationSupporting().get(i), i);
if (element.hasAuthorizationUrlElement())
composeUri(t, "CoverageEligibilityResponse", "authorizationUrl", element.getAuthorizationUrlElement(), -1);
}
use of org.hl7.fhir.r4.model.CoverageEligibilityResponse in project org.hl7.fhir.core by hapifhir.
the class RdfParser method composeCoverageEligibilityResponseInsuranceComponent.
protected void composeCoverageEligibilityResponseInsuranceComponent(Complex parent, String parentType, String name, CoverageEligibilityResponse.InsuranceComponent element, int index) {
if (element == null)
return;
Complex t;
if (Utilities.noString(parentType))
t = parent;
else {
t = parent.predicate("fhir:" + parentType + '.' + name);
}
composeBackboneElement(t, "insurance", name, element, index);
if (element.hasCoverage())
composeReference(t, "CoverageEligibilityResponse", "coverage", element.getCoverage(), -1);
if (element.hasInforceElement())
composeBoolean(t, "CoverageEligibilityResponse", "inforce", element.getInforceElement(), -1);
if (element.hasBenefitPeriod())
composePeriod(t, "CoverageEligibilityResponse", "benefitPeriod", element.getBenefitPeriod(), -1);
for (int i = 0; i < element.getItem().size(); i++) composeCoverageEligibilityResponseItemsComponent(t, "CoverageEligibilityResponse", "item", element.getItem().get(i), i);
}
Aggregations