use of org.hl7.fhir.r4.model.Endpoint in project org.hl7.fhir.core by hapifhir.
the class RdfParser method composeSubscriptionSubscriptionChannelComponent.
protected void composeSubscriptionSubscriptionChannelComponent(Complex parent, String parentType, String name, Subscription.SubscriptionChannelComponent element, int index) {
if (element == null)
return;
Complex t;
if (Utilities.noString(parentType))
t = parent;
else {
t = parent.predicate("fhir:" + parentType + '.' + name);
}
composeBackboneElement(t, "channel", name, element, index);
if (element.hasTypeElement())
composeEnum(t, "Subscription", "type", element.getTypeElement(), -1);
if (element.hasEndpointElement())
composeUri(t, "Subscription", "endpoint", element.getEndpointElement(), -1);
if (element.hasPayloadElement())
composeString(t, "Subscription", "payload", element.getPayloadElement(), -1);
if (element.hasHeaderElement())
composeString(t, "Subscription", "header", element.getHeaderElement(), -1);
}
use of org.hl7.fhir.r4.model.Endpoint in project org.hl7.fhir.core by hapifhir.
the class RdfParser method composeImagingStudyImagingStudySeriesComponent.
protected void composeImagingStudyImagingStudySeriesComponent(Complex parent, String parentType, String name, ImagingStudy.ImagingStudySeriesComponent element, int index) {
if (element == null)
return;
Complex t;
if (Utilities.noString(parentType))
t = parent;
else {
t = parent.predicate("fhir:" + parentType + '.' + name);
}
composeBackboneElement(t, "series", name, element, index);
if (element.hasUidElement())
composeOid(t, "ImagingStudy", "uid", element.getUidElement(), -1);
if (element.hasNumberElement())
composeUnsignedInt(t, "ImagingStudy", "number", element.getNumberElement(), -1);
if (element.hasModality())
composeCoding(t, "ImagingStudy", "modality", element.getModality(), -1);
if (element.hasDescriptionElement())
composeString(t, "ImagingStudy", "description", element.getDescriptionElement(), -1);
if (element.hasNumberOfInstancesElement())
composeUnsignedInt(t, "ImagingStudy", "numberOfInstances", element.getNumberOfInstancesElement(), -1);
if (element.hasAvailabilityElement())
composeEnum(t, "ImagingStudy", "availability", element.getAvailabilityElement(), -1);
for (int i = 0; i < element.getEndpoint().size(); i++) composeReference(t, "ImagingStudy", "endpoint", element.getEndpoint().get(i), i);
if (element.hasBodySite())
composeCoding(t, "ImagingStudy", "bodySite", element.getBodySite(), -1);
if (element.hasLaterality())
composeCoding(t, "ImagingStudy", "laterality", element.getLaterality(), -1);
if (element.hasStartedElement())
composeDateTime(t, "ImagingStudy", "started", element.getStartedElement(), -1);
for (int i = 0; i < element.getPerformer().size(); i++) composeReference(t, "ImagingStudy", "performer", element.getPerformer().get(i), i);
for (int i = 0; i < element.getInstance().size(); i++) composeImagingStudyImagingStudySeriesInstanceComponent(t, "ImagingStudy", "instance", element.getInstance().get(i), i);
}
use of org.hl7.fhir.r4.model.Endpoint in project org.hl7.fhir.core by hapifhir.
the class RdfParser method composeHealthcareService.
protected void composeHealthcareService(Complex parent, String parentType, String name, HealthcareService element, int index) {
if (element == null)
return;
Complex t;
if (Utilities.noString(parentType))
t = parent;
else {
t = parent.predicate("fhir:" + parentType + '.' + name);
}
composeDomainResource(t, "HealthcareService", name, element, index);
for (int i = 0; i < element.getIdentifier().size(); i++) composeIdentifier(t, "HealthcareService", "identifier", element.getIdentifier().get(i), i);
if (element.hasActiveElement())
composeBoolean(t, "HealthcareService", "active", element.getActiveElement(), -1);
if (element.hasProvidedBy())
composeReference(t, "HealthcareService", "providedBy", element.getProvidedBy(), -1);
if (element.hasCategory())
composeCodeableConcept(t, "HealthcareService", "category", element.getCategory(), -1);
for (int i = 0; i < element.getType().size(); i++) composeCodeableConcept(t, "HealthcareService", "type", element.getType().get(i), i);
for (int i = 0; i < element.getSpecialty().size(); i++) composeCodeableConcept(t, "HealthcareService", "specialty", element.getSpecialty().get(i), i);
for (int i = 0; i < element.getLocation().size(); i++) composeReference(t, "HealthcareService", "location", element.getLocation().get(i), i);
if (element.hasNameElement())
composeString(t, "HealthcareService", "name", element.getNameElement(), -1);
if (element.hasCommentElement())
composeString(t, "HealthcareService", "comment", element.getCommentElement(), -1);
if (element.hasExtraDetailsElement())
composeString(t, "HealthcareService", "extraDetails", element.getExtraDetailsElement(), -1);
if (element.hasPhoto())
composeAttachment(t, "HealthcareService", "photo", element.getPhoto(), -1);
for (int i = 0; i < element.getTelecom().size(); i++) composeContactPoint(t, "HealthcareService", "telecom", element.getTelecom().get(i), i);
for (int i = 0; i < element.getCoverageArea().size(); i++) composeReference(t, "HealthcareService", "coverageArea", element.getCoverageArea().get(i), i);
for (int i = 0; i < element.getServiceProvisionCode().size(); i++) composeCodeableConcept(t, "HealthcareService", "serviceProvisionCode", element.getServiceProvisionCode().get(i), i);
if (element.hasEligibility())
composeCodeableConcept(t, "HealthcareService", "eligibility", element.getEligibility(), -1);
if (element.hasEligibilityNoteElement())
composeString(t, "HealthcareService", "eligibilityNote", element.getEligibilityNoteElement(), -1);
for (int i = 0; i < element.getProgramName().size(); i++) composeString(t, "HealthcareService", "programName", element.getProgramName().get(i), i);
for (int i = 0; i < element.getCharacteristic().size(); i++) composeCodeableConcept(t, "HealthcareService", "characteristic", element.getCharacteristic().get(i), i);
for (int i = 0; i < element.getReferralMethod().size(); i++) composeCodeableConcept(t, "HealthcareService", "referralMethod", element.getReferralMethod().get(i), i);
if (element.hasAppointmentRequiredElement())
composeBoolean(t, "HealthcareService", "appointmentRequired", element.getAppointmentRequiredElement(), -1);
for (int i = 0; i < element.getAvailableTime().size(); i++) composeHealthcareServiceHealthcareServiceAvailableTimeComponent(t, "HealthcareService", "availableTime", element.getAvailableTime().get(i), i);
for (int i = 0; i < element.getNotAvailable().size(); i++) composeHealthcareServiceHealthcareServiceNotAvailableComponent(t, "HealthcareService", "notAvailable", element.getNotAvailable().get(i), i);
if (element.hasAvailabilityExceptionsElement())
composeString(t, "HealthcareService", "availabilityExceptions", element.getAvailabilityExceptionsElement(), -1);
for (int i = 0; i < element.getEndpoint().size(); i++) composeReference(t, "HealthcareService", "endpoint", element.getEndpoint().get(i), i);
}
use of org.hl7.fhir.r4.model.Endpoint in project org.hl7.fhir.core by hapifhir.
the class RdfParser method composeImagingStudy.
protected void composeImagingStudy(Complex parent, String parentType, String name, ImagingStudy element, int index) {
if (element == null)
return;
Complex t;
if (Utilities.noString(parentType))
t = parent;
else {
t = parent.predicate("fhir:" + parentType + '.' + name);
}
composeDomainResource(t, "ImagingStudy", name, element, index);
if (element.hasUidElement())
composeOid(t, "ImagingStudy", "uid", element.getUidElement(), -1);
if (element.hasAccession())
composeIdentifier(t, "ImagingStudy", "accession", element.getAccession(), -1);
for (int i = 0; i < element.getIdentifier().size(); i++) composeIdentifier(t, "ImagingStudy", "identifier", element.getIdentifier().get(i), i);
if (element.hasAvailabilityElement())
composeEnum(t, "ImagingStudy", "availability", element.getAvailabilityElement(), -1);
for (int i = 0; i < element.getModalityList().size(); i++) composeCoding(t, "ImagingStudy", "modalityList", element.getModalityList().get(i), i);
if (element.hasPatient())
composeReference(t, "ImagingStudy", "patient", element.getPatient(), -1);
if (element.hasContext())
composeReference(t, "ImagingStudy", "context", element.getContext(), -1);
if (element.hasStartedElement())
composeDateTime(t, "ImagingStudy", "started", element.getStartedElement(), -1);
for (int i = 0; i < element.getBasedOn().size(); i++) composeReference(t, "ImagingStudy", "basedOn", element.getBasedOn().get(i), i);
if (element.hasReferrer())
composeReference(t, "ImagingStudy", "referrer", element.getReferrer(), -1);
for (int i = 0; i < element.getInterpreter().size(); i++) composeReference(t, "ImagingStudy", "interpreter", element.getInterpreter().get(i), i);
for (int i = 0; i < element.getEndpoint().size(); i++) composeReference(t, "ImagingStudy", "endpoint", element.getEndpoint().get(i), i);
if (element.hasNumberOfSeriesElement())
composeUnsignedInt(t, "ImagingStudy", "numberOfSeries", element.getNumberOfSeriesElement(), -1);
if (element.hasNumberOfInstancesElement())
composeUnsignedInt(t, "ImagingStudy", "numberOfInstances", element.getNumberOfInstancesElement(), -1);
for (int i = 0; i < element.getProcedureReference().size(); i++) composeReference(t, "ImagingStudy", "procedureReference", element.getProcedureReference().get(i), i);
for (int i = 0; i < element.getProcedureCode().size(); i++) composeCodeableConcept(t, "ImagingStudy", "procedureCode", element.getProcedureCode().get(i), i);
if (element.hasReason())
composeCodeableConcept(t, "ImagingStudy", "reason", element.getReason(), -1);
if (element.hasDescriptionElement())
composeString(t, "ImagingStudy", "description", element.getDescriptionElement(), -1);
for (int i = 0; i < element.getSeries().size(); i++) composeImagingStudyImagingStudySeriesComponent(t, "ImagingStudy", "series", element.getSeries().get(i), i);
}
use of org.hl7.fhir.r4.model.Endpoint in project org.hl7.fhir.core by hapifhir.
the class RdfParser method composeOrganization.
protected void composeOrganization(Complex parent, String parentType, String name, Organization element, int index) {
if (element == null)
return;
Complex t;
if (Utilities.noString(parentType))
t = parent;
else {
t = parent.predicate("fhir:" + parentType + '.' + name);
}
composeDomainResource(t, "Organization", name, element, index);
for (int i = 0; i < element.getIdentifier().size(); i++) composeIdentifier(t, "Organization", "identifier", element.getIdentifier().get(i), i);
if (element.hasActiveElement())
composeBoolean(t, "Organization", "active", element.getActiveElement(), -1);
for (int i = 0; i < element.getType().size(); i++) composeCodeableConcept(t, "Organization", "type", element.getType().get(i), i);
if (element.hasNameElement())
composeString(t, "Organization", "name", element.getNameElement(), -1);
for (int i = 0; i < element.getAlias().size(); i++) composeString(t, "Organization", "alias", element.getAlias().get(i), i);
for (int i = 0; i < element.getTelecom().size(); i++) composeContactPoint(t, "Organization", "telecom", element.getTelecom().get(i), i);
for (int i = 0; i < element.getAddress().size(); i++) composeAddress(t, "Organization", "address", element.getAddress().get(i), i);
if (element.hasPartOf())
composeReference(t, "Organization", "partOf", element.getPartOf(), -1);
for (int i = 0; i < element.getContact().size(); i++) composeOrganizationOrganizationContactComponent(t, "Organization", "contact", element.getContact().get(i), i);
for (int i = 0; i < element.getEndpoint().size(); i++) composeReference(t, "Organization", "endpoint", element.getEndpoint().get(i), i);
}
Aggregations