Facility

public class Facility extends BaseMainEntity

Java class for facility complex type.

The following schema fragment specifies the expected content contained within this class.

<complexType name="facility">
  <complexContent>
    <extension base="{urn:ihe:iti:csd:2013}uniqueID">
      <sequence>
        <element name="otherID" type="{urn:ihe:iti:csd:2013}otherID" maxOccurs="unbounded" minOccurs="0"/>
        <element name="codedType" type="{urn:ihe:iti:csd:2013}codedtype" maxOccurs="unbounded"/>
        <element name="primaryName" type="{http://www.w3.org/2001/XMLSchema}string"/>
        <element name="otherName" maxOccurs="unbounded" minOccurs="0">
          <complexType>
            <simpleContent>
              <extension base="<http://www.w3.org/2001/XMLSchema>string">
                <attribute ref="{http://www.w3.org/XML/1998/namespace}lang"/>
              </extension>
            </simpleContent>
          </complexType>
        </element>
        <element name="address" type="{urn:ihe:iti:csd:2013}address" maxOccurs="unbounded" minOccurs="0"/>
        <element name="contact" maxOccurs="unbounded" minOccurs="0">
          <complexType>
            <complexContent>
              <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
                <choice>
                  <element name="provider" type="{urn:ihe:iti:csd:2013}uniqueID"/>
                  <element name="person" type="{urn:ihe:iti:csd:2013}person"/>
                </choice>
              </restriction>
            </complexContent>
          </complexType>
        </element>
        <element name="geocode" type="{urn:ihe:iti:csd:2013}geocode" minOccurs="0"/>
        <element name="language" type="{urn:ihe:iti:csd:2013}codedtype" maxOccurs="unbounded" minOccurs="0"/>
        <element name="contactPoint" type="{urn:ihe:iti:csd:2013}contactPoint" maxOccurs="unbounded" minOccurs="0"/>
        <element name="organizations" minOccurs="0">
          <complexType>
            <complexContent>
              <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
                <sequence>
                  <element name="organization" maxOccurs="unbounded">
                    <complexType>
                      <complexContent>
                        <extension base="{urn:ihe:iti:csd:2013}uniqueID">
                          <sequence>
                            <element name="service" maxOccurs="unbounded" minOccurs="0">
                              <complexType>
                                <complexContent>
                                  <extension base="{urn:ihe:iti:csd:2013}uniqueID">
                                    <sequence>
                                      <element name="name" type="{urn:ihe:iti:csd:2013}name" maxOccurs="unbounded" minOccurs="0"/>
                                      <element name="language" type="{urn:ihe:iti:csd:2013}codedtype" maxOccurs="unbounded" minOccurs="0"/>
                                      <element name="operatingHours" type="{urn:ihe:iti:csd:2013}operatingHours" maxOccurs="unbounded" minOccurs="0"/>
                                      <element name="freeBusyURI" type="{http://www.w3.org/2001/XMLSchema}anyURI" minOccurs="0"/>
                                      <element name="extension" type="{urn:ihe:iti:csd:2013}extension" maxOccurs="unbounded" minOccurs="0"/>
                                    </sequence>
                                  </extension>
                                </complexContent>
                              </complexType>
                            </element>
                            <element name="extension" type="{urn:ihe:iti:csd:2013}extension" maxOccurs="unbounded" minOccurs="0"/>
                          </sequence>
                        </extension>
                      </complexContent>
                    </complexType>
                  </element>
                </sequence>
              </restriction>
            </complexContent>
          </complexType>
        </element>
        <element name="operatingHours" type="{urn:ihe:iti:csd:2013}operatingHours" maxOccurs="unbounded" minOccurs="0"/>
        <element name="extension" type="{urn:ihe:iti:csd:2013}extension" maxOccurs="unbounded" minOccurs="0"/>
        <element name="record" type="{urn:ihe:iti:csd:2013}record"/>
      </sequence>
    </extension>
  </complexContent>
</complexType>

Constructors

Facility

public Facility()

Facility

public Facility(String entityID, Set<CodedType> codedTypes, Record record, String primaryName)

Facility

public Facility(String entityID, Set<CodedType> codedTypes, Set<Extension> extensions, Record record, Set<OtherID> otherIDs, String primaryName, Set<OtherName> otherNames, Set<Address> addresses, Set<OrganizationContact> contacts, Set<CodedType> languages, Set<ContactPoint> contactPoints, Geocode geocode, Set<FacilityOrganization> facilityOrganizations, Set<OperatingHours> operatingHours)

Methods

equals

public boolean equals(Object o)

getAddresses

public Set<Address> getAddresses()

getCodedTypes

public Set<CodedType> getCodedTypes()

getContactPoints

public Set<ContactPoint> getContactPoints()

getContacts

public Set<OrganizationContact> getContacts()

getExtensions

public Set<Extension> getExtensions()

getFacilityOrganizationSet

public Set<FacilityOrganization> getFacilityOrganizationSet()

getFacilityOrganizations

public Set<FacilityOrganization> getFacilityOrganizations()

getGeocode

public Geocode getGeocode()

getLanguages

public Set<CodedType> getLanguages()

getOperatingHours

public Set<OperatingHours> getOperatingHours()

getOtherIDs

public Set<OtherID> getOtherIDs()

getOtherNames

public Set<OtherName> getOtherNames()

getPrimaryName

public String getPrimaryName()

hashCode

public int hashCode()

setAddresses

public void setAddresses(Set<Address> addresses)

setCodedTypes

public void setCodedTypes(Set<CodedType> codedTypes)

setContactPoints

public void setContactPoints(Set<ContactPoint> contactPoints)

setContacts

public void setContacts(Set<OrganizationContact> contacts)

setExtensions

public void setExtensions(Set<Extension> extensions)

setFacilityOrganizationSet

public void setFacilityOrganizationSet(Set<FacilityOrganization> facilityOrganizationSet)

setFacilityOrganizations

public void setFacilityOrganizations(Set<FacilityOrganization> facilityOrganizations)

setGeocode

public void setGeocode(Geocode geocode)

setLanguages

public void setLanguages(Set<CodedType> languages)

setOperatingHours

public void setOperatingHours(Set<OperatingHours> operatingHours)

setOtherIDs

public void setOtherIDs(Set<OtherID> otherIDs)

setOtherNames

public void setOtherNames(Set<OtherName> otherNames)

setPrimaryName

public void setPrimaryName(String primaryName)

toString

public String toString()