public class MCpersonNameItem extends MCcontentItem
PNAME Content Item is used to keep the name of the person whose role is described by the Concept Name.
Constructor and Description |
---|
MCpersonNameItem()
Default constructor.
|
MCpersonNameItem(MCpersonName personName,
MCbasicCodedEntry conceptName)
Creates a new instance of the PNAME Content Item.
|
Modifier and Type | Method and Description |
---|---|
MCcontentItemType |
contentItemType()
Gets the value type of this content item.
|
MCpersonName |
getPersonName()
Gets the person name of the person whose role is described by the Concept Name.
|
void |
read(MCattributeSet source)
Reads the PNAME content item from the source attribute set.
|
void |
setPersonName(MCpersonName personName)
Sets the person name of the person whose role is described by the Concept Name.
|
void |
write(MCattributeSet destination)
Writes the PNAME content item to the destination attribute set.
|
addChild, addChildAt, addReference, getChildAt, getChildren, getConceptName, getDataContext, getItemId, getObservationDateTime, getObservationUID, getParent, getPosition, getReferences, getRelationshipType, getRootItem, removeChild, removeChildAt, removeReference, removeReference, setConceptName, setDataContext, setObservationDataTime, setObservationUID, setRelationshipType
public MCpersonNameItem()
public MCpersonNameItem(MCpersonName personName, MCbasicCodedEntry conceptName)
personName
- Person Name.conceptName
- Concept Name describing the role of the person.public MCpersonName getPersonName()
public void setPersonName(MCpersonName personName)
personName
- The person name of the person whose role is described by the Concept Name.public MCcontentItemType contentItemType()
contentItemType
in class MCcontentItem
MCcontentItemType.PNAME
public void read(MCattributeSet source)
read
in interface MCdataSetSerializable
read
in class MCcontentItem
source
- Source attribute set.MCexception
- If the source parameter is null.public void write(MCattributeSet destination)
write
in interface MCdataSetSerializable
write
in class MCcontentItem
destination
- Destination attribute set.MCexception
- If the destination parameter is null or
is NOT an MCitem
object.