# searchUpdatedDocuments Types

Types and enums related to the searchUpdatedDocuments endpoint.

# SearchUpdatedDocumentsFieldRestriction

Enum An enum of fields that the searchUpdatedDocuments endpoint can be restricted to.

Key Value
LastUpdate last_update

# SearchUpdatedDocumentType

Enum An enum of types of documents that you can query the searchUpdatedDocuments endpoint with.

Key Value
PatientInformationLeaflet pil
SummaryOfProductCharacteristics spc
PublicAssessmentReport par
SafetyDataSheet sds
UserManual man
ProductInformation inf
AdditionalRiskMinimisationMeasures mmr
HealthTechnologyAssessmentReport hta

# SearchUpdatedDocumentsOptions

Type Options for configuring the searchUpdatedDocuments endpoint. Consists of LocaleOptions, PaginationOptions, RestrictToFieldOptions<SearchUpdatedDocumentsFieldRestriction> and some extra properties.

Name Type Required Default
country HealthboxCountry Value from client configuration
language HealthboxLanguage Value from client configuration
limit number 32
from number 0
restrictToField SearchUpdatedDocumentsFieldRestriction undefined
documentType SearchUpdatedDocumentType undefined
endDate Date undefined

# SearchUpdatedDocumentsRecord

Type Model of a single data record that the searchUpdatedDocuments endpoint responds with. The endpoint will return an array of those.

Name Type
commercialName string
documentId string
languageCode string
leafletTypeCode string
mah string
mimeType string
nmanCode string
source string
updatedOn Date