HealthRecordCommunity
FHIR🌏 InternationalEnriched

Medblocks UI Components: Handling Duration Data

mb-duration - Medblocks UI Components | Docs

June 4, 2026

Summary

Medblocks provides the 'mb-duration' UI component to support FHIR-based medical form development. This component includes properties, methods, and events for handling period data such as time and dates, enabling input validation and serialization processes.

Details

This document serves as a technical specification for the 'mb-duration' component provided by Medblocks UI. The component features various properties (e.g., `datatype`, `label`, `path`) for managing period data (such as hours, days, months, years) and methods for data manipulation and validation (e.g., `formatDuration`, `reportValidity`, `serializePeriod`). It also defines events related to the component's lifecycle (e.g., `mb-connect`, `mb-disconnect`). This is a technical reference designed to assist with input control and data structuring of period data within FHIR-based medical form development. The mention of the related 'mb-fhir-form' component suggests that Medblocks offers a comprehensive environment for building forms based on FHIR standards.

📰
Read Original Article
medblocks.com

Original content copyright by respective publishers