{"abstract":false,"baseDefinition":"http://hl7.org/fhir/StructureDefinition/Extension","contact":[{"telecom":[{"system":"url","value":"http://hl7.org/special/committees/fhir.htm"}]}],"context":[{"expression":"CapabilityStatement.rest.resource.interaction","type":"element"},{"expression":"CapabilityStatement.rest.resource.searchParam","type":"element"},{"expression":"CapabilityStatement.rest.searchParam","type":"element"},{"expression":"CapabilityStatement.rest.operation","type":"element"},{"expression":"CapabilityStatement.document","type":"element"},{"expression":"CapabilityStatement.rest.interaction","type":"element"},{"expression":"CapabilityStatement.rest.resource.searchInclude","type":"element"},{"expression":"CapabilityStatement.rest.resource.searchRevInclude","type":"element"}],"date":"2014-04-12","derivation":"constraint","description":"Defines the level of expectation associated with a given system capability.","differential":{"element":[{"comment":"If \"SHALL NOT\" is desired, use the \"prohibited\" modifier extension.  This extension should only be used with CapabilityStatements documenting requirements, not those documenting actual system capabilities.","definition":"Defines the level of expectation associated with a given system capability.","id":"Extension","mapping":[{"identity":"v2","map":"N/A"},{"identity":"rim","map":"N/A"}],"max":"1","min":0,"path":"Extension","short":"SHALL | SHOULD | MAY |SHOULD-NOT"},{"id":"Extension.extension","max":"0","path":"Extension.extension"},{"fixedUri":"http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation","id":"Extension.url","path":"Extension.url","type":[{"code":"uri"}]},{"binding":{"description":"Indicates the degree of adherence to a specified behavior or capability expected for a system to be deemed conformant with a specification.","extension":[{"url":"http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName","valueString":"ConformanceExpectation"}],"strength":"required","valueSet":"http://hl7.org/fhir/ValueSet/conformance-expectation"},"id":"Extension.valueCode","path":"Extension.valueCode","type":[{"code":"code"}]}]},"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/structuredefinition-wg","valueCode":"fhir"},{"url":"http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm","valueInteger":1}],"fhirVersion":"3.5.0","id":"capabilitystatement-expectation","kind":"complex-type","mapping":[{"identity":"v2","name":"HL7 v2 Mapping","uri":"http://hl7.org/v2"},{"identity":"rim","name":"RIM Mapping","uri":"http://hl7.org/v3"}],"name":"expectation","publisher":"Health Level Seven, Inc. - [WG Name] WG","resourceType":"StructureDefinition","snapshot":{"element":[{"base":{"max":"*","min":0,"path":"Extension"},"comment":"If \"SHALL NOT\" is desired, use the \"prohibited\" modifier extension.  This extension should only be used with CapabilityStatements documenting requirements, not those documenting actual system capabilities.","condition":["ele-1"],"constraint":[{"expression":"hasValue() or (children().count() > id.count())","human":"All FHIR elements must have a @value or children","key":"ele-1","severity":"error","source":"Element","xpath":"@value|f:*|h:div"},{"expression":"extension.exists() != value.exists()","human":"Must have either extensions or value[x], not both","key":"ext-1","severity":"error","source":"Extension","xpath":"exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])"}],"definition":"Defines the level of expectation associated with a given system capability.","id":"Extension","isModifier":false,"mapping":[{"identity":"v2","map":"N/A"},{"identity":"rim","map":"N/A"}],"max":"1","min":0,"path":"Extension","short":"SHALL | SHOULD | MAY |SHOULD-NOT"},{"base":{"max":"1","min":0,"path":"Element.id"},"definition":"Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.","id":"Extension.id","isModifier":false,"isSummary":false,"mapping":[{"identity":"rim","map":"n/a"}],"max":"1","min":0,"path":"Extension.id","representation":["xmlAttr"],"short":"xml:id (or equivalent in JSON)","type":[{"code":"string"}]},{"base":{"max":"*","min":0,"path":"Element.extension"},"definition":"An Extension","id":"Extension.extension","isModifier":false,"isSummary":false,"max":"0","min":0,"path":"Extension.extension","short":"Extension","slicing":{"description":"Extensions are always sliced by (at least) url","discriminator":[{"path":"url","type":"value"}],"rules":"open"},"type":[{"code":"Extension"}]},{"base":{"max":"1","min":1,"path":"Extension.url"},"comment":"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 SHALL be a URI for the Structure Definition defining the extension.","definition":"Source of the definition for the extension code - a logical name or a URL.","fixedUri":"http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation","id":"Extension.url","isModifier":false,"isSummary":false,"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]"},"binding":{"description":"Indicates the degree of adherence to a specified behavior or capability expected for a system to be deemed conformant with a specification.","extension":[{"url":"http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName","valueString":"ConformanceExpectation"}],"strength":"required","valueSet":"http://hl7.org/fhir/ValueSet/conformance-expectation"},"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).","id":"Extension.valueCode","isModifier":false,"isSummary":false,"mapping":[{"identity":"rim","map":"N/A"}],"max":"1","min":0,"path":"Extension.valueCode","short":"Value of extension","type":[{"code":"code"}]}]},"status":"draft","title":"Conformance expectation","type":"Extension","url":"http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation"}