public class RelatedDocumentImpl extends Object implements RelatedDocument
| Constructor and Description |
|---|
RelatedDocumentImpl(UniqueIdentifier parentDocumentId,
au.net.electronichealth.ns.cda._2_0.XActRelationshipDocument typeCode)
An object representing another HL7 Related Document
|
| Modifier and Type | Method and Description |
|---|---|
Code |
getDocumentCode() |
UniqueIdentifier |
getParentDocumentId() |
UniqueIdentifier |
getSetId() |
au.net.electronichealth.ns.cda._2_0.XActRelationshipDocument |
getTypeCode() |
Integer |
getVersionNumber() |
void |
setDocumentCode(Code code) |
void |
setParentDocumentId(AsEntityIdentifier parentDocumentId)
Represents the unique instance identifier of a clinical document.
|
void |
setSetId(UniqueIdentifier setId)
SetId Represents an identifier that is common across all document revisions.
|
void |
setTypeCode(au.net.electronichealth.ns.cda._2_0.XActRelationshipDocument typeCode) |
void |
setVersionNumber(int versionNumber) |
public RelatedDocumentImpl(UniqueIdentifier parentDocumentId, au.net.electronichealth.ns.cda._2_0.XActRelationshipDocument typeCode)
parentDocumentId - Represents the unique instance identifier of a clinical document. IftypeCode - HL7 v3 CDA: RelatedDocument.typeCode A conformant CDA document MAY have a single
relatedDocument with typeCode "XFRM"; a combination of two relatedDocuments with typeCodes
"XFRM"and "RPLC". No other combinations SHALL be allowed.
@typeCode=XFRM;the id/@root SHALL contain an implementation specific OID and id/@extension SHALL contain the 'Source Record Identifier' of the original/parent document. If @typeCode=RPLC; the parent/id SHALL contain the ClinicalDocument/id of the document being replaced.
public Code getDocumentCode()
getDocumentCode in interface RelatedDocumentpublic void setDocumentCode(Code code)
public UniqueIdentifier getParentDocumentId()
getParentDocumentId in interface RelatedDocumentpublic void setParentDocumentId(AsEntityIdentifier parentDocumentId)
public UniqueIdentifier getSetId()
getSetId in interface RelatedDocumentpublic void setSetId(UniqueIdentifier setId)
public Integer getVersionNumber()
getVersionNumber in interface RelatedDocumentpublic void setVersionNumber(int versionNumber)
versionNumber - the versionNumber to setpublic void setTypeCode(au.net.electronichealth.ns.cda._2_0.XActRelationshipDocument typeCode)
typeCode - the typeCode to setpublic au.net.electronichealth.ns.cda._2_0.XActRelationshipDocument getTypeCode()
getTypeCode in interface RelatedDocumentCopyright © 2021. All rights reserved.