FHIR Chat · OpenAPI bug in schema for booleans? · implementers

Stream: implementers

Topic: OpenAPI bug in schema for booleans?


view this post on Zulip Josh Mandel (Aug 20 2018 at 16:09):

Looking at http://build.fhir.org/Observation.schema.json (for instance) I see:

        "valueBoolean": {
          "description": "The information determined as a result of making the observation, if the information has a simple value.",
          "pattern": "^true|false$",
          "type": "boolean"
        },

I think the pattern property only applies for properties of type "string", so technically shouldn't be present here.


Last updated: Apr 12 2022 at 19:14 UTC