FHIR Chat · java validator sdf-3 on snapshot · conformance

Stream: conformance

Topic: java validator sdf-3 on snapshot


view this post on Zulip Patrick Werner (Feb 14 2021 at 15:40):

When validating: java -jar validator_cli.jar https://gist.githubusercontent.com/patrick-werner/53deed70bdcd428ae61a748c013630fa/raw/4d4064d042d35098ae8423ca5ae2c02bf62cc553/test.xml -version 4.0

view this post on Zulip Patrick Werner (Feb 14 2021 at 15:41):

i get the error:
Error @ StructureDefinition.snapshot (line 23, col13) : sdf-3: Each element definition in a snapshot must have a formal definition and cardinalities [element.all(definition.exists() and min.exists() and max.exists())]

view this post on Zulip Patrick Werner (Feb 14 2021 at 15:44):

On the snapshot element itself. I think this is a bug, as the snapshot element itself shouldnt have to include min/max cardinalities

view this post on Zulip Grahame Grieve (Feb 24 2021 at 02:44):

the snapshot element does have to have min/max


Last updated: Apr 12 2022 at 19:14 UTC