Search in sources :

Example 1 with CoverageEligibilityResponse

use of org.hl7.fhir.r4.model.CoverageEligibilityResponse in project org.hl7.fhir.core by hapifhir.

the class RdfParser method composeCoverageEligibilityResponse.

protected void composeCoverageEligibilityResponse(Complex parent, String parentType, String name, CoverageEligibilityResponse element, int index) {
    if (element == null)
        return;
    Complex t;
    if (Utilities.noString(parentType))
        t = parent;
    else {
        t = parent.predicate("fhir:" + parentType + '.' + name);
    }
    composeDomainResource(t, "CoverageEligibilityResponse", name, element, index);
    for (int i = 0; i < element.getIdentifier().size(); i++) composeIdentifier(t, "CoverageEligibilityResponse", "identifier", element.getIdentifier().get(i), i);
    if (element.hasStatusElement())
        composeEnum(t, "CoverageEligibilityResponse", "status", element.getStatusElement(), -1);
    for (int i = 0; i < element.getPurpose().size(); i++) composeEnum(t, "CoverageEligibilityResponse", "purpose", element.getPurpose().get(i), i);
    if (element.hasPatient())
        composeReference(t, "CoverageEligibilityResponse", "patient", element.getPatient(), -1);
    if (element.hasServiced())
        composeType(t, "CoverageEligibilityResponse", "serviced", element.getServiced(), -1);
    if (element.hasCreatedElement())
        composeDateTime(t, "CoverageEligibilityResponse", "created", element.getCreatedElement(), -1);
    if (element.hasRequestor())
        composeReference(t, "CoverageEligibilityResponse", "requestor", element.getRequestor(), -1);
    if (element.hasRequest())
        composeReference(t, "CoverageEligibilityResponse", "request", element.getRequest(), -1);
    if (element.hasOutcomeElement())
        composeEnum(t, "CoverageEligibilityResponse", "outcome", element.getOutcomeElement(), -1);
    if (element.hasDispositionElement())
        composeString(t, "CoverageEligibilityResponse", "disposition", element.getDispositionElement(), -1);
    if (element.hasInsurer())
        composeReference(t, "CoverageEligibilityResponse", "insurer", element.getInsurer(), -1);
    for (int i = 0; i < element.getInsurance().size(); i++) composeCoverageEligibilityResponseInsuranceComponent(t, "CoverageEligibilityResponse", "insurance", element.getInsurance().get(i), i);
    if (element.hasPreAuthRefElement())
        composeString(t, "CoverageEligibilityResponse", "preAuthRef", element.getPreAuthRefElement(), -1);
    if (element.hasForm())
        composeCodeableConcept(t, "CoverageEligibilityResponse", "form", element.getForm(), -1);
    for (int i = 0; i < element.getError().size(); i++) composeCoverageEligibilityResponseErrorsComponent(t, "CoverageEligibilityResponse", "error", element.getError().get(i), i);
}
Also used : Complex(org.hl7.fhir.r4.utils.formats.Turtle.Complex)

Example 2 with CoverageEligibilityResponse

use of org.hl7.fhir.r4.model.CoverageEligibilityResponse in project org.hl7.fhir.core by hapifhir.

the class RdfParser method composeCoverageEligibilityResponseBenefitComponent.

protected void composeCoverageEligibilityResponseBenefitComponent(Complex parent, String parentType, String name, CoverageEligibilityResponse.BenefitComponent element, int index) {
    if (element == null)
        return;
    Complex t;
    if (Utilities.noString(parentType))
        t = parent;
    else {
        t = parent.predicate("fhir:" + parentType + '.' + name);
    }
    composeBackboneElement(t, "benefit", name, element, index);
    if (element.hasType())
        composeCodeableConcept(t, "CoverageEligibilityResponse", "type", element.getType(), -1);
    if (element.hasAllowed())
        composeType(t, "CoverageEligibilityResponse", "allowed", element.getAllowed(), -1);
    if (element.hasUsed())
        composeType(t, "CoverageEligibilityResponse", "used", element.getUsed(), -1);
}
Also used : Complex(org.hl7.fhir.r4.utils.formats.Turtle.Complex)

Example 3 with CoverageEligibilityResponse

use of org.hl7.fhir.r4.model.CoverageEligibilityResponse in project org.hl7.fhir.core by hapifhir.

the class RdfParser method composeCoverageEligibilityResponseErrorsComponent.

protected void composeCoverageEligibilityResponseErrorsComponent(Complex parent, String parentType, String name, CoverageEligibilityResponse.ErrorsComponent 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.hasCode())
        composeCodeableConcept(t, "CoverageEligibilityResponse", "code", element.getCode(), -1);
}
Also used : Complex(org.hl7.fhir.r4.utils.formats.Turtle.Complex)

Example 4 with CoverageEligibilityResponse

use of org.hl7.fhir.r4.model.CoverageEligibilityResponse in project org.hl7.fhir.core by hapifhir.

the class RdfParser method composeCoverageEligibilityResponseItemsComponent.

protected void composeCoverageEligibilityResponseItemsComponent(Complex parent, String parentType, String name, CoverageEligibilityResponse.ItemsComponent 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);
    if (element.hasCategory())
        composeCodeableConcept(t, "CoverageEligibilityResponse", "category", element.getCategory(), -1);
    if (element.hasProductOrService())
        composeCodeableConcept(t, "CoverageEligibilityResponse", "productOrService", element.getProductOrService(), -1);
    for (int i = 0; i < element.getModifier().size(); i++) composeCodeableConcept(t, "CoverageEligibilityResponse", "modifier", element.getModifier().get(i), i);
    if (element.hasProvider())
        composeReference(t, "CoverageEligibilityResponse", "provider", element.getProvider(), -1);
    if (element.hasExcludedElement())
        composeBoolean(t, "CoverageEligibilityResponse", "excluded", element.getExcludedElement(), -1);
    if (element.hasNameElement())
        composeString(t, "CoverageEligibilityResponse", "name", element.getNameElement(), -1);
    if (element.hasDescriptionElement())
        composeString(t, "CoverageEligibilityResponse", "description", element.getDescriptionElement(), -1);
    if (element.hasNetwork())
        composeCodeableConcept(t, "CoverageEligibilityResponse", "network", element.getNetwork(), -1);
    if (element.hasUnit())
        composeCodeableConcept(t, "CoverageEligibilityResponse", "unit", element.getUnit(), -1);
    if (element.hasTerm())
        composeCodeableConcept(t, "CoverageEligibilityResponse", "term", element.getTerm(), -1);
    for (int i = 0; i < element.getBenefit().size(); i++) composeCoverageEligibilityResponseBenefitComponent(t, "CoverageEligibilityResponse", "benefit", element.getBenefit().get(i), i);
    if (element.hasAuthorizationRequiredElement())
        composeBoolean(t, "CoverageEligibilityResponse", "authorizationRequired", element.getAuthorizationRequiredElement(), -1);
    for (int i = 0; i < element.getAuthorizationSupporting().size(); i++) composeCodeableConcept(t, "CoverageEligibilityResponse", "authorizationSupporting", element.getAuthorizationSupporting().get(i), i);
    if (element.hasAuthorizationUrlElement())
        composeUri(t, "CoverageEligibilityResponse", "authorizationUrl", element.getAuthorizationUrlElement(), -1);
}
Also used : Complex(org.hl7.fhir.r4.utils.formats.Turtle.Complex)

Example 5 with CoverageEligibilityResponse

use of org.hl7.fhir.r4.model.CoverageEligibilityResponse in project org.hl7.fhir.core by hapifhir.

the class RdfParser method composeCoverageEligibilityResponseInsuranceComponent.

protected void composeCoverageEligibilityResponseInsuranceComponent(Complex parent, String parentType, String name, CoverageEligibilityResponse.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.hasCoverage())
        composeReference(t, "CoverageEligibilityResponse", "coverage", element.getCoverage(), -1);
    if (element.hasInforceElement())
        composeBoolean(t, "CoverageEligibilityResponse", "inforce", element.getInforceElement(), -1);
    if (element.hasBenefitPeriod())
        composePeriod(t, "CoverageEligibilityResponse", "benefitPeriod", element.getBenefitPeriod(), -1);
    for (int i = 0; i < element.getItem().size(); i++) composeCoverageEligibilityResponseItemsComponent(t, "CoverageEligibilityResponse", "item", element.getItem().get(i), i);
}
Also used : Complex(org.hl7.fhir.r4.utils.formats.Turtle.Complex)

Aggregations

Complex (org.hl7.fhir.r4.utils.formats.Turtle.Complex)5 Operation (ca.uhn.fhir.rest.annotation.Operation)1 Coverage (org.hl7.fhir.r4.model.Coverage)1 CoverageEligibilityRequest (org.hl7.fhir.r4.model.CoverageEligibilityRequest)1 CoverageEligibilityResponse (org.hl7.fhir.r4.model.CoverageEligibilityResponse)1 Device (org.hl7.fhir.r4.model.Device)1 Endpoint (org.hl7.fhir.r4.model.Endpoint)1 Location (org.hl7.fhir.r4.model.Location)1 Organization (org.hl7.fhir.r4.model.Organization)1 Parameters (org.hl7.fhir.r4.model.Parameters)1 Patient (org.hl7.fhir.r4.model.Patient)1 Practitioner (org.hl7.fhir.r4.model.Practitioner)1 Procedure (org.hl7.fhir.r4.model.Procedure)1 ResourceType (org.hl7.fhir.r4.model.ResourceType)1