use of org.hl7.fhir.r4.model.CareTeam in project org.hl7.fhir.core by hapifhir.
the class RdfParser method composeCareTeamCareTeamParticipantComponent.
protected void composeCareTeamCareTeamParticipantComponent(Complex parent, String parentType, String name, CareTeam.CareTeamParticipantComponent element, int index) {
if (element == null)
return;
Complex t;
if (Utilities.noString(parentType))
t = parent;
else {
t = parent.predicate("fhir:" + parentType + '.' + name);
}
composeBackboneElement(t, "participant", name, element, index);
if (element.hasRole())
composeCodeableConcept(t, "CareTeam", "role", element.getRole(), -1);
if (element.hasMember())
composeReference(t, "CareTeam", "member", element.getMember(), -1);
if (element.hasOnBehalfOf())
composeReference(t, "CareTeam", "onBehalfOf", element.getOnBehalfOf(), -1);
if (element.hasPeriod())
composePeriod(t, "CareTeam", "period", element.getPeriod(), -1);
}
use of org.hl7.fhir.r4.model.CareTeam in project org.hl7.fhir.core by hapifhir.
the class RdfParser method composeCareTeam.
protected void composeCareTeam(Complex parent, String parentType, String name, CareTeam element, int index) {
if (element == null)
return;
Complex t;
if (Utilities.noString(parentType))
t = parent;
else {
t = parent.predicate("fhir:" + parentType + '.' + name);
}
composeDomainResource(t, "CareTeam", name, element, index);
for (int i = 0; i < element.getIdentifier().size(); i++) composeIdentifier(t, "CareTeam", "identifier", element.getIdentifier().get(i), i);
if (element.hasStatusElement())
composeEnum(t, "CareTeam", "status", element.getStatusElement(), -1);
for (int i = 0; i < element.getCategory().size(); i++) composeCodeableConcept(t, "CareTeam", "category", element.getCategory().get(i), i);
if (element.hasNameElement())
composeString(t, "CareTeam", "name", element.getNameElement(), -1);
if (element.hasSubject())
composeReference(t, "CareTeam", "subject", element.getSubject(), -1);
if (element.hasContext())
composeReference(t, "CareTeam", "context", element.getContext(), -1);
if (element.hasPeriod())
composePeriod(t, "CareTeam", "period", element.getPeriod(), -1);
for (int i = 0; i < element.getParticipant().size(); i++) composeCareTeamCareTeamParticipantComponent(t, "CareTeam", "participant", element.getParticipant().get(i), i);
for (int i = 0; i < element.getReasonCode().size(); i++) composeCodeableConcept(t, "CareTeam", "reasonCode", element.getReasonCode().get(i), i);
for (int i = 0; i < element.getReasonReference().size(); i++) composeReference(t, "CareTeam", "reasonReference", element.getReasonReference().get(i), i);
for (int i = 0; i < element.getManagingOrganization().size(); i++) composeReference(t, "CareTeam", "managingOrganization", element.getManagingOrganization().get(i), i);
for (int i = 0; i < element.getNote().size(); i++) composeAnnotation(t, "CareTeam", "note", element.getNote().get(i), i);
}
use of org.hl7.fhir.r4.model.CareTeam in project org.hl7.fhir.core by hapifhir.
the class RdfParser method composeExplanationOfBenefitCareTeamComponent.
protected void composeExplanationOfBenefitCareTeamComponent(Complex parent, String parentType, String name, ExplanationOfBenefit.CareTeamComponent element, int index) {
if (element == null)
return;
Complex t;
if (Utilities.noString(parentType))
t = parent;
else {
t = parent.predicate("fhir:" + parentType + '.' + name);
}
composeBackboneElement(t, "careTeam", name, element, index);
if (element.hasSequenceElement())
composePositiveInt(t, "ExplanationOfBenefit", "sequence", element.getSequenceElement(), -1);
if (element.hasProvider())
composeReference(t, "ExplanationOfBenefit", "provider", element.getProvider(), -1);
if (element.hasResponsibleElement())
composeBoolean(t, "ExplanationOfBenefit", "responsible", element.getResponsibleElement(), -1);
if (element.hasRole())
composeCodeableConcept(t, "ExplanationOfBenefit", "role", element.getRole(), -1);
if (element.hasQualification())
composeCodeableConcept(t, "ExplanationOfBenefit", "qualification", element.getQualification(), -1);
}
use of org.hl7.fhir.r4.model.CareTeam in project org.hl7.fhir.core by hapifhir.
the class RdfParser method composeClaim.
protected void composeClaim(Complex parent, String parentType, String name, Claim element, int index) {
if (element == null)
return;
Complex t;
if (Utilities.noString(parentType))
t = parent;
else {
t = parent.predicate("fhir:" + parentType + '.' + name);
}
composeDomainResource(t, "Claim", name, element, index);
for (int i = 0; i < element.getIdentifier().size(); i++) composeIdentifier(t, "Claim", "identifier", element.getIdentifier().get(i), i);
if (element.hasStatusElement())
composeEnum(t, "Claim", "status", element.getStatusElement(), -1);
if (element.hasType())
composeCodeableConcept(t, "Claim", "type", element.getType(), -1);
if (element.hasSubType())
composeCodeableConcept(t, "Claim", "subType", element.getSubType(), -1);
if (element.hasUseElement())
composeEnum(t, "Claim", "use", element.getUseElement(), -1);
if (element.hasPatient())
composeReference(t, "Claim", "patient", element.getPatient(), -1);
if (element.hasBillablePeriod())
composePeriod(t, "Claim", "billablePeriod", element.getBillablePeriod(), -1);
if (element.hasCreatedElement())
composeDateTime(t, "Claim", "created", element.getCreatedElement(), -1);
if (element.hasEnterer())
composeReference(t, "Claim", "enterer", element.getEnterer(), -1);
if (element.hasInsurer())
composeReference(t, "Claim", "insurer", element.getInsurer(), -1);
if (element.hasProvider())
composeReference(t, "Claim", "provider", element.getProvider(), -1);
if (element.hasPriority())
composeCodeableConcept(t, "Claim", "priority", element.getPriority(), -1);
if (element.hasFundsReserve())
composeCodeableConcept(t, "Claim", "fundsReserve", element.getFundsReserve(), -1);
for (int i = 0; i < element.getRelated().size(); i++) composeClaimRelatedClaimComponent(t, "Claim", "related", element.getRelated().get(i), i);
if (element.hasPrescription())
composeReference(t, "Claim", "prescription", element.getPrescription(), -1);
if (element.hasOriginalPrescription())
composeReference(t, "Claim", "originalPrescription", element.getOriginalPrescription(), -1);
if (element.hasPayee())
composeClaimPayeeComponent(t, "Claim", "payee", element.getPayee(), -1);
if (element.hasReferral())
composeReference(t, "Claim", "referral", element.getReferral(), -1);
if (element.hasFacility())
composeReference(t, "Claim", "facility", element.getFacility(), -1);
for (int i = 0; i < element.getCareTeam().size(); i++) composeClaimCareTeamComponent(t, "Claim", "careTeam", element.getCareTeam().get(i), i);
for (int i = 0; i < element.getSupportingInfo().size(); i++) composeClaimSupportingInformationComponent(t, "Claim", "supportingInfo", element.getSupportingInfo().get(i), i);
for (int i = 0; i < element.getDiagnosis().size(); i++) composeClaimDiagnosisComponent(t, "Claim", "diagnosis", element.getDiagnosis().get(i), i);
for (int i = 0; i < element.getProcedure().size(); i++) composeClaimProcedureComponent(t, "Claim", "procedure", element.getProcedure().get(i), i);
for (int i = 0; i < element.getInsurance().size(); i++) composeClaimInsuranceComponent(t, "Claim", "insurance", element.getInsurance().get(i), i);
if (element.hasAccident())
composeClaimAccidentComponent(t, "Claim", "accident", element.getAccident(), -1);
for (int i = 0; i < element.getItem().size(); i++) composeClaimItemComponent(t, "Claim", "item", element.getItem().get(i), i);
if (element.hasTotal())
composeMoney(t, "Claim", "total", element.getTotal(), -1);
}
use of org.hl7.fhir.r4.model.CareTeam in project org.hl7.fhir.core by hapifhir.
the class RdfParser method composeExplanationOfBenefit.
protected void composeExplanationOfBenefit(Complex parent, String parentType, String name, ExplanationOfBenefit element, int index) {
if (element == null)
return;
Complex t;
if (Utilities.noString(parentType))
t = parent;
else {
t = parent.predicate("fhir:" + parentType + '.' + name);
}
composeDomainResource(t, "ExplanationOfBenefit", name, element, index);
for (int i = 0; i < element.getIdentifier().size(); i++) composeIdentifier(t, "ExplanationOfBenefit", "identifier", element.getIdentifier().get(i), i);
if (element.hasStatusElement())
composeEnum(t, "ExplanationOfBenefit", "status", element.getStatusElement(), -1);
if (element.hasType())
composeCodeableConcept(t, "ExplanationOfBenefit", "type", element.getType(), -1);
if (element.hasSubType())
composeCodeableConcept(t, "ExplanationOfBenefit", "subType", element.getSubType(), -1);
if (element.hasUseElement())
composeEnum(t, "ExplanationOfBenefit", "use", element.getUseElement(), -1);
if (element.hasPatient())
composeReference(t, "ExplanationOfBenefit", "patient", element.getPatient(), -1);
if (element.hasBillablePeriod())
composePeriod(t, "ExplanationOfBenefit", "billablePeriod", element.getBillablePeriod(), -1);
if (element.hasCreatedElement())
composeDateTime(t, "ExplanationOfBenefit", "created", element.getCreatedElement(), -1);
if (element.hasEnterer())
composeReference(t, "ExplanationOfBenefit", "enterer", element.getEnterer(), -1);
if (element.hasInsurer())
composeReference(t, "ExplanationOfBenefit", "insurer", element.getInsurer(), -1);
if (element.hasProvider())
composeReference(t, "ExplanationOfBenefit", "provider", element.getProvider(), -1);
if (element.hasPriority())
composeCodeableConcept(t, "ExplanationOfBenefit", "priority", element.getPriority(), -1);
if (element.hasFundsReserveRequested())
composeCodeableConcept(t, "ExplanationOfBenefit", "fundsReserveRequested", element.getFundsReserveRequested(), -1);
if (element.hasFundsReserve())
composeCodeableConcept(t, "ExplanationOfBenefit", "fundsReserve", element.getFundsReserve(), -1);
for (int i = 0; i < element.getRelated().size(); i++) composeExplanationOfBenefitRelatedClaimComponent(t, "ExplanationOfBenefit", "related", element.getRelated().get(i), i);
if (element.hasPrescription())
composeReference(t, "ExplanationOfBenefit", "prescription", element.getPrescription(), -1);
if (element.hasOriginalPrescription())
composeReference(t, "ExplanationOfBenefit", "originalPrescription", element.getOriginalPrescription(), -1);
if (element.hasPayee())
composeExplanationOfBenefitPayeeComponent(t, "ExplanationOfBenefit", "payee", element.getPayee(), -1);
if (element.hasReferral())
composeReference(t, "ExplanationOfBenefit", "referral", element.getReferral(), -1);
if (element.hasFacility())
composeReference(t, "ExplanationOfBenefit", "facility", element.getFacility(), -1);
if (element.hasClaim())
composeReference(t, "ExplanationOfBenefit", "claim", element.getClaim(), -1);
if (element.hasClaimResponse())
composeReference(t, "ExplanationOfBenefit", "claimResponse", element.getClaimResponse(), -1);
if (element.hasOutcomeElement())
composeEnum(t, "ExplanationOfBenefit", "outcome", element.getOutcomeElement(), -1);
if (element.hasDispositionElement())
composeString(t, "ExplanationOfBenefit", "disposition", element.getDispositionElement(), -1);
for (int i = 0; i < element.getPreAuthRef().size(); i++) composeString(t, "ExplanationOfBenefit", "preAuthRef", element.getPreAuthRef().get(i), i);
for (int i = 0; i < element.getPreAuthRefPeriod().size(); i++) composePeriod(t, "ExplanationOfBenefit", "preAuthRefPeriod", element.getPreAuthRefPeriod().get(i), i);
for (int i = 0; i < element.getCareTeam().size(); i++) composeExplanationOfBenefitCareTeamComponent(t, "ExplanationOfBenefit", "careTeam", element.getCareTeam().get(i), i);
for (int i = 0; i < element.getSupportingInfo().size(); i++) composeExplanationOfBenefitSupportingInformationComponent(t, "ExplanationOfBenefit", "supportingInfo", element.getSupportingInfo().get(i), i);
for (int i = 0; i < element.getDiagnosis().size(); i++) composeExplanationOfBenefitDiagnosisComponent(t, "ExplanationOfBenefit", "diagnosis", element.getDiagnosis().get(i), i);
for (int i = 0; i < element.getProcedure().size(); i++) composeExplanationOfBenefitProcedureComponent(t, "ExplanationOfBenefit", "procedure", element.getProcedure().get(i), i);
if (element.hasPrecedenceElement())
composePositiveInt(t, "ExplanationOfBenefit", "precedence", element.getPrecedenceElement(), -1);
for (int i = 0; i < element.getInsurance().size(); i++) composeExplanationOfBenefitInsuranceComponent(t, "ExplanationOfBenefit", "insurance", element.getInsurance().get(i), i);
if (element.hasAccident())
composeExplanationOfBenefitAccidentComponent(t, "ExplanationOfBenefit", "accident", element.getAccident(), -1);
for (int i = 0; i < element.getItem().size(); i++) composeExplanationOfBenefitItemComponent(t, "ExplanationOfBenefit", "item", element.getItem().get(i), i);
for (int i = 0; i < element.getAddItem().size(); i++) composeExplanationOfBenefitAddedItemComponent(t, "ExplanationOfBenefit", "addItem", element.getAddItem().get(i), i);
for (int i = 0; i < element.getAdjudication().size(); i++) composeExplanationOfBenefitAdjudicationComponent(t, "ExplanationOfBenefit", "adjudication", element.getAdjudication().get(i), i);
for (int i = 0; i < element.getTotal().size(); i++) composeExplanationOfBenefitTotalComponent(t, "ExplanationOfBenefit", "total", element.getTotal().get(i), i);
if (element.hasPayment())
composeExplanationOfBenefitPaymentComponent(t, "ExplanationOfBenefit", "payment", element.getPayment(), -1);
if (element.hasFormCode())
composeCodeableConcept(t, "ExplanationOfBenefit", "formCode", element.getFormCode(), -1);
if (element.hasForm())
composeAttachment(t, "ExplanationOfBenefit", "form", element.getForm(), -1);
for (int i = 0; i < element.getProcessNote().size(); i++) composeExplanationOfBenefitNoteComponent(t, "ExplanationOfBenefit", "processNote", element.getProcessNote().get(i), i);
if (element.hasBenefitPeriod())
composePeriod(t, "ExplanationOfBenefit", "benefitPeriod", element.getBenefitPeriod(), -1);
for (int i = 0; i < element.getBenefitBalance().size(); i++) composeExplanationOfBenefitBenefitBalanceComponent(t, "ExplanationOfBenefit", "benefitBalance", element.getBenefitBalance().get(i), i);
}
Aggregations