fromDataItem

fun fromDataItem(dataItem: DataItem, documentTypeRepository: DocumentTypeRepository? = null): EventPresentmentDataDocument

Creates a EventPresentmentDataDocument previously serialized with EventPresentmentDataDocument.toDataItem.

Return

a new EventPresentmentDataDocument.

Parameters

dataItem
documentTypeRepository

if not null, will be used to look up a DocumentAttribute for the claim.