Class Organization
- java.lang.Object
-
- ca.uhn.fhir.model.api.BaseElement
-
- ca.uhn.fhir.model.dstu2.resource.BaseResource
-
- ca.uhn.fhir.model.dstu2.resource.Organization
-
- All Implemented Interfaces:
ca.uhn.fhir.model.api.ICompositeElement,ca.uhn.fhir.model.api.IElement,ca.uhn.fhir.model.api.IResource,ca.uhn.fhir.model.api.ISupportsUndeclaredExtensions,Serializable,org.hl7.fhir.instance.model.api.IBase,org.hl7.fhir.instance.model.api.IBaseResource
public class Organization extends BaseResource implements ca.uhn.fhir.model.api.IResource
HAPI/FHIR Organization Resource (administrative.group)Definition: A formally or informally recognized grouping of people or organizations formed for the purpose of achieving some form of collective action. Includes companies, institutions, corporations, departments, community groups, healthcare practice groups, etc.
Requirements:
Profile Definition: http://hl7.org/fhir/profiles/Organization
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classOrganization.ContactBlock class for child element: Organization.contact ()
-
Field Summary
Fields Modifier and Type Field Description static ca.uhn.fhir.rest.gclient.TokenClientParamACTIVEFluent Client search parameter constant for activestatic ca.uhn.fhir.rest.gclient.StringClientParamADDRESSFluent Client search parameter constant for addressstatic ca.uhn.fhir.rest.gclient.StringClientParamADDRESS_CITYFluent Client search parameter constant for address-citystatic ca.uhn.fhir.rest.gclient.StringClientParamADDRESS_COUNTRYFluent Client search parameter constant for address-countrystatic ca.uhn.fhir.rest.gclient.StringClientParamADDRESS_POSTALCODEFluent Client search parameter constant for address-postalcodestatic ca.uhn.fhir.rest.gclient.StringClientParamADDRESS_STATEFluent Client search parameter constant for address-statestatic ca.uhn.fhir.rest.gclient.TokenClientParamADDRESS_USEFluent Client search parameter constant for address-usestatic ca.uhn.fhir.rest.gclient.TokenClientParamIDENTIFIERFluent Client search parameter constant for identifierstatic ca.uhn.fhir.model.api.IncludeINCLUDE_PARTOFConstant for fluent queries to be used to add include statements.static ca.uhn.fhir.rest.gclient.StringClientParamNAMEFluent Client search parameter constant for namestatic ca.uhn.fhir.rest.gclient.ReferenceClientParamPARTOFFluent Client search parameter constant for partofstatic ca.uhn.fhir.rest.gclient.StringClientParamPHONETICFluent Client search parameter constant for phoneticstatic StringSP_ACTIVESearch parameter constant for activestatic StringSP_ADDRESSSearch parameter constant for addressstatic StringSP_ADDRESS_CITYSearch parameter constant for address-citystatic StringSP_ADDRESS_COUNTRYSearch parameter constant for address-countrystatic StringSP_ADDRESS_POSTALCODESearch parameter constant for address-postalcodestatic StringSP_ADDRESS_STATESearch parameter constant for address-statestatic StringSP_ADDRESS_USESearch parameter constant for address-usestatic StringSP_IDENTIFIERSearch parameter constant for identifierstatic StringSP_NAMESearch parameter constant for namestatic StringSP_PARTOFSearch parameter constant for partofstatic StringSP_PHONETICSearch parameter constant for phoneticstatic StringSP_TYPESearch parameter constant for typestatic ca.uhn.fhir.rest.gclient.TokenClientParamTYPEFluent Client search parameter constant for type-
Fields inherited from class ca.uhn.fhir.model.dstu2.resource.BaseResource
RES_ID, SP_RES_ID, SP_RES_LANGUAGE
-
-
Constructor Summary
Constructors Constructor Description Organization()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AddressDtaddAddress()Adds and returns a new value for address ()OrganizationaddAddress(AddressDt theValue)Adds a given new value for address ()Organization.ContactaddContact()Adds and returns a new value for contact ()OrganizationaddContact(Organization.Contact theValue)Adds a given new value for contact ()IdentifierDtaddIdentifier()Adds and returns a new value for identifier (id)OrganizationaddIdentifier(IdentifierDt theValue)Adds a given new value for identifier (id)ContactPointDtaddTelecom()Adds and returns a new value for telecom ()OrganizationaddTelecom(ContactPointDt theValue)Adds a given new value for telecom ()BooleangetActive()Gets the value(s) for active (status).ca.uhn.fhir.model.primitive.BooleanDtgetActiveElement()Gets the value(s) for active (status).List<AddressDt>getAddress()Gets the value(s) for address ().AddressDtgetAddressFirstRep()Gets the first repetition for address (), creating it if it does not already exist.<T extends ca.uhn.fhir.model.api.IElement>
List<T>getAllPopulatedChildElementsOfType(Class<T> theType)List<Organization.Contact>getContact()Gets the value(s) for contact ().Organization.ContactgetContactFirstRep()Gets the first repetition for contact (), creating it if it does not already exist.List<IdentifierDt>getIdentifier()Gets the value(s) for identifier (id).IdentifierDtgetIdentifierFirstRep()Gets the first repetition for identifier (id), creating it if it does not already exist.StringgetName()Gets the value(s) for name ().ca.uhn.fhir.model.primitive.StringDtgetNameElement()Gets the value(s) for name ().ResourceReferenceDtgetPartOf()Gets the value(s) for partOf ().StringgetResourceName()ca.uhn.fhir.context.FhirVersionEnumgetStructureFhirVersionEnum()List<ContactPointDt>getTelecom()Gets the value(s) for telecom ().ContactPointDtgetTelecomFirstRep()Gets the first repetition for telecom (), creating it if it does not already exist.CodeableConceptDtgetType()Gets the value(s) for type (class).booleanisEmpty()OrganizationsetActive(boolean theBoolean)Sets the value for active (status)OrganizationsetActive(ca.uhn.fhir.model.primitive.BooleanDt theValue)Sets the value(s) for active (status)OrganizationsetAddress(List<AddressDt> theValue)Sets the value(s) for address ()OrganizationsetContact(List<Organization.Contact> theValue)Sets the value(s) for contact ()OrganizationsetIdentifier(List<IdentifierDt> theValue)Sets the value(s) for identifier (id)OrganizationsetName(ca.uhn.fhir.model.primitive.StringDt theValue)Sets the value(s) for name ()OrganizationsetName(String theString)Sets the value for name ()OrganizationsetPartOf(ResourceReferenceDt theValue)Sets the value(s) for partOf ()OrganizationsetTelecom(List<ContactPointDt> theValue)Sets the value(s) for telecom ()OrganizationsetType(CodeableConceptDt theValue)Sets the value(s) for type (class)-
Methods inherited from class ca.uhn.fhir.model.dstu2.resource.BaseResource
getContained, getId, getIdElement, getLanguage, getMeta, getResourceMetadata, getText, isBaseEmpty, setContained, setId, setId, setId, setLanguage, setResourceMetadata, setText, toString
-
Methods inherited from class ca.uhn.fhir.model.api.BaseElement
addUndeclaredExtension, addUndeclaredExtension, addUndeclaredExtension, getAllUndeclaredExtensions, getFormatCommentsPost, getFormatCommentsPre, getUndeclaredExtensions, getUndeclaredExtensionsByUrl, getUndeclaredModifierExtensions, getUserData, hasFormatComment, setUserData
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.hl7.fhir.instance.model.api.IBase
fhirType, getFormatCommentsPost, getFormatCommentsPre, getUserData, hasFormatComment, setUserData
-
-
-
-
Field Detail
-
SP_NAME
public static final String SP_NAME
Search parameter constant for nameDescription: A portion of the organization's name
Type: string
Path: Organization.name
- See Also:
- Constant Field Values
-
NAME
public static final ca.uhn.fhir.rest.gclient.StringClientParam NAME
Fluent Client search parameter constant for nameDescription: A portion of the organization's name
Type: string
Path: Organization.name
-
SP_PHONETIC
public static final String SP_PHONETIC
Search parameter constant for phoneticDescription: A portion of the organization's name using some kind of phonetic matching algorithm
Type: string
Path: Organization.name
- See Also:
- Constant Field Values
-
PHONETIC
public static final ca.uhn.fhir.rest.gclient.StringClientParam PHONETIC
Fluent Client search parameter constant for phoneticDescription: A portion of the organization's name using some kind of phonetic matching algorithm
Type: string
Path: Organization.name
-
SP_TYPE
public static final String SP_TYPE
Search parameter constant for typeDescription: A code for the type of organization
Type: token
Path: Organization.type
- See Also:
- Constant Field Values
-
TYPE
public static final ca.uhn.fhir.rest.gclient.TokenClientParam TYPE
Fluent Client search parameter constant for typeDescription: A code for the type of organization
Type: token
Path: Organization.type
-
SP_IDENTIFIER
public static final String SP_IDENTIFIER
Search parameter constant for identifierDescription: Any identifier for the organization (not the accreditation issuer's identifier)
Type: token
Path: Organization.identifier
- See Also:
- Constant Field Values
-
IDENTIFIER
public static final ca.uhn.fhir.rest.gclient.TokenClientParam IDENTIFIER
Fluent Client search parameter constant for identifierDescription: Any identifier for the organization (not the accreditation issuer's identifier)
Type: token
Path: Organization.identifier
-
SP_PARTOF
public static final String SP_PARTOF
Search parameter constant for partofDescription: Search all organizations that are part of the given organization
Type: reference
Path: Organization.partOf
- See Also:
- Constant Field Values
-
PARTOF
public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam PARTOF
Fluent Client search parameter constant for partofDescription: Search all organizations that are part of the given organization
Type: reference
Path: Organization.partOf
-
SP_ACTIVE
public static final String SP_ACTIVE
Search parameter constant for activeDescription: Whether the organization's record is active
Type: token
Path: Organization.active
- See Also:
- Constant Field Values
-
ACTIVE
public static final ca.uhn.fhir.rest.gclient.TokenClientParam ACTIVE
Fluent Client search parameter constant for activeDescription: Whether the organization's record is active
Type: token
Path: Organization.active
-
SP_ADDRESS
public static final String SP_ADDRESS
Search parameter constant for addressDescription: A (part of the) address of the Organization
Type: string
Path: Organization.address
- See Also:
- Constant Field Values
-
ADDRESS
public static final ca.uhn.fhir.rest.gclient.StringClientParam ADDRESS
Fluent Client search parameter constant for addressDescription: A (part of the) address of the Organization
Type: string
Path: Organization.address
-
SP_ADDRESS_CITY
public static final String SP_ADDRESS_CITY
Search parameter constant for address-cityDescription: A city specified in an address
Type: string
Path: Organization.address.city
- See Also:
- Constant Field Values
-
ADDRESS_CITY
public static final ca.uhn.fhir.rest.gclient.StringClientParam ADDRESS_CITY
Fluent Client search parameter constant for address-cityDescription: A city specified in an address
Type: string
Path: Organization.address.city
-
SP_ADDRESS_STATE
public static final String SP_ADDRESS_STATE
Search parameter constant for address-stateDescription: A state specified in an address
Type: string
Path: Organization.address.state
- See Also:
- Constant Field Values
-
ADDRESS_STATE
public static final ca.uhn.fhir.rest.gclient.StringClientParam ADDRESS_STATE
Fluent Client search parameter constant for address-stateDescription: A state specified in an address
Type: string
Path: Organization.address.state
-
SP_ADDRESS_POSTALCODE
public static final String SP_ADDRESS_POSTALCODE
Search parameter constant for address-postalcodeDescription: A postal code specified in an address
Type: string
Path: Organization.address.postalCode
- See Also:
- Constant Field Values
-
ADDRESS_POSTALCODE
public static final ca.uhn.fhir.rest.gclient.StringClientParam ADDRESS_POSTALCODE
Fluent Client search parameter constant for address-postalcodeDescription: A postal code specified in an address
Type: string
Path: Organization.address.postalCode
-
SP_ADDRESS_COUNTRY
public static final String SP_ADDRESS_COUNTRY
Search parameter constant for address-countryDescription: A country specified in an address
Type: string
Path: Organization.address.country
- See Also:
- Constant Field Values
-
ADDRESS_COUNTRY
public static final ca.uhn.fhir.rest.gclient.StringClientParam ADDRESS_COUNTRY
Fluent Client search parameter constant for address-countryDescription: A country specified in an address
Type: string
Path: Organization.address.country
-
SP_ADDRESS_USE
public static final String SP_ADDRESS_USE
Search parameter constant for address-useDescription: A use code specified in an address
Type: token
Path: Organization.address.use
- See Also:
- Constant Field Values
-
ADDRESS_USE
public static final ca.uhn.fhir.rest.gclient.TokenClientParam ADDRESS_USE
Fluent Client search parameter constant for address-useDescription: A use code specified in an address
Type: token
Path: Organization.address.use
-
INCLUDE_PARTOF
public static final ca.uhn.fhir.model.api.Include INCLUDE_PARTOF
Constant for fluent queries to be used to add include statements. Specifies the path value of "Organization:partof".
-
-
Constructor Detail
-
Organization
public Organization()
-
-
Method Detail
-
isEmpty
public boolean isEmpty()
- Specified by:
isEmptyin interfaceorg.hl7.fhir.instance.model.api.IBase
-
getAllPopulatedChildElementsOfType
public <T extends ca.uhn.fhir.model.api.IElement> List<T> getAllPopulatedChildElementsOfType(Class<T> theType)
- Specified by:
getAllPopulatedChildElementsOfTypein interfaceca.uhn.fhir.model.api.ICompositeElement
-
getIdentifier
public List<IdentifierDt> getIdentifier()
Gets the value(s) for identifier (id). creating it if it does not exist. Will not returnnull.Definition: Identifier for the organization that is used to identify the organization across multiple disparate systems
-
setIdentifier
public Organization setIdentifier(List<IdentifierDt> theValue)
Sets the value(s) for identifier (id)Definition: Identifier for the organization that is used to identify the organization across multiple disparate systems
-
addIdentifier
public IdentifierDt addIdentifier()
Adds and returns a new value for identifier (id)Definition: Identifier for the organization that is used to identify the organization across multiple disparate systems
-
addIdentifier
public Organization addIdentifier(IdentifierDt theValue)
Adds a given new value for identifier (id)Definition: Identifier for the organization that is used to identify the organization across multiple disparate systems
- Parameters:
theValue- The identifier to add (must not benull)
-
getIdentifierFirstRep
public IdentifierDt getIdentifierFirstRep()
Gets the first repetition for identifier (id), creating it if it does not already exist.Definition: Identifier for the organization that is used to identify the organization across multiple disparate systems
-
getActiveElement
public ca.uhn.fhir.model.primitive.BooleanDt getActiveElement()
Gets the value(s) for active (status). creating it if it does not exist. Will not returnnull.Definition: Whether the organization's record is still in active use
-
getActive
public Boolean getActive()
Gets the value(s) for active (status). creating it if it does not exist. This method may returnnull.Definition: Whether the organization's record is still in active use
-
setActive
public Organization setActive(ca.uhn.fhir.model.primitive.BooleanDt theValue)
Sets the value(s) for active (status)Definition: Whether the organization's record is still in active use
-
setActive
public Organization setActive(boolean theBoolean)
Sets the value for active (status)Definition: Whether the organization's record is still in active use
-
getType
public CodeableConceptDt getType()
Gets the value(s) for type (class). creating it if it does not exist. Will not returnnull.Definition: The kind of organization that this is
-
setType
public Organization setType(CodeableConceptDt theValue)
Sets the value(s) for type (class)Definition: The kind of organization that this is
-
getNameElement
public ca.uhn.fhir.model.primitive.StringDt getNameElement()
Gets the value(s) for name (). creating it if it does not exist. Will not returnnull.Definition: A name associated with the organization
-
getName
public String getName()
Gets the value(s) for name (). creating it if it does not exist. This method may returnnull.Definition: A name associated with the organization
-
setName
public Organization setName(ca.uhn.fhir.model.primitive.StringDt theValue)
Sets the value(s) for name ()Definition: A name associated with the organization
-
setName
public Organization setName(String theString)
Sets the value for name ()Definition: A name associated with the organization
-
getTelecom
public List<ContactPointDt> getTelecom()
Gets the value(s) for telecom (). creating it if it does not exist. Will not returnnull.Definition: A contact detail for the organization
-
setTelecom
public Organization setTelecom(List<ContactPointDt> theValue)
Sets the value(s) for telecom ()Definition: A contact detail for the organization
-
addTelecom
public ContactPointDt addTelecom()
Adds and returns a new value for telecom ()Definition: A contact detail for the organization
-
addTelecom
public Organization addTelecom(ContactPointDt theValue)
Adds a given new value for telecom ()Definition: A contact detail for the organization
- Parameters:
theValue- The telecom to add (must not benull)
-
getTelecomFirstRep
public ContactPointDt getTelecomFirstRep()
Gets the first repetition for telecom (), creating it if it does not already exist.Definition: A contact detail for the organization
-
getAddress
public List<AddressDt> getAddress()
Gets the value(s) for address (). creating it if it does not exist. Will not returnnull.Definition: An address for the organization
-
setAddress
public Organization setAddress(List<AddressDt> theValue)
Sets the value(s) for address ()Definition: An address for the organization
-
addAddress
public AddressDt addAddress()
Adds and returns a new value for address ()Definition: An address for the organization
-
addAddress
public Organization addAddress(AddressDt theValue)
Adds a given new value for address ()Definition: An address for the organization
- Parameters:
theValue- The address to add (must not benull)
-
getAddressFirstRep
public AddressDt getAddressFirstRep()
Gets the first repetition for address (), creating it if it does not already exist.Definition: An address for the organization
-
getPartOf
public ResourceReferenceDt getPartOf()
Gets the value(s) for partOf (). creating it if it does not exist. Will not returnnull.Definition: The organization of which this organization forms a part
-
setPartOf
public Organization setPartOf(ResourceReferenceDt theValue)
Sets the value(s) for partOf ()Definition: The organization of which this organization forms a part
-
getContact
public List<Organization.Contact> getContact()
Gets the value(s) for contact (). creating it if it does not exist. Will not returnnull.Definition:
-
setContact
public Organization setContact(List<Organization.Contact> theValue)
Sets the value(s) for contact ()Definition:
-
addContact
public Organization.Contact addContact()
Adds and returns a new value for contact ()Definition:
-
addContact
public Organization addContact(Organization.Contact theValue)
Adds a given new value for contact ()Definition:
- Parameters:
theValue- The contact to add (must not benull)
-
getContactFirstRep
public Organization.Contact getContactFirstRep()
Gets the first repetition for contact (), creating it if it does not already exist.Definition:
-
getResourceName
public String getResourceName()
- Specified by:
getResourceNamein interfaceca.uhn.fhir.model.api.IResource
-
getStructureFhirVersionEnum
public ca.uhn.fhir.context.FhirVersionEnum getStructureFhirVersionEnum()
- Specified by:
getStructureFhirVersionEnumin interfaceorg.hl7.fhir.instance.model.api.IBaseResource- Specified by:
getStructureFhirVersionEnumin interfaceca.uhn.fhir.model.api.IResource
-
-