Release 4

This page is part of the FHIR Specification (v4.0.1: R4 - Mixed Normative and STU) in it's permanent home (it will always be available at this URL). The current version which supercedes this version is 5.0.0. For a full list of available versions, see the Directory of published versions . Page versions: R5 R4B R4

Datarequirement.profile.ttl

Modeling and Methodology Work GroupMaturity Level: N/AStandards Status: Informative

Raw Turtle (+ also see Turtle/RDF Format Specification)

StructureDefinition for DataRequirement

@prefix fhir: <http://hl7.org/fhir/> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .

# - resource -------------------------------------------------------------------

[] a fhir:StructureDefinition;
  fhir:Resource.id [ fhir:value "DataRequirement"];
  fhir:Resource.meta [
     fhir:Meta.lastUpdated [ fhir:value "2019-11-01T09:29:23.356+11:00" ]
  ];
  fhir:DomainResource.text [
     fhir:Narrative.status [ fhir:value "generated" ]
  ];
  fhir:DomainResource.extension [
     fhir:index 0;
     fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status" ];
     fhir:Extension.value [ fhir:value "trial-use" ]
  ];
  fhir:StructureDefinition.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/DataRequirement"];
  fhir:StructureDefinition.version [ fhir:value "4.0.1"];
  fhir:StructureDefinition.name [ fhir:value "DataRequirement"];
  fhir:StructureDefinition.status [ fhir:value "draft"];
  fhir:StructureDefinition.date [ fhir:value "2019-11-01T09:29:23+11:00"];
  fhir:StructureDefinition.publisher [ fhir:value "HL7 FHIR Standard"];
  fhir:StructureDefinition.contact [
     fhir:index 0;
     fhir:ContactDetail.telecom [
       fhir:index 0;
       fhir:ContactPoint.system [ fhir:value "url" ];
       fhir:ContactPoint.value [ fhir:value "http://hl7.org/fhir" ]
     ]
  ];
  fhir:StructureDefinition.description [ fhir:value "Base StructureDefinition for DataRequirement Type: Describes a required data item for evaluation in terms of the type of data, and optional code or date-based filters of the data."];
  fhir:StructureDefinition.fhirVersion [ fhir:value "4.0.1"];
  fhir:StructureDefinition.mapping [
     fhir:index 0;
     fhir:StructureDefinition.identity [ fhir:value "rim" ];
     fhir:StructureDefinition.uri [ fhir:value "http://hl7.org/v3" ];
     fhir:StructureDefinition.name [ fhir:value "RIM Mapping" ]
  ];
  fhir:StructureDefinition.kind [ fhir:value "complex-type"];
  fhir:StructureDefinition.abstract [ fhir:value "false"];
  fhir:StructureDefinition.type [ fhir:value "DataRequirement"];
  fhir:StructureDefinition.baseDefinition [ fhir:value "http://hl7.org/fhir/StructureDefinition/Element"];
  fhir:StructureDefinition.derivation [ fhir:value "specialization"];
  fhir:StructureDefinition.snapshot [
     fhir:StructureDefinition.element [
       fhir:index 0;
       fhir:Element.id [ fhir:value "DataRequirement" ];
       fhir:Element.extension [
         fhir:index 0;
         fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status" ];
         fhir:Extension.value [ fhir:value "trial-use" ]
       ];
       fhir:ElementDefinition.path [ fhir:value "DataRequirement" ];
       fhir:ElementDefinition.short [ fhir:value "Describes a required data item" ];
       fhir:ElementDefinition.definition [ fhir:value "Describes a required data item for evaluation in terms of the type of data, and optional code or date-based filters of the data." ];
       fhir:ElementDefinition.min [ fhir:value "0" ];
       fhir:ElementDefinition.max [ fhir:value "*" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.path [ fhir:value "DataRequirement" ];
         fhir:ElementDefinition.min [ fhir:value "0" ];
         fhir:ElementDefinition.max [ fhir:value "*" ]
       ];
       fhir:ElementDefinition.condition [
         fhir:value "ele-1";
         fhir:index 0
       ];
       fhir:ElementDefinition.constraint [
         fhir:index 0;
         fhir:ElementDefinition.key [ fhir:value "ele-1" ];
         fhir:ElementDefinition.severity [ fhir:value "error" ];
         fhir:ElementDefinition.human [ fhir:value "All FHIR elements must have a @value or children" ];
         fhir:ElementDefinition.expression [ fhir:value "hasValue() or (children().count() > id.count())" ];
         fhir:ElementDefinition.xpath [ fhir:value "@value|f:*|h:div" ];
         fhir:ElementDefinition.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Element" ]
       ];
       fhir:ElementDefinition.isModifier [ fhir:value "false" ];
       fhir:ElementDefinition.mapping [
         fhir:index 0;
         fhir:ElementDefinition.identity [ fhir:value "rim" ];
         fhir:ElementDefinition.map [ fhir:value "n/a" ]
       ]
     ], [
       fhir:index 1;
       fhir:Element.id [ fhir:value "DataRequirement.id" ];
       fhir:ElementDefinition.path [ fhir:value "DataRequirement.id" ];
       fhir:ElementDefinition.representation [
         fhir:value "xmlAttr";
         fhir:index 0
       ];
       fhir:ElementDefinition.short [ fhir:value "Unique id for inter-element referencing" ];
       fhir:ElementDefinition.definition [ fhir:value "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." ];
       fhir:ElementDefinition.min [ fhir:value "0" ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.path [ fhir:value "Element.id" ];
         fhir:ElementDefinition.min [ fhir:value "0" ];
         fhir:ElementDefinition.max [ fhir:value "1" ]
       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:Element.extension [
           fhir:index 0;
           fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type" ];
           fhir:Extension.value [ fhir:value "string" ]
         ];
         fhir:ElementDefinition.code [ fhir:value "http://hl7.org/fhirpath/System.String" ]
       ];
       fhir:ElementDefinition.isModifier [ fhir:value "false" ];
       fhir:ElementDefinition.isSummary [ fhir:value "false" ];
       fhir:ElementDefinition.mapping [
         fhir:index 0;
         fhir:ElementDefinition.identity [ fhir:value "rim" ];
         fhir:ElementDefinition.map [ fhir:value "n/a" ]
       ]
     ], [
       fhir:index 2;
       fhir:Element.id [ fhir:value "DataRequirement.extension" ];
       fhir:ElementDefinition.path [ fhir:value "DataRequirement.extension" ];
       fhir:ElementDefinition.slicing [
         fhir:ElementDefinition.discriminator [
           fhir:index 0;
           fhir:ElementDefinition.type [ fhir:value "value" ];
           fhir:ElementDefinition.path [ fhir:value "url" ]
         ];
         fhir:ElementDefinition.description [ fhir:value "Extensions are always sliced by (at least) url" ];
         fhir:ElementDefinition.rules [ fhir:value "open" ]
       ];
       fhir:ElementDefinition.short [ fhir:value "Additional content defined by implementations" ];
       fhir:ElementDefinition.definition [ fhir:value "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension." ];
       fhir:ElementDefinition.comment [ fhir:value "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone." ];
       fhir:ElementDefinition.alias [
         fhir:value "extensions";
         fhir:index 0
       ], [
         fhir:value "user content";
         fhir:index 1
       ];
       fhir:ElementDefinition.min [ fhir:value "0" ];
       fhir:ElementDefinition.max [ fhir:value "*" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.path [ fhir:value "Element.extension" ];
         fhir:ElementDefinition.min [ fhir:value "0" ];
         fhir:ElementDefinition.max [ fhir:value "*" ]
       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.code [ fhir:value "Extension" ]
       ];
       fhir:ElementDefinition.constraint [
         fhir:index 0;
         fhir:ElementDefinition.key [ fhir:value "ele-1" ];
         fhir:ElementDefinition.severity [ fhir:value "error" ];
         fhir:ElementDefinition.human [ fhir:value "All FHIR elements must have a @value or children" ];
         fhir:ElementDefinition.expression [ fhir:value "hasValue() or (children().count() > id.count())" ];
         fhir:ElementDefinition.xpath [ fhir:value "@value|f:*|h:div" ];
         fhir:ElementDefinition.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Element" ]
       ], [
         fhir:index 1;
         fhir:ElementDefinition.key [ fhir:value "ext-1" ];
         fhir:ElementDefinition.severity [ fhir:value "error" ];
         fhir:ElementDefinition.human [ fhir:value "Must have either extensions or value[x], not both" ];
         fhir:ElementDefinition.expression [ fhir:value "extension.exists() != value.exists()" ];
         fhir:ElementDefinition.xpath [ fhir:value "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])" ];
         fhir:ElementDefinition.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Extension" ]
       ];
       fhir:ElementDefinition.isModifier [ fhir:value "false" ];
       fhir:ElementDefinition.isSummary [ fhir:value "false" ];
       fhir:ElementDefinition.mapping [
         fhir:index 0;
         fhir:ElementDefinition.identity [ fhir:value "rim" ];
         fhir:ElementDefinition.map [ fhir:value "n/a" ]
       ]
     ], [
       fhir:index 3;
       fhir:Element.id [ fhir:value "DataRequirement.type" ];
       fhir:ElementDefinition.path [ fhir:value "DataRequirement.type" ];
       fhir:ElementDefinition.short [ fhir:value "The type of the required data" ];
       fhir:ElementDefinition.definition [ fhir:value "The type of the required data, specified as the type name of a resource. For profiles, this value is set to the type of the base resource of the profile." ];
       fhir:ElementDefinition.min [ fhir:value "1" ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.path [ fhir:value "DataRequirement.type" ];
         fhir:ElementDefinition.min [ fhir:value "1" ];
         fhir:ElementDefinition.max [ fhir:value "1" ]
       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.code [ fhir:value "code" ]
       ];
       fhir:ElementDefinition.constraint [
         fhir:index 0;
         fhir:ElementDefinition.key [ fhir:value "ele-1" ];
         fhir:ElementDefinition.severity [ fhir:value "error" ];
         fhir:ElementDefinition.human [ fhir:value "All FHIR elements must have a @value or children" ];
         fhir:ElementDefinition.expression [ fhir:value "hasValue() or (children().count() > id.count())" ];
         fhir:ElementDefinition.xpath [ fhir:value "@value|f:*|h:div" ];
         fhir:ElementDefinition.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Element" ]
       ];
       fhir:ElementDefinition.isModifier [ fhir:value "false" ];
       fhir:ElementDefinition.isSummary [ fhir:value "true" ];
       fhir:ElementDefinition.binding [
         fhir:Element.extension [
           fhir:index 0;
           fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName" ];
           fhir:Extension.value [ fhir:value "FHIRAllTypes" ]
         ], [
           fhir:index 1;
           fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding" ];
           fhir:Extension.value [ fhir:value "true" ]
         ];
         fhir:ElementDefinition.strength [ fhir:value "required" ];
         fhir:ElementDefinition.description [ fhir:value "A list of all the concrete types defined in this version of the FHIR specification - Abstract Types, Data Types and Resource Types." ];
         fhir:ElementDefinition.valueSet [ fhir:value "http://hl7.org/fhir/ValueSet/all-types|4.0.1" ]
       ]
     ], [
       fhir:index 4;
       fhir:Element.id [ fhir:value "DataRequirement.profile" ];
       fhir:ElementDefinition.path [ fhir:value "DataRequirement.profile" ];
       fhir:ElementDefinition.short [ fhir:value "The profile of the required data" ];
       fhir:ElementDefinition.definition [ fhir:value "The profile of the required data, specified as the uri of the profile definition." ];
       fhir:ElementDefinition.min [ fhir:value "0" ];
       fhir:ElementDefinition.max [ fhir:value "*" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.path [ fhir:value "DataRequirement.profile" ];
         fhir:ElementDefinition.min [ fhir:value "0" ];
         fhir:ElementDefinition.max [ fhir:value "*" ]
       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.code [ fhir:value "canonical" ];
         fhir:ElementDefinition.targetProfile [
           fhir:value "http://hl7.org/fhir/StructureDefinition/StructureDefinition";
           fhir:index 0
         ]
       ];
       fhir:ElementDefinition.constraint [
         fhir:index 0;
         fhir:ElementDefinition.key [ fhir:value "ele-1" ];
         fhir:ElementDefinition.severity [ fhir:value "error" ];
         fhir:ElementDefinition.human [ fhir:value "All FHIR elements must have a @value or children" ];
         fhir:ElementDefinition.expression [ fhir:value "hasValue() or (children().count() > id.count())" ];
         fhir:ElementDefinition.xpath [ fhir:value "@value|f:*|h:div" ];
         fhir:ElementDefinition.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Element" ]
       ];
       fhir:ElementDefinition.isModifier [ fhir:value "false" ];
       fhir:ElementDefinition.isSummary [ fhir:value "true" ]
     ], [
       fhir:index 5;
       fhir:Element.id [ fhir:value "DataRequirement.subject[x]" ];
       fhir:ElementDefinition.path [ fhir:value "DataRequirement.subject[x]" ];
       fhir:ElementDefinition.short [ fhir:value "E.g. Patient, Practitioner, RelatedPerson, Organization, Location, Device" ];
       fhir:ElementDefinition.definition [ fhir:value "The intended subjects of the data requirement. If this element is not provided, a Patient subject is assumed." ];
       fhir:ElementDefinition.comment [ fhir:value "The subject of a data requirement is critical, as the data being specified is determined with respect to a particular subject. This corresponds roughly to the notion of a Compartment in that it limits what data is available based on its relationship to the subject. In CQL, this corresponds to the context declaration." ];
       fhir:ElementDefinition.min [ fhir:value "0" ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.path [ fhir:value "DataRequirement.subject[x]" ];
         fhir:ElementDefinition.min [ fhir:value "0" ];
         fhir:ElementDefinition.max [ fhir:value "1" ]
       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.code [ fhir:value "CodeableConcept" ]
       ], [
         fhir:index 1;
         fhir:ElementDefinition.code [ fhir:value "Reference" ];
         fhir:ElementDefinition.targetProfile [
           fhir:value "http://hl7.org/fhir/StructureDefinition/Group";
           fhir:index 0
         ]
       ];
       fhir:ElementDefinition.meaningWhenMissing [ fhir:value "Patient" ];
       fhir:ElementDefinition.constraint [
         fhir:index 0;
         fhir:ElementDefinition.key [ fhir:value "ele-1" ];
         fhir:ElementDefinition.severity [ fhir:value "error" ];
         fhir:ElementDefinition.human [ fhir:value "All FHIR elements must have a @value or children" ];
         fhir:ElementDefinition.expression [ fhir:value "hasValue() or (children().count() > id.count())" ];
         fhir:ElementDefinition.xpath [ fhir:value "@value|f:*|h:div" ];
         fhir:ElementDefinition.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Element" ]
       ];
       fhir:ElementDefinition.isModifier [ fhir:value "false" ];
       fhir:ElementDefinition.isSummary [ fhir:value "true" ];
       fhir:ElementDefinition.binding [
         fhir:Element.extension [
           fhir:index 0;
           fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName" ];
           fhir:Extension.value [ fhir:value "SubjectType" ]
         ];
         fhir:ElementDefinition.strength [ fhir:value "extensible" ];
         fhir:ElementDefinition.description [ fhir:value "The possible types of subjects for a data requirement (E.g., Patient, Practitioner, Organization, Location, etc.)." ];
         fhir:ElementDefinition.valueSet [ fhir:value "http://hl7.org/fhir/ValueSet/subject-type" ]
       ]
     ], [
       fhir:index 6;
       fhir:Element.id [ fhir:value "DataRequirement.mustSupport" ];
       fhir:ElementDefinition.path [ fhir:value "DataRequirement.mustSupport" ];
       fhir:ElementDefinition.short [ fhir:value "Indicates specific structure elements that are referenced by the knowledge module" ];
       fhir:ElementDefinition.definition [ fhir:value "Indicates that specific elements of the type are referenced by the knowledge module and must be supported by the consumer in order to obtain an effective evaluation. This does not mean that a value is required for this element, only that the consuming system must understand the element and be able to provide values for it if they are available. \n\nThe value of mustSupport SHALL be a FHIRPath resolveable on the type of the DataRequirement. The path SHALL consist only of identifiers, constant indexers, and .resolve() (see the [Simple FHIRPath Profile](fhirpath.html#simple) for full details)." ];
       fhir:ElementDefinition.min [ fhir:value "0" ];
       fhir:ElementDefinition.max [ fhir:value "*" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.path [ fhir:value "DataRequirement.mustSupport" ];
         fhir:ElementDefinition.min [ fhir:value "0" ];
         fhir:ElementDefinition.max [ fhir:value "*" ]
       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.code [ fhir:value "string" ]
       ];
       fhir:ElementDefinition.constraint [
         fhir:index 0;
         fhir:ElementDefinition.key [ fhir:value "ele-1" ];
         fhir:ElementDefinition.severity [ fhir:value "error" ];
         fhir:ElementDefinition.human [ fhir:value "All FHIR elements must have a @value or children" ];
         fhir:ElementDefinition.expression [ fhir:value "hasValue() or (children().count() > id.count())" ];
         fhir:ElementDefinition.xpath [ fhir:value "@value|f:*|h:div" ];
         fhir:ElementDefinition.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Element" ]
       ];
       fhir:ElementDefinition.isModifier [ fhir:value "false" ];
       fhir:ElementDefinition.isSummary [ fhir:value "true" ]
     ], [
       fhir:index 7;
       fhir:Element.id [ fhir:value "DataRequirement.codeFilter" ];
       fhir:ElementDefinition.path [ fhir:value "DataRequirement.codeFilter" ];
       fhir:ElementDefinition.short [ fhir:value "What codes are expected" ];
       fhir:ElementDefinition.definition [ fhir:value "Code filters specify additional constraints on the data, specifying the value set of interest for a particular element of the data. Each code filter defines an additional constraint on the data, i.e. code filters are AND'ed, not OR'ed." ];
       fhir:ElementDefinition.min [ fhir:value "0" ];
       fhir:ElementDefinition.max [ fhir:value "*" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.path [ fhir:value "DataRequirement.codeFilter" ];
         fhir:ElementDefinition.min [ fhir:value "0" ];
         fhir:ElementDefinition.max [ fhir:value "*" ]
       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.code [ fhir:value "Element" ]
       ];
       fhir:ElementDefinition.constraint [
         fhir:index 0;
         fhir:ElementDefinition.key [ fhir:value "drq-1" ];
         fhir:ElementDefinition.severity [ fhir:value "error" ];
         fhir:ElementDefinition.human [ fhir:value "Either a path or a searchParam must be provided, but not both" ];
         fhir:ElementDefinition.expression [ fhir:value "path.exists() xor searchParam.exists()" ];
         fhir:ElementDefinition.xpath [ fhir:value "(exists(f:path) and not(exists(f:searchParam))) or (not(exists(f:path)) and exists(f:searchParam))" ]
       ], [
         fhir:index 1;
         fhir:ElementDefinition.key [ fhir:value "ele-1" ];
         fhir:ElementDefinition.severity [ fhir:value "error" ];
         fhir:ElementDefinition.human [ fhir:value "All FHIR elements must have a @value or children" ];
         fhir:ElementDefinition.expression [ fhir:value "hasValue() or (children().count() > id.count())" ];
         fhir:ElementDefinition.xpath [ fhir:value "@value|f:*|h:div" ];
         fhir:ElementDefinition.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Element" ]
       ];
       fhir:ElementDefinition.isModifier [ fhir:value "false" ];
       fhir:ElementDefinition.isSummary [ fhir:value "true" ]
     ], [
       fhir:index 8;
       fhir:Element.id [ fhir:value "DataRequirement.codeFilter.id" ];
       fhir:ElementDefinition.path [ fhir:value "DataRequirement.codeFilter.id" ];
       fhir:ElementDefinition.representation [
         fhir:value "xmlAttr";
         fhir:index 0
       ];
       fhir:ElementDefinition.short [ fhir:value "Unique id for inter-element referencing" ];
       fhir:ElementDefinition.definition [ fhir:value "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." ];
       fhir:ElementDefinition.min [ fhir:value "0" ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.path [ fhir:value "Element.id" ];
         fhir:ElementDefinition.min [ fhir:value "0" ];
         fhir:ElementDefinition.max [ fhir:value "1" ]
       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:Element.extension [
           fhir:index 0;
           fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type" ];
           fhir:Extension.value [ fhir:value "string" ]
         ];
         fhir:ElementDefinition.code [ fhir:value "http://hl7.org/fhirpath/System.String" ]
       ];
       fhir:ElementDefinition.isModifier [ fhir:value "false" ];
       fhir:ElementDefinition.isSummary [ fhir:value "false" ];
       fhir:ElementDefinition.mapping [
         fhir:index 0;
         fhir:ElementDefinition.identity [ fhir:value "rim" ];
         fhir:ElementDefinition.map [ fhir:value "n/a" ]
       ]
     ], [
       fhir:index 9;
       fhir:Element.id [ fhir:value "DataRequirement.codeFilter.extension" ];
       fhir:ElementDefinition.path [ fhir:value "DataRequirement.codeFilter.extension" ];
       fhir:ElementDefinition.slicing [
         fhir:ElementDefinition.discriminator [
           fhir:index 0;
           fhir:ElementDefinition.type [ fhir:value "value" ];
           fhir:ElementDefinition.path [ fhir:value "url" ]
         ];
         fhir:ElementDefinition.description [ fhir:value "Extensions are always sliced by (at least) url" ];
         fhir:ElementDefinition.rules [ fhir:value "open" ]
       ];
       fhir:ElementDefinition.short [ fhir:value "Additional content defined by implementations" ];
       fhir:ElementDefinition.definition [ fhir:value "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension." ];
       fhir:ElementDefinition.comment [ fhir:value "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone." ];
       fhir:ElementDefinition.alias [
         fhir:value "extensions";
         fhir:index 0
       ], [
         fhir:value "user content";
         fhir:index 1
       ];
       fhir:ElementDefinition.min [ fhir:value "0" ];
       fhir:ElementDefinition.max [ fhir:value "*" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.path [ fhir:value "Element.extension" ];
         fhir:ElementDefinition.min [ fhir:value "0" ];
         fhir:ElementDefinition.max [ fhir:value "*" ]
       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.code [ fhir:value "Extension" ]
       ];
       fhir:ElementDefinition.constraint [
         fhir:index 0;
         fhir:ElementDefinition.key [ fhir:value "ele-1" ];
         fhir:ElementDefinition.severity [ fhir:value "error" ];
         fhir:ElementDefinition.human [ fhir:value "All FHIR elements must have a @value or children" ];
         fhir:ElementDefinition.expression [ fhir:value "hasValue() or (children().count() > id.count())" ];
         fhir:ElementDefinition.xpath [ fhir:value "@value|f:*|h:div" ];
         fhir:ElementDefinition.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Element" ]
       ], [
         fhir:index 1;
         fhir:ElementDefinition.key [ fhir:value "ext-1" ];
         fhir:ElementDefinition.severity [ fhir:value "error" ];
         fhir:ElementDefinition.human [ fhir:value "Must have either extensions or value[x], not both" ];
         fhir:ElementDefinition.expression [ fhir:value "extension.exists() != value.exists()" ];
         fhir:ElementDefinition.xpath [ fhir:value "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])" ];
         fhir:ElementDefinition.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Extension" ]
       ];
       fhir:ElementDefinition.isModifier [ fhir:value "false" ];
       fhir:ElementDefinition.isSummary [ fhir:value "false" ];
       fhir:ElementDefinition.mapping [
         fhir:index 0;
         fhir:ElementDefinition.identity [ fhir:value "rim" ];
         fhir:ElementDefinition.map [ fhir:value "n/a" ]
       ]
     ], [
       fhir:index 10;
       fhir:Element.id [ fhir:value "DataRequirement.codeFilter.path" ];
       fhir:ElementDefinition.path [ fhir:value "DataRequirement.codeFilter.path" ];
       fhir:ElementDefinition.short [ fhir:value "A code-valued attribute to filter on" ];
       fhir:ElementDefinition.definition [ fhir:value "The code-valued attribute of the filter. The specified path SHALL be a FHIRPath resolveable on the specified type of the DataRequirement, and SHALL consist only of identifiers, constant indexers, and .resolve(). The path is allowed to contain qualifiers (.) to traverse sub-elements, as well as indexers ([x]) to traverse multiple-cardinality sub-elements (see the [Simple FHIRPath Profile](fhirpath.html#simple) for full details). Note that the index must be an integer constant. The path must resolve to an element of type code, Coding, or CodeableConcept." ];
       fhir:ElementDefinition.comment [ fhir:value "The path attribute contains a [Simple FHIRPath Subset](fhirpath.html#simple) that allows path traversal, but not calculation." ];
       fhir:ElementDefinition.min [ fhir:value "0" ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.path [ fhir:value "DataRequirement.codeFilter.path" ];
         fhir:ElementDefinition.min [ fhir:value "0" ];
         fhir:ElementDefinition.max [ fhir:value "1" ]
       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.code [ fhir:value "string" ]
       ];
       fhir:ElementDefinition.constraint [
         fhir:index 0;
         fhir:ElementDefinition.key [ fhir:value "ele-1" ];
         fhir:ElementDefinition.severity [ fhir:value "error" ];
         fhir:ElementDefinition.human [ fhir:value "All FHIR elements must have a @value or children" ];
         fhir:ElementDefinition.expression [ fhir:value "hasValue() or (children().count() > id.count())" ];
         fhir:ElementDefinition.xpath [ fhir:value "@value|f:*|h:div" ];
         fhir:ElementDefinition.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Element" ]
       ];
       fhir:ElementDefinition.isModifier [ fhir:value "false" ];
       fhir:ElementDefinition.isSummary [ fhir:value "true" ]
     ], [
       fhir:index 11;
       fhir:Element.id [ fhir:value "DataRequirement.codeFilter.searchParam" ];
       fhir:ElementDefinition.path [ fhir:value "DataRequirement.codeFilter.searchParam" ];
       fhir:ElementDefinition.short [ fhir:value "A coded (token) parameter to search on" ];
       fhir:ElementDefinition.definition [ fhir:value "A token parameter that refers to a search parameter defined on the specified type of the DataRequirement, and which searches on elements of type code, Coding, or CodeableConcept." ];
       fhir:ElementDefinition.min [ fhir:value "0" ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.path [ fhir:value "DataRequirement.codeFilter.searchParam" ];
         fhir:ElementDefinition.min [ fhir:value "0" ];
         fhir:ElementDefinition.max [ fhir:value "1" ]
       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.code [ fhir:value "string" ]
       ];
       fhir:ElementDefinition.constraint [
         fhir:index 0;
         fhir:ElementDefinition.key [ fhir:value "ele-1" ];
         fhir:ElementDefinition.severity [ fhir:value "error" ];
         fhir:ElementDefinition.human [ fhir:value "All FHIR elements must have a @value or children" ];
         fhir:ElementDefinition.expression [ fhir:value "hasValue() or (children().count() > id.count())" ];
         fhir:ElementDefinition.xpath [ fhir:value "@value|f:*|h:div" ];
         fhir:ElementDefinition.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Element" ]
       ];
       fhir:ElementDefinition.isModifier [ fhir:value "false" ];
       fhir:ElementDefinition.isSummary [ fhir:value "true" ]
     ], [
       fhir:index 12;
       fhir:Element.id [ fhir:value "DataRequirement.codeFilter.valueSet" ];
       fhir:ElementDefinition.path [ fhir:value "DataRequirement.codeFilter.valueSet" ];
       fhir:ElementDefinition.short [ fhir:value "Valueset for the filter" ];
       fhir:ElementDefinition.definition [ fhir:value "The valueset for the code filter. The valueSet and code elements are additive. If valueSet is specified, the filter will return only those data items for which the value of the code-valued element specified in the path is a member of the specified valueset." ];
       fhir:ElementDefinition.min [ fhir:value "0" ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.path [ fhir:value "DataRequirement.codeFilter.valueSet" ];
         fhir:ElementDefinition.min [ fhir:value "0" ];
         fhir:ElementDefinition.max [ fhir:value "1" ]
       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.code [ fhir:value "canonical" ];
         fhir:ElementDefinition.targetProfile [
           fhir:value "http://hl7.org/fhir/StructureDefinition/ValueSet";
           fhir:index 0
         ]
       ];
       fhir:ElementDefinition.constraint [
         fhir:index 0;
         fhir:ElementDefinition.key [ fhir:value "ele-1" ];
         fhir:ElementDefinition.severity [ fhir:value "error" ];
         fhir:ElementDefinition.human [ fhir:value "All FHIR elements must have a @value or children" ];
         fhir:ElementDefinition.expression [ fhir:value "hasValue() or (children().count() > id.count())" ];
         fhir:ElementDefinition.xpath [ fhir:value "@value|f:*|h:div" ];
         fhir:ElementDefinition.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Element" ]
       ];
       fhir:ElementDefinition.isModifier [ fhir:value "false" ];
       fhir:ElementDefinition.isSummary [ fhir:value "true" ]
     ], [
       fhir:index 13;
       fhir:Element.id [ fhir:value "DataRequirement.codeFilter.code" ];
       fhir:ElementDefinition.path [ fhir:value "DataRequirement.codeFilter.code" ];
       fhir:ElementDefinition.short [ fhir:value "What code is expected" ];
       fhir:ElementDefinition.definition [ fhir:value "The codes for the code filter. If values are given, the filter will return only those data items for which the code-valued attribute specified by the path has a value that is one of the specified codes. If codes are specified in addition to a value set, the filter returns items matching a code in the value set or one of the specified codes." ];
       fhir:ElementDefinition.min [ fhir:value "0" ];
       fhir:ElementDefinition.max [ fhir:value "*" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.path [ fhir:value "DataRequirement.codeFilter.code" ];
         fhir:ElementDefinition.min [ fhir:value "0" ];
         fhir:ElementDefinition.max [ fhir:value "*" ]
       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.code [ fhir:value "Coding" ]
       ];
       fhir:ElementDefinition.constraint [
         fhir:index 0;
         fhir:ElementDefinition.key [ fhir:value "ele-1" ];
         fhir:ElementDefinition.severity [ fhir:value "error" ];
         fhir:ElementDefinition.human [ fhir:value "All FHIR elements must have a @value or children" ];
         fhir:ElementDefinition.expression [ fhir:value "hasValue() or (children().count() > id.count())" ];
         fhir:ElementDefinition.xpath [ fhir:value "@value|f:*|h:div" ];
         fhir:ElementDefinition.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Element" ]
       ];
       fhir:ElementDefinition.isModifier [ fhir:value "false" ];
       fhir:ElementDefinition.isSummary [ fhir:value "true" ]
     ], [
       fhir:index 14;
       fhir:Element.id [ fhir:value "DataRequirement.dateFilter" ];
       fhir:ElementDefinition.path [ fhir:value "DataRequirement.dateFilter" ];
       fhir:ElementDefinition.short [ fhir:value "What dates/date ranges are expected" ];
       fhir:ElementDefinition.definition [ fhir:value "Date filters specify additional constraints on the data in terms of the applicable date range for specific elements. Each date filter specifies an additional constraint on the data, i.e. date filters are AND'ed, not OR'ed." ];
       fhir:ElementDefinition.min [ fhir:value "0" ];
       fhir:ElementDefinition.max [ fhir:value "*" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.path [ fhir:value "DataRequirement.dateFilter" ];
         fhir:ElementDefinition.min [ fhir:value "0" ];
         fhir:ElementDefinition.max [ fhir:value "*" ]
       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.code [ fhir:value "Element" ]
       ];
       fhir:ElementDefinition.constraint [
         fhir:index 0;
         fhir:ElementDefinition.key [ fhir:value "drq-2" ];
         fhir:ElementDefinition.severity [ fhir:value "error" ];
         fhir:ElementDefinition.human [ fhir:value "Either a path or a searchParam must be provided, but not both" ];
         fhir:ElementDefinition.expression [ fhir:value "path.exists() xor searchParam.exists()" ];
         fhir:ElementDefinition.xpath [ fhir:value "(exists(f:path) and not(exists(f:searchParam))) or (not(exists(f:path)) and exists(f:searchParam))" ]
       ], [
         fhir:index 1;
         fhir:ElementDefinition.key [ fhir:value "ele-1" ];
         fhir:ElementDefinition.severity [ fhir:value "error" ];
         fhir:ElementDefinition.human [ fhir:value "All FHIR elements must have a @value or children" ];
         fhir:ElementDefinition.expression [ fhir:value "hasValue() or (children().count() > id.count())" ];
         fhir:ElementDefinition.xpath [ fhir:value "@value|f:*|h:div" ];
         fhir:ElementDefinition.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Element" ]
       ];
       fhir:ElementDefinition.isModifier [ fhir:value "false" ];
       fhir:ElementDefinition.isSummary [ fhir:value "true" ]
     ], [
       fhir:index 15;
       fhir:Element.id [ fhir:value "DataRequirement.dateFilter.id" ];
       fhir:ElementDefinition.path [ fhir:value "DataRequirement.dateFilter.id" ];
       fhir:ElementDefinition.representation [
         fhir:value "xmlAttr";
         fhir:index 0
       ];
       fhir:ElementDefinition.short [ fhir:value "Unique id for inter-element referencing" ];
       fhir:ElementDefinition.definition [ fhir:value "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." ];
       fhir:ElementDefinition.min [ fhir:value "0" ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.path [ fhir:value "Element.id" ];
         fhir:ElementDefinition.min [ fhir:value "0" ];
         fhir:ElementDefinition.max [ fhir:value "1" ]
       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:Element.extension [
           fhir:index 0;
           fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type" ];
           fhir:Extension.value [ fhir:value "string" ]
         ];
         fhir:ElementDefinition.code [ fhir:value "http://hl7.org/fhirpath/System.String" ]
       ];
       fhir:ElementDefinition.isModifier [ fhir:value "false" ];
       fhir:ElementDefinition.isSummary [ fhir:value "false" ];
       fhir:ElementDefinition.mapping [
         fhir:index 0;
         fhir:ElementDefinition.identity [ fhir:value "rim" ];
         fhir:ElementDefinition.map [ fhir:value "n/a" ]
       ]
     ], [
       fhir:index 16;
       fhir:Element.id [ fhir:value "DataRequirement.dateFilter.extension" ];
       fhir:ElementDefinition.path [ fhir:value "DataRequirement.dateFilter.extension" ];
       fhir:ElementDefinition.slicing [
         fhir:ElementDefinition.discriminator [
           fhir:index 0;
           fhir:ElementDefinition.type [ fhir:value "value" ];
           fhir:ElementDefinition.path [ fhir:value "url" ]
         ];
         fhir:ElementDefinition.description [ fhir:value "Extensions are always sliced by (at least) url" ];
         fhir:ElementDefinition.rules [ fhir:value "open" ]
       ];
       fhir:ElementDefinition.short [ fhir:value "Additional content defined by implementations" ];
       fhir:ElementDefinition.definition [ fhir:value "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension." ];
       fhir:ElementDefinition.comment [ fhir:value "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone." ];
       fhir:ElementDefinition.alias [
         fhir:value "extensions";
         fhir:index 0
       ], [
         fhir:value "user content";
         fhir:index 1
       ];
       fhir:ElementDefinition.min [ fhir:value "0" ];
       fhir:ElementDefinition.max [ fhir:value "*" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.path [ fhir:value "Element.extension" ];
         fhir:ElementDefinition.min [ fhir:value "0" ];
         fhir:ElementDefinition.max [ fhir:value "*" ]
       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.code [ fhir:value "Extension" ]
       ];
       fhir:ElementDefinition.constraint [
         fhir:index 0;
         fhir:ElementDefinition.key [ fhir:value "ele-1" ];
         fhir:ElementDefinition.severity [ fhir:value "error" ];
         fhir:ElementDefinition.human [ fhir:value "All FHIR elements must have a @value or children" ];
         fhir:ElementDefinition.expression [ fhir:value "hasValue() or (children().count() > id.count())" ];
         fhir:ElementDefinition.xpath [ fhir:value "@value|f:*|h:div" ];
         fhir:ElementDefinition.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Element" ]
       ], [
         fhir:index 1;
         fhir:ElementDefinition.key [ fhir:value "ext-1" ];
         fhir:ElementDefinition.severity [ fhir:value "error" ];
         fhir:ElementDefinition.human [ fhir:value "Must have either extensions or value[x], not both" ];
         fhir:ElementDefinition.expression [ fhir:value "extension.exists() != value.exists()" ];
         fhir:ElementDefinition.xpath [ fhir:value "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])" ];
         fhir:ElementDefinition.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Extension" ]
       ];
       fhir:ElementDefinition.isModifier [ fhir:value "false" ];
       fhir:ElementDefinition.isSummary [ fhir:value "false" ];
       fhir:ElementDefinition.mapping [
         fhir:index 0;
         fhir:ElementDefinition.identity [ fhir:value "rim" ];
         fhir:ElementDefinition.map [ fhir:value "n/a" ]
       ]
     ], [
       fhir:index 17;
       fhir:Element.id [ fhir:value "DataRequirement.dateFilter.path" ];
       fhir:ElementDefinition.path [ fhir:value "DataRequirement.dateFilter.path" ];
       fhir:ElementDefinition.short [ fhir:value "A date-valued attribute to filter on" ];
       fhir:ElementDefinition.definition [ fhir:value "The date-valued attribute of the filter. The specified path SHALL be a FHIRPath resolveable on the specified type of the DataRequirement, and SHALL consist only of identifiers, constant indexers, and .resolve(). The path is allowed to contain qualifiers (.) to traverse sub-elements, as well as indexers ([x]) to traverse multiple-cardinality sub-elements (see the [Simple FHIRPath Profile](fhirpath.html#simple) for full details). Note that the index must be an integer constant. The path must resolve to an element of type date, dateTime, Period, Schedule, or Timing." ];
       fhir:ElementDefinition.comment [ fhir:value "The path attribute contains a [Simple FHIR Subset](fhirpath.html#simple) that allows path traversal, but not calculation." ];
       fhir:ElementDefinition.min [ fhir:value "0" ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.path [ fhir:value "DataRequirement.dateFilter.path" ];
         fhir:ElementDefinition.min [ fhir:value "0" ];
         fhir:ElementDefinition.max [ fhir:value "1" ]
       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.code [ fhir:value "string" ]
       ];
       fhir:ElementDefinition.constraint [
         fhir:index 0;
         fhir:ElementDefinition.key [ fhir:value "ele-1" ];
         fhir:ElementDefinition.severity [ fhir:value "error" ];
         fhir:ElementDefinition.human [ fhir:value "All FHIR elements must have a @value or children" ];
         fhir:ElementDefinition.expression [ fhir:value "hasValue() or (children().count() > id.count())" ];
         fhir:ElementDefinition.xpath [ fhir:value "@value|f:*|h:div" ];
         fhir:ElementDefinition.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Element" ]
       ];
       fhir:ElementDefinition.isModifier [ fhir:value "false" ];
       fhir:ElementDefinition.isSummary [ fhir:value "true" ]
     ], [
       fhir:index 18;
       fhir:Element.id [ fhir:value "DataRequirement.dateFilter.searchParam" ];
       fhir:ElementDefinition.path [ fhir:value "DataRequirement.dateFilter.searchParam" ];
       fhir:ElementDefinition.short [ fhir:value "A date valued parameter to search on" ];
       fhir:ElementDefinition.definition [ fhir:value "A date parameter that refers to a search parameter defined on the specified type of the DataRequirement, and which searches on elements of type date, dateTime, Period, Schedule, or Timing." ];
       fhir:ElementDefinition.min [ fhir:value "0" ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.path [ fhir:value "DataRequirement.dateFilter.searchParam" ];
         fhir:ElementDefinition.min [ fhir:value "0" ];
         fhir:ElementDefinition.max [ fhir:value "1" ]
       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.code [ fhir:value "string" ]
       ];
       fhir:ElementDefinition.constraint [
         fhir:index 0;
         fhir:ElementDefinition.key [ fhir:value "ele-1" ];
         fhir:ElementDefinition.severity [ fhir:value "error" ];
         fhir:ElementDefinition.human [ fhir:value "All FHIR elements must have a @value or children" ];
         fhir:ElementDefinition.expression [ fhir:value "hasValue() or (children().count() > id.count())" ];
         fhir:ElementDefinition.xpath [ fhir:value "@value|f:*|h:div" ];
         fhir:ElementDefinition.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Element" ]
       ];
       fhir:ElementDefinition.isModifier [ fhir:value "false" ];
       fhir:ElementDefinition.isSummary [ fhir:value "true" ]
     ], [
       fhir:index 19;
       fhir:Element.id [ fhir:value "DataRequirement.dateFilter.value[x]" ];
       fhir:ElementDefinition.path [ fhir:value "DataRequirement.dateFilter.value[x]" ];
       fhir:ElementDefinition.short [ fhir:value "The value of the filter, as a Period, DateTime, or Duration value" ];
       fhir:ElementDefinition.definition [ fhir:value "The value of the filter. If period is specified, the filter will return only those data items that fall within the bounds determined by the Period, inclusive of the period boundaries. If dateTime is specified, the filter will return only those data items that are equal to the specified dateTime. If a Duration is specified, the filter will return only those data items that fall within Duration before now." ];
       fhir:ElementDefinition.min [ fhir:value "0" ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.path [ fhir:value "DataRequirement.dateFilter.value[x]" ];
         fhir:ElementDefinition.min [ fhir:value "0" ];
         fhir:ElementDefinition.max [ fhir:value "1" ]
       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.code [ fhir:value "dateTime" ]
       ], [
         fhir:index 1;
         fhir:ElementDefinition.code [ fhir:value "Period" ]
       ], [
         fhir:index 2;
         fhir:ElementDefinition.code [ fhir:value "Duration" ]
       ];
       fhir:ElementDefinition.constraint [
         fhir:index 0;
         fhir:ElementDefinition.key [ fhir:value "ele-1" ];
         fhir:ElementDefinition.severity [ fhir:value "error" ];
         fhir:ElementDefinition.human [ fhir:value "All FHIR elements must have a @value or children" ];
         fhir:ElementDefinition.expression [ fhir:value "hasValue() or (children().count() > id.count())" ];
         fhir:ElementDefinition.xpath [ fhir:value "@value|f:*|h:div" ];
         fhir:ElementDefinition.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Element" ]
       ];
       fhir:ElementDefinition.isModifier [ fhir:value "false" ];
       fhir:ElementDefinition.isSummary [ fhir:value "true" ]
     ], [
       fhir:index 20;
       fhir:Element.id [ fhir:value "DataRequirement.limit" ];
       fhir:ElementDefinition.path [ fhir:value "DataRequirement.limit" ];
       fhir:ElementDefinition.short [ fhir:value "Number of results" ];
       fhir:ElementDefinition.definition [ fhir:value "Specifies a maximum number of results that are required (uses the _count search parameter)." ];
       fhir:ElementDefinition.comment [ fhir:value "This element can be used in combination with the sort element to specify quota requirements such as \"the most recent 5\" or \"the highest 5\"." ];
       fhir:ElementDefinition.requirements [ fhir:value "Enables the requirement \"most recent 5 results\" to be expressed." ];
       fhir:ElementDefinition.min [ fhir:value "0" ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.path [ fhir:value "DataRequirement.limit" ];
         fhir:ElementDefinition.min [ fhir:value "0" ];
         fhir:ElementDefinition.max [ fhir:value "1" ]
       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.code [ fhir:value "positiveInt" ]
       ];
       fhir:ElementDefinition.constraint [
         fhir:index 0;
         fhir:ElementDefinition.key [ fhir:value "ele-1" ];
         fhir:ElementDefinition.severity [ fhir:value "error" ];
         fhir:ElementDefinition.human [ fhir:value "All FHIR elements must have a @value or children" ];
         fhir:ElementDefinition.expression [ fhir:value "hasValue() or (children().count() > id.count())" ];
         fhir:ElementDefinition.xpath [ fhir:value "@value|f:*|h:div" ];
         fhir:ElementDefinition.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Element" ]
       ];
       fhir:ElementDefinition.isModifier [ fhir:value "false" ];
       fhir:ElementDefinition.isSummary [ fhir:value "true" ]
     ], [
       fhir:index 21;
       fhir:Element.id [ fhir:value "DataRequirement.sort" ];
       fhir:ElementDefinition.path [ fhir:value "DataRequirement.sort" ];
       fhir:ElementDefinition.short [ fhir:value "Order of the results" ];
       fhir:ElementDefinition.definition [ fhir:value "Specifies the order of the results to be returned." ];
       fhir:ElementDefinition.comment [ fhir:value "This element can be used in combination with the sort element to specify quota requirements such as \"the most recent 5\" or \"the highest 5\". When multiple sorts are specified, they are applied in the order they appear in the resource." ];
       fhir:ElementDefinition.requirements [ fhir:value "Enables the requirement \"most recent 5 results\" to be expressed." ];
       fhir:ElementDefinition.min [ fhir:value "0" ];
       fhir:ElementDefinition.max [ fhir:value "*" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.path [ fhir:value "DataRequirement.sort" ];
         fhir:ElementDefinition.min [ fhir:value "0" ];
         fhir:ElementDefinition.max [ fhir:value "*" ]
       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.code [ fhir:value "Element" ]
       ];
       fhir:ElementDefinition.constraint [
         fhir:index 0;
         fhir:ElementDefinition.key [ fhir:value "ele-1" ];
         fhir:ElementDefinition.severity [ fhir:value "error" ];
         fhir:ElementDefinition.human [ fhir:value "All FHIR elements must have a @value or children" ];
         fhir:ElementDefinition.expression [ fhir:value "hasValue() or (children().count() > id.count())" ];
         fhir:ElementDefinition.xpath [ fhir:value "@value|f:*|h:div" ];
         fhir:ElementDefinition.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Element" ]
       ];
       fhir:ElementDefinition.isModifier [ fhir:value "false" ];
       fhir:ElementDefinition.isSummary [ fhir:value "true" ]
     ], [
       fhir:index 22;
       fhir:Element.id [ fhir:value "DataRequirement.sort.id" ];
       fhir:ElementDefinition.path [ fhir:value "DataRequirement.sort.id" ];
       fhir:ElementDefinition.representation [
         fhir:value "xmlAttr";
         fhir:index 0
       ];
       fhir:ElementDefinition.short [ fhir:value "Unique id for inter-element referencing" ];
       fhir:ElementDefinition.definition [ fhir:value "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." ];
       fhir:ElementDefinition.min [ fhir:value "0" ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.path [ fhir:value "Element.id" ];
         fhir:ElementDefinition.min [ fhir:value "0" ];
         fhir:ElementDefinition.max [ fhir:value "1" ]
       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:Element.extension [
           fhir:index 0;
           fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type" ];
           fhir:Extension.value [ fhir:value "string" ]
         ];
         fhir:ElementDefinition.code [ fhir:value "http://hl7.org/fhirpath/System.String" ]
       ];
       fhir:ElementDefinition.isModifier [ fhir:value "false" ];
       fhir:ElementDefinition.isSummary [ fhir:value "false" ];
       fhir:ElementDefinition.mapping [
         fhir:index 0;
         fhir:ElementDefinition.identity [ fhir:value "rim" ];
         fhir:ElementDefinition.map [ fhir:value "n/a" ]
       ]
     ], [
       fhir:index 23;
       fhir:Element.id [ fhir:value "DataRequirement.sort.extension" ];
       fhir:ElementDefinition.path [ fhir:value "DataRequirement.sort.extension" ];
       fhir:ElementDefinition.slicing [
         fhir:ElementDefinition.discriminator [
           fhir:index 0;
           fhir:ElementDefinition.type [ fhir:value "value" ];
           fhir:ElementDefinition.path [ fhir:value "url" ]
         ];
         fhir:ElementDefinition.description [ fhir:value "Extensions are always sliced by (at least) url" ];
         fhir:ElementDefinition.rules [ fhir:value "open" ]
       ];
       fhir:ElementDefinition.short [ fhir:value "Additional content defined by implementations" ];
       fhir:ElementDefinition.definition [ fhir:value "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension." ];
       fhir:ElementDefinition.comment [ fhir:value "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone." ];
       fhir:ElementDefinition.alias [
         fhir:value "extensions";
         fhir:index 0
       ], [
         fhir:value "user content";
         fhir:index 1
       ];
       fhir:ElementDefinition.min [ fhir:value "0" ];
       fhir:ElementDefinition.max [ fhir:value "*" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.path [ fhir:value "Element.extension" ];
         fhir:ElementDefinition.min [ fhir:value "0" ];
         fhir:ElementDefinition.max [ fhir:value "*" ]
       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.code [ fhir:value "Extension" ]
       ];
       fhir:ElementDefinition.constraint [
         fhir:index 0;
         fhir:ElementDefinition.key [ fhir:value "ele-1" ];
         fhir:ElementDefinition.severity [ fhir:value "error" ];
         fhir:ElementDefinition.human [ fhir:value "All FHIR elements must have a @value or children" ];
         fhir:ElementDefinition.expression [ fhir:value "hasValue() or (children().count() > id.count())" ];
         fhir:ElementDefinition.xpath [ fhir:value "@value|f:*|h:div" ];
         fhir:ElementDefinition.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Element" ]
       ], [
         fhir:index 1;
         fhir:ElementDefinition.key [ fhir:value "ext-1" ];
         fhir:ElementDefinition.severity [ fhir:value "error" ];
         fhir:ElementDefinition.human [ fhir:value "Must have either extensions or value[x], not both" ];
         fhir:ElementDefinition.expression [ fhir:value "extension.exists() != value.exists()" ];
         fhir:ElementDefinition.xpath [ fhir:value "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])" ];
         fhir:ElementDefinition.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Extension" ]
       ];
       fhir:ElementDefinition.isModifier [ fhir:value "false" ];
       fhir:ElementDefinition.isSummary [ fhir:value "false" ];
       fhir:ElementDefinition.mapping [
         fhir:index 0;
         fhir:ElementDefinition.identity [ fhir:value "rim" ];
         fhir:ElementDefinition.map [ fhir:value "n/a" ]
       ]
     ], [
       fhir:index 24;
       fhir:Element.id [ fhir:value "DataRequirement.sort.path" ];
       fhir:ElementDefinition.path [ fhir:value "DataRequirement.sort.path" ];
       fhir:ElementDefinition.short [ fhir:value "The name of the attribute to perform the sort" ];
       fhir:ElementDefinition.definition [ fhir:value "The attribute of the sort. The specified path must be resolvable from the type of the required data. The path is allowed to contain qualifiers (.) to traverse sub-elements, as well as indexers ([x]) to traverse multiple-cardinality sub-elements. Note that the index must be an integer constant." ];
       fhir:ElementDefinition.min [ fhir:value "1" ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.path [ fhir:value "DataRequirement.sort.path" ];
         fhir:ElementDefinition.min [ fhir:value "1" ];
         fhir:ElementDefinition.max [ fhir:value "1" ]
       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.code [ fhir:value "string" ]
       ];
       fhir:ElementDefinition.constraint [
         fhir:index 0;
         fhir:ElementDefinition.key [ fhir:value "ele-1" ];
         fhir:ElementDefinition.severity [ fhir:value "error" ];
         fhir:ElementDefinition.human [ fhir:value "All FHIR elements must have a @value or children" ];
         fhir:ElementDefinition.expression [ fhir:value "hasValue() or (children().count() > id.count())" ];
         fhir:ElementDefinition.xpath [ fhir:value "@value|f:*|h:div" ];
         fhir:ElementDefinition.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Element" ]
       ];
       fhir:ElementDefinition.isModifier [ fhir:value "false" ];
       fhir:ElementDefinition.isSummary [ fhir:value "true" ]
     ], [
       fhir:index 25;
       fhir:Element.id [ fhir:value "DataRequirement.sort.direction" ];
       fhir:ElementDefinition.path [ fhir:value "DataRequirement.sort.direction" ];
       fhir:ElementDefinition.short [ fhir:value "ascending | descending" ];
       fhir:ElementDefinition.definition [ fhir:value "The direction of the sort, ascending or descending." ];
       fhir:ElementDefinition.min [ fhir:value "1" ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.path [ fhir:value "DataRequirement.sort.direction" ];
         fhir:ElementDefinition.min [ fhir:value "1" ];
         fhir:ElementDefinition.max [ fhir:value "1" ]
       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.code [ fhir:value "code" ]
       ];
       fhir:ElementDefinition.constraint [
         fhir:index 0;
         fhir:ElementDefinition.key [ fhir:value "ele-1" ];
         fhir:ElementDefinition.severity [ fhir:value "error" ];
         fhir:ElementDefinition.human [ fhir:value "All FHIR elements must have a @value or children" ];
         fhir:ElementDefinition.expression [ fhir:value "hasValue() or (children().count() > id.count())" ];
         fhir:ElementDefinition.xpath [ fhir:value "@value|f:*|h:div" ];
         fhir:ElementDefinition.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Element" ]
       ];
       fhir:ElementDefinition.isModifier [ fhir:value "false" ];
       fhir:ElementDefinition.isSummary [ fhir:value "true" ];
       fhir:ElementDefinition.binding [
         fhir:Element.extension [
           fhir:index 0;
           fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName" ];
           fhir:Extension.value [ fhir:value "SortDirection" ]
         ];
         fhir:ElementDefinition.strength [ fhir:value "required" ];
         fhir:ElementDefinition.description [ fhir:value "The possible sort directions, ascending or descending." ];
         fhir:ElementDefinition.valueSet [ fhir:value "http://hl7.org/fhir/ValueSet/sort-direction|4.0.1" ]
       ]
     ]
  ];
  fhir:StructureDefinition.differential [
     fhir:StructureDefinition.element [
       fhir:index 0;
       fhir:Element.id [ fhir:value "DataRequirement" ];
       fhir:Element.extension [
         fhir:index 0;
         fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status" ];
         fhir:Extension.value [ fhir:value "trial-use" ]
       ];
       fhir:ElementDefinition.path [ fhir:value "DataRequirement" ];
       fhir:ElementDefinition.short [ fhir:value "Describes a required data item" ];
       fhir:ElementDefinition.definition [ fhir:value "Describes a required data item for evaluation in terms of the type of data, and optional code or date-based filters of the data." ];
       fhir:ElementDefinition.min [ fhir:value "0" ];
       fhir:ElementDefinition.max [ fhir:value "*" ]
     ], [
       fhir:index 1;
       fhir:Element.id [ fhir:value "DataRequirement.type" ];
       fhir:ElementDefinition.path [ fhir:value "DataRequirement.type" ];
       fhir:ElementDefinition.short [ fhir:value "The type of the required data" ];
       fhir:ElementDefinition.definition [ fhir:value "The type of the required data, specified as the type name of a resource. For profiles, this value is set to the type of the base resource of the profile." ];
       fhir:ElementDefinition.min [ fhir:value "1" ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.code [ fhir:value "code" ]
       ];
       fhir:ElementDefinition.isSummary [ fhir:value "true" ];
       fhir:ElementDefinition.binding [
         fhir:Element.extension [
           fhir:index 0;
           fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName" ];
           fhir:Extension.value [ fhir:value "FHIRAllTypes" ]
         ], [
           fhir:index 1;
           fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding" ];
           fhir:Extension.value [ fhir:value "true" ]
         ];
         fhir:ElementDefinition.strength [ fhir:value "required" ];
         fhir:ElementDefinition.description [ fhir:value "A list of all the concrete types defined in this version of the FHIR specification - Abstract Types, Data Types and Resource Types." ];
         fhir:ElementDefinition.valueSet [ fhir:value "http://hl7.org/fhir/ValueSet/all-types|4.0.1" ]
       ]
     ], [
       fhir:index 2;
       fhir:Element.id [ fhir:value "DataRequirement.profile" ];
       fhir:ElementDefinition.path [ fhir:value "DataRequirement.profile" ];
       fhir:ElementDefinition.short [ fhir:value "The profile of the required data" ];
       fhir:ElementDefinition.definition [ fhir:value "The profile of the required data, specified as the uri of the profile definition." ];
       fhir:ElementDefinition.min [ fhir:value "0" ];
       fhir:ElementDefinition.max [ fhir:value "*" ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.code [ fhir:value "canonical" ];
         fhir:ElementDefinition.targetProfile [
           fhir:value "http://hl7.org/fhir/StructureDefinition/StructureDefinition";
           fhir:index 0
         ]
       ];
       fhir:ElementDefinition.isSummary [ fhir:value "true" ]
     ], [
       fhir:index 3;
       fhir:Element.id [ fhir:value "DataRequirement.subject[x]" ];
       fhir:ElementDefinition.path [ fhir:value "DataRequirement.subject[x]" ];
       fhir:ElementDefinition.short [ fhir:value "E.g. Patient, Practitioner, RelatedPerson, Organization, Location, Device" ];
       fhir:ElementDefinition.definition [ fhir:value "The intended subjects of the data requirement. If this element is not provided, a Patient subject is assumed." ];
       fhir:ElementDefinition.comment [ fhir:value "The subject of a data requirement is critical, as the data being specified is determined with respect to a particular subject. This corresponds roughly to the notion of a Compartment in that it limits what data is available based on its relationship to the subject. In CQL, this corresponds to the context declaration." ];
       fhir:ElementDefinition.min [ fhir:value "0" ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.code [ fhir:value "CodeableConcept" ]
       ], [
         fhir:index 1;
         fhir:ElementDefinition.code [ fhir:value "Reference" ];
         fhir:ElementDefinition.targetProfile [
           fhir:value "http://hl7.org/fhir/StructureDefinition/Group";
           fhir:index 0
         ]
       ];
       fhir:ElementDefinition.meaningWhenMissing [ fhir:value "Patient" ];
       fhir:ElementDefinition.isSummary [ fhir:value "true" ];
       fhir:ElementDefinition.binding [
         fhir:Element.extension [
           fhir:index 0;
           fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName" ];
           fhir:Extension.value [ fhir:value "SubjectType" ]
         ];
         fhir:ElementDefinition.strength [ fhir:value "extensible" ];
         fhir:ElementDefinition.description [ fhir:value "The possible types of subjects for a data requirement (E.g., Patient, Practitioner, Organization, Location, etc.)." ];
         fhir:ElementDefinition.valueSet [ fhir:value "http://hl7.org/fhir/ValueSet/subject-type" ]
       ]
     ], [
       fhir:index 4;
       fhir:Element.id [ fhir:value "DataRequirement.mustSupport" ];
       fhir:ElementDefinition.path [ fhir:value "DataRequirement.mustSupport" ];
       fhir:ElementDefinition.short [ fhir:value "Indicates specific structure elements that are referenced by the knowledge module" ];
       fhir:ElementDefinition.definition [ fhir:value "Indicates that specific elements of the type are referenced by the knowledge module and must be supported by the consumer in order to obtain an effective evaluation. This does not mean that a value is required for this element, only that the consuming system must understand the element and be able to provide values for it if they are available. \n\nThe value of mustSupport SHALL be a FHIRPath resolveable on the type of the DataRequirement. The path SHALL consist only of identifiers, constant indexers, and .resolve() (see the [Simple FHIRPath Profile](fhirpath.html#simple) for full details)." ];
       fhir:ElementDefinition.min [ fhir:value "0" ];
       fhir:ElementDefinition.max [ fhir:value "*" ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.code [ fhir:value "string" ]
       ];
       fhir:ElementDefinition.isSummary [ fhir:value "true" ]
     ], [
       fhir:index 5;
       fhir:Element.id [ fhir:value "DataRequirement.codeFilter" ];
       fhir:ElementDefinition.path [ fhir:value "DataRequirement.codeFilter" ];
       fhir:ElementDefinition.short [ fhir:value "What codes are expected" ];
       fhir:ElementDefinition.definition [ fhir:value "Code filters specify additional constraints on the data, specifying the value set of interest for a particular element of the data. Each code filter defines an additional constraint on the data, i.e. code filters are AND'ed, not OR'ed." ];
       fhir:ElementDefinition.min [ fhir:value "0" ];
       fhir:ElementDefinition.max [ fhir:value "*" ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.code [ fhir:value "Element" ]
       ];
       fhir:ElementDefinition.constraint [
         fhir:index 0;
         fhir:ElementDefinition.key [ fhir:value "drq-1" ];
         fhir:ElementDefinition.severity [ fhir:value "error" ];
         fhir:ElementDefinition.human [ fhir:value "Either a path or a searchParam must be provided, but not both" ];
         fhir:ElementDefinition.expression [ fhir:value "path.exists() xor searchParam.exists()" ];
         fhir:ElementDefinition.xpath [ fhir:value "(exists(f:path) and not(exists(f:searchParam))) or (not(exists(f:path)) and exists(f:searchParam))" ]
       ];
       fhir:ElementDefinition.isSummary [ fhir:value "true" ]
     ], [
       fhir:index 6;
       fhir:Element.id [ fhir:value "DataRequirement.codeFilter.path" ];
       fhir:ElementDefinition.path [ fhir:value "DataRequirement.codeFilter.path" ];
       fhir:ElementDefinition.short [ fhir:value "A code-valued attribute to filter on" ];
       fhir:ElementDefinition.definition [ fhir:value "The code-valued attribute of the filter. The specified path SHALL be a FHIRPath resolveable on the specified type of the DataRequirement, and SHALL consist only of identifiers, constant indexers, and .resolve(). The path is allowed to contain qualifiers (.) to traverse sub-elements, as well as indexers ([x]) to traverse multiple-cardinality sub-elements (see the [Simple FHIRPath Profile](fhirpath.html#simple) for full details). Note that the index must be an integer constant. The path must resolve to an element of type code, Coding, or CodeableConcept." ];
       fhir:ElementDefinition.comment [ fhir:value "The path attribute contains a [Simple FHIRPath Subset](fhirpath.html#simple) that allows path traversal, but not calculation." ];
       fhir:ElementDefinition.min [ fhir:value "0" ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.code [ fhir:value "string" ]
       ];
       fhir:ElementDefinition.isSummary [ fhir:value "true" ]
     ], [
       fhir:index 7;
       fhir:Element.id [ fhir:value "DataRequirement.codeFilter.searchParam" ];
       fhir:ElementDefinition.path [ fhir:value "DataRequirement.codeFilter.searchParam" ];
       fhir:ElementDefinition.short [ fhir:value "A coded (token) parameter to search on" ];
       fhir:ElementDefinition.definition [ fhir:value "A token parameter that refers to a search parameter defined on the specified type of the DataRequirement, and which searches on elements of type code, Coding, or CodeableConcept." ];
       fhir:ElementDefinition.min [ fhir:value "0" ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.code [ fhir:value "string" ]
       ];
       fhir:ElementDefinition.isSummary [ fhir:value "true" ]
     ], [
       fhir:index 8;
       fhir:Element.id [ fhir:value "DataRequirement.codeFilter.valueSet" ];
       fhir:ElementDefinition.path [ fhir:value "DataRequirement.codeFilter.valueSet" ];
       fhir:ElementDefinition.short [ fhir:value "Valueset for the filter" ];
       fhir:ElementDefinition.definition [ fhir:value "The valueset for the code filter. The valueSet and code elements are additive. If valueSet is specified, the filter will return only those data items for which the value of the code-valued element specified in the path is a member of the specified valueset." ];
       fhir:ElementDefinition.min [ fhir:value "0" ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.code [ fhir:value "canonical" ];
         fhir:ElementDefinition.targetProfile [
           fhir:value "http://hl7.org/fhir/StructureDefinition/ValueSet";
           fhir:index 0
         ]
       ];
       fhir:ElementDefinition.isSummary [ fhir:value "true" ]
     ], [
       fhir:index 9;
       fhir:Element.id [ fhir:value "DataRequirement.codeFilter.code" ];
       fhir:ElementDefinition.path [ fhir:value "DataRequirement.codeFilter.code" ];
       fhir:ElementDefinition.short [ fhir:value "What code is expected" ];
       fhir:ElementDefinition.definition [ fhir:value "The codes for the code filter. If values are given, the filter will return only those data items for which the code-valued attribute specified by the path has a value that is one of the specified codes. If codes are specified in addition to a value set, the filter returns items matching a code in the value set or one of the specified codes." ];
       fhir:ElementDefinition.min [ fhir:value "0" ];
       fhir:ElementDefinition.max [ fhir:value "*" ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.code [ fhir:value "Coding" ]
       ];
       fhir:ElementDefinition.isSummary [ fhir:value "true" ]
     ], [
       fhir:index 10;
       fhir:Element.id [ fhir:value "DataRequirement.dateFilter" ];
       fhir:ElementDefinition.path [ fhir:value "DataRequirement.dateFilter" ];
       fhir:ElementDefinition.short [ fhir:value "What dates/date ranges are expected" ];
       fhir:ElementDefinition.definition [ fhir:value "Date filters specify additional constraints on the data in terms of the applicable date range for specific elements. Each date filter specifies an additional constraint on the data, i.e. date filters are AND'ed, not OR'ed." ];
       fhir:ElementDefinition.min [ fhir:value "0" ];
       fhir:ElementDefinition.max [ fhir:value "*" ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.code [ fhir:value "Element" ]
       ];
       fhir:ElementDefinition.constraint [
         fhir:index 0;
         fhir:ElementDefinition.key [ fhir:value "drq-2" ];
         fhir:ElementDefinition.severity [ fhir:value "error" ];
         fhir:ElementDefinition.human [ fhir:value "Either a path or a searchParam must be provided, but not both" ];
         fhir:ElementDefinition.expression [ fhir:value "path.exists() xor searchParam.exists()" ];
         fhir:ElementDefinition.xpath [ fhir:value "(exists(f:path) and not(exists(f:searchParam))) or (not(exists(f:path)) and exists(f:searchParam))" ]
       ];
       fhir:ElementDefinition.isSummary [ fhir:value "true" ]
     ], [
       fhir:index 11;
       fhir:Element.id [ fhir:value "DataRequirement.dateFilter.path" ];
       fhir:ElementDefinition.path [ fhir:value "DataRequirement.dateFilter.path" ];
       fhir:ElementDefinition.short [ fhir:value "A date-valued attribute to filter on" ];
       fhir:ElementDefinition.definition [ fhir:value "The date-valued attribute of the filter. The specified path SHALL be a FHIRPath resolveable on the specified type of the DataRequirement, and SHALL consist only of identifiers, constant indexers, and .resolve(). The path is allowed to contain qualifiers (.) to traverse sub-elements, as well as indexers ([x]) to traverse multiple-cardinality sub-elements (see the [Simple FHIRPath Profile](fhirpath.html#simple) for full details). Note that the index must be an integer constant. The path must resolve to an element of type date, dateTime, Period, Schedule, or Timing." ];
       fhir:ElementDefinition.comment [ fhir:value "The path attribute contains a [Simple FHIR Subset](fhirpath.html#simple) that allows path traversal, but not calculation." ];
       fhir:ElementDefinition.min [ fhir:value "0" ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.code [ fhir:value "string" ]
       ];
       fhir:ElementDefinition.isSummary [ fhir:value "true" ]
     ], [
       fhir:index 12;
       fhir:Element.id [ fhir:value "DataRequirement.dateFilter.searchParam" ];
       fhir:ElementDefinition.path [ fhir:value "DataRequirement.dateFilter.searchParam" ];
       fhir:ElementDefinition.short [ fhir:value "A date valued parameter to search on" ];
       fhir:ElementDefinition.definition [ fhir:value "A date parameter that refers to a search parameter defined on the specified type of the DataRequirement, and which searches on elements of type date, dateTime, Period, Schedule, or Timing." ];
       fhir:ElementDefinition.min [ fhir:value "0" ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.code [ fhir:value "string" ]
       ];
       fhir:ElementDefinition.isSummary [ fhir:value "true" ]
     ], [
       fhir:index 13;
       fhir:Element.id [ fhir:value "DataRequirement.dateFilter.value[x]" ];
       fhir:ElementDefinition.path [ fhir:value "DataRequirement.dateFilter.value[x]" ];
       fhir:ElementDefinition.short [ fhir:value "The value of the filter, as a Period, DateTime, or Duration value" ];
       fhir:ElementDefinition.definition [ fhir:value "The value of the filter. If period is specified, the filter will return only those data items that fall within the bounds determined by the Period, inclusive of the period boundaries. If dateTime is specified, the filter will return only those data items that are equal to the specified dateTime. If a Duration is specified, the filter will return only those data items that fall within Duration before now." ];
       fhir:ElementDefinition.min [ fhir:value "0" ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.code [ fhir:value "dateTime" ]
       ], [
         fhir:index 1;
         fhir:ElementDefinition.code [ fhir:value "Period" ]
       ], [
         fhir:index 2;
         fhir:ElementDefinition.code [ fhir:value "Duration" ]
       ];
       fhir:ElementDefinition.isSummary [ fhir:value "true" ]
     ], [
       fhir:index 14;
       fhir:Element.id [ fhir:value "DataRequirement.limit" ];
       fhir:ElementDefinition.path [ fhir:value "DataRequirement.limit" ];
       fhir:ElementDefinition.short [ fhir:value "Number of results" ];
       fhir:ElementDefinition.definition [ fhir:value "Specifies a maximum number of results that are required (uses the _count search parameter)." ];
       fhir:ElementDefinition.comment [ fhir:value "This element can be used in combination with the sort element to specify quota requirements such as \"the most recent 5\" or \"the highest 5\"." ];
       fhir:ElementDefinition.requirements [ fhir:value "Enables the requirement \"most recent 5 results\" to be expressed." ];
       fhir:ElementDefinition.min [ fhir:value "0" ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.code [ fhir:value "positiveInt" ]
       ];
       fhir:ElementDefinition.isSummary [ fhir:value "true" ]
     ], [
       fhir:index 15;
       fhir:Element.id [ fhir:value "DataRequirement.sort" ];
       fhir:ElementDefinition.path [ fhir:value "DataRequirement.sort" ];
       fhir:ElementDefinition.short [ fhir:value "Order of the results" ];
       fhir:ElementDefinition.definition [ fhir:value "Specifies the order of the results to be returned." ];
       fhir:ElementDefinition.comment [ fhir:value "This element can be used in combination with the sort element to specify quota requirements such as \"the most recent 5\" or \"the highest 5\". When multiple sorts are specified, they are applied in the order they appear in the resource." ];
       fhir:ElementDefinition.requirements [ fhir:value "Enables the requirement \"most recent 5 results\" to be expressed." ];
       fhir:ElementDefinition.min [ fhir:value "0" ];
       fhir:ElementDefinition.max [ fhir:value "*" ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.code [ fhir:value "Element" ]
       ];
       fhir:ElementDefinition.isSummary [ fhir:value "true" ]
     ], [
       fhir:index 16;
       fhir:Element.id [ fhir:value "DataRequirement.sort.path" ];
       fhir:ElementDefinition.path [ fhir:value "DataRequirement.sort.path" ];
       fhir:ElementDefinition.short [ fhir:value "The name of the attribute to perform the sort" ];
       fhir:ElementDefinition.definition [ fhir:value "The attribute of the sort. The specified path must be resolvable from the type of the required data. The path is allowed to contain qualifiers (.) to traverse sub-elements, as well as indexers ([x]) to traverse multiple-cardinality sub-elements. Note that the index must be an integer constant." ];
       fhir:ElementDefinition.min [ fhir:value "1" ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.code [ fhir:value "string" ]
       ];
       fhir:ElementDefinition.isSummary [ fhir:value "true" ]
     ], [
       fhir:index 17;
       fhir:Element.id [ fhir:value "DataRequirement.sort.direction" ];
       fhir:ElementDefinition.path [ fhir:value "DataRequirement.sort.direction" ];
       fhir:ElementDefinition.short [ fhir:value "ascending | descending" ];
       fhir:ElementDefinition.definition [ fhir:value "The direction of the sort, ascending or descending." ];
       fhir:ElementDefinition.min [ fhir:value "1" ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.code [ fhir:value "code" ]
       ];
       fhir:ElementDefinition.isSummary [ fhir:value "true" ];
       fhir:ElementDefinition.binding [
         fhir:Element.extension [
           fhir:index 0;
           fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName" ];
           fhir:Extension.value [ fhir:value "SortDirection" ]
         ];
         fhir:ElementDefinition.strength [ fhir:value "required" ];
         fhir:ElementDefinition.description [ fhir:value "The possible sort directions, ascending or descending." ];
         fhir:ElementDefinition.valueSet [ fhir:value "http://hl7.org/fhir/ValueSet/sort-direction|4.0.1" ]
       ]
     ]
  ] .

# -------------------------------------------------------------------------------------


Usage note: every effort has been made to ensure that the examples are correct and useful, but they are not a normative part of the specification.