hughsimpson / RakuFHIR

A FHIR (v4.0.1) domain model and client implementation for Raku (née Perl6), with json serdes

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

`required` array fields should be non-empty

hughsimpson opened this issue · comments

E.g. we should enforce that @type in

class FHIRSignature is Element is export {
          has Reference $.who is required;
          has Coding @.type is required;
          has DateTime $.when is required;
          has Base64Binary $.data;
          has FHIRCode $.sigFormat;
          has Reference $.onBehalfOf;
          has FHIRCode $.targetFormat;
}

should have at least one element