use of org.hl7.fhir.r4.model.CoverageEligibilityRequest in project org.hl7.fhir.core by hapifhir.
the class RdfParser method composeCoverageEligibilityRequest.
protected void composeCoverageEligibilityRequest(Complex parent, String parentType, String name, CoverageEligibilityRequest element, int index) {
if (element == null)
return;
Complex t;
if (Utilities.noString(parentType))
t = parent;
else {
t = parent.predicate("fhir:" + parentType + '.' + name);
}
composeDomainResource(t, "CoverageEligibilityRequest", name, element, index);
for (int i = 0; i < element.getIdentifier().size(); i++) composeIdentifier(t, "CoverageEligibilityRequest", "identifier", element.getIdentifier().get(i), i);
if (element.hasStatusElement())
composeEnum(t, "CoverageEligibilityRequest", "status", element.getStatusElement(), -1);
if (element.hasPriority())
composeCodeableConcept(t, "CoverageEligibilityRequest", "priority", element.getPriority(), -1);
for (int i = 0; i < element.getPurpose().size(); i++) composeEnum(t, "CoverageEligibilityRequest", "purpose", element.getPurpose().get(i), i);
if (element.hasPatient())
composeReference(t, "CoverageEligibilityRequest", "patient", element.getPatient(), -1);
if (element.hasServiced())
composeType(t, "CoverageEligibilityRequest", "serviced", element.getServiced(), -1);
if (element.hasCreatedElement())
composeDateTime(t, "CoverageEligibilityRequest", "created", element.getCreatedElement(), -1);
if (element.hasEnterer())
composeReference(t, "CoverageEligibilityRequest", "enterer", element.getEnterer(), -1);
if (element.hasProvider())
composeReference(t, "CoverageEligibilityRequest", "provider", element.getProvider(), -1);
if (element.hasInsurer())
composeReference(t, "CoverageEligibilityRequest", "insurer", element.getInsurer(), -1);
if (element.hasFacility())
composeReference(t, "CoverageEligibilityRequest", "facility", element.getFacility(), -1);
for (int i = 0; i < element.getSupportingInfo().size(); i++) composeCoverageEligibilityRequestSupportingInformationComponent(t, "CoverageEligibilityRequest", "supportingInfo", element.getSupportingInfo().get(i), i);
for (int i = 0; i < element.getInsurance().size(); i++) composeCoverageEligibilityRequestInsuranceComponent(t, "CoverageEligibilityRequest", "insurance", element.getInsurance().get(i), i);
for (int i = 0; i < element.getItem().size(); i++) composeCoverageEligibilityRequestDetailsComponent(t, "CoverageEligibilityRequest", "item", element.getItem().get(i), i);
}
use of org.hl7.fhir.r4.model.CoverageEligibilityRequest in project org.hl7.fhir.core by hapifhir.
the class RdfParser method composeCoverageEligibilityRequestDiagnosisComponent.
protected void composeCoverageEligibilityRequestDiagnosisComponent(Complex parent, String parentType, String name, CoverageEligibilityRequest.DiagnosisComponent element, int index) {
if (element == null)
return;
Complex t;
if (Utilities.noString(parentType))
t = parent;
else {
t = parent.predicate("fhir:" + parentType + '.' + name);
}
composeBackboneElement(t, "diagnosis", name, element, index);
if (element.hasDiagnosis())
composeType(t, "CoverageEligibilityRequest", "diagnosis", element.getDiagnosis(), -1);
}
use of org.hl7.fhir.r4.model.CoverageEligibilityRequest in project org.hl7.fhir.core by hapifhir.
the class RdfParser method composeCoverageEligibilityRequestSupportingInformationComponent.
protected void composeCoverageEligibilityRequestSupportingInformationComponent(Complex parent, String parentType, String name, CoverageEligibilityRequest.SupportingInformationComponent element, int index) {
if (element == null)
return;
Complex t;
if (Utilities.noString(parentType))
t = parent;
else {
t = parent.predicate("fhir:" + parentType + '.' + name);
}
composeBackboneElement(t, "supportingInfo", name, element, index);
if (element.hasSequenceElement())
composePositiveInt(t, "CoverageEligibilityRequest", "sequence", element.getSequenceElement(), -1);
if (element.hasInformation())
composeReference(t, "CoverageEligibilityRequest", "information", element.getInformation(), -1);
if (element.hasAppliesToAllElement())
composeBoolean(t, "CoverageEligibilityRequest", "appliesToAll", element.getAppliesToAllElement(), -1);
}
use of org.hl7.fhir.r4.model.CoverageEligibilityRequest in project org.hl7.fhir.core by hapifhir.
the class RdfParser method composeCoverageEligibilityRequestInsuranceComponent.
protected void composeCoverageEligibilityRequestInsuranceComponent(Complex parent, String parentType, String name, CoverageEligibilityRequest.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.hasFocalElement())
composeBoolean(t, "CoverageEligibilityRequest", "focal", element.getFocalElement(), -1);
if (element.hasCoverage())
composeReference(t, "CoverageEligibilityRequest", "coverage", element.getCoverage(), -1);
if (element.hasBusinessArrangementElement())
composeString(t, "CoverageEligibilityRequest", "businessArrangement", element.getBusinessArrangementElement(), -1);
}
use of org.hl7.fhir.r4.model.CoverageEligibilityRequest in project org.hl7.fhir.core by hapifhir.
the class RdfParser method composeCoverageEligibilityRequestDetailsComponent.
protected void composeCoverageEligibilityRequestDetailsComponent(Complex parent, String parentType, String name, CoverageEligibilityRequest.DetailsComponent 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);
for (int i = 0; i < element.getSupportingInfoSequence().size(); i++) composePositiveInt(t, "CoverageEligibilityRequest", "supportingInfoSequence", element.getSupportingInfoSequence().get(i), i);
if (element.hasCategory())
composeCodeableConcept(t, "CoverageEligibilityRequest", "category", element.getCategory(), -1);
if (element.hasProductOrService())
composeCodeableConcept(t, "CoverageEligibilityRequest", "productOrService", element.getProductOrService(), -1);
for (int i = 0; i < element.getModifier().size(); i++) composeCodeableConcept(t, "CoverageEligibilityRequest", "modifier", element.getModifier().get(i), i);
if (element.hasProvider())
composeReference(t, "CoverageEligibilityRequest", "provider", element.getProvider(), -1);
if (element.hasQuantity())
composeQuantity(t, "CoverageEligibilityRequest", "quantity", element.getQuantity(), -1);
if (element.hasUnitPrice())
composeMoney(t, "CoverageEligibilityRequest", "unitPrice", element.getUnitPrice(), -1);
if (element.hasFacility())
composeReference(t, "CoverageEligibilityRequest", "facility", element.getFacility(), -1);
for (int i = 0; i < element.getDiagnosis().size(); i++) composeCoverageEligibilityRequestDiagnosisComponent(t, "CoverageEligibilityRequest", "diagnosis", element.getDiagnosis().get(i), i);
for (int i = 0; i < element.getDetail().size(); i++) composeReference(t, "CoverageEligibilityRequest", "detail", element.getDetail().get(i), i);
}
Aggregations