String datatype in FHIR/R4

Can anybody give some information about string datatype in FHIR for example
Is it possible to have 500 chars family name or there are restrictions?

Sorry for the delay. This post got flagged for some reason so it didn’t get exposed right away.

The string data type can have up to a million characters. However, you certainly shouldn’t expect most systems to accept name parts that are that long. Implementation Guides may define tighter length constraints and system business rules may also impose constraints.