Error: Missing required property
# support
t
hi medplum team. resource creating with default json has no error in self hosting.
Copy code
{
  "resourceType": "StructureDefinition"
  // no another fields
}
but... type checking in https://app.medplum.com/StructureDefinition/new/json
Copy code
Constraint sdf-4 not met: If the structure is not abstract, ...
Missing required property ...
how can i do type check in self hosting?
r
Hi @two4zero_63114 and welcome to the support forum. Every FHIR resource has a number of codified constraints as part of their schema. In this case, specifying a
StructureDefinition
with only a
resourceType
field violates the constraints. You can see the definition of the schema here: https://hl7.org/fhir/R4/structuredefinition.html#invs
191 Views