Skip to main content

core.parsestructuredefinition

Home > @medplum/core > parseStructureDefinition

parseStructureDefinition() function

Parses a StructureDefinition resource into an internal schema better suited for programmatic validation and usage in internal systems

Signature:

export declare function parseStructureDefinition(sd: StructureDefinition): InternalTypeSchema;

Parameters

ParameterTypeDescription
sdStructureDefinitionThe StructureDefinition resource to parse

Returns:

InternalTypeSchema

The parsed schema for the given resource type