use of org.hl7.fhir.r4.model.HealthcareService in project org.hl7.fhir.core by hapifhir.
the class RdfParser method composeHealthcareServiceHealthcareServiceNotAvailableComponent.
protected void composeHealthcareServiceHealthcareServiceNotAvailableComponent(Complex parent, String parentType, String name, HealthcareService.HealthcareServiceNotAvailableComponent element, int index) {
if (element == null)
return;
Complex t;
if (Utilities.noString(parentType))
t = parent;
else {
t = parent.predicate("fhir:" + parentType + '.' + name);
}
composeBackboneElement(t, "notAvailable", name, element, index);
if (element.hasDescriptionElement())
composeString(t, "HealthcareService", "description", element.getDescriptionElement(), -1);
if (element.hasDuring())
composePeriod(t, "HealthcareService", "during", element.getDuring(), -1);
}
use of org.hl7.fhir.r4.model.HealthcareService in project org.hl7.fhir.core by hapifhir.
the class RdfParser method composeHealthcareServiceHealthcareServiceAvailableTimeComponent.
protected void composeHealthcareServiceHealthcareServiceAvailableTimeComponent(Complex parent, String parentType, String name, HealthcareService.HealthcareServiceAvailableTimeComponent element, int index) {
if (element == null)
return;
Complex t;
if (Utilities.noString(parentType))
t = parent;
else {
t = parent.predicate("fhir:" + parentType + '.' + name);
}
composeBackboneElement(t, "availableTime", name, element, index);
for (int i = 0; i < element.getDaysOfWeek().size(); i++) composeEnum(t, "HealthcareService", "daysOfWeek", element.getDaysOfWeek().get(i), i);
if (element.hasAllDayElement())
composeBoolean(t, "HealthcareService", "allDay", element.getAllDayElement(), -1);
if (element.hasAvailableStartTimeElement())
composeTime(t, "HealthcareService", "availableStartTime", element.getAvailableStartTimeElement(), -1);
if (element.hasAvailableEndTimeElement())
composeTime(t, "HealthcareService", "availableEndTime", element.getAvailableEndTimeElement(), -1);
}
use of org.hl7.fhir.r4.model.HealthcareService in project org.hl7.fhir.core by hapifhir.
the class RdfParser method composeHealthcareServiceHealthcareServiceAvailableTimeComponent.
protected void composeHealthcareServiceHealthcareServiceAvailableTimeComponent(Complex parent, String parentType, String name, HealthcareService.HealthcareServiceAvailableTimeComponent element, int index) {
if (element == null)
return;
Complex t;
if (Utilities.noString(parentType))
t = parent;
else {
t = parent.predicate("fhir:" + parentType + '.' + name);
}
composeBackboneElement(t, "availableTime", name, element, index);
for (int i = 0; i < element.getDaysOfWeek().size(); i++) composeEnum(t, "HealthcareService", "daysOfWeek", element.getDaysOfWeek().get(i), i);
if (element.hasAllDayElement())
composeBoolean(t, "HealthcareService", "allDay", element.getAllDayElement(), -1);
if (element.hasAvailableStartTimeElement())
composeTime(t, "HealthcareService", "availableStartTime", element.getAvailableStartTimeElement(), -1);
if (element.hasAvailableEndTimeElement())
composeTime(t, "HealthcareService", "availableEndTime", element.getAvailableEndTimeElement(), -1);
}
use of org.hl7.fhir.r4.model.HealthcareService in project org.hl7.fhir.core by hapifhir.
the class RdfParser method composeHealthcareServiceHealthcareServiceNotAvailableComponent.
protected void composeHealthcareServiceHealthcareServiceNotAvailableComponent(Complex parent, String parentType, String name, HealthcareService.HealthcareServiceNotAvailableComponent element, int index) {
if (element == null)
return;
Complex t;
if (Utilities.noString(parentType))
t = parent;
else {
t = parent.predicate("fhir:" + parentType + '.' + name);
}
composeBackboneElement(t, "notAvailable", name, element, index);
if (element.hasDescriptionElement())
composeString(t, "HealthcareService", "description", element.getDescriptionElement(), -1);
if (element.hasDuring())
composePeriod(t, "HealthcareService", "during", element.getDuring(), -1);
}
use of org.hl7.fhir.r4.model.HealthcareService in project org.hl7.fhir.core by hapifhir.
the class RdfParser method composeHealthcareServiceHealthcareServiceNotAvailableComponent.
protected void composeHealthcareServiceHealthcareServiceNotAvailableComponent(Complex parent, String parentType, String name, HealthcareService.HealthcareServiceNotAvailableComponent element, int index) {
if (element == null)
return;
Complex t;
if (Utilities.noString(parentType))
t = parent;
else {
t = parent.predicate("fhir:" + parentType + '.' + name);
}
composeBackboneElement(t, "notAvailable", name, element, index);
if (element.hasDescriptionElement())
composeString(t, "HealthcareService", "description", element.getDescriptionElement(), -1);
if (element.hasDuring())
composePeriod(t, "HealthcareService", "during", element.getDuring(), -1);
}
Aggregations