Generated Narrative: StructureDefinition dq-violation Name Flags Card. Type Description & Constraints <a href="StructureDefinition-dq-violation-definitions.html#Extension" title="This describes one particular AIR data quality rule violation for an Immunization. Each rule violation includes a code, a type, a message, the FHIRPath expression to the element where the error occurred, and the weighting associated with the rule. Refer to [Data Quality Rules](dataQualityRules.html) and [AIR Data Quality Violation Code](https://standards.digital.health.nz/ns/air-data-quality-violation-code) value set for codes and messages that could be returned.">Extension 0..* Extension AIR Data Quality Violation Detail #xD; extension 5..* Extension Extension #xD; Slices for extension Content/Rules for all slices #xD; extension:violationCode 1..1 Extension Extension #xD; extension 0..0 Extension #xD; url 1..1 uri "violationCode" #xD; value[x] 0..1 string Value of extension #xD; extension:violationType 1..1 Extension Extension #xD; extension 0..0 Extension #xD; url 1..1 uri "violationType" #xD; value[x] 0..1 string Value of extension #xD; extension:violationMessage 1..1 Extension Extension #xD; extension 0..0 Extension #xD; url 1..1 uri "violationMessage" #xD; value[x] 0..1 string Value of extension #xD; extension:violationElement 1..1 Extension Extension #xD; extension 0..0 Extension #xD; url 1..1 uri "violationElement" #xD; value[x] 0..1 string Value of extension #xD; extension:violationWeighting 1..1 Extension Extension #xD; extension 0..0 Extension #xD; url 1..1 uri "violationWeighting" #xD; value[x] 0..1 integer Value of extension #xD; url 1..1 uri "https://standards.digital.health.nz/fhir/air/StructureDefinition/air-dq-violation" #xD; value[x] 0..0 Value of extension #xD; Documentation for this format
This describes one particular AIR data quality rule violation for an Immunization. Each rule violation includes a code, a type, a message, the FHIRPath expression to the element where the error occurred, and the weighting associated with the rule. Refer to [Data Quality Rules](dataQualityRules.html) and [AIR Data Quality Violation Code](https://standards.digital.health.nz/ns/air-data-quality-violation-code) value set for codes and messages that could be returned.
All FHIR elements must have a @value or children
hasValue() or (children().count() > id.count())
Must have either extensions or value[x], not both
exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])
Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.
Extensions are always sliced by (at least) url
exists(f:extension)!=exists(f:*[starts-with(local-name(.), "value")])
Source of the definition for the extension code - a logical name or a URL.
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.
Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R4/extensibility.html) for a list).