Release 4

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

Claimresponse.profile.json

Financial Management Work GroupMaturity Level: N/AStandards Status: InformativeCompartments: Patient, Practitioner

Raw JSON (canonical form + also see JSON Format Specification)

StructureDefinition for claimresponse

{
  "resourceType" : "StructureDefinition",
  "id" : "ClaimResponse",
  "meta" : {
    "lastUpdated" : "2019-11-01T09:29:23.356+11:00"
  },
  "text" : {
    "status" : "generated",
    "div" : "<div>!-- Snipped for Brevity --></div>"
  },
  "extension" : [{
    "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-category",
    "valueString" : "Financial.Billing"
  },
  {
    "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status",
    "valueCode" : "trial-use"
  },
  {
    "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm",
    "valueInteger" : 2
  },
  {
    "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-security-category",
    "valueCode" : "patient"
  },
  {
    "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg",
    "valueCode" : "fm"
  }],
  "url" : "http://hl7.org/fhir/StructureDefinition/ClaimResponse",
  "version" : "4.0.1",
  "name" : "ClaimResponse",
  "status" : "draft",
  "date" : "2019-11-01T09:29:23+11:00",
  "publisher" : "Health Level Seven International (Financial Management)",
  "contact" : [{
    "telecom" : [{
      "system" : "url",
      "value" : "http://hl7.org/fhir"
    }]
  },
  {
    "telecom" : [{
      "system" : "url",
      "value" : "http://www.hl7.org/Special/committees/fm/index.cfm"
    }]
  }],
  "description" : "This resource provides the adjudication details from the processing of a Claim resource.",
  "fhirVersion" : "4.0.1",
  "mapping" : [{
    "identity" : "workflow",
    "uri" : "http://hl7.org/fhir/workflow",
    "name" : "Workflow Pattern"
  },
  {
    "identity" : "w5",
    "uri" : "http://hl7.org/fhir/fivews",
    "name" : "FiveWs Pattern Mapping"
  },
  {
    "identity" : "rim",
    "uri" : "http://hl7.org/v3",
    "name" : "RIM Mapping"
  }],
  "kind" : "resource",
  "abstract" : false,
  "type" : "ClaimResponse",
  "baseDefinition" : "http://hl7.org/fhir/StructureDefinition/DomainResource",
  "derivation" : "specialization",
  "snapshot" : {
    "element" : [{
      "id" : "ClaimResponse",
      "path" : "ClaimResponse",
      "short" : "Response to a claim predetermination or preauthorization",
      "definition" : "This resource provides the adjudication details from the processing of a Claim resource.",
      "alias" : ["Remittance Advice"],
      "min" : 0,
      "max" : "*",
      "base" : {
        "path" : "ClaimResponse",
        "min" : 0,
        "max" : "*"
      },
      "constraint" : [{
        "key" : "dom-2",
        "severity" : "error",
        "human" : "If the resource is contained in another resource, it SHALL NOT contain nested Resources",
        "expression" : "contained.contained.empty()",
        "xpath" : "not(parent::f:contained and f:contained)",
        "source" : "http://hl7.org/fhir/StructureDefinition/DomainResource"
      },
      {
        "key" : "dom-3",
        "severity" : "error",
        "human" : "If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource or SHALL refer to the containing resource",
        "expression" : "contained.where((('#'+id in (%resource.descendants().reference | %resource.descendants().as(canonical) | %resource.descendants().as(uri) | %resource.descendants().as(url))) or descendants().where(reference = '#').exists() or descendants().where(as(canonical) = '#').exists() or descendants().where(as(canonical) = '#').exists()).not()).trace('unmatched', id).empty()",
        "xpath" : "not(exists(for $id in f:contained/*/f:id/@value return $contained[not(parent::*/descendant::f:reference/@value=concat('#', $contained/*/id/@value) or descendant::f:reference[@value='#'])]))",
        "source" : "http://hl7.org/fhir/StructureDefinition/DomainResource"
      },
      {
        "key" : "dom-4",
        "severity" : "error",
        "human" : "If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated",
        "expression" : "contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()",
        "xpath" : "not(exists(f:contained/*/f:meta/f:versionId)) and not(exists(f:contained/*/f:meta/f:lastUpdated))",
        "source" : "http://hl7.org/fhir/StructureDefinition/DomainResource"
      },
      {
        "key" : "dom-5",
        "severity" : "error",
        "human" : "If a resource is contained in another resource, it SHALL NOT have a security label",
        "expression" : "contained.meta.security.empty()",
        "xpath" : "not(exists(f:contained/*/f:meta/f:security))",
        "source" : "http://hl7.org/fhir/StructureDefinition/DomainResource"
      },
      {
        "extension" : [{
          "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bestpractice",
          "valueBoolean" : true
        },
        {
          "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bestpractice-explanation",
          "valueMarkdown" : "When a resource has no narrative, only systems that fully understand the data can display the resource to a human safely. Including a human readable representation in the resource makes for a much more robust eco-system and cheaper handling of resources by intermediary systems. Some ecosystems restrict distribution of resources to only those systems that do fully understand the resources, and as a consequence implementers may believe that the narrative is superfluous. However experience shows that such eco-systems often open up to new participants over time."
        }],
        "key" : "dom-6",
        "severity" : "warning",
        "human" : "A resource should have narrative for robust management",
        "expression" : "text.`div`.exists()",
        "xpath" : "exists(f:text/h:div)",
        "source" : "http://hl7.org/fhir/StructureDefinition/DomainResource"
      }],
      "isModifier" : false,
      "isSummary" : false,
      "mapping" : [{
        "identity" : "rim",
        "map" : "Entity. Role, or Act"
      },
      {
        "identity" : "workflow",
        "map" : "Event"
      }]
    },
    {
      "id" : "ClaimResponse.id",
      "path" : "ClaimResponse.id",
      "short" : "Logical id of this artifact",
      "definition" : "The logical id of the resource, as used in the URL for the resource. Once assigned, this value never changes.",
      "comment" : "The only time that a resource does not have an id is when it is being submitted to the server using a create operation.",
      "min" : 0,
      "max" : "1",
      "base" : {
        "path" : "Resource.id",
        "min" : 0,
        "max" : "1"
      },
      "type" : [{
        "extension" : [{
          "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
          "valueUrl" : "string"
        }],
        "code" : "http://hl7.org/fhirpath/System.String"
      }],
      "isModifier" : false,
      "isSummary" : true
    },
    {
      "id" : "ClaimResponse.meta",
      "path" : "ClaimResponse.meta",
      "short" : "Metadata about the resource",
      "definition" : "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.",
      "min" : 0,
      "max" : "1",
      "base" : {
        "path" : "Resource.meta",
        "min" : 0,
        "max" : "1"
      },
      "type" : [{
        "code" : "Meta"
      }],
      "constraint" : [{
        "key" : "ele-1",
        "severity" : "error",
        "human" : "All FHIR elements must have a @value or children",
        "expression" : "hasValue() or (children().count() > id.count())",
        "xpath" : "@value|f:*|h:div",
        "source" : "http://hl7.org/fhir/StructureDefinition/Element"
      }],
      "isModifier" : false,
      "isSummary" : true
    },
    {
      "id" : "ClaimResponse.implicitRules",
      "path" : "ClaimResponse.implicitRules",
      "short" : "A set of rules under which this content was created",
      "definition" : "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.",
      "comment" : "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 it's narrative along with other profiles, value sets, etc.",
      "min" : 0,
      "max" : "1",
      "base" : {
        "path" : "Resource.implicitRules",
        "min" : 0,
        "max" : "1"
      },
      "type" : [{
        "code" : "uri"
      }],
      "constraint" : [{
        "key" : "ele-1",
        "severity" : "error",
        "human" : "All FHIR elements must have a @value or children",
        "expression" : "hasValue() or (children().count() > id.count())",
        "xpath" : "@value|f:*|h:div",
        "source" : "http://hl7.org/fhir/StructureDefinition/Element"
      }],
      "isModifier" : true,
      "isModifierReason" : "This element is labeled as a modifier because the implicit rules may provide additional knowledge about the resource that modifies it's meaning or interpretation",
      "isSummary" : true
    },
    {
      "id" : "ClaimResponse.language",
      "path" : "ClaimResponse.language",
      "short" : "Language of the resource content",
      "definition" : "The base language in which the resource is written.",
      "comment" : "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).",
      "min" : 0,
      "max" : "1",
      "base" : {
        "path" : "Resource.language",
        "min" : 0,
        "max" : "1"
      },
      "type" : [{
        "code" : "code"
      }],
      "constraint" : [{
        "key" : "ele-1",
        "severity" : "error",
        "human" : "All FHIR elements must have a @value or children",
        "expression" : "hasValue() or (children().count() > id.count())",
        "xpath" : "@value|f:*|h:div",
        "source" : "http://hl7.org/fhir/StructureDefinition/Element"
      }],
      "isModifier" : false,
      "isSummary" : false,
      "binding" : {
        "extension" : [{
          "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-maxValueSet",
          "valueCanonical" : "http://hl7.org/fhir/ValueSet/all-languages"
        },
        {
          "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
          "valueString" : "Language"
        },
        {
          "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding",
          "valueBoolean" : true
        }],
        "strength" : "preferred",
        "description" : "A human language.",
        "valueSet" : "http://hl7.org/fhir/ValueSet/languages"
      }
    },
    {
      "id" : "ClaimResponse.text",
      "path" : "ClaimResponse.text",
      "short" : "Text summary of the resource, for human interpretation",
      "definition" : "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.",
      "comment" : "Contained resources do not have 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.",
      "alias" : ["narrative",
      "html",
      "xhtml",
      "display"],
      "min" : 0,
      "max" : "1",
      "base" : {
        "path" : "DomainResource.text",
        "min" : 0,
        "max" : "1"
      },
      "type" : [{
        "code" : "Narrative"
      }],
      "constraint" : [{
        "key" : "ele-1",
        "severity" : "error",
        "human" : "All FHIR elements must have a @value or children",
        "expression" : "hasValue() or (children().count() > id.count())",
        "xpath" : "@value|f:*|h:div",
        "source" : "http://hl7.org/fhir/StructureDefinition/Element"
      }],
      "isModifier" : false,
      "isSummary" : false,
      "mapping" : [{
        "identity" : "rim",
        "map" : "Act.text?"
      }]
    },
    {
      "id" : "ClaimResponse.contained",
      "path" : "ClaimResponse.contained",
      "short" : "Contained, inline Resources",
      "definition" : "These resources do not have an independent existence apart from the resource that contains them - they cannot be identified independently, and nor can they have their own independent transaction scope.",
      "comment" : "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.",
      "alias" : ["inline resources",
      "anonymous resources",
      "contained resources"],
      "min" : 0,
      "max" : "*",
      "base" : {
        "path" : "DomainResource.contained",
        "min" : 0,
        "max" : "*"
      },
      "type" : [{
        "code" : "Resource"
      }],
      "isModifier" : false,
      "isSummary" : false,
      "mapping" : [{
        "identity" : "rim",
        "map" : "N/A"
      }]
    },
    {
      "id" : "ClaimResponse.extension",
      "path" : "ClaimResponse.extension",
      "short" : "Additional content defined by implementations",
      "definition" : "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 manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.",
      "comment" : "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.",
      "alias" : ["extensions",
      "user content"],
      "min" : 0,
      "max" : "*",
      "base" : {
        "path" : "DomainResource.extension",
        "min" : 0,
        "max" : "*"
      },
      "type" : [{
        "code" : "Extension"
      }],
      "constraint" : [{
        "key" : "ele-1",
        "severity" : "error",
        "human" : "All FHIR elements must have a @value or children",
        "expression" : "hasValue() or (children().count() > id.count())",
        "xpath" : "@value|f:*|h:div",
        "source" : "http://hl7.org/fhir/StructureDefinition/Element"
      },
      {
        "key" : "ext-1",
        "severity" : "error",
        "human" : "Must have either extensions or value[x], not both",
        "expression" : "extension.exists() != value.exists()",
        "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
        "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
      }],
      "isModifier" : false,
      "isSummary" : false,
      "mapping" : [{
        "identity" : "rim",
        "map" : "N/A"
      }]
    },
    {
      "id" : "ClaimResponse.modifierExtension",
      "path" : "ClaimResponse.modifierExtension",
      "short" : "Extensions that cannot be ignored",
      "definition" : "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 manageable, 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).",
      "comment" : "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.",
      "requirements" : "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).",
      "alias" : ["extensions",
      "user content"],
      "min" : 0,
      "max" : "*",
      "base" : {
        "path" : "DomainResource.modifierExtension",
        "min" : 0,
        "max" : "*"
      },
      "type" : [{
        "code" : "Extension"
      }],
      "constraint" : [{
        "key" : "ele-1",
        "severity" : "error",
        "human" : "All FHIR elements must have a @value or children",
        "expression" : "hasValue() or (children().count() > id.count())",
        "xpath" : "@value|f:*|h:div",
        "source" : "http://hl7.org/fhir/StructureDefinition/Element"
      },
      {
        "key" : "ext-1",
        "severity" : "error",
        "human" : "Must have either extensions or value[x], not both",
        "expression" : "extension.exists() != value.exists()",
        "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
        "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
      }],
      "isModifier" : true,
      "isModifierReason" : "Modifier extensions are expected to modify the meaning or interpretation of the resource that contains them",
      "isSummary" : false,
      "mapping" : [{
        "identity" : "rim",
        "map" : "N/A"
      }]
    },
    {
      "id" : "ClaimResponse.identifier",
      "path" : "ClaimResponse.identifier",
      "short" : "Business Identifier for a claim response",
      "definition" : "A unique identifier assigned to this claim response.",
      "requirements" : "Allows claim responses to be distinguished and referenced.",
      "min" : 0,
      "max" : "*",
      "base" : {
        "path" : "ClaimResponse.identifier",
        "min" : 0,
        "max" : "*"
      },
      "type" : [{
        "code" : "Identifier"
      }],
      "constraint" : [{
        "key" : "ele-1",
        "severity" : "error",
        "human" : "All FHIR elements must have a @value or children",
        "expression" : "hasValue() or (children().count() > id.count())",
        "xpath" : "@value|f:*|h:div",
        "source" : "http://hl7.org/fhir/StructureDefinition/Element"
      }],
      "isModifier" : false,
      "isSummary" : false,
      "mapping" : [{
        "identity" : "workflow",
        "map" : "Event.identifier"
      },
      {
        "identity" : "w5",
        "map" : "FiveWs.identifier"
      }]
    },
    {
      "id" : "ClaimResponse.status",
      "path" : "ClaimResponse.status",
      "short" : "active | cancelled | draft | entered-in-error",
      "definition" : "The status of the resource instance.",
      "comment" : "This element is labeled as a modifier because the status contains codes that mark the resource as not currently valid.",
      "requirements" : "Need to track the status of the resource as 'draft' resources may undergo further edits while 'active' resources are immutable and may only have their status changed to 'cancelled'.",
      "min" : 1,
      "max" : "1",
      "base" : {
        "path" : "ClaimResponse.status",
        "min" : 1,
        "max" : "1"
      },
      "type" : [{
        "code" : "code"
      }],
      "constraint" : [{
        "key" : "ele-1",
        "severity" : "error",
        "human" : "All FHIR elements must have a @value or children",
        "expression" : "hasValue() or (children().count() > id.count())",
        "xpath" : "@value|f:*|h:div",
        "source" : "http://hl7.org/fhir/StructureDefinition/Element"
      }],
      "isModifier" : true,
      "isModifierReason" : "This element is labeled as a modifier because it is a status element that contains status entered-in-error which means that the resource should not be treated as valid",
      "isSummary" : true,
      "binding" : {
        "extension" : [{
          "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
          "valueString" : "ClaimResponseStatus"
        }],
        "strength" : "required",
        "description" : "A code specifying the state of the resource instance.",
        "valueSet" : "http://hl7.org/fhir/ValueSet/fm-status|4.0.1"
      },
      "mapping" : [{
        "identity" : "workflow",
        "map" : "Event.status"
      },
      {
        "identity" : "w5",
        "map" : "FiveWs.status"
      }]
    },
    {
      "id" : "ClaimResponse.type",
      "path" : "ClaimResponse.type",
      "short" : "More granular claim type",
      "definition" : "A finer grained suite of claim type codes which may convey additional information such as Inpatient vs Outpatient and/or a specialty service.",
      "comment" : "This may contain the local bill type codes, for example the US UB-04 bill type code or the CMS bill type.",
      "requirements" : "Some jurisdictions need a finer grained claim type for routing and adjudication.",
      "min" : 1,
      "max" : "1",
      "base" : {
        "path" : "ClaimResponse.type",
        "min" : 1,
        "max" : "1"
      },
      "type" : [{
        "code" : "CodeableConcept"
      }],
      "constraint" : [{
        "key" : "ele-1",
        "severity" : "error",
        "human" : "All FHIR elements must have a @value or children",
        "expression" : "hasValue() or (children().count() > id.count())",
        "xpath" : "@value|f:*|h:div",
        "source" : "http://hl7.org/fhir/StructureDefinition/Element"
      }],
      "isModifier" : false,
      "isSummary" : true,
      "binding" : {
        "extension" : [{
          "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
          "valueString" : "ClaimType"
        }],
        "strength" : "extensible",
        "description" : "The type or discipline-style of the claim.",
        "valueSet" : "http://hl7.org/fhir/ValueSet/claim-type"
      },
      "mapping" : [{
        "identity" : "w5",
        "map" : "FiveWs.class"
      }]
    },
    {
      "id" : "ClaimResponse.subType",
      "path" : "ClaimResponse.subType",
      "short" : "More granular claim type",
      "definition" : "A finer grained suite of claim type codes which may convey additional information such as Inpatient vs Outpatient and/or a specialty service.",
      "comment" : "This may contain the local bill type codes, for example the US UB-04 bill type code or the CMS bill type.",
      "requirements" : "Some jurisdictions need a finer grained claim type for routing and adjudication.",
      "min" : 0,
      "max" : "1",
      "base" : {
        "path" : "ClaimResponse.subType",
        "min" : 0,
        "max" : "1"
      },
      "type" : [{
        "code" : "CodeableConcept"
      }],
      "constraint" : [{
        "key" : "ele-1",
        "severity" : "error",
        "human" : "All FHIR elements must have a @value or children",
        "expression" : "hasValue() or (children().count() > id.count())",
        "xpath" : "@value|f:*|h:div",
        "source" : "http://hl7.org/fhir/StructureDefinition/Element"
      }],
      "isModifier" : false,
      "isSummary" : false,
      "binding" : {
        "extension" : [{
          "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
          "valueString" : "ClaimSubType"
        }],
        "strength" : "example",
        "description" : "A more granular claim typecode.",
        "valueSet" : "http://hl7.org/fhir/ValueSet/claim-subtype"
      },
      "mapping" : [{
        "identity" : "w5",
        "map" : "FiveWs.class"
      }]
    },
    {
      "id" : "ClaimResponse.use",
      "path" : "ClaimResponse.use",
      "short" : "claim | preauthorization | predetermination",
      "definition" : "A code to indicate whether the nature of the request is: to request adjudication of products and services previously rendered; or requesting authorization and adjudication for provision in the future; or requesting the non-binding adjudication of the listed products and services which could be provided in the future.",
      "requirements" : "This element is required to understand the nature of the request for adjudication.",
      "min" : 1,
      "max" : "1",
      "base" : {
        "path" : "ClaimResponse.use",
        "min" : 1,
        "max" : "1"
      },
      "type" : [{
        "code" : "code"
      }],
      "constraint" : [{
        "key" : "ele-1",
        "severity" : "error",
        "human" : "All FHIR elements must have a @value or children",
        "expression" : "hasValue() or (children().count() > id.count())",
        "xpath" : "@value|f:*|h:div",
        "source" : "http://hl7.org/fhir/StructureDefinition/Element"
      }],
      "isModifier" : false,
      "isSummary" : true,
      "binding" : {
        "extension" : [{
          "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
          "valueString" : "Use"
        }],
        "strength" : "required",
        "description" : "Claim, preauthorization, predetermination.",
        "valueSet" : "http://hl7.org/fhir/ValueSet/claim-use|4.0.1"
      },
      "mapping" : [{
        "identity" : "w5",
        "map" : "FiveWs.class"
      }]
    },
    {
      "id" : "ClaimResponse.patient",
      "path" : "ClaimResponse.patient",
      "short" : "The recipient of the products and services",
      "definition" : "The party to whom the professional services and/or products have been supplied or are being considered and for whom actual for facast reimbursement is sought.",
      "requirements" : "The patient must be supplied to the insurer so that confirmation of coverage and service hstory may be considered as part of the authorization and/or adjudiction.",
      "min" : 1,
      "max" : "1",
      "base" : {
        "path" : "ClaimResponse.patient",
        "min" : 1,
        "max" : "1"
      },
      "type" : [{
        "code" : "Reference",
        "targetProfile" : ["http://hl7.org/fhir/StructureDefinition/Patient"]
      }],
      "constraint" : [{
        "key" : "ele-1",
        "severity" : "error",
        "human" : "All FHIR elements must have a @value or children",
        "expression" : "hasValue() or (children().count() > id.count())",
        "xpath" : "@value|f:*|h:div",
        "source" : "http://hl7.org/fhir/StructureDefinition/Element"
      }],
      "isModifier" : false,
      "isSummary" : true,
      "mapping" : [{
        "identity" : "w5",
        "map" : "FiveWs.subject[x]"
      },
      {
        "identity" : "w5",
        "map" : "FiveWs.subject"
      }]
    },
    {
      "id" : "ClaimResponse.created",
      "path" : "ClaimResponse.created",
      "short" : "Response creation date",
      "definition" : "The date this resource was created.",
      "requirements" : "Need to record a timestamp for use by both the recipient and the issuer.",
      "min" : 1,
      "max" : "1",
      "base" : {
        "path" : "ClaimResponse.created",
        "min" : 1,
        "max" : "1"
      },
      "type" : [{
        "code" : "dateTime"
      }],
      "constraint" : [{
        "key" : "ele-1",
        "severity" : "error",
        "human" : "All FHIR elements must have a @value or children",
        "expression" : "hasValue() or (children().count() > id.count())",
        "xpath" : "@value|f:*|h:div",
        "source" : "http://hl7.org/fhir/StructureDefinition/Element"
      }],
      "isModifier" : false,
      "isSummary" : true,
      "mapping" : [{
        "identity" : "workflow",
        "map" : "Event.occurrence[x]"
      },
      {
        "identity" : "w5",
        "map" : "FiveWs.recorded"
      }]
    },
    {
      "id" : "ClaimResponse.insurer",
      "path" : "ClaimResponse.insurer",
      "short" : "Party responsible for reimbursement",
      "definition" : "The party responsible for authorization, adjudication and reimbursement.",
      "requirements" : "To be a valid claim, preauthorization or predetermination there must be a party who is responsible for adjudicating the contents against a policy which provides benefits for the patient.",
      "min" : 1,
      "max" : "1",
      "base" : {
        "path" : "ClaimResponse.insurer",
        "min" : 1,
        "max" : "1"
      },
      "type" : [{
        "code" : "Reference",
        "targetProfile" : ["http://hl7.org/fhir/StructureDefinition/Organization"]
      }],
      "constraint" : [{
        "key" : "ele-1",
        "severity" : "error",
        "human" : "All FHIR elements must have a @value or children",
        "expression" : "hasValue() or (children().count() > id.count())",
        "xpath" : "@value|f:*|h:div",
        "source" : "http://hl7.org/fhir/StructureDefinition/Element"
      }],
      "isModifier" : false,
      "isSummary" : true,
      "mapping" : [{
        "identity" : "workflow",
        "map" : "Event.performer"
      }]
    },
    {
      "id" : "ClaimResponse.requestor",
      "path" : "ClaimResponse.requestor",
      "short" : "Party responsible for the claim",
      "definition" : "The provider which is responsible for the claim, predetermination or preauthorization.",
      "comment" : "Typically this field would be 1..1 where this party is responsible for the claim but not necessarily professionally responsible for the provision of the individual products and services listed below.",
      "min" : 0,
      "max" : "1",
      "base" : {
        "path" : "ClaimResponse.requestor",
        "min" : 0,
        "max" : "1"
      },
      "type" : [{
        "code" : "Reference",
        "targetProfile" : ["http://hl7.org/fhir/StructureDefinition/Practitioner",
        "http://hl7.org/fhir/StructureDefinition/PractitionerRole",
        "http://hl7.org/fhir/StructureDefinition/Organization"]
      }],
      "constraint" : [{
        "key" : "ele-1",
        "severity" : "error",
        "human" : "All FHIR elements must have a @value or children",
        "expression" : "hasValue() or (children().count() > id.count())",
        "xpath" : "@value|f:*|h:div",
        "source" : "http://hl7.org/fhir/StructureDefinition/Element"
      }],
      "isModifier" : false,
      "isSummary" : false,
      "mapping" : [{
        "identity" : "w5",
        "map" : "FiveWs.source"
      }]
    },
    {
      "id" : "ClaimResponse.request",
      "path" : "ClaimResponse.request",
      "short" : "Id of resource triggering adjudication",
      "definition" : "Original request resource reference.",
      "min" : 0,
      "max" : "1",
      "base" : {
        "path" : "ClaimResponse.request",
        "min" : 0,
        "max" : "1"
      },
      "type" : [{
        "code" : "Reference",
        "targetProfile" : ["http://hl7.org/fhir/StructureDefinition/Claim"]
      }],
      "constraint" : [{
        "key" : "ele-1",
        "severity" : "error",
        "human" : "All FHIR elements must have a @value or children",
        "expression" : "hasValue() or (children().count() > id.count())",
        "xpath" : "@value|f:*|h:div",
        "source" : "http://hl7.org/fhir/StructureDefinition/Element"
      }],
      "isModifier" : false,
      "isSummary" : true,
      "mapping" : [{
        "identity" : "workflow",
        "map" : "Event.basedOn"
      },
      {
        "identity" : "w5",
        "map" : "FiveWs.why[x]"
      }]
    },
    {
      "id" : "ClaimResponse.outcome",
      "path" : "ClaimResponse.outcome",
      "short" : "queued | complete | error | partial",
      "definition" : "The outcome of the claim, predetermination, or preauthorization processing.",
      "comment" : "The resource may be used to indicate that: the request has been held (queued) for processing; that it has been processed and errors found (error); that no errors were found and that some of the adjudication has been undertaken (partial) or that all of the adjudication has been undertaken (complete).",
      "requirements" : "To advise the requestor of an overall processing outcome.",
      "min" : 1,
      "max" : "1",
      "base" : {
        "path" : "ClaimResponse.outcome",
        "min" : 1,
        "max" : "1"
      },
      "type" : [{
        "code" : "code"
      }],
      "constraint" : [{
        "key" : "ele-1",
        "severity" : "error",
        "human" : "All FHIR elements must have a @value or children",
        "expression" : "hasValue() or (children().count() > id.count())",
        "xpath" : "@value|f:*|h:div",
        "source" : "http://hl7.org/fhir/StructureDefinition/Element"
      }],
      "isModifier" : false,
      "isSummary" : true,
      "binding" : {
        "extension" : [{
          "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
          "valueString" : "RemittanceOutcome"
        }],
        "strength" : "required",
        "description" : "The result of the claim processing.",
        "valueSet" : "http://hl7.org/fhir/ValueSet/remittance-outcome|4.0.1"
      }
    },
    {
      "id" : "ClaimResponse.disposition",
      "path" : "ClaimResponse.disposition",
      "short" : "Disposition Message",
      "definition" : "A human readable description of the status of the adjudication.",
      "requirements" : "Provided for user display.",
      "min" : 0,
      "max" : "1",
      "base" : {
        "path" : "ClaimResponse.disposition",
        "min" : 0,
        "max" : "1"
      },
      "type" : [{
        "code" : "string"
      }],
      "constraint" : [{
        "key" : "ele-1",
        "severity" : "error",
        "human" : "All FHIR elements must have a @value or children",
        "expression" : "hasValue() or (children().count() > id.count())",
        "xpath" : "@value|f:*|h:div",
        "source" : "http://hl7.org/fhir/StructureDefinition/Element"
      }],
      "isModifier" : false,
      "isSummary" : false,
      "mapping" : [{
        "identity" : "workflow",
        "map" : "Event.note"
      }]
    },
    {
      "id" : "ClaimResponse.preAuthRef",
      "path" : "ClaimResponse.preAuthRef",
      "short" : "Preauthorization reference",
      "definition" : "Reference from the Insurer which is used in later communications which refers to this adjudication.",
      "comment" : "This value is only present on preauthorization adjudications.",
      "requirements" : "On subsequent claims, the insurer may require the provider to quote this value.",
      "min" : 0,
      "max" : "1",
      "base" : {
        "path" : "ClaimResponse.preAuthRef",
        "min" : 0,
        "max" : "1"
      },
      "type" : [{
        "code" : "string"
      }],
      "constraint" : [{
        "key" : "ele-1",
        "severity" : "error",
        "human" : "All FHIR elements must have a @value or children",
        "expression" : "hasValue() or (children().count() > id.count())",
        "xpath" : "@value|f:*|h:div",
        "source" : "http://hl7.org/fhir/StructureDefinition/Element"
      }],
      "isModifier" : false,
      "isSummary" : false
    },
    {
      "id" : "ClaimResponse.preAuthPeriod",
      "path" : "ClaimResponse.preAuthPeriod",
      "short" : "Preauthorization reference effective period",
      "definition" : "The time frame during which this authorization is effective.",
      "requirements" : "To convey to the provider when the authorized products and services must be supplied for the authorized adjudication to apply.",
      "min" : 0,
      "max" : "1",
      "base" : {
        "path" : "ClaimResponse.preAuthPeriod",
        "min" : 0,
        "max" : "1"
      },
      "type" : [{
        "code" : "Period"
      }],
      "constraint" : [{
        "key" : "ele-1",
        "severity" : "error",
        "human" : "All FHIR elements must have a @value or children",
        "expression" : "hasValue() or (children().count() > id.count())",
        "xpath" : "@value|f:*|h:div",
        "source" : "http://hl7.org/fhir/StructureDefinition/Element"
      }],
      "isModifier" : false,
      "isSummary" : false
    },
    {
      "id" : "ClaimResponse.payeeType",
      "path" : "ClaimResponse.payeeType",
      "short" : "Party to be paid any benefits payable",
      "definition" : "Type of Party to be reimbursed: subscriber, provider, other.",
      "requirements" : "Need to know who should receive payment with the most common situations being the Provider (assignment of benefits) or the Subscriber.",
      "min" : 0,
      "max" : "1",
      "base" : {
        "path" : "ClaimResponse.payeeType",
        "min" : 0,
        "max" : "1"
      },
      "type" : [{
        "code" : "CodeableConcept"
      }],
      "constraint" : [{
        "key" : "ele-1",
        "severity" : "error",
        "human" : "All FHIR elements must have a @value or children",
        "expression" : "hasValue() or (children().count() > id.count())",
        "xpath" : "@value|f:*|h:div",
        "source" : "http://hl7.org/fhir/StructureDefinition/Element"
      }],
      "isModifier" : false,
      "isSummary" : false,
      "binding" : {
        "extension" : [{
          "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
          "valueString" : "PayeeType"
        },
        {
          "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding",
          "valueBoolean" : true
        }],
        "strength" : "example",
        "description" : "A code for the party to be reimbursed.",
        "valueSet" : "http://hl7.org/fhir/ValueSet/payeetype"
      }
    },
    {
      "id" : "ClaimResponse.item",
      "extension" : [{
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-explicit-type-name",
        "valueString" : "Item"
      }],
      "path" : "ClaimResponse.item",
      "short" : "Adjudication for claim line items",
      "definition" : "A claim line. Either a simple (a product or service) or a 'group' of details which can also be a simple items or groups of sub-details.",
      "requirements" : "The adjudication for items provided on the claim.",
      "min" : 0,
      "max" : "*",
      "base" : {
        "path" : "ClaimResponse.item",
        "min" : 0,
        "max" : "*"
      },
      "type" : [{
        "code" : "BackboneElement"
      }],
      "constraint" : [{
        "key" : "ele-1",
        "severity" : "error",
        "human" : "All FHIR elements must have a @value or children",
        "expression" : "hasValue() or (children().count() > id.count())",
        "xpath" : "@value|f:*|h:div",
        "source" : "http://hl7.org/fhir/StructureDefinition/Element"
      }],
      "isModifier" : false,
      "isSummary" : false
    },
    {
      "id" : "ClaimResponse.item.id",
      "path" : "ClaimResponse.item.id",
      "representation" : ["xmlAttr"],
      "short" : "Unique id for inter-element referencing",
      "definition" : "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
      "min" : 0,
      "max" : "1",
      "base" : {
        "path" : "Element.id",
        "min" : 0,
        "max" : "1"
      },
      "type" : [{
        "extension" : [{
          "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
          "valueUrl" : "string"
        }],
        "code" : "http://hl7.org/fhirpath/System.String"
      }],
      "isModifier" : false,
      "isSummary" : false,
      "mapping" : [{
        "identity" : "rim",
        "map" : "n/a"
      }]
    },
    {
      "id" : "ClaimResponse.item.extension",
      "path" : "ClaimResponse.item.extension",
      "short" : "Additional content defined by implementations",
      "definition" : "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.",
      "comment" : "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.",
      "alias" : ["extensions",
      "user content"],
      "min" : 0,
      "max" : "*",
      "base" : {
        "path" : "Element.extension",
        "min" : 0,
        "max" : "*"
      },
      "type" : [{
        "code" : "Extension"
      }],
      "constraint" : [{
        "key" : "ele-1",
        "severity" : "error",
        "human" : "All FHIR elements must have a @value or children",
        "expression" : "hasValue() or (children().count() > id.count())",
        "xpath" : "@value|f:*|h:div",
        "source" : "http://hl7.org/fhir/StructureDefinition/Element"
      },
      {
        "key" : "ext-1",
        "severity" : "error",
        "human" : "Must have either extensions or value[x], not both",
        "expression" : "extension.exists() != value.exists()",
        "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
        "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
      }],
      "isModifier" : false,
      "isSummary" : false,
      "mapping" : [{
        "identity" : "rim",
        "map" : "n/a"
      }]
    },
    {
      "id" : "ClaimResponse.item.modifierExtension",
      "path" : "ClaimResponse.item.modifierExtension",
      "short" : "Extensions that cannot be ignored even if unrecognized",
      "definition" : "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 manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. 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).",
      "comment" : "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.",
      "requirements" : "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).",
      "alias" : ["extensions",
      "user content",
      "modifiers"],
      "min" : 0,
      "max" : "*",
      "base" : {
        "path" : "BackboneElement.modifierExtension",
        "min" : 0,
        "max" : "*"
      },
      "type" : [{
        "code" : "Extension"
      }],
      "constraint" : [{
        "key" : "ele-1",
        "severity" : "error",
        "human" : "All FHIR elements must have a @value or children",
        "expression" : "hasValue() or (children().count() > id.count())",
        "xpath" : "@value|f:*|h:div",
        "source" : "http://hl7.org/fhir/StructureDefinition/Element"
      },
      {
        "key" : "ext-1",
        "severity" : "error",
        "human" : "Must have either extensions or value[x], not both",
        "expression" : "extension.exists() != value.exists()",
        "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
        "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
      }],
      "isModifier" : true,
      "isModifierReason" : "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them",
      "isSummary" : true,
      "mapping" : [{
        "identity" : "rim",
        "map" : "N/A"
      }]
    },
    {
      "id" : "ClaimResponse.item.itemSequence",
      "path" : "ClaimResponse.item.itemSequence",
      "short" : "Claim item instance identifier",
      "definition" : "A number to uniquely reference the claim item entries.",
      "requirements" : "Necessary to provide a mechanism to link the adjudication result to the submitted claim item.",
      "min" : 1,
      "max" : "1",
      "base" : {
        "path" : "ClaimResponse.item.itemSequence",
        "min" : 1,
        "max" : "1"
      },
      "type" : [{
        "code" : "positiveInt"
      }],
      "constraint" : [{
        "key" : "ele-1",
        "severity" : "error",
        "human" : "All FHIR elements must have a @value or children",
        "expression" : "hasValue() or (children().count() > id.count())",
        "xpath" : "@value|f:*|h:div",
        "source" : "http://hl7.org/fhir/StructureDefinition/Element"
      }],
      "isModifier" : false,
      "isSummary" : false
    },
    {
      "id" : "ClaimResponse.item.noteNumber",
      "path" : "ClaimResponse.item.noteNumber",
      "short" : "Applicable note numbers",
      "definition" : "The numbers associated with notes below which apply to the adjudication of this item.",
      "requirements" : "Provides a condensed manner for associating human readable descriptive explanations for adjudications on the line item.",
      "min" : 0,
      "max" : "*",
      "base" : {
        "path" : "ClaimResponse.item.noteNumber",
        "min" : 0,
        "max" : "*"
      },
      "type" : [{
        "code" : "positiveInt"
      }],
      "constraint" : [{
        "key" : "ele-1",
        "severity" : "error",
        "human" : "All FHIR elements must have a @value or children",
        "expression" : "hasValue() or (children().count() > id.count())",
        "xpath" : "@value|f:*|h:div",
        "source" : "http://hl7.org/fhir/StructureDefinition/Element"
      }],
      "isModifier" : false,
      "isSummary" : false
    },
    {
      "id" : "ClaimResponse.item.adjudication",
      "extension" : [{
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-explicit-type-name",
        "valueString" : "Adjudication"
      }],
      "path" : "ClaimResponse.item.adjudication",
      "short" : "Adjudication details",
      "definition" : "If this item is a group then the values here are a summary of the adjudication of the detail items. If this item is a simple product or service then this is the result of the adjudication of this item.",
      "requirements" : "The adjudication results conveys the insurer's assessment of the item provided in the claim under the terms of the patient's insurance coverage.",
      "min" : 1,
      "max" : "*",
      "base" : {
        "path" : "ClaimResponse.item.adjudication",
        "min" : 1,
        "max" : "*"
      },
      "type" : [{
        "code" : "BackboneElement"
      }],
      "constraint" : [{
        "key" : "ele-1",
        "severity" : "error",
        "human" : "All FHIR elements must have a @value or children",
        "expression" : "hasValue() or (children().count() > id.count())",
        "xpath" : "@value|f:*|h:div",
        "source" : "http://hl7.org/fhir/StructureDefinition/Element"
      }],
      "isModifier" : false,
      "isSummary" : false
    },
    {
      "id" : "ClaimResponse.item.adjudication.id",
      "path" : "ClaimResponse.item.adjudication.id",
      "representation" : ["xmlAttr"],
      "short" : "Unique id for inter-element referencing",
      "definition" : "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
      "min" : 0,
      "max" : "1",
      "base" : {
        "path" : "Element.id",
        "min" : 0,
        "max" : "1"
      },
      "type" : [{
        "extension" : [{
          "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
          "valueUrl" : "string"
        }],
        "code" : "http://hl7.org/fhirpath/System.String"
      }],
      "isModifier" : false,
      "isSummary" : false,
      "mapping" : [{
        "identity" : "rim",
        "map" : "n/a"
      }]
    },
    {
      "id" : "ClaimResponse.item.adjudication.extension",
      "path" : "ClaimResponse.item.adjudication.extension",
      "short" : "Additional content defined by implementations",
      "definition" : "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.",
      "comment" : "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.",
      "alias" : ["extensions",
      "user content"],
      "min" : 0,
      "max" : "*",
      "base" : {
        "path" : "Element.extension",
        "min" : 0,
        "max" : "*"
      },
      "type" : [{
        "code" : "Extension"
      }],
      "constraint" : [{
        "key" : "ele-1",
        "severity" : "error",
        "human" : "All FHIR elements must have a @value or children",
        "expression" : "hasValue() or (children().count() > id.count())",
        "xpath" : "@value|f:*|h:div",
        "source" : "http://hl7.org/fhir/StructureDefinition/Element"
      },
      {
        "key" : "ext-1",
        "severity" : "error",
        "human" : "Must have either extensions or value[x], not both",
        "expression" : "extension.exists() != value.exists()",
        "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
        "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
      }],
      "isModifier" : false,
      "isSummary" : false,
      "mapping" : [{
        "identity" : "rim",
        "map" : "n/a"
      }]
    },
    {
      "id" : "ClaimResponse.item.adjudication.modifierExtension",
      "path" : "ClaimResponse.item.adjudication.modifierExtension",
      "short" : "Extensions that cannot be ignored even if unrecognized",
      "definition" : "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 manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. 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).",
      "comment" : "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.",
      "requirements" : "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).",
      "alias" : ["extensions",
      "user content",
      "modifiers"],
      "min" : 0,
      "max" : "*",
      "base" : {
        "path" : "BackboneElement.modifierExtension",
        "min" : 0,
        "max" : "*"
      },
      "type" : [{
        "code" : "Extension"
      }],
      "constraint" : [{
        "key" : "ele-1",
        "severity" : "error",
        "human" : "All FHIR elements must have a @value or children",
        "expression" : "hasValue() or (children().count() > id.count())",
        "xpath" : "@value|f:*|h:div",
        "source" : "http://hl7.org/fhir/StructureDefinition/Element"
      },
      {
        "key" : "ext-1",
        "severity" : "error",
        "human" : "Must have either extensions or value[x], not both",
        "expression" : "extension.exists() != value.exists()",
        "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
        "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
      }],
      "isModifier" : true,
      "isModifierReason" : "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them",
      "isSummary" : true,
      "mapping" : [{
        "identity" : "rim",
        "map" : "N/A"
      }]
    },
    {
      "id" : "ClaimResponse.item.adjudication.category",
      "path" : "ClaimResponse.item.adjudication.category",
      "short" : "Type of adjudication information",
      "definition" : "A code to indicate the information type of this adjudication record. Information types may include the value submitted, maximum values or percentages allowed or payable under the plan, amounts that: the patient is responsible for in aggregate or pertaining to this item; amounts paid by other coverages; and, the benefit payable for this item.",
      "comment" : "For example codes indicating: Co-Pay, deductible, eligible, benefit, tax, etc.",
      "requirements" : "Needed to enable understanding of the context of the other information in the adjudication.",
      "min" : 1,
      "max" : "1",
      "base" : {
        "path" : "ClaimResponse.item.adjudication.category",
        "min" : 1,
        "max" : "1"
      },
      "type" : [{
        "code" : "CodeableConcept"
      }],
      "constraint" : [{
        "key" : "ele-1",
        "severity" : "error",
        "human" : "All FHIR elements must have a @value or children",
        "expression" : "hasValue() or (children().count() > id.count())",
        "xpath" : "@value|f:*|h:div",
        "source" : "http://hl7.org/fhir/StructureDefinition/Element"
      }],
      "isModifier" : false,
      "isSummary" : false,
      "binding" : {
        "extension" : [{
          "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
          "valueString" : "Adjudication"
        }],
        "strength" : "example",
        "description" : "The adjudication codes.",
        "valueSet" : "http://hl7.org/fhir/ValueSet/adjudication"
      }
    },
    {
      "id" : "ClaimResponse.item.adjudication.reason",
      "path" : "ClaimResponse.item.adjudication.reason",
      "short" : "Explanation of adjudication outcome",
      "definition" : "A code supporting the understanding of the adjudication result and explaining variance from expected amount.",
      "comment" : "For example may indicate that the funds for this benefit type have been exhausted.",
      "requirements" : "To support understanding of variance from adjudication expectations.",
      "min" : 0,
      "max" : "1",
      "base" : {
        "path" : "ClaimResponse.item.adjudication.reason",
        "min" : 0,
        "max" : "1"
      },
      "type" : [{
        "code" : "CodeableConcept"
      }],
      "constraint" : [{
        "key" : "ele-1",
        "severity" : "error",
        "human" : "All FHIR elements must have a @value or children",
        "expression" : "hasValue() or (children().count() > id.count())",
        "xpath" : "@value|f:*|h:div",
        "source" : "http://hl7.org/fhir/StructureDefinition/Element"
      }],
      "isModifier" : false,
      "isSummary" : false,
      "binding" : {
        "extension" : [{
          "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
          "valueString" : "AdjudicationReason"
        }],
        "strength" : "example",
        "description" : "The adjudication reason codes.",
        "valueSet" : "http://hl7.org/fhir/ValueSet/adjudication-reason"
      }
    },
    {
      "id" : "ClaimResponse.item.adjudication.amount",
      "path" : "ClaimResponse.item.adjudication.amount",
      "short" : "Monetary amount",
      "definition" : "Monetary amount associated with the category.",
      "comment" : "For example: amount submitted, eligible amount, co-payment, and benefit payable.",
      "requirements" : "Most adjuciation categories convey a monetary amount.",
      "min" : 0,
      "max" : "1",
      "base" : {
        "path" : "ClaimResponse.item.adjudication.amount",
        "min" : 0,
        "max" : "1"
      },
      "type" : [{
        "code" : "Money"
      }],
      "constraint" : [{
        "key" : "ele-1",
        "severity" : "error",
        "human" : "All FHIR elements must have a @value or children",
        "expression" : "hasValue() or (children().count() > id.count())",
        "xpath" : "@value|f:*|h:div",
        "source" : "http://hl7.org/fhir/StructureDefinition/Element"
      }],
      "isModifier" : false,
      "isSummary" : false
    },
    {
      "id" : "ClaimResponse.item.adjudication.value",
      "path" : "ClaimResponse.item.adjudication.value",
      "short" : "Non-monetary value",
      "definition" : "A non-monetary value associated with the category. Mutually exclusive to the amount element above.",
      "comment" : "For example: eligible percentage or co-payment percentage.",
      "requirements" : "Some adjudication categories convey a percentage or a fixed value.",
      "min" : 0,
      "max" : "1",
      "base" : {
        "path" : "ClaimResponse.item.adjudication.value",
        "min" : 0,
        "max" : "1"
      },
      "type" : [{
        "code" : "decimal"
      }],
      "constraint" : [{
        "key" : "ele-1",
        "severity" : "error",
        "human" : "All FHIR elements must have a @value or children",
        "expression" : "hasValue() or (children().count() > id.count())",
        "xpath" : "@value|f:*|h:div",
        "source" : "http://hl7.org/fhir/StructureDefinition/Element"
      }],
      "isModifier" : false,
      "isSummary" : false
    },
    {
      "id" : "ClaimResponse.item.detail",
      "extension" : [{
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-explicit-type-name",
        "valueString" : "ItemDetail"
      }],
      "path" : "ClaimResponse.item.detail",
      "short" : "Adjudication for claim details",
      "definition" : "A claim detail. Either a simple (a product or service) or a 'group' of sub-details which are simple items.",
      "requirements" : "The adjudication for details provided on the claim.",
      "min" : 0,
      "max" : "*",
      "base" : {
        "path" : "ClaimResponse.item.detail",
        "min" : 0,
        "max" : "*"
      },
      "type" : [{
        "code" : "BackboneElement"
      }],
      "constraint" : [{
        "key" : "ele-1",
        "severity" : "error",
        "human" : "All FHIR elements must have a @value or children",
        "expression" : "hasValue() or (children().count() > id.count())",
        "xpath" : "@value|f:*|h:div",
        "source" : "http://hl7.org/fhir/StructureDefinition/Element"
      }],
      "isModifier" : false,
      "isSummary" : false
    },
    {
      "id" : "ClaimResponse.item.detail.id",
      "path" : "ClaimResponse.item.detail.id",
      "representation" : ["xmlAttr"],
      "short" : "Unique id for inter-element referencing",
      "definition" : "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
      "min" : 0,
      "max" : "1",
      "base" : {
        "path" : "Element.id",
        "min" : 0,
        "max" : "1"
      },
      "type" : [{
        "extension" : [{
          "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
          "valueUrl" : "string"
        }],
        "code" : "http://hl7.org/fhirpath/System.String"
      }],
      "isModifier" : false,
      "isSummary" : false,
      "mapping" : [{
        "identity" : "rim",
        "map" : "n/a"
      }]
    },
    {
      "id" : "ClaimResponse.item.detail.extension",
      "path" : "ClaimResponse.item.detail.extension",
      "short" : "Additional content defined by implementations",
      "definition" : "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.",
      "comment" : "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.",
      "alias" : ["extensions",
      "user content"],
      "min" : 0,
      "max" : "*",
      "base" : {
        "path" : "Element.extension",
        "min" : 0,
        "max" : "*"
      },
      "type" : [{
        "code" : "Extension"
      }],
      "constraint" : [{
        "key" : "ele-1",
        "severity" : "error",
        "human" : "All FHIR elements must have a @value or children",
        "expression" : "hasValue() or (children().count() > id.count())",
        "xpath" : "@value|f:*|h:div",
        "source" : "http://hl7.org/fhir/StructureDefinition/Element"
      },
      {
        "key" : "ext-1",
        "severity" : "error",
        "human" : "Must have either extensions or value[x], not both",
        "expression" : "extension.exists() != value.exists()",
        "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
        "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
      }],
      "isModifier" : false,
      "isSummary" : false,
      "mapping" : [{
        "identity" : "rim",
        "map" : "n/a"
      }]
    },
    {
      "id" : "ClaimResponse.item.detail.modifierExtension",
      "path" : "ClaimResponse.item.detail.modifierExtension",
      "short" : "Extensions that cannot be ignored even if unrecognized",
      "definition" : "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 manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. 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).",
      "comment" : "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.",
      "requirements" : "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).",
      "alias" : ["extensions",
      "user content",
      "modifiers"],
      "min" : 0,
      "max" : "*",
      "base" : {
        "path" : "BackboneElement.modifierExtension",
        "min" : 0,
        "max" : "*"
      },
      "type" : [{
        "code" : "Extension"
      }],
      "constraint" : [{
        "key" : "ele-1",
        "severity" : "error",
        "human" : "All FHIR elements must have a @value or children",
        "expression" : "hasValue() or (children().count() > id.count())",
        "xpath" : "@value|f:*|h:div",
        "source" : "http://hl7.org/fhir/StructureDefinition/Element"
      },
      {
        "key" : "ext-1",
        "severity" : "error",
        "human" : "Must have either extensions or value[x], not both",
        "expression" : "extension.exists() != value.exists()",
        "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
        "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
      }],
      "isModifier" : true,
      "isModifierReason" : "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them",
      "isSummary" : true,
      "mapping" : [{
        "identity" : "rim",
        "map" : "N/A"
      }]
    },
    {
      "id" : "ClaimResponse.item.detail.detailSequence",
      "path" : "ClaimResponse.item.detail.detailSequence",
      "short" : "Claim detail instance identifier",
      "definition" : "A number to uniquely reference the claim detail entry.",
      "requirements" : "Necessary to provide a mechanism to link the adjudication result to the submitted claim detail.",
      "min" : 1,
      "max" : "1",
      "base" : {
        "path" : "ClaimResponse.item.detail.detailSequence",
        "min" : 1,
        "max" : "1"
      },
      "type" : [{
        "code" : "positiveInt"
      }],
      "constraint" : [{
        "key" : "ele-1",
        "severity" : "error",
        "human" : "All FHIR elements must have a @value or children",
        "expression" : "hasValue() or (children().count() > id.count())",
        "xpath" : "@value|f:*|h:div",
        "source" : "http://hl7.org/fhir/StructureDefinition/Element"
      }],
      "isModifier" : false,
      "isSummary" : false
    },
    {
      "id" : "ClaimResponse.item.detail.noteNumber",
      "path" : "ClaimResponse.item.detail.noteNumber",
      "short" : "Applicable note numbers",
      "definition" : "The numbers associated with notes below which apply to the adjudication of this item.",
      "requirements" : "Provides a condensed manner for associating human readable descriptive explanations for adjudications on the line item.",
      "min" : 0,
      "max" : "*",
      "base" : {
        "path" : "ClaimResponse.item.detail.noteNumber",
        "min" : 0,
        "max" : "*"
      },
      "type" : [{
        "code" : "positiveInt"
      }],
      "constraint" : [{
        "key" : "ele-1",
        "severity" : "error",
        "human" : "All FHIR elements must have a @value or children",
        "expression" : "hasValue() or (children().count() > id.count())",
        "xpath" : "@value|f:*|h:div",
        "source" : "http://hl7.org/fhir/StructureDefinition/Element"
      }],
      "isModifier" : false,
      "isSummary" : false
    },
    {
      "id" : "ClaimResponse.item.detail.adjudication",
      "path" : "ClaimResponse.item.detail.adjudication",
      "short" : "Detail level adjudication details",
      "definition" : "The adjudication results.",
      "min" : 1,
      "max" : "*",
      "base" : {
        "path" : "ClaimResponse.item.detail.adjudication",
        "min" : 1,
        "max" : "*"
      },
      "contentReference" : "#ClaimResponse.item.adjudication",
      "constraint" : [{
        "key" : "ele-1",
        "severity" : "error",
        "human" : "All FHIR elements must have a @value or children",
        "expression" : "hasValue() or (children().count() > id.count())",
        "xpath" : "@value|f:*|h:div",
        "source" : "http://hl7.org/fhir/StructureDefinition/Element"
      }],
      "isModifier" : false,
      "isSummary" : false
    },
    {
      "id" : "ClaimResponse.item.detail.subDetail",
      "extension" : [{
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-explicit-type-name",
        "valueString" : "SubDetail"
      }],
      "path" : "ClaimResponse.item.detail.subDetail",
      "short" : "Adjudication for claim sub-details",
      "definition" : "A sub-detail adjudication of a simple product or service.",
      "requirements" : "The adjudication for sub-details provided on the claim.",
      "min" : 0,
      "max" : "*",
      "base" : {
        "path" : "ClaimResponse.item.detail.subDetail",
        "min" : 0,
        "max" : "*"
      },
      "type" : [{
        "code" : "BackboneElement"
      }],
      "constraint" : [{
        "key" : "ele-1",
        "severity" : "error",
        "human" : "All FHIR elements must have a @value or children",
        "expression" : "hasValue() or (children().count() > id.count())",
        "xpath" : "@value|f:*|h:div",
        "source" : "http://hl7.org/fhir/StructureDefinition/Element"
      }],
      "isModifier" : false,
      "isSummary" : false
    },
    {
      "id" : "ClaimResponse.item.detail.subDetail.id",
      "path" : "ClaimResponse.item.detail.subDetail.id",
      "representation" : ["xmlAttr"],
      "short" : "Unique id for inter-element referencing",
      "definition" : "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
      "min" : 0,
      "max" : "1",
      "base" : {
        "path" : "Element.id",
        "min" : 0,
        "max" : "1"
      },
      "type" : [{
        "extension" : [{
          "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
          "valueUrl" : "string"
        }],
        "code" : "http://hl7.org/fhirpath/System.String"
      }],
      "isModifier" : false,
      "isSummary" : false,
      "mapping" : [{
        "identity" : "rim",
        "map" : "n/a"
      }]
    },
    {
      "id" : "ClaimResponse.item.detail.subDetail.extension",
      "path" : "ClaimResponse.item.detail.subDetail.extension",
      "short" : "Additional content defined by implementations",
      "definition" : "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.",
      "comment" : "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.",
      "alias" : ["extensions",
      "user content"],
      "min" : 0,
      "max" : "*",
      "base" : {
        "path" : "Element.extension",
        "min" : 0,
        "max" : "*"
      },
      "type" : [{
        "code" : "Extension"
      }],
      "constraint" : [{
        "key" : "ele-1",
        "severity" : "error",
        "human" : "All FHIR elements must have a @value or children",
        "expression" : "hasValue() or (children().count() > id.count())",
        "xpath" : "@value|f:*|h:div",
        "source" : "http://hl7.org/fhir/StructureDefinition/Element"
      },
      {
        "key" : "ext-1",
        "severity" : "error",
        "human" : "Must have either extensions or value[x], not both",
        "expression" : "extension.exists() != value.exists()",
        "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
        "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
      }],
      "isModifier" : false,
      "isSummary" : false,
      "mapping" : [{
        "identity" : "rim",
        "map" : "n/a"
      }]
    },
    {
      "id" : "ClaimResponse.item.detail.subDetail.modifierExtension",
      "path" : "ClaimResponse.item.detail.subDetail.modifierExtension",
      "short" : "Extensions that cannot be ignored even if unrecognized",
      "definition" : "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 manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. 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).",
      "comment" : "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.",
      "requirements" : "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).",
      "alias" : ["extensions",
      "user content",
      "modifiers"],
      "min" : 0,
      "max" : "*",
      "base" : {
        "path" : "BackboneElement.modifierExtension",
        "min" : 0,
        "max" : "*"
      },
      "type" : [{
        "code" : "Extension"
      }],
      "constraint" : [{
        "key" : "ele-1",
        "severity" : "error",
        "human" : "All FHIR elements must have a @value or children",
        "expression" : "hasValue() or (children().count() > id.count())",
        "xpath" : "@value|f:*|h:div",
        "source" : "http://hl7.org/fhir/StructureDefinition/Element"
      },
      {
        "key" : "ext-1",
        "severity" : "error",
        "human" : "Must have either extensions or value[x], not both",
        "expression" : "extension.exists() != value.exists()",
        "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
        "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
      }],
      "isModifier" : true,
      "isModifierReason" : "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them",
      "isSummary" : true,
      "mapping" : [{
        "identity" : "rim",
        "map" : "N/A"
      }]
    },
    {
      "id" : "ClaimResponse.item.detail.subDetail.subDetailSequence",
      "path" : "ClaimResponse.item.detail.subDetail.subDetailSequence",
      "short" : "Claim sub-detail instance identifier",
      "definition" : "A number to uniquely reference the claim sub-detail entry.",
      "requirements" : "Necessary to provide a mechanism to link the adjudication result to the submitted claim sub-detail.",
      "min" : 1,
      "max" : "1",
      "base" : {
        "path" : "ClaimResponse.item.detail.subDetail.subDetailSequence",
        "min" : 1,
        "max" : "1"
      },
      "type" : [{
        "code" : "positiveInt"
      }],
      "constraint" : [{
        "key" : "ele-1",
        "severity" : "error",
        "human" : "All FHIR elements must have a @value or children",
        "expression" : "hasValue() or (children().count() > id.count())",
        "xpath" : "@value|f:*|h:div",
        "source" : "http://hl7.org/fhir/StructureDefinition/Element"
      }],
      "isModifier" : false,
      "isSummary" : false
    },
    {
      "id" : "ClaimResponse.item.detail.subDetail.noteNumber",
      "path" : "ClaimResponse.item.detail.subDetail.noteNumber",
      "short" : "Applicable note numbers",
      "definition" : "The numbers associated with notes below which apply to the adjudication of this item.",
      "requirements" : "Provides a condensed manner for associating human readable descriptive explanations for adjudications on the line item.",
      "min" : 0,
      "max" : "*",
      "base" : {
        "path" : "ClaimResponse.item.detail.subDetail.noteNumber",
        "min" : 0,
        "max" : "*"
      },
      "type" : [{
        "code" : "positiveInt"
      }],
      "constraint" : [{
        "key" : "ele-1",
        "severity" : "error",
        "human" : "All FHIR elements must have a @value or children",
        "expression" : "hasValue() or (children().count() > id.count())",
        "xpath" : "@value|f:*|h:div",
        "source" : "http://hl7.org/fhir/StructureDefinition/Element"
      }],
      "isModifier" : false,
      "isSummary" : false
    },
    {
      "id" : "ClaimResponse.item.detail.subDetail.adjudication",
      "path" : "ClaimResponse.item.detail.subDetail.adjudication",
      "short" : "Subdetail level adjudication details",
      "definition" : "The adjudication results.",
      "min" : 0,
      "max" : "*",
      "base" : {
        "path" : "ClaimResponse.item.detail.subDetail.adjudication",
        "min" : 0,
        "max" : "*"
      },
      "contentReference" : "#ClaimResponse.item.adjudication",
      "constraint" : [{
        "key" : "ele-1",
        "severity" : "error",
        "human" : "All FHIR elements must have a @value or children",
        "expression" : "hasValue() or (children().count() > id.count())",
        "xpath" : "@value|f:*|h:div",
        "source" : "http://hl7.org/fhir/StructureDefinition/Element"
      }],
      "isModifier" : false,
      "isSummary" : false
    },
    {
      "id" : "ClaimResponse.addItem",
      "extension" : [{
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-explicit-type-name",
        "valueString" : "AddedItem"
      }],
      "path" : "ClaimResponse.addItem",
      "short" : "Insurer added line items",
      "definition" : "The first-tier service adjudications for payor added product or service lines.",
      "requirements" : "Insurers may redefine the provided product or service or may package and/or decompose groups of products and services. The addItems allows the insurer to provide their line item list with linkage to the submitted items/details/sub-details. In a preauthorization the insurer may use the addItem structure to provide additional information on authorized products and services.",
      "min" : 0,
      "max" : "*",
      "base" : {
        "path" : "ClaimResponse.addItem",
        "min" : 0,
        "max" : "*"
      },
      "type" : [{
        "code" : "BackboneElement"
      }],
      "constraint" : [{
        "key" : "ele-1",
        "severity" : "error",
        "human" : "All FHIR elements must have a @value or children",
        "expression" : "hasValue() or (children().count() > id.count())",
        "xpath" : "@value|f:*|h:div",
        "source" : "http://hl7.org/fhir/StructureDefinition/Element"
      }],
      "isModifier" : false,
      "isSummary" : false
    },
    {
      "id" : "ClaimResponse.addItem.id",
      "path" : "ClaimResponse.addItem.id",
      "representation" : ["xmlAttr"],
      "short" : "Unique id for inter-element referencing",
      "definition" : "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
      "min" : 0,
      "max" : "1",
      "base" : {
        "path" : "Element.id",
        "min" : 0,
        "max" : "1"
      },
      "type" : [{
        "extension" : [{
          "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
          "valueUrl" : "string"
        }],
        "code" : "http://hl7.org/fhirpath/System.String"
      }],
      "isModifier" : false,
      "isSummary" : false,
      "mapping" : [{
        "identity" : "rim",
        "map" : "n/a"
      }]
    },
    {
      "id" : "ClaimResponse.addItem.extension",
      "path" : "ClaimResponse.addItem.extension",
      "short" : "Additional content defined by implementations",
      "definition" : "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.",
      "comment" : "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.",
      "alias" : ["extensions",
      "user content"],
      "min" : 0,
      "max" : "*",
      "base" : {
        "path" : "Element.extension",
        "min" : 0,
        "max" : "*"
      },
      "type" : [{
        "code" : "Extension"
      }],
      "constraint" : [{
        "key" : "ele-1",
        "severity" : "error",
        "human" : "All FHIR elements must have a @value or children",
        "expression" : "hasValue() or (children().count() > id.count())",
        "xpath" : "@value|f:*|h:div",
        "source" : "http://hl7.org/fhir/StructureDefinition/Element"
      },
      {
        "key" : "ext-1",
        "severity" : "error",
        "human" : "Must have either extensions or value[x], not both",
        "expression" : "extension.exists() != value.exists()",
        "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
        "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
      }],
      "isModifier" : false,
      "isSummary" : false,
      "mapping" : [{
        "identity" : "rim",
        "map" : "n/a"
      }]
    },
    {
      "id" : "ClaimResponse.addItem.modifierExtension",
      "path" : "ClaimResponse.addItem.modifierExtension",
      "short" : "Extensions that cannot be ignored even if unrecognized",
      "definition" : "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 manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. 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).",
      "comment" : "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.",
      "requirements" : "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).",
      "alias" : ["extensions",
      "user content",
      "modifiers"],
      "min" : 0,
      "max" : "*",
      "base" : {
        "path" : "BackboneElement.modifierExtension",
        "min" : 0,
        "max" : "*"
      },
      "type" : [{
        "code" : "Extension"
      }],
      "constraint" : [{
        "key" : "ele-1",
        "severity" : "error",
        "human" : "All FHIR elements must have a @value or children",
        "expression" : "hasValue() or (children().count() > id.count())",
        "xpath" : "@value|f:*|h:div",
        "source" : "http://hl7.org/fhir/StructureDefinition/Element"
      },
      {
        "key" : "ext-1",
        "severity" : "error",
        "human" : "Must have either extensions or value[x], not both",
        "expression" : "extension.exists() != value.exists()",
        "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
        "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
      }],
      "isModifier" : true,
      "isModifierReason" : "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them",
      "isSummary" : true,
      "mapping" : [{
        "identity" : "rim",
        "map" : "N/A"
      }]
    },
    {
      "id" : "ClaimResponse.addItem.itemSequence",
      "path" : "ClaimResponse.addItem.itemSequence",
      "short" : "Item sequence number",
      "definition" : "Claim items which this service line is intended to replace.",
      "requirements" : "Provides references to the claim items.",
      "min" : 0,
      "max" : "*",
      "base" : {
        "path" : "ClaimResponse.addItem.itemSequence",
        "min" : 0,
        "max" : "*"
      },
      "type" : [{
        "code" : "positiveInt"
      }],
      "constraint" : [{
        "key" : "ele-1",
        "severity" : "error",
        "human" : "All FHIR elements must have a @value or children",
        "expression" : "hasValue() or (children().count() > id.count())",
        "xpath" : "@value|f:*|h:div",
        "source" : "http://hl7.org/fhir/StructureDefinition/Element"
      }],
      "isModifier" : false,
      "isSummary" : false
    },
    {
      "id" : "ClaimResponse.addItem.detailSequence",
      "path" : "ClaimResponse.addItem.detailSequence",
      "short" : "Detail sequence number",
      "definition" : "The sequence number of the details within the claim item which this line is intended to replace.",
      "requirements" : "Provides references to the claim details within the claim item.",
      "min" : 0,
      "max" : "*",
      "base" : {
        "path" : "ClaimResponse.addItem.detailSequence",
        "min" : 0,
        "max" : "*"
      },
      "type" : [{
        "code" : "positiveInt"
      }],
      "constraint" : [{
        "key" : "ele-1",
        "severity" : "error",
        "human" : "All FHIR elements must have a @value or children",
        "expression" : "hasValue() or (children().count() > id.count())",
        "xpath" : "@value|f:*|h:div",
        "source" : "http://hl7.org/fhir/StructureDefinition/Element"
      }],
      "isModifier" : false,
      "isSummary" : false
    },
    {
      "id" : "ClaimResponse.addItem.subdetailSequence",
      "path" : "ClaimResponse.addItem.subdetailSequence",
      "short" : "Subdetail sequence number",
      "definition" : "The sequence number of the sub-details within the details within the claim item which this line is intended to replace.",
      "requirements" : "Provides references to the claim sub-details within the claim detail.",
      "min" : 0,
      "max" : "*",
      "base" : {
        "path" : "ClaimResponse.addItem.subdetailSequence",
        "min" : 0,
        "max" : "*"
      },
      "type" : [{
        "code" : "positiveInt"
      }],
      "constraint" : [{
        "key" : "ele-1",
        "severity" : "error",
        "human" : "All FHIR elements must have a @value or children",
        "expression" : "hasValue() or (children().count() > id.count())",
        "xpath" : "@value|f:*|h:div",
        "source" : "http://hl7.org/fhir/StructureDefinition/Element"
      }],
      "isModifier" : false,
      "isSummary" : false
    },
    {
      "id" : "ClaimResponse.addItem.provider",
      "path" : "ClaimResponse.addItem.provider",
      "short" : "Authorized providers",
      "definition" : "The providers who are authorized for the services rendered to the patient.",
      "requirements" : "Insurer may provide authorization specifically to a restricted set of providers rather than an open authorization.",
      "min" : 0,
      "max" : "*",
      "base" : {
        "path" : "ClaimResponse.addItem.provider",
        "min" : 0,
        "max" : "*"
      },
      "type" : [{
        "code" : "Reference",
        "targetProfile" : ["http://hl7.org/fhir/StructureDefinition/Practitioner",
        "http://hl7.org/fhir/StructureDefinition/PractitionerRole",
        "http://hl7.org/fhir/StructureDefinition/Organization"]
      }],
      "constraint" : [{
        "key" : "ele-1",
        "severity" : "error",
        "human" : "All FHIR elements must have a @value or children",
        "expression" : "hasValue() or (children().count() > id.count())",
        "xpath" : "@value|f:*|h:div",
        "source" : "http://hl7.org/fhir/StructureDefinition/Element"
      }],
      "isModifier" : false,
      "isSummary" : false,
      "mapping" : [{
        "identity" : "w5",
        "map" : "FiveWs.source"
      }]
    },
    {
      "id" : "ClaimResponse.addItem.productOrService",
      "path" : "ClaimResponse.addItem.productOrService",
      "short" : "Billing, service, product, or drug code",
      "definition" : "When the value is a group code then this item collects a set of related claim details, otherwise this contains the product, service, drug or other billing code for the item.",
      "comment" : "If this is an actual service or product line, i.e. not a Group, then use code to indicate the Professional Service or Product supplied (e.g. CTP, HCPCS, USCLS, ICD10, NCPDP, DIN, RxNorm, ACHI, CCI). If a grouping item then use a group code to indicate the type of thing being grouped e.g. 'glasses' or 'compound'.",
      "requirements" : "Necessary to state what was provided or done.",
      "min" : 1,
      "max" : "1",
      "base" : {
        "path" : "ClaimResponse.addItem.productOrService",
        "min" : 1,
        "max" : "1"
      },
      "type" : [{
        "code" : "CodeableConcept"
      }],
      "constraint" : [{
        "key" : "ele-1",
        "severity" : "error",
        "human" : "All FHIR elements must have a @value or children",
        "expression" : "hasValue() or (children().count() > id.count())",
        "xpath" : "@value|f:*|h:div",
        "source" : "http://hl7.org/fhir/StructureDefinition/Element"
      }],
      "isModifier" : false,
      "isSummary" : false,
      "binding" : {
        "extension" : [{
          "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
          "valueString" : "ServiceProduct"
        }],
        "strength" : "example",
        "description" : "Allowable service and product codes.",
        "valueSet" : "http://hl7.org/fhir/ValueSet/service-uscls"
      }
    },
    {
      "id" : "ClaimResponse.addItem.modifier",
      "path" : "ClaimResponse.addItem.modifier",
      "short" : "Service/Product billing modifiers",
      "definition" : "Item typification or modifiers codes to convey additional context for the product or service.",
      "comment" : "For example in Oral whether the treatment is cosmetic or associated with TMJ, or for Medical whether the treatment was outside the clinic or outside of office hours.",
      "requirements" : "To support inclusion of the item for adjudication or to charge an elevated fee.",
      "min" : 0,
      "max" : "*",
      "base" : {
        "path" : "ClaimResponse.addItem.modifier",
        "min" : 0,
        "max" : "*"
      },
      "type" : [{
        "code" : "CodeableConcept"
      }],
      "constraint" : [{
        "key" : "ele-1",
        "severity" : "error",
        "human" : "All FHIR elements must have a @value or children",
        "expression" : "hasValue() or (children().count() > id.count())",
        "xpath" : "@value|f:*|h:div",
        "source" : "http://hl7.org/fhir/StructureDefinition/Element"
      }],
      "isModifier" : false,
      "isSummary" : false,
      "binding" : {
        "extension" : [{
          "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
          "valueString" : "Modifiers"
        }],
        "strength" : "example",
        "description" : "Item type or modifiers codes, eg for Oral whether the treatment is cosmetic or associated with TMJ, or an appliance was lost or stolen.",
        "valueSet" : "http://hl7.org/fhir/ValueSet/claim-modifiers"
      },
      "mapping" : [{
        "identity" : "rim",
        "map" : "24.C, 24.D mods"
      }]
    },
    {
      "id" : "ClaimResponse.addItem.programCode",
      "path" : "ClaimResponse.addItem.programCode",
      "short" : "Program the product or service is provided under",
      "definition" : "Identifies the program under which this may be recovered.",
      "comment" : "For example: Neonatal program, child dental program or drug users recovery program.",
      "requirements" : "Commonly used in in the identification of publicly provided program focused on population segments or disease classifications.",
      "min" : 0,
      "max" : "*",
      "base" : {
        "path" : "ClaimResponse.addItem.programCode",
        "min" : 0,
        "max" : "*"
      },
      "type" : [{
        "code" : "CodeableConcept"
      }],
      "constraint" : [{
        "key" : "ele-1",
        "severity" : "error",
        "human" : "All FHIR elements must have a @value or children",
        "expression" : "hasValue() or (children().count() > id.count())",
        "xpath" : "@value|f:*|h:div",
        "source" : "http://hl7.org/fhir/StructureDefinition/Element"
      }],
      "isModifier" : false,
      "isSummary" : false,
      "binding" : {
        "extension" : [{
          "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
          "valueString" : "ProgramCode"
        }],
        "strength" : "example",
        "description" : "Program specific reason codes.",
        "valueSet" : "http://hl7.org/fhir/ValueSet/ex-program-code"
      },
      "mapping" : [{
        "identity" : "rim",
        "map" : "24.H"
      }]
    },
    {
      "id" : "ClaimResponse.addItem.serviced[x]",
      "path" : "ClaimResponse.addItem.serviced[x]",
      "short" : "Date or dates of service or product delivery",
      "definition" : "The date or dates when the service or product was supplied, performed or completed.",
      "requirements" : "Needed to determine whether the  service or product was provided during the term of the insurance coverage.",
      "min" : 0,
      "max" : "1",
      "base" : {
        "path" : "ClaimResponse.addItem.serviced[x]",
        "min" : 0,
        "max" : "1"
      },
      "type" : [{
        "code" : "date"
      },
      {
        "code" : "Period"
      }],
      "constraint" : [{
        "key" : "ele-1",
        "severity" : "error",
        "human" : "All FHIR elements must have a @value or children",
        "expression" : "hasValue() or (children().count() > id.count())",
        "xpath" : "@value|f:*|h:div",
        "source" : "http://hl7.org/fhir/StructureDefinition/Element"
      }],
      "isModifier" : false,
      "isSummary" : false,
      "mapping" : [{
        "identity" : "w5",
        "map" : "FiveWs.done[x]"
      },
      {
        "identity" : "rim",
        "map" : "24.A"
      }]
    },
    {
      "id" : "ClaimResponse.addItem.location[x]",
      "path" : "ClaimResponse.addItem.location[x]",
      "short" : "Place of service or where product was supplied",
      "definition" : "Where the product or service was provided.",
      "requirements" : "The location can alter whether the item was acceptable for insurance purposes or impact the determination of the benefit amount.",
      "min" : 0,
      "max" : "1",
      "base" : {
        "path" : "ClaimResponse.addItem.location[x]",
        "min" : 0,
        "max" : "1"
      },
      "type" : [{
        "code" : "CodeableConcept"
      },
      {
        "code" : "Address"
      },
      {
        "code" : "Reference",
        "targetProfile" : ["http://hl7.org/fhir/StructureDefinition/Location"]
      }],
      "constraint" : [{
        "key" : "ele-1",
        "severity" : "error",
        "human" : "All FHIR elements must have a @value or children",
        "expression" : "hasValue() or (children().count() > id.count())",
        "xpath" : "@value|f:*|h:div",
        "source" : "http://hl7.org/fhir/StructureDefinition/Element"
      }],
      "isModifier" : false,
      "isSummary" : false,
      "binding" : {
        "extension" : [{
          "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
          "valueString" : "ServicePlace"
        }],
        "strength" : "example",
        "description" : "Place of service: pharmacy, school, prison, etc.",
        "valueSet" : "http://hl7.org/fhir/ValueSet/service-place"
      },
      "mapping" : [{
        "identity" : "w5",
        "map" : "FiveWs.where[x]"
      },
      {
        "identity" : "rim",
        "map" : "24.B"
      }]
    },
    {
      "id" : "ClaimResponse.addItem.quantity",
      "path" : "ClaimResponse.addItem.quantity",
      "short" : "Count of products or services",
      "definition" : "The number of repetitions of a service or product.",
      "requirements" : "Required when the product or service code does not convey the quantity provided.",
      "min" : 0,
      "max" : "1",
      "base" : {
        "path" : "ClaimResponse.addItem.quantity",
        "min" : 0,
        "max" : "1"
      },
      "type" : [{
        "code" : "Quantity",
        "profile" : ["http://hl7.org/fhir/StructureDefinition/SimpleQuantity"]
      }],
      "constraint" : [{
        "key" : "ele-1",
        "severity" : "error",
        "human" : "All FHIR elements must have a @value or children",
        "expression" : "hasValue() or (children().count() > id.count())",
        "xpath" : "@value|f:*|h:div",
        "source" : "http://hl7.org/fhir/StructureDefinition/Element"
      }],
      "isModifier" : false,
      "isSummary" : false,
      "mapping" : [{
        "identity" : "rim",
        "map" : "24.G"
      }]
    },
    {
      "id" : "ClaimResponse.addItem.unitPrice",
      "path" : "ClaimResponse.addItem.unitPrice",
      "short" : "Fee, charge or cost per item",
      "definition" : "If the item is not a group then this is the fee for the product or service, otherwise this is the total of the fees for the details of the group.",
      "requirements" : "The amount charged to the patient by the provider for a single unit.",
      "min" : 0,
      "max" : "1",
      "base" : {
        "path" : "ClaimResponse.addItem.unitPrice",
        "min" : 0,
        "max" : "1"
      },
      "type" : [{
        "code" : "Money"
      }],
      "constraint" : [{
        "key" : "ele-1",
        "severity" : "error",
        "human" : "All FHIR elements must have a @value or children",
        "expression" : "hasValue() or (children().count() > id.count())",
        "xpath" : "@value|f:*|h:div",
        "source" : "http://hl7.org/fhir/StructureDefinition/Element"
      }],
      "isModifier" : false,
      "isSummary" : false
    },
    {
      "id" : "ClaimResponse.addItem.factor",
      "path" : "ClaimResponse.addItem.factor",
      "short" : "Price scaling factor",
      "definition" : "A real number that represents a multiplier used in determining the overall value of services delivered and/or goods received. The concept of a Factor allows for a discount or surcharge multiplier to be applied to a monetary amount.",
      "comment" : "To show a 10% senior's discount, the value entered is: 0.90 (1.00 - 0.10).",
      "requirements" : "When discounts are provided to a patient (example: Senior's discount) then this must be documented for adjudication.",
      "min" : 0,
      "max" : "1",
      "base" : {
        "path" : "ClaimResponse.addItem.factor",
        "min" : 0,
        "max" : "1"
      },
      "type" : [{
        "code" : "decimal"
      }],
      "constraint" : [{
        "key" : "ele-1",
        "severity" : "error",
        "human" : "All FHIR elements must have a @value or children",
        "expression" : "hasValue() or (children().count() > id.count())",
        "xpath" : "@value|f:*|h:div",
        "source" : "http://hl7.org/fhir/StructureDefinition/Element"
      }],
      "isModifier" : false,
      "isSummary" : false
    },
    {
      "id" : "ClaimResponse.addItem.net",
      "path" : "ClaimResponse.addItem.net",
      "short" : "Total item cost",
      "definition" : "The quantity times the unit price for an additional service or product or charge.",
      "comment" : "For example, the formula: quantity * unitPrice * factor  = net. Quantity and factor are assumed to be 1 if not supplied.",
      "requirements" : "Provides the total amount claimed  for the group (if a grouper) or the line item.",
      "min" : 0,
      "max" : "1",
      "base" : {
        "path" : "ClaimResponse.addItem.net",
        "min" : 0,
        "max" : "1"
      },
      "type" : [{
        "code" : "Money"
      }],
      "constraint" : [{
        "key" : "ele-1",
        "severity" : "error",
        "human" : "All FHIR elements must have a @value or children",
        "expression" : "hasValue() or (children().count() > id.count())",
        "xpath" : "@value|f:*|h:div",
        "source" : "http://hl7.org/fhir/StructureDefinition/Element"
      }],
      "isModifier" : false,
      "isSummary" : false,
      "mapping" : [{
        "identity" : "rim",
        "map" : "24.F"
      }]
    },
    {
      "id" : "ClaimResponse.addItem.bodySite",
      "path" : "ClaimResponse.addItem.bodySite",
      "short" : "Anatomical location",
      "definition" : "Physical service site on the patient (limb, tooth, etc.).",
      "comment" : "For example: Providing a tooth code allows an insurer to identify a provider performing a filling on a tooth that was previously removed.",
      "requirements" : "Allows insurer to validate specific procedures.",
      "min" : 0,
      "max" : "1",
      "base" : {
        "path" : "ClaimResponse.addItem.bodySite",
        "min" : 0,
        "max" : "1"
      },
      "type" : [{
        "code" : "CodeableConcept"
      }],
      "constraint" : [{
        "key" : "ele-1",
        "severity" : "error",
        "human" : "All FHIR elements must have a @value or children",
        "expression" : "hasValue() or (children().count() > id.count())",
        "xpath" : "@value|f:*|h:div",
        "source" : "http://hl7.org/fhir/StructureDefinition/Element"
      }],
      "isModifier" : false,
      "isSummary" : false,
      "binding" : {
        "extension" : [{
          "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
          "valueString" : "OralSites"
        }],
        "strength" : "example",
        "description" : "The code for the teeth, quadrant, sextant and arch.",
        "valueSet" : "http://hl7.org/fhir/ValueSet/tooth"
      }
    },
    {
      "id" : "ClaimResponse.addItem.subSite",
      "path" : "ClaimResponse.addItem.subSite",
      "short" : "Anatomical sub-location",
      "definition" : "A region or surface of the bodySite, e.g. limb region or tooth surface(s).",
      "requirements" : "Allows insurer to validate specific procedures.",
      "min" : 0,
      "max" : "*",
      "base" : {
        "path" : "ClaimResponse.addItem.subSite",
        "min" : 0,
        "max" : "*"
      },
      "type" : [{
        "code" : "CodeableConcept"
      }],
      "constraint" : [{
        "key" : "ele-1",
        "severity" : "error",
        "human" : "All FHIR elements must have a @value or children",
        "expression" : "hasValue() or (children().count() > id.count())",
        "xpath" : "@value|f:*|h:div",
        "source" : "http://hl7.org/fhir/StructureDefinition/Element"
      }],
      "isModifier" : false,
      "isSummary" : false,
      "binding" : {
        "extension" : [{
          "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
          "valueString" : "Surface"
        }],
        "strength" : "example",
        "description" : "The code for the tooth surface and surface combinations.",
        "valueSet" : "http://hl7.org/fhir/ValueSet/surface"
      }
    },
    {
      "id" : "ClaimResponse.addItem.noteNumber",
      "path" : "ClaimResponse.addItem.noteNumber",
      "short" : "Applicable note numbers",
      "definition" : "The numbers associated with notes below which apply to the adjudication of this item.",
      "requirements" : "Provides a condensed manner for associating human readable descriptive explanations for adjudications on the line item.",
      "min" : 0,
      "max" : "*",
      "base" : {
        "path" : "ClaimResponse.addItem.noteNumber",
        "min" : 0,
        "max" : "*"
      },
      "type" : [{
        "code" : "positiveInt"
      }],
      "constraint" : [{
        "key" : "ele-1",
        "severity" : "error",
        "human" : "All FHIR elements must have a @value or children",
        "expression" : "hasValue() or (children().count() > id.count())",
        "xpath" : "@value|f:*|h:div",
        "source" : "http://hl7.org/fhir/StructureDefinition/Element"
      }],
      "isModifier" : false,
      "isSummary" : false
    },
    {
      "id" : "ClaimResponse.addItem.adjudication",
      "path" : "ClaimResponse.addItem.adjudication",
      "short" : "Added items adjudication",
      "definition" : "The adjudication results.",
      "min" : 1,
      "max" : "*",
      "base" : {
        "path" : "ClaimResponse.addItem.adjudication",
        "min" : 1,
        "max" : "*"
      },
      "contentReference" : "#ClaimResponse.item.adjudication",
      "constraint" : [{
        "key" : "ele-1",
        "severity" : "error",
        "human" : "All FHIR elements must have a @value or children",
        "expression" : "hasValue() or (children().count() > id.count())",
        "xpath" : "@value|f:*|h:div",
        "source" : "http://hl7.org/fhir/StructureDefinition/Element"
      }],
      "isModifier" : false,
      "isSummary" : false
    },
    {
      "id" : "ClaimResponse.addItem.detail",
      "extension" : [{
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-explicit-type-name",
        "valueString" : "AddedItemDetail"
      }],
      "path" : "ClaimResponse.addItem.detail",
      "short" : "Insurer added line details",
      "definition" : "The second-tier service adjudications for payor added services.",
      "min" : 0,
      "max" : "*",
      "base" : {
        "path" : "ClaimResponse.addItem.detail",
        "min" : 0,
        "max" : "*"
      },
      "type" : [{
        "code" : "BackboneElement"
      }],
      "constraint" : [{
        "key" : "ele-1",
        "severity" : "error",
        "human" : "All FHIR elements must have a @value or children",
        "expression" : "hasValue() or (children().count() > id.count())",
        "xpath" : "@value|f:*|h:div",
        "source" : "http://hl7.org/fhir/StructureDefinition/Element"
      }],
      "isModifier" : false,
      "isSummary" : false
    },
    {
      "id" : "ClaimResponse.addItem.detail.id",
      "path" : "ClaimResponse.addItem.detail.id",
      "representation" : ["xmlAttr"],
      "short" : "Unique id for inter-element referencing",
      "definition" : "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
      "min" : 0,
      "max" : "1",
      "base" : {
        "path" : "Element.id",
        "min" : 0,
        "max" : "1"
      },
      "type" : [{
        "extension" : [{
          "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
          "valueUrl" : "string"
        }],
        "code" : "http://hl7.org/fhirpath/System.String"
      }],
      "isModifier" : false,
      "isSummary" : false,
      "mapping" : [{
        "identity" : "rim",
        "map" : "n/a"
      }]
    },
    {
      "id" : "ClaimResponse.addItem.detail.extension",
      "path" : "ClaimResponse.addItem.detail.extension",
      "short" : "Additional content defined by implementations",
      "definition" : "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.",
      "comment" : "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.",
      "alias" : ["extensions",
      "user content"],
      "min" : 0,
      "max" : "*",
      "base" : {
        "path" : "Element.extension",
        "min" : 0,
        "max" : "*"
      },
      "type" : [{
        "code" : "Extension"
      }],
      "constraint" : [{
        "key" : "ele-1",
        "severity" : "error",
        "human" : "All FHIR elements must have a @value or children",
        "expression" : "hasValue() or (children().count() > id.count())",
        "xpath" : "@value|f:*|h:div",
        "source" : "http://hl7.org/fhir/StructureDefinition/Element"
      },
      {
        "key" : "ext-1",
        "severity" : "error",
        "human" : "Must have either extensions or value[x], not both",
        "expression" : "extension.exists() != value.exists()",
        "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
        "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
      }],
      "isModifier" : false,
      "isSummary" : false,
      "mapping" : [{
        "identity" : "rim",
        "map" : "n/a"
      }]
    },
    {
      "id" : "ClaimResponse.addItem.detail.modifierExtension",
      "path" : "ClaimResponse.addItem.detail.modifierExtension",
      "short" : "Extensions that cannot be ignored even if unrecognized",
      "definition" : "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 manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. 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).",
      "comment" : "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.",
      "requirements" : "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).",
      "alias" : ["extensions",
      "user content",
      "modifiers"],
      "min" : 0,
      "max" : "*",
      "base" : {
        "path" : "BackboneElement.modifierExtension",
        "min" : 0,
        "max" : "*"
      },
      "type" : [{
        "code" : "Extension"
      }],
      "constraint" : [{
        "key" : "ele-1",
        "severity" : "error",
        "human" : "All FHIR elements must have a @value or children",
        "expression" : "hasValue() or (children().count() > id.count())",
        "xpath" : "@value|f:*|h:div",
        "source" : "http://hl7.org/fhir/StructureDefinition/Element"
      },
      {
        "key" : "ext-1",
        "severity" : "error",
        "human" : "Must have either extensions or value[x], not both",
        "expression" : "extension.exists() != value.exists()",
        "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
        "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
      }],
      "isModifier" : true,
      "isModifierReason" : "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them",
      "isSummary" : true,
      "mapping" : [{
        "identity" : "rim",
        "map" : "N/A"
      }]
    },
    {
      "id" : "ClaimResponse.addItem.detail.productOrService",
      "path" : "ClaimResponse.addItem.detail.productOrService",
      "short" : "Billing, service, product, or drug code",
      "definition" : "When the value is a group code then this item collects a set of related claim details, otherwise this contains the product, service, drug or other billing code for the item.",
      "comment" : "If this is an actual service or product line, i.e. not a Group, then use code to indicate the Professional Service or Product supplied (e.g. CTP, HCPCS, USCLS, ICD10, NCPDP, DIN, RxNorm, ACHI, CCI). If a grouping item then use a group code to indicate the type of thing being grouped e.g. 'glasses' or 'compound'.",
      "requirements" : "Necessary to state what was provided or done.",
      "min" : 1,
      "max" : "1",
      "base" : {
        "path" : "ClaimResponse.addItem.detail.productOrService",
        "min" : 1,
        "max" : "1"
      },
      "type" : [{
        "code" : "CodeableConcept"
      }],
      "constraint" : [{
        "key" : "ele-1",
        "severity" : "error",
        "human" : "All FHIR elements must have a @value or children",
        "expression" : "hasValue() or (children().count() > id.count())",
        "xpath" : "@value|f:*|h:div",
        "source" : "http://hl7.org/fhir/StructureDefinition/Element"
      }],
      "isModifier" : false,
      "isSummary" : false,
      "binding" : {
        "extension" : [{
          "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
          "valueString" : "ServiceProduct"
        }],
        "strength" : "example",
        "description" : "Allowable service and product codes.",
        "valueSet" : "http://hl7.org/fhir/ValueSet/service-uscls"
      }
    },
    {
      "id" : "ClaimResponse.addItem.detail.modifier",
      "path" : "ClaimResponse.addItem.detail.modifier",
      "short" : "Service/Product billing modifiers",
      "definition" : "Item typification or modifiers codes to convey additional context for the product or service.",
      "comment" : "For example in Oral whether the treatment is cosmetic or associated with TMJ, or for Medical whether the treatment was outside the clinic or outside of office hours.",
      "requirements" : "To support inclusion of the item for adjudication or to charge an elevated fee.",
      "min" : 0,
      "max" : "*",
      "base" : {
        "path" : "ClaimResponse.addItem.detail.modifier",
        "min" : 0,
        "max" : "*"
      },
      "type" : [{
        "code" : "CodeableConcept"
      }],
      "constraint" : [{
        "key" : "ele-1",
        "severity" : "error",
        "human" : "All FHIR elements must have a @value or children",
        "expression" : "hasValue() or (children().count() > id.count())",
        "xpath" : "@value|f:*|h:div",
        "source" : "http://hl7.org/fhir/StructureDefinition/Element"
      }],
      "isModifier" : false,
      "isSummary" : false,
      "binding" : {
        "extension" : [{
          "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
          "valueString" : "Modifiers"
        }],
        "strength" : "example",
        "description" : "Item type or modifiers codes, eg for Oral whether the treatment is cosmetic or associated with TMJ, or an appliance was lost or stolen.",
        "valueSet" : "http://hl7.org/fhir/ValueSet/claim-modifiers"
      },
      "mapping" : [{
        "identity" : "rim",
        "map" : "24.C, 24.D mods"
      }]
    },
    {
      "id" : "ClaimResponse.addItem.detail.quantity",
      "path" : "ClaimResponse.addItem.detail.quantity",
      "short" : "Count of products or services",
      "definition" : "The number of repetitions of a service or product.",
      "requirements" : "Required when the product or service code does not convey the quantity provided.",
      "min" : 0,
      "max" : "1",
      "base" : {
        "path" : "ClaimResponse.addItem.detail.quantity",
        "min" : 0,
        "max" : "1"
      },
      "type" : [{
        "code" : "Quantity",
        "profile" : ["http://hl7.org/fhir/StructureDefinition/SimpleQuantity"]
      }],
      "constraint" : [{
        "key" : "ele-1",
        "severity" : "error",
        "human" : "All FHIR elements must have a @value or children",
        "expression" : "hasValue() or (children().count() > id.count())",
        "xpath" : "@value|f:*|h:div",
        "source" : "http://hl7.org/fhir/StructureDefinition/Element"
      }],
      "isModifier" : false,
      "isSummary" : false,
      "mapping" : [{
        "identity" : "rim",
        "map" : "24.G"
      }]
    },
    {
      "id" : "ClaimResponse.addItem.detail.unitPrice",
      "path" : "ClaimResponse.addItem.detail.unitPrice",
      "short" : "Fee, charge or cost per item",
      "definition" : "If the item is not a group then this is the fee for the product or service, otherwise this is the total of the fees for the details of the group.",
      "requirements" : "The amount charged to the patient by the provider for a single unit.",
      "min" : 0,
      "max" : "1",
      "base" : {
        "path" : "ClaimResponse.addItem.detail.unitPrice",
        "min" : 0,
        "max" : "1"
      },
      "type" : [{
        "code" : "Money"
      }],
      "constraint" : [{
        "key" : "ele-1",
        "severity" : "error",
        "human" : "All FHIR elements must have a @value or children",
        "expression" : "hasValue() or (children().count() > id.count())",
        "xpath" : "@value|f:*|h:div",
        "source" : "http://hl7.org/fhir/StructureDefinition/Element"
      }],
      "isModifier" : false,
      "isSummary" : false
    },
    {
      "id" : "ClaimResponse.addItem.detail.factor",
      "path" : "ClaimResponse.addItem.detail.factor",
      "short" : "Price scaling factor",
      "definition" : "A real number that represents a multiplier used in determining the overall value of services delivered and/or goods received. The concept of a Factor allows for a discount or surcharge multiplier to be applied to a monetary amount.",
      "comment" : "To show a 10% senior's discount, the value entered is: 0.90 (1.00 - 0.10).",
      "requirements" : "When discounts are provided to a patient (example: Senior's discount) then this must be documented for adjudication.",
      "min" : 0,
      "max" : "1",
      "base" : {
        "path" : "ClaimResponse.addItem.detail.factor",
        "min" : 0,
        "max" : "1"
      },
      "type" : [{
        "code" : "decimal"
      }],
      "constraint" : [{
        "key" : "ele-1",
        "severity" : "error",
        "human" : "All FHIR elements must have a @value or children",
        "expression" : "hasValue() or (children().count() > id.count())",
        "xpath" : "@value|f:*|h:div",
        "source" : "http://hl7.org/fhir/StructureDefinition/Element"
      }],
      "isModifier" : false,
      "isSummary" : false
    },
    {
      "id" : "ClaimResponse.addItem.detail.net",
      "path" : "ClaimResponse.addItem.detail.net",
      "short" : "Total item cost",
      "definition" : "The quantity times the unit price for an additional service or product or charge.",
      "comment" : "For example, the formula: quantity * unitPrice * factor  = net. Quantity and factor are assumed to be 1 if not supplied.",
      "requirements" : "Provides the total amount claimed  for the group (if a grouper) or the line item.",
      "min" : 0,
      "max" : "1",
      "base" : {
        "path" : "ClaimResponse.addItem.detail.net",
        "min" : 0,
        "max" : "1"
      },
      "type" : [{
        "code" : "Money"
      }],
      "constraint" : [{
        "key" : "ele-1",
        "severity" : "error",
        "human" : "All FHIR elements must have a @value or children",
        "expression" : "hasValue() or (children().count() > id.count())",
        "xpath" : "@value|f:*|h:div",
        "source" : "http://hl7.org/fhir/StructureDefinition/Element"
      }],
      "isModifier" : false,
      "isSummary" : false,
      "mapping" : [{
        "identity" : "rim",
        "map" : "24.F"
      }]
    },
    {
      "id" : "ClaimResponse.addItem.detail.noteNumber",
      "path" : "ClaimResponse.addItem.detail.noteNumber",
      "short" : "Applicable note numbers",
      "definition" : "The numbers associated with notes below which apply to the adjudication of this item.",
      "requirements" : "Provides a condensed manner for associating human readable descriptive explanations for adjudications on the line item.",
      "min" : 0,
      "max" : "*",
      "base" : {
        "path" : "ClaimResponse.addItem.detail.noteNumber",
        "min" : 0,
        "max" : "*"
      },
      "type" : [{
        "code" : "positiveInt"
      }],
      "constraint" : [{
        "key" : "ele-1",
        "severity" : "error",
        "human" : "All FHIR elements must have a @value or children",
        "expression" : "hasValue() or (children().count() > id.count())",
        "xpath" : "@value|f:*|h:div",
        "source" : "http://hl7.org/fhir/StructureDefinition/Element"
      }],
      "isModifier" : false,
      "isSummary" : false
    },
    {
      "id" : "ClaimResponse.addItem.detail.adjudication",
      "path" : "ClaimResponse.addItem.detail.adjudication",
      "short" : "Added items detail adjudication",
      "definition" : "The adjudication results.",
      "min" : 1,
      "max" : "*",
      "base" : {
        "path" : "ClaimResponse.addItem.detail.adjudication",
        "min" : 1,
        "max" : "*"
      },
      "contentReference" : "#ClaimResponse.item.adjudication",
      "constraint" : [{
        "key" : "ele-1",
        "severity" : "error",
        "human" : "All FHIR elements must have a @value or children",
        "expression" : "hasValue() or (children().count() > id.count())",
        "xpath" : "@value|f:*|h:div",
        "source" : "http://hl7.org/fhir/StructureDefinition/Element"
      }],
      "isModifier" : false,
      "isSummary" : false
    },
    {
      "id" : "ClaimResponse.addItem.detail.subDetail",
      "extension" : [{
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-explicit-type-name",
        "valueString" : "AddedItemSubDetail"
      }],
      "path" : "ClaimResponse.addItem.detail.subDetail",
      "short" : "Insurer added line items",
      "definition" : "The third-tier service adjudications for payor added services.",
      "min" : 0,
      "max" : "*",
      "base" : {
        "path" : "ClaimResponse.addItem.detail.subDetail",
        "min" : 0,
        "max" : "*"
      },
      "type" : [{
        "code" : "BackboneElement"
      }],
      "constraint" : [{
        "key" : "ele-1",
        "severity" : "error",
        "human" : "All FHIR elements must have a @value or children",
        "expression" : "hasValue() or (children().count() > id.count())",
        "xpath" : "@value|f:*|h:div",
        "source" : "http://hl7.org/fhir/StructureDefinition/Element"
      }],
      "isModifier" : false,
      "isSummary" : false
    },
    {
      "id" : "ClaimResponse.addItem.detail.subDetail.id",
      "path" : "ClaimResponse.addItem.detail.subDetail.id",
      "representation" : ["xmlAttr"],
      "short" : "Unique id for inter-element referencing",
      "definition" : "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
      "min" : 0,
      "max" : "1",
      "base" : {
        "path" : "Element.id",
        "min" : 0,
        "max" : "1"
      },
      "type" : [{
        "extension" : [{
          "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
          "valueUrl" : "string"
        }],
        "code" : "http://hl7.org/fhirpath/System.String"
      }],
      "isModifier" : false,
      "isSummary" : false,
      "mapping" : [{
        "identity" : "rim",
        "map" : "n/a"
      }]
    },
    {
      "id" : "ClaimResponse.addItem.detail.subDetail.extension",
      "path" : "ClaimResponse.addItem.detail.subDetail.extension",
      "short" : "Additional content defined by implementations",
      "definition" : "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.",
      "comment" : "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.",
      "alias" : ["extensions",
      "user content"],
      "min" : 0,
      "max" : "*",
      "base" : {
        "path" : "Element.extension",
        "min" : 0,
        "max" : "*"
      },
      "type" : [{
        "code" : "Extension"
      }],
      "constraint" : [{
        "key" : "ele-1",
        "severity" : "error",
        "human" : "All FHIR elements must have a @value or children",
        "expression" : "hasValue() or (children().count() > id.count())",
        "xpath" : "@value|f:*|h:div",
        "source" : "http://hl7.org/fhir/StructureDefinition/Element"
      },
      {
        "key" : "ext-1",
        "severity" : "error",
        "human" : "Must have either extensions or value[x], not both",
        "expression" : "extension.exists() != value.exists()",
        "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
        "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
      }],
      "isModifier" : false,
      "isSummary" : false,
      "mapping" : [{
        "identity" : "rim",
        "map" : "n/a"
      }]
    },
    {
      "id" : "ClaimResponse.addItem.detail.subDetail.modifierExtension",
      "path" : "ClaimResponse.addItem.detail.subDetail.modifierExtension",
      "short" : "Extensions that cannot be ignored even if unrecognized",
      "definition" : "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 manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. 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).",
      "comment" : "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.",
      "requirements" : "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).",
      "alias" : ["extensions",
      "user content",
      "modifiers"],
      "min" : 0,
      "max" : "*",
      "base" : {
        "path" : "BackboneElement.modifierExtension",
        "min" : 0,
        "max" : "*"
      },
      "type" : [{
        "code" : "Extension"
      }],
      "constraint" : [{
        "key" : "ele-1",
        "severity" : "error",
        "human" : "All FHIR elements must have a @value or children",
        "expression" : "hasValue() or (children().count() > id.count())",
        "xpath" : "@value|f:*|h:div",
        "source" : "http://hl7.org/fhir/StructureDefinition/Element"
      },
      {
        "key" : "ext-1",
        "severity" : "error",
        "human" : "Must have either extensions or value[x], not both",
        "expression" : "extension.exists() != value.exists()",
        "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
        "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
      }],
      "isModifier" : true,
      "isModifierReason" : "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them",
      "isSummary" : true,
      "mapping" : [{
        "identity" : "rim",
        "map" : "N/A"
      }]
    },
    {
      "id" : "ClaimResponse.addItem.detail.subDetail.productOrService",
      "path" : "ClaimResponse.addItem.detail.subDetail.productOrService",
      "short" : "Billing, service, product, or drug code",
      "definition" : "When the value is a group code then this item collects a set of related claim details, otherwise this contains the product, service, drug or other billing code for the item.",
      "comment" : "If this is an actual service or product line, i.e. not a Group, then use code to indicate the Professional Service or Product supplied (e.g. CTP, HCPCS, USCLS, ICD10, NCPDP, DIN, RxNorm, ACHI, CCI). If a grouping item then use a group code to indicate the type of thing being grouped e.g. 'glasses' or 'compound'.",
      "requirements" : "Necessary to state what was provided or done.",
      "min" : 1,
      "max" : "1",
      "base" : {
        "path" : "ClaimResponse.addItem.detail.subDetail.productOrService",
        "min" : 1,
        "max" : "1"
      },
      "type" : [{
        "code" : "CodeableConcept"
      }],
      "constraint" : [{
        "key" : "ele-1",
        "severity" : "error",
        "human" : "All FHIR elements must have a @value or children",
        "expression" : "hasValue() or (children().count() > id.count())",
        "xpath" : "@value|f:*|h:div",
        "source" : "http://hl7.org/fhir/StructureDefinition/Element"
      }],
      "isModifier" : false,
      "isSummary" : false,
      "binding" : {
        "extension" : [{
          "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
          "valueString" : "ServiceProduct"
        }],
        "strength" : "example",
        "description" : "Allowable service and product codes.",
        "valueSet" : "http://hl7.org/fhir/ValueSet/service-uscls"
      }
    },
    {
      "id" : "ClaimResponse.addItem.detail.subDetail.modifier",
      "path" : "ClaimResponse.addItem.detail.subDetail.modifier",
      "short" : "Service/Product billing modifiers",
      "definition" : "Item typification or modifiers codes to convey additional context for the product or service.",
      "comment" : "For example in Oral whether the treatment is cosmetic or associated with TMJ, or for Medical whether the treatment was outside the clinic or outside of office hours.",
      "requirements" : "To support inclusion of the item for adjudication or to charge an elevated fee.",
      "min" : 0,
      "max" : "*",
      "base" : {
        "path" : "ClaimResponse.addItem.detail.subDetail.modifier",
        "min" : 0,
        "max" : "*"
      },
      "type" : [{
        "code" : "CodeableConcept"
      }],
      "constraint" : [{
        "key" : "ele-1",
        "severity" : "error",
        "human" : "All FHIR elements must have a @value or children",
        "expression" : "hasValue() or (children().count() > id.count())",
        "xpath" : "@value|f:*|h:div",
        "source" : "http://hl7.org/fhir/StructureDefinition/Element"
      }],
      "isModifier" : false,
      "isSummary" : false,
      "binding" : {
        "extension" : [{
          "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
          "valueString" : "Modifiers"
        }],
        "strength" : "example",
        "description" : "Item type or modifiers codes, eg for Oral whether the treatment is cosmetic or associated with TMJ, or an appliance was lost or stolen.",
        "valueSet" : "http://hl7.org/fhir/ValueSet/claim-modifiers"
      },
      "mapping" : [{
        "identity" : "rim",
        "map" : "24.C, 24.D mods"
      }]
    },
    {
      "id" : "ClaimResponse.addItem.detail.subDetail.quantity",
      "path" : "ClaimResponse.addItem.detail.subDetail.quantity",
      "short" : "Count of products or services",
      "definition" : "The number of repetitions of a service or product.",
      "requirements" : "Required when the product or service code does not convey the quantity provided.",
      "min" : 0,
      "max" : "1",
      "base" : {
        "path" : "ClaimResponse.addItem.detail.subDetail.quantity",
        "min" : 0,
        "max" : "1"
      },
      "type" : [{
        "code" : "Quantity",
        "profile" : ["http://hl7.org/fhir/StructureDefinition/SimpleQuantity"]
      }],
      "constraint" : [{
        "key" : "ele-1",
        "severity" : "error",
        "human" : "All FHIR elements must have a @value or children",
        "expression" : "hasValue() or (children().count() > id.count())",
        "xpath" : "@value|f:*|h:div",
        "source" : "http://hl7.org/fhir/StructureDefinition/Element"
      }],
      "isModifier" : false,
      "isSummary" : false,
      "mapping" : [{
        "identity" : "rim",
        "map" : "24.G"
      }]
    },
    {
      "id" : "ClaimResponse.addItem.detail.subDetail.unitPrice",
      "path" : "ClaimResponse.addItem.detail.subDetail.unitPrice",
      "short" : "Fee, charge or cost per item",
      "definition" : "If the item is not a group then this is the fee for the product or service, otherwise this is the total of the fees for the details of the group.",
      "requirements" : "The amount charged to the patient by the provider for a single unit.",
      "min" : 0,
      "max" : "1",
      "base" : {
        "path" : "ClaimResponse.addItem.detail.subDetail.unitPrice",
        "min" : 0,
        "max" : "1"
      },
      "type" : [{
        "code" : "Money"
      }],
      "constraint" : [{
        "key" : "ele-1",
        "severity" : "error",
        "human" : "All FHIR elements must have a @value or children",
        "expression" : "hasValue() or (children().count() > id.count())",
        "xpath" : "@value|f:*|h:div",
        "source" : "http://hl7.org/fhir/StructureDefinition/Element"
      }],
      "isModifier" : false,
      "isSummary" : false
    },
    {
      "id" : "ClaimResponse.addItem.detail.subDetail.factor",
      "path" : "ClaimResponse.addItem.detail.subDetail.factor",
      "short" : "Price scaling factor",
      "definition" : "A real number that represents a multiplier used in determining the overall value of services delivered and/or goods received. The concept of a Factor allows for a discount or surcharge multiplier to be applied to a monetary amount.",
      "comment" : "To show a 10% senior's discount, the value entered is: 0.90 (1.00 - 0.10).",
      "requirements" : "When discounts are provided to a patient (example: Senior's discount) then this must be documented for adjudication.",
      "min" : 0,
      "max" : "1",
      "base" : {
        "path" : "ClaimResponse.addItem.detail.subDetail.factor",
        "min" : 0,
        "max" : "1"
      },
      "type" : [{
        "code" : "decimal"
      }],
      "constraint" : [{
        "key" : "ele-1",
        "severity" : "error",
        "human" : "All FHIR elements must have a @value or children",
        "expression" : "hasValue() or (children().count() > id.count())",
        "xpath" : "@value|f:*|h:div",
        "source" : "http://hl7.org/fhir/StructureDefinition/Element"
      }],
      "isModifier" : false,
      "isSummary" : false
    },
    {
      "id" : "ClaimResponse.addItem.detail.subDetail.net",
      "path" : "ClaimResponse.addItem.detail.subDetail.net",
      "short" : "Total item cost",
      "definition" : "The quantity times the unit price for an additional service or product or charge.",
      "comment" : "For example, the formula: quantity * unitPrice * factor  = net. Quantity and factor are assumed to be 1 if not supplied.",
      "requirements" : "Provides the total amount claimed  for the group (if a grouper) or the line item.",
      "min" : 0,
      "max" : "1",
      "base" : {
        "path" : "ClaimResponse.addItem.detail.subDetail.net",
        "min" : 0,
        "max" : "1"
      },
      "type" : [{
        "code" : "Money"
      }],
      "constraint" : [{
        "key" : "ele-1",
        "severity" : "error",
        "human" : "All FHIR elements must have a @value or children",
        "expression" : "hasValue() or (children().count() > id.count())",
        "xpath" : "@value|f:*|h:div",
        "source" : "http://hl7.org/fhir/StructureDefinition/Element"
      }],
      "isModifier" : false,
      "isSummary" : false,
      "mapping" : [{
        "identity" : "rim",
        "map" : "24.F"
      }]
    },
    {
      "id" : "ClaimResponse.addItem.detail.subDetail.noteNumber",
      "path" : "ClaimResponse.addItem.detail.subDetail.noteNumber",
      "short" : "Applicable note numbers",
      "definition" : "The numbers associated with notes below which apply to the adjudication of this item.",
      "requirements" : "Provides a condensed manner for associating human readable descriptive explanations for adjudications on the line item.",
      "min" : 0,
      "max" : "*",
      "base" : {
        "path" : "ClaimResponse.addItem.detail.subDetail.noteNumber",
        "min" : 0,
        "max" : "*"
      },
      "type" : [{
        "code" : "positiveInt"
      }],
      "constraint" : [{
        "key" : "ele-1",
        "severity" : "error",
        "human" : "All FHIR elements must have a @value or children",
        "expression" : "hasValue() or (children().count() > id.count())",
        "xpath" : "@value|f:*|h:div",
        "source" : "http://hl7.org/fhir/StructureDefinition/Element"
      }],
      "isModifier" : false,
      "isSummary" : false
    },
    {
      "id" : "ClaimResponse.addItem.detail.subDetail.adjudication",
      "path" : "ClaimResponse.addItem.detail.subDetail.adjudication",
      "short" : "Added items detail adjudication",
      "definition" : "The adjudication results.",
      "min" : 1,
      "max" : "*",
      "base" : {
        "path" : "ClaimResponse.addItem.detail.subDetail.adjudication",
        "min" : 1,
        "max" : "*"
      },
      "contentReference" : "#ClaimResponse.item.adjudication",
      "constraint" : [{
        "key" : "ele-1",
        "severity" : "error",
        "human" : "All FHIR elements must have a @value or children",
        "expression" : "hasValue() or (children().count() > id.count())",
        "xpath" : "@value|f:*|h:div",
        "source" : "http://hl7.org/fhir/StructureDefinition/Element"
      }],
      "isModifier" : false,
      "isSummary" : false
    },
    {
      "id" : "ClaimResponse.adjudication",
      "path" : "ClaimResponse.adjudication",
      "short" : "Header-level adjudication",
      "definition" : "The adjudication results which are presented at the header level rather than at the line-item or add-item levels.",
      "requirements" : "Some insurers will receive line-items but provide the adjudication only at a summary or header-level.",
      "min" : 0,
      "max" : "*",
      "base" : {
        "path" : "ClaimResponse.adjudication",
        "min" : 0,
        "max" : "*"
      },
      "contentReference" : "#ClaimResponse.item.adjudication",
      "constraint" : [{
        "key" : "ele-1",
        "severity" : "error",
        "human" : "All FHIR elements must have a @value or children",
        "expression" : "hasValue() or (children().count() > id.count())",
        "xpath" : "@value|f:*|h:div",
        "source" : "http://hl7.org/fhir/StructureDefinition/Element"
      }],
      "isModifier" : false,
      "isSummary" : false
    },
    {
      "id" : "ClaimResponse.total",
      "extension" : [{
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-explicit-type-name",
        "valueString" : "Total"
      }],
      "path" : "ClaimResponse.total",
      "short" : "Adjudication totals",
      "definition" : "Categorized monetary totals for the adjudication.",
      "comment" : "Totals for amounts submitted, co-pays, benefits payable etc.",
      "requirements" : "To provide the requestor with financial totals by category for the adjudication.",
      "min" : 0,
      "max" : "*",
      "base" : {
        "path" : "ClaimResponse.total",
        "min" : 0,
        "max" : "*"
      },
      "type" : [{
        "code" : "BackboneElement"
      }],
      "constraint" : [{
        "key" : "ele-1",
        "severity" : "error",
        "human" : "All FHIR elements must have a @value or children",
        "expression" : "hasValue() or (children().count() > id.count())",
        "xpath" : "@value|f:*|h:div",
        "source" : "http://hl7.org/fhir/StructureDefinition/Element"
      }],
      "isModifier" : false,
      "isSummary" : true
    },
    {
      "id" : "ClaimResponse.total.id",
      "path" : "ClaimResponse.total.id",
      "representation" : ["xmlAttr"],
      "short" : "Unique id for inter-element referencing",
      "definition" : "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
      "min" : 0,
      "max" : "1",
      "base" : {
        "path" : "Element.id",
        "min" : 0,
        "max" : "1"
      },
      "type" : [{
        "extension" : [{
          "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
          "valueUrl" : "string"
        }],
        "code" : "http://hl7.org/fhirpath/System.String"
      }],
      "isModifier" : false,
      "isSummary" : false,
      "mapping" : [{
        "identity" : "rim",
        "map" : "n/a"
      }]
    },
    {
      "id" : "ClaimResponse.total.extension",
      "path" : "ClaimResponse.total.extension",
      "short" : "Additional content defined by implementations",
      "definition" : "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.",
      "comment" : "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.",
      "alias" : ["extensions",
      "user content"],
      "min" : 0,
      "max" : "*",
      "base" : {
        "path" : "Element.extension",
        "min" : 0,
        "max" : "*"
      },
      "type" : [{
        "code" : "Extension"
      }],
      "constraint" : [{
        "key" : "ele-1",
        "severity" : "error",
        "human" : "All FHIR elements must have a @value or children",
        "expression" : "hasValue() or (children().count() > id.count())",
        "xpath" : "@value|f:*|h:div",
        "source" : "http://hl7.org/fhir/StructureDefinition/Element"
      },
      {
        "key" : "ext-1",
        "severity" : "error",
        "human" : "Must have either extensions or value[x], not both",
        "expression" : "extension.exists() != value.exists()",
        "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
        "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
      }],
      "isModifier" : false,
      "isSummary" : false,
      "mapping" : [{
        "identity" : "rim",
        "map" : "n/a"
      }]
    },
    {
      "id" : "ClaimResponse.total.modifierExtension",
      "path" : "ClaimResponse.total.modifierExtension",
      "short" : "Extensions that cannot be ignored even if unrecognized",
      "definition" : "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 manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. 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).",
      "comment" : "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.",
      "requirements" : "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).",
      "alias" : ["extensions",
      "user content",
      "modifiers"],
      "min" : 0,
      "max" : "*",
      "base" : {
        "path" : "BackboneElement.modifierExtension",
        "min" : 0,
        "max" : "*"
      },
      "type" : [{
        "code" : "Extension"
      }],
      "constraint" : [{
        "key" : "ele-1",
        "severity" : "error",
        "human" : "All FHIR elements must have a @value or children",
        "expression" : "hasValue() or (children().count() > id.count())",
        "xpath" : "@value|f:*|h:div",
        "source" : "http://hl7.org/fhir/StructureDefinition/Element"
      },
      {
        "key" : "ext-1",
        "severity" : "error",
        "human" : "Must have either extensions or value[x], not both",
        "expression" : "extension.exists() != value.exists()",
        "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
        "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
      }],
      "isModifier" : true,
      "isModifierReason" : "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them",
      "isSummary" : true,
      "mapping" : [{
        "identity" : "rim",
        "map" : "N/A"
      }]
    },
    {
      "id" : "ClaimResponse.total.category",
      "path" : "ClaimResponse.total.category",
      "short" : "Type of adjudication information",
      "definition" : "A code to indicate the information type of this adjudication record. Information types may include: the value submitted, maximum values or percentages allowed or payable under the plan, amounts that the patient is responsible for in aggregate or pertaining to this item, amounts paid by other coverages, and the benefit payable for this item.",
      "comment" : "For example codes indicating: Co-Pay, deductible, eligible, benefit, tax, etc.",
      "requirements" : "Needed to convey the type of total provided.",
      "min" : 1,
      "max" : "1",
      "base" : {
        "path" : "ClaimResponse.total.category",
        "min" : 1,
        "max" : "1"
      },
      "type" : [{
        "code" : "CodeableConcept"
      }],
      "constraint" : [{
        "key" : "ele-1",
        "severity" : "error",
        "human" : "All FHIR elements must have a @value or children",
        "expression" : "hasValue() or (children().count() > id.count())",
        "xpath" : "@value|f:*|h:div",
        "source" : "http://hl7.org/fhir/StructureDefinition/Element"
      }],
      "isModifier" : false,
      "isSummary" : true,
      "binding" : {
        "extension" : [{
          "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
          "valueString" : "Adjudication"
        }],
        "strength" : "example",
        "description" : "The adjudication codes.",
        "valueSet" : "http://hl7.org/fhir/ValueSet/adjudication"
      }
    },
    {
      "id" : "ClaimResponse.total.amount",
      "path" : "ClaimResponse.total.amount",
      "short" : "Financial total for the category",
      "definition" : "Monetary total amount associated with the category.",
      "requirements" : "Needed to convey the total monetary amount.",
      "min" : 1,
      "max" : "1",
      "base" : {
        "path" : "ClaimResponse.total.amount",
        "min" : 1,
        "max" : "1"
      },
      "type" : [{
        "code" : "Money"
      }],
      "constraint" : [{
        "key" : "ele-1",
        "severity" : "error",
        "human" : "All FHIR elements must have a @value or children",
        "expression" : "hasValue() or (children().count() > id.count())",
        "xpath" : "@value|f:*|h:div",
        "source" : "http://hl7.org/fhir/StructureDefinition/Element"
      }],
      "isModifier" : false,
      "isSummary" : true
    },
    {
      "id" : "ClaimResponse.payment",
      "extension" : [{
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-explicit-type-name",
        "valueString" : "Payment"
      }],
      "path" : "ClaimResponse.payment",
      "short" : "Payment Details",
      "definition" : "Payment details for the adjudication of the claim.",
      "requirements" : "Needed to convey references to the financial instrument that has been used if payment has been made.",
      "min" : 0,
      "max" : "1",
      "base" : {
        "path" : "ClaimResponse.payment",
        "min" : 0,
        "max" : "1"
      },
      "type" : [{
        "code" : "BackboneElement"
      }],
      "constraint" : [{
        "key" : "ele-1",
        "severity" : "error",
        "human" : "All FHIR elements must have a @value or children",
        "expression" : "hasValue() or (children().count() > id.count())",
        "xpath" : "@value|f:*|h:div",
        "source" : "http://hl7.org/fhir/StructureDefinition/Element"
      }],
      "isModifier" : false,
      "isSummary" : false
    },
    {
      "id" : "ClaimResponse.payment.id",
      "path" : "ClaimResponse.payment.id",
      "representation" : ["xmlAttr"],
      "short" : "Unique id for inter-element referencing",
      "definition" : "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
      "min" : 0,
      "max" : "1",
      "base" : {
        "path" : "Element.id",
        "min" : 0,
        "max" : "1"
      },
      "type" : [{
        "extension" : [{
          "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
          "valueUrl" : "string"
        }],
        "code" : "http://hl7.org/fhirpath/System.String"
      }],
      "isModifier" : false,
      "isSummary" : false,
      "mapping" : [{
        "identity" : "rim",
        "map" : "n/a"
      }]
    },
    {
      "id" : "ClaimResponse.payment.extension",
      "path" : "ClaimResponse.payment.extension",
      "short" : "Additional content defined by implementations",
      "definition" : "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.",
      "comment" : "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.",
      "alias" : ["extensions",
      "user content"],
      "min" : 0,
      "max" : "*",
      "base" : {
        "path" : "Element.extension",
        "min" : 0,
        "max" : "*"
      },
      "type" : [{
        "code" : "Extension"
      }],
      "constraint" : [{
        "key" : "ele-1",
        "severity" : "error",
        "human" : "All FHIR elements must have a @value or children",
        "expression" : "hasValue() or (children().count() > id.count())",
        "xpath" : "@value|f:*|h:div",
        "source" : "http://hl7.org/fhir/StructureDefinition/Element"
      },
      {
        "key" : "ext-1",
        "severity" : "error",
        "human" : "Must have either extensions or value[x], not both",
        "expression" : "extension.exists() != value.exists()",
        "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
        "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
      }],
      "isModifier" : false,
      "isSummary" : false,
      "mapping" : [{
        "identity" : "rim",
        "map" : "n/a"
      }]
    },
    {
      "id" : "ClaimResponse.payment.modifierExtension",
      "path" : "ClaimResponse.payment.modifierExtension",
      "short" : "Extensions that cannot be ignored even if unrecognized",
      "definition" : "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 manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. 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).",
      "comment" : "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.",
      "requirements" : "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).",
      "alias" : ["extensions",
      "user content",
      "modifiers"],
      "min" : 0,
      "max" : "*",
      "base" : {
        "path" : "BackboneElement.modifierExtension",
        "min" : 0,
        "max" : "*"
      },
      "type" : [{
        "code" : "Extension"
      }],
      "constraint" : [{
        "key" : "ele-1",
        "severity" : "error",
        "human" : "All FHIR elements must have a @value or children",
        "expression" : "hasValue() or (children().count() > id.count())",
        "xpath" : "@value|f:*|h:div",
        "source" : "http://hl7.org/fhir/StructureDefinition/Element"
      },
      {
        "key" : "ext-1",
        "severity" : "error",
        "human" : "Must have either extensions or value[x], not both",
        "expression" : "extension.exists() != value.exists()",
        "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
        "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
      }],
      "isModifier" : true,
      "isModifierReason" : "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them",
      "isSummary" : true,
      "mapping" : [{
        "identity" : "rim",
        "map" : "N/A"
      }]
    },
    {
      "id" : "ClaimResponse.payment.type",
      "path" : "ClaimResponse.payment.type",
      "short" : "Partial or complete payment",
      "definition" : "Whether this represents partial or complete payment of the benefits payable.",
      "requirements" : "To advise the requestor when the insurer believes all payments to have been completed.",
      "min" : 1,
      "max" : "1",
      "base" : {
        "path" : "ClaimResponse.payment.type",
        "min" : 1,
        "max" : "1"
      },
      "type" : [{
        "code" : "CodeableConcept"
      }],
      "constraint" : [{
        "key" : "ele-1",
        "severity" : "error",
        "human" : "All FHIR elements must have a @value or children",
        "expression" : "hasValue() or (children().count() > id.count())",
        "xpath" : "@value|f:*|h:div",
        "source" : "http://hl7.org/fhir/StructureDefinition/Element"
      }],
      "isModifier" : false,
      "isSummary" : false,
      "binding" : {
        "extension" : [{
          "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
          "valueString" : "PaymentType"
        }],
        "strength" : "example",
        "description" : "The type (partial, complete) of the payment.",
        "valueSet" : "http://hl7.org/fhir/ValueSet/ex-paymenttype"
      }
    },
    {
      "id" : "ClaimResponse.payment.adjustment",
      "path" : "ClaimResponse.payment.adjustment",
      "short" : "Payment adjustment for non-claim issues",
      "definition" : "Total amount of all adjustments to this payment included in this transaction which are not related to this claim's adjudication.",
      "comment" : "Insurers will deduct amounts owing from the provider (adjustment), such as a prior overpayment, from the amount owing to the provider (benefits payable) when payment is made to the provider.",
      "requirements" : "To advise the requestor of adjustments applied to the payment.",
      "min" : 0,
      "max" : "1",
      "base" : {
        "path" : "ClaimResponse.payment.adjustment",
        "min" : 0,
        "max" : "1"
      },
      "type" : [{
        "code" : "Money"
      }],
      "constraint" : [{
        "key" : "ele-1",
        "severity" : "error",
        "human" : "All FHIR elements must have a @value or children",
        "expression" : "hasValue() or (children().count() > id.count())",
        "xpath" : "@value|f:*|h:div",
        "source" : "http://hl7.org/fhir/StructureDefinition/Element"
      }],
      "isModifier" : false,
      "isSummary" : false
    },
    {
      "id" : "ClaimResponse.payment.adjustmentReason",
      "path" : "ClaimResponse.payment.adjustmentReason",
      "short" : "Explanation for the adjustment",
      "definition" : "Reason for the payment adjustment.",
      "requirements" : "Needed to clarify the monetary adjustment.",
      "min" : 0,
      "max" : "1",
      "base" : {
        "path" : "ClaimResponse.payment.adjustmentReason",
        "min" : 0,
        "max" : "1"
      },
      "type" : [{
        "code" : "CodeableConcept"
      }],
      "constraint" : [{
        "key" : "ele-1",
        "severity" : "error",
        "human" : "All FHIR elements must have a @value or children",
        "expression" : "hasValue() or (children().count() > id.count())",
        "xpath" : "@value|f:*|h:div",
        "source" : "http://hl7.org/fhir/StructureDefinition/Element"
      }],
      "isModifier" : false,
      "isSummary" : false,
      "binding" : {
        "extension" : [{
          "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
          "valueString" : "PaymentAdjustmentReason"
        }],
        "strength" : "example",
        "description" : "Payment Adjustment reason codes.",
        "valueSet" : "http://hl7.org/fhir/ValueSet/payment-adjustment-reason"
      }
    },
    {
      "id" : "ClaimResponse.payment.date",
      "path" : "ClaimResponse.payment.date",
      "short" : "Expected date of payment",
      "definition" : "Estimated date the payment will be issued or the actual issue date of payment.",
      "requirements" : "To advise the payee when payment can be expected.",
      "min" : 0,
      "max" : "1",
      "base" : {
        "path" : "ClaimResponse.payment.date",
        "min" : 0,
        "max" : "1"
      },
      "type" : [{
        "code" : "date"
      }],
      "constraint" : [{
        "key" : "ele-1",
        "severity" : "error",
        "human" : "All FHIR elements must have a @value or children",
        "expression" : "hasValue() or (children().count() > id.count())",
        "xpath" : "@value|f:*|h:div",
        "source" : "http://hl7.org/fhir/StructureDefinition/Element"
      }],
      "isModifier" : false,
      "isSummary" : false
    },
    {
      "id" : "ClaimResponse.payment.amount",
      "path" : "ClaimResponse.payment.amount",
      "short" : "Payable amount after adjustment",
      "definition" : "Benefits payable less any payment adjustment.",
      "requirements" : "Needed to provide the actual payment amount.",
      "min" : 1,
      "max" : "1",
      "base" : {
        "path" : "ClaimResponse.payment.amount",
        "min" : 1,
        "max" : "1"
      },
      "type" : [{
        "code" : "Money"
      }],
      "constraint" : [{
        "key" : "ele-1",
        "severity" : "error",
        "human" : "All FHIR elements must have a @value or children",
        "expression" : "hasValue() or (children().count() > id.count())",
        "xpath" : "@value|f:*|h:div",
        "source" : "http://hl7.org/fhir/StructureDefinition/Element"
      }],
      "isModifier" : false,
      "isSummary" : false
    },
    {
      "id" : "ClaimResponse.payment.identifier",
      "path" : "ClaimResponse.payment.identifier",
      "short" : "Business identifier for the payment",
      "definition" : "Issuer's unique identifier for the payment instrument.",
      "comment" : "For example: EFT number or check number.",
      "requirements" : "Enable the receiver to reconcile when payment received.",
      "min" : 0,
      "max" : "1",
      "base" : {
        "path" : "ClaimResponse.payment.identifier",
        "min" : 0,
        "max" : "1"
      },
      "type" : [{
        "code" : "Identifier"
      }],
      "constraint" : [{
        "key" : "ele-1",
        "severity" : "error",
        "human" : "All FHIR elements must have a @value or children",
        "expression" : "hasValue() or (children().count() > id.count())",
        "xpath" : "@value|f:*|h:div",
        "source" : "http://hl7.org/fhir/StructureDefinition/Element"
      }],
      "isModifier" : false,
      "isSummary" : false
    },
    {
      "id" : "ClaimResponse.fundsReserve",
      "path" : "ClaimResponse.fundsReserve",
      "short" : "Funds reserved status",
      "definition" : "A code, used only on a response to a preauthorization, to indicate whether the benefits payable have been reserved and for whom.",
      "comment" : "Fund would be release by a future claim quoting the preAuthRef of this response. Examples of values include: provider, patient, none.",
      "requirements" : "Needed to advise the submitting provider on whether the rquest for reservation of funds has been honored.",
      "min" : 0,
      "max" : "1",
      "base" : {
        "path" : "ClaimResponse.fundsReserve",
        "min" : 0,
        "max" : "1"
      },
      "type" : [{
        "code" : "CodeableConcept"
      }],
      "constraint" : [{
        "key" : "ele-1",
        "severity" : "error",
        "human" : "All FHIR elements must have a @value or children",
        "expression" : "hasValue() or (children().count() > id.count())",
        "xpath" : "@value|f:*|h:div",
        "source" : "http://hl7.org/fhir/StructureDefinition/Element"
      }],
      "isModifier" : false,
      "isSummary" : false,
      "binding" : {
        "extension" : [{
          "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
          "valueString" : "FundsReserve"
        },
        {
          "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding",
          "valueBoolean" : true
        }],
        "strength" : "example",
        "description" : "For whom funds are to be reserved: (Patient, Provider, None).",
        "valueSet" : "http://hl7.org/fhir/ValueSet/fundsreserve"
      }
    },
    {
      "id" : "ClaimResponse.formCode",
      "path" : "ClaimResponse.formCode",
      "short" : "Printed form identifier",
      "definition" : "A code for the form to be used for printing the content.",
      "comment" : "May be needed to identify specific jurisdictional forms.",
      "requirements" : "Needed to specify the specific form used for producing output for this response.",
      "min" : 0,
      "max" : "1",
      "base" : {
        "path" : "ClaimResponse.formCode",
        "min" : 0,
        "max" : "1"
      },
      "type" : [{
        "code" : "CodeableConcept"
      }],
      "constraint" : [{
        "key" : "ele-1",
        "severity" : "error",
        "human" : "All FHIR elements must have a @value or children",
        "expression" : "hasValue() or (children().count() > id.count())",
        "xpath" : "@value|f:*|h:div",
        "source" : "http://hl7.org/fhir/StructureDefinition/Element"
      }],
      "isModifier" : false,
      "isSummary" : false,
      "binding" : {
        "extension" : [{
          "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
          "valueString" : "Forms"
        },
        {
          "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding",
          "valueBoolean" : true
        }],
        "strength" : "example",
        "description" : "The forms codes.",
        "valueSet" : "http://hl7.org/fhir/ValueSet/forms"
      }
    },
    {
      "id" : "ClaimResponse.form",
      "path" : "ClaimResponse.form",
      "short" : "Printed reference or actual form",
      "definition" : "The actual form, by reference or inclusion, for printing the content or an EOB.",
      "comment" : "Needed to permit insurers to include the actual form.",
      "requirements" : "Needed to include the specific form used for producing output for this response.",
      "min" : 0,
      "max" : "1",
      "base" : {
        "path" : "ClaimResponse.form",
        "min" : 0,
        "max" : "1"
      },
      "type" : [{
        "code" : "Attachment"
      }],
      "constraint" : [{
        "key" : "ele-1",
        "severity" : "error",
        "human" : "All FHIR elements must have a @value or children",
        "expression" : "hasValue() or (children().count() > id.count())",
        "xpath" : "@value|f:*|h:div",
        "source" : "http://hl7.org/fhir/StructureDefinition/Element"
      }],
      "isModifier" : false,
      "isSummary" : false
    },
    {
      "id" : "ClaimResponse.processNote",
      "extension" : [{
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-explicit-type-name",
        "valueString" : "Note"
      }],
      "path" : "ClaimResponse.processNote",
      "short" : "Note concerning adjudication",
      "definition" : "A note that describes or explains adjudication results in a human readable form.",
      "requirements" : "Provides the insurer specific textual explanations associated with the processing.",
      "min" : 0,
      "max" : "*",
      "base" : {
        "path" : "ClaimResponse.processNote",
        "min" : 0,
        "max" : "*"
      },
      "type" : [{
        "code" : "BackboneElement"
      }],
      "constraint" : [{
        "key" : "ele-1",
        "severity" : "error",
        "human" : "All FHIR elements must have a @value or children",
        "expression" : "hasValue() or (children().count() > id.count())",
        "xpath" : "@value|f:*|h:div",
        "source" : "http://hl7.org/fhir/StructureDefinition/Element"
      }],
      "isModifier" : false,
      "isSummary" : false
    },
    {
      "id" : "ClaimResponse.processNote.id",
      "path" : "ClaimResponse.processNote.id",
      "representation" : ["xmlAttr"],
      "short" : "Unique id for inter-element referencing",
      "definition" : "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
      "min" : 0,
      "max" : "1",
      "base" : {
        "path" : "Element.id",
        "min" : 0,
        "max" : "1"
      },
      "type" : [{
        "extension" : [{
          "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
          "valueUrl" : "string"
        }],
        "code" : "http://hl7.org/fhirpath/System.String"
      }],
      "isModifier" : false,
      "isSummary" : false,
      "mapping" : [{
        "identity" : "rim",
        "map" : "n/a"
      }]
    },
    {
      "id" : "ClaimResponse.processNote.extension",
      "path" : "ClaimResponse.processNote.extension",
      "short" : "Additional content defined by implementations",
      "definition" : "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.",
      "comment" : "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.",
      "alias" : ["extensions",
      "user content"],
      "min" : 0,
      "max" : "*",
      "base" : {
        "path" : "Element.extension",
        "min" : 0,
        "max" : "*"
      },
      "type" : [{
        "code" : "Extension"
      }],
      "constraint" : [{
        "key" : "ele-1",
        "severity" : "error",
        "human" : "All FHIR elements must have a @value or children",
        "expression" : "hasValue() or (children().count() > id.count())",
        "xpath" : "@value|f:*|h:div",
        "source" : "http://hl7.org/fhir/StructureDefinition/Element"
      },
      {
        "key" : "ext-1",
        "severity" : "error",
        "human" : "Must have either extensions or value[x], not both",
        "expression" : "extension.exists() != value.exists()",
        "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
        "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
      }],
      "isModifier" : false,
      "isSummary" : false,
      "mapping" : [{
        "identity" : "rim",
        "map" : "n/a"
      }]
    },
    {
      "id" : "ClaimResponse.processNote.modifierExtension",
      "path" : "ClaimResponse.processNote.modifierExtension",
      "short" : "Extensions that cannot be ignored even if unrecognized",
      "definition" : "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 manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. 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).",
      "comment" : "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.",
      "requirements" : "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).",
      "alias" : ["extensions",
      "user content",
      "modifiers"],
      "min" : 0,
      "max" : "*",
      "base" : {
        "path" : "BackboneElement.modifierExtension",
        "min" : 0,
        "max" : "*"
      },
      "type" : [{
        "code" : "Extension"
      }],
      "constraint" : [{
        "key" : "ele-1",
        "severity" : "error",
        "human" : "All FHIR elements must have a @value or children",
        "expression" : "hasValue() or (children().count() > id.count())",
        "xpath" : "@value|f:*|h:div",
        "source" : "http://hl7.org/fhir/StructureDefinition/Element"
      },
      {
        "key" : "ext-1",
        "severity" : "error",
        "human" : "Must have either extensions or value[x], not both",
        "expression" : "extension.exists() != value.exists()",
        "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
        "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
      }],
      "isModifier" : true,
      "isModifierReason" : "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them",
      "isSummary" : true,
      "mapping" : [{
        "identity" : "rim",
        "map" : "N/A"
      }]
    },
    {
      "id" : "ClaimResponse.processNote.number",
      "path" : "ClaimResponse.processNote.number",
      "short" : "Note instance identifier",
      "definition" : "A number to uniquely identify a note entry.",
      "requirements" : "Necessary to provide a mechanism to link from adjudications.",
      "min" : 0,
      "max" : "1",
      "base" : {
        "path" : "ClaimResponse.processNote.number",
        "min" : 0,
        "max" : "1"
      },
      "type" : [{
        "code" : "positiveInt"
      }],
      "constraint" : [{
        "key" : "ele-1",
        "severity" : "error",
        "human" : "All FHIR elements must have a @value or children",
        "expression" : "hasValue() or (children().count() > id.count())",
        "xpath" : "@value|f:*|h:div",
        "source" : "http://hl7.org/fhir/StructureDefinition/Element"
      }],
      "isModifier" : false,
      "isSummary" : false
    },
    {
      "id" : "ClaimResponse.processNote.type",
      "path" : "ClaimResponse.processNote.type",
      "short" : "display | print | printoper",
      "definition" : "The business purpose of the note text.",
      "requirements" : "To convey the expectation for when the text is used.",
      "min" : 0,
      "max" : "1",
      "base" : {
        "path" : "ClaimResponse.processNote.type",
        "min" : 0,
        "max" : "1"
      },
      "type" : [{
        "code" : "code"
      }],
      "constraint" : [{
        "key" : "ele-1",
        "severity" : "error",
        "human" : "All FHIR elements must have a @value or children",
        "expression" : "hasValue() or (children().count() > id.count())",
        "xpath" : "@value|f:*|h:div",
        "source" : "http://hl7.org/fhir/StructureDefinition/Element"
      }],
      "isModifier" : false,
      "isSummary" : false,
      "binding" : {
        "extension" : [{
          "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
          "valueString" : "NoteType"
        },
        {
          "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding",
          "valueBoolean" : true
        }],
        "strength" : "required",
        "description" : "The presentation types of notes.",
        "valueSet" : "http://hl7.org/fhir/ValueSet/note-type|4.0.1"
      }
    },
    {
      "id" : "ClaimResponse.processNote.text",
      "path" : "ClaimResponse.processNote.text",
      "short" : "Note explanatory text",
      "definition" : "The explanation or description associated with the processing.",
      "requirements" : "Required to provide human readable explanation.",
      "min" : 1,
      "max" : "1",
      "base" : {
        "path" : "ClaimResponse.processNote.text",
        "min" : 1,
        "max" : "1"
      },
      "type" : [{
        "code" : "string"
      }],
      "constraint" : [{
        "key" : "ele-1",
        "severity" : "error",
        "human" : "All FHIR elements must have a @value or children",
        "expression" : "hasValue() or (children().count() > id.count())",
        "xpath" : "@value|f:*|h:div",
        "source" : "http://hl7.org/fhir/StructureDefinition/Element"
      }],
      "isModifier" : false,
      "isSummary" : false
    },
    {
      "id" : "ClaimResponse.processNote.language",
      "path" : "ClaimResponse.processNote.language",
      "short" : "Language of the text",
      "definition" : "A code to define the language used in the text of the note.",
      "comment" : "Only required if the language is different from the resource language.",
      "requirements" : "Note text may vary from the resource defined language.",
      "min" : 0,
      "max" : "1",
      "base" : {
        "path" : "ClaimResponse.processNote.language",
        "min" : 0,
        "max" : "1"
      },
      "type" : [{
        "code" : "CodeableConcept"
      }],
      "constraint" : [{
        "key" : "ele-1",
        "severity" : "error",
        "human" : "All FHIR elements must have a @value or children",
        "expression" : "hasValue() or (children().count() > id.count())",
        "xpath" : "@value|f:*|h:div",
        "source" : "http://hl7.org/fhir/StructureDefinition/Element"
      }],
      "isModifier" : false,
      "isSummary" : false,
      "binding" : {
        "extension" : [{
          "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-maxValueSet",
          "valueCanonical" : "http://hl7.org/fhir/ValueSet/all-languages"
        },
        {
          "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
          "valueString" : "Language"
        },
        {
          "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding",
          "valueBoolean" : true
        }],
        "strength" : "preferred",
        "description" : "A human language.",
        "valueSet" : "http://hl7.org/fhir/ValueSet/languages"
      }
    },
    {
      "id" : "ClaimResponse.communicationRequest",
      "path" : "ClaimResponse.communicationRequest",
      "short" : "Request for additional information",
      "definition" : "Request for additional supporting or authorizing information.",
      "comment" : "For example: professional reports, documents, images, clinical resources, or accident reports.",
      "requirements" : "Need to communicate insurer request for additional information required to support the adjudication.",
      "min" : 0,
      "max" : "*",
      "base" : {
        "path" : "ClaimResponse.communicationRequest",
        "min" : 0,
        "max" : "*"
      },
      "type" : [{
        "code" : "Reference",
        "targetProfile" : ["http://hl7.org/fhir/StructureDefinition/CommunicationRequest"]
      }],
      "constraint" : [{
        "key" : "ele-1",
        "severity" : "error",
        "human" : "All FHIR elements must have a @value or children",
        "expression" : "hasValue() or (children().count() > id.count())",
        "xpath" : "@value|f:*|h:div",
        "source" : "http://hl7.org/fhir/StructureDefinition/Element"
      }],
      "isModifier" : false,
      "isSummary" : false
    },
    {
      "id" : "ClaimResponse.insurance",
      "extension" : [{
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-explicit-type-name",
        "valueString" : "Insurance"
      }],
      "path" : "ClaimResponse.insurance",
      "short" : "Patient insurance information",
      "definition" : "Financial instruments for reimbursement for the health care products and services specified on the claim.",
      "comment" : "All insurance coverages for the patient which may be applicable for reimbursement, of the products and services listed in the claim, are typically provided in the claim to allow insurers to confirm the ordering of the insurance coverages relative to local 'coordination of benefit' rules. One coverage (and only one) with 'focal=true' is to be used in the adjudication of this claim. Coverages appearing before the focal Coverage in the list, and where 'subrogation=false', should provide a reference to the ClaimResponse containing the adjudication results of the prior claim.",
      "requirements" : "At least one insurer is required for a claim to be a claim.",
      "min" : 0,
      "max" : "*",
      "base" : {
        "path" : "ClaimResponse.insurance",
        "min" : 0,
        "max" : "*"
      },
      "type" : [{
        "code" : "BackboneElement"
      }],
      "constraint" : [{
        "key" : "ele-1",
        "severity" : "error",
        "human" : "All FHIR elements must have a @value or children",
        "expression" : "hasValue() or (children().count() > id.count())",
        "xpath" : "@value|f:*|h:div",
        "source" : "http://hl7.org/fhir/StructureDefinition/Element"
      }],
      "isModifier" : false,
      "isSummary" : false,
      "mapping" : [{
        "identity" : "rim",
        "map" : "Coverage"
      }]
    },
    {
      "id" : "ClaimResponse.insurance.id",
      "path" : "ClaimResponse.insurance.id",
      "representation" : ["xmlAttr"],
      "short" : "Unique id for inter-element referencing",
      "definition" : "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
      "min" : 0,
      "max" : "1",
      "base" : {
        "path" : "Element.id",
        "min" : 0,
        "max" : "1"
      },
      "type" : [{
        "extension" : [{
          "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
          "valueUrl" : "string"
        }],
        "code" : "http://hl7.org/fhirpath/System.String"
      }],
      "isModifier" : false,
      "isSummary" : false,
      "mapping" : [{
        "identity" : "rim",
        "map" : "n/a"
      }]
    },
    {
      "id" : "ClaimResponse.insurance.extension",
      "path" : "ClaimResponse.insurance.extension",
      "short" : "Additional content defined by implementations",
      "definition" : "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.",
      "comment" : "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.",
      "alias" : ["extensions",
      "user content"],
      "min" : 0,
      "max" : "*",
      "base" : {
        "path" : "Element.extension",
        "min" : 0,
        "max" : "*"
      },
      "type" : [{
        "code" : "Extension"
      }],
      "constraint" : [{
        "key" : "ele-1",
        "severity" : "error",
        "human" : "All FHIR elements must have a @value or children",
        "expression" : "hasValue() or (children().count() > id.count())",
        "xpath" : "@value|f:*|h:div",
        "source" : "http://hl7.org/fhir/StructureDefinition/Element"
      },
      {
        "key" : "ext-1",
        "severity" : "error",
        "human" : "Must have either extensions or value[x], not both",
        "expression" : "extension.exists() != value.exists()",
        "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
        "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
      }],
      "isModifier" : false,
      "isSummary" : false,
      "mapping" : [{
        "identity" : "rim",
        "map" : "n/a"
      }]
    },
    {
      "id" : "ClaimResponse.insurance.modifierExtension",
      "path" : "ClaimResponse.insurance.modifierExtension",
      "short" : "Extensions that cannot be ignored even if unrecognized",
      "definition" : "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 manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. 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).",
      "comment" : "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.",
      "requirements" : "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).",
      "alias" : ["extensions",
      "user content",
      "modifiers"],
      "min" : 0,
      "max" : "*",
      "base" : {
        "path" : "BackboneElement.modifierExtension",
        "min" : 0,
        "max" : "*"
      },
      "type" : [{
        "code" : "Extension"
      }],
      "constraint" : [{
        "key" : "ele-1",
        "severity" : "error",
        "human" : "All FHIR elements must have a @value or children",
        "expression" : "hasValue() or (children().count() > id.count())",
        "xpath" : "@value|f:*|h:div",
        "source" : "http://hl7.org/fhir/StructureDefinition/Element"
      },
      {
        "key" : "ext-1",
        "severity" : "error",
        "human" : "Must have either extensions or value[x], not both",
        "expression" : "extension.exists() != value.exists()",
        "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
        "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
      }],
      "isModifier" : true,
      "isModifierReason" : "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them",
      "isSummary" : true,
      "mapping" : [{
        "identity" : "rim",
        "map" : "N/A"
      }]
    },
    {
      "id" : "ClaimResponse.insurance.sequence",
      "path" : "ClaimResponse.insurance.sequence",
      "short" : "Insurance instance identifier",
      "definition" : "A number to uniquely identify insurance entries and provide a sequence of coverages to convey coordination of benefit order.",
      "requirements" : "To maintain order of the coverages.",
      "min" : 1,
      "max" : "1",
      "base" : {
        "path" : "ClaimResponse.insurance.sequence",
        "min" : 1,
        "max" : "1"
      },
      "type" : [{
        "code" : "positiveInt"
      }],
      "constraint" : [{
        "key" : "ele-1",
        "severity" : "error",
        "human" : "All FHIR elements must have a @value or children",
        "expression" : "hasValue() or (children().count() > id.count())",
        "xpath" : "@value|f:*|h:div",
        "source" : "http://hl7.org/fhir/StructureDefinition/Element"
      }],
      "isModifier" : false,
      "isSummary" : false
    },
    {
      "id" : "ClaimResponse.insurance.focal",
      "path" : "ClaimResponse.insurance.focal",
      "short" : "Coverage to be used for adjudication",
      "definition" : "A flag to indicate that this Coverage is to be used for adjudication of this claim when set to true.",
      "comment" : "A patient may (will) have multiple insurance policies which provide reimbursement for healthcare services and products. For example a person may also be covered by their spouse's policy and both appear in the list (and may be from the same insurer). This flag will be set to true for only one of the listed policies and that policy will be used for adjudicating this claim. Other claims would be created to request adjudication against the other listed policies.",
      "requirements" : "To identify which coverage in the list is being used to adjudicate this claim.",
      "min" : 1,
      "max" : "1",
      "base" : {
        "path" : "ClaimResponse.insurance.focal",
        "min" : 1,
        "max" : "1"
      },
      "type" : [{
        "code" : "boolean"
      }],
      "constraint" : [{
        "key" : "ele-1",
        "severity" : "error",
        "human" : "All FHIR elements must have a @value or children",
        "expression" : "hasValue() or (children().count() > id.count())",
        "xpath" : "@value|f:*|h:div",
        "source" : "http://hl7.org/fhir/StructureDefinition/Element"
      }],
      "isModifier" : false,
      "isSummary" : false
    },
    {
      "id" : "ClaimResponse.insurance.coverage",
      "path" : "ClaimResponse.insurance.coverage",
      "short" : "Insurance information",
      "definition" : "Reference to the insurance card level information contained in the Coverage resource. The coverage issuing insurer will use these details to locate the patient's actual coverage within the insurer's information system.",
      "requirements" : "Required to allow the adjudicator to locate the correct policy and history within their information system.",
      "min" : 1,
      "max" : "1",
      "base" : {
        "path" : "ClaimResponse.insurance.coverage",
        "min" : 1,
        "max" : "1"
      },
      "type" : [{
        "code" : "Reference",
        "targetProfile" : ["http://hl7.org/fhir/StructureDefinition/Coverage"]
      }],
      "constraint" : [{
        "key" : "ele-1",
        "severity" : "error",
        "human" : "All FHIR elements must have a @value or children",
        "expression" : "hasValue() or (children().count() > id.count())",
        "xpath" : "@value|f:*|h:div",
        "source" : "http://hl7.org/fhir/StructureDefinition/Element"
      }],
      "isModifier" : false,
      "isSummary" : false
    },
    {
      "id" : "ClaimResponse.insurance.businessArrangement",
      "path" : "ClaimResponse.insurance.businessArrangement",
      "short" : "Additional provider contract number",
      "definition" : "A business agreement number established between the provider and the insurer for special business processing purposes.",
      "requirements" : "Providers may have multiple business arrangements with a given insurer and must supply the specific contract number for adjudication.",
      "min" : 0,
      "max" : "1",
      "base" : {
        "path" : "ClaimResponse.insurance.businessArrangement",
        "min" : 0,
        "max" : "1"
      },
      "type" : [{
        "code" : "string"
      }],
      "constraint" : [{
        "key" : "ele-1",
        "severity" : "error",
        "human" : "All FHIR elements must have a @value or children",
        "expression" : "hasValue() or (children().count() > id.count())",
        "xpath" : "@value|f:*|h:div",
        "source" : "http://hl7.org/fhir/StructureDefinition/Element"
      }],
      "isModifier" : false,
      "isSummary" : false
    },
    {
      "id" : "ClaimResponse.insurance.claimResponse",
      "path" : "ClaimResponse.insurance.claimResponse",
      "short" : "Adjudication results",
      "definition" : "The result of the adjudication of the line items for the Coverage specified in this insurance.",
      "comment" : "Must not be specified when 'focal=true' for this insurance.",
      "requirements" : "An insurer need the adjudication results from prior insurers to determine the outstanding balance remaining by item for the items in the curent claim.",
      "min" : 0,
      "max" : "1",
      "base" : {
        "path" : "ClaimResponse.insurance.claimResponse",
        "min" : 0,
        "max" : "1"
      },
      "type" : [{
        "code" : "Reference",
        "targetProfile" : ["http://hl7.org/fhir/StructureDefinition/ClaimResponse"]
      }],
      "constraint" : [{
        "key" : "ele-1",
        "severity" : "error",
        "human" : "All FHIR elements must have a @value or children",
        "expression" : "hasValue() or (children().count() > id.count())",
        "xpath" : "@value|f:*|h:div",
        "source" : "http://hl7.org/fhir/StructureDefinition/Element"
      }],
      "isModifier" : false,
      "isSummary" : false
    },
    {
      "id" : "ClaimResponse.error",
      "extension" : [{
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-explicit-type-name",
        "valueString" : "Error"
      }],
      "path" : "ClaimResponse.error",
      "short" : "Processing errors",
      "definition" : "Errors encountered during the processing of the adjudication.",
      "comment" : "If the request contains errors then an error element should be provided and no adjudication related sections (item, addItem, or payment) should be present.",
      "requirements" : "Need to communicate processing issues to the requestor.",
      "min" : 0,
      "max" : "*",
      "base" : {
        "path" : "ClaimResponse.error",
        "min" : 0,
        "max" : "*"
      },
      "type" : [{
        "code" : "BackboneElement"
      }],
      "constraint" : [{
        "key" : "ele-1",
        "severity" : "error",
        "human" : "All FHIR elements must have a @value or children",
        "expression" : "hasValue() or (children().count() > id.count())",
        "xpath" : "@value|f:*|h:div",
        "source" : "http://hl7.org/fhir/StructureDefinition/Element"
      }],
      "isModifier" : false,
      "isSummary" : false
    },
    {
      "id" : "ClaimResponse.error.id",
      "path" : "ClaimResponse.error.id",
      "representation" : ["xmlAttr"],
      "short" : "Unique id for inter-element referencing",
      "definition" : "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
      "min" : 0,
      "max" : "1",
      "base" : {
        "path" : "Element.id",
        "min" : 0,
        "max" : "1"
      },
      "type" : [{
        "extension" : [{
          "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
          "valueUrl" : "string"
        }],
        "code" : "http://hl7.org/fhirpath/System.String"
      }],
      "isModifier" : false,
      "isSummary" : false,
      "mapping" : [{
        "identity" : "rim",
        "map" : "n/a"
      }]
    },
    {
      "id" : "ClaimResponse.error.extension",
      "path" : "ClaimResponse.error.extension",
      "short" : "Additional content defined by implementations",
      "definition" : "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.",
      "comment" : "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.",
      "alias" : ["extensions",
      "user content"],
      "min" : 0,
      "max" : "*",
      "base" : {
        "path" : "Element.extension",
        "min" : 0,
        "max" : "*"
      },
      "type" : [{
        "code" : "Extension"
      }],
      "constraint" : [{
        "key" : "ele-1",
        "severity" : "error",
        "human" : "All FHIR elements must have a @value or children",
        "expression" : "hasValue() or (children().count() > id.count())",
        "xpath" : "@value|f:*|h:div",
        "source" : "http://hl7.org/fhir/StructureDefinition/Element"
      },
      {
        "key" : "ext-1",
        "severity" : "error",
        "human" : "Must have either extensions or value[x], not both",
        "expression" : "extension.exists() != value.exists()",
        "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
        "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
      }],
      "isModifier" : false,
      "isSummary" : false,
      "mapping" : [{
        "identity" : "rim",
        "map" : "n/a"
      }]
    },
    {
      "id" : "ClaimResponse.error.modifierExtension",
      "path" : "ClaimResponse.error.modifierExtension",
      "short" : "Extensions that cannot be ignored even if unrecognized",
      "definition" : "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 manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. 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).",
      "comment" : "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.",
      "requirements" : "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).",
      "alias" : ["extensions",
      "user content",
      "modifiers"],
      "min" : 0,
      "max" : "*",
      "base" : {
        "path" : "BackboneElement.modifierExtension",
        "min" : 0,
        "max" : "*"
      },
      "type" : [{
        "code" : "Extension"
      }],
      "constraint" : [{
        "key" : "ele-1",
        "severity" : "error",
        "human" : "All FHIR elements must have a @value or children",
        "expression" : "hasValue() or (children().count() > id.count())",
        "xpath" : "@value|f:*|h:div",
        "source" : "http://hl7.org/fhir/StructureDefinition/Element"
      },
      {
        "key" : "ext-1",
        "severity" : "error",
        "human" : "Must have either extensions or value[x], not both",
        "expression" : "extension.exists() != value.exists()",
        "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
        "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
      }],
      "isModifier" : true,
      "isModifierReason" : "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them",
      "isSummary" : true,
      "mapping" : [{
        "identity" : "rim",
        "map" : "N/A"
      }]
    },
    {
      "id" : "ClaimResponse.error.itemSequence",
      "path" : "ClaimResponse.error.itemSequence",
      "short" : "Item sequence number",
      "definition" : "The sequence number of the line item submitted which contains the error. This value is omitted when the error occurs outside of the item structure.",
      "requirements" : "Provides references to the claim items.",
      "min" : 0,
      "max" : "1",
      "base" : {
        "path" : "ClaimResponse.error.itemSequence",
        "min" : 0,
        "max" : "1"
      },
      "type" : [{
        "code" : "positiveInt"
      }],
      "constraint" : [{
        "key" : "ele-1",
        "severity" : "error",
        "human" : "All FHIR elements must have a @value or children",
        "expression" : "hasValue() or (children().count() > id.count())",
        "xpath" : "@value|f:*|h:div",
        "source" : "http://hl7.org/fhir/StructureDefinition/Element"
      }],
      "isModifier" : false,
      "isSummary" : false
    },
    {
      "id" : "ClaimResponse.error.detailSequence",
      "path" : "ClaimResponse.error.detailSequence",
      "short" : "Detail sequence number",
      "definition" : "The sequence number of the detail within the line item submitted which contains the error. This value is omitted when the error occurs outside of the item structure.",
      "requirements" : "Provides references to the claim details within the claim item.",
      "min" : 0,
      "max" : "1",
      "base" : {
        "path" : "ClaimResponse.error.detailSequence",
        "min" : 0,
        "max" : "1"
      },
      "type" : [{
        "code" : "positiveInt"
      }],
      "constraint" : [{
        "key" : "ele-1",
        "severity" : "error",
        "human" : "All FHIR elements must have a @value or children",
        "expression" : "hasValue() or (children().count() > id.count())",
        "xpath" : "@value|f:*|h:div",
        "source" : "http://hl7.org/fhir/StructureDefinition/Element"
      }],
      "isModifier" : false,
      "isSummary" : false
    },
    {
      "id" : "ClaimResponse.error.subDetailSequence",
      "path" : "ClaimResponse.error.subDetailSequence",
      "short" : "Subdetail sequence number",
      "definition" : "The sequence number of the sub-detail within the detail within the line item submitted which contains the error. This value is omitted when the error occurs outside of the item structure.",
      "requirements" : "Provides references to the claim sub-details within the claim detail.",
      "min" : 0,
      "max" : "1",
      "base" : {
        "path" : "ClaimResponse.error.subDetailSequence",
        "min" : 0,
        "max" : "1"
      },
      "type" : [{
        "code" : "positiveInt"
      }],
      "constraint" : [{
        "key" : "ele-1",
        "severity" : "error",
        "human" : "All FHIR elements must have a @value or children",
        "expression" : "hasValue() or (children().count() > id.count())",
        "xpath" : "@value|f:*|h:div",
        "source" : "http://hl7.org/fhir/StructureDefinition/Element"
      }],
      "isModifier" : false,
      "isSummary" : false
    },
    {
      "id" : "ClaimResponse.error.code",
      "path" : "ClaimResponse.error.code",
      "short" : "Error code detailing processing issues",
      "definition" : "An error code, from a specified code system, which details why the claim could not be adjudicated.",
      "requirements" : "Required to convey processing errors.",
      "min" : 1,
      "max" : "1",
      "base" : {
        "path" : "ClaimResponse.error.code",
        "min" : 1,
        "max" : "1"
      },
      "type" : [{
        "code" : "CodeableConcept"
      }],
      "constraint" : [{
        "key" : "ele-1",
        "severity" : "error",
        "human" : "All FHIR elements must have a @value or children",
        "expression" : "hasValue() or (children().count() > id.count())",
        "xpath" : "@value|f:*|h:div",
        "source" : "http://hl7.org/fhir/StructureDefinition/Element"
      }],
      "isModifier" : false,
      "isSummary" : false,
      "binding" : {
        "extension" : [{
          "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
          "valueString" : "AdjudicationError"
        }],
        "strength" : "example",
        "description" : "The adjudication error codes.",
        "valueSet" : "http://hl7.org/fhir/ValueSet/adjudication-error"
      }
    }]
  },
  "differential" : {
    "element" : [{
      "id" : "ClaimResponse",
      "path" : "ClaimResponse",
      "short" : "Response to a claim predetermination or preauthorization",
      "definition" : "This resource provides the adjudication details from the processing of a Claim resource.",
      "alias" : ["Remittance Advice"],
      "min" : 0,
      "max" : "*",
      "mapping" : [{
        "identity" : "workflow",
        "map" : "Event"
      }]
    },
    {
      "id" : "ClaimResponse.identifier",
      "path" : "ClaimResponse.identifier",
      "short" : "Business Identifier for a claim response",
      "definition" : "A unique identifier assigned to this claim response.",
      "requirements" : "Allows claim responses to be distinguished and referenced.",
      "min" : 0,
      "max" : "*",
      "type" : [{
        "code" : "Identifier"
      }],
      "mapping" : [{
        "identity" : "workflow",
        "map" : "Event.identifier"
      },
      {
        "identity" : "w5",
        "map" : "FiveWs.identifier"
      }]
    },
    {
      "id" : "ClaimResponse.status",
      "path" : "ClaimResponse.status",
      "short" : "active | cancelled | draft | entered-in-error",
      "definition" : "The status of the resource instance.",
      "comment" : "This element is labeled as a modifier because the status contains codes that mark the resource as not currently valid.",
      "requirements" : "Need to track the status of the resource as 'draft' resources may undergo further edits while 'active' resources are immutable and may only have their status changed to 'cancelled'.",
      "min" : 1,
      "max" : "1",
      "type" : [{
        "code" : "code"
      }],
      "isModifier" : true,
      "isModifierReason" : "This element is labeled as a modifier because it is a status element that contains status entered-in-error which means that the resource should not be treated as valid",
      "isSummary" : true,
      "binding" : {
        "extension" : [{
          "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
          "valueString" : "ClaimResponseStatus"
        }],
        "strength" : "required",
        "description" : "A code specifying the state of the resource instance.",
        "valueSet" : "http://hl7.org/fhir/ValueSet/fm-status|4.0.1"
      },
      "mapping" : [{
        "identity" : "workflow",
        "map" : "Event.status"
      },
      {
        "identity" : "w5",
        "map" : "FiveWs.status"
      }]
    },
    {
      "id" : "ClaimResponse.type",
      "path" : "ClaimResponse.type",
      "short" : "More granular claim type",
      "definition" : "A finer grained suite of claim type codes which may convey additional information such as Inpatient vs Outpatient and/or a specialty service.",
      "comment" : "This may contain the local bill type codes, for example the US UB-04 bill type code or the CMS bill type.",
      "requirements" : "Some jurisdictions need a finer grained claim type for routing and adjudication.",
      "min" : 1,
      "max" : "1",
      "type" : [{
        "code" : "CodeableConcept"
      }],
      "isSummary" : true,
      "binding" : {
        "extension" : [{
          "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
          "valueString" : "ClaimType"
        }],
        "strength" : "extensible",
        "description" : "The type or discipline-style of the claim.",
        "valueSet" : "http://hl7.org/fhir/ValueSet/claim-type"
      },
      "mapping" : [{
        "identity" : "w5",
        "map" : "FiveWs.class"
      }]
    },
    {
      "id" : "ClaimResponse.subType",
      "path" : "ClaimResponse.subType",
      "short" : "More granular claim type",
      "definition" : "A finer grained suite of claim type codes which may convey additional information such as Inpatient vs Outpatient and/or a specialty service.",
      "comment" : "This may contain the local bill type codes, for example the US UB-04 bill type code or the CMS bill type.",
      "requirements" : "Some jurisdictions need a finer grained claim type for routing and adjudication.",
      "min" : 0,
      "max" : "1",
      "type" : [{
        "code" : "CodeableConcept"
      }],
      "binding" : {
        "extension" : [{
          "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
          "valueString" : "ClaimSubType"
        }],
        "strength" : "example",
        "description" : "A more granular claim typecode.",
        "valueSet" : "http://hl7.org/fhir/ValueSet/claim-subtype"
      },
      "mapping" : [{
        "identity" : "w5",
        "map" : "FiveWs.class"
      }]
    },
    {
      "id" : "ClaimResponse.use",
      "path" : "ClaimResponse.use",
      "short" : "claim | preauthorization | predetermination",
      "definition" : "A code to indicate whether the nature of the request is: to request adjudication of products and services previously rendered; or requesting authorization and adjudication for provision in the future; or requesting the non-binding adjudication of the listed products and services which could be provided in the future.",
      "requirements" : "This element is required to understand the nature of the request for adjudication.",
      "min" : 1,
      "max" : "1",
      "type" : [{
        "code" : "code"
      }],
      "isSummary" : true,
      "binding" : {
        "extension" : [{
          "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
          "valueString" : "Use"
        }],
        "strength" : "required",
        "description" : "Claim, preauthorization, predetermination.",
        "valueSet" : "http://hl7.org/fhir/ValueSet/claim-use|4.0.1"
      },
      "mapping" : [{
        "identity" : "w5",
        "map" : "FiveWs.class"
      }]
    },
    {
      "id" : "ClaimResponse.patient",
      "path" : "ClaimResponse.patient",
      "short" : "The recipient of the products and services",
      "definition" : "The party to whom the professional services and/or products have been supplied or are being considered and for whom actual for facast reimbursement is sought.",
      "requirements" : "The patient must be supplied to the insurer so that confirmation of coverage and service hstory may be considered as part of the authorization and/or adjudiction.",
      "min" : 1,
      "max" : "1",
      "type" : [{
        "code" : "Reference",
        "targetProfile" : ["http://hl7.org/fhir/StructureDefinition/Patient"]
      }],
      "isSummary" : true,
      "mapping" : [{
        "identity" : "w5",
        "map" : "FiveWs.subject[x]"
      },
      {
        "identity" : "w5",
        "map" : "FiveWs.subject"
      }]
    },
    {
      "id" : "ClaimResponse.created",
      "path" : "ClaimResponse.created",
      "short" : "Response creation date",
      "definition" : "The date this resource was created.",
      "requirements" : "Need to record a timestamp for use by both the recipient and the issuer.",
      "min" : 1,
      "max" : "1",
      "type" : [{
        "code" : "dateTime"
      }],
      "isSummary" : true,
      "mapping" : [{
        "identity" : "workflow",
        "map" : "Event.occurrence[x]"
      },
      {
        "identity" : "w5",
        "map" : "FiveWs.recorded"
      }]
    },
    {
      "id" : "ClaimResponse.insurer",
      "path" : "ClaimResponse.insurer",
      "short" : "Party responsible for reimbursement",
      "definition" : "The party responsible for authorization, adjudication and reimbursement.",
      "requirements" : "To be a valid claim, preauthorization or predetermination there must be a party who is responsible for adjudicating the contents against a policy which provides benefits for the patient.",
      "min" : 1,
      "max" : "1",
      "type" : [{
        "code" : "Reference",
        "targetProfile" : ["http://hl7.org/fhir/StructureDefinition/Organization"]
      }],
      "isSummary" : true,
      "mapping" : [{
        "identity" : "workflow",
        "map" : "Event.performer"
      }]
    },
    {
      "id" : "ClaimResponse.requestor",
      "path" : "ClaimResponse.requestor",
      "short" : "Party responsible for the claim",
      "definition" : "The provider which is responsible for the claim, predetermination or preauthorization.",
      "comment" : "Typically this field would be 1..1 where this party is responsible for the claim but not necessarily professionally responsible for the provision of the individual products and services listed below.",
      "min" : 0,
      "max" : "1",
      "type" : [{
        "code" : "Reference",
        "targetProfile" : ["http://hl7.org/fhir/StructureDefinition/Practitioner",
        "http://hl7.org/fhir/StructureDefinition/PractitionerRole",
        "http://hl7.org/fhir/StructureDefinition/Organization"]
      }],
      "mapping" : [{
        "identity" : "w5",
        "map" : "FiveWs.source"
      }]
    },
    {
      "id" : "ClaimResponse.request",
      "path" : "ClaimResponse.request",
      "short" : "Id of resource triggering adjudication",
      "definition" : "Original request resource reference.",
      "min" : 0,
      "max" : "1",
      "type" : [{
        "code" : "Reference",
        "targetProfile" : ["http://hl7.org/fhir/StructureDefinition/Claim"]
      }],
      "isSummary" : true,
      "mapping" : [{
        "identity" : "workflow",
        "map" : "Event.basedOn"
      },
      {
        "identity" : "w5",
        "map" : "FiveWs.why[x]"
      }]
    },
    {
      "id" : "ClaimResponse.outcome",
      "path" : "ClaimResponse.outcome",
      "short" : "queued | complete | error | partial",
      "definition" : "The outcome of the claim, predetermination, or preauthorization processing.",
      "comment" : "The resource may be used to indicate that: the request has been held (queued) for processing; that it has been processed and errors found (error); that no errors were found and that some of the adjudication has been undertaken (partial) or that all of the adjudication has been undertaken (complete).",
      "requirements" : "To advise the requestor of an overall processing outcome.",
      "min" : 1,
      "max" : "1",
      "type" : [{
        "code" : "code"
      }],
      "isSummary" : true,
      "binding" : {
        "extension" : [{
          "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
          "valueString" : "RemittanceOutcome"
        }],
        "strength" : "required",
        "description" : "The result of the claim processing.",
        "valueSet" : "http://hl7.org/fhir/ValueSet/remittance-outcome|4.0.1"
      }
    },
    {
      "id" : "ClaimResponse.disposition",
      "path" : "ClaimResponse.disposition",
      "short" : "Disposition Message",
      "definition" : "A human readable description of the status of the adjudication.",
      "requirements" : "Provided for user display.",
      "min" : 0,
      "max" : "1",
      "type" : [{
        "code" : "string"
      }],
      "mapping" : [{
        "identity" : "workflow",
        "map" : "Event.note"
      }]
    },
    {
      "id" : "ClaimResponse.preAuthRef",
      "path" : "ClaimResponse.preAuthRef",
      "short" : "Preauthorization reference",
      "definition" : "Reference from the Insurer which is used in later communications which refers to this adjudication.",
      "comment" : "This value is only present on preauthorization adjudications.",
      "requirements" : "On subsequent claims, the insurer may require the provider to quote this value.",
      "min" : 0,
      "max" : "1",
      "type" : [{
        "code" : "string"
      }]
    },
    {
      "id" : "ClaimResponse.preAuthPeriod",
      "path" : "ClaimResponse.preAuthPeriod",
      "short" : "Preauthorization reference effective period",
      "definition" : "The time frame during which this authorization is effective.",
      "requirements" : "To convey to the provider when the authorized products and services must be supplied for the authorized adjudication to apply.",
      "min" : 0,
      "max" : "1",
      "type" : [{
        "code" : "Period"
      }]
    },
    {
      "id" : "ClaimResponse.payeeType",
      "path" : "ClaimResponse.payeeType",
      "short" : "Party to be paid any benefits payable",
      "definition" : "Type of Party to be reimbursed: subscriber, provider, other.",
      "requirements" : "Need to know who should receive payment with the most common situations being the Provider (assignment of benefits) or the Subscriber.",
      "min" : 0,
      "max" : "1",
      "type" : [{
        "code" : "CodeableConcept"
      }],
      "binding" : {
        "extension" : [{
          "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
          "valueString" : "PayeeType"
        },
        {
          "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding",
          "valueBoolean" : true
        }],
        "strength" : "example",
        "description" : "A code for the party to be reimbursed.",
        "valueSet" : "http://hl7.org/fhir/ValueSet/payeetype"
      }
    },
    {
      "id" : "ClaimResponse.item",
      "extension" : [{
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-explicit-type-name",
        "valueString" : "Item"
      }],
      "path" : "ClaimResponse.item",
      "short" : "Adjudication for claim line items",
      "definition" : "A claim line. Either a simple (a product or service) or a 'group' of details which can also be a simple items or groups of sub-details.",
      "requirements" : "The adjudication for items provided on the claim.",
      "min" : 0,
      "max" : "*",
      "type" : [{
        "code" : "BackboneElement"
      }]
    },
    {
      "id" : "ClaimResponse.item.itemSequence",
      "path" : "ClaimResponse.item.itemSequence",
      "short" : "Claim item instance identifier",
      "definition" : "A number to uniquely reference the claim item entries.",
      "requirements" : "Necessary to provide a mechanism to link the adjudication result to the submitted claim item.",
      "min" : 1,
      "max" : "1",
      "type" : [{
        "code" : "positiveInt"
      }]
    },
    {
      "id" : "ClaimResponse.item.noteNumber",
      "path" : "ClaimResponse.item.noteNumber",
      "short" : "Applicable note numbers",
      "definition" : "The numbers associated with notes below which apply to the adjudication of this item.",
      "requirements" : "Provides a condensed manner for associating human readable descriptive explanations for adjudications on the line item.",
      "min" : 0,
      "max" : "*",
      "type" : [{
        "code" : "positiveInt"
      }]
    },
    {
      "id" : "ClaimResponse.item.adjudication",
      "extension" : [{
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-explicit-type-name",
        "valueString" : "Adjudication"
      }],
      "path" : "ClaimResponse.item.adjudication",
      "short" : "Adjudication details",
      "definition" : "If this item is a group then the values here are a summary of the adjudication of the detail items. If this item is a simple product or service then this is the result of the adjudication of this item.",
      "requirements" : "The adjudication results conveys the insurer's assessment of the item provided in the claim under the terms of the patient's insurance coverage.",
      "min" : 1,
      "max" : "*",
      "type" : [{
        "code" : "BackboneElement"
      }]
    },
    {
      "id" : "ClaimResponse.item.adjudication.category",
      "path" : "ClaimResponse.item.adjudication.category",
      "short" : "Type of adjudication information",
      "definition" : "A code to indicate the information type of this adjudication record. Information types may include the value submitted, maximum values or percentages allowed or payable under the plan, amounts that: the patient is responsible for in aggregate or pertaining to this item; amounts paid by other coverages; and, the benefit payable for this item.",
      "comment" : "For example codes indicating: Co-Pay, deductible, eligible, benefit, tax, etc.",
      "requirements" : "Needed to enable understanding of the context of the other information in the adjudication.",
      "min" : 1,
      "max" : "1",
      "type" : [{
        "code" : "CodeableConcept"
      }],
      "binding" : {
        "extension" : [{
          "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
          "valueString" : "Adjudication"
        }],
        "strength" : "example",
        "description" : "The adjudication codes.",
        "valueSet" : "http://hl7.org/fhir/ValueSet/adjudication"
      }
    },
    {
      "id" : "ClaimResponse.item.adjudication.reason",
      "path" : "ClaimResponse.item.adjudication.reason",
      "short" : "Explanation of adjudication outcome",
      "definition" : "A code supporting the understanding of the adjudication result and explaining variance from expected amount.",
      "comment" : "For example may indicate that the funds for this benefit type have been exhausted.",
      "requirements" : "To support understanding of variance from adjudication expectations.",
      "min" : 0,
      "max" : "1",
      "type" : [{
        "code" : "CodeableConcept"
      }],
      "binding" : {
        "extension" : [{
          "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
          "valueString" : "AdjudicationReason"
        }],
        "strength" : "example",
        "description" : "The adjudication reason codes.",
        "valueSet" : "http://hl7.org/fhir/ValueSet/adjudication-reason"
      }
    },
    {
      "id" : "ClaimResponse.item.adjudication.amount",
      "path" : "ClaimResponse.item.adjudication.amount",
      "short" : "Monetary amount",
      "definition" : "Monetary amount associated with the category.",
      "comment" : "For example: amount submitted, eligible amount, co-payment, and benefit payable.",
      "requirements" : "Most adjuciation categories convey a monetary amount.",
      "min" : 0,
      "max" : "1",
      "type" : [{
        "code" : "Money"
      }]
    },
    {
      "id" : "ClaimResponse.item.adjudication.value",
      "path" : "ClaimResponse.item.adjudication.value",
      "short" : "Non-monetary value",
      "definition" : "A non-monetary value associated with the category. Mutually exclusive to the amount element above.",
      "comment" : "For example: eligible percentage or co-payment percentage.",
      "requirements" : "Some adjudication categories convey a percentage or a fixed value.",
      "min" : 0,
      "max" : "1",
      "type" : [{
        "code" : "decimal"
      }]
    },
    {
      "id" : "ClaimResponse.item.detail",
      "extension" : [{
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-explicit-type-name",
        "valueString" : "ItemDetail"
      }],
      "path" : "ClaimResponse.item.detail",
      "short" : "Adjudication for claim details",
      "definition" : "A claim detail. Either a simple (a product or service) or a 'group' of sub-details which are simple items.",
      "requirements" : "The adjudication for details provided on the claim.",
      "min" : 0,
      "max" : "*",
      "type" : [{
        "code" : "BackboneElement"
      }]
    },
    {
      "id" : "ClaimResponse.item.detail.detailSequence",
      "path" : "ClaimResponse.item.detail.detailSequence",
      "short" : "Claim detail instance identifier",
      "definition" : "A number to uniquely reference the claim detail entry.",
      "requirements" : "Necessary to provide a mechanism to link the adjudication result to the submitted claim detail.",
      "min" : 1,
      "max" : "1",
      "type" : [{
        "code" : "positiveInt"
      }]
    },
    {
      "id" : "ClaimResponse.item.detail.noteNumber",
      "path" : "ClaimResponse.item.detail.noteNumber",
      "short" : "Applicable note numbers",
      "definition" : "The numbers associated with notes below which apply to the adjudication of this item.",
      "requirements" : "Provides a condensed manner for associating human readable descriptive explanations for adjudications on the line item.",
      "min" : 0,
      "max" : "*",
      "type" : [{
        "code" : "positiveInt"
      }]
    },
    {
      "id" : "ClaimResponse.item.detail.adjudication",
      "path" : "ClaimResponse.item.detail.adjudication",
      "short" : "Detail level adjudication details",
      "definition" : "The adjudication results.",
      "min" : 1,
      "max" : "*",
      "contentReference" : "#ClaimResponse.item.adjudication"
    },
    {
      "id" : "ClaimResponse.item.detail.subDetail",
      "extension" : [{
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-explicit-type-name",
        "valueString" : "SubDetail"
      }],
      "path" : "ClaimResponse.item.detail.subDetail",
      "short" : "Adjudication for claim sub-details",
      "definition" : "A sub-detail adjudication of a simple product or service.",
      "requirements" : "The adjudication for sub-details provided on the claim.",
      "min" : 0,
      "max" : "*",
      "type" : [{
        "code" : "BackboneElement"
      }]
    },
    {
      "id" : "ClaimResponse.item.detail.subDetail.subDetailSequence",
      "path" : "ClaimResponse.item.detail.subDetail.subDetailSequence",
      "short" : "Claim sub-detail instance identifier",
      "definition" : "A number to uniquely reference the claim sub-detail entry.",
      "requirements" : "Necessary to provide a mechanism to link the adjudication result to the submitted claim sub-detail.",
      "min" : 1,
      "max" : "1",
      "type" : [{
        "code" : "positiveInt"
      }]
    },
    {
      "id" : "ClaimResponse.item.detail.subDetail.noteNumber",
      "path" : "ClaimResponse.item.detail.subDetail.noteNumber",
      "short" : "Applicable note numbers",
      "definition" : "The numbers associated with notes below which apply to the adjudication of this item.",
      "requirements" : "Provides a condensed manner for associating human readable descriptive explanations for adjudications on the line item.",
      "min" : 0,
      "max" : "*",
      "type" : [{
        "code" : "positiveInt"
      }]
    },
    {
      "id" : "ClaimResponse.item.detail.subDetail.adjudication",
      "path" : "ClaimResponse.item.detail.subDetail.adjudication",
      "short" : "Subdetail level adjudication details",
      "definition" : "The adjudication results.",
      "min" : 0,
      "max" : "*",
      "contentReference" : "#ClaimResponse.item.adjudication"
    },
    {
      "id" : "ClaimResponse.addItem",
      "extension" : [{
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-explicit-type-name",
        "valueString" : "AddedItem"
      }],
      "path" : "ClaimResponse.addItem",
      "short" : "Insurer added line items",
      "definition" : "The first-tier service adjudications for payor added product or service lines.",
      "requirements" : "Insurers may redefine the provided product or service or may package and/or decompose groups of products and services. The addItems allows the insurer to provide their line item list with linkage to the submitted items/details/sub-details. In a preauthorization the insurer may use the addItem structure to provide additional information on authorized products and services.",
      "min" : 0,
      "max" : "*",
      "type" : [{
        "code" : "BackboneElement"
      }]
    },
    {
      "id" : "ClaimResponse.addItem.itemSequence",
      "path" : "ClaimResponse.addItem.itemSequence",
      "short" : "Item sequence number",
      "definition" : "Claim items which this service line is intended to replace.",
      "requirements" : "Provides references to the claim items.",
      "min" : 0,
      "max" : "*",
      "type" : [{
        "code" : "positiveInt"
      }]
    },
    {
      "id" : "ClaimResponse.addItem.detailSequence",
      "path" : "ClaimResponse.addItem.detailSequence",
      "short" : "Detail sequence number",
      "definition" : "The sequence number of the details within the claim item which this line is intended to replace.",
      "requirements" : "Provides references to the claim details within the claim item.",
      "min" : 0,
      "max" : "*",
      "type" : [{
        "code" : "positiveInt"
      }]
    },
    {
      "id" : "ClaimResponse.addItem.subdetailSequence",
      "path" : "ClaimResponse.addItem.subdetailSequence",
      "short" : "Subdetail sequence number",
      "definition" : "The sequence number of the sub-details within the details within the claim item which this line is intended to replace.",
      "requirements" : "Provides references to the claim sub-details within the claim detail.",
      "min" : 0,
      "max" : "*",
      "type" : [{
        "code" : "positiveInt"
      }]
    },
    {
      "id" : "ClaimResponse.addItem.provider",
      "path" : "ClaimResponse.addItem.provider",
      "short" : "Authorized providers",
      "definition" : "The providers who are authorized for the services rendered to the patient.",
      "requirements" : "Insurer may provide authorization specifically to a restricted set of providers rather than an open authorization.",
      "min" : 0,
      "max" : "*",
      "type" : [{
        "code" : "Reference",
        "targetProfile" : ["http://hl7.org/fhir/StructureDefinition/Practitioner",
        "http://hl7.org/fhir/StructureDefinition/PractitionerRole",
        "http://hl7.org/fhir/StructureDefinition/Organization"]
      }],
      "mapping" : [{
        "identity" : "w5",
        "map" : "FiveWs.source"
      }]
    },
    {
      "id" : "ClaimResponse.addItem.productOrService",
      "path" : "ClaimResponse.addItem.productOrService",
      "short" : "Billing, service, product, or drug code",
      "definition" : "When the value is a group code then this item collects a set of related claim details, otherwise this contains the product, service, drug or other billing code for the item.",
      "comment" : "If this is an actual service or product line, i.e. not a Group, then use code to indicate the Professional Service or Product supplied (e.g. CTP, HCPCS, USCLS, ICD10, NCPDP, DIN, RxNorm, ACHI, CCI). If a grouping item then use a group code to indicate the type of thing being grouped e.g. 'glasses' or 'compound'.",
      "requirements" : "Necessary to state what was provided or done.",
      "min" : 1,
      "max" : "1",
      "type" : [{
        "code" : "CodeableConcept"
      }],
      "binding" : {
        "extension" : [{
          "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
          "valueString" : "ServiceProduct"
        }],
        "strength" : "example",
        "description" : "Allowable service and product codes.",
        "valueSet" : "http://hl7.org/fhir/ValueSet/service-uscls"
      }
    },
    {
      "id" : "ClaimResponse.addItem.modifier",
      "path" : "ClaimResponse.addItem.modifier",
      "short" : "Service/Product billing modifiers",
      "definition" : "Item typification or modifiers codes to convey additional context for the product or service.",
      "comment" : "For example in Oral whether the treatment is cosmetic or associated with TMJ, or for Medical whether the treatment was outside the clinic or outside of office hours.",
      "requirements" : "To support inclusion of the item for adjudication or to charge an elevated fee.",
      "min" : 0,
      "max" : "*",
      "type" : [{
        "code" : "CodeableConcept"
      }],
      "binding" : {
        "extension" : [{
          "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
          "valueString" : "Modifiers"
        }],
        "strength" : "example",
        "description" : "Item type or modifiers codes, eg for Oral whether the treatment is cosmetic or associated with TMJ, or an appliance was lost or stolen.",
        "valueSet" : "http://hl7.org/fhir/ValueSet/claim-modifiers"
      },
      "mapping" : [{
        "identity" : "rim",
        "map" : "24.C, 24.D mods"
      }]
    },
    {
      "id" : "ClaimResponse.addItem.programCode",
      "path" : "ClaimResponse.addItem.programCode",
      "short" : "Program the product or service is provided under",
      "definition" : "Identifies the program under which this may be recovered.",
      "comment" : "For example: Neonatal program, child dental program or drug users recovery program.",
      "requirements" : "Commonly used in in the identification of publicly provided program focused on population segments or disease classifications.",
      "min" : 0,
      "max" : "*",
      "type" : [{
        "code" : "CodeableConcept"
      }],
      "binding" : {
        "extension" : [{
          "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
          "valueString" : "ProgramCode"
        }],
        "strength" : "example",
        "description" : "Program specific reason codes.",
        "valueSet" : "http://hl7.org/fhir/ValueSet/ex-program-code"
      },
      "mapping" : [{
        "identity" : "rim",
        "map" : "24.H"
      }]
    },
    {
      "id" : "ClaimResponse.addItem.serviced[x]",
      "path" : "ClaimResponse.addItem.serviced[x]",
      "short" : "Date or dates of service or product delivery",
      "definition" : "The date or dates when the service or product was supplied, performed or completed.",
      "requirements" : "Needed to determine whether the  service or product was provided during the term of the insurance coverage.",
      "min" : 0,
      "max" : "1",
      "type" : [{
        "code" : "date"
      },
      {
        "code" : "Period"
      }],
      "mapping" : [{
        "identity" : "w5",
        "map" : "FiveWs.done[x]"
      },
      {
        "identity" : "rim",
        "map" : "24.A"
      }]
    },
    {
      "id" : "ClaimResponse.addItem.location[x]",
      "path" : "ClaimResponse.addItem.location[x]",
      "short" : "Place of service or where product was supplied",
      "definition" : "Where the product or service was provided.",
      "requirements" : "The location can alter whether the item was acceptable for insurance purposes or impact the determination of the benefit amount.",
      "min" : 0,
      "max" : "1",
      "type" : [{
        "code" : "CodeableConcept"
      },
      {
        "code" : "Address"
      },
      {
        "code" : "Reference",
        "targetProfile" : ["http://hl7.org/fhir/StructureDefinition/Location"]
      }],
      "binding" : {
        "extension" : [{
          "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
          "valueString" : "ServicePlace"
        }],
        "strength" : "example",
        "description" : "Place of service: pharmacy, school, prison, etc.",
        "valueSet" : "http://hl7.org/fhir/ValueSet/service-place"
      },
      "mapping" : [{
        "identity" : "w5",
        "map" : "FiveWs.where[x]"
      },
      {
        "identity" : "rim",
        "map" : "24.B"
      }]
    },
    {
      "id" : "ClaimResponse.addItem.quantity",
      "path" : "ClaimResponse.addItem.quantity",
      "short" : "Count of products or services",
      "definition" : "The number of repetitions of a service or product.",
      "requirements" : "Required when the product or service code does not convey the quantity provided.",
      "min" : 0,
      "max" : "1",
      "type" : [{
        "code" : "Quantity",
        "profile" : ["http://hl7.org/fhir/StructureDefinition/SimpleQuantity"]
      }],
      "mapping" : [{
        "identity" : "rim",
        "map" : "24.G"
      }]
    },
    {
      "id" : "ClaimResponse.addItem.unitPrice",
      "path" : "ClaimResponse.addItem.unitPrice",
      "short" : "Fee, charge or cost per item",
      "definition" : "If the item is not a group then this is the fee for the product or service, otherwise this is the total of the fees for the details of the group.",
      "requirements" : "The amount charged to the patient by the provider for a single unit.",
      "min" : 0,
      "max" : "1",
      "type" : [{
        "code" : "Money"
      }]
    },
    {
      "id" : "ClaimResponse.addItem.factor",
      "path" : "ClaimResponse.addItem.factor",
      "short" : "Price scaling factor",
      "definition" : "A real number that represents a multiplier used in determining the overall value of services delivered and/or goods received. The concept of a Factor allows for a discount or surcharge multiplier to be applied to a monetary amount.",
      "comment" : "To show a 10% senior's discount, the value entered is: 0.90 (1.00 - 0.10).",
      "requirements" : "When discounts are provided to a patient (example: Senior's discount) then this must be documented for adjudication.",
      "min" : 0,
      "max" : "1",
      "type" : [{
        "code" : "decimal"
      }]
    },
    {
      "id" : "ClaimResponse.addItem.net",
      "path" : "ClaimResponse.addItem.net",
      "short" : "Total item cost",
      "definition" : "The quantity times the unit price for an additional service or product or charge.",
      "comment" : "For example, the formula: quantity * unitPrice * factor  = net. Quantity and factor are assumed to be 1 if not supplied.",
      "requirements" : "Provides the total amount claimed  for the group (if a grouper) or the line item.",
      "min" : 0,
      "max" : "1",
      "type" : [{
        "code" : "Money"
      }],
      "mapping" : [{
        "identity" : "rim",
        "map" : "24.F"
      }]
    },
    {
      "id" : "ClaimResponse.addItem.bodySite",
      "path" : "ClaimResponse.addItem.bodySite",
      "short" : "Anatomical location",
      "definition" : "Physical service site on the patient (limb, tooth, etc.).",
      "comment" : "For example: Providing a tooth code allows an insurer to identify a provider performing a filling on a tooth that was previously removed.",
      "requirements" : "Allows insurer to validate specific procedures.",
      "min" : 0,
      "max" : "1",
      "type" : [{
        "code" : "CodeableConcept"
      }],
      "binding" : {
        "extension" : [{
          "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
          "valueString" : "OralSites"
        }],
        "strength" : "example",
        "description" : "The code for the teeth, quadrant, sextant and arch.",
        "valueSet" : "http://hl7.org/fhir/ValueSet/tooth"
      }
    },
    {
      "id" : "ClaimResponse.addItem.subSite",
      "path" : "ClaimResponse.addItem.subSite",
      "short" : "Anatomical sub-location",
      "definition" : "A region or surface of the bodySite, e.g. limb region or tooth surface(s).",
      "requirements" : "Allows insurer to validate specific procedures.",
      "min" : 0,
      "max" : "*",
      "type" : [{
        "code" : "CodeableConcept"
      }],
      "binding" : {
        "extension" : [{
          "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
          "valueString" : "Surface"
        }],
        "strength" : "example",
        "description" : "The code for the tooth surface and surface combinations.",
        "valueSet" : "http://hl7.org/fhir/ValueSet/surface"
      }
    },
    {
      "id" : "ClaimResponse.addItem.noteNumber",
      "path" : "ClaimResponse.addItem.noteNumber",
      "short" : "Applicable note numbers",
      "definition" : "The numbers associated with notes below which apply to the adjudication of this item.",
      "requirements" : "Provides a condensed manner for associating human readable descriptive explanations for adjudications on the line item.",
      "min" : 0,
      "max" : "*",
      "type" : [{
        "code" : "positiveInt"
      }]
    },
    {
      "id" : "ClaimResponse.addItem.adjudication",
      "path" : "ClaimResponse.addItem.adjudication",
      "short" : "Added items adjudication",
      "definition" : "The adjudication results.",
      "min" : 1,
      "max" : "*",
      "contentReference" : "#ClaimResponse.item.adjudication"
    },
    {
      "id" : "ClaimResponse.addItem.detail",
      "extension" : [{
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-explicit-type-name",
        "valueString" : "AddedItemDetail"
      }],
      "path" : "ClaimResponse.addItem.detail",
      "short" : "Insurer added line details",
      "definition" : "The second-tier service adjudications for payor added services.",
      "min" : 0,
      "max" : "*",
      "type" : [{
        "code" : "BackboneElement"
      }]
    },
    {
      "id" : "ClaimResponse.addItem.detail.productOrService",
      "path" : "ClaimResponse.addItem.detail.productOrService",
      "short" : "Billing, service, product, or drug code",
      "definition" : "When the value is a group code then this item collects a set of related claim details, otherwise this contains the product, service, drug or other billing code for the item.",
      "comment" : "If this is an actual service or product line, i.e. not a Group, then use code to indicate the Professional Service or Product supplied (e.g. CTP, HCPCS, USCLS, ICD10, NCPDP, DIN, RxNorm, ACHI, CCI). If a grouping item then use a group code to indicate the type of thing being grouped e.g. 'glasses' or 'compound'.",
      "requirements" : "Necessary to state what was provided or done.",
      "min" : 1,
      "max" : "1",
      "type" : [{
        "code" : "CodeableConcept"
      }],
      "binding" : {
        "extension" : [{
          "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
          "valueString" : "ServiceProduct"
        }],
        "strength" : "example",
        "description" : "Allowable service and product codes.",
        "valueSet" : "http://hl7.org/fhir/ValueSet/service-uscls"
      }
    },
    {
      "id" : "ClaimResponse.addItem.detail.modifier",
      "path" : "ClaimResponse.addItem.detail.modifier",
      "short" : "Service/Product billing modifiers",
      "definition" : "Item typification or modifiers codes to convey additional context for the product or service.",
      "comment" : "For example in Oral whether the treatment is cosmetic or associated with TMJ, or for Medical whether the treatment was outside the clinic or outside of office hours.",
      "requirements" : "To support inclusion of the item for adjudication or to charge an elevated fee.",
      "min" : 0,
      "max" : "*",
      "type" : [{
        "code" : "CodeableConcept"
      }],
      "binding" : {
        "extension" : [{
          "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
          "valueString" : "Modifiers"
        }],
        "strength" : "example",
        "description" : "Item type or modifiers codes, eg for Oral whether the treatment is cosmetic or associated with TMJ, or an appliance was lost or stolen.",
        "valueSet" : "http://hl7.org/fhir/ValueSet/claim-modifiers"
      },
      "mapping" : [{
        "identity" : "rim",
        "map" : "24.C, 24.D mods"
      }]
    },
    {
      "id" : "ClaimResponse.addItem.detail.quantity",
      "path" : "ClaimResponse.addItem.detail.quantity",
      "short" : "Count of products or services",
      "definition" : "The number of repetitions of a service or product.",
      "requirements" : "Required when the product or service code does not convey the quantity provided.",
      "min" : 0,
      "max" : "1",
      "type" : [{
        "code" : "Quantity",
        "profile" : ["http://hl7.org/fhir/StructureDefinition/SimpleQuantity"]
      }],
      "mapping" : [{
        "identity" : "rim",
        "map" : "24.G"
      }]
    },
    {
      "id" : "ClaimResponse.addItem.detail.unitPrice",
      "path" : "ClaimResponse.addItem.detail.unitPrice",
      "short" : "Fee, charge or cost per item",
      "definition" : "If the item is not a group then this is the fee for the product or service, otherwise this is the total of the fees for the details of the group.",
      "requirements" : "The amount charged to the patient by the provider for a single unit.",
      "min" : 0,
      "max" : "1",
      "type" : [{
        "code" : "Money"
      }]
    },
    {
      "id" : "ClaimResponse.addItem.detail.factor",
      "path" : "ClaimResponse.addItem.detail.factor",
      "short" : "Price scaling factor",
      "definition" : "A real number that represents a multiplier used in determining the overall value of services delivered and/or goods received. The concept of a Factor allows for a discount or surcharge multiplier to be applied to a monetary amount.",
      "comment" : "To show a 10% senior's discount, the value entered is: 0.90 (1.00 - 0.10).",
      "requirements" : "When discounts are provided to a patient (example: Senior's discount) then this must be documented for adjudication.",
      "min" : 0,
      "max" : "1",
      "type" : [{
        "code" : "decimal"
      }]
    },
    {
      "id" : "ClaimResponse.addItem.detail.net",
      "path" : "ClaimResponse.addItem.detail.net",
      "short" : "Total item cost",
      "definition" : "The quantity times the unit price for an additional service or product or charge.",
      "comment" : "For example, the formula: quantity * unitPrice * factor  = net. Quantity and factor are assumed to be 1 if not supplied.",
      "requirements" : "Provides the total amount claimed  for the group (if a grouper) or the line item.",
      "min" : 0,
      "max" : "1",
      "type" : [{
        "code" : "Money"
      }],
      "mapping" : [{
        "identity" : "rim",
        "map" : "24.F"
      }]
    },
    {
      "id" : "ClaimResponse.addItem.detail.noteNumber",
      "path" : "ClaimResponse.addItem.detail.noteNumber",
      "short" : "Applicable note numbers",
      "definition" : "The numbers associated with notes below which apply to the adjudication of this item.",
      "requirements" : "Provides a condensed manner for associating human readable descriptive explanations for adjudications on the line item.",
      "min" : 0,
      "max" : "*",
      "type" : [{
        "code" : "positiveInt"
      }]
    },
    {
      "id" : "ClaimResponse.addItem.detail.adjudication",
      "path" : "ClaimResponse.addItem.detail.adjudication",
      "short" : "Added items detail adjudication",
      "definition" : "The adjudication results.",
      "min" : 1,
      "max" : "*",
      "contentReference" : "#ClaimResponse.item.adjudication"
    },
    {
      "id" : "ClaimResponse.addItem.detail.subDetail",
      "extension" : [{
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-explicit-type-name",
        "valueString" : "AddedItemSubDetail"
      }],
      "path" : "ClaimResponse.addItem.detail.subDetail",
      "short" : "Insurer added line items",
      "definition" : "The third-tier service adjudications for payor added services.",
      "min" : 0,
      "max" : "*",
      "type" : [{
        "code" : "BackboneElement"
      }]
    },
    {
      "id" : "ClaimResponse.addItem.detail.subDetail.productOrService",
      "path" : "ClaimResponse.addItem.detail.subDetail.productOrService",
      "short" : "Billing, service, product, or drug code",
      "definition" : "When the value is a group code then this item collects a set of related claim details, otherwise this contains the product, service, drug or other billing code for the item.",
      "comment" : "If this is an actual service or product line, i.e. not a Group, then use code to indicate the Professional Service or Product supplied (e.g. CTP, HCPCS, USCLS, ICD10, NCPDP, DIN, RxNorm, ACHI, CCI). If a grouping item then use a group code to indicate the type of thing being grouped e.g. 'glasses' or 'compound'.",
      "requirements" : "Necessary to state what was provided or done.",
      "min" : 1,
      "max" : "1",
      "type" : [{
        "code" : "CodeableConcept"
      }],
      "binding" : {
        "extension" : [{
          "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
          "valueString" : "ServiceProduct"
        }],
        "strength" : "example",
        "description" : "Allowable service and product codes.",
        "valueSet" : "http://hl7.org/fhir/ValueSet/service-uscls"
      }
    },
    {
      "id" : "ClaimResponse.addItem.detail.subDetail.modifier",
      "path" : "ClaimResponse.addItem.detail.subDetail.modifier",
      "short" : "Service/Product billing modifiers",
      "definition" : "Item typification or modifiers codes to convey additional context for the product or service.",
      "comment" : "For example in Oral whether the treatment is cosmetic or associated with TMJ, or for Medical whether the treatment was outside the clinic or outside of office hours.",
      "requirements" : "To support inclusion of the item for adjudication or to charge an elevated fee.",
      "min" : 0,
      "max" : "*",
      "type" : [{
        "code" : "CodeableConcept"
      }],
      "binding" : {
        "extension" : [{
          "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
          "valueString" : "Modifiers"
        }],
        "strength" : "example",
        "description" : "Item type or modifiers codes, eg for Oral whether the treatment is cosmetic or associated with TMJ, or an appliance was lost or stolen.",
        "valueSet" : "http://hl7.org/fhir/ValueSet/claim-modifiers"
      },
      "mapping" : [{
        "identity" : "rim",
        "map" : "24.C, 24.D mods"
      }]
    },
    {
      "id" : "ClaimResponse.addItem.detail.subDetail.quantity",
      "path" : "ClaimResponse.addItem.detail.subDetail.quantity",
      "short" : "Count of products or services",
      "definition" : "The number of repetitions of a service or product.",
      "requirements" : "Required when the product or service code does not convey the quantity provided.",
      "min" : 0,
      "max" : "1",
      "type" : [{
        "code" : "Quantity",
        "profile" : ["http://hl7.org/fhir/StructureDefinition/SimpleQuantity"]
      }],
      "mapping" : [{
        "identity" : "rim",
        "map" : "24.G"
      }]
    },
    {
      "id" : "ClaimResponse.addItem.detail.subDetail.unitPrice",
      "path" : "ClaimResponse.addItem.detail.subDetail.unitPrice",
      "short" : "Fee, charge or cost per item",
      "definition" : "If the item is not a group then this is the fee for the product or service, otherwise this is the total of the fees for the details of the group.",
      "requirements" : "The amount charged to the patient by the provider for a single unit.",
      "min" : 0,
      "max" : "1",
      "type" : [{
        "code" : "Money"
      }]
    },
    {
      "id" : "ClaimResponse.addItem.detail.subDetail.factor",
      "path" : "ClaimResponse.addItem.detail.subDetail.factor",
      "short" : "Price scaling factor",
      "definition" : "A real number that represents a multiplier used in determining the overall value of services delivered and/or goods received. The concept of a Factor allows for a discount or surcharge multiplier to be applied to a monetary amount.",
      "comment" : "To show a 10% senior's discount, the value entered is: 0.90 (1.00 - 0.10).",
      "requirements" : "When discounts are provided to a patient (example: Senior's discount) then this must be documented for adjudication.",
      "min" : 0,
      "max" : "1",
      "type" : [{
        "code" : "decimal"
      }]
    },
    {
      "id" : "ClaimResponse.addItem.detail.subDetail.net",
      "path" : "ClaimResponse.addItem.detail.subDetail.net",
      "short" : "Total item cost",
      "definition" : "The quantity times the unit price for an additional service or product or charge.",
      "comment" : "For example, the formula: quantity * unitPrice * factor  = net. Quantity and factor are assumed to be 1 if not supplied.",
      "requirements" : "Provides the total amount claimed  for the group (if a grouper) or the line item.",
      "min" : 0,
      "max" : "1",
      "type" : [{
        "code" : "Money"
      }],
      "mapping" : [{
        "identity" : "rim",
        "map" : "24.F"
      }]
    },
    {
      "id" : "ClaimResponse.addItem.detail.subDetail.noteNumber",
      "path" : "ClaimResponse.addItem.detail.subDetail.noteNumber",
      "short" : "Applicable note numbers",
      "definition" : "The numbers associated with notes below which apply to the adjudication of this item.",
      "requirements" : "Provides a condensed manner for associating human readable descriptive explanations for adjudications on the line item.",
      "min" : 0,
      "max" : "*",
      "type" : [{
        "code" : "positiveInt"
      }]
    },
    {
      "id" : "ClaimResponse.addItem.detail.subDetail.adjudication",
      "path" : "ClaimResponse.addItem.detail.subDetail.adjudication",
      "short" : "Added items detail adjudication",
      "definition" : "The adjudication results.",
      "min" : 1,
      "max" : "*",
      "contentReference" : "#ClaimResponse.item.adjudication"
    },
    {
      "id" : "ClaimResponse.adjudication",
      "path" : "ClaimResponse.adjudication",
      "short" : "Header-level adjudication",
      "definition" : "The adjudication results which are presented at the header level rather than at the line-item or add-item levels.",
      "requirements" : "Some insurers will receive line-items but provide the adjudication only at a summary or header-level.",
      "min" : 0,
      "max" : "*",
      "contentReference" : "#ClaimResponse.item.adjudication"
    },
    {
      "id" : "ClaimResponse.total",
      "extension" : [{
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-explicit-type-name",
        "valueString" : "Total"
      }],
      "path" : "ClaimResponse.total",
      "short" : "Adjudication totals",
      "definition" : "Categorized monetary totals for the adjudication.",
      "comment" : "Totals for amounts submitted, co-pays, benefits payable etc.",
      "requirements" : "To provide the requestor with financial totals by category for the adjudication.",
      "min" : 0,
      "max" : "*",
      "type" : [{
        "code" : "BackboneElement"
      }],
      "isSummary" : true
    },
    {
      "id" : "ClaimResponse.total.category",
      "path" : "ClaimResponse.total.category",
      "short" : "Type of adjudication information",
      "definition" : "A code to indicate the information type of this adjudication record. Information types may include: the value submitted, maximum values or percentages allowed or payable under the plan, amounts that the patient is responsible for in aggregate or pertaining to this item, amounts paid by other coverages, and the benefit payable for this item.",
      "comment" : "For example codes indicating: Co-Pay, deductible, eligible, benefit, tax, etc.",
      "requirements" : "Needed to convey the type of total provided.",
      "min" : 1,
      "max" : "1",
      "type" : [{
        "code" : "CodeableConcept"
      }],
      "isSummary" : true,
      "binding" : {
        "extension" : [{
          "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
          "valueString" : "Adjudication"
        }],
        "strength" : "example",
        "description" : "The adjudication codes.",
        "valueSet" : "http://hl7.org/fhir/ValueSet/adjudication"
      }
    },
    {
      "id" : "ClaimResponse.total.amount",
      "path" : "ClaimResponse.total.amount",
      "short" : "Financial total for the category",
      "definition" : "Monetary total amount associated with the category.",
      "requirements" : "Needed to convey the total monetary amount.",
      "min" : 1,
      "max" : "1",
      "type" : [{
        "code" : "Money"
      }],
      "isSummary" : true
    },
    {
      "id" : "ClaimResponse.payment",
      "extension" : [{
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-explicit-type-name",
        "valueString" : "Payment"
      }],
      "path" : "ClaimResponse.payment",
      "short" : "Payment Details",
      "definition" : "Payment details for the adjudication of the claim.",
      "requirements" : "Needed to convey references to the financial instrument that has been used if payment has been made.",
      "min" : 0,
      "max" : "1",
      "type" : [{
        "code" : "BackboneElement"
      }]
    },
    {
      "id" : "ClaimResponse.payment.type",
      "path" : "ClaimResponse.payment.type",
      "short" : "Partial or complete payment",
      "definition" : "Whether this represents partial or complete payment of the benefits payable.",
      "requirements" : "To advise the requestor when the insurer believes all payments to have been completed.",
      "min" : 1,
      "max" : "1",
      "type" : [{
        "code" : "CodeableConcept"
      }],
      "binding" : {
        "extension" : [{
          "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
          "valueString" : "PaymentType"
        }],
        "strength" : "example",
        "description" : "The type (partial, complete) of the payment.",
        "valueSet" : "http://hl7.org/fhir/ValueSet/ex-paymenttype"
      }
    },
    {
      "id" : "ClaimResponse.payment.adjustment",
      "path" : "ClaimResponse.payment.adjustment",
      "short" : "Payment adjustment for non-claim issues",
      "definition" : "Total amount of all adjustments to this payment included in this transaction which are not related to this claim's adjudication.",
      "comment" : "Insurers will deduct amounts owing from the provider (adjustment), such as a prior overpayment, from the amount owing to the provider (benefits payable) when payment is made to the provider.",
      "requirements" : "To advise the requestor of adjustments applied to the payment.",
      "min" : 0,
      "max" : "1",
      "type" : [{
        "code" : "Money"
      }]
    },
    {
      "id" : "ClaimResponse.payment.adjustmentReason",
      "path" : "ClaimResponse.payment.adjustmentReason",
      "short" : "Explanation for the adjustment",
      "definition" : "Reason for the payment adjustment.",
      "requirements" : "Needed to clarify the monetary adjustment.",
      "min" : 0,
      "max" : "1",
      "type" : [{
        "code" : "CodeableConcept"
      }],
      "binding" : {
        "extension" : [{
          "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
          "valueString" : "PaymentAdjustmentReason"
        }],
        "strength" : "example",
        "description" : "Payment Adjustment reason codes.",
        "valueSet" : "http://hl7.org/fhir/ValueSet/payment-adjustment-reason"
      }
    },
    {
      "id" : "ClaimResponse.payment.date",
      "path" : "ClaimResponse.payment.date",
      "short" : "Expected date of payment",
      "definition" : "Estimated date the payment will be issued or the actual issue date of payment.",
      "requirements" : "To advise the payee when payment can be expected.",
      "min" : 0,
      "max" : "1",
      "type" : [{
        "code" : "date"
      }]
    },
    {
      "id" : "ClaimResponse.payment.amount",
      "path" : "ClaimResponse.payment.amount",
      "short" : "Payable amount after adjustment",
      "definition" : "Benefits payable less any payment adjustment.",
      "requirements" : "Needed to provide the actual payment amount.",
      "min" : 1,
      "max" : "1",
      "type" : [{
        "code" : "Money"
      }]
    },
    {
      "id" : "ClaimResponse.payment.identifier",
      "path" : "ClaimResponse.payment.identifier",
      "short" : "Business identifier for the payment",
      "definition" : "Issuer's unique identifier for the payment instrument.",
      "comment" : "For example: EFT number or check number.",
      "requirements" : "Enable the receiver to reconcile when payment received.",
      "min" : 0,
      "max" : "1",
      "type" : [{
        "code" : "Identifier"
      }]
    },
    {
      "id" : "ClaimResponse.fundsReserve",
      "path" : "ClaimResponse.fundsReserve",
      "short" : "Funds reserved status",
      "definition" : "A code, used only on a response to a preauthorization, to indicate whether the benefits payable have been reserved and for whom.",
      "comment" : "Fund would be release by a future claim quoting the preAuthRef of this response. Examples of values include: provider, patient, none.",
      "requirements" : "Needed to advise the submitting provider on whether the rquest for reservation of funds has been honored.",
      "min" : 0,
      "max" : "1",
      "type" : [{
        "code" : "CodeableConcept"
      }],
      "binding" : {
        "extension" : [{
          "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
          "valueString" : "FundsReserve"
        },
        {
          "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding",
          "valueBoolean" : true
        }],
        "strength" : "example",
        "description" : "For whom funds are to be reserved: (Patient, Provider, None).",
        "valueSet" : "http://hl7.org/fhir/ValueSet/fundsreserve"
      }
    },
    {
      "id" : "ClaimResponse.formCode",
      "path" : "ClaimResponse.formCode",
      "short" : "Printed form identifier",
      "definition" : "A code for the form to be used for printing the content.",
      "comment" : "May be needed to identify specific jurisdictional forms.",
      "requirements" : "Needed to specify the specific form used for producing output for this response.",
      "min" : 0,
      "max" : "1",
      "type" : [{
        "code" : "CodeableConcept"
      }],
      "binding" : {
        "extension" : [{
          "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
          "valueString" : "Forms"
        },
        {
          "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding",
          "valueBoolean" : true
        }],
        "strength" : "example",
        "description" : "The forms codes.",
        "valueSet" : "http://hl7.org/fhir/ValueSet/forms"
      }
    },
    {
      "id" : "ClaimResponse.form",
      "path" : "ClaimResponse.form",
      "short" : "Printed reference or actual form",
      "definition" : "The actual form, by reference or inclusion, for printing the content or an EOB.",
      "comment" : "Needed to permit insurers to include the actual form.",
      "requirements" : "Needed to include the specific form used for producing output for this response.",
      "min" : 0,
      "max" : "1",
      "type" : [{
        "code" : "Attachment"
      }]
    },
    {
      "id" : "ClaimResponse.processNote",
      "extension" : [{
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-explicit-type-name",
        "valueString" : "Note"
      }],
      "path" : "ClaimResponse.processNote",
      "short" : "Note concerning adjudication",
      "definition" : "A note that describes or explains adjudication results in a human readable form.",
      "requirements" : "Provides the insurer specific textual explanations associated with the processing.",
      "min" : 0,
      "max" : "*",
      "type" : [{
        "code" : "BackboneElement"
      }]
    },
    {
      "id" : "ClaimResponse.processNote.number",
      "path" : "ClaimResponse.processNote.number",
      "short" : "Note instance identifier",
      "definition" : "A number to uniquely identify a note entry.",
      "requirements" : "Necessary to provide a mechanism to link from adjudications.",
      "min" : 0,
      "max" : "1",
      "type" : [{
        "code" : "positiveInt"
      }]
    },
    {
      "id" : "ClaimResponse.processNote.type",
      "path" : "ClaimResponse.processNote.type",
      "short" : "display | print | printoper",
      "definition" : "The business purpose of the note text.",
      "requirements" : "To convey the expectation for when the text is used.",
      "min" : 0,
      "max" : "1",
      "type" : [{
        "code" : "code"
      }],
      "binding" : {
        "extension" : [{
          "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
          "valueString" : "NoteType"
        },
        {
          "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding",
          "valueBoolean" : true
        }],
        "strength" : "required",
        "description" : "The presentation types of notes.",
        "valueSet" : "http://hl7.org/fhir/ValueSet/note-type|4.0.1"
      }
    },
    {
      "id" : "ClaimResponse.processNote.text",
      "path" : "ClaimResponse.processNote.text",
      "short" : "Note explanatory text",
      "definition" : "The explanation or description associated with the processing.",
      "requirements" : "Required to provide human readable explanation.",
      "min" : 1,
      "max" : "1",
      "type" : [{
        "code" : "string"
      }]
    },
    {
      "id" : "ClaimResponse.processNote.language",
      "path" : "ClaimResponse.processNote.language",
      "short" : "Language of the text",
      "definition" : "A code to define the language used in the text of the note.",
      "comment" : "Only required if the language is different from the resource language.",
      "requirements" : "Note text may vary from the resource defined language.",
      "min" : 0,
      "max" : "1",
      "type" : [{
        "code" : "CodeableConcept"
      }],
      "binding" : {
        "extension" : [{
          "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-maxValueSet",
          "valueCanonical" : "http://hl7.org/fhir/ValueSet/all-languages"
        },
        {
          "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
          "valueString" : "Language"
        },
        {
          "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding",
          "valueBoolean" : true
        }],
        "strength" : "preferred",
        "description" : "A human language.",
        "valueSet" : "http://hl7.org/fhir/ValueSet/languages"
      }
    },
    {
      "id" : "ClaimResponse.communicationRequest",
      "path" : "ClaimResponse.communicationRequest",
      "short" : "Request for additional information",
      "definition" : "Request for additional supporting or authorizing information.",
      "comment" : "For example: professional reports, documents, images, clinical resources, or accident reports.",
      "requirements" : "Need to communicate insurer request for additional information required to support the adjudication.",
      "min" : 0,
      "max" : "*",
      "type" : [{
        "code" : "Reference",
        "targetProfile" : ["http://hl7.org/fhir/StructureDefinition/CommunicationRequest"]
      }]
    },
    {
      "id" : "ClaimResponse.insurance",
      "extension" : [{
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-explicit-type-name",
        "valueString" : "Insurance"
      }],
      "path" : "ClaimResponse.insurance",
      "short" : "Patient insurance information",
      "definition" : "Financial instruments for reimbursement for the health care products and services specified on the claim.",
      "comment" : "All insurance coverages for the patient which may be applicable for reimbursement, of the products and services listed in the claim, are typically provided in the claim to allow insurers to confirm the ordering of the insurance coverages relative to local 'coordination of benefit' rules. One coverage (and only one) with 'focal=true' is to be used in the adjudication of this claim. Coverages appearing before the focal Coverage in the list, and where 'subrogation=false', should provide a reference to the ClaimResponse containing the adjudication results of the prior claim.",
      "requirements" : "At least one insurer is required for a claim to be a claim.",
      "min" : 0,
      "max" : "*",
      "type" : [{
        "code" : "BackboneElement"
      }],
      "mapping" : [{
        "identity" : "rim",
        "map" : "Coverage"
      }]
    },
    {
      "id" : "ClaimResponse.insurance.sequence",
      "path" : "ClaimResponse.insurance.sequence",
      "short" : "Insurance instance identifier",
      "definition" : "A number to uniquely identify insurance entries and provide a sequence of coverages to convey coordination of benefit order.",
      "requirements" : "To maintain order of the coverages.",
      "min" : 1,
      "max" : "1",
      "type" : [{
        "code" : "positiveInt"
      }]
    },
    {
      "id" : "ClaimResponse.insurance.focal",
      "path" : "ClaimResponse.insurance.focal",
      "short" : "Coverage to be used for adjudication",
      "definition" : "A flag to indicate that this Coverage is to be used for adjudication of this claim when set to true.",
      "comment" : "A patient may (will) have multiple insurance policies which provide reimbursement for healthcare services and products. For example a person may also be covered by their spouse's policy and both appear in the list (and may be from the same insurer). This flag will be set to true for only one of the listed policies and that policy will be used for adjudicating this claim. Other claims would be created to request adjudication against the other listed policies.",
      "requirements" : "To identify which coverage in the list is being used to adjudicate this claim.",
      "min" : 1,
      "max" : "1",
      "type" : [{
        "code" : "boolean"
      }]
    },
    {
      "id" : "ClaimResponse.insurance.coverage",
      "path" : "ClaimResponse.insurance.coverage",
      "short" : "Insurance information",
      "definition" : "Reference to the insurance card level information contained in the Coverage resource. The coverage issuing insurer will use these details to locate the patient's actual coverage within the insurer's information system.",
      "requirements" : "Required to allow the adjudicator to locate the correct policy and history within their information system.",
      "min" : 1,
      "max" : "1",
      "type" : [{
        "code" : "Reference",
        "targetProfile" : ["http://hl7.org/fhir/StructureDefinition/Coverage"]
      }]
    },
    {
      "id" : "ClaimResponse.insurance.businessArrangement",
      "path" : "ClaimResponse.insurance.businessArrangement",
      "short" : "Additional provider contract number",
      "definition" : "A business agreement number established between the provider and the insurer for special business processing purposes.",
      "requirements" : "Providers may have multiple business arrangements with a given insurer and must supply the specific contract number for adjudication.",
      "min" : 0,
      "max" : "1",
      "type" : [{
        "code" : "string"
      }]
    },
    {
      "id" : "ClaimResponse.insurance.claimResponse",
      "path" : "ClaimResponse.insurance.claimResponse",
      "short" : "Adjudication results",
      "definition" : "The result of the adjudication of the line items for the Coverage specified in this insurance.",
      "comment" : "Must not be specified when 'focal=true' for this insurance.",
      "requirements" : "An insurer need the adjudication results from prior insurers to determine the outstanding balance remaining by item for the items in the curent claim.",
      "min" : 0,
      "max" : "1",
      "type" : [{
        "code" : "Reference",
        "targetProfile" : ["http://hl7.org/fhir/StructureDefinition/ClaimResponse"]
      }]
    },
    {
      "id" : "ClaimResponse.error",
      "extension" : [{
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-explicit-type-name",
        "valueString" : "Error"
      }],
      "path" : "ClaimResponse.error",
      "short" : "Processing errors",
      "definition" : "Errors encountered during the processing of the adjudication.",
      "comment" : "If the request contains errors then an error element should be provided and no adjudication related sections (item, addItem, or payment) should be present.",
      "requirements" : "Need to communicate processing issues to the requestor.",
      "min" : 0,
      "max" : "*",
      "type" : [{
        "code" : "BackboneElement"
      }]
    },
    {
      "id" : "ClaimResponse.error.itemSequence",
      "path" : "ClaimResponse.error.itemSequence",
      "short" : "Item sequence number",
      "definition" : "The sequence number of the line item submitted which contains the error. This value is omitted when the error occurs outside of the item structure.",
      "requirements" : "Provides references to the claim items.",
      "min" : 0,
      "max" : "1",
      "type" : [{
        "code" : "positiveInt"
      }]
    },
    {
      "id" : "ClaimResponse.error.detailSequence",
      "path" : "ClaimResponse.error.detailSequence",
      "short" : "Detail sequence number",
      "definition" : "The sequence number of the detail within the line item submitted which contains the error. This value is omitted when the error occurs outside of the item structure.",
      "requirements" : "Provides references to the claim details within the claim item.",
      "min" : 0,
      "max" : "1",
      "type" : [{
        "code" : "positiveInt"
      }]
    },
    {
      "id" : "ClaimResponse.error.subDetailSequence",
      "path" : "ClaimResponse.error.subDetailSequence",
      "short" : "Subdetail sequence number",
      "definition" : "The sequence number of the sub-detail within the detail within the line item submitted which contains the error. This value is omitted when the error occurs outside of the item structure.",
      "requirements" : "Provides references to the claim sub-details within the claim detail.",
      "min" : 0,
      "max" : "1",
      "type" : [{
        "code" : "positiveInt"
      }]
    },
    {
      "id" : "ClaimResponse.error.code",
      "path" : "ClaimResponse.error.code",
      "short" : "Error code detailing processing issues",
      "definition" : "An error code, from a specified code system, which details why the claim could not be adjudicated.",
      "requirements" : "Required to convey processing errors.",
      "min" : 1,
      "max" : "1",
      "type" : [{
        "code" : "CodeableConcept"
      }],
      "binding" : {
        "extension" : [{
          "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
          "valueString" : "AdjudicationError"
        }],
        "strength" : "example",
        "description" : "The adjudication error codes.",
        "valueSet" : "http://hl7.org/fhir/ValueSet/adjudication-error"
      }
    }]
  }
}

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.