R5 Final QA

This page is part of the FHIR Specification (v5.0.0-draft-final: Final QA Preview for R5 - see ballot notes). 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

Example StructureDefinition/Measure (Turtle)

Clinical Quality Information Work GroupMaturity Level: N/AStandards Status: InformativeCompartments: Not linked to any defined compartments

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

StructureDefinition for measure

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

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

[] a fhir:StructureDefinition ;
  fhir:id [ fhir:v "Measure"] ;
  fhir:meta [
     fhir:lastUpdated [ fhir:v "2023-03-01T23:03:57.298+11:00" ]
  ] ;
  fhir:text [
     fhir:status [ fhir:v "generated" ]
  ] ;
  fhir:extension ( [
     fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/structuredefinition-category" ] ;
     fhir:value [ fhir:v "Specialized.Quality Reporting &amp; Testing" ]
  ] [
     fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/structuredefinition-implements" ] ;
     fhir:value [ fhir:v "http://hl7.org/fhir/StructureDefinition/MetadataResource" ]
  ] [
     fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status" ] ;
     fhir:value [ fhir:v "trial-use" ]
  ] [
     fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm" ] ;
     fhir:value [ fhir:v "3" ]
  ] [
     fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/structuredefinition-security-category" ] ;
     fhir:value [ fhir:v "anonymous" ]
  ] [
     fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg" ] ;
     fhir:value [ fhir:v "cqi" ]
  ] ) ;
  fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/Measure"], [ fhir:v "http://hl7.org/fhir/StructureDefinition/Measure"] ;
  fhir:version [ fhir:v "5.0.0-draft-final"], [ fhir:v "5.0.0-draft-final"] ;
  fhir:name [ fhir:v "Measure"], [ fhir:v "Measure"] ;
  fhir:status [ fhir:v "draft"], [ fhir:v "draft"] ;
  fhir:experimental [ fhir:v "false"], [ fhir:v "false"] ;
  fhir:date [ fhir:v "2023-03-01T23:03:57+11:00"], [ fhir:v "2023-03-01T23:03:57+11:00"] ;
  fhir:publisher [ fhir:v "Health Level Seven International (Clinical Quality Information)"], [ fhir:v "Health Level Seven International (Clinical Quality Information)"] ;
  fhir:contact ( [
     fhir:telecom ( [
       fhir:system [ fhir:v "url" ] ;
       fhir:value [ fhir:v "http://hl7.org/fhir" ]
     ] )
  ] [
     fhir:telecom ( [
       fhir:system [ fhir:v "url" ] ;
       fhir:value [ fhir:v "http://www.hl7.org/Special/committees/cqi/index.cfm" ]
     ] )
  ] [
     fhir:telecom ( [
       fhir:system [ fhir:v "url" ] ;
       fhir:value [ fhir:v "http://hl7.org/fhir" ]
     ] )
  ] [
     fhir:telecom ( [
       fhir:system [ fhir:v "url" ] ;
       fhir:value [ fhir:v "http://www.hl7.org/Special/committees/cqi/index.cfm" ]
     ] )
  ] ) ;
  fhir:description [ fhir:v "The Measure resource provides the definition of a quality measure."], [ fhir:v "The Measure resource provides the definition of a quality measure."] ;
  fhir:jurisdiction ( [
     fhir:coding ( [
       fhir:system [ fhir:v "http://unstats.un.org/unsd/methods/m49/m49.htm" ] ;
       fhir:code [ fhir:v "001" ] ;
       fhir:display [ fhir:v "World" ]
     ] )
  ] [
     fhir:coding ( [
       fhir:system [ fhir:v "http://unstats.un.org/unsd/methods/m49/m49.htm" ] ;
       fhir:code [ fhir:v "001" ] ;
       fhir:display [ fhir:v "World" ]
     ] )
  ] ) ;
  fhir:fhirVersion [ fhir:v "5.0.0-draft-final"] ;
  fhir:mapping ( [
     fhir:identity [ fhir:v "workflow" ] ;
     fhir:uri [ fhir:v "http://hl7.org/fhir/workflow" ] ;
     fhir:name [ fhir:v "Workflow Pattern" ]
  ] [
     fhir:identity [ fhir:v "rim" ] ;
     fhir:uri [ fhir:v "http://hl7.org/v3" ] ;
     fhir:name [ fhir:v "RIM Mapping" ]
  ] [
     fhir:identity [ fhir:v "w5" ] ;
     fhir:uri [ fhir:v "http://hl7.org/fhir/fivews" ] ;
     fhir:name [ fhir:v "FiveWs Pattern Mapping" ]
  ] [
     fhir:identity [ fhir:v "objimpl" ] ;
     fhir:uri [ fhir:v "http://hl7.org/fhir/object-implementation" ] ;
     fhir:name [ fhir:v "Object Implementation Information" ]
  ] ) ;
  fhir:kind [ fhir:v "resource"] ;
  fhir:abstract [ fhir:v "false"] ;
  fhir:type [ fhir:v "Measure"] ;
  fhir:baseDefinition [ fhir:v "http://hl7.org/fhir/StructureDefinition/DomainResource"] ;
  fhir:derivation [ fhir:v "specialization"] ;
  fhir:snapshot [
     fhir:element ( [
       fhir:id [ fhir:v "Measure" ] ;
       fhir:path [ fhir:v "Measure" ] ;
       fhir:short [ fhir:v "A quality measure definition" ] ;
       fhir:definition [ fhir:v "The Measure resource provides the definition of a quality measure." ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "*" ] ;
       fhir:base [
         fhir:path [ fhir:v "Measure" ] ;
         fhir:min [ fhir:v "0" ] ;
         fhir:max [ fhir:v "*" ]
       ] ;
       fhir:constraint ( [
         fhir:key [ fhir:v "cnl-0" ] ;
         fhir:severity [ fhir:v "warning" ] ;
         fhir:human [ fhir:v "Name should be usable as an identifier for the module by machine processing applications such as code generation" ] ;
         fhir:expression [ fhir:v "name.exists() implies name.matches('^[A-Z]([A-Za-z0-9_]){1,254}$')" ] ;
         fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Measure" ]
       ] [
         fhir:key [ fhir:v "mea-1" ] ;
         fhir:severity [ fhir:v "error" ] ;
         fhir:human [ fhir:v "Stratifier SHALL be either a single criteria or a set of criteria components" ] ;
         fhir:expression [ fhir:v "group.stratifier.all((code | description | criteria).exists() xor component.exists())" ] ;
         fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Measure" ]
       ] ) ;
       fhir:mustSupport [ fhir:v "false" ] ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:isSummary [ fhir:v "false" ] ;
       fhir:mapping ( [
         fhir:identity [ fhir:v "workflow" ] ;
         fhir:map [ fhir:v "Definition" ]
       ] [
         fhir:identity [ fhir:v "rim" ] ;
         fhir:map [ fhir:v "Observation[classCode=OBS, moodCode=DEFN]" ]
       ] [
         fhir:identity [ fhir:v "w5" ] ;
         fhir:map [ fhir:v "clinical.general" ]
       ] )
     ] [
       fhir:id [ fhir:v "Measure.id" ] ;
       fhir:path [ fhir:v "Measure.id" ] ;
       fhir:short [ fhir:v "Logical id of this artifact" ] ;
       fhir:definition [ fhir:v "The logical id of the resource, as used in the URL for the resource. Once assigned, this value never changes." ] ;
       fhir:comment [ fhir:v "Within the context of the FHIR RESTful interactions, the resource has an id except for cases like the create and conditional update. Otherwise, the use of the resouce id depends on the given use case." ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "1" ] ;
       fhir:base [
         fhir:path [ fhir:v "Resource.id" ] ;
         fhir:min [ fhir:v "0" ] ;
         fhir:max [ fhir:v "1" ]
       ] ;
       fhir:type ( [
         fhir:extension ( [
           fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type" ] ;
           fhir:value [ fhir:v "id" ]
         ] ) ;
         fhir:code [ fhir:v "http://hl7.org/fhirpath/System.String" ]
       ] ) ;
       fhir:mustSupport [ fhir:v "false" ] ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:isSummary [ fhir:v "true" ]
     ] [
       fhir:id [ fhir:v "Measure.meta" ] ;
       fhir:path [ fhir:v "Measure.meta" ] ;
       fhir:short [ fhir:v "Metadata about the resource" ] ;
       fhir:definition [ fhir:v "The metadata about the resource. This is content that is maintained by the infrastructure. Changes to the content might not always be associated with version changes to the resource." ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "1" ] ;
       fhir:base [
         fhir:path [ fhir:v "Resource.meta" ] ;
         fhir:min [ fhir:v "0" ] ;
         fhir:max [ fhir:v "1" ]
       ] ;
       fhir:type ( [
         fhir:code [ fhir:v "Meta" ]
       ] ) ;
       fhir:constraint ( [
         fhir:key [ fhir:v "ele-1" ] ;
         fhir:severity [ fhir:v "error" ] ;
         fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
         fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
         fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element" ]
       ] ) ;
       fhir:mustSupport [ fhir:v "false" ] ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:isSummary [ fhir:v "true" ]
     ] [
       fhir:id [ fhir:v "Measure.implicitRules" ] ;
       fhir:path [ fhir:v "Measure.implicitRules" ] ;
       fhir:short [ fhir:v "A set of rules under which this content was created" ] ;
       fhir:definition [ fhir:v "A reference to a set of rules that were followed when the resource was constructed, and which must be understood when processing the content. Often, this is a reference to an implementation guide that defines the special rules along with other profiles etc." ] ;
       fhir:comment [ fhir:v "Asserting this rule set restricts the content to be only understood by a limited set of trading partners. This inherently limits the usefulness of the data in the long term. However, the existing health eco-system is highly fractured, and not yet ready to define, collect, and exchange data in a generally computable sense. Wherever possible, implementers and/or specification writers should avoid using this element. Often, when used, the URL is a reference to an implementation guide that defines these special rules as part of its narrative along with other profiles, value sets, etc." ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "1" ] ;
       fhir:base [
         fhir:path [ fhir:v "Resource.implicitRules" ] ;
         fhir:min [ fhir:v "0" ] ;
         fhir:max [ fhir:v "1" ]
       ] ;
       fhir:type ( [
         fhir:code [ fhir:v "uri" ]
       ] ) ;
       fhir:constraint ( [
         fhir:key [ fhir:v "ele-1" ] ;
         fhir:severity [ fhir:v "error" ] ;
         fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
         fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
         fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element" ]
       ] ) ;
       fhir:mustSupport [ fhir:v "false" ] ;
       fhir:isModifier [ fhir:v "true" ] ;
       fhir:isModifierReason [ fhir:v "This element is labeled as a modifier because the implicit rules may provide additional knowledge about the resource that modifies its meaning or interpretation" ] ;
       fhir:isSummary [ fhir:v "true" ]
     ] [
       fhir:id [ fhir:v "Measure.language" ] ;
       fhir:path [ fhir:v "Measure.language" ] ;
       fhir:short [ fhir:v "Language of the resource content" ] ;
       fhir:definition [ fhir:v "The base language in which the resource is written." ] ;
       fhir:comment [ fhir:v "Language is provided to support indexing and accessibility (typically, services such as text to speech use the language tag). The html language tag in the narrative applies  to the narrative. The language tag on the resource may be used to specify the language of other presentations generated from the data in the resource. Not all the content has to be in the base language. The Resource.language should not be assumed to apply to the narrative automatically. If a language is specified, it should it also be specified on the div element in the html (see rules in HTML5 for information about the relationship between xml:lang and the html lang attribute)." ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "1" ] ;
       fhir:base [
         fhir:path [ fhir:v "Resource.language" ] ;
         fhir:min [ fhir:v "0" ] ;
         fhir:max [ fhir:v "1" ]
       ] ;
       fhir:type ( [
         fhir:code [ fhir:v "code" ]
       ] ) ;
       fhir:constraint ( [
         fhir:key [ fhir:v "ele-1" ] ;
         fhir:severity [ fhir:v "error" ] ;
         fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
         fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
         fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element" ]
       ] ) ;
       fhir:mustSupport [ fhir:v "false" ] ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:isSummary [ fhir:v "false" ] ;
       fhir:binding [
         fhir:extension ( [
           fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName" ] ;
           fhir:value [ fhir:v "Language" ]
         ] [
           fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding" ] ;
           fhir:value [ fhir:v "true" ]
         ] ) ;
         fhir:strength [ fhir:v "required" ] ;
         fhir:description [ fhir:v "IETF language tag for a human language" ] ;
         fhir:valueSet [ fhir:v "http://hl7.org/fhir/ValueSet/all-languages|5.0.0-draft-final" ] ;
         fhir:additional ( [
           fhir:purpose [ fhir:v "starter" ] ;
           fhir:valueSet [ fhir:v "http://hl7.org/fhir/ValueSet/languages" ]
         ] )
       ]
     ] [
       fhir:id [ fhir:v "Measure.text" ] ;
       fhir:path [ fhir:v "Measure.text" ] ;
       fhir:short [ fhir:v "Text summary of the resource, for human interpretation" ] ;
       fhir:definition [ fhir:v "A human-readable narrative that contains a summary of the resource and can be used to represent the content of the resource to a human. The narrative need not encode all the structured data, but is required to contain sufficient detail to make it \"clinically safe\" for a human to just read the narrative. Resource definitions may define what content should be represented in the narrative to ensure clinical safety." ] ;
       fhir:comment [ fhir:v "Contained resources do not have a narrative. Resources that are not contained SHOULD have a narrative. In some cases, a resource may only have text with little or no additional discrete data (as long as all minOccurs=1 elements are satisfied).  This may be necessary for data from legacy systems where information is captured as a \"text blob\" or where text is additionally entered raw or narrated and encoded information is added later." ] ;
       fhir:alias ( [ fhir:v "narrative" ] [ fhir:v "html" ] [ fhir:v "xhtml" ] [ fhir:v "display" ] ) ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "1" ] ;
       fhir:base [
         fhir:path [ fhir:v "DomainResource.text" ] ;
         fhir:min [ fhir:v "0" ] ;
         fhir:max [ fhir:v "1" ]
       ] ;
       fhir:type ( [
         fhir:code [ fhir:v "Narrative" ]
       ] ) ;
       fhir:condition ( [ fhir:v "dom-6" ] ) ;
       fhir:constraint ( [
         fhir:key [ fhir:v "ele-1" ] ;
         fhir:severity [ fhir:v "error" ] ;
         fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
         fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
         fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element" ]
       ] ) ;
       fhir:mustSupport [ fhir:v "false" ] ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:isSummary [ fhir:v "false" ] ;
       fhir:mapping ( [
         fhir:identity [ fhir:v "rim" ] ;
         fhir:map [ fhir:v "Act.text?" ]
       ] )
     ] [
       fhir:id [ fhir:v "Measure.contained" ] ;
       fhir:path [ fhir:v "Measure.contained" ] ;
       fhir:short [ fhir:v "Contained, inline Resources" ] ;
       fhir:definition [ fhir:v "These resources do not have an independent existence apart from the resource that contains them - they cannot be identified independently, nor can they have their own independent transaction scope. This is allowed to be a Parameters resource if and only if it is referenced by a resource that provides context/meaning." ] ;
       fhir:comment [ fhir:v "This should never be done when the content can be identified properly, as once identification is lost, it is extremely difficult (and context dependent) to restore it again. Contained resources may have profiles and tags in their meta elements, but SHALL NOT have security labels." ] ;
       fhir:alias ( [ fhir:v "inline resources" ] [ fhir:v "anonymous resources" ] [ fhir:v "contained resources" ] ) ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "*" ] ;
       fhir:base [
         fhir:path [ fhir:v "DomainResource.contained" ] ;
         fhir:min [ fhir:v "0" ] ;
         fhir:max [ fhir:v "*" ]
       ] ;
       fhir:type ( [
         fhir:code [ fhir:v "Resource" ]
       ] ) ;
       fhir:condition ( [ fhir:v "dom-2" ] [ fhir:v "dom-4" ] [ fhir:v "dom-3" ] [ fhir:v "dom-5" ] ) ;
       fhir:mustSupport [ fhir:v "false" ] ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:isSummary [ fhir:v "false" ] ;
       fhir:mapping ( [
         fhir:identity [ fhir:v "rim" ] ;
         fhir:map [ fhir:v "N/A" ]
       ] )
     ] [
       fhir:id [ fhir:v "Measure.extension" ] ;
       fhir:path [ fhir:v "Measure.extension" ] ;
       fhir:short [ fhir:v "Additional content defined by implementations" ] ;
       fhir:definition [ fhir:v "May be used to represent additional information that is not part of the basic definition of the resource. To make the use of extensions safe and managable, 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:comment [ fhir:v "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:alias ( [ fhir:v "extensions" ] [ fhir:v "user content" ] ) ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "*" ] ;
       fhir:base [
         fhir:path [ fhir:v "DomainResource.extension" ] ;
         fhir:min [ fhir:v "0" ] ;
         fhir:max [ fhir:v "*" ]
       ] ;
       fhir:type ( [
         fhir:code [ fhir:v "Extension" ]
       ] ) ;
       fhir:constraint ( [
         fhir:key [ fhir:v "ele-1" ] ;
         fhir:severity [ fhir:v "error" ] ;
         fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
         fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
         fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element" ]
       ] [
         fhir:key [ fhir:v "ext-1" ] ;
         fhir:severity [ fhir:v "error" ] ;
         fhir:human [ fhir:v "Must have either extensions or value[x], not both" ] ;
         fhir:expression [ fhir:v "extension.exists() != value.exists()" ] ;
         fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Extension" ]
       ] ) ;
       fhir:mustSupport [ fhir:v "false" ] ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:isSummary [ fhir:v "false" ] ;
       fhir:mapping ( [
         fhir:identity [ fhir:v "rim" ] ;
         fhir:map [ fhir:v "N/A" ]
       ] )
     ] [
       fhir:id [ fhir:v "Measure.modifierExtension" ] ;
       fhir:path [ fhir:v "Measure.modifierExtension" ] ;
       fhir:short [ fhir:v "Extensions that cannot be ignored" ] ;
       fhir:definition [ fhir:v "May be used to represent additional information that is not part of the basic definition of the resource and that modifies the understanding of the element that contains it and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and managable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.\n\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself)." ] ;
       fhir:comment [ fhir:v "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:requirements [ fhir:v "Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored.  This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](extensibility.html#modifierExtension)." ] ;
       fhir:alias ( [ fhir:v "extensions" ] [ fhir:v "user content" ] ) ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "*" ] ;
       fhir:base [
         fhir:path [ fhir:v "DomainResource.modifierExtension" ] ;
         fhir:min [ fhir:v "0" ] ;
         fhir:max [ fhir:v "*" ]
       ] ;
       fhir:type ( [
         fhir:code [ fhir:v "Extension" ]
       ] ) ;
       fhir:constraint ( [
         fhir:key [ fhir:v "ele-1" ] ;
         fhir:severity [ fhir:v "error" ] ;
         fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
         fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
         fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element" ]
       ] [
         fhir:key [ fhir:v "ext-1" ] ;
         fhir:severity [ fhir:v "error" ] ;
         fhir:human [ fhir:v "Must have either extensions or value[x], not both" ] ;
         fhir:expression [ fhir:v "extension.exists() != value.exists()" ] ;
         fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Extension" ]
       ] ) ;
       fhir:mustSupport [ fhir:v "false" ] ;
       fhir:isModifier [ fhir:v "true" ] ;
       fhir:isModifierReason [ fhir:v "Modifier extensions are expected to modify the meaning or interpretation of the resource that contains them" ] ;
       fhir:isSummary [ fhir:v "true" ] ;
       fhir:mapping ( [
         fhir:identity [ fhir:v "rim" ] ;
         fhir:map [ fhir:v "N/A" ]
       ] )
     ] [
       fhir:id [ fhir:v "Measure.url" ] ;
       fhir:path [ fhir:v "Measure.url" ] ;
       fhir:short [ fhir:v "Canonical identifier for this measure, represented as a URI (globally unique)" ] ;
       fhir:definition [ fhir:v "An absolute URI that is used to identify this measure when it is referenced in a specification, model, design or an instance; also called its canonical identifier. This SHOULD be globally unique and SHOULD be a literal address at which an authoritative instance of this measure is (or will be) published. This URL can be the target of a canonical reference. It SHALL remain the same when the measure is stored on different servers." ] ;
       fhir:comment [ fhir:v "Can be a urn:uuid: or a urn:oid: but real http: addresses are preferred.  Multiple instances may share the same URL if they have a distinct version.\n\nThe determination of when to create a new version of a resource (same url, new version) vs. defining a new artifact is up to the author.  Considerations for making this decision are found in [Technical and Business Versions](resource.html#versions). \n\nIn some cases, the resource can no longer be found at the stated url, but the url itself cannot change. Implementations can use the [meta.source](resource.html#meta) element to indicate where the current master source of the resource can be found." ] ;
       fhir:requirements [ fhir:v "Allows the measure to be referenced by a single globally unique identifier." ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "1" ] ;
       fhir:base [
         fhir:path [ fhir:v "Measure.url" ] ;
         fhir:min [ fhir:v "0" ] ;
         fhir:max [ fhir:v "1" ]
       ] ;
       fhir:type ( [
         fhir:code [ fhir:v "uri" ]
       ] ) ;
       fhir:constraint ( [
         fhir:key [ fhir:v "cnl-1" ] ;
         fhir:severity [ fhir:v "warning" ] ;
         fhir:human [ fhir:v "URL should not contain | or # - these characters make processing canonical references problematic" ] ;
         fhir:expression [ fhir:v "exists() implies matches('^[^|# ]+$')" ] ;
         fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Measure" ]
       ] [
         fhir:key [ fhir:v "ele-1" ] ;
         fhir:severity [ fhir:v "error" ] ;
         fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
         fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
         fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element" ]
       ] ) ;
       fhir:mustSupport [ fhir:v "false" ] ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:isSummary [ fhir:v "true" ] ;
       fhir:mapping ( [
         fhir:identity [ fhir:v "workflow" ] ;
         fhir:map [ fhir:v "Definition.url" ]
       ] [
         fhir:identity [ fhir:v "w5" ] ;
         fhir:map [ fhir:v "FiveWs.identifier" ]
       ] [
         fhir:identity [ fhir:v "rim" ] ;
         fhir:map [ fhir:v ".identifier[scope=BUSN;reliability=ISS]" ]
       ] )
     ] [
       fhir:id [ fhir:v "Measure.identifier" ] ;
       fhir:path [ fhir:v "Measure.identifier" ] ;
       fhir:short [ fhir:v "Additional identifier for the measure" ] ;
       fhir:definition [ fhir:v "A formal identifier that is used to identify this measure when it is represented in other formats, or referenced in a specification, model, design or an instance." ] ;
       fhir:comment [ fhir:v "Typically, this is used for identifiers that can go in an HL7 V3 II (instance identifier) data type, and can then identify this measure outside of FHIR, where it is not possible to use the logical URI." ] ;
       fhir:requirements [ fhir:v "Allows externally provided and/or usable business identifiers to be easily associated with the module." ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "*" ] ;
       fhir:base [
         fhir:path [ fhir:v "Measure.identifier" ] ;
         fhir:min [ fhir:v "0" ] ;
         fhir:max [ fhir:v "*" ]
       ] ;
       fhir:type ( [
         fhir:code [ fhir:v "Identifier" ]
       ] ) ;
       fhir:constraint ( [
         fhir:key [ fhir:v "ele-1" ] ;
         fhir:severity [ fhir:v "error" ] ;
         fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
         fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
         fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element" ]
       ] ) ;
       fhir:mustSupport [ fhir:v "false" ] ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:isSummary [ fhir:v "true" ] ;
       fhir:mapping ( [
         fhir:identity [ fhir:v "workflow" ] ;
         fhir:map [ fhir:v "Definition.identifier" ]
       ] [
         fhir:identity [ fhir:v "w5" ] ;
         fhir:map [ fhir:v "FiveWs.identifier" ]
       ] [
         fhir:identity [ fhir:v "rim" ] ;
         fhir:map [ fhir:v ".identifier" ]
       ] [
         fhir:identity [ fhir:v "objimpl" ] ;
         fhir:map [ fhir:v "no-gen-base" ]
       ] )
     ] [
       fhir:id [ fhir:v "Measure.version" ] ;
       fhir:path [ fhir:v "Measure.version" ] ;
       fhir:short [ fhir:v "Business version of the measure" ] ;
       fhir:definition [ fhir:v "The identifier that is used to identify this version of the measure when it is referenced in a specification, model, design or instance. This is an arbitrary value managed by the measure author and is not expected to be globally unique. For example, it might be a timestamp (e.g. yyyymmdd) if a managed version is not available. There is also no expectation that versions can be placed in a lexicographical sequence. To provide a version consistent with the Decision Support Service specification, use the format Major.Minor.Revision (e.g. 1.0.0). For more information on versioning knowledge assets, refer to the Decision Support Service specification. Note that a version is required for non-experimental active artifacts." ] ;
       fhir:comment [ fhir:v "There may be different measure instances that have the same identifier but different versions.  The version can be appended to the url in a reference to allow a reference to a particular business version of the measure with the format [url]|[version]. The version SHOULD NOT contain a '#' - see [Business Version](resource.html#bv-format)." ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "1" ] ;
       fhir:base [
         fhir:path [ fhir:v "Measure.version" ] ;
         fhir:min [ fhir:v "0" ] ;
         fhir:max [ fhir:v "1" ]
       ] ;
       fhir:type ( [
         fhir:code [ fhir:v "string" ]
       ] ) ;
       fhir:constraint ( [
         fhir:key [ fhir:v "ele-1" ] ;
         fhir:severity [ fhir:v "error" ] ;
         fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
         fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
         fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element" ]
       ] ) ;
       fhir:mustSupport [ fhir:v "false" ] ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:isSummary [ fhir:v "true" ] ;
       fhir:mapping ( [
         fhir:identity [ fhir:v "workflow" ] ;
         fhir:map [ fhir:v "Definition.version" ]
       ] [
         fhir:identity [ fhir:v "w5" ] ;
         fhir:map [ fhir:v "FiveWs.version" ]
       ] [
         fhir:identity [ fhir:v "rim" ] ;
         fhir:map [ fhir:v "N/A (to add?)" ]
       ] [
         fhir:identity [ fhir:v "objimpl" ] ;
         fhir:map [ fhir:v "no-gen-base" ]
       ] )
     ] [
       fhir:id [ fhir:v "Measure.versionAlgorithm[x]" ] ;
       fhir:path [ fhir:v "Measure.versionAlgorithm[x]" ] ;
       fhir:short [ fhir:v "How to compare versions" ] ;
       fhir:definition [ fhir:v "Indicates the mechanism used to compare versions to determine which is more current." ] ;
       fhir:comment [ fhir:v "If set as a string, this is a FHIRPath expression that has two additional context variables passed in - %version1 and %version2 and will return a negative number if version1 is newer, a positive number if version2 and a 0 if the version ordering can't be successfully be determined." ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "1" ] ;
       fhir:base [
         fhir:path [ fhir:v "Measure.versionAlgorithm[x]" ] ;
         fhir:min [ fhir:v "0" ] ;
         fhir:max [ fhir:v "1" ]
       ] ;
       fhir:type ( [
         fhir:code [ fhir:v "string" ]
       ] [
         fhir:code [ fhir:v "Coding" ]
       ] ) ;
       fhir:constraint ( [
         fhir:key [ fhir:v "ele-1" ] ;
         fhir:severity [ fhir:v "error" ] ;
         fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
         fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
         fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element" ]
       ] ) ;
       fhir:mustSupport [ fhir:v "false" ] ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:isSummary [ fhir:v "true" ] ;
       fhir:binding [
         fhir:strength [ fhir:v "extensible" ] ;
         fhir:valueSet [ fhir:v "http://hl7.org/fhir/ValueSet/version-algorithm" ]
       ] ;
       fhir:mapping ( [
         fhir:identity [ fhir:v "workflow" ] ;
         fhir:map [ fhir:v "Definition.versionAlgorithm" ]
       ] [
         fhir:identity [ fhir:v "w5" ] ;
         fhir:map [ fhir:v "FiveWs.version" ]
       ] [
         fhir:identity [ fhir:v "rim" ] ;
         fhir:map [ fhir:v "N/A (to add?)" ]
       ] [
         fhir:identity [ fhir:v "objimpl" ] ;
         fhir:map [ fhir:v "no-gen-base" ]
       ] )
     ] [
       fhir:id [ fhir:v "Measure.name" ] ;
       fhir:path [ fhir:v "Measure.name" ] ;
       fhir:short [ fhir:v "Name for this measure (computer friendly)" ] ;
       fhir:definition [ fhir:v "A natural language name identifying the measure. This name should be usable as an identifier for the module by machine processing applications such as code generation." ] ;
       fhir:comment [ fhir:v "The name is not expected to be globally unique. The name should be a simple alphanumeric type name to ensure that it is machine-processing friendly." ] ;
       fhir:requirements [ fhir:v "Support human navigation and code generation." ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "1" ] ;
       fhir:base [
         fhir:path [ fhir:v "Measure.name" ] ;
         fhir:min [ fhir:v "0" ] ;
         fhir:max [ fhir:v "1" ]
       ] ;
       fhir:type ( [
         fhir:code [ fhir:v "string" ]
       ] ) ;
       fhir:condition ( [ fhir:v "cnl-0" ] ) ;
       fhir:constraint ( [
         fhir:key [ fhir:v "ele-1" ] ;
         fhir:severity [ fhir:v "error" ] ;
         fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
         fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
         fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element" ]
       ] ) ;
       fhir:mustSupport [ fhir:v "false" ] ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:isSummary [ fhir:v "true" ] ;
       fhir:mapping ( [
         fhir:identity [ fhir:v "workflow" ] ;
         fhir:map [ fhir:v "Definition.name" ]
       ] [
         fhir:identity [ fhir:v "rim" ] ;
         fhir:map [ fhir:v "N/A" ]
       ] )
     ] [
       fhir:id [ fhir:v "Measure.title" ] ;
       fhir:extension ( [
         fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable" ] ;
         fhir:value [ fhir:v "true" ]
       ] [
         fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable" ] ;
         fhir:value [ fhir:v "true" ]
       ] ) ;
       fhir:path [ fhir:v "Measure.title" ] ;
       fhir:short [ fhir:v "Name for this measure (human friendly)" ] ;
       fhir:definition [ fhir:v "A short, descriptive, user-friendly title for the measure." ] ;
       fhir:comment [ fhir:v "This name does not need to be machine-processing friendly and may contain punctuation, white-space, etc." ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "1" ] ;
       fhir:base [
         fhir:path [ fhir:v "Measure.title" ] ;
         fhir:min [ fhir:v "0" ] ;
         fhir:max [ fhir:v "1" ]
       ] ;
       fhir:type ( [
         fhir:code [ fhir:v "string" ]
       ] ) ;
       fhir:constraint ( [
         fhir:key [ fhir:v "ele-1" ] ;
         fhir:severity [ fhir:v "error" ] ;
         fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
         fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
         fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element" ]
       ] ) ;
       fhir:mustSupport [ fhir:v "false" ] ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:isSummary [ fhir:v "true" ] ;
       fhir:mapping ( [
         fhir:identity [ fhir:v "workflow" ] ;
         fhir:map [ fhir:v "Definition.title" ]
       ] [
         fhir:identity [ fhir:v "rim" ] ;
         fhir:map [ fhir:v ".title" ]
       ] )
     ] [
       fhir:id [ fhir:v "Measure.subtitle" ] ;
       fhir:extension ( [
         fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable" ] ;
         fhir:value [ fhir:v "true" ]
       ] [
         fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable" ] ;
         fhir:value [ fhir:v "true" ]
       ] ) ;
       fhir:path [ fhir:v "Measure.subtitle" ] ;
       fhir:short [ fhir:v "Subordinate title of the measure" ] ;
       fhir:definition [ fhir:v "An explanatory or alternate title for the measure giving additional information about its content." ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "1" ] ;
       fhir:base [
         fhir:path [ fhir:v "Measure.subtitle" ] ;
         fhir:min [ fhir:v "0" ] ;
         fhir:max [ fhir:v "1" ]
       ] ;
       fhir:type ( [
         fhir:code [ fhir:v "string" ]
       ] ) ;
       fhir:constraint ( [
         fhir:key [ fhir:v "ele-1" ] ;
         fhir:severity [ fhir:v "error" ] ;
         fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
         fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
         fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element" ]
       ] ) ;
       fhir:mustSupport [ fhir:v "false" ] ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:isSummary [ fhir:v "false" ] ;
       fhir:mapping ( [
         fhir:identity [ fhir:v "rim" ] ;
         fhir:map [ fhir:v "N/A (to add?)" ]
       ] )
     ] [
       fhir:id [ fhir:v "Measure.status" ] ;
       fhir:path [ fhir:v "Measure.status" ] ;
       fhir:short [ fhir:v "draft | active | retired | unknown" ] ;
       fhir:definition [ fhir:v "The status of this measure. Enables tracking the life-cycle of the content." ] ;
       fhir:comment [ fhir:v "Allows filtering of measures that are appropriate for use versus not." ] ;
       fhir:min [ fhir:v "1" ] ;
       fhir:max [ fhir:v "1" ] ;
       fhir:base [
         fhir:path [ fhir:v "Measure.status" ] ;
         fhir:min [ fhir:v "1" ] ;
         fhir:max [ fhir:v "1" ]
       ] ;
       fhir:type ( [
         fhir:code [ fhir:v "code" ]
       ] ) ;
       fhir:constraint ( [
         fhir:key [ fhir:v "ele-1" ] ;
         fhir:severity [ fhir:v "error" ] ;
         fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
         fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
         fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element" ]
       ] ) ;
       fhir:mustSupport [ fhir:v "false" ] ;
       fhir:isModifier [ fhir:v "true" ] ;
       fhir:isModifierReason [ fhir:v "This is labeled as \"Is Modifier\" because applications should not use a retired {{title}} without due consideration" ] ;
       fhir:isSummary [ fhir:v "true" ] ;
       fhir:binding [
         fhir:extension ( [
           fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName" ] ;
           fhir:value [ fhir:v "PublicationStatus" ]
         ] [
           fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding" ] ;
           fhir:value [ fhir:v "true" ]
         ] ) ;
         fhir:strength [ fhir:v "required" ] ;
         fhir:description [ fhir:v "The lifecycle status of an artifact." ] ;
         fhir:valueSet [ fhir:v "http://hl7.org/fhir/ValueSet/publication-status|5.0.0-draft-final" ]
       ] ;
       fhir:mapping ( [
         fhir:identity [ fhir:v "workflow" ] ;
         fhir:map [ fhir:v "Definition.status" ]
       ] [
         fhir:identity [ fhir:v "w5" ] ;
         fhir:map [ fhir:v "FiveWs.status" ]
       ] [
         fhir:identity [ fhir:v "rim" ] ;
         fhir:map [ fhir:v ".status" ]
       ] )
     ] [
       fhir:id [ fhir:v "Measure.experimental" ] ;
       fhir:path [ fhir:v "Measure.experimental" ] ;
       fhir:short [ fhir:v "For testing purposes, not real usage" ] ;
       fhir:definition [ fhir:v "A Boolean value to indicate that this measure is authored for testing purposes (or education/evaluation/marketing) and is not intended to be used for genuine usage." ] ;
       fhir:comment [ fhir:v "Allows filtering of measures that are appropriate for use versus not." ] ;
       fhir:requirements [ fhir:v "Enables experimental content to be developed following the same lifecycle that would be used for a production-level measure." ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "1" ] ;
       fhir:base [
         fhir:path [ fhir:v "Measure.experimental" ] ;
         fhir:min [ fhir:v "0" ] ;
         fhir:max [ fhir:v "1" ]
       ] ;
       fhir:type ( [
         fhir:code [ fhir:v "boolean" ]
       ] ) ;
       fhir:meaningWhenMissing [ fhir:v "If absent, this resource is treated as though it is not experimental." ] ;
       fhir:constraint ( [
         fhir:key [ fhir:v "ele-1" ] ;
         fhir:severity [ fhir:v "error" ] ;
         fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
         fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
         fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element" ]
       ] ) ;
       fhir:mustSupport [ fhir:v "false" ] ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:isSummary [ fhir:v "true" ] ;
       fhir:mapping ( [
         fhir:identity [ fhir:v "workflow" ] ;
         fhir:map [ fhir:v "Definition.experimental" ]
       ] [
         fhir:identity [ fhir:v "w5" ] ;
         fhir:map [ fhir:v "FiveWs.class" ]
       ] [
         fhir:identity [ fhir:v "rim" ] ;
         fhir:map [ fhir:v "N/A (to add?)" ]
       ] )
     ] [
       fhir:id [ fhir:v "Measure.subject[x]" ] ;
       fhir:path [ fhir:v "Measure.subject[x]" ] ;
       fhir:short [ fhir:v "E.g. Patient, Practitioner, RelatedPerson, Organization, Location, Device" ] ;
       fhir:definition [ fhir:v "The intended subjects for the measure. If this element is not provided, a Patient subject is assumed, but the subject of the measure can be anything." ] ;
       fhir:comment [ fhir:v "The subject of the measure is critical in interpreting the criteria definitions, as the logic in the measures is evaluated with respect to a particular subject. This corresponds roughly to the notion of a Compartment in that it limits what content is available based on its relationship to the subject. In CQL, this corresponds to the context declaration." ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "1" ] ;
       fhir:base [
         fhir:path [ fhir:v "Measure.subject[x]" ] ;
         fhir:min [ fhir:v "0" ] ;
         fhir:max [ fhir:v "1" ]
       ] ;
       fhir:type ( [
         fhir:code [ fhir:v "CodeableConcept" ]
       ] [
         fhir:code [ fhir:v "Reference" ] ;
         fhir:targetProfile ( [ fhir:v "http://hl7.org/fhir/StructureDefinition/Group" ] )
       ] ) ;
       fhir:meaningWhenMissing [ fhir:v "Patient" ] ;
       fhir:constraint ( [
         fhir:key [ fhir:v "ele-1" ] ;
         fhir:severity [ fhir:v "error" ] ;
         fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
         fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
         fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element" ]
       ] ) ;
       fhir:mustSupport [ fhir:v "false" ] ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:isSummary [ fhir:v "false" ] ;
       fhir:binding [
         fhir:extension ( [
           fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName" ] ;
           fhir:value [ fhir:v "SubjectType" ]
         ] [
           fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding" ] ;
           fhir:value [ fhir:v "true" ]
         ] ) ;
         fhir:strength [ fhir:v "extensible" ] ;
         fhir:description [ fhir:v "The possible types of subjects for a measure (E.g. Patient, Practitioner, Organization, Location, etc.)." ] ;
         fhir:valueSet [ fhir:v "http://hl7.org/fhir/ValueSet/participant-resource-types" ]
       ] ;
       fhir:mapping ( [
         fhir:identity [ fhir:v "rim" ] ;
         fhir:map [ fhir:v "N/A (to add?) { only applies for subject Patient? }" ]
       ] )
     ] [
       fhir:id [ fhir:v "Measure.basis" ] ;
       fhir:path [ fhir:v "Measure.basis" ] ;
       fhir:short [ fhir:v "Population basis" ] ;
       fhir:definition [ fhir:v "The population basis specifies the type of elements in the population. For a subject-based measure, this is boolean (because the subject and the population basis are the same, and the population criteria define yes/no values for each individual in the population). For measures that have a population basis that is different than the subject, this element specifies the type of the population basis. For example, an encounter-based measure has a subject of Patient and a population basis of Encounter, and the population criteria all return lists of Encounters." ] ;
       fhir:comment [ fhir:v "For a subject-based measure, the population basis is simply boolean; all the criteria are expressed as true/false conditions that determine membership of an individual case in the population. For non-subject-based measures, the population basis can be any resource type, and the criteria are queries that return the subject's contribution to the population as a list of that resource type. For example, for a procedure-based measure, the population criteria would return lists of procedures that should be included in each population." ] ;
       fhir:requirements [ fhir:v "Allows non-subject-based measures to be specified" ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "1" ] ;
       fhir:base [
         fhir:path [ fhir:v "Measure.basis" ] ;
         fhir:min [ fhir:v "0" ] ;
         fhir:max [ fhir:v "1" ]
       ] ;
       fhir:type ( [
         fhir:code [ fhir:v "code" ]
       ] ) ;
       fhir:meaningWhenMissing [ fhir:v "boolean" ] ;
       fhir:constraint ( [
         fhir:key [ fhir:v "ele-1" ] ;
         fhir:severity [ fhir:v "error" ] ;
         fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
         fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
         fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element" ]
       ] ) ;
       fhir:mustSupport [ fhir:v "false" ] ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:isSummary [ fhir:v "true" ] ;
       fhir:binding [
         fhir:extension ( [
           fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName" ] ;
           fhir:value [ fhir:v "BasisType" ]
         ] [
           fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding" ] ;
           fhir:value [ fhir:v "true" ]
         ] ) ;
         fhir:strength [ fhir:v "required" ] ;
         fhir:valueSet [ fhir:v "http://hl7.org/fhir/ValueSet/fhir-types|5.0.0-draft-final" ]
       ] ;
       fhir:mapping ( [
         fhir:identity [ fhir:v "rim" ] ;
         fhir:map [ fhir:v "N/A (to add?) { only applies for subject Patient? }" ]
       ] )
     ] [
       fhir:id [ fhir:v "Measure.date" ] ;
       fhir:path [ fhir:v "Measure.date" ] ;
       fhir:short [ fhir:v "Date last changed" ] ;
       fhir:definition [ fhir:v "The date  (and optionally time) when the measure was last significantly changed. The date must change when the business version changes and it must change if the status code changes. In addition, it should change when the substantive content of the measure changes." ] ;
       fhir:comment [ fhir:v "The date is often not tracked until the resource is published, but may be present on draft content. Note that this is not the same as the resource last-modified-date, since the resource may be a secondary representation of the measure. Additional specific dates may be added as extensions or be found by consulting Provenances associated with past versions of the resource." ] ;
       fhir:alias ( [ fhir:v "Revision Date" ] ) ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "1" ] ;
       fhir:base [
         fhir:path [ fhir:v "Measure.date" ] ;
         fhir:min [ fhir:v "0" ] ;
         fhir:max [ fhir:v "1" ]
       ] ;
       fhir:type ( [
         fhir:code [ fhir:v "dateTime" ]
       ] ) ;
       fhir:constraint ( [
         fhir:key [ fhir:v "ele-1" ] ;
         fhir:severity [ fhir:v "error" ] ;
         fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
         fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
         fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element" ]
       ] ) ;
       fhir:mustSupport [ fhir:v "false" ] ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:isSummary [ fhir:v "true" ] ;
       fhir:mapping ( [
         fhir:identity [ fhir:v "workflow" ] ;
         fhir:map [ fhir:v "Definition.date" ]
       ] [
         fhir:identity [ fhir:v "w5" ] ;
         fhir:map [ fhir:v "FiveWs.recorded" ]
       ] [
         fhir:identity [ fhir:v "rim" ] ;
         fhir:map [ fhir:v ".participation[typeCode=AUT].time" ]
       ] )
     ] [
       fhir:id [ fhir:v "Measure.publisher" ] ;
       fhir:extension ( [
         fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable" ] ;
         fhir:value [ fhir:v "true" ]
       ] [
         fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable" ] ;
         fhir:value [ fhir:v "true" ]
       ] ) ;
       fhir:path [ fhir:v "Measure.publisher" ] ;
       fhir:short [ fhir:v "Name of the publisher/steward (organization or individual)" ] ;
       fhir:definition [ fhir:v "The name of the organization or individual responsible for the release and ongoing maintenance of the measure." ] ;
       fhir:comment [ fhir:v "Usually an organization but may be an individual. The publisher (or steward) of the measure is the organization or individual primarily responsible for the maintenance and upkeep of the measure. This is not necessarily the same individual or organization that developed and initially authored the content. The publisher is the primary point of contact for questions or issues with the measure. This item SHOULD be populated unless the information is available from context." ] ;
       fhir:requirements [ fhir:v "Helps establish the \"authority/credibility\" of the measure.  May also allow for contact." ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "1" ] ;
       fhir:base [
         fhir:path [ fhir:v "Measure.publisher" ] ;
         fhir:min [ fhir:v "0" ] ;
         fhir:max [ fhir:v "1" ]
       ] ;
       fhir:type ( [
         fhir:code [ fhir:v "string" ]
       ] ) ;
       fhir:constraint ( [
         fhir:key [ fhir:v "ele-1" ] ;
         fhir:severity [ fhir:v "error" ] ;
         fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
         fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
         fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element" ]
       ] ) ;
       fhir:mustSupport [ fhir:v "false" ] ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:isSummary [ fhir:v "true" ] ;
       fhir:mapping ( [
         fhir:identity [ fhir:v "workflow" ] ;
         fhir:map [ fhir:v "Definition.publisher" ]
       ] [
         fhir:identity [ fhir:v "w5" ] ;
         fhir:map [ fhir:v "FiveWs.witness" ]
       ] [
         fhir:identity [ fhir:v "rim" ] ;
         fhir:map [ fhir:v "participation[typeCode=AUT].role" ]
       ] )
     ] [
       fhir:id [ fhir:v "Measure.contact" ] ;
       fhir:path [ fhir:v "Measure.contact" ] ;
       fhir:short [ fhir:v "Contact details for the publisher" ] ;
       fhir:definition [ fhir:v "Contact details to assist a user in finding and communicating with the publisher." ] ;
       fhir:comment [ fhir:v "May be a web site, an email address, a telephone number, etc." ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "*" ] ;
       fhir:base [
         fhir:path [ fhir:v "Measure.contact" ] ;
         fhir:min [ fhir:v "0" ] ;
         fhir:max [ fhir:v "*" ]
       ] ;
       fhir:type ( [
         fhir:code [ fhir:v "ContactDetail" ]
       ] ) ;
       fhir:constraint ( [
         fhir:key [ fhir:v "ele-1" ] ;
         fhir:severity [ fhir:v "error" ] ;
         fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
         fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
         fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element" ]
       ] ) ;
       fhir:mustSupport [ fhir:v "false" ] ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:isSummary [ fhir:v "true" ] ;
       fhir:mapping ( [
         fhir:identity [ fhir:v "workflow" ] ;
         fhir:map [ fhir:v "Definition.contact" ]
       ] [
         fhir:identity [ fhir:v "rim" ] ;
         fhir:map [ fhir:v ".participation[typeCode=CALLBCK].role" ]
       ] )
     ] [
       fhir:id [ fhir:v "Measure.description" ] ;
       fhir:extension ( [
         fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable" ] ;
         fhir:value [ fhir:v "true" ]
       ] [
         fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable" ] ;
         fhir:value [ fhir:v "true" ]
       ] ) ;
       fhir:path [ fhir:v "Measure.description" ] ;
       fhir:short [ fhir:v "Natural language description of the measure" ] ;
       fhir:definition [ fhir:v "A free text natural language description of the measure from a consumer's perspective." ] ;
       fhir:comment [ fhir:v "This description can be used to capture details such as comments about misuse, instructions for clinical use and interpretation, literature references, examples from the paper world, etc. It is not a rendering of the measure as conveyed in the 'text' field of the resource itself. This item SHOULD be populated unless the information is available from context (e.g. the language of the measure is presumed to be the predominant language in the place the measure was created)." ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "1" ] ;
       fhir:base [
         fhir:path [ fhir:v "Measure.description" ] ;
         fhir:min [ fhir:v "0" ] ;
         fhir:max [ fhir:v "1" ]
       ] ;
       fhir:type ( [
         fhir:code [ fhir:v "markdown" ]
       ] ) ;
       fhir:constraint ( [
         fhir:key [ fhir:v "ele-1" ] ;
         fhir:severity [ fhir:v "error" ] ;
         fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
         fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
         fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element" ]
       ] ) ;
       fhir:mustSupport [ fhir:v "false" ] ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:isSummary [ fhir:v "true" ] ;
       fhir:mapping ( [
         fhir:identity [ fhir:v "workflow" ] ;
         fhir:map [ fhir:v "Definition.description" ]
       ] [
         fhir:identity [ fhir:v "rim" ] ;
         fhir:map [ fhir:v ".text" ]
       ] )
     ] [
       fhir:id [ fhir:v "Measure.useContext" ] ;
       fhir:path [ fhir:v "Measure.useContext" ] ;
       fhir:short [ fhir:v "The context that the content is intended to support" ] ;
       fhir:definition [ fhir:v "The content was developed with a focus and intent of supporting the contexts that are listed. These contexts may be general categories (gender, age, ...) or may be references to specific programs (insurance plans, studies, ...) and may be used to assist with indexing and searching for appropriate measure instances." ] ;
       fhir:comment [ fhir:v "When multiple useContexts are specified, there is no expectation that all or any of the contexts apply." ] ;
       fhir:requirements [ fhir:v "Assist in searching for appropriate content." ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "*" ] ;
       fhir:base [
         fhir:path [ fhir:v "Measure.useContext" ] ;
         fhir:min [ fhir:v "0" ] ;
         fhir:max [ fhir:v "*" ]
       ] ;
       fhir:type ( [
         fhir:code [ fhir:v "UsageContext" ]
       ] ) ;
       fhir:constraint ( [
         fhir:key [ fhir:v "ele-1" ] ;
         fhir:severity [ fhir:v "error" ] ;
         fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
         fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
         fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element" ]
       ] ) ;
       fhir:mustSupport [ fhir:v "false" ] ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:isSummary [ fhir:v "true" ] ;
       fhir:mapping ( [
         fhir:identity [ fhir:v "workflow" ] ;
         fhir:map [ fhir:v "Definition.useContext" ]
       ] [
         fhir:identity [ fhir:v "rim" ] ;
         fhir:map [ fhir:v "N/A (to add?)" ]
       ] )
     ] [
       fhir:id [ fhir:v "Measure.jurisdiction" ] ;
       fhir:path [ fhir:v "Measure.jurisdiction" ] ;
       fhir:short [ fhir:v "Intended jurisdiction for measure (if applicable)" ] ;
       fhir:definition [ fhir:v "A legal or geographic region in which the measure is intended to be used." ] ;
       fhir:comment [ fhir:v "It may be possible for the measure to be used in jurisdictions other than those for which it was originally designed or intended." ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "*" ] ;
       fhir:base [
         fhir:path [ fhir:v "Measure.jurisdiction" ] ;
         fhir:min [ fhir:v "0" ] ;
         fhir:max [ fhir:v "*" ]
       ] ;
       fhir:type ( [
         fhir:code [ fhir:v "CodeableConcept" ]
       ] ) ;
       fhir:constraint ( [
         fhir:key [ fhir:v "ele-1" ] ;
         fhir:severity [ fhir:v "error" ] ;
         fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
         fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
         fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element" ]
       ] ) ;
       fhir:mustSupport [ fhir:v "false" ] ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:isSummary [ fhir:v "true" ] ;
       fhir:binding [
         fhir:extension ( [
           fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName" ] ;
           fhir:value [ fhir:v "Jurisdiction" ]
         ] [
           fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding" ] ;
           fhir:value [ fhir:v "true" ]
         ] ) ;
         fhir:strength [ fhir:v "extensible" ] ;
         fhir:description [ fhir:v "Countries and regions within which this artifact is targeted for use." ] ;
         fhir:valueSet [ fhir:v "http://hl7.org/fhir/ValueSet/jurisdiction" ]
       ] ;
       fhir:mapping ( [
         fhir:identity [ fhir:v "workflow" ] ;
         fhir:map [ fhir:v "Definition.jurisdiction" ]
       ] [
         fhir:identity [ fhir:v "rim" ] ;
         fhir:map [ fhir:v "N/A (to add?)" ]
       ] )
     ] [
       fhir:id [ fhir:v "Measure.purpose" ] ;
       fhir:extension ( [
         fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable" ] ;
         fhir:value [ fhir:v "true" ]
       ] [
         fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable" ] ;
         fhir:value [ fhir:v "true" ]
       ] ) ;
       fhir:path [ fhir:v "Measure.purpose" ] ;
       fhir:short [ fhir:v "Why this measure is defined" ] ;
       fhir:definition [ fhir:v "Explanation of why this measure is needed and why it has been designed as it has." ] ;
       fhir:comment [ fhir:v "This element does not describe the usage of the measure. Instead, it provides traceability of ''why'' the resource is either needed or ''why'' it is defined as it is.  This may be used to point to source materials or specifications that drove the structure of this measure." ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "1" ] ;
       fhir:base [
         fhir:path [ fhir:v "Measure.purpose" ] ;
         fhir:min [ fhir:v "0" ] ;
         fhir:max [ fhir:v "1" ]
       ] ;
       fhir:type ( [
         fhir:code [ fhir:v "markdown" ]
       ] ) ;
       fhir:constraint ( [
         fhir:key [ fhir:v "ele-1" ] ;
         fhir:severity [ fhir:v "error" ] ;
         fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
         fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
         fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element" ]
       ] ) ;
       fhir:mustSupport [ fhir:v "false" ] ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:isSummary [ fhir:v "false" ] ;
       fhir:mapping ( [
         fhir:identity [ fhir:v "workflow" ] ;
         fhir:map [ fhir:v "Definition.purpose" ]
       ] [
         fhir:identity [ fhir:v "w5" ] ;
         fhir:map [ fhir:v "FiveWs.why[x]" ]
       ] [
         fhir:identity [ fhir:v "rim" ] ;
         fhir:map [ fhir:v ".reasonCode.text" ]
       ] [
         fhir:identity [ fhir:v "objimpl" ] ;
         fhir:map [ fhir:v "no-gen-base" ]
       ] )
     ] [
       fhir:id [ fhir:v "Measure.usage" ] ;
       fhir:extension ( [
         fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable" ] ;
         fhir:value [ fhir:v "true" ]
       ] [
         fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable" ] ;
         fhir:value [ fhir:v "true" ]
       ] ) ;
       fhir:path [ fhir:v "Measure.usage" ] ;
       fhir:short [ fhir:v "Describes the clinical usage of the measure" ] ;
       fhir:definition [ fhir:v "A detailed description, from a clinical perspective, of how the measure is used." ] ;
       fhir:comment [ fhir:v "This metadata element was typically referred to as Guidance in HQMF" ] ;
       fhir:requirements [ fhir:v "Measure developers must be able to provide additional guidance for implementers to understand the intent with greater specificity than that provided in the population criteria of the measure. This element provides detailed guidance, where the usage element provides a summary of the guidance." ] ;
       fhir:alias ( [ fhir:v "guidance" ] ) ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "1" ] ;
       fhir:base [
         fhir:path [ fhir:v "Measure.usage" ] ;
         fhir:min [ fhir:v "0" ] ;
         fhir:max [ fhir:v "1" ]
       ] ;
       fhir:type ( [
         fhir:code [ fhir:v "markdown" ]
       ] ) ;
       fhir:constraint ( [
         fhir:key [ fhir:v "ele-1" ] ;
         fhir:severity [ fhir:v "error" ] ;
         fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
         fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
         fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element" ]
       ] ) ;
       fhir:mustSupport [ fhir:v "false" ] ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:isSummary [ fhir:v "false" ] ;
       fhir:mapping ( [
         fhir:identity [ fhir:v "rim" ] ;
         fhir:map [ fhir:v "N/A (to add?)" ]
       ] )
     ] [
       fhir:id [ fhir:v "Measure.copyright" ] ;
       fhir:extension ( [
         fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable" ] ;
         fhir:value [ fhir:v "true" ]
       ] [
         fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable" ] ;
         fhir:value [ fhir:v "true" ]
       ] ) ;
       fhir:path [ fhir:v "Measure.copyright" ] ;
       fhir:short [ fhir:v "Use and/or publishing restrictions" ] ;
       fhir:definition [ fhir:v "A copyright statement relating to the measure and/or its contents. Copyright statements are generally legal restrictions on the use and publishing of the measure." ] ;
       fhir:comment [ fhir:v "The short copyright declaration (e.g. (c) '2015+ xyz organization' should be sent in the copyrightLabel element." ] ;
       fhir:requirements [ fhir:v "Consumers must be able to determine any legal restrictions on the use of the measure and/or its content." ] ;
       fhir:alias ( [ fhir:v "License" ] [ fhir:v "Restrictions" ] ) ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "1" ] ;
       fhir:base [
         fhir:path [ fhir:v "Measure.copyright" ] ;
         fhir:min [ fhir:v "0" ] ;
         fhir:max [ fhir:v "1" ]
       ] ;
       fhir:type ( [
         fhir:code [ fhir:v "markdown" ]
       ] ) ;
       fhir:constraint ( [
         fhir:key [ fhir:v "ele-1" ] ;
         fhir:severity [ fhir:v "error" ] ;
         fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
         fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
         fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element" ]
       ] ) ;
       fhir:mustSupport [ fhir:v "false" ] ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:isSummary [ fhir:v "false" ] ;
       fhir:mapping ( [
         fhir:identity [ fhir:v "workflow" ] ;
         fhir:map [ fhir:v "Definition.copyright" ]
       ] [
         fhir:identity [ fhir:v "rim" ] ;
         fhir:map [ fhir:v "N/A (to add?)" ]
       ] [
         fhir:identity [ fhir:v "objimpl" ] ;
         fhir:map [ fhir:v "no-gen-base" ]
       ] )
     ] [
       fhir:id [ fhir:v "Measure.copyrightLabel" ] ;
       fhir:extension ( [
         fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable" ] ;
         fhir:value [ fhir:v "true" ]
       ] [
         fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable" ] ;
         fhir:value [ fhir:v "true" ]
       ] ) ;
       fhir:path [ fhir:v "Measure.copyrightLabel" ] ;
       fhir:short [ fhir:v "Copyright holder and year(s)" ] ;
       fhir:definition [ fhir:v "A short string (<50 characters), suitable for inclusion in a page footer that identifies the copyright holder, effective period, and optionally whether rights are resctricted. (e.g. 'All rights reserved', 'Some rights reserved')." ] ;
       fhir:comment [ fhir:v "The (c) symbol should NOT be included in this string. It will be added by software when rendering the notation. Full details about licensing, restrictions, warrantees, etc. goes in the more general 'copyright' element." ] ;
       fhir:requirements [ fhir:v "Defines the content expected to be rendered in all representations of the artifact." ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "1" ] ;
       fhir:base [
         fhir:path [ fhir:v "Measure.copyrightLabel" ] ;
         fhir:min [ fhir:v "0" ] ;
         fhir:max [ fhir:v "1" ]
       ] ;
       fhir:type ( [
         fhir:code [ fhir:v "string" ]
       ] ) ;
       fhir:constraint ( [
         fhir:key [ fhir:v "ele-1" ] ;
         fhir:severity [ fhir:v "error" ] ;
         fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
         fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
         fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element" ]
       ] ) ;
       fhir:mustSupport [ fhir:v "false" ] ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:isSummary [ fhir:v "false" ] ;
       fhir:mapping ( [
         fhir:identity [ fhir:v "workflow" ] ;
         fhir:map [ fhir:v "Definition.copyrightLabel" ]
       ] [
         fhir:identity [ fhir:v "rim" ] ;
         fhir:map [ fhir:v "N/A (to add?)" ]
       ] [
         fhir:identity [ fhir:v "objimpl" ] ;
         fhir:map [ fhir:v "no-gen-base" ]
       ] )
     ] [
       fhir:id [ fhir:v "Measure.approvalDate" ] ;
       fhir:path [ fhir:v "Measure.approvalDate" ] ;
       fhir:short [ fhir:v "When the measure was approved by publisher" ] ;
       fhir:definition [ fhir:v "The date on which the resource content was approved by the publisher. Approval happens once when the content is officially approved for usage." ] ;
       fhir:comment [ fhir:v "The 'date' element may be more recent than the approval date because of minor changes or editorial corrections." ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "1" ] ;
       fhir:base [
         fhir:path [ fhir:v "Measure.approvalDate" ] ;
         fhir:min [ fhir:v "0" ] ;
         fhir:max [ fhir:v "1" ]
       ] ;
       fhir:type ( [
         fhir:code [ fhir:v "date" ]
       ] ) ;
       fhir:constraint ( [
         fhir:key [ fhir:v "ele-1" ] ;
         fhir:severity [ fhir:v "error" ] ;
         fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
         fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
         fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element" ]
       ] ) ;
       fhir:mustSupport [ fhir:v "false" ] ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:isSummary [ fhir:v "false" ] ;
       fhir:mapping ( [
         fhir:identity [ fhir:v "workflow" ] ;
         fhir:map [ fhir:v "Definition.approvalDate" ]
       ] [
         fhir:identity [ fhir:v "rim" ] ;
         fhir:map [ fhir:v ".outboundRelationship[typeCode=SUBJ].act[classCode=CACT;moodCode=EVN;code=\"approval\"].effectiveTime" ]
       ] [
         fhir:identity [ fhir:v "objimpl" ] ;
         fhir:map [ fhir:v "no-gen-base" ]
       ] )
     ] [
       fhir:id [ fhir:v "Measure.lastReviewDate" ] ;
       fhir:path [ fhir:v "Measure.lastReviewDate" ] ;
       fhir:short [ fhir:v "When the measure was last reviewed by the publisher" ] ;
       fhir:definition [ fhir:v "The date on which the resource content was last reviewed. Review happens periodically after approval but does not change the original approval date." ] ;
       fhir:comment [ fhir:v "If specified, this date follows the original approval date." ] ;
       fhir:requirements [ fhir:v "Gives a sense of how \"current\" the content is.  Resources that have not been reviewed in a long time may have a risk of being less appropriate/relevant." ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "1" ] ;
       fhir:base [
         fhir:path [ fhir:v "Measure.lastReviewDate" ] ;
         fhir:min [ fhir:v "0" ] ;
         fhir:max [ fhir:v "1" ]
       ] ;
       fhir:type ( [
         fhir:code [ fhir:v "date" ]
       ] ) ;
       fhir:constraint ( [
         fhir:key [ fhir:v "ele-1" ] ;
         fhir:severity [ fhir:v "error" ] ;
         fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
         fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
         fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element" ]
       ] ) ;
       fhir:mustSupport [ fhir:v "false" ] ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:isSummary [ fhir:v "false" ] ;
       fhir:mapping ( [
         fhir:identity [ fhir:v "workflow" ] ;
         fhir:map [ fhir:v "Definition.lastReviewDate" ]
       ] [
         fhir:identity [ fhir:v "rim" ] ;
         fhir:map [ fhir:v ".outboundRleationship[typeCode=SUBJ;subsetCode=RECENT].act[classCode=CACT;moodCode=EVN;code=review].effectiveTime" ]
       ] [
         fhir:identity [ fhir:v "objimpl" ] ;
         fhir:map [ fhir:v "no-gen-base" ]
       ] )
     ] [
       fhir:id [ fhir:v "Measure.effectivePeriod" ] ;
       fhir:path [ fhir:v "Measure.effectivePeriod" ] ;
       fhir:short [ fhir:v "When the measure is expected to be used" ] ;
       fhir:definition [ fhir:v "The period during which the measure content was or is planned to be in active use." ] ;
       fhir:comment [ fhir:v "The effective period for a measure  determines when the content is applicable for usage and is independent of publication and review dates. For example, a measure intended to be used for the year 2016 might be published in 2015." ] ;
       fhir:requirements [ fhir:v "Allows establishing a transition before a resource comes into effect and also allows for a sunsetting  process when new versions of the measure are or are expected to be used instead." ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "1" ] ;
       fhir:base [
         fhir:path [ fhir:v "Measure.effectivePeriod" ] ;
         fhir:min [ fhir:v "0" ] ;
         fhir:max [ fhir:v "1" ]
       ] ;
       fhir:type ( [
         fhir:code [ fhir:v "Period" ]
       ] ) ;
       fhir:constraint ( [
         fhir:key [ fhir:v "ele-1" ] ;
         fhir:severity [ fhir:v "error" ] ;
         fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
         fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
         fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element" ]
       ] ) ;
       fhir:mustSupport [ fhir:v "false" ] ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:isSummary [ fhir:v "true" ] ;
       fhir:mapping ( [
         fhir:identity [ fhir:v "workflow" ] ;
         fhir:map [ fhir:v "Definition.effectivePeriod" ]
       ] [
         fhir:identity [ fhir:v "rim" ] ;
         fhir:map [ fhir:v ".effectiveTime" ]
       ] [
         fhir:identity [ fhir:v "objimpl" ] ;
         fhir:map [ fhir:v "no-gen-base" ]
       ] )
     ] [
       fhir:id [ fhir:v "Measure.topic" ] ;
       fhir:path [ fhir:v "Measure.topic" ] ;
       fhir:short [ fhir:v "The category of the measure, such as Education, Treatment, Assessment, etc" ] ;
       fhir:definition [ fhir:v "Descriptive topics related to the content of the measure. Topics provide a high-level categorization grouping types of measures that can be useful for filtering and searching." ] ;
       fhir:requirements [ fhir:v "Repositories must be able to determine how to categorize the measure so that it can be found by topical searches." ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "*" ] ;
       fhir:base [
         fhir:path [ fhir:v "Measure.topic" ] ;
         fhir:min [ fhir:v "0" ] ;
         fhir:max [ fhir:v "*" ]
       ] ;
       fhir:type ( [
         fhir:code [ fhir:v "CodeableConcept" ]
       ] ) ;
       fhir:constraint ( [
         fhir:key [ fhir:v "ele-1" ] ;
         fhir:severity [ fhir:v "error" ] ;
         fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
         fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
         fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element" ]
       ] ) ;
       fhir:mustSupport [ fhir:v "false" ] ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:isSummary [ fhir:v "false" ] ;
       fhir:binding [
         fhir:extension ( [
           fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName" ] ;
           fhir:value [ fhir:v "DefinitionTopic" ]
         ] ) ;
         fhir:strength [ fhir:v "example" ] ;
         fhir:description [ fhir:v "High-level categorization of the definition, used for searching, sorting, and filtering." ] ;
         fhir:valueSet [ fhir:v "http://hl7.org/fhir/ValueSet/definition-topic" ]
       ] ;
       fhir:mapping ( [
         fhir:identity [ fhir:v "rim" ] ;
         fhir:map [ fhir:v "N/A (to add?)" ]
       ] )
     ] [
       fhir:id [ fhir:v "Measure.author" ] ;
       fhir:path [ fhir:v "Measure.author" ] ;
       fhir:short [ fhir:v "Who authored the content" ] ;
       fhir:definition [ fhir:v "An individiual or organization primarily involved in the creation and maintenance of the content." ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "*" ] ;
       fhir:base [
         fhir:path [ fhir:v "Measure.author" ] ;
         fhir:min [ fhir:v "0" ] ;
         fhir:max [ fhir:v "*" ]
       ] ;
       fhir:type ( [
         fhir:code [ fhir:v "ContactDetail" ]
       ] ) ;
       fhir:constraint ( [
         fhir:key [ fhir:v "ele-1" ] ;
         fhir:severity [ fhir:v "error" ] ;
         fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
         fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
         fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element" ]
       ] ) ;
       fhir:mustSupport [ fhir:v "false" ] ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:isSummary [ fhir:v "false" ] ;
       fhir:mapping ( [
         fhir:identity [ fhir:v "rim" ] ;
         fhir:map [ fhir:v ".participation[typeCode=AUT]" ]
       ] )
     ] [
       fhir:id [ fhir:v "Measure.editor" ] ;
       fhir:path [ fhir:v "Measure.editor" ] ;
       fhir:short [ fhir:v "Who edited the content" ] ;
       fhir:definition [ fhir:v "An individual or organization primarily responsible for internal coherence of the content." ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "*" ] ;
       fhir:base [
         fhir:path [ fhir:v "Measure.editor" ] ;
         fhir:min [ fhir:v "0" ] ;
         fhir:max [ fhir:v "*" ]
       ] ;
       fhir:type ( [
         fhir:code [ fhir:v "ContactDetail" ]
       ] ) ;
       fhir:constraint ( [
         fhir:key [ fhir:v "ele-1" ] ;
         fhir:severity [ fhir:v "error" ] ;
         fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
         fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
         fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element" ]
       ] ) ;
       fhir:mustSupport [ fhir:v "false" ] ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:isSummary [ fhir:v "false" ] ;
       fhir:mapping ( [
         fhir:identity [ fhir:v "rim" ] ;
         fhir:map [ fhir:v ".participation[typeCode=AUT] { not a great match, but there does not appear to be an editor concept in V3 participation }" ]
       ] )
     ] [
       fhir:id [ fhir:v "Measure.reviewer" ] ;
       fhir:path [ fhir:v "Measure.reviewer" ] ;
       fhir:short [ fhir:v "Who reviewed the content" ] ;
       fhir:definition [ fhir:v "An individual or organization asserted by the publisher to be primarily responsible for review of some aspect of the content." ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "*" ] ;
       fhir:base [
         fhir:path [ fhir:v "Measure.reviewer" ] ;
         fhir:min [ fhir:v "0" ] ;
         fhir:max [ fhir:v "*" ]
       ] ;
       fhir:type ( [
         fhir:code [ fhir:v "ContactDetail" ]
       ] ) ;
       fhir:constraint ( [
         fhir:key [ fhir:v "ele-1" ] ;
         fhir:severity [ fhir:v "error" ] ;
         fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
         fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
         fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element" ]
       ] ) ;
       fhir:mustSupport [ fhir:v "false" ] ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:isSummary [ fhir:v "false" ] ;
       fhir:mapping ( [
         fhir:identity [ fhir:v "rim" ] ;
         fhir:map [ fhir:v ".participation[typeCode=VRF] {not clear whether VRF best corresponds to reviewer or endorser}" ]
       ] )
     ] [
       fhir:id [ fhir:v "Measure.endorser" ] ;
       fhir:path [ fhir:v "Measure.endorser" ] ;
       fhir:short [ fhir:v "Who endorsed the content" ] ;
       fhir:definition [ fhir:v "An individual or organization asserted by the publisher to be responsible for officially endorsing the content for use in some setting." ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "*" ] ;
       fhir:base [
         fhir:path [ fhir:v "Measure.endorser" ] ;
         fhir:min [ fhir:v "0" ] ;
         fhir:max [ fhir:v "*" ]
       ] ;
       fhir:type ( [
         fhir:code [ fhir:v "ContactDetail" ]
       ] ) ;
       fhir:constraint ( [
         fhir:key [ fhir:v "ele-1" ] ;
         fhir:severity [ fhir:v "error" ] ;
         fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
         fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
         fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element" ]
       ] ) ;
       fhir:mustSupport [ fhir:v "false" ] ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:isSummary [ fhir:v "false" ] ;
       fhir:mapping ( [
         fhir:identity [ fhir:v "rim" ] ;
         fhir:map [ fhir:v ".participation[typeCode=VRF] {not clear whether VRF best corresponds to reviewer or endorser}" ]
       ] )
     ] [
       fhir:id [ fhir:v "Measure.relatedArtifact" ] ;
       fhir:path [ fhir:v "Measure.relatedArtifact" ] ;
       fhir:short [ fhir:v "Additional documentation, citations, etc" ] ;
       fhir:definition [ fhir:v "Related artifacts such as additional documentation, justification, or bibliographic references." ] ;
       fhir:comment [ fhir:v "Each related artifact is either an attachment, or a reference to another resource, but not both." ] ;
       fhir:requirements [ fhir:v "Measures must be able to provide enough information for consumers of the content (and/or interventions or results produced by the content) to be able to determine and understand the justification for and evidence in support of the content." ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "*" ] ;
       fhir:base [
         fhir:path [ fhir:v "Measure.relatedArtifact" ] ;
         fhir:min [ fhir:v "0" ] ;
         fhir:max [ fhir:v "*" ]
       ] ;
       fhir:type ( [
         fhir:code [ fhir:v "RelatedArtifact" ]
       ] ) ;
       fhir:constraint ( [
         fhir:key [ fhir:v "ele-1" ] ;
         fhir:severity [ fhir:v "error" ] ;
         fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
         fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
         fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element" ]
       ] ) ;
       fhir:mustSupport [ fhir:v "false" ] ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:isSummary [ fhir:v "false" ] ;
       fhir:mapping ( [
         fhir:identity [ fhir:v "rim" ] ;
         fhir:map [ fhir:v ".outboundRelationship[typeCode=DOC,RSON,PREV, DRIV, USE, COMP] {successor would be PREV w/ inversionInd=true; No support for citation}" ]
       ] )
     ] [
       fhir:id [ fhir:v "Measure.library" ] ;
       fhir:path [ fhir:v "Measure.library" ] ;
       fhir:short [ fhir:v "Logic used by the measure" ] ;
       fhir:definition [ fhir:v "A reference to a Library resource containing the formal logic used by the measure." ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "*" ] ;
       fhir:base [
         fhir:path [ fhir:v "Measure.library" ] ;
         fhir:min [ fhir:v "0" ] ;
         fhir:max [ fhir:v "*" ]
       ] ;
       fhir:type ( [
         fhir:code [ fhir:v "canonical" ] ;
         fhir:targetProfile ( [ fhir:v "http://hl7.org/fhir/StructureDefinition/Library" ] )
       ] ) ;
       fhir:constraint ( [
         fhir:key [ fhir:v "ele-1" ] ;
         fhir:severity [ fhir:v "error" ] ;
         fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
         fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
         fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element" ]
       ] ) ;
       fhir:mustSupport [ fhir:v "false" ] ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:isSummary [ fhir:v "false" ] ;
       fhir:mapping ( [
         fhir:identity [ fhir:v "rim" ] ;
         fhir:map [ fhir:v "N/A (to add?)" ]
       ] )
     ] [
       fhir:id [ fhir:v "Measure.disclaimer" ] ;
       fhir:path [ fhir:v "Measure.disclaimer" ] ;
       fhir:short [ fhir:v "Disclaimer for use of the measure or its referenced content" ] ;
       fhir:definition [ fhir:v "Notices and disclaimers regarding the use of the measure or related to intellectual property (such as code systems) referenced by the measure." ] ;
       fhir:requirements [ fhir:v "Some organizations require that notices and disclosures be included when publishing measures that reference their intellecutal property." ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "1" ] ;
       fhir:base [
         fhir:path [ fhir:v "Measure.disclaimer" ] ;
         fhir:min [ fhir:v "0" ] ;
         fhir:max [ fhir:v "1" ]
       ] ;
       fhir:type ( [
         fhir:code [ fhir:v "markdown" ]
       ] ) ;
       fhir:constraint ( [
         fhir:key [ fhir:v "ele-1" ] ;
         fhir:severity [ fhir:v "error" ] ;
         fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
         fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
         fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element" ]
       ] ) ;
       fhir:mustSupport [ fhir:v "false" ] ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:isSummary [ fhir:v "true" ] ;
       fhir:mapping ( [
         fhir:identity [ fhir:v "rim" ] ;
         fhir:map [ fhir:v "N/A (to add?)" ]
       ] )
     ] [
       fhir:id [ fhir:v "Measure.scoring" ] ;
       fhir:path [ fhir:v "Measure.scoring" ] ;
       fhir:short [ fhir:v "proportion | ratio | continuous-variable | cohort" ] ;
       fhir:definition [ fhir:v "Indicates how the calculation is performed for the measure, including proportion, ratio, continuous-variable, and cohort. The value set is extensible, allowing additional measure scoring types to be represented." ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "1" ] ;
       fhir:base [
         fhir:path [ fhir:v "Measure.scoring" ] ;
         fhir:min [ fhir:v "0" ] ;
         fhir:max [ fhir:v "1" ]
       ] ;
       fhir:type ( [
         fhir:code [ fhir:v "CodeableConcept" ]
       ] ) ;
       fhir:constraint ( [
         fhir:key [ fhir:v "ele-1" ] ;
         fhir:severity [ fhir:v "error" ] ;
         fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
         fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
         fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element" ]
       ] ) ;
       fhir:mustSupport [ fhir:v "false" ] ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:isSummary [ fhir:v "true" ] ;
       fhir:binding [
         fhir:extension ( [
           fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName" ] ;
           fhir:value [ fhir:v "MeasureScoring" ]
         ] ) ;
         fhir:strength [ fhir:v "extensible" ] ;
         fhir:description [ fhir:v "The scoring type of the measure." ] ;
         fhir:valueSet [ fhir:v "http://hl7.org/fhir/ValueSet/measure-scoring" ]
       ] ;
       fhir:mapping ( [
         fhir:identity [ fhir:v "rim" ] ;
         fhir:map [ fhir:v ".methodCode { the aspect of how the calculation is performed }" ]
       ] )
     ] [
       fhir:id [ fhir:v "Measure.scoringUnit" ] ;
       fhir:path [ fhir:v "Measure.scoringUnit" ] ;
       fhir:short [ fhir:v "What units?" ] ;
       fhir:definition [ fhir:v "Defines the expected units of measure for the measure score. This element SHOULD be specified as a UCUM unit." ] ;
       fhir:comment [ fhir:v "When this element is specified, implementations are expected to report measure scores in the specified units. Note that this may involve unit conversion if the expected units are different than the units of the resulting score calculation. In this case, unit conversions SHALL be performed according to the unit conversion semantics specified by UCUM." ] ;
       fhir:requirements [ fhir:v "When the unit cannot be inferred directly from the calculation logic, this element allows the specification of the desired units of measure of the output." ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "1" ] ;
       fhir:base [
         fhir:path [ fhir:v "Measure.scoringUnit" ] ;
         fhir:min [ fhir:v "0" ] ;
         fhir:max [ fhir:v "1" ]
       ] ;
       fhir:type ( [
         fhir:code [ fhir:v "CodeableConcept" ]
       ] ) ;
       fhir:constraint ( [
         fhir:key [ fhir:v "ele-1" ] ;
         fhir:severity [ fhir:v "error" ] ;
         fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
         fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
         fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element" ]
       ] ) ;
       fhir:mustSupport [ fhir:v "false" ] ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:isSummary [ fhir:v "true" ] ;
       fhir:binding [
         fhir:extension ( [
           fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName" ] ;
           fhir:value [ fhir:v "MeasureScoringUnit" ]
         ] ) ;
         fhir:strength [ fhir:v "example" ] ;
         fhir:valueSet [ fhir:v "http://hl7.org/fhir/ValueSet/measure-scoring-unit" ]
       ] ;
       fhir:mapping ( [
         fhir:identity [ fhir:v "rim" ] ;
         fhir:map [ fhir:v ".methodCode { the aspect of how the calculation is performed }" ]
       ] )
     ] [
       fhir:id [ fhir:v "Measure.compositeScoring" ] ;
       fhir:path [ fhir:v "Measure.compositeScoring" ] ;
       fhir:short [ fhir:v "opportunity | all-or-nothing | linear | weighted" ] ;
       fhir:definition [ fhir:v "If this is a composite measure, the scoring method used to combine the component measures to determine the composite score." ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "1" ] ;
       fhir:base [
         fhir:path [ fhir:v "Measure.compositeScoring" ] ;
         fhir:min [ fhir:v "0" ] ;
         fhir:max [ fhir:v "1" ]
       ] ;
       fhir:type ( [
         fhir:code [ fhir:v "CodeableConcept" ]
       ] ) ;
       fhir:constraint ( [
         fhir:key [ fhir:v "ele-1" ] ;
         fhir:severity [ fhir:v "error" ] ;
         fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
         fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
         fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element" ]
       ] ) ;
       fhir:mustSupport [ fhir:v "false" ] ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:isSummary [ fhir:v "true" ] ;
       fhir:binding [
         fhir:extension ( [
           fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName" ] ;
           fhir:value [ fhir:v "CompositeMeasureScoring" ]
         ] ) ;
         fhir:strength [ fhir:v "extensible" ] ;
         fhir:description [ fhir:v "The composite scoring method of the measure." ] ;
         fhir:valueSet [ fhir:v "http://hl7.org/fhir/ValueSet/composite-measure-scoring" ]
       ] ;
       fhir:mapping ( [
         fhir:identity [ fhir:v "rim" ] ;
         fhir:map [ fhir:v ".methodCode { the aspect of how component measures are combined }" ]
       ] )
     ] [
       fhir:id [ fhir:v "Measure.type" ] ;
       fhir:path [ fhir:v "Measure.type" ] ;
       fhir:short [ fhir:v "process | outcome | structure | patient-reported-outcome | composite" ] ;
       fhir:definition [ fhir:v "Indicates whether the measure is used to examine a process, an outcome over time, a patient-reported outcome, or a structure measure such as utilization." ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "*" ] ;
       fhir:base [
         fhir:path [ fhir:v "Measure.type" ] ;
         fhir:min [ fhir:v "0" ] ;
         fhir:max [ fhir:v "*" ]
       ] ;
       fhir:type ( [
         fhir:code [ fhir:v "CodeableConcept" ]
       ] ) ;
       fhir:constraint ( [
         fhir:key [ fhir:v "ele-1" ] ;
         fhir:severity [ fhir:v "error" ] ;
         fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
         fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
         fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element" ]
       ] ) ;
       fhir:mustSupport [ fhir:v "false" ] ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:isSummary [ fhir:v "true" ] ;
       fhir:binding [
         fhir:extension ( [
           fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName" ] ;
           fhir:value [ fhir:v "MeasureType" ]
         ] ) ;
         fhir:strength [ fhir:v "extensible" ] ;
         fhir:description [ fhir:v "The type of measure (includes codes from 2.16.840.1.113883.1.11.20368)." ] ;
         fhir:valueSet [ fhir:v "http://hl7.org/fhir/ValueSet/measure-type" ]
       ] ;
       fhir:mapping ( [
         fhir:identity [ fhir:v "rim" ] ;
         fhir:map [ fhir:v ".methodCode { the aspect of what the measure applies to }" ]
       ] )
     ] [
       fhir:id [ fhir:v "Measure.riskAdjustment" ] ;
       fhir:path [ fhir:v "Measure.riskAdjustment" ] ;
       fhir:short [ fhir:v "How risk adjustment is applied for this measure" ] ;
       fhir:definition [ fhir:v "A description of the risk adjustment factors that may impact the resulting score for the measure and how they may be accounted for when computing and reporting measure results." ] ;
       fhir:comment [ fhir:v "Describes the method of adjusting for clinical severity and conditions present at the start of care that can influence patient outcomes for making valid comparisons of outcome measures across providers. Indicates whether a measure is subject to the statistical process for reducing, removing, or clarifying the influences of confounding factors to allow for more useful comparisons." ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "1" ] ;
       fhir:base [
         fhir:path [ fhir:v "Measure.riskAdjustment" ] ;
         fhir:min [ fhir:v "0" ] ;
         fhir:max [ fhir:v "1" ]
       ] ;
       fhir:type ( [
         fhir:code [ fhir:v "markdown" ]
       ] ) ;
       fhir:constraint ( [
         fhir:key [ fhir:v "ele-1" ] ;
         fhir:severity [ fhir:v "error" ] ;
         fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
         fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
         fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element" ]
       ] ) ;
       fhir:mustSupport [ fhir:v "false" ] ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:isSummary [ fhir:v "true" ] ;
       fhir:mapping ( [
         fhir:identity [ fhir:v "rim" ] ;
         fhir:map [ fhir:v "N/A (to add?)" ]
       ] )
     ] [
       fhir:id [ fhir:v "Measure.rateAggregation" ] ;
       fhir:path [ fhir:v "Measure.rateAggregation" ] ;
       fhir:short [ fhir:v "How is rate aggregation performed for this measure" ] ;
       fhir:definition [ fhir:v "Describes how to combine the information calculated, based on logic in each of several populations, into one summarized result." ] ;
       fhir:comment [ fhir:v "The measure rate for an organization or clinician is based upon the entities’ aggregate data and summarizes the performance of the entity over a given time period (e.g., monthly, quarterly, yearly). The aggregated data are derived from the results of a specific measure algorithm and, if appropriate, the application of specific risk adjustment models.  Can also be used to describe how to risk adjust the data based on supplemental data elements described in the eMeasure (e.g., pneumonia hospital measures antibiotic selection in the ICU versus non-ICU and then the roll-up of the two). This could be applied to aggregated cohort measure definitions (e.g., CDC's aggregate reporting for TB at the state level)." ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "1" ] ;
       fhir:base [
         fhir:path [ fhir:v "Measure.rateAggregation" ] ;
         fhir:min [ fhir:v "0" ] ;
         fhir:max [ fhir:v "1" ]
       ] ;
       fhir:type ( [
         fhir:code [ fhir:v "markdown" ]
       ] ) ;
       fhir:constraint ( [
         fhir:key [ fhir:v "ele-1" ] ;
         fhir:severity [ fhir:v "error" ] ;
         fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
         fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
         fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element" ]
       ] ) ;
       fhir:mustSupport [ fhir:v "false" ] ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:isSummary [ fhir:v "true" ] ;
       fhir:mapping ( [
         fhir:identity [ fhir:v "rim" ] ;
         fhir:map [ fhir:v "N/A (to add?)" ]
       ] )
     ] [
       fhir:id [ fhir:v "Measure.rationale" ] ;
       fhir:path [ fhir:v "Measure.rationale" ] ;
       fhir:short [ fhir:v "Detailed description of why the measure exists" ] ;
       fhir:definition [ fhir:v "Provides a succinct statement of the need for the measure. Usually includes statements pertaining to importance criterion: impact, gap in care, and evidence." ] ;
       fhir:requirements [ fhir:v "Measure developers need to be able to provide a detailed description of the purpose of the measure. This element provides detailed rationale, where the purpose element provides a summary of the rationale." ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "1" ] ;
       fhir:base [
         fhir:path [ fhir:v "Measure.rationale" ] ;
         fhir:min [ fhir:v "0" ] ;
         fhir:max [ fhir:v "1" ]
       ] ;
       fhir:type ( [
         fhir:code [ fhir:v "markdown" ]
       ] ) ;
       fhir:constraint ( [
         fhir:key [ fhir:v "ele-1" ] ;
         fhir:severity [ fhir:v "error" ] ;
         fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
         fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
         fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element" ]
       ] ) ;
       fhir:mustSupport [ fhir:v "false" ] ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:isSummary [ fhir:v "true" ] ;
       fhir:mapping ( [
         fhir:identity [ fhir:v "rim" ] ;
         fhir:map [ fhir:v "N/A (to add?)" ]
       ] )
     ] [
       fhir:id [ fhir:v "Measure.clinicalRecommendationStatement" ] ;
       fhir:path [ fhir:v "Measure.clinicalRecommendationStatement" ] ;
       fhir:short [ fhir:v "Summary of clinical guidelines" ] ;
       fhir:definition [ fhir:v "Provides a summary of relevant clinical guidelines or other clinical recommendations supporting the measure." ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "1" ] ;
       fhir:base [
         fhir:path [ fhir:v "Measure.clinicalRecommendationStatement" ] ;
         fhir:min [ fhir:v "0" ] ;
         fhir:max [ fhir:v "1" ]
       ] ;
       fhir:type ( [
         fhir:code [ fhir:v "markdown" ]
       ] ) ;
       fhir:constraint ( [
         fhir:key [ fhir:v "ele-1" ] ;
         fhir:severity [ fhir:v "error" ] ;
         fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
         fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
         fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element" ]
       ] ) ;
       fhir:mustSupport [ fhir:v "false" ] ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:isSummary [ fhir:v "true" ] ;
       fhir:mapping ( [
         fhir:identity [ fhir:v "rim" ] ;
         fhir:map [ fhir:v "N/A (to add?)" ]
       ] )
     ] [
       fhir:id [ fhir:v "Measure.improvementNotation" ] ;
       fhir:path [ fhir:v "Measure.improvementNotation" ] ;
       fhir:short [ fhir:v "increase | decrease" ] ;
       fhir:definition [ fhir:v "Information on whether an increase or decrease in score is the preferred result (e.g., a higher score indicates better quality OR a lower score indicates better quality OR quality is within a range)." ] ;
       fhir:requirements [ fhir:v "Measure consumers and implementers must be able to determine how to interpret a measure score." ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "1" ] ;
       fhir:base [
         fhir:path [ fhir:v "Measure.improvementNotation" ] ;
         fhir:min [ fhir:v "0" ] ;
         fhir:max [ fhir:v "1" ]
       ] ;
       fhir:type ( [
         fhir:code [ fhir:v "CodeableConcept" ]
       ] ) ;
       fhir:constraint ( [
         fhir:key [ fhir:v "ele-1" ] ;
         fhir:severity [ fhir:v "error" ] ;
         fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
         fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
         fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element" ]
       ] ) ;
       fhir:mustSupport [ fhir:v "false" ] ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:isSummary [ fhir:v "true" ] ;
       fhir:binding [
         fhir:extension ( [
           fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName" ] ;
           fhir:value [ fhir:v "MeasureImprovementNotation" ]
         ] ) ;
         fhir:strength [ fhir:v "required" ] ;
         fhir:description [ fhir:v "Observation values that indicate what change in a measurement value or score is indicative of an improvement in the measured item or scored issue." ] ;
         fhir:valueSet [ fhir:v "http://hl7.org/fhir/ValueSet/measure-improvement-notation|5.0.0-draft-final" ]
       ] ;
       fhir:mapping ( [
         fhir:identity [ fhir:v "rim" ] ;
         fhir:map [ fhir:v ".interpretationCode" ]
       ] )
     ] [
       fhir:id [ fhir:v "Measure.term" ] ;
       fhir:path [ fhir:v "Measure.term" ] ;
       fhir:short [ fhir:v "Defined terms used in the measure documentation" ] ;
       fhir:definition [ fhir:v "Provides a description of an individual term used within the measure." ] ;
       fhir:requirements [ fhir:v "Measure developers must be able to provide precise definitions of terms used within measure descriptions and guidance to help communicate the intent of the measure." ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "*" ] ;
       fhir:base [
         fhir:path [ fhir:v "Measure.term" ] ;
         fhir:min [ fhir:v "0" ] ;
         fhir:max [ fhir:v "*" ]
       ] ;
       fhir:type ( [
         fhir:code [ fhir:v "BackboneElement" ]
       ] ) ;
       fhir:constraint ( [
         fhir:key [ fhir:v "ele-1" ] ;
         fhir:severity [ fhir:v "error" ] ;
         fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
         fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
         fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element" ]
       ] ) ;
       fhir:mustSupport [ fhir:v "false" ] ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:isSummary [ fhir:v "false" ] ;
       fhir:mapping ( [
         fhir:identity [ fhir:v "rim" ] ;
         fhir:map [ fhir:v "N/A" ]
       ] )
     ] [
       fhir:id [ fhir:v "Measure.term.id" ] ;
       fhir:path [ fhir:v "Measure.term.id" ] ;
       fhir:representation ( [ fhir:v "xmlAttr" ] ) ;
       fhir:short [ fhir:v "Unique id for inter-element referencing" ] ;
       fhir:definition [ fhir:v "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "1" ] ;
       fhir:base [
         fhir:path [ fhir:v "Element.id" ] ;
         fhir:min [ fhir:v "0" ] ;
         fhir:max [ fhir:v "1" ]
       ] ;
       fhir:type ( [
         fhir:extension ( [
           fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type" ] ;
           fhir:value [ fhir:v "string" ]
         ] ) ;
         fhir:code [ fhir:v "http://hl7.org/fhirpath/System.String" ]
       ] ) ;
       fhir:condition ( [ fhir:v "ele-1" ] ) ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:isSummary [ fhir:v "false" ] ;
       fhir:mapping ( [
         fhir:identity [ fhir:v "rim" ] ;
         fhir:map [ fhir:v "n/a" ]
       ] )
     ] [
       fhir:id [ fhir:v "Measure.term.extension" ] ;
       fhir:path [ fhir:v "Measure.term.extension" ] ;
       fhir:short [ fhir:v "Additional content defined by implementations" ] ;
       fhir:definition [ fhir:v "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 managable, 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:comment [ fhir:v "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:alias ( [ fhir:v "extensions" ] [ fhir:v "user content" ] ) ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "*" ] ;
       fhir:base [
         fhir:path [ fhir:v "Element.extension" ] ;
         fhir:min [ fhir:v "0" ] ;
         fhir:max [ fhir:v "*" ]
       ] ;
       fhir:type ( [
         fhir:code [ fhir:v "Extension" ]
       ] ) ;
       fhir:constraint ( [
         fhir:key [ fhir:v "ele-1" ] ;
         fhir:severity [ fhir:v "error" ] ;
         fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
         fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
         fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element" ]
       ] [
         fhir:key [ fhir:v "ext-1" ] ;
         fhir:severity [ fhir:v "error" ] ;
         fhir:human [ fhir:v "Must have either extensions or value[x], not both" ] ;
         fhir:expression [ fhir:v "extension.exists() != value.exists()" ] ;
         fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Extension" ]
       ] ) ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:isSummary [ fhir:v "false" ] ;
       fhir:mapping ( [
         fhir:identity [ fhir:v "rim" ] ;
         fhir:map [ fhir:v "n/a" ]
       ] )
     ] [
       fhir:id [ fhir:v "Measure.term.modifierExtension" ] ;
       fhir:path [ fhir:v "Measure.term.modifierExtension" ] ;
       fhir:short [ fhir:v "Extensions that cannot be ignored even if unrecognized" ] ;
       fhir:definition [ fhir:v "May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and managable, 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. Applications processing a resource are required to check for modifier extensions.\n\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself)." ] ;
       fhir:comment [ fhir:v "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:requirements [ fhir:v "Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored.  This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](extensibility.html#modifierExtension)." ] ;
       fhir:alias ( [ fhir:v "extensions" ] [ fhir:v "user content" ] [ fhir:v "modifiers" ] ) ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "*" ] ;
       fhir:base [
         fhir:path [ fhir:v "BackboneElement.modifierExtension" ] ;
         fhir:min [ fhir:v "0" ] ;
         fhir:max [ fhir:v "*" ]
       ] ;
       fhir:type ( [
         fhir:code [ fhir:v "Extension" ]
       ] ) ;
       fhir:constraint ( [
         fhir:key [ fhir:v "ele-1" ] ;
         fhir:severity [ fhir:v "error" ] ;
         fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
         fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
         fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element" ]
       ] [
         fhir:key [ fhir:v "ext-1" ] ;
         fhir:severity [ fhir:v "error" ] ;
         fhir:human [ fhir:v "Must have either extensions or value[x], not both" ] ;
         fhir:expression [ fhir:v "extension.exists() != value.exists()" ] ;
         fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Extension" ]
       ] ) ;
       fhir:isModifier [ fhir:v "true" ] ;
       fhir:isModifierReason [ fhir:v "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them" ] ;
       fhir:isSummary [ fhir:v "true" ] ;
       fhir:mapping ( [
         fhir:identity [ fhir:v "rim" ] ;
         fhir:map [ fhir:v "N/A" ]
       ] )
     ] [
       fhir:id [ fhir:v "Measure.term.code" ] ;
       fhir:path [ fhir:v "Measure.term.code" ] ;
       fhir:short [ fhir:v "What term?" ] ;
       fhir:definition [ fhir:v "A codeable representation of the defined term." ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "1" ] ;
       fhir:base [
         fhir:path [ fhir:v "Measure.term.code" ] ;
         fhir:min [ fhir:v "0" ] ;
         fhir:max [ fhir:v "1" ]
       ] ;
       fhir:type ( [
         fhir:code [ fhir:v "CodeableConcept" ]
       ] ) ;
       fhir:constraint ( [
         fhir:key [ fhir:v "ele-1" ] ;
         fhir:severity [ fhir:v "error" ] ;
         fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
         fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
         fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element" ]
       ] ) ;
       fhir:mustSupport [ fhir:v "false" ] ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:isSummary [ fhir:v "false" ] ;
       fhir:binding [
         fhir:extension ( [
           fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName" ] ;
           fhir:value [ fhir:v "DefinitionCode" ]
         ] ) ;
         fhir:strength [ fhir:v "example" ] ;
         fhir:description [ fhir:v "Codeable representations of measure definition terms." ] ;
         fhir:valueSet [ fhir:v "http://hl7.org/fhir/ValueSet/measure-definition-example" ]
       ] ;
       fhir:mapping ( [
         fhir:identity [ fhir:v "rim" ] ;
         fhir:map [ fhir:v "N/A" ]
       ] )
     ] [
       fhir:id [ fhir:v "Measure.term.definition" ] ;
       fhir:path [ fhir:v "Measure.term.definition" ] ;
       fhir:short [ fhir:v "Meaning of the term" ] ;
       fhir:definition [ fhir:v "Provides a definition for the term as used within the measure." ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "1" ] ;
       fhir:base [
         fhir:path [ fhir:v "Measure.term.definition" ] ;
         fhir:min [ fhir:v "0" ] ;
         fhir:max [ fhir:v "1" ]
       ] ;
       fhir:type ( [
         fhir:code [ fhir:v "markdown" ]
       ] ) ;
       fhir:constraint ( [
         fhir:key [ fhir:v "ele-1" ] ;
         fhir:severity [ fhir:v "error" ] ;
         fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
         fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
         fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element" ]
       ] ) ;
       fhir:mustSupport [ fhir:v "false" ] ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:isSummary [ fhir:v "false" ] ;
       fhir:mapping ( [
         fhir:identity [ fhir:v "rim" ] ;
         fhir:map [ fhir:v "N/A (to add?)" ]
       ] )
     ] [
       fhir:id [ fhir:v "Measure.guidance" ] ;
       fhir:extension ( [
         fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status" ] ;
         fhir:value [ fhir:v "deprecated" ]
       ] ) ;
       fhir:path [ fhir:v "Measure.guidance" ] ;
       fhir:short [ fhir:v "Additional guidance for implementers (deprecated)" ] ;
       fhir:definition [ fhir:v "Additional guidance for the measure including how it can be used in a clinical context, and the intent of the measure." ] ;
       fhir:comment [ fhir:v "NOTE: This element is deprecated in favor of the usage element" ] ;
       fhir:requirements [ fhir:v "Measure developers must be able to provide additional guidance for implementers to understand the intent with greater specificity than that provided in the population criteria of the measure. This element provides detailed guidance, where the usage element provides a summary of the guidance." ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "1" ] ;
       fhir:base [
         fhir:path [ fhir:v "Measure.guidance" ] ;
         fhir:min [ fhir:v "0" ] ;
         fhir:max [ fhir:v "1" ]
       ] ;
       fhir:type ( [
         fhir:code [ fhir:v "markdown" ]
       ] ) ;
       fhir:constraint ( [
         fhir:key [ fhir:v "ele-1" ] ;
         fhir:severity [ fhir:v "error" ] ;
         fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
         fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
         fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element" ]
       ] ) ;
       fhir:mustSupport [ fhir:v "false" ] ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:isSummary [ fhir:v "true" ] ;
       fhir:mapping ( [
         fhir:identity [ fhir:v "rim" ] ;
         fhir:map [ fhir:v "N/A (to add?)" ]
       ] )
     ] [
       fhir:id [ fhir:v "Measure.group" ] ;
       fhir:path [ fhir:v "Measure.group" ] ;
       fhir:short [ fhir:v "Population criteria group" ] ;
       fhir:definition [ fhir:v "A group of population criteria for the measure." ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "*" ] ;
       fhir:base [
         fhir:path [ fhir:v "Measure.group" ] ;
         fhir:min [ fhir:v "0" ] ;
         fhir:max [ fhir:v "*" ]
       ] ;
       fhir:type ( [
         fhir:code [ fhir:v "BackboneElement" ]
       ] ) ;
       fhir:condition ( [ fhir:v "mea-1" ] ) ;
       fhir:constraint ( [
         fhir:key [ fhir:v "ele-1" ] ;
         fhir:severity [ fhir:v "error" ] ;
         fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
         fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
         fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element" ]
       ] ) ;
       fhir:mustSupport [ fhir:v "false" ] ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:isSummary [ fhir:v "false" ] ;
       fhir:mapping ( [
         fhir:identity [ fhir:v "rim" ] ;
         fhir:map [ fhir:v ".outboundRelationship[typeCode=COMP]" ]
       ] )
     ] [
       fhir:id [ fhir:v "Measure.group.id" ] ;
       fhir:path [ fhir:v "Measure.group.id" ] ;
       fhir:representation ( [ fhir:v "xmlAttr" ] ) ;
       fhir:short [ fhir:v "Unique id for inter-element referencing" ] ;
       fhir:definition [ fhir:v "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "1" ] ;
       fhir:base [
         fhir:path [ fhir:v "Element.id" ] ;
         fhir:min [ fhir:v "0" ] ;
         fhir:max [ fhir:v "1" ]
       ] ;
       fhir:type ( [
         fhir:extension ( [
           fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type" ] ;
           fhir:value [ fhir:v "string" ]
         ] ) ;
         fhir:code [ fhir:v "http://hl7.org/fhirpath/System.String" ]
       ] ) ;
       fhir:condition ( [ fhir:v "ele-1" ] ) ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:isSummary [ fhir:v "false" ] ;
       fhir:mapping ( [
         fhir:identity [ fhir:v "rim" ] ;
         fhir:map [ fhir:v "n/a" ]
       ] )
     ] [
       fhir:id [ fhir:v "Measure.group.extension" ] ;
       fhir:path [ fhir:v "Measure.group.extension" ] ;
       fhir:short [ fhir:v "Additional content defined by implementations" ] ;
       fhir:definition [ fhir:v "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 managable, 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:comment [ fhir:v "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:alias ( [ fhir:v "extensions" ] [ fhir:v "user content" ] ) ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "*" ] ;
       fhir:base [
         fhir:path [ fhir:v "Element.extension" ] ;
         fhir:min [ fhir:v "0" ] ;
         fhir:max [ fhir:v "*" ]
       ] ;
       fhir:type ( [
         fhir:code [ fhir:v "Extension" ]
       ] ) ;
       fhir:constraint ( [
         fhir:key [ fhir:v "ele-1" ] ;
         fhir:severity [ fhir:v "error" ] ;
         fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
         fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
         fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element" ]
       ] [
         fhir:key [ fhir:v "ext-1" ] ;
         fhir:severity [ fhir:v "error" ] ;
         fhir:human [ fhir:v "Must have either extensions or value[x], not both" ] ;
         fhir:expression [ fhir:v "extension.exists() != value.exists()" ] ;
         fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Extension" ]
       ] ) ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:isSummary [ fhir:v "false" ] ;
       fhir:mapping ( [
         fhir:identity [ fhir:v "rim" ] ;
         fhir:map [ fhir:v "n/a" ]
       ] )
     ] [
       fhir:id [ fhir:v "Measure.group.modifierExtension" ] ;
       fhir:path [ fhir:v "Measure.group.modifierExtension" ] ;
       fhir:short [ fhir:v "Extensions that cannot be ignored even if unrecognized" ] ;
       fhir:definition [ fhir:v "May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and managable, 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. Applications processing a resource are required to check for modifier extensions.\n\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself)." ] ;
       fhir:comment [ fhir:v "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:requirements [ fhir:v "Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored.  This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](extensibility.html#modifierExtension)." ] ;
       fhir:alias ( [ fhir:v "extensions" ] [ fhir:v "user content" ] [ fhir:v "modifiers" ] ) ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "*" ] ;
       fhir:base [
         fhir:path [ fhir:v "BackboneElement.modifierExtension" ] ;
         fhir:min [ fhir:v "0" ] ;
         fhir:max [ fhir:v "*" ]
       ] ;
       fhir:type ( [
         fhir:code [ fhir:v "Extension" ]
       ] ) ;
       fhir:constraint ( [
         fhir:key [ fhir:v "ele-1" ] ;
         fhir:severity [ fhir:v "error" ] ;
         fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
         fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
         fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element" ]
       ] [
         fhir:key [ fhir:v "ext-1" ] ;
         fhir:severity [ fhir:v "error" ] ;
         fhir:human [ fhir:v "Must have either extensions or value[x], not both" ] ;
         fhir:expression [ fhir:v "extension.exists() != value.exists()" ] ;
         fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Extension" ]
       ] ) ;
       fhir:isModifier [ fhir:v "true" ] ;
       fhir:isModifierReason [ fhir:v "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them" ] ;
       fhir:isSummary [ fhir:v "true" ] ;
       fhir:mapping ( [
         fhir:identity [ fhir:v "rim" ] ;
         fhir:map [ fhir:v "N/A" ]
       ] )
     ] [
       fhir:id [ fhir:v "Measure.group.linkId" ] ;
       fhir:path [ fhir:v "Measure.group.linkId" ] ;
       fhir:short [ fhir:v "Unique id for group in measure" ] ;
       fhir:definition [ fhir:v "An identifier that is unique within the Measure allowing linkage to the equivalent item in a MeasureReport resource." ] ;
       fhir:comment [ fhir:v "This ''can'' be a meaningful identifier (e.g. a LOINC code) but is not intended to have any meaning.  GUIDs or sequential numbers are appropriate here.\n\nLinkIds can have whitespaces and slashes by design. Tooling should not rely on linkIds being valid XHTML element IDs, and should not directly embed them as such" ] ;
       fhir:requirements [ fhir:v "[MeasureReport](measurereport.html#) does not require omitted groups to be included." ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "1" ] ;
       fhir:base [
         fhir:path [ fhir:v "Measure.group.linkId" ] ;
         fhir:min [ fhir:v "0" ] ;
         fhir:max [ fhir:v "1" ]
       ] ;
       fhir:type ( [
         fhir:code [ fhir:v "string" ]
       ] ) ;
       fhir:constraint ( [
         fhir:key [ fhir:v "ele-1" ] ;
         fhir:severity [ fhir:v "error" ] ;
         fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
         fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
         fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element" ]
       ] [
         fhir:key [ fhir:v "mea-2" ] ;
         fhir:severity [ fhir:v "warning" ] ;
         fhir:human [ fhir:v "Link ids should be 255 characters or less" ] ;
         fhir:expression [ fhir:v "$this.length() <= 255" ] ;
         fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Measure" ]
       ] ) ;
       fhir:mustSupport [ fhir:v "false" ] ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:isSummary [ fhir:v "false" ] ;
       fhir:mapping ( [
         fhir:identity [ fhir:v "rim" ] ;
         fhir:map [ fhir:v ".id" ]
       ] )
     ] [
       fhir:id [ fhir:v "Measure.group.code" ] ;
       fhir:path [ fhir:v "Measure.group.code" ] ;
       fhir:short [ fhir:v "Meaning of the group" ] ;
       fhir:definition [ fhir:v "Indicates a meaning for the group. This can be as simple as a unique identifier, or it can establish meaning in a broader context by drawing from a terminology, allowing groups to be correlated across measures." ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "1" ] ;
       fhir:base [
         fhir:path [ fhir:v "Measure.group.code" ] ;
         fhir:min [ fhir:v "0" ] ;
         fhir:max [ fhir:v "1" ]
       ] ;
       fhir:type ( [
         fhir:code [ fhir:v "CodeableConcept" ]
       ] ) ;
       fhir:constraint ( [
         fhir:key [ fhir:v "ele-1" ] ;
         fhir:severity [ fhir:v "error" ] ;
         fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
         fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
         fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element" ]
       ] ) ;
       fhir:mustSupport [ fhir:v "false" ] ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:isSummary [ fhir:v "false" ] ;
       fhir:binding [
         fhir:extension ( [
           fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName" ] ;
           fhir:value [ fhir:v "MeasureGroupExample" ]
         ] ) ;
         fhir:strength [ fhir:v "example" ] ;
         fhir:description [ fhir:v "Example of measure groups." ] ;
         fhir:valueSet [ fhir:v "http://hl7.org/fhir/ValueSet/measure-group-example" ]
       ] ;
       fhir:mapping ( [
         fhir:identity [ fhir:v "rim" ] ;
         fhir:map [ fhir:v ".code" ]
       ] )
     ] [
       fhir:id [ fhir:v "Measure.group.description" ] ;
       fhir:path [ fhir:v "Measure.group.description" ] ;
       fhir:short [ fhir:v "Summary description" ] ;
       fhir:definition [ fhir:v "The human readable description of this population group." ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "1" ] ;
       fhir:base [
         fhir:path [ fhir:v "Measure.group.description" ] ;
         fhir:min [ fhir:v "0" ] ;
         fhir:max [ fhir:v "1" ]
       ] ;
       fhir:type ( [
         fhir:code [ fhir:v "markdown" ]
       ] ) ;
       fhir:constraint ( [
         fhir:key [ fhir:v "ele-1" ] ;
         fhir:severity [ fhir:v "error" ] ;
         fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
         fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
         fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element" ]
       ] ) ;
       fhir:mustSupport [ fhir:v "false" ] ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:isSummary [ fhir:v "false" ] ;
       fhir:mapping ( [
         fhir:identity [ fhir:v "rim" ] ;
         fhir:map [ fhir:v ".text" ]
       ] )
     ] [
       fhir:id [ fhir:v "Measure.group.type" ] ;
       fhir:path [ fhir:v "Measure.group.type" ] ;
       fhir:short [ fhir:v "process | outcome | structure | patient-reported-outcome | composite" ] ;
       fhir:definition [ fhir:v "Indicates whether the measure is used to examine a process, an outcome over time, a patient-reported outcome, or a structure measure such as utilization." ] ;
       fhir:comment [ fhir:v "When specified at the group level, defines the measure type for this specific group. If not specified, the measureType of the group is determined by the root type element" ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "*" ] ;
       fhir:base [
         fhir:path [ fhir:v "Measure.group.type" ] ;
         fhir:min [ fhir:v "0" ] ;
         fhir:max [ fhir:v "*" ]
       ] ;
       fhir:type ( [
         fhir:code [ fhir:v "CodeableConcept" ]
       ] ) ;
       fhir:constraint ( [
         fhir:key [ fhir:v "ele-1" ] ;
         fhir:severity [ fhir:v "error" ] ;
         fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
         fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
         fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element" ]
       ] ) ;
       fhir:mustSupport [ fhir:v "false" ] ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:isSummary [ fhir:v "true" ] ;
       fhir:binding [
         fhir:extension ( [
           fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName" ] ;
           fhir:value [ fhir:v "MeasureType" ]
         ] ) ;
         fhir:strength [ fhir:v "extensible" ] ;
         fhir:valueSet [ fhir:v "http://hl7.org/fhir/ValueSet/measure-type" ]
       ] ;
       fhir:mapping ( [
         fhir:identity [ fhir:v "rim" ] ;
         fhir:map [ fhir:v ".typeCode" ]
       ] )
     ] [
       fhir:id [ fhir:v "Measure.group.subject[x]" ] ;
       fhir:path [ fhir:v "Measure.group.subject[x]" ] ;
       fhir:short [ fhir:v "E.g. Patient, Practitioner, RelatedPerson, Organization, Location, Device" ] ;
       fhir:definition [ fhir:v "The intended subjects for the measure. If this element is not provided, a Patient subject is assumed, but the subject of the measure can be anything." ] ;
       fhir:comment [ fhir:v "The subject of the measure is critical in interpreting the criteria definitions, as the logic in the measures is evaluated with respect to a particular subject. This corresponds roughly to the notion of a Compartment in that it limits what content is available based on its relationship to the subject. In CQL, this corresponds to the context declaration." ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "1" ] ;
       fhir:base [
         fhir:path [ fhir:v "Measure.group.subject[x]" ] ;
         fhir:min [ fhir:v "0" ] ;
         fhir:max [ fhir:v "1" ]
       ] ;
       fhir:type ( [
         fhir:code [ fhir:v "CodeableConcept" ]
       ] [
         fhir:code [ fhir:v "Reference" ] ;
         fhir:targetProfile ( [ fhir:v "http://hl7.org/fhir/StructureDefinition/Group" ] )
       ] ) ;
       fhir:meaningWhenMissing [ fhir:v "Patient" ] ;
       fhir:constraint ( [
         fhir:key [ fhir:v "ele-1" ] ;
         fhir:severity [ fhir:v "error" ] ;
         fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
         fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
         fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element" ]
       ] ) ;
       fhir:mustSupport [ fhir:v "false" ] ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:isSummary [ fhir:v "false" ] ;
       fhir:binding [
         fhir:extension ( [
           fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName" ] ;
           fhir:value [ fhir:v "SubjectType" ]
         ] [
           fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding" ] ;
           fhir:value [ fhir:v "true" ]
         ] ) ;
         fhir:strength [ fhir:v "extensible" ] ;
         fhir:description [ fhir:v "The possible types of subjects for a measure (E.g. Patient, Practitioner, Organization, Location, etc.)." ] ;
         fhir:valueSet [ fhir:v "http://hl7.org/fhir/ValueSet/participant-resource-types" ]
       ] ;
       fhir:mapping ( [
         fhir:identity [ fhir:v "rim" ] ;
         fhir:map [ fhir:v "N/A (to add?) { only applies for subject Patient? }" ]
       ] )
     ] [
       fhir:id [ fhir:v "Measure.group.basis" ] ;
       fhir:path [ fhir:v "Measure.group.basis" ] ;
       fhir:short [ fhir:v "Population basis" ] ;
       fhir:definition [ fhir:v "The population basis specifies the type of elements in the population. For a subject-based measure, this is boolean (because the subject and the population basis are the same, and the population criteria define yes/no values for each individual in the population). For measures that have a population basis that is different than the subject, this element specifies the type of the population basis. For example, an encounter-based measure has a subject of Patient and a population basis of Encounter, and the population criteria all return lists of Encounters." ] ;
       fhir:comment [ fhir:v "When specified at the group level, defines the population basis for this specific group. If not specified, the basis for the group is determined by the root basis element" ] ;
       fhir:requirements [ fhir:v "Allows non-subject-based measures to be specified" ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "1" ] ;
       fhir:base [
         fhir:path [ fhir:v "Measure.group.basis" ] ;
         fhir:min [ fhir:v "0" ] ;
         fhir:max [ fhir:v "1" ]
       ] ;
       fhir:type ( [
         fhir:code [ fhir:v "code" ]
       ] ) ;
       fhir:meaningWhenMissing [ fhir:v "boolean" ] ;
       fhir:constraint ( [
         fhir:key [ fhir:v "ele-1" ] ;
         fhir:severity [ fhir:v "error" ] ;
         fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
         fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
         fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element" ]
       ] ) ;
       fhir:mustSupport [ fhir:v "false" ] ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:isSummary [ fhir:v "true" ] ;
       fhir:binding [
         fhir:extension ( [
           fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName" ] ;
           fhir:value [ fhir:v "BasisType" ]
         ] [
           fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding" ] ;
           fhir:value [ fhir:v "true" ]
         ] ) ;
         fhir:strength [ fhir:v "required" ] ;
         fhir:valueSet [ fhir:v "http://hl7.org/fhir/ValueSet/fhir-types|5.0.0-draft-final" ]
       ] ;
       fhir:mapping ( [
         fhir:identity [ fhir:v "rim" ] ;
         fhir:map [ fhir:v "N/A (to add?) { only applies for subject Patient? }" ]
       ] )
     ] [
       fhir:id [ fhir:v "Measure.group.scoring" ] ;
       fhir:path [ fhir:v "Measure.group.scoring" ] ;
       fhir:short [ fhir:v "proportion | ratio | continuous-variable | cohort" ] ;
       fhir:definition [ fhir:v "Indicates how the calculation is performed for the measure, including proportion, ratio, continuous-variable, and cohort. The value set is extensible, allowing additional measure scoring types to be represented." ] ;
       fhir:comment [ fhir:v "When specified at the group level, defines the scoring for this specific group. If not specified, scoring for this group is determined by the root scoring element" ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "1" ] ;
       fhir:base [
         fhir:path [ fhir:v "Measure.group.scoring" ] ;
         fhir:min [ fhir:v "0" ] ;
         fhir:max [ fhir:v "1" ]
       ] ;
       fhir:type ( [
         fhir:code [ fhir:v "CodeableConcept" ]
       ] ) ;
       fhir:constraint ( [
         fhir:key [ fhir:v "ele-1" ] ;
         fhir:severity [ fhir:v "error" ] ;
         fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
         fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
         fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element" ]
       ] ) ;
       fhir:mustSupport [ fhir:v "false" ] ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:isSummary [ fhir:v "true" ] ;
       fhir:binding [
         fhir:extension ( [
           fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName" ] ;
           fhir:value [ fhir:v "MeasureScoring" ]
         ] ) ;
         fhir:strength [ fhir:v "extensible" ] ;
         fhir:valueSet [ fhir:v "http://hl7.org/fhir/ValueSet/measure-scoring" ]
       ] ;
       fhir:mapping ( [
         fhir:identity [ fhir:v "rim" ] ;
         fhir:map [ fhir:v ".methodCode { the aspect of how the calculation is performed }" ]
       ] )
     ] [
       fhir:id [ fhir:v "Measure.group.scoringUnit" ] ;
       fhir:path [ fhir:v "Measure.group.scoringUnit" ] ;
       fhir:short [ fhir:v "What units?" ] ;
       fhir:definition [ fhir:v "Defines the expected units of measure for the measure score. This element SHOULD be specified as a UCUM unit." ] ;
       fhir:comment [ fhir:v "When specified at the group level, this defines the scoringUnit for this specific group. If not specified, the scoringUnit for this group is determined by the root scoringUnit element. As with the root element, when this element is specified, implementations are expected to report measure scores in the specified units. Note that this may involve unit conversion if the expected units are different than the units of the resulting score calculation. In this case, unit conversions SHALL be performed according to the unit conversion semantics specified by UCUM." ] ;
       fhir:requirements [ fhir:v "When the unit cannot be inferred directly from the calculation logic, this element allows the specification of the desired units of measure of the output." ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "1" ] ;
       fhir:base [
         fhir:path [ fhir:v "Measure.group.scoringUnit" ] ;
         fhir:min [ fhir:v "0" ] ;
         fhir:max [ fhir:v "1" ]
       ] ;
       fhir:type ( [
         fhir:code [ fhir:v "CodeableConcept" ]
       ] ) ;
       fhir:constraint ( [
         fhir:key [ fhir:v "ele-1" ] ;
         fhir:severity [ fhir:v "error" ] ;
         fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
         fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
         fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element" ]
       ] ) ;
       fhir:mustSupport [ fhir:v "false" ] ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:isSummary [ fhir:v "true" ] ;
       fhir:binding [
         fhir:extension ( [
           fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName" ] ;
           fhir:value [ fhir:v "MeasureScoringUnit" ]
         ] ) ;
         fhir:strength [ fhir:v "example" ] ;
         fhir:valueSet [ fhir:v "http://hl7.org/fhir/ValueSet/measure-scoring-unit" ]
       ] ;
       fhir:mapping ( [
         fhir:identity [ fhir:v "rim" ] ;
         fhir:map [ fhir:v ".methodCode { the aspect of how the calculation is performed }" ]
       ] )
     ] [
       fhir:id [ fhir:v "Measure.group.rateAggregation" ] ;
       fhir:path [ fhir:v "Measure.group.rateAggregation" ] ;
       fhir:short [ fhir:v "How is rate aggregation performed for this measure" ] ;
       fhir:definition [ fhir:v "Describes how to combine the information calculated, based on logic in each of several populations, into one summarized result." ] ;
       fhir:comment [ fhir:v "The measure rate for an organization or clinician is based upon the entities’ aggregate data and summarizes the performance of the entity over a given time period (e.g., monthly, quarterly, yearly). The aggregated data are derived from the results of a specific measure algorithm and, if appropriate, the application of specific risk adjustment models.  Can also be used to describe how to risk adjust the data based on supplemental data elements described in the eMeasure (e.g., pneumonia hospital measures antibiotic selection in the ICU versus non-ICU and then the roll-up of the two). This could be applied to aggregated cohort measure definitions (e.g., CDC's aggregate reporting for TB at the state level)." ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "1" ] ;
       fhir:base [
         fhir:path [ fhir:v "Measure.group.rateAggregation" ] ;
         fhir:min [ fhir:v "0" ] ;
         fhir:max [ fhir:v "1" ]
       ] ;
       fhir:type ( [
         fhir:code [ fhir:v "markdown" ]
       ] ) ;
       fhir:constraint ( [
         fhir:key [ fhir:v "ele-1" ] ;
         fhir:severity [ fhir:v "error" ] ;
         fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
         fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
         fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element" ]
       ] ) ;
       fhir:mustSupport [ fhir:v "false" ] ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:isSummary [ fhir:v "true" ] ;
       fhir:mapping ( [
         fhir:identity [ fhir:v "rim" ] ;
         fhir:map [ fhir:v "N/A (to add?)" ]
       ] )
     ] [
       fhir:id [ fhir:v "Measure.group.improvementNotation" ] ;
       fhir:path [ fhir:v "Measure.group.improvementNotation" ] ;
       fhir:short [ fhir:v "increase | decrease" ] ;
       fhir:definition [ fhir:v "Information on whether an increase or decrease in score is the preferred result (e.g., a higher score indicates better quality OR a lower score indicates better quality OR quality is within a range)." ] ;
       fhir:comment [ fhir:v "When specified at the group level, this element defines the improvementNotation for this specific group. If not specified, improvementNotation for this group is determined by the root improvementNotation element" ] ;
       fhir:requirements [ fhir:v "Measure consumers and implementers must be able to determine how to interpret a measure score." ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "1" ] ;
       fhir:base [
         fhir:path [ fhir:v "Measure.group.improvementNotation" ] ;
         fhir:min [ fhir:v "0" ] ;
         fhir:max [ fhir:v "1" ]
       ] ;
       fhir:type ( [
         fhir:code [ fhir:v "CodeableConcept" ]
       ] ) ;
       fhir:constraint ( [
         fhir:key [ fhir:v "ele-1" ] ;
         fhir:severity [ fhir:v "error" ] ;
         fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
         fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
         fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element" ]
       ] ) ;
       fhir:mustSupport [ fhir:v "false" ] ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:isSummary [ fhir:v "true" ] ;
       fhir:binding [
         fhir:extension ( [
           fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName" ] ;
           fhir:value [ fhir:v "MeasureImprovementNotation" ]
         ] ) ;
         fhir:strength [ fhir:v "required" ] ;
         fhir:valueSet [ fhir:v "http://hl7.org/fhir/ValueSet/measure-improvement-notation|5.0.0-draft-final" ]
       ] ;
       fhir:mapping ( [
         fhir:identity [ fhir:v "rim" ] ;
         fhir:map [ fhir:v ".methodCode { the aspect of how the calculation is performed }" ]
       ] )
     ] [
       fhir:id [ fhir:v "Measure.group.library" ] ;
       fhir:path [ fhir:v "Measure.group.library" ] ;
       fhir:short [ fhir:v "Logic used by the measure group" ] ;
       fhir:definition [ fhir:v "A reference to a Library resource containing the formal logic used by the measure group." ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "*" ] ;
       fhir:base [
         fhir:path [ fhir:v "Measure.group.library" ] ;
         fhir:min [ fhir:v "0" ] ;
         fhir:max [ fhir:v "*" ]
       ] ;
       fhir:type ( [
         fhir:code [ fhir:v "canonical" ] ;
         fhir:targetProfile ( [ fhir:v "http://hl7.org/fhir/StructureDefinition/Library" ] )
       ] ) ;
       fhir:constraint ( [
         fhir:key [ fhir:v "ele-1" ] ;
         fhir:severity [ fhir:v "error" ] ;
         fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
         fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
         fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element" ]
       ] ) ;
       fhir:mustSupport [ fhir:v "false" ] ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:isSummary [ fhir:v "false" ] ;
       fhir:mapping ( [
         fhir:identity [ fhir:v "rim" ] ;
         fhir:map [ fhir:v "N/A (to add?)" ]
       ] )
     ] [
       fhir:id [ fhir:v "Measure.group.population" ] ;
       fhir:path [ fhir:v "Measure.group.population" ] ;
       fhir:short [ fhir:v "Population criteria" ] ;
       fhir:definition [ fhir:v "A population criteria for the measure." ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "*" ] ;
       fhir:base [
         fhir:path [ fhir:v "Measure.group.population" ] ;
         fhir:min [ fhir:v "0" ] ;
         fhir:max [ fhir:v "*" ]
       ] ;
       fhir:type ( [
         fhir:code [ fhir:v "BackboneElement" ]
       ] ) ;
       fhir:constraint ( [
         fhir:key [ fhir:v "ele-1" ] ;
         fhir:severity [ fhir:v "error" ] ;
         fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
         fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
         fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element" ]
       ] ) ;
       fhir:mustSupport [ fhir:v "false" ] ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:isSummary [ fhir:v "false" ] ;
       fhir:mapping ( [
         fhir:identity [ fhir:v "rim" ] ;
         fhir:map [ fhir:v ".outboundRelationship[typeCode=COMP]" ]
       ] )
     ] [
       fhir:id [ fhir:v "Measure.group.population.id" ] ;
       fhir:path [ fhir:v "Measure.group.population.id" ] ;
       fhir:representation ( [ fhir:v "xmlAttr" ] ) ;
       fhir:short [ fhir:v "Unique id for inter-element referencing" ] ;
       fhir:definition [ fhir:v "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "1" ] ;
       fhir:base [
         fhir:path [ fhir:v "Element.id" ] ;
         fhir:min [ fhir:v "0" ] ;
         fhir:max [ fhir:v "1" ]
       ] ;
       fhir:type ( [
         fhir:extension ( [
           fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type" ] ;
           fhir:value [ fhir:v "string" ]
         ] ) ;
         fhir:code [ fhir:v "http://hl7.org/fhirpath/System.String" ]
       ] ) ;
       fhir:condition ( [ fhir:v "ele-1" ] ) ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:isSummary [ fhir:v "false" ] ;
       fhir:mapping ( [
         fhir:identity [ fhir:v "rim" ] ;
         fhir:map [ fhir:v "n/a" ]
       ] )
     ] [
       fhir:id [ fhir:v "Measure.group.population.extension" ] ;
       fhir:path [ fhir:v "Measure.group.population.extension" ] ;
       fhir:short [ fhir:v "Additional content defined by implementations" ] ;
       fhir:definition [ fhir:v "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 managable, 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:comment [ fhir:v "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:alias ( [ fhir:v "extensions" ] [ fhir:v "user content" ] ) ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "*" ] ;
       fhir:base [
         fhir:path [ fhir:v "Element.extension" ] ;
         fhir:min [ fhir:v "0" ] ;
         fhir:max [ fhir:v "*" ]
       ] ;
       fhir:type ( [
         fhir:code [ fhir:v "Extension" ]
       ] ) ;
       fhir:constraint ( [
         fhir:key [ fhir:v "ele-1" ] ;
         fhir:severity [ fhir:v "error" ] ;
         fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
         fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
         fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element" ]
       ] [
         fhir:key [ fhir:v "ext-1" ] ;
         fhir:severity [ fhir:v "error" ] ;
         fhir:human [ fhir:v "Must have either extensions or value[x], not both" ] ;
         fhir:expression [ fhir:v "extension.exists() != value.exists()" ] ;
         fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Extension" ]
       ] ) ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:isSummary [ fhir:v "false" ] ;
       fhir:mapping ( [
         fhir:identity [ fhir:v "rim" ] ;
         fhir:map [ fhir:v "n/a" ]
       ] )
     ] [
       fhir:id [ fhir:v "Measure.group.population.modifierExtension" ] ;
       fhir:path [ fhir:v "Measure.group.population.modifierExtension" ] ;
       fhir:short [ fhir:v "Extensions that cannot be ignored even if unrecognized" ] ;
       fhir:definition [ fhir:v "May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and managable, 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. Applications processing a resource are required to check for modifier extensions.\n\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself)." ] ;
       fhir:comment [ fhir:v "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:requirements [ fhir:v "Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored.  This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](extensibility.html#modifierExtension)." ] ;
       fhir:alias ( [ fhir:v "extensions" ] [ fhir:v "user content" ] [ fhir:v "modifiers" ] ) ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "*" ] ;
       fhir:base [
         fhir:path [ fhir:v "BackboneElement.modifierExtension" ] ;
         fhir:min [ fhir:v "0" ] ;
         fhir:max [ fhir:v "*" ]
       ] ;
       fhir:type ( [
         fhir:code [ fhir:v "Extension" ]
       ] ) ;
       fhir:constraint ( [
         fhir:key [ fhir:v "ele-1" ] ;
         fhir:severity [ fhir:v "error" ] ;
         fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
         fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
         fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element" ]
       ] [
         fhir:key [ fhir:v "ext-1" ] ;
         fhir:severity [ fhir:v "error" ] ;
         fhir:human [ fhir:v "Must have either extensions or value[x], not both" ] ;
         fhir:expression [ fhir:v "extension.exists() != value.exists()" ] ;
         fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Extension" ]
       ] ) ;
       fhir:isModifier [ fhir:v "true" ] ;
       fhir:isModifierReason [ fhir:v "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them" ] ;
       fhir:isSummary [ fhir:v "true" ] ;
       fhir:mapping ( [
         fhir:identity [ fhir:v "rim" ] ;
         fhir:map [ fhir:v "N/A" ]
       ] )
     ] [
       fhir:id [ fhir:v "Measure.group.population.linkId" ] ;
       fhir:path [ fhir:v "Measure.group.population.linkId" ] ;
       fhir:short [ fhir:v "Unique id for population in measure" ] ;
       fhir:definition [ fhir:v "An identifier that is unique within the Measure allowing linkage to the equivalent population in a MeasureReport resource." ] ;
       fhir:comment [ fhir:v "This ''can'' be a meaningful identifier (e.g. a LOINC code) but is not intended to have any meaning.  GUIDs or sequential numbers are appropriate here.\n\nLinkIds can have whitespaces and slashes by design. Tooling should not rely on linkIds being valid XHTML element IDs, and should not directly embed them as such" ] ;
       fhir:requirements [ fhir:v "[MeasureReport](measurereport.html#) does not require omitted populations to be included." ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "1" ] ;
       fhir:base [
         fhir:path [ fhir:v "Measure.group.population.linkId" ] ;
         fhir:min [ fhir:v "0" ] ;
         fhir:max [ fhir:v "1" ]
       ] ;
       fhir:type ( [
         fhir:code [ fhir:v "string" ]
       ] ) ;
       fhir:constraint ( [
         fhir:key [ fhir:v "ele-1" ] ;
         fhir:severity [ fhir:v "error" ] ;
         fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
         fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
         fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element" ]
       ] [
         fhir:key [ fhir:v "mea-3" ] ;
         fhir:severity [ fhir:v "warning" ] ;
         fhir:human [ fhir:v "Link ids should be 255 characters or less" ] ;
         fhir:expression [ fhir:v "$this.length() <= 255" ] ;
         fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Measure" ]
       ] ) ;
       fhir:mustSupport [ fhir:v "false" ] ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:isSummary [ fhir:v "false" ] ;
       fhir:mapping ( [
         fhir:identity [ fhir:v "rim" ] ;
         fhir:map [ fhir:v ".id" ]
       ] )
     ] [
       fhir:id [ fhir:v "Measure.group.population.code" ] ;
       fhir:path [ fhir:v "Measure.group.population.code" ] ;
       fhir:short [ fhir:v "initial-population | numerator | numerator-exclusion | denominator | denominator-exclusion | denominator-exception | measure-population | measure-population-exclusion | measure-observation" ] ;
       fhir:definition [ fhir:v "The type of population criteria." ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "1" ] ;
       fhir:base [
         fhir:path [ fhir:v "Measure.group.population.code" ] ;
         fhir:min [ fhir:v "0" ] ;
         fhir:max [ fhir:v "1" ]
       ] ;
       fhir:type ( [
         fhir:code [ fhir:v "CodeableConcept" ]
       ] ) ;
       fhir:constraint ( [
         fhir:key [ fhir:v "ele-1" ] ;
         fhir:severity [ fhir:v "error" ] ;
         fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
         fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
         fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element" ]
       ] ) ;
       fhir:mustSupport [ fhir:v "false" ] ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:isSummary [ fhir:v "false" ] ;
       fhir:binding [
         fhir:extension ( [
           fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName" ] ;
           fhir:value [ fhir:v "MeasurePopulationType" ]
         ] ) ;
         fhir:strength [ fhir:v "extensible" ] ;
         fhir:description [ fhir:v "The type of population." ] ;
         fhir:valueSet [ fhir:v "http://hl7.org/fhir/ValueSet/measure-population" ]
       ] ;
       fhir:mapping ( [
         fhir:identity [ fhir:v "rim" ] ;
         fhir:map [ fhir:v ".code" ]
       ] )
     ] [
       fhir:id [ fhir:v "Measure.group.population.description" ] ;
       fhir:path [ fhir:v "Measure.group.population.description" ] ;
       fhir:short [ fhir:v "The human readable description of this population criteria" ] ;
       fhir:definition [ fhir:v "The human readable description of this population criteria." ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "1" ] ;
       fhir:base [
         fhir:path [ fhir:v "Measure.group.population.description" ] ;
         fhir:min [ fhir:v "0" ] ;
         fhir:max [ fhir:v "1" ]
       ] ;
       fhir:type ( [
         fhir:code [ fhir:v "markdown" ]
       ] ) ;
       fhir:constraint ( [
         fhir:key [ fhir:v "ele-1" ] ;
         fhir:severity [ fhir:v "error" ] ;
         fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
         fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
         fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element" ]
       ] ) ;
       fhir:mustSupport [ fhir:v "false" ] ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:isSummary [ fhir:v "false" ] ;
       fhir:mapping ( [
         fhir:identity [ fhir:v "rim" ] ;
         fhir:map [ fhir:v ".text" ]
       ] )
     ] [
       fhir:id [ fhir:v "Measure.group.population.criteria" ] ;
       fhir:path [ fhir:v "Measure.group.population.criteria" ] ;
       fhir:short [ fhir:v "The criteria that defines this population" ] ;
       fhir:definition [ fhir:v "An expression that specifies the criteria for the population, typically the name of an expression in a library." ] ;
       fhir:comment [ fhir:v "In the case of a continuous-variable or ratio measure, this may be the name of a function that calculates the value of the individual observation for each patient or event in the population. For these types of measures, individual observations are reported as observation resources included in the evaluatedResources bundle for each patient. See the MeasureReport resource or the Quality Reporting topic for more information." ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "1" ] ;
       fhir:base [
         fhir:path [ fhir:v "Measure.group.population.criteria" ] ;
         fhir:min [ fhir:v "0" ] ;
         fhir:max [ fhir:v "1" ]
       ] ;
       fhir:type ( [
         fhir:code [ fhir:v "Expression" ]
       ] ) ;
       fhir:constraint ( [
         fhir:key [ fhir:v "ele-1" ] ;
         fhir:severity [ fhir:v "error" ] ;
         fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
         fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
         fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element" ]
       ] ) ;
       fhir:mustSupport [ fhir:v "false" ] ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:isSummary [ fhir:v "false" ] ;
       fhir:mapping ( [
         fhir:identity [ fhir:v "rim" ] ;
         fhir:map [ fhir:v "N/A (to add?)" ]
       ] )
     ] [
       fhir:id [ fhir:v "Measure.group.population.groupDefinition" ] ;
       fhir:path [ fhir:v "Measure.group.population.groupDefinition" ] ;
       fhir:short [ fhir:v "A group resource that defines this population" ] ;
       fhir:definition [ fhir:v "A Group resource that defines this population as a set of characteristics." ] ;
       fhir:comment [ fhir:v "Note that this approach can only be used for measures where the basis is of the same type as the populations (e.g. a Patient-based measure, rather than an Encounter-based measure). In addition, the referenced Group resource SHALL be a definitional (as opposed to an actual) group." ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "1" ] ;
       fhir:base [
         fhir:path [ fhir:v "Measure.group.population.groupDefinition" ] ;
         fhir:min [ fhir:v "0" ] ;
         fhir:max [ fhir:v "1" ]
       ] ;
       fhir:type ( [
         fhir:code [ fhir:v "Reference" ] ;
         fhir:targetProfile ( [ fhir:v "http://hl7.org/fhir/StructureDefinition/Group" ] )
       ] ) ;
       fhir:constraint ( [
         fhir:key [ fhir:v "ele-1" ] ;
         fhir:severity [ fhir:v "error" ] ;
         fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
         fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
         fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element" ]
       ] ) ;
       fhir:mustSupport [ fhir:v "false" ] ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:isSummary [ fhir:v "false" ] ;
       fhir:mapping ( [
         fhir:identity [ fhir:v "rim" ] ;
         fhir:map [ fhir:v "N/A (to add?)" ]
       ] )
     ] [
       fhir:id [ fhir:v "Measure.group.population.inputPopulationId" ] ;
       fhir:path [ fhir:v "Measure.group.population.inputPopulationId" ] ;
       fhir:short [ fhir:v "Which population" ] ;
       fhir:definition [ fhir:v "The id of a population element in this measure that provides the input for this population criteria. In most cases, the scoring structure of the measure implies specific relationships (e.g. the Numerator uses the Denominator as the source in a proportion scoring). In some cases, however, multiple possible choices exist and must be resolved explicitly. For example in a ratio measure with multiple initial populations, the denominator must specify which population should be used as the starting point." ] ;
       fhir:requirements [ fhir:v "For ratio and continuous variable measures, the source populations must be specified explicitly when they cannot be unambiguously determined from the scoring structure." ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "1" ] ;
       fhir:base [
         fhir:path [ fhir:v "Measure.group.population.inputPopulationId" ] ;
         fhir:min [ fhir:v "0" ] ;
         fhir:max [ fhir:v "1" ]
       ] ;
       fhir:type ( [
         fhir:code [ fhir:v "string" ]
       ] ) ;
       fhir:constraint ( [
         fhir:key [ fhir:v "ele-1" ] ;
         fhir:severity [ fhir:v "error" ] ;
         fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
         fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
         fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element" ]
       ] ) ;
       fhir:mustSupport [ fhir:v "false" ] ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:isSummary [ fhir:v "false" ] ;
       fhir:mapping ( [
         fhir:identity [ fhir:v "rim" ] ;
         fhir:map [ fhir:v "N/A (to add?)" ]
       ] )
     ] [
       fhir:id [ fhir:v "Measure.group.population.aggregateMethod" ] ;
       fhir:path [ fhir:v "Measure.group.population.aggregateMethod" ] ;
       fhir:short [ fhir:v "Aggregation method for a measure score (e.g. sum, average, median, minimum, maximum, count)" ] ;
       fhir:definition [ fhir:v "Specifies which method should be used to aggregate measure observation values. For most scoring types, this is implied by scoring (e.g. a proportion measure counts members of the populations). For continuous variables, however, this information must be specified to ensure correct calculation." ] ;
       fhir:requirements [ fhir:v "For continuous variable measures, specifications must be able to indicate the aggregation method to be used for tallying results from individual observations." ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "1" ] ;
       fhir:base [
         fhir:path [ fhir:v "Measure.group.population.aggregateMethod" ] ;
         fhir:min [ fhir:v "0" ] ;
         fhir:max [ fhir:v "1" ]
       ] ;
       fhir:type ( [
         fhir:code [ fhir:v "CodeableConcept" ]
       ] ) ;
       fhir:constraint ( [
         fhir:key [ fhir:v "ele-1" ] ;
         fhir:severity [ fhir:v "error" ] ;
         fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
         fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
         fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element" ]
       ] ) ;
       fhir:mustSupport [ fhir:v "false" ] ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:isSummary [ fhir:v "false" ] ;
       fhir:binding [
         fhir:extension ( [
           fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName" ] ;
           fhir:value [ fhir:v "MeasureAggregateMethod" ]
         ] ) ;
         fhir:strength [ fhir:v "extensible" ] ;
         fhir:valueSet [ fhir:v "http://hl7.org/fhir/ValueSet/measure-aggregate-method" ]
       ] ;
       fhir:mapping ( [
         fhir:identity [ fhir:v "rim" ] ;
         fhir:map [ fhir:v "N/A (to add?)" ]
       ] )
     ] [
       fhir:id [ fhir:v "Measure.group.stratifier" ] ;
       fhir:path [ fhir:v "Measure.group.stratifier" ] ;
       fhir:short [ fhir:v "Stratifier criteria for the measure" ] ;
       fhir:definition [ fhir:v "The stratifier criteria for the measure report, specified as either the name of a valid CQL expression defined within a referenced library or a valid FHIR Resource Path." ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "*" ] ;
       fhir:base [
         fhir:path [ fhir:v "Measure.group.stratifier" ] ;
         fhir:min [ fhir:v "0" ] ;
         fhir:max [ fhir:v "*" ]
       ] ;
       fhir:type ( [
         fhir:code [ fhir:v "BackboneElement" ]
       ] ) ;
       fhir:condition ( [ fhir:v "mea-1" ] ) ;
       fhir:constraint ( [
         fhir:key [ fhir:v "ele-1" ] ;
         fhir:severity [ fhir:v "error" ] ;
         fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
         fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
         fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element" ]
       ] ) ;
       fhir:mustSupport [ fhir:v "false" ] ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:isSummary [ fhir:v "false" ] ;
       fhir:mapping ( [
         fhir:identity [ fhir:v "rim" ] ;
         fhir:map [ fhir:v ".outboundRelationship[typeCode=COMP]" ]
       ] )
     ] [
       fhir:id [ fhir:v "Measure.group.stratifier.id" ] ;
       fhir:path [ fhir:v "Measure.group.stratifier.id" ] ;
       fhir:representation ( [ fhir:v "xmlAttr" ] ) ;
       fhir:short [ fhir:v "Unique id for inter-element referencing" ] ;
       fhir:definition [ fhir:v "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "1" ] ;
       fhir:base [
         fhir:path [ fhir:v "Element.id" ] ;
         fhir:min [ fhir:v "0" ] ;
         fhir:max [ fhir:v "1" ]
       ] ;
       fhir:type ( [
         fhir:extension ( [
           fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type" ] ;
           fhir:value [ fhir:v "string" ]
         ] ) ;
         fhir:code [ fhir:v "http://hl7.org/fhirpath/System.String" ]
       ] ) ;
       fhir:condition ( [ fhir:v "ele-1" ] ) ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:isSummary [ fhir:v "false" ] ;
       fhir:mapping ( [
         fhir:identity [ fhir:v "rim" ] ;
         fhir:map [ fhir:v "n/a" ]
       ] )
     ] [
       fhir:id [ fhir:v "Measure.group.stratifier.extension" ] ;
       fhir:path [ fhir:v "Measure.group.stratifier.extension" ] ;
       fhir:short [ fhir:v "Additional content defined by implementations" ] ;
       fhir:definition [ fhir:v "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 managable, 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:comment [ fhir:v "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:alias ( [ fhir:v "extensions" ] [ fhir:v "user content" ] ) ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "*" ] ;
       fhir:base [
         fhir:path [ fhir:v "Element.extension" ] ;
         fhir:min [ fhir:v "0" ] ;
         fhir:max [ fhir:v "*" ]
       ] ;
       fhir:type ( [
         fhir:code [ fhir:v "Extension" ]
       ] ) ;
       fhir:constraint ( [
         fhir:key [ fhir:v "ele-1" ] ;
         fhir:severity [ fhir:v "error" ] ;
         fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
         fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
         fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element" ]
       ] [
         fhir:key [ fhir:v "ext-1" ] ;
         fhir:severity [ fhir:v "error" ] ;
         fhir:human [ fhir:v "Must have either extensions or value[x], not both" ] ;
         fhir:expression [ fhir:v "extension.exists() != value.exists()" ] ;
         fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Extension" ]
       ] ) ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:isSummary [ fhir:v "false" ] ;
       fhir:mapping ( [
         fhir:identity [ fhir:v "rim" ] ;
         fhir:map [ fhir:v "n/a" ]
       ] )
     ] [
       fhir:id [ fhir:v "Measure.group.stratifier.modifierExtension" ] ;
       fhir:path [ fhir:v "Measure.group.stratifier.modifierExtension" ] ;
       fhir:short [ fhir:v "Extensions that cannot be ignored even if unrecognized" ] ;
       fhir:definition [ fhir:v "May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and managable, 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. Applications processing a resource are required to check for modifier extensions.\n\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself)." ] ;
       fhir:comment [ fhir:v "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:requirements [ fhir:v "Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored.  This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](extensibility.html#modifierExtension)." ] ;
       fhir:alias ( [ fhir:v "extensions" ] [ fhir:v "user content" ] [ fhir:v "modifiers" ] ) ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "*" ] ;
       fhir:base [
         fhir:path [ fhir:v "BackboneElement.modifierExtension" ] ;
         fhir:min [ fhir:v "0" ] ;
         fhir:max [ fhir:v "*" ]
       ] ;
       fhir:type ( [
         fhir:code [ fhir:v "Extension" ]
       ] ) ;
       fhir:constraint ( [
         fhir:key [ fhir:v "ele-1" ] ;
         fhir:severity [ fhir:v "error" ] ;
         fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
         fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
         fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element" ]
       ] [
         fhir:key [ fhir:v "ext-1" ] ;
         fhir:severity [ fhir:v "error" ] ;
         fhir:human [ fhir:v "Must have either extensions or value[x], not both" ] ;
         fhir:expression [ fhir:v "extension.exists() != value.exists()" ] ;
         fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Extension" ]
       ] ) ;
       fhir:isModifier [ fhir:v "true" ] ;
       fhir:isModifierReason [ fhir:v "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them" ] ;
       fhir:isSummary [ fhir:v "true" ] ;
       fhir:mapping ( [
         fhir:identity [ fhir:v "rim" ] ;
         fhir:map [ fhir:v "N/A" ]
       ] )
     ] [
       fhir:id [ fhir:v "Measure.group.stratifier.linkId" ] ;
       fhir:path [ fhir:v "Measure.group.stratifier.linkId" ] ;
       fhir:short [ fhir:v "Unique id for stratifier in measure" ] ;
       fhir:definition [ fhir:v "An identifier that is unique within the Measure allowing linkage to the equivalent item in a MeasureReport resource." ] ;
       fhir:comment [ fhir:v "This ''can'' be a meaningful identifier (e.g. a LOINC code) but is not intended to have any meaning.  GUIDs or sequential numbers are appropriate here.\n\nLinkIds can have whitespaces and slashes by design. Tooling should not rely on linkIds being valid XHTML element IDs, and should not directly embed them as such" ] ;
       fhir:requirements [ fhir:v "[MeasureReport](measurereport.html#) does not require omitted stratifiers to be included." ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "1" ] ;
       fhir:base [
         fhir:path [ fhir:v "Measure.group.stratifier.linkId" ] ;
         fhir:min [ fhir:v "0" ] ;
         fhir:max [ fhir:v "1" ]
       ] ;
       fhir:type ( [
         fhir:code [ fhir:v "string" ]
       ] ) ;
       fhir:constraint ( [
         fhir:key [ fhir:v "ele-1" ] ;
         fhir:severity [ fhir:v "error" ] ;
         fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
         fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
         fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element" ]
       ] [
         fhir:key [ fhir:v "mea-4" ] ;
         fhir:severity [ fhir:v "warning" ] ;
         fhir:human [ fhir:v "Link ids should be 255 characters or less" ] ;
         fhir:expression [ fhir:v "$this.length() <= 255" ] ;
         fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Measure" ]
       ] ) ;
       fhir:mustSupport [ fhir:v "false" ] ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:isSummary [ fhir:v "false" ] ;
       fhir:mapping ( [
         fhir:identity [ fhir:v "rim" ] ;
         fhir:map [ fhir:v ".id" ]
       ] )
     ] [
       fhir:id [ fhir:v "Measure.group.stratifier.code" ] ;
       fhir:path [ fhir:v "Measure.group.stratifier.code" ] ;
       fhir:short [ fhir:v "Meaning of the stratifier" ] ;
       fhir:definition [ fhir:v "Indicates a meaning for the stratifier. This can be as simple as a unique identifier, or it can establish meaning in a broader context by drawing from a terminology, allowing stratifiers to be correlated across measures." ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "1" ] ;
       fhir:base [
         fhir:path [ fhir:v "Measure.group.stratifier.code" ] ;
         fhir:min [ fhir:v "0" ] ;
         fhir:max [ fhir:v "1" ]
       ] ;
       fhir:type ( [
         fhir:code [ fhir:v "CodeableConcept" ]
       ] ) ;
       fhir:condition ( [ fhir:v "mea-1" ] ) ;
       fhir:constraint ( [
         fhir:key [ fhir:v "ele-1" ] ;
         fhir:severity [ fhir:v "error" ] ;
         fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
         fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
         fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element" ]
       ] ) ;
       fhir:mustSupport [ fhir:v "false" ] ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:isSummary [ fhir:v "false" ] ;
       fhir:binding [
         fhir:extension ( [
           fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName" ] ;
           fhir:value [ fhir:v "MeasureStratifierExample" ]
         ] ) ;
         fhir:strength [ fhir:v "example" ] ;
         fhir:description [ fhir:v "Meaning of the stratifier." ] ;
         fhir:valueSet [ fhir:v "http://hl7.org/fhir/ValueSet/measure-stratifier-example" ]
       ] ;
       fhir:mapping ( [
         fhir:identity [ fhir:v "rim" ] ;
         fhir:map [ fhir:v ".code" ]
       ] )
     ] [
       fhir:id [ fhir:v "Measure.group.stratifier.description" ] ;
       fhir:path [ fhir:v "Measure.group.stratifier.description" ] ;
       fhir:short [ fhir:v "The human readable description of this stratifier" ] ;
       fhir:definition [ fhir:v "The human readable description of this stratifier criteria." ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "1" ] ;
       fhir:base [
         fhir:path [ fhir:v "Measure.group.stratifier.description" ] ;
         fhir:min [ fhir:v "0" ] ;
         fhir:max [ fhir:v "1" ]
       ] ;
       fhir:type ( [
         fhir:code [ fhir:v "markdown" ]
       ] ) ;
       fhir:condition ( [ fhir:v "mea-1" ] ) ;
       fhir:constraint ( [
         fhir:key [ fhir:v "ele-1" ] ;
         fhir:severity [ fhir:v "error" ] ;
         fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
         fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
         fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element" ]
       ] ) ;
       fhir:mustSupport [ fhir:v "false" ] ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:isSummary [ fhir:v "false" ] ;
       fhir:mapping ( [
         fhir:identity [ fhir:v "rim" ] ;
         fhir:map [ fhir:v ".text" ]
       ] )
     ] [
       fhir:id [ fhir:v "Measure.group.stratifier.criteria" ] ;
       fhir:path [ fhir:v "Measure.group.stratifier.criteria" ] ;
       fhir:short [ fhir:v "How the measure should be stratified" ] ;
       fhir:definition [ fhir:v "An expression that specifies the criteria for the stratifier. This is typically the name of an expression defined within a referenced library, but it may also be a path to a stratifier element." ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "1" ] ;
       fhir:base [
         fhir:path [ fhir:v "Measure.group.stratifier.criteria" ] ;
         fhir:min [ fhir:v "0" ] ;
         fhir:max [ fhir:v "1" ]
       ] ;
       fhir:type ( [
         fhir:code [ fhir:v "Expression" ]
       ] ) ;
       fhir:condition ( [ fhir:v "mea-1" ] ) ;
       fhir:constraint ( [
         fhir:key [ fhir:v "ele-1" ] ;
         fhir:severity [ fhir:v "error" ] ;
         fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
         fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
         fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element" ]
       ] ) ;
       fhir:mustSupport [ fhir:v "false" ] ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:isSummary [ fhir:v "false" ] ;
       fhir:mapping ( [
         fhir:identity [ fhir:v "rim" ] ;
         fhir:map [ fhir:v "N/A (to add?)" ]
       ] )
     ] [
       fhir:id [ fhir:v "Measure.group.stratifier.groupDefinition" ] ;
       fhir:path [ fhir:v "Measure.group.stratifier.groupDefinition" ] ;
       fhir:short [ fhir:v "A group resource that defines this population" ] ;
       fhir:definition [ fhir:v "A Group resource that defines this population as a set of characteristics." ] ;
       fhir:comment [ fhir:v "Note that this approach can only be used for measures where the basis is of the same type as the populations (e.g. a Patient-based measure, rather than an Encounter-based measure). In addition, the referenced Group SHALL be a definitional (as opposed to an actual) group." ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "1" ] ;
       fhir:base [
         fhir:path [ fhir:v "Measure.group.stratifier.groupDefinition" ] ;
         fhir:min [ fhir:v "0" ] ;
         fhir:max [ fhir:v "1" ]
       ] ;
       fhir:type ( [
         fhir:code [ fhir:v "Reference" ] ;
         fhir:targetProfile ( [ fhir:v "http://hl7.org/fhir/StructureDefinition/Group" ] )
       ] ) ;
       fhir:constraint ( [
         fhir:key [ fhir:v "ele-1" ] ;
         fhir:severity [ fhir:v "error" ] ;
         fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
         fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
         fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element" ]
       ] ) ;
       fhir:mustSupport [ fhir:v "false" ] ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:isSummary [ fhir:v "false" ] ;
       fhir:mapping ( [
         fhir:identity [ fhir:v "rim" ] ;
         fhir:map [ fhir:v "N/A (to add?)" ]
       ] )
     ] [
       fhir:id [ fhir:v "Measure.group.stratifier.component" ] ;
       fhir:path [ fhir:v "Measure.group.stratifier.component" ] ;
       fhir:short [ fhir:v "Stratifier criteria component for the measure" ] ;
       fhir:definition [ fhir:v "A component of the stratifier criteria for the measure report, specified as either the name of a valid CQL expression defined within a referenced library or a valid FHIR Resource Path." ] ;
       fhir:comment [ fhir:v "Stratifiers are defined either as a single criteria, or as a set of component criteria." ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "*" ] ;
       fhir:base [
         fhir:path [ fhir:v "Measure.group.stratifier.component" ] ;
         fhir:min [ fhir:v "0" ] ;
         fhir:max [ fhir:v "*" ]
       ] ;
       fhir:type ( [
         fhir:code [ fhir:v "BackboneElement" ]
       ] ) ;
       fhir:condition ( [ fhir:v "mea-1" ] ) ;
       fhir:constraint ( [
         fhir:key [ fhir:v "ele-1" ] ;
         fhir:severity [ fhir:v "error" ] ;
         fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
         fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
         fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element" ]
       ] ) ;
       fhir:mustSupport [ fhir:v "false" ] ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:isSummary [ fhir:v "false" ] ;
       fhir:mapping ( [
         fhir:identity [ fhir:v "rim" ] ;
         fhir:map [ fhir:v ".outboundRelationship[typeCode=COMP]" ]
       ] )
     ] [
       fhir:id [ fhir:v "Measure.group.stratifier.component.id" ] ;
       fhir:path [ fhir:v "Measure.group.stratifier.component.id" ] ;
       fhir:representation ( [ fhir:v "xmlAttr" ] ) ;
       fhir:short [ fhir:v "Unique id for inter-element referencing" ] ;
       fhir:definition [ fhir:v "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "1" ] ;
       fhir:base [
         fhir:path [ fhir:v "Element.id" ] ;
         fhir:min [ fhir:v "0" ] ;
         fhir:max [ fhir:v "1" ]
       ] ;
       fhir:type ( [
         fhir:extension ( [
           fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type" ] ;
           fhir:value [ fhir:v "string" ]
         ] ) ;
         fhir:code [ fhir:v "http://hl7.org/fhirpath/System.String" ]
       ] ) ;
       fhir:condition ( [ fhir:v "ele-1" ] ) ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:isSummary [ fhir:v "false" ] ;
       fhir:mapping ( [
         fhir:identity [ fhir:v "rim" ] ;
         fhir:map [ fhir:v "n/a" ]
       ] )
     ] [
       fhir:id [ fhir:v "Measure.group.stratifier.component.extension" ] ;
       fhir:path [ fhir:v "Measure.group.stratifier.component.extension" ] ;
       fhir:short [ fhir:v "Additional content defined by implementations" ] ;
       fhir:definition [ fhir:v "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 managable, 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:comment [ fhir:v "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:alias ( [ fhir:v "extensions" ] [ fhir:v "user content" ] ) ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "*" ] ;
       fhir:base [
         fhir:path [ fhir:v "Element.extension" ] ;
         fhir:min [ fhir:v "0" ] ;
         fhir:max [ fhir:v "*" ]
       ] ;
       fhir:type ( [
         fhir:code [ fhir:v "Extension" ]
       ] ) ;
       fhir:constraint ( [
         fhir:key [ fhir:v "ele-1" ] ;
         fhir:severity [ fhir:v "error" ] ;
         fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
         fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
         fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element" ]
       ] [
         fhir:key [ fhir:v "ext-1" ] ;
         fhir:severity [ fhir:v "error" ] ;
         fhir:human [ fhir:v "Must have either extensions or value[x], not both" ] ;
         fhir:expression [ fhir:v "extension.exists() != value.exists()" ] ;
         fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Extension" ]
       ] ) ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:isSummary [ fhir:v "false" ] ;
       fhir:mapping ( [
         fhir:identity [ fhir:v "rim" ] ;
         fhir:map [ fhir:v "n/a" ]
       ] )
     ] [
       fhir:id [ fhir:v "Measure.group.stratifier.component.modifierExtension" ] ;
       fhir:path [ fhir:v "Measure.group.stratifier.component.modifierExtension" ] ;
       fhir:short [ fhir:v "Extensions that cannot be ignored even if unrecognized" ] ;
       fhir:definition [ fhir:v "May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and managable, 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. Applications processing a resource are required to check for modifier extensions.\n\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself)." ] ;
       fhir:comment [ fhir:v "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:requirements [ fhir:v "Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored.  This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](extensibility.html#modifierExtension)." ] ;
       fhir:alias ( [ fhir:v "extensions" ] [ fhir:v "user content" ] [ fhir:v "modifiers" ] ) ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "*" ] ;
       fhir:base [
         fhir:path [ fhir:v "BackboneElement.modifierExtension" ] ;
         fhir:min [ fhir:v "0" ] ;
         fhir:max [ fhir:v "*" ]
       ] ;
       fhir:type ( [
         fhir:code [ fhir:v "Extension" ]
       ] ) ;
       fhir:constraint ( [
         fhir:key [ fhir:v "ele-1" ] ;
         fhir:severity [ fhir:v "error" ] ;
         fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
         fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
         fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element" ]
       ] [
         fhir:key [ fhir:v "ext-1" ] ;
         fhir:severity [ fhir:v "error" ] ;
         fhir:human [ fhir:v "Must have either extensions or value[x], not both" ] ;
         fhir:expression [ fhir:v "extension.exists() != value.exists()" ] ;
         fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Extension" ]
       ] ) ;
       fhir:isModifier [ fhir:v "true" ] ;
       fhir:isModifierReason [ fhir:v "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them" ] ;
       fhir:isSummary [ fhir:v "true" ] ;
       fhir:mapping ( [
         fhir:identity [ fhir:v "rim" ] ;
         fhir:map [ fhir:v "N/A" ]
       ] )
     ] [
       fhir:id [ fhir:v "Measure.group.stratifier.component.linkId" ] ;
       fhir:path [ fhir:v "Measure.group.stratifier.component.linkId" ] ;
       fhir:short [ fhir:v "Unique id for stratifier component in measure" ] ;
       fhir:definition [ fhir:v "An identifier that is unique within the Measure allowing linkage to the equivalent item in a MeasureReport resource." ] ;
       fhir:comment [ fhir:v "This ''can'' be a meaningful identifier (e.g. a LOINC code) but is not intended to have any meaning.  GUIDs or sequential numbers are appropriate here.\n\nLinkIds can have whitespaces and slashes by design. Tooling should not rely on linkIds being valid XHTML element IDs, and should not directly embed them as such" ] ;
       fhir:requirements [ fhir:v "[MeasureReport](measurereport.html#) does not require omitted stratifier components to be included." ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "1" ] ;
       fhir:base [
         fhir:path [ fhir:v "Measure.group.stratifier.component.linkId" ] ;
         fhir:min [ fhir:v "0" ] ;
         fhir:max [ fhir:v "1" ]
       ] ;
       fhir:type ( [
         fhir:code [ fhir:v "string" ]
       ] ) ;
       fhir:constraint ( [
         fhir:key [ fhir:v "ele-1" ] ;
         fhir:severity [ fhir:v "error" ] ;
         fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
         fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
         fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element" ]
       ] [
         fhir:key [ fhir:v "mea-5" ] ;
         fhir:severity [ fhir:v "warning" ] ;
         fhir:human [ fhir:v "Link ids should be 255 characters or less" ] ;
         fhir:expression [ fhir:v "$this.length() <= 255" ] ;
         fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Measure" ]
       ] ) ;
       fhir:mustSupport [ fhir:v "false" ] ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:isSummary [ fhir:v "false" ] ;
       fhir:mapping ( [
         fhir:identity [ fhir:v "rim" ] ;
         fhir:map [ fhir:v ".id" ]
       ] )
     ] [
       fhir:id [ fhir:v "Measure.group.stratifier.component.code" ] ;
       fhir:path [ fhir:v "Measure.group.stratifier.component.code" ] ;
       fhir:short [ fhir:v "Meaning of the stratifier component" ] ;
       fhir:definition [ fhir:v "Indicates a meaning for the stratifier component. This can be as simple as a unique identifier, or it can establish meaning in a broader context by drawing from a terminology, allowing stratifiers to be correlated across measures." ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "1" ] ;
       fhir:base [
         fhir:path [ fhir:v "Measure.group.stratifier.component.code" ] ;
         fhir:min [ fhir:v "0" ] ;
         fhir:max [ fhir:v "1" ]
       ] ;
       fhir:type ( [
         fhir:code [ fhir:v "CodeableConcept" ]
       ] ) ;
       fhir:constraint ( [
         fhir:key [ fhir:v "ele-1" ] ;
         fhir:severity [ fhir:v "error" ] ;
         fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
         fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
         fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element" ]
       ] ) ;
       fhir:mustSupport [ fhir:v "false" ] ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:isSummary [ fhir:v "false" ] ;
       fhir:binding [
         fhir:extension ( [
           fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName" ] ;
           fhir:value [ fhir:v "MeasureStratifierExample" ]
         ] ) ;
         fhir:strength [ fhir:v "example" ] ;
         fhir:description [ fhir:v "Meaning of the stratifier." ] ;
         fhir:valueSet [ fhir:v "http://hl7.org/fhir/ValueSet/measure-stratifier-example" ]
       ] ;
       fhir:mapping ( [
         fhir:identity [ fhir:v "rim" ] ;
         fhir:map [ fhir:v ".code" ]
       ] )
     ] [
       fhir:id [ fhir:v "Measure.group.stratifier.component.description" ] ;
       fhir:path [ fhir:v "Measure.group.stratifier.component.description" ] ;
       fhir:short [ fhir:v "The human readable description of this stratifier component" ] ;
       fhir:definition [ fhir:v "The human readable description of this stratifier criteria component." ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "1" ] ;
       fhir:base [
         fhir:path [ fhir:v "Measure.group.stratifier.component.description" ] ;
         fhir:min [ fhir:v "0" ] ;
         fhir:max [ fhir:v "1" ]
       ] ;
       fhir:type ( [
         fhir:code [ fhir:v "markdown" ]
       ] ) ;
       fhir:constraint ( [
         fhir:key [ fhir:v "ele-1" ] ;
         fhir:severity [ fhir:v "error" ] ;
         fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
         fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
         fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element" ]
       ] ) ;
       fhir:mustSupport [ fhir:v "false" ] ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:isSummary [ fhir:v "false" ] ;
       fhir:mapping ( [
         fhir:identity [ fhir:v "rim" ] ;
         fhir:map [ fhir:v ".text" ]
       ] )
     ] [
       fhir:id [ fhir:v "Measure.group.stratifier.component.criteria" ] ;
       fhir:path [ fhir:v "Measure.group.stratifier.component.criteria" ] ;
       fhir:short [ fhir:v "Component of how the measure should be stratified" ] ;
       fhir:definition [ fhir:v "An expression that specifies the criteria for this component of the stratifier. This is typically the name of an expression defined within a referenced library, but it may also be a path to a stratifier element." ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "1" ] ;
       fhir:base [
         fhir:path [ fhir:v "Measure.group.stratifier.component.criteria" ] ;
         fhir:min [ fhir:v "0" ] ;
         fhir:max [ fhir:v "1" ]
       ] ;
       fhir:type ( [
         fhir:code [ fhir:v "Expression" ]
       ] ) ;
       fhir:constraint ( [
         fhir:key [ fhir:v "ele-1" ] ;
         fhir:severity [ fhir:v "error" ] ;
         fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
         fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
         fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element" ]
       ] ) ;
       fhir:mustSupport [ fhir:v "false" ] ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:isSummary [ fhir:v "false" ] ;
       fhir:mapping ( [
         fhir:identity [ fhir:v "rim" ] ;
         fhir:map [ fhir:v "N/A (to add?)" ]
       ] )
     ] [
       fhir:id [ fhir:v "Measure.group.stratifier.component.groupDefinition" ] ;
       fhir:path [ fhir:v "Measure.group.stratifier.component.groupDefinition" ] ;
       fhir:short [ fhir:v "A group resource that defines this population" ] ;
       fhir:definition [ fhir:v "A Group resource that defines this population as a set of characteristics." ] ;
       fhir:comment [ fhir:v "Note that this approach can only be used for measures where the basis is of the same type as the populations (e.g. a Patient-based measure, rather than an Encounter-based measure). In addition, the referenced Group SHALL be a definitional (as opposed to an actual) group." ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "1" ] ;
       fhir:base [
         fhir:path [ fhir:v "Measure.group.stratifier.component.groupDefinition" ] ;
         fhir:min [ fhir:v "0" ] ;
         fhir:max [ fhir:v "1" ]
       ] ;
       fhir:type ( [
         fhir:code [ fhir:v "Reference" ] ;
         fhir:targetProfile ( [ fhir:v "http://hl7.org/fhir/StructureDefinition/Group" ] )
       ] ) ;
       fhir:constraint ( [
         fhir:key [ fhir:v "ele-1" ] ;
         fhir:severity [ fhir:v "error" ] ;
         fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
         fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
         fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element" ]
       ] ) ;
       fhir:mustSupport [ fhir:v "false" ] ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:isSummary [ fhir:v "false" ] ;
       fhir:mapping ( [
         fhir:identity [ fhir:v "rim" ] ;
         fhir:map [ fhir:v "N/A (to add?)" ]
       ] )
     ] [
       fhir:id [ fhir:v "Measure.supplementalData" ] ;
       fhir:path [ fhir:v "Measure.supplementalData" ] ;
       fhir:short [ fhir:v "What other data should be reported with the measure" ] ;
       fhir:definition [ fhir:v "The supplemental data criteria for the measure report, specified as either the name of a valid CQL expression within a referenced library, or a valid FHIR Resource Path." ] ;
       fhir:comment [ fhir:v "Note that supplemental data are reported as observations for each patient and included in the evaluatedResources bundle. See the MeasureReport resource or the Quality Reporting topic for more information." ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "*" ] ;
       fhir:base [
         fhir:path [ fhir:v "Measure.supplementalData" ] ;
         fhir:min [ fhir:v "0" ] ;
         fhir:max [ fhir:v "*" ]
       ] ;
       fhir:type ( [
         fhir:code [ fhir:v "BackboneElement" ]
       ] ) ;
       fhir:constraint ( [
         fhir:key [ fhir:v "ele-1" ] ;
         fhir:severity [ fhir:v "error" ] ;
         fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
         fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
         fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element" ]
       ] ) ;
       fhir:mustSupport [ fhir:v "false" ] ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:isSummary [ fhir:v "false" ] ;
       fhir:mapping ( [
         fhir:identity [ fhir:v "rim" ] ;
         fhir:map [ fhir:v ".outboundRelationship[typeCode=COMP]" ]
       ] )
     ] [
       fhir:id [ fhir:v "Measure.supplementalData.id" ] ;
       fhir:path [ fhir:v "Measure.supplementalData.id" ] ;
       fhir:representation ( [ fhir:v "xmlAttr" ] ) ;
       fhir:short [ fhir:v "Unique id for inter-element referencing" ] ;
       fhir:definition [ fhir:v "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "1" ] ;
       fhir:base [
         fhir:path [ fhir:v "Element.id" ] ;
         fhir:min [ fhir:v "0" ] ;
         fhir:max [ fhir:v "1" ]
       ] ;
       fhir:type ( [
         fhir:extension ( [
           fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type" ] ;
           fhir:value [ fhir:v "string" ]
         ] ) ;
         fhir:code [ fhir:v "http://hl7.org/fhirpath/System.String" ]
       ] ) ;
       fhir:condition ( [ fhir:v "ele-1" ] ) ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:isSummary [ fhir:v "false" ] ;
       fhir:mapping ( [
         fhir:identity [ fhir:v "rim" ] ;
         fhir:map [ fhir:v "n/a" ]
       ] )
     ] [
       fhir:id [ fhir:v "Measure.supplementalData.extension" ] ;
       fhir:path [ fhir:v "Measure.supplementalData.extension" ] ;
       fhir:short [ fhir:v "Additional content defined by implementations" ] ;
       fhir:definition [ fhir:v "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 managable, 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:comment [ fhir:v "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:alias ( [ fhir:v "extensions" ] [ fhir:v "user content" ] ) ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "*" ] ;
       fhir:base [
         fhir:path [ fhir:v "Element.extension" ] ;
         fhir:min [ fhir:v "0" ] ;
         fhir:max [ fhir:v "*" ]
       ] ;
       fhir:type ( [
         fhir:code [ fhir:v "Extension" ]
       ] ) ;
       fhir:constraint ( [
         fhir:key [ fhir:v "ele-1" ] ;
         fhir:severity [ fhir:v "error" ] ;
         fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
         fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
         fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element" ]
       ] [
         fhir:key [ fhir:v "ext-1" ] ;
         fhir:severity [ fhir:v "error" ] ;
         fhir:human [ fhir:v "Must have either extensions or value[x], not both" ] ;
         fhir:expression [ fhir:v "extension.exists() != value.exists()" ] ;
         fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Extension" ]
       ] ) ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:isSummary [ fhir:v "false" ] ;
       fhir:mapping ( [
         fhir:identity [ fhir:v "rim" ] ;
         fhir:map [ fhir:v "n/a" ]
       ] )
     ] [
       fhir:id [ fhir:v "Measure.supplementalData.modifierExtension" ] ;
       fhir:path [ fhir:v "Measure.supplementalData.modifierExtension" ] ;
       fhir:short [ fhir:v "Extensions that cannot be ignored even if unrecognized" ] ;
       fhir:definition [ fhir:v "May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and managable, 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. Applications processing a resource are required to check for modifier extensions.\n\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself)." ] ;
       fhir:comment [ fhir:v "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:requirements [ fhir:v "Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored.  This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](extensibility.html#modifierExtension)." ] ;
       fhir:alias ( [ fhir:v "extensions" ] [ fhir:v "user content" ] [ fhir:v "modifiers" ] ) ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "*" ] ;
       fhir:base [
         fhir:path [ fhir:v "BackboneElement.modifierExtension" ] ;
         fhir:min [ fhir:v "0" ] ;
         fhir:max [ fhir:v "*" ]
       ] ;
       fhir:type ( [
         fhir:code [ fhir:v "Extension" ]
       ] ) ;
       fhir:constraint ( [
         fhir:key [ fhir:v "ele-1" ] ;
         fhir:severity [ fhir:v "error" ] ;
         fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
         fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
         fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element" ]
       ] [
         fhir:key [ fhir:v "ext-1" ] ;
         fhir:severity [ fhir:v "error" ] ;
         fhir:human [ fhir:v "Must have either extensions or value[x], not both" ] ;
         fhir:expression [ fhir:v "extension.exists() != value.exists()" ] ;
         fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Extension" ]
       ] ) ;
       fhir:isModifier [ fhir:v "true" ] ;
       fhir:isModifierReason [ fhir:v "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them" ] ;
       fhir:isSummary [ fhir:v "true" ] ;
       fhir:mapping ( [
         fhir:identity [ fhir:v "rim" ] ;
         fhir:map [ fhir:v "N/A" ]
       ] )
     ] [
       fhir:id [ fhir:v "Measure.supplementalData.linkId" ] ;
       fhir:path [ fhir:v "Measure.supplementalData.linkId" ] ;
       fhir:short [ fhir:v "Unique id for supplementalData in measure" ] ;
       fhir:definition [ fhir:v "An identifier that is unique within the Measure allowing linkage to the equivalent item in a MeasureReport resource." ] ;
       fhir:comment [ fhir:v "This ''can'' be a meaningful identifier (e.g. a LOINC code) but is not intended to have any meaning.  GUIDs or sequential numbers are appropriate here.\n\nLinkIds can have whitespaces and slashes by design. Tooling should not rely on linkIds being valid XHTML element IDs, and should not directly embed them as such" ] ;
       fhir:requirements [ fhir:v "[MeasureReport](measurereport.html#) does not require omitted supplementalData to be included." ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "1" ] ;
       fhir:base [
         fhir:path [ fhir:v "Measure.supplementalData.linkId" ] ;
         fhir:min [ fhir:v "0" ] ;
         fhir:max [ fhir:v "1" ]
       ] ;
       fhir:type ( [
         fhir:code [ fhir:v "string" ]
       ] ) ;
       fhir:constraint ( [
         fhir:key [ fhir:v "ele-1" ] ;
         fhir:severity [ fhir:v "error" ] ;
         fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
         fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
         fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element" ]
       ] [
         fhir:key [ fhir:v "mea-6" ] ;
         fhir:severity [ fhir:v "warning" ] ;
         fhir:human [ fhir:v "Link ids should be 255 characters or less" ] ;
         fhir:expression [ fhir:v "$this.length() <= 255" ] ;
         fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Measure" ]
       ] ) ;
       fhir:mustSupport [ fhir:v "false" ] ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:isSummary [ fhir:v "false" ] ;
       fhir:mapping ( [
         fhir:identity [ fhir:v "rim" ] ;
         fhir:map [ fhir:v ".id" ]
       ] )
     ] [
       fhir:id [ fhir:v "Measure.supplementalData.code" ] ;
       fhir:path [ fhir:v "Measure.supplementalData.code" ] ;
       fhir:short [ fhir:v "Meaning of the supplemental data" ] ;
       fhir:definition [ fhir:v "Indicates a meaning for the supplemental data. This can be as simple as a unique identifier, or it can establish meaning in a broader context by drawing from a terminology, allowing supplemental data to be correlated across measures." ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "1" ] ;
       fhir:base [
         fhir:path [ fhir:v "Measure.supplementalData.code" ] ;
         fhir:min [ fhir:v "0" ] ;
         fhir:max [ fhir:v "1" ]
       ] ;
       fhir:type ( [
         fhir:code [ fhir:v "CodeableConcept" ]
       ] ) ;
       fhir:constraint ( [
         fhir:key [ fhir:v "ele-1" ] ;
         fhir:severity [ fhir:v "error" ] ;
         fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
         fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
         fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element" ]
       ] ) ;
       fhir:mustSupport [ fhir:v "false" ] ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:isSummary [ fhir:v "false" ] ;
       fhir:binding [
         fhir:extension ( [
           fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName" ] ;
           fhir:value [ fhir:v "MeasureSupplementalDataExample" ]
         ] ) ;
         fhir:strength [ fhir:v "example" ] ;
         fhir:description [ fhir:v "Meaning of the supplemental data." ] ;
         fhir:valueSet [ fhir:v "http://hl7.org/fhir/ValueSet/measure-supplemental-data-example" ]
       ] ;
       fhir:mapping ( [
         fhir:identity [ fhir:v "rim" ] ;
         fhir:map [ fhir:v ".code" ]
       ] )
     ] [
       fhir:id [ fhir:v "Measure.supplementalData.usage" ] ;
       fhir:path [ fhir:v "Measure.supplementalData.usage" ] ;
       fhir:short [ fhir:v "supplemental-data | risk-adjustment-factor" ] ;
       fhir:definition [ fhir:v "An indicator of the intended usage for the supplemental data element. Supplemental data indicates the data is additional information requested to augment the measure information. Risk adjustment factor indicates the data is additional information used to calculate risk adjustment factors when applying a risk model to the measure calculation." ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "*" ] ;
       fhir:base [
         fhir:path [ fhir:v "Measure.supplementalData.usage" ] ;
         fhir:min [ fhir:v "0" ] ;
         fhir:max [ fhir:v "*" ]
       ] ;
       fhir:type ( [
         fhir:code [ fhir:v "CodeableConcept" ]
       ] ) ;
       fhir:constraint ( [
         fhir:key [ fhir:v "ele-1" ] ;
         fhir:severity [ fhir:v "error" ] ;
         fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
         fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
         fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element" ]
       ] ) ;
       fhir:mustSupport [ fhir:v "false" ] ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:isSummary [ fhir:v "false" ] ;
       fhir:binding [
         fhir:extension ( [
           fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName" ] ;
           fhir:value [ fhir:v "MeasureDataUsage" ]
         ] ) ;
         fhir:strength [ fhir:v "extensible" ] ;
         fhir:description [ fhir:v "The intended usage for supplemental data elements in the measure." ] ;
         fhir:valueSet [ fhir:v "http://hl7.org/fhir/ValueSet/measure-data-usage" ]
       ] ;
       fhir:mapping ( [
         fhir:identity [ fhir:v "rim" ] ;
         fhir:map [ fhir:v ".methodCode" ]
       ] )
     ] [
       fhir:id [ fhir:v "Measure.supplementalData.description" ] ;
       fhir:path [ fhir:v "Measure.supplementalData.description" ] ;
       fhir:short [ fhir:v "The human readable description of this supplemental data" ] ;
       fhir:definition [ fhir:v "The human readable description of this supplemental data." ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "1" ] ;
       fhir:base [
         fhir:path [ fhir:v "Measure.supplementalData.description" ] ;
         fhir:min [ fhir:v "0" ] ;
         fhir:max [ fhir:v "1" ]
       ] ;
       fhir:type ( [
         fhir:code [ fhir:v "markdown" ]
       ] ) ;
       fhir:constraint ( [
         fhir:key [ fhir:v "ele-1" ] ;
         fhir:severity [ fhir:v "error" ] ;
         fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
         fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
         fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element" ]
       ] ) ;
       fhir:mustSupport [ fhir:v "false" ] ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:isSummary [ fhir:v "false" ] ;
       fhir:mapping ( [
         fhir:identity [ fhir:v "rim" ] ;
         fhir:map [ fhir:v ".text" ]
       ] )
     ] [
       fhir:id [ fhir:v "Measure.supplementalData.criteria" ] ;
       fhir:path [ fhir:v "Measure.supplementalData.criteria" ] ;
       fhir:short [ fhir:v "Expression describing additional data to be reported" ] ;
       fhir:definition [ fhir:v "The criteria for the supplemental data. This is typically the name of a valid expression defined within a referenced library, but it may also be a path to a specific data element. The criteria defines the data to be returned for this element." ] ;
       fhir:min [ fhir:v "1" ] ;
       fhir:max [ fhir:v "1" ] ;
       fhir:base [
         fhir:path [ fhir:v "Measure.supplementalData.criteria" ] ;
         fhir:min [ fhir:v "1" ] ;
         fhir:max [ fhir:v "1" ]
       ] ;
       fhir:type ( [
         fhir:code [ fhir:v "Expression" ]
       ] ) ;
       fhir:constraint ( [
         fhir:key [ fhir:v "ele-1" ] ;
         fhir:severity [ fhir:v "error" ] ;
         fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
         fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
         fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element" ]
       ] ) ;
       fhir:mustSupport [ fhir:v "false" ] ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:isSummary [ fhir:v "false" ] ;
       fhir:mapping ( [
         fhir:identity [ fhir:v "rim" ] ;
         fhir:map [ fhir:v "N/A (to add?)" ]
       ] )
     ] )
  ] ;
  fhir:differential [
     fhir:element ( [
       fhir:id [ fhir:v "Measure" ] ;
       fhir:path [ fhir:v "Measure" ] ;
       fhir:short [ fhir:v "A quality measure definition" ] ;
       fhir:definition [ fhir:v "The Measure resource provides the definition of a quality measure." ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "*" ] ;
       fhir:constraint ( [
         fhir:key [ fhir:v "cnl-0" ] ;
         fhir:severity [ fhir:v "warning" ] ;
         fhir:human [ fhir:v "Name should be usable as an identifier for the module by machine processing applications such as code generation" ] ;
         fhir:expression [ fhir:v "name.exists() implies name.matches('^[A-Z]([A-Za-z0-9_]){1,254}$')" ] ;
         fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Measure" ]
       ] [
         fhir:key [ fhir:v "mea-1" ] ;
         fhir:severity [ fhir:v "error" ] ;
         fhir:human [ fhir:v "Stratifier SHALL be either a single criteria or a set of criteria components" ] ;
         fhir:expression [ fhir:v "group.stratifier.all((code | description | criteria).exists() xor component.exists())" ] ;
         fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Measure" ]
       ] ) ;
       fhir:mustSupport [ fhir:v "false" ] ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:mapping ( [
         fhir:identity [ fhir:v "workflow" ] ;
         fhir:map [ fhir:v "Definition" ]
       ] [
         fhir:identity [ fhir:v "rim" ] ;
         fhir:map [ fhir:v "Observation[classCode=OBS, moodCode=DEFN]" ]
       ] [
         fhir:identity [ fhir:v "w5" ] ;
         fhir:map [ fhir:v "clinical.general" ]
       ] )
     ] [
       fhir:id [ fhir:v "Measure.url" ] ;
       fhir:path [ fhir:v "Measure.url" ] ;
       fhir:short [ fhir:v "Canonical identifier for this measure, represented as a URI (globally unique)" ] ;
       fhir:definition [ fhir:v "An absolute URI that is used to identify this measure when it is referenced in a specification, model, design or an instance; also called its canonical identifier. This SHOULD be globally unique and SHOULD be a literal address at which an authoritative instance of this measure is (or will be) published. This URL can be the target of a canonical reference. It SHALL remain the same when the measure is stored on different servers." ] ;
       fhir:comment [ fhir:v "Can be a urn:uuid: or a urn:oid: but real http: addresses are preferred.  Multiple instances may share the same URL if they have a distinct version.\n\nThe determination of when to create a new version of a resource (same url, new version) vs. defining a new artifact is up to the author.  Considerations for making this decision are found in [Technical and Business Versions](resource.html#versions). \n\nIn some cases, the resource can no longer be found at the stated url, but the url itself cannot change. Implementations can use the [meta.source](resource.html#meta) element to indicate where the current master source of the resource can be found." ] ;
       fhir:requirements [ fhir:v "Allows the measure to be referenced by a single globally unique identifier." ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "1" ] ;
       fhir:type ( [
         fhir:code [ fhir:v "uri" ]
       ] ) ;
       fhir:constraint ( [
         fhir:key [ fhir:v "cnl-1" ] ;
         fhir:severity [ fhir:v "warning" ] ;
         fhir:human [ fhir:v "URL should not contain | or # - these characters make processing canonical references problematic" ] ;
         fhir:expression [ fhir:v "exists() implies matches('^[^|# ]+$')" ] ;
         fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Measure" ]
       ] ) ;
       fhir:mustSupport [ fhir:v "false" ] ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:isSummary [ fhir:v "true" ] ;
       fhir:mapping ( [
         fhir:identity [ fhir:v "workflow" ] ;
         fhir:map [ fhir:v "Definition.url" ]
       ] [
         fhir:identity [ fhir:v "w5" ] ;
         fhir:map [ fhir:v "FiveWs.identifier" ]
       ] [
         fhir:identity [ fhir:v "rim" ] ;
         fhir:map [ fhir:v ".identifier[scope=BUSN;reliability=ISS]" ]
       ] )
     ] [
       fhir:id [ fhir:v "Measure.identifier" ] ;
       fhir:path [ fhir:v "Measure.identifier" ] ;
       fhir:short [ fhir:v "Additional identifier for the measure" ] ;
       fhir:definition [ fhir:v "A formal identifier that is used to identify this measure when it is represented in other formats, or referenced in a specification, model, design or an instance." ] ;
       fhir:comment [ fhir:v "Typically, this is used for identifiers that can go in an HL7 V3 II (instance identifier) data type, and can then identify this measure outside of FHIR, where it is not possible to use the logical URI." ] ;
       fhir:requirements [ fhir:v "Allows externally provided and/or usable business identifiers to be easily associated with the module." ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "*" ] ;
       fhir:type ( [
         fhir:code [ fhir:v "Identifier" ]
       ] ) ;
       fhir:mustSupport [ fhir:v "false" ] ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:isSummary [ fhir:v "true" ] ;
       fhir:mapping ( [
         fhir:identity [ fhir:v "workflow" ] ;
         fhir:map [ fhir:v "Definition.identifier" ]
       ] [
         fhir:identity [ fhir:v "w5" ] ;
         fhir:map [ fhir:v "FiveWs.identifier" ]
       ] [
         fhir:identity [ fhir:v "rim" ] ;
         fhir:map [ fhir:v ".identifier" ]
       ] [
         fhir:identity [ fhir:v "objimpl" ] ;
         fhir:map [ fhir:v "no-gen-base" ]
       ] )
     ] [
       fhir:id [ fhir:v "Measure.version" ] ;
       fhir:path [ fhir:v "Measure.version" ] ;
       fhir:short [ fhir:v "Business version of the measure" ] ;
       fhir:definition [ fhir:v "The identifier that is used to identify this version of the measure when it is referenced in a specification, model, design or instance. This is an arbitrary value managed by the measure author and is not expected to be globally unique. For example, it might be a timestamp (e.g. yyyymmdd) if a managed version is not available. There is also no expectation that versions can be placed in a lexicographical sequence. To provide a version consistent with the Decision Support Service specification, use the format Major.Minor.Revision (e.g. 1.0.0). For more information on versioning knowledge assets, refer to the Decision Support Service specification. Note that a version is required for non-experimental active artifacts." ] ;
       fhir:comment [ fhir:v "There may be different measure instances that have the same identifier but different versions.  The version can be appended to the url in a reference to allow a reference to a particular business version of the measure with the format [url]|[version]. The version SHOULD NOT contain a '#' - see [Business Version](resource.html#bv-format)." ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "1" ] ;
       fhir:type ( [
         fhir:code [ fhir:v "string" ]
       ] ) ;
       fhir:mustSupport [ fhir:v "false" ] ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:isSummary [ fhir:v "true" ] ;
       fhir:mapping ( [
         fhir:identity [ fhir:v "workflow" ] ;
         fhir:map [ fhir:v "Definition.version" ]
       ] [
         fhir:identity [ fhir:v "w5" ] ;
         fhir:map [ fhir:v "FiveWs.version" ]
       ] [
         fhir:identity [ fhir:v "rim" ] ;
         fhir:map [ fhir:v "N/A (to add?)" ]
       ] [
         fhir:identity [ fhir:v "objimpl" ] ;
         fhir:map [ fhir:v "no-gen-base" ]
       ] )
     ] [
       fhir:id [ fhir:v "Measure.versionAlgorithm[x]" ] ;
       fhir:path [ fhir:v "Measure.versionAlgorithm[x]" ] ;
       fhir:short [ fhir:v "How to compare versions" ] ;
       fhir:definition [ fhir:v "Indicates the mechanism used to compare versions to determine which is more current." ] ;
       fhir:comment [ fhir:v "If set as a string, this is a FHIRPath expression that has two additional context variables passed in - %version1 and %version2 and will return a negative number if version1 is newer, a positive number if version2 and a 0 if the version ordering can't be successfully be determined." ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "1" ] ;
       fhir:type ( [
         fhir:code [ fhir:v "string" ]
       ] [
         fhir:code [ fhir:v "Coding" ]
       ] ) ;
       fhir:mustSupport [ fhir:v "false" ] ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:isSummary [ fhir:v "true" ] ;
       fhir:binding [
         fhir:strength [ fhir:v "extensible" ] ;
         fhir:valueSet [ fhir:v "http://hl7.org/fhir/ValueSet/version-algorithm" ]
       ] ;
       fhir:mapping ( [
         fhir:identity [ fhir:v "workflow" ] ;
         fhir:map [ fhir:v "Definition.versionAlgorithm" ]
       ] [
         fhir:identity [ fhir:v "w5" ] ;
         fhir:map [ fhir:v "FiveWs.version" ]
       ] [
         fhir:identity [ fhir:v "rim" ] ;
         fhir:map [ fhir:v "N/A (to add?)" ]
       ] [
         fhir:identity [ fhir:v "objimpl" ] ;
         fhir:map [ fhir:v "no-gen-base" ]
       ] )
     ] [
       fhir:id [ fhir:v "Measure.name" ] ;
       fhir:path [ fhir:v "Measure.name" ] ;
       fhir:short [ fhir:v "Name for this measure (computer friendly)" ] ;
       fhir:definition [ fhir:v "A natural language name identifying the measure. This name should be usable as an identifier for the module by machine processing applications such as code generation." ] ;
       fhir:comment [ fhir:v "The name is not expected to be globally unique. The name should be a simple alphanumeric type name to ensure that it is machine-processing friendly." ] ;
       fhir:requirements [ fhir:v "Support human navigation and code generation." ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "1" ] ;
       fhir:type ( [
         fhir:code [ fhir:v "string" ]
       ] ) ;
       fhir:condition ( [ fhir:v "cnl-0" ] ) ;
       fhir:mustSupport [ fhir:v "false" ] ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:isSummary [ fhir:v "true" ] ;
       fhir:mapping ( [
         fhir:identity [ fhir:v "workflow" ] ;
         fhir:map [ fhir:v "Definition.name" ]
       ] [
         fhir:identity [ fhir:v "rim" ] ;
         fhir:map [ fhir:v "N/A" ]
       ] )
     ] [
       fhir:id [ fhir:v "Measure.title" ] ;
       fhir:extension ( [
         fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable" ] ;
         fhir:value [ fhir:v "true" ]
       ] [
         fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable" ] ;
         fhir:value [ fhir:v "true" ]
       ] ) ;
       fhir:path [ fhir:v "Measure.title" ] ;
       fhir:short [ fhir:v "Name for this measure (human friendly)" ] ;
       fhir:definition [ fhir:v "A short, descriptive, user-friendly title for the measure." ] ;
       fhir:comment [ fhir:v "This name does not need to be machine-processing friendly and may contain punctuation, white-space, etc." ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "1" ] ;
       fhir:type ( [
         fhir:code [ fhir:v "string" ]
       ] ) ;
       fhir:mustSupport [ fhir:v "false" ] ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:isSummary [ fhir:v "true" ] ;
       fhir:mapping ( [
         fhir:identity [ fhir:v "workflow" ] ;
         fhir:map [ fhir:v "Definition.title" ]
       ] [
         fhir:identity [ fhir:v "rim" ] ;
         fhir:map [ fhir:v ".title" ]
       ] )
     ] [
       fhir:id [ fhir:v "Measure.subtitle" ] ;
       fhir:extension ( [
         fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable" ] ;
         fhir:value [ fhir:v "true" ]
       ] [
         fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable" ] ;
         fhir:value [ fhir:v "true" ]
       ] ) ;
       fhir:path [ fhir:v "Measure.subtitle" ] ;
       fhir:short [ fhir:v "Subordinate title of the measure" ] ;
       fhir:definition [ fhir:v "An explanatory or alternate title for the measure giving additional information about its content." ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "1" ] ;
       fhir:type ( [
         fhir:code [ fhir:v "string" ]
       ] ) ;
       fhir:mustSupport [ fhir:v "false" ] ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:isSummary [ fhir:v "false" ] ;
       fhir:mapping ( [
         fhir:identity [ fhir:v "rim" ] ;
         fhir:map [ fhir:v "N/A (to add?)" ]
       ] )
     ] [
       fhir:id [ fhir:v "Measure.status" ] ;
       fhir:path [ fhir:v "Measure.status" ] ;
       fhir:short [ fhir:v "draft | active | retired | unknown" ] ;
       fhir:definition [ fhir:v "The status of this measure. Enables tracking the life-cycle of the content." ] ;
       fhir:comment [ fhir:v "Allows filtering of measures that are appropriate for use versus not." ] ;
       fhir:min [ fhir:v "1" ] ;
       fhir:max [ fhir:v "1" ] ;
       fhir:type ( [
         fhir:code [ fhir:v "code" ]
       ] ) ;
       fhir:mustSupport [ fhir:v "false" ] ;
       fhir:isModifier [ fhir:v "true" ] ;
       fhir:isModifierReason [ fhir:v "This is labeled as \"Is Modifier\" because applications should not use a retired {{title}} without due consideration" ] ;
       fhir:isSummary [ fhir:v "true" ] ;
       fhir:binding [
         fhir:extension ( [
           fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName" ] ;
           fhir:value [ fhir:v "PublicationStatus" ]
         ] [
           fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding" ] ;
           fhir:value [ fhir:v "true" ]
         ] ) ;
         fhir:strength [ fhir:v "required" ] ;
         fhir:description [ fhir:v "The lifecycle status of an artifact." ] ;
         fhir:valueSet [ fhir:v "http://hl7.org/fhir/ValueSet/publication-status|5.0.0-draft-final" ]
       ] ;
       fhir:mapping ( [
         fhir:identity [ fhir:v "workflow" ] ;
         fhir:map [ fhir:v "Definition.status" ]
       ] [
         fhir:identity [ fhir:v "w5" ] ;
         fhir:map [ fhir:v "FiveWs.status" ]
       ] [
         fhir:identity [ fhir:v "rim" ] ;
         fhir:map [ fhir:v ".status" ]
       ] )
     ] [
       fhir:id [ fhir:v "Measure.experimental" ] ;
       fhir:path [ fhir:v "Measure.experimental" ] ;
       fhir:short [ fhir:v "For testing purposes, not real usage" ] ;
       fhir:definition [ fhir:v "A Boolean value to indicate that this measure is authored for testing purposes (or education/evaluation/marketing) and is not intended to be used for genuine usage." ] ;
       fhir:comment [ fhir:v "Allows filtering of measures that are appropriate for use versus not." ] ;
       fhir:requirements [ fhir:v "Enables experimental content to be developed following the same lifecycle that would be used for a production-level measure." ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "1" ] ;
       fhir:type ( [
         fhir:code [ fhir:v "boolean" ]
       ] ) ;
       fhir:meaningWhenMissing [ fhir:v "If absent, this resource is treated as though it is not experimental." ] ;
       fhir:mustSupport [ fhir:v "false" ] ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:isSummary [ fhir:v "true" ] ;
       fhir:mapping ( [
         fhir:identity [ fhir:v "workflow" ] ;
         fhir:map [ fhir:v "Definition.experimental" ]
       ] [
         fhir:identity [ fhir:v "w5" ] ;
         fhir:map [ fhir:v "FiveWs.class" ]
       ] [
         fhir:identity [ fhir:v "rim" ] ;
         fhir:map [ fhir:v "N/A (to add?)" ]
       ] )
     ] [
       fhir:id [ fhir:v "Measure.subject[x]" ] ;
       fhir:path [ fhir:v "Measure.subject[x]" ] ;
       fhir:short [ fhir:v "E.g. Patient, Practitioner, RelatedPerson, Organization, Location, Device" ] ;
       fhir:definition [ fhir:v "The intended subjects for the measure. If this element is not provided, a Patient subject is assumed, but the subject of the measure can be anything." ] ;
       fhir:comment [ fhir:v "The subject of the measure is critical in interpreting the criteria definitions, as the logic in the measures is evaluated with respect to a particular subject. This corresponds roughly to the notion of a Compartment in that it limits what content is available based on its relationship to the subject. In CQL, this corresponds to the context declaration." ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "1" ] ;
       fhir:type ( [
         fhir:code [ fhir:v "CodeableConcept" ]
       ] [
         fhir:code [ fhir:v "Reference" ] ;
         fhir:targetProfile ( [ fhir:v "http://hl7.org/fhir/StructureDefinition/Group" ] )
       ] ) ;
       fhir:meaningWhenMissing [ fhir:v "Patient" ] ;
       fhir:mustSupport [ fhir:v "false" ] ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:isSummary [ fhir:v "false" ] ;
       fhir:binding [
         fhir:extension ( [
           fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName" ] ;
           fhir:value [ fhir:v "SubjectType" ]
         ] [
           fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding" ] ;
           fhir:value [ fhir:v "true" ]
         ] ) ;
         fhir:strength [ fhir:v "extensible" ] ;
         fhir:description [ fhir:v "The possible types of subjects for a measure (E.g. Patient, Practitioner, Organization, Location, etc.)." ] ;
         fhir:valueSet [ fhir:v "http://hl7.org/fhir/ValueSet/participant-resource-types" ]
       ] ;
       fhir:mapping ( [
         fhir:identity [ fhir:v "rim" ] ;
         fhir:map [ fhir:v "N/A (to add?) { only applies for subject Patient? }" ]
       ] )
     ] [
       fhir:id [ fhir:v "Measure.basis" ] ;
       fhir:path [ fhir:v "Measure.basis" ] ;
       fhir:short [ fhir:v "Population basis" ] ;
       fhir:definition [ fhir:v "The population basis specifies the type of elements in the population. For a subject-based measure, this is boolean (because the subject and the population basis are the same, and the population criteria define yes/no values for each individual in the population). For measures that have a population basis that is different than the subject, this element specifies the type of the population basis. For example, an encounter-based measure has a subject of Patient and a population basis of Encounter, and the population criteria all return lists of Encounters." ] ;
       fhir:comment [ fhir:v "For a subject-based measure, the population basis is simply boolean; all the criteria are expressed as true/false conditions that determine membership of an individual case in the population. For non-subject-based measures, the population basis can be any resource type, and the criteria are queries that return the subject's contribution to the population as a list of that resource type. For example, for a procedure-based measure, the population criteria would return lists of procedures that should be included in each population." ] ;
       fhir:requirements [ fhir:v "Allows non-subject-based measures to be specified" ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "1" ] ;
       fhir:type ( [
         fhir:code [ fhir:v "code" ]
       ] ) ;
       fhir:meaningWhenMissing [ fhir:v "boolean" ] ;
       fhir:mustSupport [ fhir:v "false" ] ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:isSummary [ fhir:v "true" ] ;
       fhir:binding [
         fhir:extension ( [
           fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName" ] ;
           fhir:value [ fhir:v "BasisType" ]
         ] [
           fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding" ] ;
           fhir:value [ fhir:v "true" ]
         ] ) ;
         fhir:strength [ fhir:v "required" ] ;
         fhir:valueSet [ fhir:v "http://hl7.org/fhir/ValueSet/fhir-types|5.0.0-draft-final" ]
       ] ;
       fhir:mapping ( [
         fhir:identity [ fhir:v "rim" ] ;
         fhir:map [ fhir:v "N/A (to add?) { only applies for subject Patient? }" ]
       ] )
     ] [
       fhir:id [ fhir:v "Measure.date" ] ;
       fhir:path [ fhir:v "Measure.date" ] ;
       fhir:short [ fhir:v "Date last changed" ] ;
       fhir:definition [ fhir:v "The date  (and optionally time) when the measure was last significantly changed. The date must change when the business version changes and it must change if the status code changes. In addition, it should change when the substantive content of the measure changes." ] ;
       fhir:comment [ fhir:v "The date is often not tracked until the resource is published, but may be present on draft content. Note that this is not the same as the resource last-modified-date, since the resource may be a secondary representation of the measure. Additional specific dates may be added as extensions or be found by consulting Provenances associated with past versions of the resource." ] ;
       fhir:alias ( [ fhir:v "Revision Date" ] ) ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "1" ] ;
       fhir:type ( [
         fhir:code [ fhir:v "dateTime" ]
       ] ) ;
       fhir:mustSupport [ fhir:v "false" ] ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:isSummary [ fhir:v "true" ] ;
       fhir:mapping ( [
         fhir:identity [ fhir:v "workflow" ] ;
         fhir:map [ fhir:v "Definition.date" ]
       ] [
         fhir:identity [ fhir:v "w5" ] ;
         fhir:map [ fhir:v "FiveWs.recorded" ]
       ] [
         fhir:identity [ fhir:v "rim" ] ;
         fhir:map [ fhir:v ".participation[typeCode=AUT].time" ]
       ] )
     ] [
       fhir:id [ fhir:v "Measure.publisher" ] ;
       fhir:extension ( [
         fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable" ] ;
         fhir:value [ fhir:v "true" ]
       ] [
         fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable" ] ;
         fhir:value [ fhir:v "true" ]
       ] ) ;
       fhir:path [ fhir:v "Measure.publisher" ] ;
       fhir:short [ fhir:v "Name of the publisher/steward (organization or individual)" ] ;
       fhir:definition [ fhir:v "The name of the organization or individual responsible for the release and ongoing maintenance of the measure." ] ;
       fhir:comment [ fhir:v "Usually an organization but may be an individual. The publisher (or steward) of the measure is the organization or individual primarily responsible for the maintenance and upkeep of the measure. This is not necessarily the same individual or organization that developed and initially authored the content. The publisher is the primary point of contact for questions or issues with the measure. This item SHOULD be populated unless the information is available from context." ] ;
       fhir:requirements [ fhir:v "Helps establish the \"authority/credibility\" of the measure.  May also allow for contact." ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "1" ] ;
       fhir:type ( [
         fhir:code [ fhir:v "string" ]
       ] ) ;
       fhir:mustSupport [ fhir:v "false" ] ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:isSummary [ fhir:v "true" ] ;
       fhir:mapping ( [
         fhir:identity [ fhir:v "workflow" ] ;
         fhir:map [ fhir:v "Definition.publisher" ]
       ] [
         fhir:identity [ fhir:v "w5" ] ;
         fhir:map [ fhir:v "FiveWs.witness" ]
       ] [
         fhir:identity [ fhir:v "rim" ] ;
         fhir:map [ fhir:v "participation[typeCode=AUT].role" ]
       ] )
     ] [
       fhir:id [ fhir:v "Measure.contact" ] ;
       fhir:path [ fhir:v "Measure.contact" ] ;
       fhir:short [ fhir:v "Contact details for the publisher" ] ;
       fhir:definition [ fhir:v "Contact details to assist a user in finding and communicating with the publisher." ] ;
       fhir:comment [ fhir:v "May be a web site, an email address, a telephone number, etc." ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "*" ] ;
       fhir:type ( [
         fhir:code [ fhir:v "ContactDetail" ]
       ] ) ;
       fhir:mustSupport [ fhir:v "false" ] ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:isSummary [ fhir:v "true" ] ;
       fhir:mapping ( [
         fhir:identity [ fhir:v "workflow" ] ;
         fhir:map [ fhir:v "Definition.contact" ]
       ] [
         fhir:identity [ fhir:v "rim" ] ;
         fhir:map [ fhir:v ".participation[typeCode=CALLBCK].role" ]
       ] )
     ] [
       fhir:id [ fhir:v "Measure.description" ] ;
       fhir:extension ( [
         fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable" ] ;
         fhir:value [ fhir:v "true" ]
       ] [
         fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable" ] ;
         fhir:value [ fhir:v "true" ]
       ] ) ;
       fhir:path [ fhir:v "Measure.description" ] ;
       fhir:short [ fhir:v "Natural language description of the measure" ] ;
       fhir:definition [ fhir:v "A free text natural language description of the measure from a consumer's perspective." ] ;
       fhir:comment [ fhir:v "This description can be used to capture details such as comments about misuse, instructions for clinical use and interpretation, literature references, examples from the paper world, etc. It is not a rendering of the measure as conveyed in the 'text' field of the resource itself. This item SHOULD be populated unless the information is available from context (e.g. the language of the measure is presumed to be the predominant language in the place the measure was created)." ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "1" ] ;
       fhir:type ( [
         fhir:code [ fhir:v "markdown" ]
       ] ) ;
       fhir:mustSupport [ fhir:v "false" ] ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:isSummary [ fhir:v "true" ] ;
       fhir:mapping ( [
         fhir:identity [ fhir:v "workflow" ] ;
         fhir:map [ fhir:v "Definition.description" ]
       ] [
         fhir:identity [ fhir:v "rim" ] ;
         fhir:map [ fhir:v ".text" ]
       ] )
     ] [
       fhir:id [ fhir:v "Measure.useContext" ] ;
       fhir:path [ fhir:v "Measure.useContext" ] ;
       fhir:short [ fhir:v "The context that the content is intended to support" ] ;
       fhir:definition [ fhir:v "The content was developed with a focus and intent of supporting the contexts that are listed. These contexts may be general categories (gender, age, ...) or may be references to specific programs (insurance plans, studies, ...) and may be used to assist with indexing and searching for appropriate measure instances." ] ;
       fhir:comment [ fhir:v "When multiple useContexts are specified, there is no expectation that all or any of the contexts apply." ] ;
       fhir:requirements [ fhir:v "Assist in searching for appropriate content." ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "*" ] ;
       fhir:type ( [
         fhir:code [ fhir:v "UsageContext" ]
       ] ) ;
       fhir:mustSupport [ fhir:v "false" ] ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:isSummary [ fhir:v "true" ] ;
       fhir:mapping ( [
         fhir:identity [ fhir:v "workflow" ] ;
         fhir:map [ fhir:v "Definition.useContext" ]
       ] [
         fhir:identity [ fhir:v "rim" ] ;
         fhir:map [ fhir:v "N/A (to add?)" ]
       ] )
     ] [
       fhir:id [ fhir:v "Measure.jurisdiction" ] ;
       fhir:path [ fhir:v "Measure.jurisdiction" ] ;
       fhir:short [ fhir:v "Intended jurisdiction for measure (if applicable)" ] ;
       fhir:definition [ fhir:v "A legal or geographic region in which the measure is intended to be used." ] ;
       fhir:comment [ fhir:v "It may be possible for the measure to be used in jurisdictions other than those for which it was originally designed or intended." ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "*" ] ;
       fhir:type ( [
         fhir:code [ fhir:v "CodeableConcept" ]
       ] ) ;
       fhir:mustSupport [ fhir:v "false" ] ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:isSummary [ fhir:v "true" ] ;
       fhir:binding [
         fhir:extension ( [
           fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName" ] ;
           fhir:value [ fhir:v "Jurisdiction" ]
         ] [
           fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding" ] ;
           fhir:value [ fhir:v "true" ]
         ] ) ;
         fhir:strength [ fhir:v "extensible" ] ;
         fhir:description [ fhir:v "Countries and regions within which this artifact is targeted for use." ] ;
         fhir:valueSet [ fhir:v "http://hl7.org/fhir/ValueSet/jurisdiction" ]
       ] ;
       fhir:mapping ( [
         fhir:identity [ fhir:v "workflow" ] ;
         fhir:map [ fhir:v "Definition.jurisdiction" ]
       ] [
         fhir:identity [ fhir:v "rim" ] ;
         fhir:map [ fhir:v "N/A (to add?)" ]
       ] )
     ] [
       fhir:id [ fhir:v "Measure.purpose" ] ;
       fhir:extension ( [
         fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable" ] ;
         fhir:value [ fhir:v "true" ]
       ] [
         fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable" ] ;
         fhir:value [ fhir:v "true" ]
       ] ) ;
       fhir:path [ fhir:v "Measure.purpose" ] ;
       fhir:short [ fhir:v "Why this measure is defined" ] ;
       fhir:definition [ fhir:v "Explanation of why this measure is needed and why it has been designed as it has." ] ;
       fhir:comment [ fhir:v "This element does not describe the usage of the measure. Instead, it provides traceability of ''why'' the resource is either needed or ''why'' it is defined as it is.  This may be used to point to source materials or specifications that drove the structure of this measure." ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "1" ] ;
       fhir:type ( [
         fhir:code [ fhir:v "markdown" ]
       ] ) ;
       fhir:mustSupport [ fhir:v "false" ] ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:isSummary [ fhir:v "false" ] ;
       fhir:mapping ( [
         fhir:identity [ fhir:v "workflow" ] ;
         fhir:map [ fhir:v "Definition.purpose" ]
       ] [
         fhir:identity [ fhir:v "w5" ] ;
         fhir:map [ fhir:v "FiveWs.why[x]" ]
       ] [
         fhir:identity [ fhir:v "rim" ] ;
         fhir:map [ fhir:v ".reasonCode.text" ]
       ] [
         fhir:identity [ fhir:v "objimpl" ] ;
         fhir:map [ fhir:v "no-gen-base" ]
       ] )
     ] [
       fhir:id [ fhir:v "Measure.usage" ] ;
       fhir:extension ( [
         fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable" ] ;
         fhir:value [ fhir:v "true" ]
       ] [
         fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable" ] ;
         fhir:value [ fhir:v "true" ]
       ] ) ;
       fhir:path [ fhir:v "Measure.usage" ] ;
       fhir:short [ fhir:v "Describes the clinical usage of the measure" ] ;
       fhir:definition [ fhir:v "A detailed description, from a clinical perspective, of how the measure is used." ] ;
       fhir:comment [ fhir:v "This metadata element was typically referred to as Guidance in HQMF" ] ;
       fhir:requirements [ fhir:v "Measure developers must be able to provide additional guidance for implementers to understand the intent with greater specificity than that provided in the population criteria of the measure. This element provides detailed guidance, where the usage element provides a summary of the guidance." ] ;
       fhir:alias ( [ fhir:v "guidance" ] ) ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "1" ] ;
       fhir:type ( [
         fhir:code [ fhir:v "markdown" ]
       ] ) ;
       fhir:mustSupport [ fhir:v "false" ] ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:isSummary [ fhir:v "false" ] ;
       fhir:mapping ( [
         fhir:identity [ fhir:v "rim" ] ;
         fhir:map [ fhir:v "N/A (to add?)" ]
       ] )
     ] [
       fhir:id [ fhir:v "Measure.copyright" ] ;
       fhir:extension ( [
         fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable" ] ;
         fhir:value [ fhir:v "true" ]
       ] [
         fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable" ] ;
         fhir:value [ fhir:v "true" ]
       ] ) ;
       fhir:path [ fhir:v "Measure.copyright" ] ;
       fhir:short [ fhir:v "Use and/or publishing restrictions" ] ;
       fhir:definition [ fhir:v "A copyright statement relating to the measure and/or its contents. Copyright statements are generally legal restrictions on the use and publishing of the measure." ] ;
       fhir:comment [ fhir:v "The short copyright declaration (e.g. (c) '2015+ xyz organization' should be sent in the copyrightLabel element." ] ;
       fhir:requirements [ fhir:v "Consumers must be able to determine any legal restrictions on the use of the measure and/or its content." ] ;
       fhir:alias ( [ fhir:v "License" ] [ fhir:v "Restrictions" ] ) ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "1" ] ;
       fhir:type ( [
         fhir:code [ fhir:v "markdown" ]
       ] ) ;
       fhir:mustSupport [ fhir:v "false" ] ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:isSummary [ fhir:v "false" ] ;
       fhir:mapping ( [
         fhir:identity [ fhir:v "workflow" ] ;
         fhir:map [ fhir:v "Definition.copyright" ]
       ] [
         fhir:identity [ fhir:v "rim" ] ;
         fhir:map [ fhir:v "N/A (to add?)" ]
       ] [
         fhir:identity [ fhir:v "objimpl" ] ;
         fhir:map [ fhir:v "no-gen-base" ]
       ] )
     ] [
       fhir:id [ fhir:v "Measure.copyrightLabel" ] ;
       fhir:extension ( [
         fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable" ] ;
         fhir:value [ fhir:v "true" ]
       ] [
         fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable" ] ;
         fhir:value [ fhir:v "true" ]
       ] ) ;
       fhir:path [ fhir:v "Measure.copyrightLabel" ] ;
       fhir:short [ fhir:v "Copyright holder and year(s)" ] ;
       fhir:definition [ fhir:v "A short string (<50 characters), suitable for inclusion in a page footer that identifies the copyright holder, effective period, and optionally whether rights are resctricted. (e.g. 'All rights reserved', 'Some rights reserved')." ] ;
       fhir:comment [ fhir:v "The (c) symbol should NOT be included in this string. It will be added by software when rendering the notation. Full details about licensing, restrictions, warrantees, etc. goes in the more general 'copyright' element." ] ;
       fhir:requirements [ fhir:v "Defines the content expected to be rendered in all representations of the artifact." ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "1" ] ;
       fhir:type ( [
         fhir:code [ fhir:v "string" ]
       ] ) ;
       fhir:mustSupport [ fhir:v "false" ] ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:isSummary [ fhir:v "false" ] ;
       fhir:mapping ( [
         fhir:identity [ fhir:v "workflow" ] ;
         fhir:map [ fhir:v "Definition.copyrightLabel" ]
       ] [
         fhir:identity [ fhir:v "rim" ] ;
         fhir:map [ fhir:v "N/A (to add?)" ]
       ] [
         fhir:identity [ fhir:v "objimpl" ] ;
         fhir:map [ fhir:v "no-gen-base" ]
       ] )
     ] [
       fhir:id [ fhir:v "Measure.approvalDate" ] ;
       fhir:path [ fhir:v "Measure.approvalDate" ] ;
       fhir:short [ fhir:v "When the measure was approved by publisher" ] ;
       fhir:definition [ fhir:v "The date on which the resource content was approved by the publisher. Approval happens once when the content is officially approved for usage." ] ;
       fhir:comment [ fhir:v "The 'date' element may be more recent than the approval date because of minor changes or editorial corrections." ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "1" ] ;
       fhir:type ( [
         fhir:code [ fhir:v "date" ]
       ] ) ;
       fhir:mustSupport [ fhir:v "false" ] ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:isSummary [ fhir:v "false" ] ;
       fhir:mapping ( [
         fhir:identity [ fhir:v "workflow" ] ;
         fhir:map [ fhir:v "Definition.approvalDate" ]
       ] [
         fhir:identity [ fhir:v "rim" ] ;
         fhir:map [ fhir:v ".outboundRelationship[typeCode=SUBJ].act[classCode=CACT;moodCode=EVN;code=\"approval\"].effectiveTime" ]
       ] [
         fhir:identity [ fhir:v "objimpl" ] ;
         fhir:map [ fhir:v "no-gen-base" ]
       ] )
     ] [
       fhir:id [ fhir:v "Measure.lastReviewDate" ] ;
       fhir:path [ fhir:v "Measure.lastReviewDate" ] ;
       fhir:short [ fhir:v "When the measure was last reviewed by the publisher" ] ;
       fhir:definition [ fhir:v "The date on which the resource content was last reviewed. Review happens periodically after approval but does not change the original approval date." ] ;
       fhir:comment [ fhir:v "If specified, this date follows the original approval date." ] ;
       fhir:requirements [ fhir:v "Gives a sense of how \"current\" the content is.  Resources that have not been reviewed in a long time may have a risk of being less appropriate/relevant." ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "1" ] ;
       fhir:type ( [
         fhir:code [ fhir:v "date" ]
       ] ) ;
       fhir:mustSupport [ fhir:v "false" ] ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:isSummary [ fhir:v "false" ] ;
       fhir:mapping ( [
         fhir:identity [ fhir:v "workflow" ] ;
         fhir:map [ fhir:v "Definition.lastReviewDate" ]
       ] [
         fhir:identity [ fhir:v "rim" ] ;
         fhir:map [ fhir:v ".outboundRleationship[typeCode=SUBJ;subsetCode=RECENT].act[classCode=CACT;moodCode=EVN;code=review].effectiveTime" ]
       ] [
         fhir:identity [ fhir:v "objimpl" ] ;
         fhir:map [ fhir:v "no-gen-base" ]
       ] )
     ] [
       fhir:id [ fhir:v "Measure.effectivePeriod" ] ;
       fhir:path [ fhir:v "Measure.effectivePeriod" ] ;
       fhir:short [ fhir:v "When the measure is expected to be used" ] ;
       fhir:definition [ fhir:v "The period during which the measure content was or is planned to be in active use." ] ;
       fhir:comment [ fhir:v "The effective period for a measure  determines when the content is applicable for usage and is independent of publication and review dates. For example, a measure intended to be used for the year 2016 might be published in 2015." ] ;
       fhir:requirements [ fhir:v "Allows establishing a transition before a resource comes into effect and also allows for a sunsetting  process when new versions of the measure are or are expected to be used instead." ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "1" ] ;
       fhir:type ( [
         fhir:code [ fhir:v "Period" ]
       ] ) ;
       fhir:mustSupport [ fhir:v "false" ] ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:isSummary [ fhir:v "true" ] ;
       fhir:mapping ( [
         fhir:identity [ fhir:v "workflow" ] ;
         fhir:map [ fhir:v "Definition.effectivePeriod" ]
       ] [
         fhir:identity [ fhir:v "rim" ] ;
         fhir:map [ fhir:v ".effectiveTime" ]
       ] [
         fhir:identity [ fhir:v "objimpl" ] ;
         fhir:map [ fhir:v "no-gen-base" ]
       ] )
     ] [
       fhir:id [ fhir:v "Measure.topic" ] ;
       fhir:path [ fhir:v "Measure.topic" ] ;
       fhir:short [ fhir:v "The category of the measure, such as Education, Treatment, Assessment, etc" ] ;
       fhir:definition [ fhir:v "Descriptive topics related to the content of the measure. Topics provide a high-level categorization grouping types of measures that can be useful for filtering and searching." ] ;
       fhir:requirements [ fhir:v "Repositories must be able to determine how to categorize the measure so that it can be found by topical searches." ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "*" ] ;
       fhir:type ( [
         fhir:code [ fhir:v "CodeableConcept" ]
       ] ) ;
       fhir:mustSupport [ fhir:v "false" ] ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:isSummary [ fhir:v "false" ] ;
       fhir:binding [
         fhir:extension ( [
           fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName" ] ;
           fhir:value [ fhir:v "DefinitionTopic" ]
         ] ) ;
         fhir:strength [ fhir:v "example" ] ;
         fhir:description [ fhir:v "High-level categorization of the definition, used for searching, sorting, and filtering." ] ;
         fhir:valueSet [ fhir:v "http://hl7.org/fhir/ValueSet/definition-topic" ]
       ] ;
       fhir:mapping ( [
         fhir:identity [ fhir:v "rim" ] ;
         fhir:map [ fhir:v "N/A (to add?)" ]
       ] )
     ] [
       fhir:id [ fhir:v "Measure.author" ] ;
       fhir:path [ fhir:v "Measure.author" ] ;
       fhir:short [ fhir:v "Who authored the content" ] ;
       fhir:definition [ fhir:v "An individiual or organization primarily involved in the creation and maintenance of the content." ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "*" ] ;
       fhir:type ( [
         fhir:code [ fhir:v "ContactDetail" ]
       ] ) ;
       fhir:mustSupport [ fhir:v "false" ] ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:isSummary [ fhir:v "false" ] ;
       fhir:mapping ( [
         fhir:identity [ fhir:v "rim" ] ;
         fhir:map [ fhir:v ".participation[typeCode=AUT]" ]
       ] )
     ] [
       fhir:id [ fhir:v "Measure.editor" ] ;
       fhir:path [ fhir:v "Measure.editor" ] ;
       fhir:short [ fhir:v "Who edited the content" ] ;
       fhir:definition [ fhir:v "An individual or organization primarily responsible for internal coherence of the content." ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "*" ] ;
       fhir:type ( [
         fhir:code [ fhir:v "ContactDetail" ]
       ] ) ;
       fhir:mustSupport [ fhir:v "false" ] ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:isSummary [ fhir:v "false" ] ;
       fhir:mapping ( [
         fhir:identity [ fhir:v "rim" ] ;
         fhir:map [ fhir:v ".participation[typeCode=AUT] { not a great match, but there does not appear to be an editor concept in V3 participation }" ]
       ] )
     ] [
       fhir:id [ fhir:v "Measure.reviewer" ] ;
       fhir:path [ fhir:v "Measure.reviewer" ] ;
       fhir:short [ fhir:v "Who reviewed the content" ] ;
       fhir:definition [ fhir:v "An individual or organization asserted by the publisher to be primarily responsible for review of some aspect of the content." ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "*" ] ;
       fhir:type ( [
         fhir:code [ fhir:v "ContactDetail" ]
       ] ) ;
       fhir:mustSupport [ fhir:v "false" ] ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:isSummary [ fhir:v "false" ] ;
       fhir:mapping ( [
         fhir:identity [ fhir:v "rim" ] ;
         fhir:map [ fhir:v ".participation[typeCode=VRF] {not clear whether VRF best corresponds to reviewer or endorser}" ]
       ] )
     ] [
       fhir:id [ fhir:v "Measure.endorser" ] ;
       fhir:path [ fhir:v "Measure.endorser" ] ;
       fhir:short [ fhir:v "Who endorsed the content" ] ;
       fhir:definition [ fhir:v "An individual or organization asserted by the publisher to be responsible for officially endorsing the content for use in some setting." ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "*" ] ;
       fhir:type ( [
         fhir:code [ fhir:v "ContactDetail" ]
       ] ) ;
       fhir:mustSupport [ fhir:v "false" ] ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:isSummary [ fhir:v "false" ] ;
       fhir:mapping ( [
         fhir:identity [ fhir:v "rim" ] ;
         fhir:map [ fhir:v ".participation[typeCode=VRF] {not clear whether VRF best corresponds to reviewer or endorser}" ]
       ] )
     ] [
       fhir:id [ fhir:v "Measure.relatedArtifact" ] ;
       fhir:path [ fhir:v "Measure.relatedArtifact" ] ;
       fhir:short [ fhir:v "Additional documentation, citations, etc" ] ;
       fhir:definition [ fhir:v "Related artifacts such as additional documentation, justification, or bibliographic references." ] ;
       fhir:comment [ fhir:v "Each related artifact is either an attachment, or a reference to another resource, but not both." ] ;
       fhir:requirements [ fhir:v "Measures must be able to provide enough information for consumers of the content (and/or interventions or results produced by the content) to be able to determine and understand the justification for and evidence in support of the content." ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "*" ] ;
       fhir:type ( [
         fhir:code [ fhir:v "RelatedArtifact" ]
       ] ) ;
       fhir:mustSupport [ fhir:v "false" ] ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:isSummary [ fhir:v "false" ] ;
       fhir:mapping ( [
         fhir:identity [ fhir:v "rim" ] ;
         fhir:map [ fhir:v ".outboundRelationship[typeCode=DOC,RSON,PREV, DRIV, USE, COMP] {successor would be PREV w/ inversionInd=true; No support for citation}" ]
       ] )
     ] [
       fhir:id [ fhir:v "Measure.library" ] ;
       fhir:path [ fhir:v "Measure.library" ] ;
       fhir:short [ fhir:v "Logic used by the measure" ] ;
       fhir:definition [ fhir:v "A reference to a Library resource containing the formal logic used by the measure." ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "*" ] ;
       fhir:type ( [
         fhir:code [ fhir:v "canonical" ] ;
         fhir:targetProfile ( [ fhir:v "http://hl7.org/fhir/StructureDefinition/Library" ] )
       ] ) ;
       fhir:mustSupport [ fhir:v "false" ] ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:isSummary [ fhir:v "false" ] ;
       fhir:mapping ( [
         fhir:identity [ fhir:v "rim" ] ;
         fhir:map [ fhir:v "N/A (to add?)" ]
       ] )
     ] [
       fhir:id [ fhir:v "Measure.disclaimer" ] ;
       fhir:path [ fhir:v "Measure.disclaimer" ] ;
       fhir:short [ fhir:v "Disclaimer for use of the measure or its referenced content" ] ;
       fhir:definition [ fhir:v "Notices and disclaimers regarding the use of the measure or related to intellectual property (such as code systems) referenced by the measure." ] ;
       fhir:requirements [ fhir:v "Some organizations require that notices and disclosures be included when publishing measures that reference their intellecutal property." ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "1" ] ;
       fhir:type ( [
         fhir:code [ fhir:v "markdown" ]
       ] ) ;
       fhir:mustSupport [ fhir:v "false" ] ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:isSummary [ fhir:v "true" ] ;
       fhir:mapping ( [
         fhir:identity [ fhir:v "rim" ] ;
         fhir:map [ fhir:v "N/A (to add?)" ]
       ] )
     ] [
       fhir:id [ fhir:v "Measure.scoring" ] ;
       fhir:path [ fhir:v "Measure.scoring" ] ;
       fhir:short [ fhir:v "proportion | ratio | continuous-variable | cohort" ] ;
       fhir:definition [ fhir:v "Indicates how the calculation is performed for the measure, including proportion, ratio, continuous-variable, and cohort. The value set is extensible, allowing additional measure scoring types to be represented." ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "1" ] ;
       fhir:type ( [
         fhir:code [ fhir:v "CodeableConcept" ]
       ] ) ;
       fhir:mustSupport [ fhir:v "false" ] ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:isSummary [ fhir:v "true" ] ;
       fhir:binding [
         fhir:extension ( [
           fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName" ] ;
           fhir:value [ fhir:v "MeasureScoring" ]
         ] ) ;
         fhir:strength [ fhir:v "extensible" ] ;
         fhir:description [ fhir:v "The scoring type of the measure." ] ;
         fhir:valueSet [ fhir:v "http://hl7.org/fhir/ValueSet/measure-scoring" ]
       ] ;
       fhir:mapping ( [
         fhir:identity [ fhir:v "rim" ] ;
         fhir:map [ fhir:v ".methodCode { the aspect of how the calculation is performed }" ]
       ] )
     ] [
       fhir:id [ fhir:v "Measure.scoringUnit" ] ;
       fhir:path [ fhir:v "Measure.scoringUnit" ] ;
       fhir:short [ fhir:v "What units?" ] ;
       fhir:definition [ fhir:v "Defines the expected units of measure for the measure score. This element SHOULD be specified as a UCUM unit." ] ;
       fhir:comment [ fhir:v "When this element is specified, implementations are expected to report measure scores in the specified units. Note that this may involve unit conversion if the expected units are different than the units of the resulting score calculation. In this case, unit conversions SHALL be performed according to the unit conversion semantics specified by UCUM." ] ;
       fhir:requirements [ fhir:v "When the unit cannot be inferred directly from the calculation logic, this element allows the specification of the desired units of measure of the output." ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "1" ] ;
       fhir:type ( [
         fhir:code [ fhir:v "CodeableConcept" ]
       ] ) ;
       fhir:mustSupport [ fhir:v "false" ] ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:isSummary [ fhir:v "true" ] ;
       fhir:binding [
         fhir:extension ( [
           fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName" ] ;
           fhir:value [ fhir:v "MeasureScoringUnit" ]
         ] ) ;
         fhir:strength [ fhir:v "example" ] ;
         fhir:valueSet [ fhir:v "http://hl7.org/fhir/ValueSet/measure-scoring-unit" ]
       ] ;
       fhir:mapping ( [
         fhir:identity [ fhir:v "rim" ] ;
         fhir:map [ fhir:v ".methodCode { the aspect of how the calculation is performed }" ]
       ] )
     ] [
       fhir:id [ fhir:v "Measure.compositeScoring" ] ;
       fhir:path [ fhir:v "Measure.compositeScoring" ] ;
       fhir:short [ fhir:v "opportunity | all-or-nothing | linear | weighted" ] ;
       fhir:definition [ fhir:v "If this is a composite measure, the scoring method used to combine the component measures to determine the composite score." ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "1" ] ;
       fhir:type ( [
         fhir:code [ fhir:v "CodeableConcept" ]
       ] ) ;
       fhir:mustSupport [ fhir:v "false" ] ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:isSummary [ fhir:v "true" ] ;
       fhir:binding [
         fhir:extension ( [
           fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName" ] ;
           fhir:value [ fhir:v "CompositeMeasureScoring" ]
         ] ) ;
         fhir:strength [ fhir:v "extensible" ] ;
         fhir:description [ fhir:v "The composite scoring method of the measure." ] ;
         fhir:valueSet [ fhir:v "http://hl7.org/fhir/ValueSet/composite-measure-scoring" ]
       ] ;
       fhir:mapping ( [
         fhir:identity [ fhir:v "rim" ] ;
         fhir:map [ fhir:v ".methodCode { the aspect of how component measures are combined }" ]
       ] )
     ] [
       fhir:id [ fhir:v "Measure.type" ] ;
       fhir:path [ fhir:v "Measure.type" ] ;
       fhir:short [ fhir:v "process | outcome | structure | patient-reported-outcome | composite" ] ;
       fhir:definition [ fhir:v "Indicates whether the measure is used to examine a process, an outcome over time, a patient-reported outcome, or a structure measure such as utilization." ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "*" ] ;
       fhir:type ( [
         fhir:code [ fhir:v "CodeableConcept" ]
       ] ) ;
       fhir:mustSupport [ fhir:v "false" ] ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:isSummary [ fhir:v "true" ] ;
       fhir:binding [
         fhir:extension ( [
           fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName" ] ;
           fhir:value [ fhir:v "MeasureType" ]
         ] ) ;
         fhir:strength [ fhir:v "extensible" ] ;
         fhir:description [ fhir:v "The type of measure (includes codes from 2.16.840.1.113883.1.11.20368)." ] ;
         fhir:valueSet [ fhir:v "http://hl7.org/fhir/ValueSet/measure-type" ]
       ] ;
       fhir:mapping ( [
         fhir:identity [ fhir:v "rim" ] ;
         fhir:map [ fhir:v ".methodCode { the aspect of what the measure applies to }" ]
       ] )
     ] [
       fhir:id [ fhir:v "Measure.riskAdjustment" ] ;
       fhir:path [ fhir:v "Measure.riskAdjustment" ] ;
       fhir:short [ fhir:v "How risk adjustment is applied for this measure" ] ;
       fhir:definition [ fhir:v "A description of the risk adjustment factors that may impact the resulting score for the measure and how they may be accounted for when computing and reporting measure results." ] ;
       fhir:comment [ fhir:v "Describes the method of adjusting for clinical severity and conditions present at the start of care that can influence patient outcomes for making valid comparisons of outcome measures across providers. Indicates whether a measure is subject to the statistical process for reducing, removing, or clarifying the influences of confounding factors to allow for more useful comparisons." ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "1" ] ;
       fhir:type ( [
         fhir:code [ fhir:v "markdown" ]
       ] ) ;
       fhir:mustSupport [ fhir:v "false" ] ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:isSummary [ fhir:v "true" ] ;
       fhir:mapping ( [
         fhir:identity [ fhir:v "rim" ] ;
         fhir:map [ fhir:v "N/A (to add?)" ]
       ] )
     ] [
       fhir:id [ fhir:v "Measure.rateAggregation" ] ;
       fhir:path [ fhir:v "Measure.rateAggregation" ] ;
       fhir:short [ fhir:v "How is rate aggregation performed for this measure" ] ;
       fhir:definition [ fhir:v "Describes how to combine the information calculated, based on logic in each of several populations, into one summarized result." ] ;
       fhir:comment [ fhir:v "The measure rate for an organization or clinician is based upon the entities’ aggregate data and summarizes the performance of the entity over a given time period (e.g., monthly, quarterly, yearly). The aggregated data are derived from the results of a specific measure algorithm and, if appropriate, the application of specific risk adjustment models.  Can also be used to describe how to risk adjust the data based on supplemental data elements described in the eMeasure (e.g., pneumonia hospital measures antibiotic selection in the ICU versus non-ICU and then the roll-up of the two). This could be applied to aggregated cohort measure definitions (e.g., CDC's aggregate reporting for TB at the state level)." ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "1" ] ;
       fhir:type ( [
         fhir:code [ fhir:v "markdown" ]
       ] ) ;
       fhir:mustSupport [ fhir:v "false" ] ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:isSummary [ fhir:v "true" ] ;
       fhir:mapping ( [
         fhir:identity [ fhir:v "rim" ] ;
         fhir:map [ fhir:v "N/A (to add?)" ]
       ] )
     ] [
       fhir:id [ fhir:v "Measure.rationale" ] ;
       fhir:path [ fhir:v "Measure.rationale" ] ;
       fhir:short [ fhir:v "Detailed description of why the measure exists" ] ;
       fhir:definition [ fhir:v "Provides a succinct statement of the need for the measure. Usually includes statements pertaining to importance criterion: impact, gap in care, and evidence." ] ;
       fhir:requirements [ fhir:v "Measure developers need to be able to provide a detailed description of the purpose of the measure. This element provides detailed rationale, where the purpose element provides a summary of the rationale." ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "1" ] ;
       fhir:type ( [
         fhir:code [ fhir:v "markdown" ]
       ] ) ;
       fhir:mustSupport [ fhir:v "false" ] ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:isSummary [ fhir:v "true" ] ;
       fhir:mapping ( [
         fhir:identity [ fhir:v "rim" ] ;
         fhir:map [ fhir:v "N/A (to add?)" ]
       ] )
     ] [
       fhir:id [ fhir:v "Measure.clinicalRecommendationStatement" ] ;
       fhir:path [ fhir:v "Measure.clinicalRecommendationStatement" ] ;
       fhir:short [ fhir:v "Summary of clinical guidelines" ] ;
       fhir:definition [ fhir:v "Provides a summary of relevant clinical guidelines or other clinical recommendations supporting the measure." ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "1" ] ;
       fhir:type ( [
         fhir:code [ fhir:v "markdown" ]
       ] ) ;
       fhir:mustSupport [ fhir:v "false" ] ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:isSummary [ fhir:v "true" ] ;
       fhir:mapping ( [
         fhir:identity [ fhir:v "rim" ] ;
         fhir:map [ fhir:v "N/A (to add?)" ]
       ] )
     ] [
       fhir:id [ fhir:v "Measure.improvementNotation" ] ;
       fhir:path [ fhir:v "Measure.improvementNotation" ] ;
       fhir:short [ fhir:v "increase | decrease" ] ;
       fhir:definition [ fhir:v "Information on whether an increase or decrease in score is the preferred result (e.g., a higher score indicates better quality OR a lower score indicates better quality OR quality is within a range)." ] ;
       fhir:requirements [ fhir:v "Measure consumers and implementers must be able to determine how to interpret a measure score." ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "1" ] ;
       fhir:type ( [
         fhir:code [ fhir:v "CodeableConcept" ]
       ] ) ;
       fhir:mustSupport [ fhir:v "false" ] ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:isSummary [ fhir:v "true" ] ;
       fhir:binding [
         fhir:extension ( [
           fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName" ] ;
           fhir:value [ fhir:v "MeasureImprovementNotation" ]
         ] ) ;
         fhir:strength [ fhir:v "required" ] ;
         fhir:description [ fhir:v "Observation values that indicate what change in a measurement value or score is indicative of an improvement in the measured item or scored issue." ] ;
         fhir:valueSet [ fhir:v "http://hl7.org/fhir/ValueSet/measure-improvement-notation|5.0.0-draft-final" ]
       ] ;
       fhir:mapping ( [
         fhir:identity [ fhir:v "rim" ] ;
         fhir:map [ fhir:v ".interpretationCode" ]
       ] )
     ] [
       fhir:id [ fhir:v "Measure.term" ] ;
       fhir:path [ fhir:v "Measure.term" ] ;
       fhir:short [ fhir:v "Defined terms used in the measure documentation" ] ;
       fhir:definition [ fhir:v "Provides a description of an individual term used within the measure." ] ;
       fhir:requirements [ fhir:v "Measure developers must be able to provide precise definitions of terms used within measure descriptions and guidance to help communicate the intent of the measure." ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "*" ] ;
       fhir:type ( [
         fhir:code [ fhir:v "BackboneElement" ]
       ] ) ;
       fhir:mustSupport [ fhir:v "false" ] ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:isSummary [ fhir:v "false" ] ;
       fhir:mapping ( [
         fhir:identity [ fhir:v "rim" ] ;
         fhir:map [ fhir:v "N/A" ]
       ] )
     ] [
       fhir:id [ fhir:v "Measure.term.code" ] ;
       fhir:path [ fhir:v "Measure.term.code" ] ;
       fhir:short [ fhir:v "What term?" ] ;
       fhir:definition [ fhir:v "A codeable representation of the defined term." ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "1" ] ;
       fhir:type ( [
         fhir:code [ fhir:v "CodeableConcept" ]
       ] ) ;
       fhir:mustSupport [ fhir:v "false" ] ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:isSummary [ fhir:v "false" ] ;
       fhir:binding [
         fhir:extension ( [
           fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName" ] ;
           fhir:value [ fhir:v "DefinitionCode" ]
         ] ) ;
         fhir:strength [ fhir:v "example" ] ;
         fhir:description [ fhir:v "Codeable representations of measure definition terms." ] ;
         fhir:valueSet [ fhir:v "http://hl7.org/fhir/ValueSet/measure-definition-example" ]
       ] ;
       fhir:mapping ( [
         fhir:identity [ fhir:v "rim" ] ;
         fhir:map [ fhir:v "N/A" ]
       ] )
     ] [
       fhir:id [ fhir:v "Measure.term.definition" ] ;
       fhir:path [ fhir:v "Measure.term.definition" ] ;
       fhir:short [ fhir:v "Meaning of the term" ] ;
       fhir:definition [ fhir:v "Provides a definition for the term as used within the measure." ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "1" ] ;
       fhir:type ( [
         fhir:code [ fhir:v "markdown" ]
       ] ) ;
       fhir:mustSupport [ fhir:v "false" ] ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:isSummary [ fhir:v "false" ] ;
       fhir:mapping ( [
         fhir:identity [ fhir:v "rim" ] ;
         fhir:map [ fhir:v "N/A (to add?)" ]
       ] )
     ] [
       fhir:id [ fhir:v "Measure.guidance" ] ;
       fhir:extension ( [
         fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status" ] ;
         fhir:value [ fhir:v "deprecated" ]
       ] ) ;
       fhir:path [ fhir:v "Measure.guidance" ] ;
       fhir:short [ fhir:v "Additional guidance for implementers (deprecated)" ] ;
       fhir:definition [ fhir:v "Additional guidance for the measure including how it can be used in a clinical context, and the intent of the measure." ] ;
       fhir:comment [ fhir:v "NOTE: This element is deprecated in favor of the usage element" ] ;
       fhir:requirements [ fhir:v "Measure developers must be able to provide additional guidance for implementers to understand the intent with greater specificity than that provided in the population criteria of the measure. This element provides detailed guidance, where the usage element provides a summary of the guidance." ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "1" ] ;
       fhir:type ( [
         fhir:code [ fhir:v "markdown" ]
       ] ) ;
       fhir:mustSupport [ fhir:v "false" ] ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:isSummary [ fhir:v "true" ] ;
       fhir:mapping ( [
         fhir:identity [ fhir:v "rim" ] ;
         fhir:map [ fhir:v "N/A (to add?)" ]
       ] )
     ] [
       fhir:id [ fhir:v "Measure.group" ] ;
       fhir:path [ fhir:v "Measure.group" ] ;
       fhir:short [ fhir:v "Population criteria group" ] ;
       fhir:definition [ fhir:v "A group of population criteria for the measure." ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "*" ] ;
       fhir:type ( [
         fhir:code [ fhir:v "BackboneElement" ]
       ] ) ;
       fhir:condition ( [ fhir:v "mea-1" ] ) ;
       fhir:mustSupport [ fhir:v "false" ] ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:isSummary [ fhir:v "false" ] ;
       fhir:mapping ( [
         fhir:identity [ fhir:v "rim" ] ;
         fhir:map [ fhir:v ".outboundRelationship[typeCode=COMP]" ]
       ] )
     ] [
       fhir:id [ fhir:v "Measure.group.linkId" ] ;
       fhir:path [ fhir:v "Measure.group.linkId" ] ;
       fhir:short [ fhir:v "Unique id for group in measure" ] ;
       fhir:definition [ fhir:v "An identifier that is unique within the Measure allowing linkage to the equivalent item in a MeasureReport resource." ] ;
       fhir:comment [ fhir:v "This ''can'' be a meaningful identifier (e.g. a LOINC code) but is not intended to have any meaning.  GUIDs or sequential numbers are appropriate here.\n\nLinkIds can have whitespaces and slashes by design. Tooling should not rely on linkIds being valid XHTML element IDs, and should not directly embed them as such" ] ;
       fhir:requirements [ fhir:v "[MeasureReport](measurereport.html#) does not require omitted groups to be included." ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "1" ] ;
       fhir:type ( [
         fhir:code [ fhir:v "string" ]
       ] ) ;
       fhir:constraint ( [
         fhir:key [ fhir:v "mea-2" ] ;
         fhir:severity [ fhir:v "warning" ] ;
         fhir:human [ fhir:v "Link ids should be 255 characters or less" ] ;
         fhir:expression [ fhir:v "$this.length() <= 255" ] ;
         fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Measure" ]
       ] ) ;
       fhir:mustSupport [ fhir:v "false" ] ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:isSummary [ fhir:v "false" ] ;
       fhir:mapping ( [
         fhir:identity [ fhir:v "rim" ] ;
         fhir:map [ fhir:v ".id" ]
       ] )
     ] [
       fhir:id [ fhir:v "Measure.group.code" ] ;
       fhir:path [ fhir:v "Measure.group.code" ] ;
       fhir:short [ fhir:v "Meaning of the group" ] ;
       fhir:definition [ fhir:v "Indicates a meaning for the group. This can be as simple as a unique identifier, or it can establish meaning in a broader context by drawing from a terminology, allowing groups to be correlated across measures." ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "1" ] ;
       fhir:type ( [
         fhir:code [ fhir:v "CodeableConcept" ]
       ] ) ;
       fhir:mustSupport [ fhir:v "false" ] ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:isSummary [ fhir:v "false" ] ;
       fhir:binding [
         fhir:extension ( [
           fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName" ] ;
           fhir:value [ fhir:v "MeasureGroupExample" ]
         ] ) ;
         fhir:strength [ fhir:v "example" ] ;
         fhir:description [ fhir:v "Example of measure groups." ] ;
         fhir:valueSet [ fhir:v "http://hl7.org/fhir/ValueSet/measure-group-example" ]
       ] ;
       fhir:mapping ( [
         fhir:identity [ fhir:v "rim" ] ;
         fhir:map [ fhir:v ".code" ]
       ] )
     ] [
       fhir:id [ fhir:v "Measure.group.description" ] ;
       fhir:path [ fhir:v "Measure.group.description" ] ;
       fhir:short [ fhir:v "Summary description" ] ;
       fhir:definition [ fhir:v "The human readable description of this population group." ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "1" ] ;
       fhir:type ( [
         fhir:code [ fhir:v "markdown" ]
       ] ) ;
       fhir:mustSupport [ fhir:v "false" ] ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:isSummary [ fhir:v "false" ] ;
       fhir:mapping ( [
         fhir:identity [ fhir:v "rim" ] ;
         fhir:map [ fhir:v ".text" ]
       ] )
     ] [
       fhir:id [ fhir:v "Measure.group.type" ] ;
       fhir:path [ fhir:v "Measure.group.type" ] ;
       fhir:short [ fhir:v "process | outcome | structure | patient-reported-outcome | composite" ] ;
       fhir:definition [ fhir:v "Indicates whether the measure is used to examine a process, an outcome over time, a patient-reported outcome, or a structure measure such as utilization." ] ;
       fhir:comment [ fhir:v "When specified at the group level, defines the measure type for this specific group. If not specified, the measureType of the group is determined by the root type element" ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "*" ] ;
       fhir:type ( [
         fhir:code [ fhir:v "CodeableConcept" ]
       ] ) ;
       fhir:mustSupport [ fhir:v "false" ] ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:isSummary [ fhir:v "true" ] ;
       fhir:binding [
         fhir:extension ( [
           fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName" ] ;
           fhir:value [ fhir:v "MeasureType" ]
         ] ) ;
         fhir:strength [ fhir:v "extensible" ] ;
         fhir:valueSet [ fhir:v "http://hl7.org/fhir/ValueSet/measure-type" ]
       ] ;
       fhir:mapping ( [
         fhir:identity [ fhir:v "rim" ] ;
         fhir:map [ fhir:v ".typeCode" ]
       ] )
     ] [
       fhir:id [ fhir:v "Measure.group.subject[x]" ] ;
       fhir:path [ fhir:v "Measure.group.subject[x]" ] ;
       fhir:short [ fhir:v "E.g. Patient, Practitioner, RelatedPerson, Organization, Location, Device" ] ;
       fhir:definition [ fhir:v "The intended subjects for the measure. If this element is not provided, a Patient subject is assumed, but the subject of the measure can be anything." ] ;
       fhir:comment [ fhir:v "The subject of the measure is critical in interpreting the criteria definitions, as the logic in the measures is evaluated with respect to a particular subject. This corresponds roughly to the notion of a Compartment in that it limits what content is available based on its relationship to the subject. In CQL, this corresponds to the context declaration." ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "1" ] ;
       fhir:type ( [
         fhir:code [ fhir:v "CodeableConcept" ]
       ] [
         fhir:code [ fhir:v "Reference" ] ;
         fhir:targetProfile ( [ fhir:v "http://hl7.org/fhir/StructureDefinition/Group" ] )
       ] ) ;
       fhir:meaningWhenMissing [ fhir:v "Patient" ] ;
       fhir:mustSupport [ fhir:v "false" ] ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:isSummary [ fhir:v "false" ] ;
       fhir:binding [
         fhir:extension ( [
           fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName" ] ;
           fhir:value [ fhir:v "SubjectType" ]
         ] [
           fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding" ] ;
           fhir:value [ fhir:v "true" ]
         ] ) ;
         fhir:strength [ fhir:v "extensible" ] ;
         fhir:description [ fhir:v "The possible types of subjects for a measure (E.g. Patient, Practitioner, Organization, Location, etc.)." ] ;
         fhir:valueSet [ fhir:v "http://hl7.org/fhir/ValueSet/participant-resource-types" ]
       ] ;
       fhir:mapping ( [
         fhir:identity [ fhir:v "rim" ] ;
         fhir:map [ fhir:v "N/A (to add?) { only applies for subject Patient? }" ]
       ] )
     ] [
       fhir:id [ fhir:v "Measure.group.basis" ] ;
       fhir:path [ fhir:v "Measure.group.basis" ] ;
       fhir:short [ fhir:v "Population basis" ] ;
       fhir:definition [ fhir:v "The population basis specifies the type of elements in the population. For a subject-based measure, this is boolean (because the subject and the population basis are the same, and the population criteria define yes/no values for each individual in the population). For measures that have a population basis that is different than the subject, this element specifies the type of the population basis. For example, an encounter-based measure has a subject of Patient and a population basis of Encounter, and the population criteria all return lists of Encounters." ] ;
       fhir:comment [ fhir:v "When specified at the group level, defines the population basis for this specific group. If not specified, the basis for the group is determined by the root basis element" ] ;
       fhir:requirements [ fhir:v "Allows non-subject-based measures to be specified" ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "1" ] ;
       fhir:type ( [
         fhir:code [ fhir:v "code" ]
       ] ) ;
       fhir:meaningWhenMissing [ fhir:v "boolean" ] ;
       fhir:mustSupport [ fhir:v "false" ] ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:isSummary [ fhir:v "true" ] ;
       fhir:binding [
         fhir:extension ( [
           fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName" ] ;
           fhir:value [ fhir:v "BasisType" ]
         ] [
           fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding" ] ;
           fhir:value [ fhir:v "true" ]
         ] ) ;
         fhir:strength [ fhir:v "required" ] ;
         fhir:valueSet [ fhir:v "http://hl7.org/fhir/ValueSet/fhir-types|5.0.0-draft-final" ]
       ] ;
       fhir:mapping ( [
         fhir:identity [ fhir:v "rim" ] ;
         fhir:map [ fhir:v "N/A (to add?) { only applies for subject Patient? }" ]
       ] )
     ] [
       fhir:id [ fhir:v "Measure.group.scoring" ] ;
       fhir:path [ fhir:v "Measure.group.scoring" ] ;
       fhir:short [ fhir:v "proportion | ratio | continuous-variable | cohort" ] ;
       fhir:definition [ fhir:v "Indicates how the calculation is performed for the measure, including proportion, ratio, continuous-variable, and cohort. The value set is extensible, allowing additional measure scoring types to be represented." ] ;
       fhir:comment [ fhir:v "When specified at the group level, defines the scoring for this specific group. If not specified, scoring for this group is determined by the root scoring element" ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "1" ] ;
       fhir:type ( [
         fhir:code [ fhir:v "CodeableConcept" ]
       ] ) ;
       fhir:mustSupport [ fhir:v "false" ] ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:isSummary [ fhir:v "true" ] ;
       fhir:binding [
         fhir:extension ( [
           fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName" ] ;
           fhir:value [ fhir:v "MeasureScoring" ]
         ] ) ;
         fhir:strength [ fhir:v "extensible" ] ;
         fhir:valueSet [ fhir:v "http://hl7.org/fhir/ValueSet/measure-scoring" ]
       ] ;
       fhir:mapping ( [
         fhir:identity [ fhir:v "rim" ] ;
         fhir:map [ fhir:v ".methodCode { the aspect of how the calculation is performed }" ]
       ] )
     ] [
       fhir:id [ fhir:v "Measure.group.scoringUnit" ] ;
       fhir:path [ fhir:v "Measure.group.scoringUnit" ] ;
       fhir:short [ fhir:v "What units?" ] ;
       fhir:definition [ fhir:v "Defines the expected units of measure for the measure score. This element SHOULD be specified as a UCUM unit." ] ;
       fhir:comment [ fhir:v "When specified at the group level, this defines the scoringUnit for this specific group. If not specified, the scoringUnit for this group is determined by the root scoringUnit element. As with the root element, when this element is specified, implementations are expected to report measure scores in the specified units. Note that this may involve unit conversion if the expected units are different than the units of the resulting score calculation. In this case, unit conversions SHALL be performed according to the unit conversion semantics specified by UCUM." ] ;
       fhir:requirements [ fhir:v "When the unit cannot be inferred directly from the calculation logic, this element allows the specification of the desired units of measure of the output." ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "1" ] ;
       fhir:type ( [
         fhir:code [ fhir:v "CodeableConcept" ]
       ] ) ;
       fhir:mustSupport [ fhir:v "false" ] ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:isSummary [ fhir:v "true" ] ;
       fhir:binding [
         fhir:extension ( [
           fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName" ] ;
           fhir:value [ fhir:v "MeasureScoringUnit" ]
         ] ) ;
         fhir:strength [ fhir:v "example" ] ;
         fhir:valueSet [ fhir:v "http://hl7.org/fhir/ValueSet/measure-scoring-unit" ]
       ] ;
       fhir:mapping ( [
         fhir:identity [ fhir:v "rim" ] ;
         fhir:map [ fhir:v ".methodCode { the aspect of how the calculation is performed }" ]
       ] )
     ] [
       fhir:id [ fhir:v "Measure.group.rateAggregation" ] ;
       fhir:path [ fhir:v "Measure.group.rateAggregation" ] ;
       fhir:short [ fhir:v "How is rate aggregation performed for this measure" ] ;
       fhir:definition [ fhir:v "Describes how to combine the information calculated, based on logic in each of several populations, into one summarized result." ] ;
       fhir:comment [ fhir:v "The measure rate for an organization or clinician is based upon the entities’ aggregate data and summarizes the performance of the entity over a given time period (e.g., monthly, quarterly, yearly). The aggregated data are derived from the results of a specific measure algorithm and, if appropriate, the application of specific risk adjustment models.  Can also be used to describe how to risk adjust the data based on supplemental data elements described in the eMeasure (e.g., pneumonia hospital measures antibiotic selection in the ICU versus non-ICU and then the roll-up of the two). This could be applied to aggregated cohort measure definitions (e.g., CDC's aggregate reporting for TB at the state level)." ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "1" ] ;
       fhir:type ( [
         fhir:code [ fhir:v "markdown" ]
       ] ) ;
       fhir:mustSupport [ fhir:v "false" ] ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:isSummary [ fhir:v "true" ] ;
       fhir:mapping ( [
         fhir:identity [ fhir:v "rim" ] ;
         fhir:map [ fhir:v "N/A (to add?)" ]
       ] )
     ] [
       fhir:id [ fhir:v "Measure.group.improvementNotation" ] ;
       fhir:path [ fhir:v "Measure.group.improvementNotation" ] ;
       fhir:short [ fhir:v "increase | decrease" ] ;
       fhir:definition [ fhir:v "Information on whether an increase or decrease in score is the preferred result (e.g., a higher score indicates better quality OR a lower score indicates better quality OR quality is within a range)." ] ;
       fhir:comment [ fhir:v "When specified at the group level, this element defines the improvementNotation for this specific group. If not specified, improvementNotation for this group is determined by the root improvementNotation element" ] ;
       fhir:requirements [ fhir:v "Measure consumers and implementers must be able to determine how to interpret a measure score." ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "1" ] ;
       fhir:type ( [
         fhir:code [ fhir:v "CodeableConcept" ]
       ] ) ;
       fhir:mustSupport [ fhir:v "false" ] ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:isSummary [ fhir:v "true" ] ;
       fhir:binding [
         fhir:extension ( [
           fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName" ] ;
           fhir:value [ fhir:v "MeasureImprovementNotation" ]
         ] ) ;
         fhir:strength [ fhir:v "required" ] ;
         fhir:valueSet [ fhir:v "http://hl7.org/fhir/ValueSet/measure-improvement-notation|5.0.0-draft-final" ]
       ] ;
       fhir:mapping ( [
         fhir:identity [ fhir:v "rim" ] ;
         fhir:map [ fhir:v ".methodCode { the aspect of how the calculation is performed }" ]
       ] )
     ] [
       fhir:id [ fhir:v "Measure.group.library" ] ;
       fhir:path [ fhir:v "Measure.group.library" ] ;
       fhir:short [ fhir:v "Logic used by the measure group" ] ;
       fhir:definition [ fhir:v "A reference to a Library resource containing the formal logic used by the measure group." ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "*" ] ;
       fhir:type ( [
         fhir:code [ fhir:v "canonical" ] ;
         fhir:targetProfile ( [ fhir:v "http://hl7.org/fhir/StructureDefinition/Library" ] )
       ] ) ;
       fhir:mustSupport [ fhir:v "false" ] ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:isSummary [ fhir:v "false" ] ;
       fhir:mapping ( [
         fhir:identity [ fhir:v "rim" ] ;
         fhir:map [ fhir:v "N/A (to add?)" ]
       ] )
     ] [
       fhir:id [ fhir:v "Measure.group.population" ] ;
       fhir:path [ fhir:v "Measure.group.population" ] ;
       fhir:short [ fhir:v "Population criteria" ] ;
       fhir:definition [ fhir:v "A population criteria for the measure." ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "*" ] ;
       fhir:type ( [
         fhir:code [ fhir:v "BackboneElement" ]
       ] ) ;
       fhir:mustSupport [ fhir:v "false" ] ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:isSummary [ fhir:v "false" ] ;
       fhir:mapping ( [
         fhir:identity [ fhir:v "rim" ] ;
         fhir:map [ fhir:v ".outboundRelationship[typeCode=COMP]" ]
       ] )
     ] [
       fhir:id [ fhir:v "Measure.group.population.linkId" ] ;
       fhir:path [ fhir:v "Measure.group.population.linkId" ] ;
       fhir:short [ fhir:v "Unique id for population in measure" ] ;
       fhir:definition [ fhir:v "An identifier that is unique within the Measure allowing linkage to the equivalent population in a MeasureReport resource." ] ;
       fhir:comment [ fhir:v "This ''can'' be a meaningful identifier (e.g. a LOINC code) but is not intended to have any meaning.  GUIDs or sequential numbers are appropriate here.\n\nLinkIds can have whitespaces and slashes by design. Tooling should not rely on linkIds being valid XHTML element IDs, and should not directly embed them as such" ] ;
       fhir:requirements [ fhir:v "[MeasureReport](measurereport.html#) does not require omitted populations to be included." ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "1" ] ;
       fhir:type ( [
         fhir:code [ fhir:v "string" ]
       ] ) ;
       fhir:constraint ( [
         fhir:key [ fhir:v "mea-3" ] ;
         fhir:severity [ fhir:v "warning" ] ;
         fhir:human [ fhir:v "Link ids should be 255 characters or less" ] ;
         fhir:expression [ fhir:v "$this.length() <= 255" ] ;
         fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Measure" ]
       ] ) ;
       fhir:mustSupport [ fhir:v "false" ] ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:isSummary [ fhir:v "false" ] ;
       fhir:mapping ( [
         fhir:identity [ fhir:v "rim" ] ;
         fhir:map [ fhir:v ".id" ]
       ] )
     ] [
       fhir:id [ fhir:v "Measure.group.population.code" ] ;
       fhir:path [ fhir:v "Measure.group.population.code" ] ;
       fhir:short [ fhir:v "initial-population | numerator | numerator-exclusion | denominator | denominator-exclusion | denominator-exception | measure-population | measure-population-exclusion | measure-observation" ] ;
       fhir:definition [ fhir:v "The type of population criteria." ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "1" ] ;
       fhir:type ( [
         fhir:code [ fhir:v "CodeableConcept" ]
       ] ) ;
       fhir:mustSupport [ fhir:v "false" ] ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:isSummary [ fhir:v "false" ] ;
       fhir:binding [
         fhir:extension ( [
           fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName" ] ;
           fhir:value [ fhir:v "MeasurePopulationType" ]
         ] ) ;
         fhir:strength [ fhir:v "extensible" ] ;
         fhir:description [ fhir:v "The type of population." ] ;
         fhir:valueSet [ fhir:v "http://hl7.org/fhir/ValueSet/measure-population" ]
       ] ;
       fhir:mapping ( [
         fhir:identity [ fhir:v "rim" ] ;
         fhir:map [ fhir:v ".code" ]
       ] )
     ] [
       fhir:id [ fhir:v "Measure.group.population.description" ] ;
       fhir:path [ fhir:v "Measure.group.population.description" ] ;
       fhir:short [ fhir:v "The human readable description of this population criteria" ] ;
       fhir:definition [ fhir:v "The human readable description of this population criteria." ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "1" ] ;
       fhir:type ( [
         fhir:code [ fhir:v "markdown" ]
       ] ) ;
       fhir:mustSupport [ fhir:v "false" ] ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:isSummary [ fhir:v "false" ] ;
       fhir:mapping ( [
         fhir:identity [ fhir:v "rim" ] ;
         fhir:map [ fhir:v ".text" ]
       ] )
     ] [
       fhir:id [ fhir:v "Measure.group.population.criteria" ] ;
       fhir:path [ fhir:v "Measure.group.population.criteria" ] ;
       fhir:short [ fhir:v "The criteria that defines this population" ] ;
       fhir:definition [ fhir:v "An expression that specifies the criteria for the population, typically the name of an expression in a library." ] ;
       fhir:comment [ fhir:v "In the case of a continuous-variable or ratio measure, this may be the name of a function that calculates the value of the individual observation for each patient or event in the population. For these types of measures, individual observations are reported as observation resources included in the evaluatedResources bundle for each patient. See the MeasureReport resource or the Quality Reporting topic for more information." ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "1" ] ;
       fhir:type ( [
         fhir:code [ fhir:v "Expression" ]
       ] ) ;
       fhir:mustSupport [ fhir:v "false" ] ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:isSummary [ fhir:v "false" ] ;
       fhir:mapping ( [
         fhir:identity [ fhir:v "rim" ] ;
         fhir:map [ fhir:v "N/A (to add?)" ]
       ] )
     ] [
       fhir:id [ fhir:v "Measure.group.population.groupDefinition" ] ;
       fhir:path [ fhir:v "Measure.group.population.groupDefinition" ] ;
       fhir:short [ fhir:v "A group resource that defines this population" ] ;
       fhir:definition [ fhir:v "A Group resource that defines this population as a set of characteristics." ] ;
       fhir:comment [ fhir:v "Note that this approach can only be used for measures where the basis is of the same type as the populations (e.g. a Patient-based measure, rather than an Encounter-based measure). In addition, the referenced Group resource SHALL be a definitional (as opposed to an actual) group." ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "1" ] ;
       fhir:type ( [
         fhir:code [ fhir:v "Reference" ] ;
         fhir:targetProfile ( [ fhir:v "http://hl7.org/fhir/StructureDefinition/Group" ] )
       ] ) ;
       fhir:mustSupport [ fhir:v "false" ] ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:isSummary [ fhir:v "false" ] ;
       fhir:mapping ( [
         fhir:identity [ fhir:v "rim" ] ;
         fhir:map [ fhir:v "N/A (to add?)" ]
       ] )
     ] [
       fhir:id [ fhir:v "Measure.group.population.inputPopulationId" ] ;
       fhir:path [ fhir:v "Measure.group.population.inputPopulationId" ] ;
       fhir:short [ fhir:v "Which population" ] ;
       fhir:definition [ fhir:v "The id of a population element in this measure that provides the input for this population criteria. In most cases, the scoring structure of the measure implies specific relationships (e.g. the Numerator uses the Denominator as the source in a proportion scoring). In some cases, however, multiple possible choices exist and must be resolved explicitly. For example in a ratio measure with multiple initial populations, the denominator must specify which population should be used as the starting point." ] ;
       fhir:requirements [ fhir:v "For ratio and continuous variable measures, the source populations must be specified explicitly when they cannot be unambiguously determined from the scoring structure." ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "1" ] ;
       fhir:type ( [
         fhir:code [ fhir:v "string" ]
       ] ) ;
       fhir:mustSupport [ fhir:v "false" ] ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:isSummary [ fhir:v "false" ] ;
       fhir:mapping ( [
         fhir:identity [ fhir:v "rim" ] ;
         fhir:map [ fhir:v "N/A (to add?)" ]
       ] )
     ] [
       fhir:id [ fhir:v "Measure.group.population.aggregateMethod" ] ;
       fhir:path [ fhir:v "Measure.group.population.aggregateMethod" ] ;
       fhir:short [ fhir:v "Aggregation method for a measure score (e.g. sum, average, median, minimum, maximum, count)" ] ;
       fhir:definition [ fhir:v "Specifies which method should be used to aggregate measure observation values. For most scoring types, this is implied by scoring (e.g. a proportion measure counts members of the populations). For continuous variables, however, this information must be specified to ensure correct calculation." ] ;
       fhir:requirements [ fhir:v "For continuous variable measures, specifications must be able to indicate the aggregation method to be used for tallying results from individual observations." ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "1" ] ;
       fhir:type ( [
         fhir:code [ fhir:v "CodeableConcept" ]
       ] ) ;
       fhir:mustSupport [ fhir:v "false" ] ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:isSummary [ fhir:v "false" ] ;
       fhir:binding [
         fhir:extension ( [
           fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName" ] ;
           fhir:value [ fhir:v "MeasureAggregateMethod" ]
         ] ) ;
         fhir:strength [ fhir:v "extensible" ] ;
         fhir:valueSet [ fhir:v "http://hl7.org/fhir/ValueSet/measure-aggregate-method" ]
       ] ;
       fhir:mapping ( [
         fhir:identity [ fhir:v "rim" ] ;
         fhir:map [ fhir:v "N/A (to add?)" ]
       ] )
     ] [
       fhir:id [ fhir:v "Measure.group.stratifier" ] ;
       fhir:path [ fhir:v "Measure.group.stratifier" ] ;
       fhir:short [ fhir:v "Stratifier criteria for the measure" ] ;
       fhir:definition [ fhir:v "The stratifier criteria for the measure report, specified as either the name of a valid CQL expression defined within a referenced library or a valid FHIR Resource Path." ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "*" ] ;
       fhir:type ( [
         fhir:code [ fhir:v "BackboneElement" ]
       ] ) ;
       fhir:condition ( [ fhir:v "mea-1" ] ) ;
       fhir:mustSupport [ fhir:v "false" ] ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:isSummary [ fhir:v "false" ] ;
       fhir:mapping ( [
         fhir:identity [ fhir:v "rim" ] ;
         fhir:map [ fhir:v ".outboundRelationship[typeCode=COMP]" ]
       ] )
     ] [
       fhir:id [ fhir:v "Measure.group.stratifier.linkId" ] ;
       fhir:path [ fhir:v "Measure.group.stratifier.linkId" ] ;
       fhir:short [ fhir:v "Unique id for stratifier in measure" ] ;
       fhir:definition [ fhir:v "An identifier that is unique within the Measure allowing linkage to the equivalent item in a MeasureReport resource." ] ;
       fhir:comment [ fhir:v "This ''can'' be a meaningful identifier (e.g. a LOINC code) but is not intended to have any meaning.  GUIDs or sequential numbers are appropriate here.\n\nLinkIds can have whitespaces and slashes by design. Tooling should not rely on linkIds being valid XHTML element IDs, and should not directly embed them as such" ] ;
       fhir:requirements [ fhir:v "[MeasureReport](measurereport.html#) does not require omitted stratifiers to be included." ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "1" ] ;
       fhir:type ( [
         fhir:code [ fhir:v "string" ]
       ] ) ;
       fhir:constraint ( [
         fhir:key [ fhir:v "mea-4" ] ;
         fhir:severity [ fhir:v "warning" ] ;
         fhir:human [ fhir:v "Link ids should be 255 characters or less" ] ;
         fhir:expression [ fhir:v "$this.length() <= 255" ] ;
         fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Measure" ]
       ] ) ;
       fhir:mustSupport [ fhir:v "false" ] ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:isSummary [ fhir:v "false" ] ;
       fhir:mapping ( [
         fhir:identity [ fhir:v "rim" ] ;
         fhir:map [ fhir:v ".id" ]
       ] )
     ] [
       fhir:id [ fhir:v "Measure.group.stratifier.code" ] ;
       fhir:path [ fhir:v "Measure.group.stratifier.code" ] ;
       fhir:short [ fhir:v "Meaning of the stratifier" ] ;
       fhir:definition [ fhir:v "Indicates a meaning for the stratifier. This can be as simple as a unique identifier, or it can establish meaning in a broader context by drawing from a terminology, allowing stratifiers to be correlated across measures." ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "1" ] ;
       fhir:type ( [
         fhir:code [ fhir:v "CodeableConcept" ]
       ] ) ;
       fhir:condition ( [ fhir:v "mea-1" ] ) ;
       fhir:mustSupport [ fhir:v "false" ] ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:isSummary [ fhir:v "false" ] ;
       fhir:binding [
         fhir:extension ( [
           fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName" ] ;
           fhir:value [ fhir:v "MeasureStratifierExample" ]
         ] ) ;
         fhir:strength [ fhir:v "example" ] ;
         fhir:description [ fhir:v "Meaning of the stratifier." ] ;
         fhir:valueSet [ fhir:v "http://hl7.org/fhir/ValueSet/measure-stratifier-example" ]
       ] ;
       fhir:mapping ( [
         fhir:identity [ fhir:v "rim" ] ;
         fhir:map [ fhir:v ".code" ]
       ] )
     ] [
       fhir:id [ fhir:v "Measure.group.stratifier.description" ] ;
       fhir:path [ fhir:v "Measure.group.stratifier.description" ] ;
       fhir:short [ fhir:v "The human readable description of this stratifier" ] ;
       fhir:definition [ fhir:v "The human readable description of this stratifier criteria." ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "1" ] ;
       fhir:type ( [
         fhir:code [ fhir:v "markdown" ]
       ] ) ;
       fhir:condition ( [ fhir:v "mea-1" ] ) ;
       fhir:mustSupport [ fhir:v "false" ] ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:isSummary [ fhir:v "false" ] ;
       fhir:mapping ( [
         fhir:identity [ fhir:v "rim" ] ;
         fhir:map [ fhir:v ".text" ]
       ] )
     ] [
       fhir:id [ fhir:v "Measure.group.stratifier.criteria" ] ;
       fhir:path [ fhir:v "Measure.group.stratifier.criteria" ] ;
       fhir:short [ fhir:v "How the measure should be stratified" ] ;
       fhir:definition [ fhir:v "An expression that specifies the criteria for the stratifier. This is typically the name of an expression defined within a referenced library, but it may also be a path to a stratifier element." ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "1" ] ;
       fhir:type ( [
         fhir:code [ fhir:v "Expression" ]
       ] ) ;
       fhir:condition ( [ fhir:v "mea-1" ] ) ;
       fhir:mustSupport [ fhir:v "false" ] ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:isSummary [ fhir:v "false" ] ;
       fhir:mapping ( [
         fhir:identity [ fhir:v "rim" ] ;
         fhir:map [ fhir:v "N/A (to add?)" ]
       ] )
     ] [
       fhir:id [ fhir:v "Measure.group.stratifier.groupDefinition" ] ;
       fhir:path [ fhir:v "Measure.group.stratifier.groupDefinition" ] ;
       fhir:short [ fhir:v "A group resource that defines this population" ] ;
       fhir:definition [ fhir:v "A Group resource that defines this population as a set of characteristics." ] ;
       fhir:comment [ fhir:v "Note that this approach can only be used for measures where the basis is of the same type as the populations (e.g. a Patient-based measure, rather than an Encounter-based measure). In addition, the referenced Group SHALL be a definitional (as opposed to an actual) group." ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "1" ] ;
       fhir:type ( [
         fhir:code [ fhir:v "Reference" ] ;
         fhir:targetProfile ( [ fhir:v "http://hl7.org/fhir/StructureDefinition/Group" ] )
       ] ) ;
       fhir:mustSupport [ fhir:v "false" ] ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:isSummary [ fhir:v "false" ] ;
       fhir:mapping ( [
         fhir:identity [ fhir:v "rim" ] ;
         fhir:map [ fhir:v "N/A (to add?)" ]
       ] )
     ] [
       fhir:id [ fhir:v "Measure.group.stratifier.component" ] ;
       fhir:path [ fhir:v "Measure.group.stratifier.component" ] ;
       fhir:short [ fhir:v "Stratifier criteria component for the measure" ] ;
       fhir:definition [ fhir:v "A component of the stratifier criteria for the measure report, specified as either the name of a valid CQL expression defined within a referenced library or a valid FHIR Resource Path." ] ;
       fhir:comment [ fhir:v "Stratifiers are defined either as a single criteria, or as a set of component criteria." ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "*" ] ;
       fhir:type ( [
         fhir:code [ fhir:v "BackboneElement" ]
       ] ) ;
       fhir:condition ( [ fhir:v "mea-1" ] ) ;
       fhir:mustSupport [ fhir:v "false" ] ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:isSummary [ fhir:v "false" ] ;
       fhir:mapping ( [
         fhir:identity [ fhir:v "rim" ] ;
         fhir:map [ fhir:v ".outboundRelationship[typeCode=COMP]" ]
       ] )
     ] [
       fhir:id [ fhir:v "Measure.group.stratifier.component.linkId" ] ;
       fhir:path [ fhir:v "Measure.group.stratifier.component.linkId" ] ;
       fhir:short [ fhir:v "Unique id for stratifier component in measure" ] ;
       fhir:definition [ fhir:v "An identifier that is unique within the Measure allowing linkage to the equivalent item in a MeasureReport resource." ] ;
       fhir:comment [ fhir:v "This ''can'' be a meaningful identifier (e.g. a LOINC code) but is not intended to have any meaning.  GUIDs or sequential numbers are appropriate here.\n\nLinkIds can have whitespaces and slashes by design. Tooling should not rely on linkIds being valid XHTML element IDs, and should not directly embed them as such" ] ;
       fhir:requirements [ fhir:v "[MeasureReport](measurereport.html#) does not require omitted stratifier components to be included." ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "1" ] ;
       fhir:type ( [
         fhir:code [ fhir:v "string" ]
       ] ) ;
       fhir:constraint ( [
         fhir:key [ fhir:v "mea-5" ] ;
         fhir:severity [ fhir:v "warning" ] ;
         fhir:human [ fhir:v "Link ids should be 255 characters or less" ] ;
         fhir:expression [ fhir:v "$this.length() <= 255" ] ;
         fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Measure" ]
       ] ) ;
       fhir:mustSupport [ fhir:v "false" ] ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:isSummary [ fhir:v "false" ] ;
       fhir:mapping ( [
         fhir:identity [ fhir:v "rim" ] ;
         fhir:map [ fhir:v ".id" ]
       ] )
     ] [
       fhir:id [ fhir:v "Measure.group.stratifier.component.code" ] ;
       fhir:path [ fhir:v "Measure.group.stratifier.component.code" ] ;
       fhir:short [ fhir:v "Meaning of the stratifier component" ] ;
       fhir:definition [ fhir:v "Indicates a meaning for the stratifier component. This can be as simple as a unique identifier, or it can establish meaning in a broader context by drawing from a terminology, allowing stratifiers to be correlated across measures." ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "1" ] ;
       fhir:type ( [
         fhir:code [ fhir:v "CodeableConcept" ]
       ] ) ;
       fhir:mustSupport [ fhir:v "false" ] ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:isSummary [ fhir:v "false" ] ;
       fhir:binding [
         fhir:extension ( [
           fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName" ] ;
           fhir:value [ fhir:v "MeasureStratifierExample" ]
         ] ) ;
         fhir:strength [ fhir:v "example" ] ;
         fhir:description [ fhir:v "Meaning of the stratifier." ] ;
         fhir:valueSet [ fhir:v "http://hl7.org/fhir/ValueSet/measure-stratifier-example" ]
       ] ;
       fhir:mapping ( [
         fhir:identity [ fhir:v "rim" ] ;
         fhir:map [ fhir:v ".code" ]
       ] )
     ] [
       fhir:id [ fhir:v "Measure.group.stratifier.component.description" ] ;
       fhir:path [ fhir:v "Measure.group.stratifier.component.description" ] ;
       fhir:short [ fhir:v "The human readable description of this stratifier component" ] ;
       fhir:definition [ fhir:v "The human readable description of this stratifier criteria component." ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "1" ] ;
       fhir:type ( [
         fhir:code [ fhir:v "markdown" ]
       ] ) ;
       fhir:mustSupport [ fhir:v "false" ] ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:isSummary [ fhir:v "false" ] ;
       fhir:mapping ( [
         fhir:identity [ fhir:v "rim" ] ;
         fhir:map [ fhir:v ".text" ]
       ] )
     ] [
       fhir:id [ fhir:v "Measure.group.stratifier.component.criteria" ] ;
       fhir:path [ fhir:v "Measure.group.stratifier.component.criteria" ] ;
       fhir:short [ fhir:v "Component of how the measure should be stratified" ] ;
       fhir:definition [ fhir:v "An expression that specifies the criteria for this component of the stratifier. This is typically the name of an expression defined within a referenced library, but it may also be a path to a stratifier element." ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "1" ] ;
       fhir:type ( [
         fhir:code [ fhir:v "Expression" ]
       ] ) ;
       fhir:mustSupport [ fhir:v "false" ] ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:isSummary [ fhir:v "false" ] ;
       fhir:mapping ( [
         fhir:identity [ fhir:v "rim" ] ;
         fhir:map [ fhir:v "N/A (to add?)" ]
       ] )
     ] [
       fhir:id [ fhir:v "Measure.group.stratifier.component.groupDefinition" ] ;
       fhir:path [ fhir:v "Measure.group.stratifier.component.groupDefinition" ] ;
       fhir:short [ fhir:v "A group resource that defines this population" ] ;
       fhir:definition [ fhir:v "A Group resource that defines this population as a set of characteristics." ] ;
       fhir:comment [ fhir:v "Note that this approach can only be used for measures where the basis is of the same type as the populations (e.g. a Patient-based measure, rather than an Encounter-based measure). In addition, the referenced Group SHALL be a definitional (as opposed to an actual) group." ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "1" ] ;
       fhir:type ( [
         fhir:code [ fhir:v "Reference" ] ;
         fhir:targetProfile ( [ fhir:v "http://hl7.org/fhir/StructureDefinition/Group" ] )
       ] ) ;
       fhir:mustSupport [ fhir:v "false" ] ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:isSummary [ fhir:v "false" ] ;
       fhir:mapping ( [
         fhir:identity [ fhir:v "rim" ] ;
         fhir:map [ fhir:v "N/A (to add?)" ]
       ] )
     ] [
       fhir:id [ fhir:v "Measure.supplementalData" ] ;
       fhir:path [ fhir:v "Measure.supplementalData" ] ;
       fhir:short [ fhir:v "What other data should be reported with the measure" ] ;
       fhir:definition [ fhir:v "The supplemental data criteria for the measure report, specified as either the name of a valid CQL expression within a referenced library, or a valid FHIR Resource Path." ] ;
       fhir:comment [ fhir:v "Note that supplemental data are reported as observations for each patient and included in the evaluatedResources bundle. See the MeasureReport resource or the Quality Reporting topic for more information." ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "*" ] ;
       fhir:type ( [
         fhir:code [ fhir:v "BackboneElement" ]
       ] ) ;
       fhir:mustSupport [ fhir:v "false" ] ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:isSummary [ fhir:v "false" ] ;
       fhir:mapping ( [
         fhir:identity [ fhir:v "rim" ] ;
         fhir:map [ fhir:v ".outboundRelationship[typeCode=COMP]" ]
       ] )
     ] [
       fhir:id [ fhir:v "Measure.supplementalData.linkId" ] ;
       fhir:path [ fhir:v "Measure.supplementalData.linkId" ] ;
       fhir:short [ fhir:v "Unique id for supplementalData in measure" ] ;
       fhir:definition [ fhir:v "An identifier that is unique within the Measure allowing linkage to the equivalent item in a MeasureReport resource." ] ;
       fhir:comment [ fhir:v "This ''can'' be a meaningful identifier (e.g. a LOINC code) but is not intended to have any meaning.  GUIDs or sequential numbers are appropriate here.\n\nLinkIds can have whitespaces and slashes by design. Tooling should not rely on linkIds being valid XHTML element IDs, and should not directly embed them as such" ] ;
       fhir:requirements [ fhir:v "[MeasureReport](measurereport.html#) does not require omitted supplementalData to be included." ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "1" ] ;
       fhir:type ( [
         fhir:code [ fhir:v "string" ]
       ] ) ;
       fhir:constraint ( [
         fhir:key [ fhir:v "mea-6" ] ;
         fhir:severity [ fhir:v "warning" ] ;
         fhir:human [ fhir:v "Link ids should be 255 characters or less" ] ;
         fhir:expression [ fhir:v "$this.length() <= 255" ] ;
         fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Measure" ]
       ] ) ;
       fhir:mustSupport [ fhir:v "false" ] ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:isSummary [ fhir:v "false" ] ;
       fhir:mapping ( [
         fhir:identity [ fhir:v "rim" ] ;
         fhir:map [ fhir:v ".id" ]
       ] )
     ] [
       fhir:id [ fhir:v "Measure.supplementalData.code" ] ;
       fhir:path [ fhir:v "Measure.supplementalData.code" ] ;
       fhir:short [ fhir:v "Meaning of the supplemental data" ] ;
       fhir:definition [ fhir:v "Indicates a meaning for the supplemental data. This can be as simple as a unique identifier, or it can establish meaning in a broader context by drawing from a terminology, allowing supplemental data to be correlated across measures." ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "1" ] ;
       fhir:type ( [
         fhir:code [ fhir:v "CodeableConcept" ]
       ] ) ;
       fhir:mustSupport [ fhir:v "false" ] ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:isSummary [ fhir:v "false" ] ;
       fhir:binding [
         fhir:extension ( [
           fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName" ] ;
           fhir:value [ fhir:v "MeasureSupplementalDataExample" ]
         ] ) ;
         fhir:strength [ fhir:v "example" ] ;
         fhir:description [ fhir:v "Meaning of the supplemental data." ] ;
         fhir:valueSet [ fhir:v "http://hl7.org/fhir/ValueSet/measure-supplemental-data-example" ]
       ] ;
       fhir:mapping ( [
         fhir:identity [ fhir:v "rim" ] ;
         fhir:map [ fhir:v ".code" ]
       ] )
     ] [
       fhir:id [ fhir:v "Measure.supplementalData.usage" ] ;
       fhir:path [ fhir:v "Measure.supplementalData.usage" ] ;
       fhir:short [ fhir:v "supplemental-data | risk-adjustment-factor" ] ;
       fhir:definition [ fhir:v "An indicator of the intended usage for the supplemental data element. Supplemental data indicates the data is additional information requested to augment the measure information. Risk adjustment factor indicates the data is additional information used to calculate risk adjustment factors when applying a risk model to the measure calculation." ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "*" ] ;
       fhir:type ( [
         fhir:code [ fhir:v "CodeableConcept" ]
       ] ) ;
       fhir:mustSupport [ fhir:v "false" ] ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:isSummary [ fhir:v "false" ] ;
       fhir:binding [
         fhir:extension ( [
           fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName" ] ;
           fhir:value [ fhir:v "MeasureDataUsage" ]
         ] ) ;
         fhir:strength [ fhir:v "extensible" ] ;
         fhir:description [ fhir:v "The intended usage for supplemental data elements in the measure." ] ;
         fhir:valueSet [ fhir:v "http://hl7.org/fhir/ValueSet/measure-data-usage" ]
       ] ;
       fhir:mapping ( [
         fhir:identity [ fhir:v "rim" ] ;
         fhir:map [ fhir:v ".methodCode" ]
       ] )
     ] [
       fhir:id [ fhir:v "Measure.supplementalData.description" ] ;
       fhir:path [ fhir:v "Measure.supplementalData.description" ] ;
       fhir:short [ fhir:v "The human readable description of this supplemental data" ] ;
       fhir:definition [ fhir:v "The human readable description of this supplemental data." ] ;
       fhir:min [ fhir:v "0" ] ;
       fhir:max [ fhir:v "1" ] ;
       fhir:type ( [
         fhir:code [ fhir:v "markdown" ]
       ] ) ;
       fhir:mustSupport [ fhir:v "false" ] ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:isSummary [ fhir:v "false" ] ;
       fhir:mapping ( [
         fhir:identity [ fhir:v "rim" ] ;
         fhir:map [ fhir:v ".text" ]
       ] )
     ] [
       fhir:id [ fhir:v "Measure.supplementalData.criteria" ] ;
       fhir:path [ fhir:v "Measure.supplementalData.criteria" ] ;
       fhir:short [ fhir:v "Expression describing additional data to be reported" ] ;
       fhir:definition [ fhir:v "The criteria for the supplemental data. This is typically the name of a valid expression defined within a referenced library, but it may also be a path to a specific data element. The criteria defines the data to be returned for this element." ] ;
       fhir:min [ fhir:v "1" ] ;
       fhir:max [ fhir:v "1" ] ;
       fhir:type ( [
         fhir:code [ fhir:v "Expression" ]
       ] ) ;
       fhir:mustSupport [ fhir:v "false" ] ;
       fhir:isModifier [ fhir:v "false" ] ;
       fhir:isSummary [ fhir:v "false" ] ;
       fhir:mapping ( [
         fhir:identity [ fhir:v "rim" ] ;
         fhir:map [ fhir:v "N/A (to add?)" ]
       ] )
     ] )
  ] .

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


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.