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);
for (int i = 0; i < element.getPreAuthRef().size(); i++) composeString(t, "ClaimResponse", "preAuthRef", element.getPreAuthRef().get(i), i);
if (element.hasClaimResponse())
composeReference(t, "ClaimResponse", "claimResponse", element.getClaimResponse(), -1);
}
use of org.hl7.fhir.r4.model.ClaimResponse in project org.hl7.fhir.core by hapifhir.
the class RdfParser method composeClaimResponseNoteComponent.
protected void composeClaimResponseNoteComponent(Complex parent, String parentType, String name, ClaimResponse.NoteComponent element, int index) {
if (element == null)
return;
Complex t;
if (Utilities.noString(parentType))
t = parent;
else {
t = parent.predicate("fhir:" + parentType + '.' + name);
}
composeBackboneElement(t, "processNote", name, element, index);
if (element.hasNumberElement())
composePositiveInt(t, "ClaimResponse", "number", element.getNumberElement(), -1);
if (element.hasType())
composeCodeableConcept(t, "ClaimResponse", "type", element.getType(), -1);
if (element.hasTextElement())
composeString(t, "ClaimResponse", "text", element.getTextElement(), -1);
if (element.hasLanguage())
composeCodeableConcept(t, "ClaimResponse", "language", element.getLanguage(), -1);
}
use of org.hl7.fhir.r4.model.ClaimResponse in project org.hl7.fhir.core by hapifhir.
the class RdfParser method composeClaimResponseErrorComponent.
protected void composeClaimResponseErrorComponent(Complex parent, String parentType, String name, ClaimResponse.ErrorComponent 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.hasSequenceLinkIdElement())
composePositiveInt(t, "ClaimResponse", "sequenceLinkId", element.getSequenceLinkIdElement(), -1);
if (element.hasDetailSequenceLinkIdElement())
composePositiveInt(t, "ClaimResponse", "detailSequenceLinkId", element.getDetailSequenceLinkIdElement(), -1);
if (element.hasSubdetailSequenceLinkIdElement())
composePositiveInt(t, "ClaimResponse", "subdetailSequenceLinkId", element.getSubdetailSequenceLinkIdElement(), -1);
if (element.hasCode())
composeCodeableConcept(t, "ClaimResponse", "code", element.getCode(), -1);
}
use of org.hl7.fhir.r4.model.ClaimResponse in project org.hl7.fhir.core by hapifhir.
the class RdfParser method composeClaimInsuranceComponent.
protected void composeClaimInsuranceComponent(Complex parent, String parentType, String name, Claim.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, "Claim", "sequence", element.getSequenceElement(), -1);
if (element.hasFocalElement())
composeBoolean(t, "Claim", "focal", element.getFocalElement(), -1);
if (element.hasCoverage())
composeReference(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);
}
use of org.hl7.fhir.r4.model.ClaimResponse in project org.hl7.fhir.core by hapifhir.
the class RdfParser method composeClaimResponseNotesComponent.
protected void composeClaimResponseNotesComponent(Complex parent, String parentType, String name, ClaimResponse.NotesComponent element, int index) {
if (element == null)
return;
Complex t;
if (Utilities.noString(parentType))
t = parent;
else {
t = parent.predicate("fhir:" + parentType + '.' + name);
}
composeBackboneElement(t, "note", name, element, index);
if (element.hasNumberElement())
composePositiveInt(t, "ClaimResponse", "number", element.getNumberElement(), -1);
if (element.hasType())
composeCoding(t, "ClaimResponse", "type", element.getType(), -1);
if (element.hasTextElement())
composeString(t, "ClaimResponse", "text", element.getTextElement(), -1);
}
Aggregations