use of org.hl7.fhir.dstu3.model.CommunicationRequest in project org.hl7.fhir.core by hapifhir.
the class RdfParser method composeClaimResponse.
protected void composeClaimResponse(Complex parent, String parentType, String name, ClaimResponse element, int index) {
if (element == null)
return;
Complex t;
if (Utilities.noString(parentType))
t = parent;
else {
t = parent.predicate("fhir:" + parentType + '.' + name);
}
composeDomainResource(t, "ClaimResponse", name, element, index);
for (int i = 0; i < element.getIdentifier().size(); i++) composeIdentifier(t, "ClaimResponse", "identifier", element.getIdentifier().get(i), i);
if (element.hasStatusElement())
composeEnum(t, "ClaimResponse", "status", element.getStatusElement(), -1);
if (element.hasPatient())
composeReference(t, "ClaimResponse", "patient", element.getPatient(), -1);
if (element.hasCreatedElement())
composeDateTime(t, "ClaimResponse", "created", element.getCreatedElement(), -1);
if (element.hasInsurer())
composeReference(t, "ClaimResponse", "insurer", element.getInsurer(), -1);
if (element.hasRequestProvider())
composeReference(t, "ClaimResponse", "requestProvider", element.getRequestProvider(), -1);
if (element.hasRequestOrganization())
composeReference(t, "ClaimResponse", "requestOrganization", element.getRequestOrganization(), -1);
if (element.hasRequest())
composeReference(t, "ClaimResponse", "request", element.getRequest(), -1);
if (element.hasOutcome())
composeCodeableConcept(t, "ClaimResponse", "outcome", element.getOutcome(), -1);
if (element.hasDispositionElement())
composeString(t, "ClaimResponse", "disposition", element.getDispositionElement(), -1);
if (element.hasPayeeType())
composeCodeableConcept(t, "ClaimResponse", "payeeType", element.getPayeeType(), -1);
for (int i = 0; i < element.getItem().size(); i++) composeClaimResponseItemComponent(t, "ClaimResponse", "item", element.getItem().get(i), i);
for (int i = 0; i < element.getAddItem().size(); i++) composeClaimResponseAddedItemComponent(t, "ClaimResponse", "addItem", element.getAddItem().get(i), i);
for (int i = 0; i < element.getError().size(); i++) composeClaimResponseErrorComponent(t, "ClaimResponse", "error", element.getError().get(i), i);
if (element.hasTotalCost())
composeMoney(t, "ClaimResponse", "totalCost", element.getTotalCost(), -1);
if (element.hasUnallocDeductable())
composeMoney(t, "ClaimResponse", "unallocDeductable", element.getUnallocDeductable(), -1);
if (element.hasTotalBenefit())
composeMoney(t, "ClaimResponse", "totalBenefit", element.getTotalBenefit(), -1);
if (element.hasPayment())
composeClaimResponsePaymentComponent(t, "ClaimResponse", "payment", element.getPayment(), -1);
if (element.hasReserved())
composeCoding(t, "ClaimResponse", "reserved", element.getReserved(), -1);
if (element.hasForm())
composeCodeableConcept(t, "ClaimResponse", "form", element.getForm(), -1);
for (int i = 0; i < element.getProcessNote().size(); i++) composeClaimResponseNoteComponent(t, "ClaimResponse", "processNote", element.getProcessNote().get(i), i);
for (int i = 0; i < element.getCommunicationRequest().size(); i++) composeReference(t, "ClaimResponse", "communicationRequest", element.getCommunicationRequest().get(i), i);
for (int i = 0; i < element.getInsurance().size(); i++) composeClaimResponseInsuranceComponent(t, "ClaimResponse", "insurance", element.getInsurance().get(i), i);
}
use of org.hl7.fhir.dstu3.model.CommunicationRequest in project org.hl7.fhir.core by hapifhir.
the class RdfParser method composeCommunicationRequest.
protected void composeCommunicationRequest(Complex parent, String parentType, String name, CommunicationRequest element, int index) {
if (element == null)
return;
Complex t;
if (Utilities.noString(parentType))
t = parent;
else {
t = parent.predicate("fhir:" + parentType + '.' + name);
}
composeDomainResource(t, "CommunicationRequest", name, element, index);
for (int i = 0; i < element.getIdentifier().size(); i++) composeIdentifier(t, "CommunicationRequest", "identifier", element.getIdentifier().get(i), i);
for (int i = 0; i < element.getBasedOn().size(); i++) composeReference(t, "CommunicationRequest", "basedOn", element.getBasedOn().get(i), i);
for (int i = 0; i < element.getReplaces().size(); i++) composeReference(t, "CommunicationRequest", "replaces", element.getReplaces().get(i), i);
if (element.hasGroupIdentifier())
composeIdentifier(t, "CommunicationRequest", "groupIdentifier", element.getGroupIdentifier(), -1);
if (element.hasStatusElement())
composeEnum(t, "CommunicationRequest", "status", element.getStatusElement(), -1);
for (int i = 0; i < element.getCategory().size(); i++) composeCodeableConcept(t, "CommunicationRequest", "category", element.getCategory().get(i), i);
if (element.hasPriorityElement())
composeEnum(t, "CommunicationRequest", "priority", element.getPriorityElement(), -1);
for (int i = 0; i < element.getMedium().size(); i++) composeCodeableConcept(t, "CommunicationRequest", "medium", element.getMedium().get(i), i);
if (element.hasSubject())
composeReference(t, "CommunicationRequest", "subject", element.getSubject(), -1);
for (int i = 0; i < element.getRecipient().size(); i++) composeReference(t, "CommunicationRequest", "recipient", element.getRecipient().get(i), i);
for (int i = 0; i < element.getTopic().size(); i++) composeReference(t, "CommunicationRequest", "topic", element.getTopic().get(i), i);
if (element.hasContext())
composeReference(t, "CommunicationRequest", "context", element.getContext(), -1);
for (int i = 0; i < element.getPayload().size(); i++) composeCommunicationRequestCommunicationRequestPayloadComponent(t, "CommunicationRequest", "payload", element.getPayload().get(i), i);
if (element.hasOccurrence())
composeType(t, "CommunicationRequest", "occurrence", element.getOccurrence(), -1);
if (element.hasAuthoredOnElement())
composeDateTime(t, "CommunicationRequest", "authoredOn", element.getAuthoredOnElement(), -1);
if (element.hasSender())
composeReference(t, "CommunicationRequest", "sender", element.getSender(), -1);
if (element.hasRequester())
composeCommunicationRequestCommunicationRequestRequesterComponent(t, "CommunicationRequest", "requester", element.getRequester(), -1);
for (int i = 0; i < element.getReasonCode().size(); i++) composeCodeableConcept(t, "CommunicationRequest", "reasonCode", element.getReasonCode().get(i), i);
for (int i = 0; i < element.getReasonReference().size(); i++) composeReference(t, "CommunicationRequest", "reasonReference", element.getReasonReference().get(i), i);
for (int i = 0; i < element.getNote().size(); i++) composeAnnotation(t, "CommunicationRequest", "note", element.getNote().get(i), i);
}
use of org.hl7.fhir.dstu3.model.CommunicationRequest in project org.hl7.fhir.core by hapifhir.
the class RdfParser method composeProcessResponse.
protected void composeProcessResponse(Complex parent, String parentType, String name, ProcessResponse element, int index) {
if (element == null)
return;
Complex t;
if (Utilities.noString(parentType))
t = parent;
else {
t = parent.predicate("fhir:" + parentType + '.' + name);
}
composeDomainResource(t, "ProcessResponse", name, element, index);
for (int i = 0; i < element.getIdentifier().size(); i++) composeIdentifier(t, "ProcessResponse", "identifier", element.getIdentifier().get(i), i);
if (element.hasStatusElement())
composeEnum(t, "ProcessResponse", "status", element.getStatusElement(), -1);
if (element.hasCreatedElement())
composeDateTime(t, "ProcessResponse", "created", element.getCreatedElement(), -1);
if (element.hasOrganization())
composeReference(t, "ProcessResponse", "organization", element.getOrganization(), -1);
if (element.hasRequest())
composeReference(t, "ProcessResponse", "request", element.getRequest(), -1);
if (element.hasOutcome())
composeCodeableConcept(t, "ProcessResponse", "outcome", element.getOutcome(), -1);
if (element.hasDispositionElement())
composeString(t, "ProcessResponse", "disposition", element.getDispositionElement(), -1);
if (element.hasRequestProvider())
composeReference(t, "ProcessResponse", "requestProvider", element.getRequestProvider(), -1);
if (element.hasRequestOrganization())
composeReference(t, "ProcessResponse", "requestOrganization", element.getRequestOrganization(), -1);
if (element.hasForm())
composeCodeableConcept(t, "ProcessResponse", "form", element.getForm(), -1);
for (int i = 0; i < element.getProcessNote().size(); i++) composeProcessResponseProcessResponseProcessNoteComponent(t, "ProcessResponse", "processNote", element.getProcessNote().get(i), i);
for (int i = 0; i < element.getError().size(); i++) composeCodeableConcept(t, "ProcessResponse", "error", element.getError().get(i), i);
for (int i = 0; i < element.getCommunicationRequest().size(); i++) composeReference(t, "ProcessResponse", "communicationRequest", element.getCommunicationRequest().get(i), i);
}
use of org.hl7.fhir.dstu3.model.CommunicationRequest in project org.hl7.fhir.core by hapifhir.
the class RdfParser method composeCommunicationRequestCommunicationRequestPayloadComponent.
protected void composeCommunicationRequestCommunicationRequestPayloadComponent(Complex parent, String parentType, String name, CommunicationRequest.CommunicationRequestPayloadComponent element, int index) {
if (element == null)
return;
Complex t;
if (Utilities.noString(parentType))
t = parent;
else {
t = parent.predicate("fhir:" + parentType + '.' + name);
}
composeBackboneElement(t, "payload", name, element, index);
if (element.hasContent())
composeType(t, "CommunicationRequest", "content", element.getContent(), -1);
}
use of org.hl7.fhir.dstu3.model.CommunicationRequest in project org.hl7.fhir.core by hapifhir.
the class RdfParser method composeClaimResponse.
protected void composeClaimResponse(Complex parent, String parentType, String name, ClaimResponse element, int index) {
if (element == null)
return;
Complex t;
if (Utilities.noString(parentType))
t = parent;
else {
t = parent.predicate("fhir:" + parentType + '.' + name);
}
composeDomainResource(t, "ClaimResponse", name, element, index);
for (int i = 0; i < element.getIdentifier().size(); i++) composeIdentifier(t, "ClaimResponse", "identifier", element.getIdentifier().get(i), i);
if (element.hasStatusElement())
composeEnum(t, "ClaimResponse", "status", element.getStatusElement(), -1);
if (element.hasType())
composeCodeableConcept(t, "ClaimResponse", "type", element.getType(), -1);
if (element.hasSubType())
composeCodeableConcept(t, "ClaimResponse", "subType", element.getSubType(), -1);
if (element.hasUseElement())
composeEnum(t, "ClaimResponse", "use", element.getUseElement(), -1);
if (element.hasPatient())
composeReference(t, "ClaimResponse", "patient", element.getPatient(), -1);
if (element.hasCreatedElement())
composeDateTime(t, "ClaimResponse", "created", element.getCreatedElement(), -1);
if (element.hasInsurer())
composeReference(t, "ClaimResponse", "insurer", element.getInsurer(), -1);
if (element.hasRequestor())
composeReference(t, "ClaimResponse", "requestor", element.getRequestor(), -1);
if (element.hasRequest())
composeReference(t, "ClaimResponse", "request", element.getRequest(), -1);
if (element.hasOutcomeElement())
composeEnum(t, "ClaimResponse", "outcome", element.getOutcomeElement(), -1);
if (element.hasDispositionElement())
composeString(t, "ClaimResponse", "disposition", element.getDispositionElement(), -1);
if (element.hasPreAuthRefElement())
composeString(t, "ClaimResponse", "preAuthRef", element.getPreAuthRefElement(), -1);
if (element.hasPreAuthPeriod())
composePeriod(t, "ClaimResponse", "preAuthPeriod", element.getPreAuthPeriod(), -1);
if (element.hasPayeeType())
composeCodeableConcept(t, "ClaimResponse", "payeeType", element.getPayeeType(), -1);
for (int i = 0; i < element.getItem().size(); i++) composeClaimResponseItemComponent(t, "ClaimResponse", "item", element.getItem().get(i), i);
for (int i = 0; i < element.getAddItem().size(); i++) composeClaimResponseAddedItemComponent(t, "ClaimResponse", "addItem", element.getAddItem().get(i), i);
for (int i = 0; i < element.getAdjudication().size(); i++) composeClaimResponseAdjudicationComponent(t, "ClaimResponse", "adjudication", element.getAdjudication().get(i), i);
for (int i = 0; i < element.getTotal().size(); i++) composeClaimResponseTotalComponent(t, "ClaimResponse", "total", element.getTotal().get(i), i);
if (element.hasPayment())
composeClaimResponsePaymentComponent(t, "ClaimResponse", "payment", element.getPayment(), -1);
if (element.hasFundsReserve())
composeCodeableConcept(t, "ClaimResponse", "fundsReserve", element.getFundsReserve(), -1);
if (element.hasFormCode())
composeCodeableConcept(t, "ClaimResponse", "formCode", element.getFormCode(), -1);
if (element.hasForm())
composeAttachment(t, "ClaimResponse", "form", element.getForm(), -1);
for (int i = 0; i < element.getProcessNote().size(); i++) composeClaimResponseNoteComponent(t, "ClaimResponse", "processNote", element.getProcessNote().get(i), i);
for (int i = 0; i < element.getCommunicationRequest().size(); i++) composeReference(t, "ClaimResponse", "communicationRequest", element.getCommunicationRequest().get(i), i);
for (int i = 0; i < element.getInsurance().size(); i++) composeClaimResponseInsuranceComponent(t, "ClaimResponse", "insurance", element.getInsurance().get(i), i);
for (int i = 0; i < element.getError().size(); i++) composeClaimResponseErrorComponent(t, "ClaimResponse", "error", element.getError().get(i), i);
}
Aggregations