use of org.hl7.fhir.r4.model.ClaimResponse in project org.hl7.fhir.core by hapifhir.
the class RdfParser method composeClaimResponseAddedItemAdjudicationComponent.
protected void composeClaimResponseAddedItemAdjudicationComponent(Complex parent, String parentType, String name, ClaimResponse.AddedItemAdjudicationComponent element, int index) {
if (element == null)
return;
Complex t;
if (Utilities.noString(parentType))
t = parent;
else {
t = parent.predicate("fhir:" + parentType + '.' + name);
}
composeBackboneElement(t, "adjudication", name, element, index);
if (element.hasCategory())
composeCoding(t, "ClaimResponse", "category", element.getCategory(), -1);
if (element.hasReason())
composeCoding(t, "ClaimResponse", "reason", element.getReason(), -1);
if (element.hasAmount())
composeQuantity(t, "ClaimResponse", "amount", element.getAmount(), -1);
if (element.hasValueElement())
composeDecimal(t, "ClaimResponse", "value", element.getValueElement(), -1);
}
use of org.hl7.fhir.r4.model.ClaimResponse in project org.hl7.fhir.core by hapifhir.
the class RdfParser method composeClaimResponseSubDetailComponent.
protected void composeClaimResponseSubDetailComponent(Complex parent, String parentType, String name, ClaimResponse.SubDetailComponent element, int index) {
if (element == null)
return;
Complex t;
if (Utilities.noString(parentType))
t = parent;
else {
t = parent.predicate("fhir:" + parentType + '.' + name);
}
composeBackboneElement(t, "subDetail", name, element, index);
if (element.hasSequenceLinkIdElement())
composePositiveInt(t, "ClaimResponse", "sequenceLinkId", element.getSequenceLinkIdElement(), -1);
for (int i = 0; i < element.getAdjudication().size(); i++) composeClaimResponseSubdetailAdjudicationComponent(t, "ClaimResponse", "adjudication", element.getAdjudication().get(i), i);
}
use of org.hl7.fhir.r4.model.ClaimResponse in project org.hl7.fhir.core by hapifhir.
the class RdfParser method composeClaimResponseAddedItemComponent.
protected void composeClaimResponseAddedItemComponent(Complex parent, String parentType, String name, ClaimResponse.AddedItemComponent element, int index) {
if (element == null)
return;
Complex t;
if (Utilities.noString(parentType))
t = parent;
else {
t = parent.predicate("fhir:" + parentType + '.' + name);
}
composeBackboneElement(t, "addItem", name, element, index);
for (int i = 0; i < element.getSequenceLinkId().size(); i++) composePositiveInt(t, "ClaimResponse", "sequenceLinkId", element.getSequenceLinkId().get(i), i);
if (element.hasService())
composeCoding(t, "ClaimResponse", "service", element.getService(), -1);
if (element.hasFee())
composeQuantity(t, "ClaimResponse", "fee", element.getFee(), -1);
for (int i = 0; i < element.getNoteNumberLinkId().size(); i++) composePositiveInt(t, "ClaimResponse", "noteNumberLinkId", element.getNoteNumberLinkId().get(i), i);
for (int i = 0; i < element.getAdjudication().size(); i++) composeClaimResponseAddedItemAdjudicationComponent(t, "ClaimResponse", "adjudication", element.getAdjudication().get(i), i);
for (int i = 0; i < element.getDetail().size(); i++) composeClaimResponseAddedItemsDetailComponent(t, "ClaimResponse", "detail", element.getDetail().get(i), i);
}
use of org.hl7.fhir.r4.model.ClaimResponse in project org.hl7.fhir.core by hapifhir.
the class RdfParser method composeClaimCoverageComponent.
protected void composeClaimCoverageComponent(Complex parent, String parentType, String name, Claim.CoverageComponent element, int index) {
if (element == null)
return;
Complex t;
if (Utilities.noString(parentType))
t = parent;
else {
t = parent.predicate("fhir:" + parentType + '.' + name);
}
composeBackboneElement(t, "coverage", name, element, index);
if (element.hasSequenceElement())
composePositiveInt(t, "Claim", "sequence", element.getSequenceElement(), -1);
if (element.hasFocalElement())
composeBoolean(t, "Claim", "focal", element.getFocalElement(), -1);
if (element.hasCoverage())
composeType(t, "Claim", "coverage", element.getCoverage(), -1);
if (element.hasBusinessArrangementElement())
composeString(t, "Claim", "businessArrangement", element.getBusinessArrangementElement(), -1);
for (int i = 0; i < element.getPreAuthRef().size(); i++) composeString(t, "Claim", "preAuthRef", element.getPreAuthRef().get(i), i);
if (element.hasClaimResponse())
composeReference(t, "Claim", "claimResponse", element.getClaimResponse(), -1);
if (element.hasOriginalRuleset())
composeCoding(t, "Claim", "originalRuleset", element.getOriginalRuleset(), -1);
}
use of org.hl7.fhir.r4.model.ClaimResponse in project org.hl7.fhir.core by hapifhir.
the class RdfParser method composeClaimResponseInsuranceComponent.
protected void composeClaimResponseInsuranceComponent(Complex parent, String parentType, String name, ClaimResponse.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.hasSequenceElement())
composePositiveInt(t, "ClaimResponse", "sequence", element.getSequenceElement(), -1);
if (element.hasFocalElement())
composeBoolean(t, "ClaimResponse", "focal", element.getFocalElement(), -1);
if (element.hasCoverage())
composeReference(t, "ClaimResponse", "coverage", element.getCoverage(), -1);
if (element.hasBusinessArrangementElement())
composeString(t, "ClaimResponse", "businessArrangement", element.getBusinessArrangementElement(), -1);
if (element.hasClaimResponse())
composeReference(t, "ClaimResponse", "claimResponse", element.getClaimResponse(), -1);
}
Aggregations