
Package org.hl7.fhir.r5.openehr
Class PARTY_RELATED
java.lang.Object
org.hl7.fhir.r5.model.Base
org.hl7.fhir.r5.model.LogicalBase
org.hl7.fhir.r5.openehr.PARTY_PROXY
org.hl7.fhir.r5.openehr.PARTY_IDENTIFIED
org.hl7.fhir.r5.openehr.PARTY_RELATED
- All Implemented Interfaces:
ca.uhn.fhir.model.api.IElement
,Serializable
,org.hl7.fhir.instance.model.api.IBase
,org.hl7.fhir.instance.model.api.IBaseDatatype
,org.hl7.fhir.instance.model.api.ICompositeType
public class PARTY_RELATED
extends PARTY_IDENTIFIED
implements org.hl7.fhir.instance.model.api.ICompositeType
Proxy type for identifying a party and its relationship to the subject of the record. Use where the relationship between the party and the subject of the record must be known.
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class org.hl7.fhir.r5.model.Base
Base.ProfileSource, Base.ValidationInfo, Base.ValidationMode, Base.ValidationReason
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected DV_CODED_TEXT
Relationship of subject of this ENTRY to the subject of the record.Fields inherited from class org.hl7.fhir.r5.openehr.PARTY_IDENTIFIED
identifiersList, name
Fields inherited from class org.hl7.fhir.r5.openehr.PARTY_PROXY
external_ref
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncopy()
void
copyValues
(PARTY_RELATED dst) boolean
equalsDeep
(Base other_) boolean
equalsShallow
(Base other_) fhirType()
getNamedProperty
(int _hash, String _name, boolean _checkValid) Base[]
getProperty
(int hash, String name, boolean checkValid) String[]
getTypesForProperty
(int hash, String name) boolean
boolean
isEmpty()
protected void
listChildren
(List<Property> children) makeProperty
(int hash, String name) setProperty
(int hash, String name, Base value) setProperty
(String name, Base value) setRelationship
(DV_CODED_TEXT value) protected PARTY_RELATED
Methods inherited from class org.hl7.fhir.r5.openehr.PARTY_IDENTIFIED
addIdentifiers, addIdentifiers, copyValues, getIdentifiersFirstRep, getIdentifiersList, getName, getNameElement, hasIdentifiers, hasName, hasNameElement, setIdentifiersList, setName, setNameElement
Methods inherited from class org.hl7.fhir.r5.openehr.PARTY_PROXY
copyValues, getExternal_ref, hasExternal_ref, setExternal_ref
Methods inherited from class org.hl7.fhir.r5.model.LogicalBase
getFHIRPublicationVersion, getIdBase, setIdBase
Methods inherited from class org.hl7.fhir.r5.model.Base
addDefinition, addFormatCommentsPost, addFormatCommentsPre, addValidationMessage, canHavePrimitiveValue, children, clearUserData, compareDeep, compareDeep, compareDeep, compareDeep, compareValues, compareValues, copyFormatComments, copyUserData, copyValues, dateTimeValue, equals, executeFunction, getChildByName, getChildValueByName, getFormatCommentsPost, getFormatCommentsPre, getNamedProperty, getUserData, getUserInt, getUserString, getValidationInfo, getValidationMessages, getXhtml, hasFormatComment, hasFormatCommentPost, hasFormatCommentPre, hasPrimitiveValue, hasType, hasUserData, hasValidated, hasValidationInfo, hasValidationMessages, isBooleanPrimitive, isCopyUserData, isDateTime, isMetadataBased, isPrimitive, isResource, listChildrenByName, listChildrenByName, primitiveValue, removeChild, setCopyUserData, setUserData, setUserDataINN, setXhtml
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.IBase
getFormatCommentsPost, getFormatCommentsPre, getUserData, hasFormatComment, setUserData
-
Field Details
-
relationship
Relationship of subject of this ENTRY to the subject of the record. May be coded. If it is the patient, coded as self.
-
-
Constructor Details
-
PARTY_RELATED
public PARTY_RELATED()Constructor -
PARTY_RELATED
Constructor
-
-
Method Details
-
getRelationship
- Returns:
relationship
(Relationship of subject of this ENTRY to the subject of the record. May be coded. If it is the patient, coded as self.)
-
hasRelationship
-
setRelationship
- Parameters:
value
-relationship
(Relationship of subject of this ENTRY to the subject of the record. May be coded. If it is the patient, coded as self.)
-
listChildren
- Overrides:
listChildren
in classPARTY_IDENTIFIED
-
getNamedProperty
public Property getNamedProperty(int _hash, String _name, boolean _checkValid) throws org.hl7.fhir.exceptions.FHIRException - Overrides:
getNamedProperty
in classPARTY_IDENTIFIED
- Throws:
org.hl7.fhir.exceptions.FHIRException
-
getProperty
public Base[] getProperty(int hash, String name, boolean checkValid) throws org.hl7.fhir.exceptions.FHIRException - Overrides:
getProperty
in classPARTY_IDENTIFIED
- Throws:
org.hl7.fhir.exceptions.FHIRException
-
setProperty
public Base setProperty(int hash, String name, Base value) throws org.hl7.fhir.exceptions.FHIRException - Overrides:
setProperty
in classPARTY_IDENTIFIED
- Throws:
org.hl7.fhir.exceptions.FHIRException
-
setProperty
- Overrides:
setProperty
in classPARTY_IDENTIFIED
- Throws:
org.hl7.fhir.exceptions.FHIRException
-
makeProperty
- Overrides:
makeProperty
in classPARTY_IDENTIFIED
- Throws:
org.hl7.fhir.exceptions.FHIRException
-
getTypesForProperty
public String[] getTypesForProperty(int hash, String name) throws org.hl7.fhir.exceptions.FHIRException - Overrides:
getTypesForProperty
in classPARTY_IDENTIFIED
- Throws:
org.hl7.fhir.exceptions.FHIRException
-
addChild
- Overrides:
addChild
in classPARTY_IDENTIFIED
- Throws:
org.hl7.fhir.exceptions.FHIRException
-
fhirType
- Specified by:
fhirType
in interfaceorg.hl7.fhir.instance.model.api.IBase
- Overrides:
fhirType
in classPARTY_IDENTIFIED
- Returns:
- the FHIR type name of the instance (not the java class name)
-
copy
- Overrides:
copy
in classPARTY_IDENTIFIED
-
copyValues
-
typedCopy
- Overrides:
typedCopy
in classPARTY_IDENTIFIED
-
equalsDeep
- Overrides:
equalsDeep
in classPARTY_IDENTIFIED
-
equalsShallow
- Overrides:
equalsShallow
in classPARTY_IDENTIFIED
-
isEmpty
- Specified by:
isEmpty
in interfaceorg.hl7.fhir.instance.model.api.IBase
- Overrides:
isEmpty
in classPARTY_IDENTIFIED
-