{"abstract":false,"base":"http://hl7.org/fhir/StructureDefinition/Extension","constrainedType":"Extension","contact":[{"telecom":[{"system":"other","value":"http://www.hl7.org"}]}],"context":["Questionnaire.item","Questionnaire.item.item"],"contextType":"resource","date":"2013-07-04","description":"The minimum number of times the group must appear or the minimum number of answers for a question - when greater than 1.","differential":{"element":[{"comments":"Default assumption for \"required\" elements is minOccurs=1.","constraint":[{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/structuredefinition-expression","valueString":"$parent.type!='display'"}],"human":"minOccurs can't exist for display items","key":"inv-3","severity":"error","xpath":"not(parent::*/f:type/@value='display')"},{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/structuredefinition-expression","valueString":"valueInteger = 0 or $parent.required"}],"human":"minOccurs can't be more than one if required is false","key":"inv-1","severity":"error","xpath":"f:valueInteger/@value=0 or parent::*/f:required/@value=true()"}],"definition":"The minimum number of times the group must appear or the minimum number of answers for a question - when greater than 1.","mapping":[{"identity":"rim","map":"N/A - MIF rather than RIM level"}],"max":"1","min":0,"path":"Extension","short":"Minimum repetitions","type":[{"code":"Extension"}]},{"max":"0","name":"extension","path":"Extension.extension"},{"fixedUri":"http://hl7.org/fhir/StructureDefinition/questionnaire-minOccurs","path":"Extension.url","type":[{"code":"uri"}]},{"min":1,"path":"Extension.value[x]","type":[{"code":"integer"}]}]},"fhirVersion":"1.1.0","id":"questionnaire-minOccurs","kind":"datatype","mapping":[{"identity":"rim","name":"RIM","uri":"http://hl7.org/v3"}],"name":"Minimum repetitions","publisher":"HL7","resourceType":"StructureDefinition","snapshot":{"element":[{"base":{"max":"*","min":0,"path":"Extension"},"comments":"Default assumption for \"required\" elements is minOccurs=1.","constraint":[{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/structuredefinition-expression","valueString":"$parent.type!='display'"}],"human":"minOccurs can't exist for display items","key":"inv-3","severity":"error","xpath":"not(parent::*/f:type/@value='display')"},{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/structuredefinition-expression","valueString":"valueInteger = 0 or $parent.required"}],"human":"minOccurs can't be more than one if required is false","key":"inv-1","severity":"error","xpath":"f:valueInteger/@value=0 or parent::*/f:required/@value=true()"}],"definition":"The minimum number of times the group must appear or the minimum number of answers for a question - when greater than 1.","mapping":[{"identity":"rim","map":"N/A - MIF rather than RIM level"}],"max":"1","min":0,"path":"Extension","short":"Minimum repetitions","type":[{"code":"Extension"}]},{"base":{"max":"1","min":0,"path":"Extension.id"},"definition":"unique id for the element within a resource (for internal references).","mapping":[{"identity":"rim","map":"n/a"}],"max":"1","min":0,"path":"Extension.id","representation":["xmlAttr"],"short":"xml:id (or equivalent in JSON)","type":[{"code":"id"}]},{"base":{"max":"*","min":0,"path":"Extension.extension"},"definition":"An Extension","max":"0","min":0,"name":"extension","path":"Extension.extension","short":"Extension","type":[{"code":"Extension"}]},{"base":{"max":"1","min":1,"path":"Extension.url"},"comments":"The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition should be version specific.  This will ideally be the URI for the Resource Profile defining the extension, with the code for the extension after a #.","definition":"Source of the definition for the extension code - a logical name or a URL.","fixedUri":"http://hl7.org/fhir/StructureDefinition/questionnaire-minOccurs","mapping":[{"identity":"rim","map":"N/A"}],"max":"1","min":1,"path":"Extension.url","representation":["xmlAttr"],"short":"identifies the meaning of the extension","type":[{"code":"uri"}]},{"base":{"max":"1","min":0,"path":"Extension.value[x]"},"definition":"Value of extension - may be a resource or one of a constrained set of the data types (see Extensibility in the spec for list).","mapping":[{"identity":"rim","map":"N/A"}],"max":"1","min":1,"path":"Extension.valueInteger","short":"Value of extension","type":[{"code":"integer"}]}]},"status":"draft","url":"http://hl7.org/fhir/StructureDefinition/questionnaire-minOccurs"}