Search in sources :

Example 6 with ContactPoint

use of org.hl7.fhir.dstu3.model.ContactPoint in project gpconnect-demonstrator by nhsconnect.

the class StaticElementsHelper method getValidTelecom.

public ContactPoint getValidTelecom() {
    ContactPoint orgTelCom = new ContactPoint();
    Extension extension = new Extension("testurl");
    orgTelCom.addExtension(extension);
    orgTelCom.setSystem(ContactPointSystem.PHONE);
    orgTelCom.setUse(ContactPointUse.WORK);
    orgTelCom.setValue("telecomVal");
    return orgTelCom;
}
Also used : Extension(org.hl7.fhir.dstu3.model.Extension) ContactPoint(org.hl7.fhir.dstu3.model.ContactPoint)

Aggregations

ContactPoint (org.hl7.fhir.dstu3.model.ContactPoint)2 BookingOrgDetail (uk.gov.hscic.model.appointment.BookingOrgDetail)2 AddressUse (org.hl7.fhir.dstu3.model.Address.AddressUse)1 AppointmentParticipantComponent (org.hl7.fhir.dstu3.model.Appointment.AppointmentParticipantComponent)1 ContactPointUse (org.hl7.fhir.dstu3.model.ContactPoint.ContactPointUse)1 Extension (org.hl7.fhir.dstu3.model.Extension)1 ContactComponent (org.hl7.fhir.dstu3.model.Patient.ContactComponent)1 FHIRException (org.hl7.fhir.exceptions.FHIRException)1 IBaseDatatype (org.hl7.fhir.instance.model.api.IBaseDatatype)1 AppointmentDetail (uk.gov.hscic.model.appointment.AppointmentDetail)1 ScheduleDetail (uk.gov.hscic.model.appointment.ScheduleDetail)1 SlotDetail (uk.gov.hscic.model.appointment.SlotDetail)1