Thanks @Muhammad Waseem !

I know about FHIR schema json opportunity and use it too.

But what I'm talking about here in this question is revealed in this video. 

Besides Patient resource we can submit "StructureDefinition" resource (listed above in a spoiler), which introduces constraints in the FHIR standard in this particular FHIR server I'm working with.

And the second example above is the Patient resource with this profile in meta section which FHIR server should use to "fire" constraints. But it doesn't.

@Patrick Jamieson , could you please help here?