Package org.hl7.fhir.dstu2.model
Class Organization
- java.lang.Object
-
- org.hl7.fhir.dstu2.model.Base
-
- org.hl7.fhir.dstu2.model.BaseResource
-
- org.hl7.fhir.dstu2.model.Resource
-
- org.hl7.fhir.dstu2.model.DomainResource
-
- org.hl7.fhir.dstu2.model.Organization
-
- All Implemented Interfaces:
ca.uhn.fhir.model.api.IElement,Serializable,org.hl7.fhir.instance.model.api.IAnyResource,org.hl7.fhir.instance.model.api.IBase,org.hl7.fhir.instance.model.api.IBaseHasExtensions,org.hl7.fhir.instance.model.api.IBaseHasModifierExtensions,org.hl7.fhir.instance.model.api.IBaseResource,org.hl7.fhir.instance.model.api.IDomainResource
public class Organization extends DomainResource
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.- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classOrganization.OrganizationContactComponent
-
Field Summary
Fields Modifier and Type Field Description protected BooleanTypeactiveWhether the organization's record is still in active use.protected List<Address>addressAn address for the organization.protected List<Organization.OrganizationContactComponent>contactContact for the organization for a certain purpose.protected List<Identifier>identifierIdentifier for the organization that is used to identify the organization across multiple disparate systems.protected StringTypenameA name associated with the organization.protected ReferencepartOfThe organization of which this organization forms a part.protected OrganizationpartOfTargetThe actual object that is the target of the reference (The organization of which this organization forms a part.)static StringSP_ACTIVEstatic StringSP_ADDRESSstatic StringSP_ADDRESSCITYstatic StringSP_ADDRESSCOUNTRYstatic StringSP_ADDRESSPOSTALCODEstatic StringSP_ADDRESSSTATEstatic StringSP_ADDRESSUSEstatic StringSP_IDENTIFIERstatic StringSP_NAMEstatic StringSP_PARTOFstatic StringSP_PHONETICstatic StringSP_TYPEprotected List<ContactPoint>telecomA contact detail for the organization.protected CodeableConcepttypeThe kind of organization that this is.-
Fields inherited from class org.hl7.fhir.dstu2.model.DomainResource
contained, extension, modifierExtension, text
-
Fields inherited from class org.hl7.fhir.dstu2.model.Resource
id, implicitRules, language, meta
-
-
Constructor Summary
Constructors Constructor Description Organization()
-
Method Summary
-
Methods inherited from class org.hl7.fhir.dstu2.model.DomainResource
addContained, addExtension, addExtension, addModifierExtension, addModifierExtension, copyValues, getContained, getExtension, getModifierExtension, getText, hasContained, hasExtension, hasModifierExtension, hasText, setText
-
Methods inherited from class org.hl7.fhir.dstu2.model.Resource
copyValues, getId, getIdElement, getImplicitRules, getImplicitRulesElement, getLanguage, getLanguageElement, getMeta, hasId, hasIdElement, hasImplicitRules, hasImplicitRulesElement, hasLanguage, hasLanguageElement, hasMeta, setId, setIdElement, setImplicitRules, setImplicitRulesElement, setLanguage, setLanguageElement, setMeta
-
Methods inherited from class org.hl7.fhir.dstu2.model.BaseResource
getStructureFhirVersionEnum, setId
-
Methods inherited from class org.hl7.fhir.dstu2.model.Base
castToAddress, castToAnnotation, castToAttachment, castToBase64Binary, castToBoolean, castToCode, castToCodeableConcept, castToCoding, castToContactPoint, castToDate, castToDateTime, castToDecimal, castToDuration, castToElementDefinition, castToExtension, castToHumanName, castToId, castToIdentifier, castToInstant, castToInteger, castToMarkdown, castToMeta, castToMoney, castToNarrative, castToOid, castToPeriod, castToPositiveInt, castToQuantity, castToRange, castToRatio, castToReference, castToResource, castToSampledData, castToSignature, castToSimpleQuantity, castToString, castToTime, castToTiming, castToUnsignedInt, castToUri, children, compareDeep, compareDeep, compareDeep, compareValues, compareValues, equals, getChildByName, getFormatCommentsPost, getFormatCommentsPre, getUserData, getUserInt, getUserString, hasFormatComment, hasType, hasUserData, isMetadataBased, isPrimitive, listChildrenByName, primitiveValue, setUserData, setUserDataINN
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.hl7.fhir.instance.model.api.IAnyResource
getId, getIdElement, getLanguageElement, getUserData, setId, setUserData
-
-
-
-
Field Detail
-
identifier
protected List<Identifier> identifier
Identifier for the organization that is used to identify the organization across multiple disparate systems.
-
active
protected BooleanType active
Whether the organization's record is still in active use.
-
type
protected CodeableConcept type
The kind of organization that this is.
-
name
protected StringType name
A name associated with the organization.
-
telecom
protected List<ContactPoint> telecom
A contact detail for the organization.
-
partOfTarget
protected Organization partOfTarget
The actual object that is the target of the reference (The organization of which this organization forms a part.)
-
contact
protected List<Organization.OrganizationContactComponent> contact
Contact for the organization for a certain purpose.
-
SP_IDENTIFIER
public static final String SP_IDENTIFIER
- See Also:
- Constant Field Values
-
SP_PARTOF
public static final String SP_PARTOF
- See Also:
- Constant Field Values
-
SP_PHONETIC
public static final String SP_PHONETIC
- See Also:
- Constant Field Values
-
SP_ADDRESS
public static final String SP_ADDRESS
- See Also:
- Constant Field Values
-
SP_ADDRESSSTATE
public static final String SP_ADDRESSSTATE
- See Also:
- Constant Field Values
-
SP_NAME
public static final String SP_NAME
- See Also:
- Constant Field Values
-
SP_ADDRESSUSE
public static final String SP_ADDRESSUSE
- See Also:
- Constant Field Values
-
SP_ACTIVE
public static final String SP_ACTIVE
- See Also:
- Constant Field Values
-
SP_TYPE
public static final String SP_TYPE
- See Also:
- Constant Field Values
-
SP_ADDRESSCITY
public static final String SP_ADDRESSCITY
- See Also:
- Constant Field Values
-
SP_ADDRESSPOSTALCODE
public static final String SP_ADDRESSPOSTALCODE
- See Also:
- Constant Field Values
-
SP_ADDRESSCOUNTRY
public static final String SP_ADDRESSCOUNTRY
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
Organization
public Organization()
-
-
Method Detail
-
getIdentifier
public List<Identifier> getIdentifier()
- Returns:
identifier(Identifier for the organization that is used to identify the organization across multiple disparate systems.)
-
hasIdentifier
public boolean hasIdentifier()
-
addIdentifier
public Identifier addIdentifier()
- Returns:
identifier(Identifier for the organization that is used to identify the organization across multiple disparate systems.)
-
addIdentifier
public Organization addIdentifier(Identifier t)
-
getActiveElement
public BooleanType getActiveElement()
- Returns:
active(Whether the organization's record is still in active use.). This is the underlying object with id, value and extensions. The accessor "getActive" gives direct access to the value
-
hasActiveElement
public boolean hasActiveElement()
-
hasActive
public boolean hasActive()
-
setActiveElement
public Organization setActiveElement(BooleanType value)
- Parameters:
value-active(Whether the organization's record is still in active use.). This is the underlying object with id, value and extensions. The accessor "getActive" gives direct access to the value
-
getActive
public boolean getActive()
- Returns:
- Whether the organization's record is still in active use.
-
setActive
public Organization setActive(boolean value)
- Parameters:
value- Whether the organization's record is still in active use.
-
getType
public CodeableConcept getType()
- Returns:
type(The kind of organization that this is.)
-
hasType
public boolean hasType()
-
setType
public Organization setType(CodeableConcept value)
- Parameters:
value-type(The kind of organization that this is.)
-
getNameElement
public StringType getNameElement()
- Returns:
name(A name associated with the organization.). This is the underlying object with id, value and extensions. The accessor "getName" gives direct access to the value
-
hasNameElement
public boolean hasNameElement()
-
hasName
public boolean hasName()
-
setNameElement
public Organization setNameElement(StringType value)
- Parameters:
value-name(A name associated with the organization.). This is the underlying object with id, value and extensions. The accessor "getName" gives direct access to the value
-
setName
public Organization setName(String value)
- Parameters:
value- A name associated with the organization.
-
getTelecom
public List<ContactPoint> getTelecom()
- Returns:
telecom(A contact detail for the organization.)
-
hasTelecom
public boolean hasTelecom()
-
addTelecom
public ContactPoint addTelecom()
- Returns:
telecom(A contact detail for the organization.)
-
addTelecom
public Organization addTelecom(ContactPoint t)
-
getAddress
public List<Address> getAddress()
- Returns:
address(An address for the organization.)
-
hasAddress
public boolean hasAddress()
-
addAddress
public Address addAddress()
- Returns:
address(An address for the organization.)
-
addAddress
public Organization addAddress(Address t)
-
getPartOf
public Reference getPartOf()
- Returns:
partOf(The organization of which this organization forms a part.)
-
hasPartOf
public boolean hasPartOf()
-
setPartOf
public Organization setPartOf(Reference value)
- Parameters:
value-partOf(The organization of which this organization forms a part.)
-
getPartOfTarget
public Organization getPartOfTarget()
- Returns:
partOfThe actual object that is the target of the reference. The reference library doesn't populate this, but you can use it to hold the resource if you resolve it. (The organization of which this organization forms a part.)
-
setPartOfTarget
public Organization setPartOfTarget(Organization value)
- Parameters:
value-partOfThe actual object that is the target of the reference. The reference library doesn't use these, but you can use it to hold the resource if you resolve it. (The organization of which this organization forms a part.)
-
getContact
public List<Organization.OrganizationContactComponent> getContact()
- Returns:
contact(Contact for the organization for a certain purpose.)
-
hasContact
public boolean hasContact()
-
addContact
public Organization.OrganizationContactComponent addContact()
- Returns:
contact(Contact for the organization for a certain purpose.)
-
addContact
public Organization addContact(Organization.OrganizationContactComponent t)
-
listChildren
protected void listChildren(List<Property> childrenList)
- Overrides:
listChildrenin classDomainResource
-
setProperty
public void setProperty(String name, Base value) throws org.hl7.fhir.exceptions.FHIRException
- Overrides:
setPropertyin classDomainResource- Throws:
org.hl7.fhir.exceptions.FHIRException
-
addChild
public Base addChild(String name) throws org.hl7.fhir.exceptions.FHIRException
- Overrides:
addChildin classDomainResource- Throws:
org.hl7.fhir.exceptions.FHIRException
-
fhirType
public String fhirType()
- Specified by:
fhirTypein interfaceorg.hl7.fhir.instance.model.api.IBase- Overrides:
fhirTypein classDomainResource
-
copy
public Organization copy()
- Specified by:
copyin classDomainResource
-
typedCopy
protected Organization typedCopy()
-
equalsDeep
public boolean equalsDeep(Base other)
- Overrides:
equalsDeepin classDomainResource
-
equalsShallow
public boolean equalsShallow(Base other)
- Overrides:
equalsShallowin classDomainResource
-
isEmpty
public boolean isEmpty()
- Specified by:
isEmptyin interfaceorg.hl7.fhir.instance.model.api.IBase- Overrides:
isEmptyin classDomainResource
-
getResourceType
public ResourceType getResourceType()
- Specified by:
getResourceTypein classResource
-
-