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

Parameter

Type

Description

sd

StructureDefinition

The StructureDefinition resource to parse

Returns:

InternalTypeSchema

The parsed schema for the given resource type