PackagesCanonicalsLogsProblems
    Packages
    tw.gov.mohw.nhi.pas@1.0.1
    https://twcore.mohw.gov.tw/ig/pas/StructureDefinition/Claim-twpas
{
  "description": "此事前審查-Claim TWPAS Profile說明本IG如何進一步定義FHIR的Claim Resource以呈現癌藥事前審查之內容",
  "_filename": "StructureDefinition-Claim-twpas.json",
  "package_name": "tw.gov.mohw.nhi.pas",
  "date": "2024-12-12T17:02:42+08:00",
  "derivation": "constraint",
  "publisher": "衛生福利部中央健康保險署",
  "fhirVersion": "4.0.1",
  "name": "ClaimTWPAS",
  "mapping": [ {
    "uri": "http://hl7.org/fhir/workflow",
    "name": "Workflow Pattern",
    "identity": "workflow"
  }, {
    "uri": "http://hl7.org/fhir/fivews",
    "name": "FiveWs Pattern Mapping",
    "identity": "w5"
  }, {
    "uri": "http://hl7.org/v3",
    "name": "RIM Mapping",
    "identity": "rim"
  } ],
  "abstract": false,
  "type": "Claim",
  "experimental": null,
  "resourceType": "StructureDefinition",
  "title": "事前審查-Claim TWPAS",
  "package_version": "1.0.1",
  "snapshot": {
    "element": [ {
      "constraint": [ {
        "key": "dom-2",
        "human": "If the resource is contained in another resource, it SHALL NOT contain nested Resources",
        "xpath": "not(parent::f:contained and f:contained)",
        "source": "http://hl7.org/fhir/StructureDefinition/DomainResource",
        "severity": "error",
        "expression": "contained.contained.empty()"
      }, {
        "key": "dom-3",
        "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",
        "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",
        "severity": "error",
        "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()"
      }, {
        "key": "dom-4",
        "human": "If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated",
        "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",
        "severity": "error",
        "expression": "contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()"
      }, {
        "key": "dom-5",
        "human": "If a resource is contained in another resource, it SHALL NOT have a security label",
        "xpath": "not(exists(f:contained/*/f:meta/f:security))",
        "source": "http://hl7.org/fhir/StructureDefinition/DomainResource",
        "severity": "error",
        "expression": "contained.meta.security.empty()"
      }, {
        "key": "dom-6",
        "human": "A resource should have narrative for robust management",
        "xpath": "exists(f:text/h:div)",
        "source": "http://hl7.org/fhir/StructureDefinition/DomainResource",
        "severity": "warning",
        "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."
        } ],
        "expression": "text.`div`.exists()"
      }, {
        "key": "sequence-1",
        "human": "diagnosis.sequence一定會有一個「1」,且只能出現一次。",
        "source": "https://twcore.mohw.gov.tw/ig/pas/StructureDefinition/Claim-twpas",
        "severity": "error",
        "expression": "diagnosis.where(sequence = 1).count() = 1"
      }, {
        "key": "supportingInfo",
        "human": "至少還需提供檢查報告、影像報告、基因資訊中任一樣資訊。",
        "source": "https://twcore.mohw.gov.tw/ig/pas/StructureDefinition/Claim-twpas",
        "severity": "error",
        "expression": "supportingInfo.category.exists(coding.code = 'examinationReport') or supportingInfo.category.exists(coding.code = 'imagingReport') or supportingInfo.category.exists(coding.code = 'geneInfo')"
      }, {
        "key": "applType",
        "human": "當Claim.subType(申報類別)為2(送核補件)、3(申復)、4(爭議審議)或5(申復補件)時,院所才需於Claim.identifier填寫原送核案件之受理編號。目前IG僅針對申報類別為3(申復)進行檢核。",
        "source": "https://twcore.mohw.gov.tw/ig/pas/StructureDefinition/Claim-twpas",
        "severity": "error",
        "expression": "(subType.coding.exists(code='3')) implies (identifier.exists())"
      } ],
      "path": "Claim",
      "min": 0,
      "definition": "A provider issued list of professional services and products which have been provided, or are to be provided, to a patient which is sent to an insurer for reimbursement.",
      "isModifier": false,
      "short": "Claim, Pre-determination or Pre-authorization",
      "mapping": [ {
        "map": "Entity. Role, or Act",
        "identity": "rim"
      }, {
        "map": "Request",
        "identity": "workflow"
      } ],
      "alias": [ "Adjudication Request", "Preauthorization Request", "Predetermination Request" ],
      "max": "*",
      "id": "Claim",
      "comment": "The Claim resource fulfills three information request requirements: Claim - a request for adjudication for reimbursement for products and/or services provided; Preauthorization - a request to authorize the future provision of products and/or services including an anticipated adjudication; and, Predetermination - a request for a non-bind adjudication of possible future products and/or services.",
      "base": {
        "max": "*",
        "min": 0,
        "path": "Claim"
      },
      "isSummary": false
    }, {
      "path": "Claim.id",
      "min": 0,
      "definition": "The logical id of the resource, as used in the URL for the resource. Once assigned, this value never changes.",
      "isModifier": false,
      "short": "Logical id of this artifact",
      "type": [ {
        "code": "http://hl7.org/fhirpath/System.String",
        "extension": [ {
          "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
          "valueUrl": "id"
        } ]
      } ],
      "max": "1",
      "id": "Claim.id",
      "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.",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Resource.id"
      },
      "isSummary": true
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      } ],
      "path": "Claim.meta",
      "min": 0,
      "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.",
      "isModifier": false,
      "short": "Metadata about the resource",
      "type": [ {
        "code": "Meta"
      } ],
      "max": "1",
      "id": "Claim.meta",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Resource.meta"
      },
      "isSummary": true
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      } ],
      "path": "Claim.implicitRules",
      "min": 0,
      "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.",
      "isModifier": true,
      "short": "A set of rules under which this content was created",
      "type": [ {
        "code": "uri"
      } ],
      "max": "1",
      "id": "Claim.implicitRules",
      "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.",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Resource.implicitRules"
      },
      "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
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      } ],
      "path": "Claim.language",
      "min": 0,
      "definition": "The base language in which the resource is written.",
      "isModifier": false,
      "short": "Language of the resource content",
      "type": [ {
        "code": "code"
      } ],
      "binding": {
        "strength": "preferred",
        "valueSet": "http://hl7.org/fhir/ValueSet/languages",
        "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"
        } ],
        "description": "A human language."
      },
      "max": "1",
      "id": "Claim.language",
      "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).",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Resource.language"
      },
      "isSummary": false
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      } ],
      "path": "Claim.text",
      "min": 0,
      "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.",
      "isModifier": false,
      "short": "Text summary of the resource, for human interpretation",
      "mapping": [ {
        "map": "Act.text?",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "Narrative"
      } ],
      "alias": [ "narrative", "html", "xhtml", "display" ],
      "max": "1",
      "id": "Claim.text",
      "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.",
      "base": {
        "max": "1",
        "min": 0,
        "path": "DomainResource.text"
      },
      "isSummary": false
    }, {
      "path": "Claim.contained",
      "min": 0,
      "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.",
      "isModifier": false,
      "short": "Contained, inline Resources",
      "mapping": [ {
        "map": "N/A",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "Resource"
      } ],
      "alias": [ "inline resources", "anonymous resources", "contained resources" ],
      "max": "*",
      "id": "Claim.contained",
      "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.",
      "base": {
        "max": "*",
        "min": 0,
        "path": "DomainResource.contained"
      },
      "isSummary": false
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      }, {
        "key": "ext-1",
        "human": "Must have either extensions or value[x], not both",
        "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
        "source": "http://hl7.org/fhir/StructureDefinition/Extension",
        "severity": "error",
        "expression": "extension.exists() != value.exists()"
      } ],
      "path": "Claim.extension",
      "min": 1,
      "definition": "An Extension",
      "isModifier": false,
      "short": "Extension",
      "slicing": {
        "rules": "open",
        "ordered": false,
        "discriminator": [ {
          "path": "url",
          "type": "value"
        } ]
      },
      "type": [ {
        "code": "Extension"
      } ],
      "max": "*",
      "id": "Claim.extension",
      "base": {
        "max": "*",
        "min": 0,
        "path": "DomainResource.extension"
      },
      "isSummary": false
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      }, {
        "key": "ext-1",
        "human": "Must have either extensions or value[x], not both",
        "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
        "source": "http://hl7.org/fhir/StructureDefinition/Extension",
        "severity": "error",
        "expression": "extension.exists() != value.exists()"
      } ],
      "path": "Claim.extension",
      "min": 1,
      "definition": "就醫科別",
      "isModifier": false,
      "short": "就醫科別,為細分科之就醫科別,作為審查分科用。【此為參考Da Vinci PAS IG的extension設計】",
      "type": [ {
        "code": "Extension",
        "profile": [ "https://twcore.mohw.gov.tw/ig/pas/StructureDefinition/extension-claim-encounter" ]
      } ],
      "mustSupport": true,
      "sliceName": "encounter",
      "max": "1",
      "id": "Claim.extension:encounter",
      "condition": [ "ele-1" ],
      "base": {
        "max": "*",
        "min": 0,
        "path": "DomainResource.extension"
      }
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      }, {
        "key": "ext-1",
        "human": "Must have either extensions or value[x], not both",
        "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
        "source": "http://hl7.org/fhir/StructureDefinition/Extension",
        "severity": "error",
        "expression": "extension.exists() != value.exists()"
      } ],
      "path": "Claim.modifierExtension",
      "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](http://hl7.org/fhir/R4/extensibility.html#modifierExtension).",
      "min": 0,
      "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).",
      "isModifier": true,
      "short": "Extensions that cannot be ignored",
      "mapping": [ {
        "map": "N/A",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "Extension"
      } ],
      "alias": [ "extensions", "user content" ],
      "max": "*",
      "id": "Claim.modifierExtension",
      "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.",
      "base": {
        "max": "*",
        "min": 0,
        "path": "DomainResource.modifierExtension"
      },
      "isModifierReason": "Modifier extensions are expected to modify the meaning or interpretation of the resource that contains them",
      "isSummary": false
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      } ],
      "path": "Claim.identifier",
      "requirements": "Allows claims to be distinguished and referenced.",
      "min": 0,
      "definition": "A unique identifier assigned to this claim.",
      "isModifier": false,
      "short": "原受理編號。院所上傳送核(subType = #1)案件時,不需填寫「原受理編號」資訊,受理成功後會由系統自動產生受理編號。當Claim.subType(申報類別)為2(送核補件)、3(申復)、4(爭議審議)或5(申復補件)時,院所才需於Claim.identifier填寫原送核案件之受理編號。",
      "mapping": [ {
        "map": "Request.identifier",
        "identity": "workflow"
      }, {
        "map": "FiveWs.identifier",
        "identity": "w5"
      } ],
      "type": [ {
        "code": "Identifier"
      } ],
      "mustSupport": true,
      "alias": [ "Claim Number" ],
      "max": "1",
      "id": "Claim.identifier",
      "base": {
        "max": "*",
        "min": 0,
        "path": "Claim.identifier"
      },
      "isSummary": false
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      } ],
      "path": "Claim.status",
      "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,
      "definition": "The status of the resource instance.",
      "isModifier": true,
      "short": "active | cancelled | draft | entered-in-error",
      "mapping": [ {
        "map": "Request.status",
        "identity": "workflow"
      }, {
        "map": "FiveWs.status",
        "identity": "w5"
      } ],
      "type": [ {
        "code": "code"
      } ],
      "patternCode": "active",
      "binding": {
        "strength": "required",
        "valueSet": "http://hl7.org/fhir/ValueSet/fm-status|4.0.1",
        "extension": [ {
          "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
          "valueString": "ClaimStatus"
        } ],
        "description": "A code specifying the state of the resource instance."
      },
      "max": "1",
      "id": "Claim.status",
      "comment": "This element is labeled as a modifier because the status contains codes that mark the resource as not currently valid.",
      "base": {
        "max": "1",
        "min": 1,
        "path": "Claim.status"
      },
      "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
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      } ],
      "path": "Claim.type",
      "requirements": "Claim type determine the general sets of business rules applied for information requirements and adjudication.",
      "min": 1,
      "definition": "The category of claim, e.g. oral, pharmacy, vision, institutional, professional.",
      "isModifier": false,
      "short": "Category or discipline",
      "mapping": [ {
        "map": "FiveWs.class",
        "identity": "w5"
      } ],
      "type": [ {
        "code": "CodeableConcept"
      } ],
      "binding": {
        "strength": "extensible",
        "valueSet": "http://hl7.org/fhir/ValueSet/claim-type",
        "extension": [ {
          "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
          "valueString": "ClaimType"
        } ],
        "description": "The type or discipline-style of the claim."
      },
      "max": "1",
      "id": "Claim.type",
      "comment": "The majority of jurisdictions use: oral, pharmacy, vision, professional and institutional, or variants on those terms, as the general styles of claims. The valueset is extensible to accommodate other jurisdictional requirements.",
      "patternCodeableConcept": {
        "coding": [ {
          "code": "institutional",
          "system": "http://terminology.hl7.org/CodeSystem/claim-type"
        } ]
      },
      "base": {
        "max": "1",
        "min": 1,
        "path": "Claim.type"
      },
      "isSummary": true
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      } ],
      "path": "Claim.subType",
      "requirements": "Some jurisdictions need a finer grained claim type for routing and adjudication.",
      "min": 1,
      "definition": "A finer grained suite of claim type codes which may convey additional information such as Inpatient vs Outpatient and/or a specialty service.",
      "isModifier": false,
      "short": "申報類別,1:送核 | 2:送核補件 | 3:申復 | 4:爭議審議 | 5:申復補件 。院所上傳送核(subType = #1)案件時,不需填寫「原受理編號」資訊,受理成功後會由系統自動產生受理編號。當Claim.subType(申報類別)為2(送核補件)、3(申復)、4(爭議審議)或5(申復補件)時,院所才需於Claim.identifier填寫原送核案件之受理編號。",
      "mapping": [ {
        "map": "FiveWs.class",
        "identity": "w5"
      } ],
      "type": [ {
        "code": "CodeableConcept"
      } ],
      "mustSupport": true,
      "binding": {
        "strength": "required",
        "valueSet": "https://twcore.mohw.gov.tw/ig/pas/ValueSet/nhi-apply-type"
      },
      "max": "1",
      "id": "Claim.subType",
      "comment": "This may contain the local bill type codes, for example the US UB-04 bill type code or the CMS bill type.",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Claim.subType"
      },
      "isSummary": false
    }, {
      "path": "Claim.subType.id",
      "min": 0,
      "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
      "isModifier": false,
      "short": "Unique id for inter-element referencing",
      "mapping": [ {
        "map": "n/a",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "http://hl7.org/fhirpath/System.String",
        "extension": [ {
          "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
          "valueUrl": "string"
        } ]
      } ],
      "representation": [ "xmlAttr" ],
      "max": "1",
      "id": "Claim.subType.id",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Element.id"
      },
      "isSummary": false
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      }, {
        "key": "ext-1",
        "human": "Must have either extensions or value[x], not both",
        "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
        "source": "http://hl7.org/fhir/StructureDefinition/Extension",
        "severity": "error",
        "expression": "extension.exists() != value.exists()"
      } ],
      "path": "Claim.subType.extension",
      "min": 0,
      "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.",
      "isModifier": false,
      "short": "Additional content defined by implementations",
      "mapping": [ {
        "map": "n/a",
        "identity": "rim"
      } ],
      "slicing": {
        "rules": "open",
        "description": "Extensions are always sliced by (at least) url",
        "discriminator": [ {
          "path": "url",
          "type": "value"
        } ]
      },
      "type": [ {
        "code": "Extension"
      } ],
      "alias": [ "extensions", "user content" ],
      "max": "*",
      "id": "Claim.subType.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.",
      "base": {
        "max": "*",
        "min": 0,
        "path": "Element.extension"
      },
      "isSummary": false
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      } ],
      "path": "Claim.subType.coding",
      "requirements": "Allows for alternative encodings within a code system, and translations to other code systems.",
      "min": 1,
      "definition": "A reference to a code defined by a terminology system.",
      "isModifier": false,
      "short": "Code defined by a terminology system",
      "mapping": [ {
        "map": "C*E.1-8, C*E.10-22",
        "identity": "v2"
      }, {
        "map": "union(., ./translation)",
        "identity": "rim"
      }, {
        "map": "fhir:CodeableConcept.coding rdfs:subPropertyOf dt:CD.coding",
        "identity": "orim"
      } ],
      "type": [ {
        "code": "Coding"
      } ],
      "max": "1",
      "id": "Claim.subType.coding",
      "comment": "Codes may be defined very casually in enumerations, or code lists, up to very formal definitions such as SNOMED CT - see the HL7 v3 Core Principles for more information.  Ordering of codings is undefined and SHALL NOT be used to infer meaning. Generally, at most only one of the coding values will be labeled as UserSelected = true.",
      "base": {
        "max": "*",
        "min": 0,
        "path": "CodeableConcept.coding"
      },
      "isSummary": true
    }, {
      "path": "Claim.subType.coding.id",
      "min": 0,
      "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
      "isModifier": false,
      "short": "Unique id for inter-element referencing",
      "mapping": [ {
        "map": "n/a",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "http://hl7.org/fhirpath/System.String",
        "extension": [ {
          "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
          "valueUrl": "string"
        } ]
      } ],
      "representation": [ "xmlAttr" ],
      "max": "1",
      "id": "Claim.subType.coding.id",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Element.id"
      },
      "isSummary": false
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      }, {
        "key": "ext-1",
        "human": "Must have either extensions or value[x], not both",
        "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
        "source": "http://hl7.org/fhir/StructureDefinition/Extension",
        "severity": "error",
        "expression": "extension.exists() != value.exists()"
      } ],
      "path": "Claim.subType.coding.extension",
      "min": 0,
      "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.",
      "isModifier": false,
      "short": "Additional content defined by implementations",
      "mapping": [ {
        "map": "n/a",
        "identity": "rim"
      } ],
      "slicing": {
        "rules": "open",
        "description": "Extensions are always sliced by (at least) url",
        "discriminator": [ {
          "path": "url",
          "type": "value"
        } ]
      },
      "type": [ {
        "code": "Extension"
      } ],
      "alias": [ "extensions", "user content" ],
      "max": "*",
      "id": "Claim.subType.coding.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.",
      "base": {
        "max": "*",
        "min": 0,
        "path": "Element.extension"
      },
      "isSummary": false
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      } ],
      "path": "Claim.subType.coding.system",
      "requirements": "Need to be unambiguous about the source of the definition of the symbol.",
      "min": 1,
      "definition": "The identification of the code system that defines the meaning of the symbol in the code.",
      "isModifier": false,
      "short": "Identity of the terminology system",
      "mapping": [ {
        "map": "C*E.3",
        "identity": "v2"
      }, {
        "map": "./codeSystem",
        "identity": "rim"
      }, {
        "map": "fhir:Coding.system rdfs:subPropertyOf dt:CDCoding.codeSystem",
        "identity": "orim"
      } ],
      "type": [ {
        "code": "uri"
      } ],
      "max": "1",
      "id": "Claim.subType.coding.system",
      "comment": "The URI may be an OID (urn:oid:...) or a UUID (urn:uuid:...).  OIDs and UUIDs SHALL be references to the HL7 OID registry. Otherwise, the URI should come from HL7's list of FHIR defined special URIs or it should reference to some definition that establishes the system clearly and unambiguously.",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Coding.system"
      },
      "patternUri": "https://twcore.mohw.gov.tw/ig/pas/CodeSystem/nhi-apply-type",
      "isSummary": true
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      } ],
      "path": "Claim.subType.coding.version",
      "min": 0,
      "definition": "The version of the code system which was used when choosing this code. Note that a well-maintained code system does not need the version reported, because the meaning of codes is consistent across versions. However this cannot consistently be assured, and when the meaning is not guaranteed to be consistent, the version SHOULD be exchanged.",
      "isModifier": false,
      "short": "Version of the system - if relevant",
      "mapping": [ {
        "map": "C*E.7",
        "identity": "v2"
      }, {
        "map": "./codeSystemVersion",
        "identity": "rim"
      }, {
        "map": "fhir:Coding.version rdfs:subPropertyOf dt:CDCoding.codeSystemVersion",
        "identity": "orim"
      } ],
      "type": [ {
        "code": "string"
      } ],
      "max": "1",
      "id": "Claim.subType.coding.version",
      "comment": "Where the terminology does not clearly define what string should be used to identify code system versions, the recommendation is to use the date (expressed in FHIR date format) on which that version was officially published as the version date.",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Coding.version"
      },
      "isSummary": true
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      } ],
      "path": "Claim.subType.coding.code",
      "requirements": "Need to refer to a particular code in the system.",
      "min": 1,
      "definition": "A symbol in syntax defined by the system. The symbol may be a predefined code or an expression in a syntax defined by the coding system (e.g. post-coordination).",
      "isModifier": false,
      "short": "申報類別,1:送核 | 2:送核補件 | 3:申復 | 4:爭議審議 | 5:申復補件 。當申報類別為2(送核補件)、3(申復)、4(爭議審議)、5(申復補件)時,院所才需於Claim.identifier填寫原送核案件之受理編號。",
      "mapping": [ {
        "map": "C*E.1",
        "identity": "v2"
      }, {
        "map": "./code",
        "identity": "rim"
      }, {
        "map": "fhir:Coding.code rdfs:subPropertyOf dt:CDCoding.code",
        "identity": "orim"
      } ],
      "type": [ {
        "code": "code"
      } ],
      "max": "1",
      "id": "Claim.subType.coding.code",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Coding.code"
      },
      "isSummary": true
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      } ],
      "path": "Claim.subType.coding.display",
      "requirements": "Need to be able to carry a human-readable meaning of the code for readers that do not know  the system.",
      "min": 0,
      "definition": "A representation of the meaning of the code in the system, following the rules of the system.",
      "isModifier": false,
      "short": "Representation defined by the system",
      "mapping": [ {
        "map": "C*E.2 - but note this is not well followed",
        "identity": "v2"
      }, {
        "map": "CV.displayName",
        "identity": "rim"
      }, {
        "map": "fhir:Coding.display rdfs:subPropertyOf dt:CDCoding.displayName",
        "identity": "orim"
      } ],
      "type": [ {
        "code": "string"
      } ],
      "extension": [ {
        "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable",
        "valueBoolean": true
      } ],
      "max": "1",
      "id": "Claim.subType.coding.display",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Coding.display"
      },
      "isSummary": true
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      } ],
      "path": "Claim.subType.coding.userSelected",
      "requirements": "This has been identified as a clinical safety criterium - that this exact system/code pair was chosen explicitly, rather than inferred by the system based on some rules or language processing.",
      "min": 0,
      "definition": "Indicates that this coding was chosen by a user directly - e.g. off a pick list of available items (codes or displays).",
      "isModifier": false,
      "short": "If this coding was chosen directly by the user",
      "mapping": [ {
        "map": "Sometimes implied by being first",
        "identity": "v2"
      }, {
        "map": "CD.codingRationale",
        "identity": "rim"
      }, {
        "map": "fhir:Coding.userSelected fhir:mapsTo dt:CDCoding.codingRationale. fhir:Coding.userSelected fhir:hasMap fhir:Coding.userSelected.map. fhir:Coding.userSelected.map a fhir:Map;   fhir:target dt:CDCoding.codingRationale. fhir:Coding.userSelected\\#true a [     fhir:source \"true\";     fhir:target dt:CDCoding.codingRationale\\#O   ]",
        "identity": "orim"
      } ],
      "type": [ {
        "code": "boolean"
      } ],
      "max": "1",
      "id": "Claim.subType.coding.userSelected",
      "comment": "Amongst a set of alternatives, a directly chosen code is the most appropriate starting point for new translations. There is some ambiguity about what exactly 'directly chosen' implies, and trading partner agreement may be needed to clarify the use of this element and its consequences more completely.",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Coding.userSelected"
      },
      "isSummary": true
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      } ],
      "path": "Claim.subType.text",
      "requirements": "The codes from the terminologies do not always capture the correct meaning with all the nuances of the human using them, or sometimes there is no appropriate code at all. In these cases, the text is used to capture the full meaning of the source.",
      "min": 0,
      "definition": "A human language representation of the concept as seen/selected/uttered by the user who entered the data and/or which represents the intended meaning of the user.",
      "isModifier": false,
      "short": "Plain text representation of the concept",
      "mapping": [ {
        "map": "C*E.9. But note many systems use C*E.2 for this",
        "identity": "v2"
      }, {
        "map": "./originalText[mediaType/code=\"text/plain\"]/data",
        "identity": "rim"
      }, {
        "map": "fhir:CodeableConcept.text rdfs:subPropertyOf dt:CD.originalText",
        "identity": "orim"
      } ],
      "type": [ {
        "code": "string"
      } ],
      "extension": [ {
        "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable",
        "valueBoolean": true
      } ],
      "max": "1",
      "id": "Claim.subType.text",
      "comment": "Very often the text is the same as a displayName of one of the codings.",
      "base": {
        "max": "1",
        "min": 0,
        "path": "CodeableConcept.text"
      },
      "isSummary": true
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      } ],
      "path": "Claim.use",
      "requirements": "This element is required to understand the nature of the request for adjudication.",
      "min": 1,
      "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.",
      "isModifier": false,
      "short": "claim | preauthorization | predetermination",
      "mapping": [ {
        "map": "FiveWs.class",
        "identity": "w5"
      } ],
      "type": [ {
        "code": "code"
      } ],
      "patternCode": "preauthorization",
      "binding": {
        "strength": "required",
        "valueSet": "http://hl7.org/fhir/ValueSet/claim-use|4.0.1",
        "extension": [ {
          "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
          "valueString": "Use"
        } ],
        "description": "The purpose of the Claim: predetermination, preauthorization, claim."
      },
      "max": "1",
      "id": "Claim.use",
      "base": {
        "max": "1",
        "min": 1,
        "path": "Claim.use"
      },
      "isSummary": true
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      } ],
      "path": "Claim.patient",
      "requirements": "The patient must be supplied to the insurer so that confirmation of coverage and service history may be considered as part of the authorization and/or adjudiction.",
      "min": 1,
      "definition": "The party to whom the professional services and/or products have been supplied or are being considered and for whom actual or forecast reimbursement is sought.",
      "isModifier": false,
      "short": "病人資訊",
      "mapping": [ {
        "map": "Request.subject",
        "identity": "workflow"
      }, {
        "map": "FiveWs.subject[x]",
        "identity": "w5"
      }, {
        "map": "FiveWs.subject",
        "identity": "w5"
      } ],
      "type": [ {
        "code": "Reference",
        "targetProfile": [ "https://twcore.mohw.gov.tw/ig/pas/StructureDefinition/Patient-twpas" ]
      } ],
      "mustSupport": true,
      "max": "1",
      "id": "Claim.patient",
      "base": {
        "max": "1",
        "min": 1,
        "path": "Claim.patient"
      },
      "isSummary": true
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      } ],
      "path": "Claim.billablePeriod",
      "requirements": "A number jurisdictions required the submission of the billing period when submitting claims for example for hospital stays or long-term care.",
      "min": 0,
      "definition": "The period for which charges are being submitted.",
      "isModifier": false,
      "short": "Relevant time frame for the claim",
      "mapping": [ {
        "map": "FiveWs.done[x]",
        "identity": "w5"
      } ],
      "type": [ {
        "code": "Period"
      } ],
      "max": "1",
      "id": "Claim.billablePeriod",
      "comment": "Typically this would be today or in the past for a claim, and today or in the future for preauthorizations and predeterminations. Typically line item dates of service should fall within the billing period if one is specified.",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Claim.billablePeriod"
      },
      "isSummary": true
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      } ],
      "path": "Claim.created",
      "requirements": "Need to record a timestamp for use by both the recipient and the issuer.",
      "min": 1,
      "definition": "The date this resource was created.",
      "isModifier": false,
      "short": "申請日期,YYYY-MM-DD,機構自填。健保署收案後另建受理日期,將呈現在ClaimResponse的disposition和created欄位。",
      "mapping": [ {
        "map": "Request.authoredOn",
        "identity": "workflow"
      }, {
        "map": "FiveWs.recorded",
        "identity": "w5"
      } ],
      "type": [ {
        "code": "dateTime"
      } ],
      "mustSupport": true,
      "max": "1",
      "id": "Claim.created",
      "comment": "This field is independent of the date of creation of the resource as it may reflect the creation date of a source document prior to digitization. Typically for claims all services must be completed as of this date.",
      "base": {
        "max": "1",
        "min": 1,
        "path": "Claim.created"
      },
      "isSummary": true
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      } ],
      "path": "Claim.enterer",
      "requirements": "Some jurisdictions require the contact information for personnel completing claims.",
      "min": 1,
      "definition": "Individual who created the claim, predetermination or preauthorization.",
      "isModifier": false,
      "short": "申請醫師,必須存在於醫事人員基本資料檔內,並於合約生效起迄日內。",
      "mapping": [ {
        "map": "FiveWs.author",
        "identity": "w5"
      } ],
      "type": [ {
        "code": "Reference",
        "targetProfile": [ "https://twcore.mohw.gov.tw/ig/pas/StructureDefinition/Practitioner-twpas" ]
      } ],
      "mustSupport": true,
      "max": "1",
      "id": "Claim.enterer",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Claim.enterer"
      },
      "isSummary": false
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      } ],
      "path": "Claim.insurer",
      "min": 0,
      "definition": "The Insurer who is target of the request.",
      "isModifier": false,
      "short": "Target",
      "mapping": [ {
        "map": "Request.performer",
        "identity": "workflow"
      } ],
      "type": [ {
        "code": "Reference",
        "targetProfile": [ "http://hl7.org/fhir/StructureDefinition/Organization" ]
      } ],
      "max": "1",
      "id": "Claim.insurer",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Claim.insurer"
      },
      "isSummary": true
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      } ],
      "path": "Claim.provider",
      "min": 1,
      "definition": "The provider which is responsible for the claim, predetermination or preauthorization.",
      "isModifier": false,
      "short": "醫事機構代碼,必須存在於醫事機構基本資料檔內。",
      "mapping": [ {
        "map": "Request.requester",
        "identity": "workflow"
      }, {
        "map": "FiveWs.source",
        "identity": "w5"
      } ],
      "type": [ {
        "code": "Reference",
        "targetProfile": [ "https://twcore.mohw.gov.tw/ig/pas/StructureDefinition/Organization-twpas" ]
      } ],
      "mustSupport": true,
      "max": "1",
      "id": "Claim.provider",
      "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.",
      "base": {
        "max": "1",
        "min": 1,
        "path": "Claim.provider"
      },
      "isSummary": true
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      } ],
      "path": "Claim.priority",
      "requirements": "The provider may need to indicate their processing requirements so that the processor can indicate if they are unable to comply.",
      "min": 1,
      "definition": "The provider-required urgency of processing the request. Typical values include: stat, routine deferred.",
      "isModifier": false,
      "short": "申請案件類別,1:一般事前審查申請 | 3:自主審查報備 | 4:緊急報備;專審系統識別用,對應PXXT_CODE(TMHB,001)。",
      "mapping": [ {
        "map": "Request.priority",
        "identity": "workflow"
      } ],
      "type": [ {
        "code": "CodeableConcept"
      } ],
      "mustSupport": true,
      "binding": {
        "strength": "required",
        "valueSet": "https://twcore.mohw.gov.tw/ig/pas/ValueSet/nhi-tmhb-type"
      },
      "max": "1",
      "id": "Claim.priority",
      "comment": "If a claim processor is unable to complete the processing as per the priority then they should generate and error and not process the request.",
      "base": {
        "max": "1",
        "min": 1,
        "path": "Claim.priority"
      },
      "isSummary": true
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      } ],
      "path": "Claim.fundsReserve",
      "requirements": "In the case of a Pre-Determination/Pre-Authorization the provider may request that funds in the amount of the expected Benefit be reserved ('Patient' or 'Provider') to pay for the Benefits determined on the subsequent claim(s). 'None' explicitly indicates no funds reserving is requested.",
      "min": 0,
      "definition": "A code to indicate whether and for whom funds are to be reserved for future claims.",
      "isModifier": false,
      "short": "For whom to reserve funds",
      "type": [ {
        "code": "CodeableConcept"
      } ],
      "binding": {
        "strength": "example",
        "valueSet": "http://hl7.org/fhir/ValueSet/fundsreserve",
        "extension": [ {
          "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
          "valueString": "FundsReserve"
        } ],
        "description": "For whom funds are to be reserved: (Patient, Provider, None)."
      },
      "alias": [ "Fund pre-allocation" ],
      "max": "1",
      "id": "Claim.fundsReserve",
      "comment": "This field is only used for preauthorizations.",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Claim.fundsReserve"
      },
      "isSummary": false
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      } ],
      "path": "Claim.related",
      "requirements": "For workplace or other accidents it is common to relate separate claims arising from the same event.",
      "min": 0,
      "definition": "Other claims which are related to this claim such as prior submissions or claims for related services or for the same event.",
      "isModifier": false,
      "short": "Prior or corollary claims",
      "type": [ {
        "code": "BackboneElement"
      } ],
      "max": "*",
      "id": "Claim.related",
      "comment": "For example,  for the original treatment and follow-up exams.",
      "base": {
        "max": "*",
        "min": 0,
        "path": "Claim.related"
      },
      "isSummary": false
    }, {
      "path": "Claim.related.id",
      "min": 0,
      "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
      "isModifier": false,
      "short": "Unique id for inter-element referencing",
      "mapping": [ {
        "map": "n/a",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "http://hl7.org/fhirpath/System.String",
        "extension": [ {
          "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
          "valueUrl": "string"
        } ]
      } ],
      "representation": [ "xmlAttr" ],
      "max": "1",
      "id": "Claim.related.id",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Element.id"
      },
      "isSummary": false
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      }, {
        "key": "ext-1",
        "human": "Must have either extensions or value[x], not both",
        "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
        "source": "http://hl7.org/fhir/StructureDefinition/Extension",
        "severity": "error",
        "expression": "extension.exists() != value.exists()"
      } ],
      "path": "Claim.related.extension",
      "min": 0,
      "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.",
      "isModifier": false,
      "short": "Additional content defined by implementations",
      "mapping": [ {
        "map": "n/a",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "Extension"
      } ],
      "alias": [ "extensions", "user content" ],
      "max": "*",
      "id": "Claim.related.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.",
      "base": {
        "max": "*",
        "min": 0,
        "path": "Element.extension"
      },
      "isSummary": false
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      }, {
        "key": "ext-1",
        "human": "Must have either extensions or value[x], not both",
        "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
        "source": "http://hl7.org/fhir/StructureDefinition/Extension",
        "severity": "error",
        "expression": "extension.exists() != value.exists()"
      } ],
      "path": "Claim.related.modifierExtension",
      "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](http://hl7.org/fhir/R4/extensibility.html#modifierExtension).",
      "min": 0,
      "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).",
      "isModifier": true,
      "short": "Extensions that cannot be ignored even if unrecognized",
      "mapping": [ {
        "map": "N/A",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "Extension"
      } ],
      "alias": [ "extensions", "user content", "modifiers" ],
      "max": "*",
      "id": "Claim.related.modifierExtension",
      "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.",
      "base": {
        "max": "*",
        "min": 0,
        "path": "BackboneElement.modifierExtension"
      },
      "isModifierReason": "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them",
      "isSummary": true
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      } ],
      "path": "Claim.related.claim",
      "requirements": "For workplace or other accidents it is common to relate separate claims arising from the same event.",
      "min": 0,
      "definition": "Reference to a related claim.",
      "isModifier": false,
      "short": "Reference to the related claim",
      "mapping": [ {
        "map": "Request.replaces",
        "identity": "workflow"
      } ],
      "type": [ {
        "code": "Reference",
        "targetProfile": [ "http://hl7.org/fhir/StructureDefinition/Claim" ]
      } ],
      "max": "1",
      "id": "Claim.related.claim",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Claim.related.claim"
      },
      "isSummary": false
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      } ],
      "path": "Claim.related.relationship",
      "requirements": "Some insurers need a declaration of the type of relationship.",
      "min": 0,
      "definition": "A code to convey how the claims are related.",
      "isModifier": false,
      "short": "How the reference claim is related",
      "type": [ {
        "code": "CodeableConcept"
      } ],
      "binding": {
        "strength": "example",
        "valueSet": "http://hl7.org/fhir/ValueSet/related-claim-relationship",
        "extension": [ {
          "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
          "valueString": "RelatedClaimRelationship"
        } ],
        "description": "Relationship of this claim to a related Claim."
      },
      "max": "1",
      "id": "Claim.related.relationship",
      "comment": "For example, prior claim or umbrella.",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Claim.related.relationship"
      },
      "isSummary": false
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      } ],
      "path": "Claim.related.reference",
      "requirements": "In cases where an event-triggered claim is being submitted to an insurer which requires a reference number to be specified on all exchanges.",
      "min": 0,
      "definition": "An alternate organizational reference to the case or file to which this particular claim pertains.",
      "isModifier": false,
      "short": "File or case reference",
      "type": [ {
        "code": "Identifier"
      } ],
      "max": "1",
      "id": "Claim.related.reference",
      "comment": "For example, Property/Casualty insurer claim # or Workers Compensation case # .",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Claim.related.reference"
      },
      "isSummary": false
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      } ],
      "path": "Claim.prescription",
      "requirements": "Required to authorize the dispensing of controlled substances and devices.",
      "min": 0,
      "definition": "Prescription to support the dispensing of pharmacy, device or vision products.",
      "isModifier": false,
      "short": "Prescription authorizing services and products",
      "type": [ {
        "code": "Reference",
        "targetProfile": [ "http://hl7.org/fhir/StructureDefinition/DeviceRequest", "http://hl7.org/fhir/StructureDefinition/MedicationRequest", "http://hl7.org/fhir/StructureDefinition/VisionPrescription" ]
      } ],
      "max": "1",
      "id": "Claim.prescription",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Claim.prescription"
      },
      "isSummary": false
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      } ],
      "path": "Claim.originalPrescription",
      "requirements": "Often required when a fulfiller varies what is fulfilled from that authorized on the original prescription.",
      "min": 0,
      "definition": "Original prescription which has been superseded by this prescription to support the dispensing of pharmacy services, medications or products.",
      "isModifier": false,
      "short": "Original prescription if superseded by fulfiller",
      "type": [ {
        "code": "Reference",
        "targetProfile": [ "http://hl7.org/fhir/StructureDefinition/DeviceRequest", "http://hl7.org/fhir/StructureDefinition/MedicationRequest", "http://hl7.org/fhir/StructureDefinition/VisionPrescription" ]
      } ],
      "max": "1",
      "id": "Claim.originalPrescription",
      "comment": "For example, a physician may prescribe a medication which the pharmacy determines is contraindicated, or for which the patient has an intolerance, and therefore issues a new prescription for an alternate medication which has the same therapeutic intent. The prescription from the pharmacy becomes the 'prescription' and that from the physician becomes the 'original prescription'.",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Claim.originalPrescription"
      },
      "isSummary": false
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      } ],
      "path": "Claim.payee",
      "requirements": "The provider needs to specify who they wish to be reimbursed and the claims processor needs express who they will reimburse.",
      "min": 0,
      "definition": "The party to be reimbursed for cost of the products and services according to the terms of the policy.",
      "isModifier": false,
      "short": "Recipient of benefits payable",
      "type": [ {
        "code": "BackboneElement"
      } ],
      "max": "1",
      "id": "Claim.payee",
      "comment": "Often providers agree to receive the benefits payable to reduce the near-term costs to the patient. The insurer may decline to pay the provider and choose to pay the subscriber instead.",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Claim.payee"
      },
      "isSummary": false
    }, {
      "path": "Claim.payee.id",
      "min": 0,
      "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
      "isModifier": false,
      "short": "Unique id for inter-element referencing",
      "mapping": [ {
        "map": "n/a",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "http://hl7.org/fhirpath/System.String",
        "extension": [ {
          "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
          "valueUrl": "string"
        } ]
      } ],
      "representation": [ "xmlAttr" ],
      "max": "1",
      "id": "Claim.payee.id",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Element.id"
      },
      "isSummary": false
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      }, {
        "key": "ext-1",
        "human": "Must have either extensions or value[x], not both",
        "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
        "source": "http://hl7.org/fhir/StructureDefinition/Extension",
        "severity": "error",
        "expression": "extension.exists() != value.exists()"
      } ],
      "path": "Claim.payee.extension",
      "min": 0,
      "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.",
      "isModifier": false,
      "short": "Additional content defined by implementations",
      "mapping": [ {
        "map": "n/a",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "Extension"
      } ],
      "alias": [ "extensions", "user content" ],
      "max": "*",
      "id": "Claim.payee.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.",
      "base": {
        "max": "*",
        "min": 0,
        "path": "Element.extension"
      },
      "isSummary": false
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      }, {
        "key": "ext-1",
        "human": "Must have either extensions or value[x], not both",
        "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
        "source": "http://hl7.org/fhir/StructureDefinition/Extension",
        "severity": "error",
        "expression": "extension.exists() != value.exists()"
      } ],
      "path": "Claim.payee.modifierExtension",
      "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](http://hl7.org/fhir/R4/extensibility.html#modifierExtension).",
      "min": 0,
      "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).",
      "isModifier": true,
      "short": "Extensions that cannot be ignored even if unrecognized",
      "mapping": [ {
        "map": "N/A",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "Extension"
      } ],
      "alias": [ "extensions", "user content", "modifiers" ],
      "max": "*",
      "id": "Claim.payee.modifierExtension",
      "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.",
      "base": {
        "max": "*",
        "min": 0,
        "path": "BackboneElement.modifierExtension"
      },
      "isModifierReason": "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them",
      "isSummary": true
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      } ],
      "path": "Claim.payee.type",
      "requirements": "Need to know who should receive payment with the most common situations being the Provider (assignment of benefits) or the Subscriber.",
      "min": 1,
      "definition": "Type of Party to be reimbursed: subscriber, provider, other.",
      "isModifier": false,
      "short": "Category of recipient",
      "type": [ {
        "code": "CodeableConcept"
      } ],
      "binding": {
        "strength": "example",
        "valueSet": "http://hl7.org/fhir/ValueSet/payeetype",
        "extension": [ {
          "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
          "valueString": "PayeeType"
        } ],
        "description": "A code for the party to be reimbursed."
      },
      "max": "1",
      "id": "Claim.payee.type",
      "base": {
        "max": "1",
        "min": 1,
        "path": "Claim.payee.type"
      },
      "isSummary": false
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      } ],
      "path": "Claim.payee.party",
      "requirements": "Need to provide demographics if the payee is not 'subscriber' nor 'provider'.",
      "min": 0,
      "definition": "Reference to the individual or organization to whom any payment will be made.",
      "isModifier": false,
      "short": "Recipient reference",
      "type": [ {
        "code": "Reference",
        "targetProfile": [ "http://hl7.org/fhir/StructureDefinition/Practitioner", "http://hl7.org/fhir/StructureDefinition/PractitionerRole", "http://hl7.org/fhir/StructureDefinition/Organization", "http://hl7.org/fhir/StructureDefinition/Patient", "http://hl7.org/fhir/StructureDefinition/RelatedPerson" ]
      } ],
      "max": "1",
      "id": "Claim.payee.party",
      "comment": "Not required if the payee is 'subscriber' or 'provider'.",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Claim.payee.party"
      },
      "isSummary": false
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      } ],
      "path": "Claim.referral",
      "requirements": "Some insurers require proof of referral to pay for services or to pay specialist rates for services.",
      "min": 0,
      "definition": "A reference to a referral resource.",
      "isModifier": false,
      "short": "Treatment referral",
      "mapping": [ {
        "map": "FiveWs.cause",
        "identity": "w5"
      } ],
      "type": [ {
        "code": "Reference",
        "targetProfile": [ "http://hl7.org/fhir/StructureDefinition/ServiceRequest" ]
      } ],
      "max": "1",
      "id": "Claim.referral",
      "comment": "The referral resource which lists the date, practitioner, reason and other supporting information.",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Claim.referral"
      },
      "isSummary": false
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      } ],
      "path": "Claim.facility",
      "requirements": "Insurance adjudication can be dependant on where services were delivered.",
      "min": 0,
      "definition": "Facility where the services were provided.",
      "isModifier": false,
      "short": "Servicing facility",
      "mapping": [ {
        "map": "FiveWs.where[x]",
        "identity": "w5"
      } ],
      "type": [ {
        "code": "Reference",
        "targetProfile": [ "http://hl7.org/fhir/StructureDefinition/Location" ]
      } ],
      "max": "1",
      "id": "Claim.facility",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Claim.facility"
      },
      "isSummary": false
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      } ],
      "path": "Claim.careTeam",
      "requirements": "Common to identify the responsible and supporting practitioners.",
      "min": 0,
      "definition": "The members of the team who provided the products and services.",
      "isModifier": false,
      "short": "Members of the care team",
      "type": [ {
        "code": "BackboneElement"
      } ],
      "max": "*",
      "id": "Claim.careTeam",
      "base": {
        "max": "*",
        "min": 0,
        "path": "Claim.careTeam"
      },
      "isSummary": false
    }, {
      "path": "Claim.careTeam.id",
      "min": 0,
      "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
      "isModifier": false,
      "short": "Unique id for inter-element referencing",
      "mapping": [ {
        "map": "n/a",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "http://hl7.org/fhirpath/System.String",
        "extension": [ {
          "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
          "valueUrl": "string"
        } ]
      } ],
      "representation": [ "xmlAttr" ],
      "max": "1",
      "id": "Claim.careTeam.id",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Element.id"
      },
      "isSummary": false
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      }, {
        "key": "ext-1",
        "human": "Must have either extensions or value[x], not both",
        "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
        "source": "http://hl7.org/fhir/StructureDefinition/Extension",
        "severity": "error",
        "expression": "extension.exists() != value.exists()"
      } ],
      "path": "Claim.careTeam.extension",
      "min": 0,
      "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.",
      "isModifier": false,
      "short": "Additional content defined by implementations",
      "mapping": [ {
        "map": "n/a",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "Extension"
      } ],
      "alias": [ "extensions", "user content" ],
      "max": "*",
      "id": "Claim.careTeam.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.",
      "base": {
        "max": "*",
        "min": 0,
        "path": "Element.extension"
      },
      "isSummary": false
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      }, {
        "key": "ext-1",
        "human": "Must have either extensions or value[x], not both",
        "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
        "source": "http://hl7.org/fhir/StructureDefinition/Extension",
        "severity": "error",
        "expression": "extension.exists() != value.exists()"
      } ],
      "path": "Claim.careTeam.modifierExtension",
      "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](http://hl7.org/fhir/R4/extensibility.html#modifierExtension).",
      "min": 0,
      "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).",
      "isModifier": true,
      "short": "Extensions that cannot be ignored even if unrecognized",
      "mapping": [ {
        "map": "N/A",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "Extension"
      } ],
      "alias": [ "extensions", "user content", "modifiers" ],
      "max": "*",
      "id": "Claim.careTeam.modifierExtension",
      "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.",
      "base": {
        "max": "*",
        "min": 0,
        "path": "BackboneElement.modifierExtension"
      },
      "isModifierReason": "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them",
      "isSummary": true
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      } ],
      "path": "Claim.careTeam.sequence",
      "requirements": "Necessary to maintain the order of the care team and provide a mechanism to link individuals to claim details.",
      "min": 1,
      "definition": "A number to uniquely identify care team entries.",
      "isModifier": false,
      "short": "Order of care team",
      "type": [ {
        "code": "positiveInt"
      } ],
      "max": "1",
      "id": "Claim.careTeam.sequence",
      "base": {
        "max": "1",
        "min": 1,
        "path": "Claim.careTeam.sequence"
      },
      "isSummary": false
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      } ],
      "path": "Claim.careTeam.provider",
      "requirements": "Often a regulatory requirement to specify the responsible provider.",
      "min": 1,
      "definition": "Member of the team who provided the product or service.",
      "isModifier": false,
      "short": "Practitioner or organization",
      "mapping": [ {
        "map": "FiveWs.actor",
        "identity": "w5"
      } ],
      "type": [ {
        "code": "Reference",
        "targetProfile": [ "http://hl7.org/fhir/StructureDefinition/Practitioner", "http://hl7.org/fhir/StructureDefinition/PractitionerRole", "http://hl7.org/fhir/StructureDefinition/Organization" ]
      } ],
      "max": "1",
      "id": "Claim.careTeam.provider",
      "base": {
        "max": "1",
        "min": 1,
        "path": "Claim.careTeam.provider"
      },
      "isSummary": false
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      } ],
      "path": "Claim.careTeam.responsible",
      "requirements": "When multiple parties are present it is required to distinguish the lead or responsible individual.",
      "min": 0,
      "definition": "The party who is billing and/or responsible for the claimed products or services.",
      "isModifier": false,
      "short": "Indicator of the lead practitioner",
      "type": [ {
        "code": "boolean"
      } ],
      "max": "1",
      "id": "Claim.careTeam.responsible",
      "comment": "Responsible might not be required when there is only a single provider listed.",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Claim.careTeam.responsible"
      },
      "isSummary": false
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      } ],
      "path": "Claim.careTeam.role",
      "requirements": "When multiple parties are present it is required to distinguish the roles performed by each member.",
      "min": 0,
      "definition": "The lead, assisting or supervising practitioner and their discipline if a multidisciplinary team.",
      "isModifier": false,
      "short": "Function within the team",
      "type": [ {
        "code": "CodeableConcept"
      } ],
      "binding": {
        "strength": "example",
        "valueSet": "http://hl7.org/fhir/ValueSet/claim-careteamrole",
        "extension": [ {
          "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
          "valueString": "CareTeamRole"
        } ],
        "description": "The role codes for the care team members."
      },
      "max": "1",
      "id": "Claim.careTeam.role",
      "comment": "Role might not be required when there is only a single provider listed.",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Claim.careTeam.role"
      },
      "isSummary": false
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      } ],
      "path": "Claim.careTeam.qualification",
      "requirements": "Need to specify which qualification a provider is delivering the product or service under.",
      "min": 0,
      "definition": "The qualification of the practitioner which is applicable for this service.",
      "isModifier": false,
      "short": "Practitioner credential or specialization",
      "type": [ {
        "code": "CodeableConcept"
      } ],
      "binding": {
        "strength": "example",
        "valueSet": "http://hl7.org/fhir/ValueSet/provider-qualification",
        "extension": [ {
          "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
          "valueString": "ProviderQualification"
        } ],
        "description": "Provider professional qualifications."
      },
      "max": "1",
      "id": "Claim.careTeam.qualification",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Claim.careTeam.qualification"
      },
      "isSummary": false
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      } ],
      "path": "Claim.supportingInfo",
      "requirements": "Typically these information codes are required to support the services rendered or the adjudication of the services rendered.",
      "min": 2,
      "definition": "Additional information codes regarding exceptions, special considerations, the condition, situation, prior or concurrent issues.",
      "isModifier": false,
      "short": "Supporting information",
      "mapping": [ {
        "map": "Request.supportingInfo",
        "identity": "workflow"
      } ],
      "slicing": {
        "rules": "open",
        "discriminator": [ {
          "path": "category",
          "type": "value"
        } ]
      },
      "type": [ {
        "code": "BackboneElement"
      } ],
      "alias": [ "Attachments\nException Codes\nOccurrence Codes\nValue codes" ],
      "max": "*",
      "id": "Claim.supportingInfo",
      "comment": "Often there are multiple jurisdiction specific valuesets which are required.",
      "base": {
        "max": "*",
        "min": 0,
        "path": "Claim.supportingInfo"
      },
      "isSummary": false
    }, {
      "path": "Claim.supportingInfo.id",
      "min": 0,
      "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
      "isModifier": false,
      "short": "Unique id for inter-element referencing",
      "mapping": [ {
        "map": "n/a",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "http://hl7.org/fhirpath/System.String",
        "extension": [ {
          "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
          "valueUrl": "string"
        } ]
      } ],
      "representation": [ "xmlAttr" ],
      "max": "1",
      "id": "Claim.supportingInfo.id",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Element.id"
      },
      "isSummary": false
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      }, {
        "key": "ext-1",
        "human": "Must have either extensions or value[x], not both",
        "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
        "source": "http://hl7.org/fhir/StructureDefinition/Extension",
        "severity": "error",
        "expression": "extension.exists() != value.exists()"
      } ],
      "path": "Claim.supportingInfo.extension",
      "min": 0,
      "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.",
      "isModifier": false,
      "short": "Additional content defined by implementations",
      "mapping": [ {
        "map": "n/a",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "Extension"
      } ],
      "alias": [ "extensions", "user content" ],
      "max": "*",
      "id": "Claim.supportingInfo.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.",
      "base": {
        "max": "*",
        "min": 0,
        "path": "Element.extension"
      },
      "isSummary": false
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      }, {
        "key": "ext-1",
        "human": "Must have either extensions or value[x], not both",
        "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
        "source": "http://hl7.org/fhir/StructureDefinition/Extension",
        "severity": "error",
        "expression": "extension.exists() != value.exists()"
      } ],
      "path": "Claim.supportingInfo.modifierExtension",
      "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](http://hl7.org/fhir/R4/extensibility.html#modifierExtension).",
      "min": 0,
      "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).",
      "isModifier": true,
      "short": "Extensions that cannot be ignored even if unrecognized",
      "mapping": [ {
        "map": "N/A",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "Extension"
      } ],
      "alias": [ "extensions", "user content", "modifiers" ],
      "max": "*",
      "id": "Claim.supportingInfo.modifierExtension",
      "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.",
      "base": {
        "max": "*",
        "min": 0,
        "path": "BackboneElement.modifierExtension"
      },
      "isModifierReason": "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them",
      "isSummary": true
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      } ],
      "path": "Claim.supportingInfo.sequence",
      "requirements": "Necessary to maintain the order of the supporting information items and provide a mechanism to link to claim details.",
      "min": 1,
      "definition": "A number to uniquely identify supporting information entries.",
      "isModifier": false,
      "short": "因FHIR設計而必填、自動流水號(建議每次加1)、不得重複,作為每筆supportingInfo的唯一識別碼。最後一筆sequence號碼即表示總筆數。",
      "type": [ {
        "code": "positiveInt"
      } ],
      "max": "1",
      "id": "Claim.supportingInfo.sequence",
      "base": {
        "max": "1",
        "min": 1,
        "path": "Claim.supportingInfo.sequence"
      },
      "isSummary": false
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      } ],
      "path": "Claim.supportingInfo.category",
      "requirements": "Required to group or associate information items with common characteristics. For example: admission information or prior treatments.",
      "min": 1,
      "definition": "The general class of the information supplied: information; exception; accident, employment; onset, etc.",
      "isModifier": false,
      "short": "Classification of the supplied information",
      "type": [ {
        "code": "CodeableConcept"
      } ],
      "binding": {
        "strength": "required",
        "valueSet": "https://twcore.mohw.gov.tw/ig/pas/ValueSet/nhi-supporting-info-type"
      },
      "max": "1",
      "id": "Claim.supportingInfo.category",
      "comment": "This may contain a category for the local bill type codes.",
      "base": {
        "max": "1",
        "min": 1,
        "path": "Claim.supportingInfo.category"
      },
      "isSummary": false
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      } ],
      "path": "Claim.supportingInfo.code",
      "requirements": "Required to identify the kind of additional information.",
      "min": 0,
      "definition": "System and code pertaining to the specific information regarding special conditions relating to the setting, treatment or patient  for which care is sought.",
      "isModifier": false,
      "short": "Type of information",
      "type": [ {
        "code": "CodeableConcept"
      } ],
      "binding": {
        "strength": "example",
        "valueSet": "http://hl7.org/fhir/ValueSet/claim-exception",
        "extension": [ {
          "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
          "valueString": "InformationCode"
        } ],
        "description": "The valuset used for additional information codes."
      },
      "max": "1",
      "id": "Claim.supportingInfo.code",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Claim.supportingInfo.code"
      },
      "isSummary": false
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      } ],
      "path": "Claim.supportingInfo.timing[x]",
      "min": 0,
      "definition": "The date when or period to which this information refers.",
      "isModifier": false,
      "short": "When it occurred",
      "type": [ {
        "code": "date"
      }, {
        "code": "Period"
      } ],
      "max": "1",
      "id": "Claim.supportingInfo.timing[x]",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Claim.supportingInfo.timing[x]"
      },
      "isSummary": false
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      } ],
      "path": "Claim.supportingInfo.value[x]",
      "requirements": "To convey the data content to be provided when the information is more than a simple code or period.",
      "min": 0,
      "definition": "Additional data or information such as resources, documents, images etc. including references to the data or the actual inclusion of the data.",
      "isModifier": false,
      "short": "Data to be provided",
      "type": [ {
        "code": "boolean"
      }, {
        "code": "string"
      }, {
        "code": "Quantity"
      }, {
        "code": "Attachment"
      }, {
        "code": "Reference",
        "targetProfile": [ "http://hl7.org/fhir/StructureDefinition/Resource" ]
      } ],
      "max": "1",
      "id": "Claim.supportingInfo.value[x]",
      "comment": "Could be used to provide references to other resources, document. For example could contain a PDF in an Attachment of the Police Report for an Accident.",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Claim.supportingInfo.value[x]"
      },
      "isSummary": false
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      } ],
      "path": "Claim.supportingInfo.reason",
      "requirements": "Needed when the supporting information has both a date and amount/value and requires explanation.",
      "min": 0,
      "definition": "Provides the reason in the situation where a reason code is required in addition to the content.",
      "isModifier": false,
      "short": "Explanation for the information",
      "type": [ {
        "code": "CodeableConcept"
      } ],
      "binding": {
        "strength": "example",
        "valueSet": "http://hl7.org/fhir/ValueSet/missing-tooth-reason",
        "extension": [ {
          "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
          "valueString": "MissingReason"
        } ],
        "description": "Reason codes for the missing teeth."
      },
      "max": "1",
      "id": "Claim.supportingInfo.reason",
      "comment": "For example: the reason for the additional stay, or why a tooth is  missing.",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Claim.supportingInfo.reason"
      },
      "isSummary": false
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      } ],
      "path": "Claim.supportingInfo",
      "requirements": "Typically these information codes are required to support the services rendered or the adjudication of the services rendered.",
      "min": 1,
      "definition": "Additional information codes regarding exceptions, special considerations, the condition, situation, prior or concurrent issues.",
      "isModifier": false,
      "short": "病人體重",
      "mapping": [ {
        "map": "Request.supportingInfo",
        "identity": "workflow"
      } ],
      "type": [ {
        "code": "BackboneElement"
      } ],
      "sliceName": "weight",
      "alias": [ "Attachments\nException Codes\nOccurrence Codes\nValue codes" ],
      "max": "1",
      "id": "Claim.supportingInfo:weight",
      "comment": "Often there are multiple jurisdiction specific valuesets which are required.",
      "base": {
        "max": "*",
        "min": 0,
        "path": "Claim.supportingInfo"
      },
      "isSummary": false
    }, {
      "path": "Claim.supportingInfo.id",
      "min": 0,
      "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
      "isModifier": false,
      "short": "Unique id for inter-element referencing",
      "mapping": [ {
        "map": "n/a",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "http://hl7.org/fhirpath/System.String",
        "extension": [ {
          "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
          "valueUrl": "string"
        } ]
      } ],
      "representation": [ "xmlAttr" ],
      "max": "1",
      "id": "Claim.supportingInfo:weight.id",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Element.id"
      },
      "isSummary": false
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      }, {
        "key": "ext-1",
        "human": "Must have either extensions or value[x], not both",
        "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
        "source": "http://hl7.org/fhir/StructureDefinition/Extension",
        "severity": "error",
        "expression": "extension.exists() != value.exists()"
      } ],
      "path": "Claim.supportingInfo.extension",
      "min": 0,
      "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.",
      "isModifier": false,
      "short": "Additional content defined by implementations",
      "mapping": [ {
        "map": "n/a",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "Extension"
      } ],
      "alias": [ "extensions", "user content" ],
      "max": "*",
      "id": "Claim.supportingInfo:weight.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.",
      "base": {
        "max": "*",
        "min": 0,
        "path": "Element.extension"
      },
      "isSummary": false
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      }, {
        "key": "ext-1",
        "human": "Must have either extensions or value[x], not both",
        "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
        "source": "http://hl7.org/fhir/StructureDefinition/Extension",
        "severity": "error",
        "expression": "extension.exists() != value.exists()"
      } ],
      "path": "Claim.supportingInfo.modifierExtension",
      "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](http://hl7.org/fhir/R4/extensibility.html#modifierExtension).",
      "min": 0,
      "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).",
      "isModifier": true,
      "short": "Extensions that cannot be ignored even if unrecognized",
      "mapping": [ {
        "map": "N/A",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "Extension"
      } ],
      "alias": [ "extensions", "user content", "modifiers" ],
      "max": "*",
      "id": "Claim.supportingInfo:weight.modifierExtension",
      "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.",
      "base": {
        "max": "*",
        "min": 0,
        "path": "BackboneElement.modifierExtension"
      },
      "isModifierReason": "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them",
      "isSummary": true
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      } ],
      "path": "Claim.supportingInfo.sequence",
      "requirements": "Necessary to maintain the order of the supporting information items and provide a mechanism to link to claim details.",
      "min": 1,
      "definition": "A number to uniquely identify supporting information entries.",
      "isModifier": false,
      "short": "Information instance identifier",
      "type": [ {
        "code": "positiveInt"
      } ],
      "max": "1",
      "id": "Claim.supportingInfo:weight.sequence",
      "base": {
        "max": "1",
        "min": 1,
        "path": "Claim.supportingInfo.sequence"
      },
      "isSummary": false
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      } ],
      "path": "Claim.supportingInfo.category",
      "requirements": "Required to group or associate information items with common characteristics. For example: admission information or prior treatments.",
      "min": 1,
      "definition": "The general class of the information supplied: information; exception; accident, employment; onset, etc.",
      "isModifier": false,
      "short": "Classification of the supplied information",
      "type": [ {
        "code": "CodeableConcept"
      } ],
      "binding": {
        "strength": "example",
        "valueSet": "http://hl7.org/fhir/ValueSet/claim-informationcategory",
        "extension": [ {
          "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
          "valueString": "InformationCategory"
        } ],
        "description": "The valuset used for additional information category codes."
      },
      "max": "1",
      "id": "Claim.supportingInfo:weight.category",
      "comment": "This may contain a category for the local bill type codes.",
      "patternCodeableConcept": {
        "coding": [ {
          "code": "weight",
          "system": "https://twcore.mohw.gov.tw/ig/pas/CodeSystem/nhi-supporting-info-type"
        } ]
      },
      "base": {
        "max": "1",
        "min": 1,
        "path": "Claim.supportingInfo.category"
      },
      "isSummary": false
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      } ],
      "path": "Claim.supportingInfo.code",
      "requirements": "Required to identify the kind of additional information.",
      "min": 0,
      "definition": "System and code pertaining to the specific information regarding special conditions relating to the setting, treatment or patient  for which care is sought.",
      "isModifier": false,
      "short": "Type of information",
      "type": [ {
        "code": "CodeableConcept"
      } ],
      "binding": {
        "strength": "example",
        "valueSet": "http://hl7.org/fhir/ValueSet/claim-exception",
        "extension": [ {
          "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
          "valueString": "InformationCode"
        } ],
        "description": "The valuset used for additional information codes."
      },
      "max": "1",
      "id": "Claim.supportingInfo:weight.code",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Claim.supportingInfo.code"
      },
      "isSummary": false
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      } ],
      "path": "Claim.supportingInfo.timing[x]",
      "min": 0,
      "definition": "The date when or period to which this information refers.",
      "isModifier": false,
      "short": "When it occurred",
      "type": [ {
        "code": "date"
      }, {
        "code": "Period"
      } ],
      "max": "0",
      "id": "Claim.supportingInfo:weight.timing[x]",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Claim.supportingInfo.timing[x]"
      },
      "isSummary": false
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      } ],
      "path": "Claim.supportingInfo.value[x]",
      "requirements": "To convey the data content to be provided when the information is more than a simple code or period.",
      "min": 1,
      "definition": "Additional data or information such as resources, documents, images etc. including references to the data or the actual inclusion of the data.",
      "isModifier": false,
      "short": "Data to be provided",
      "type": [ {
        "code": "Quantity"
      } ],
      "mustSupport": true,
      "max": "1",
      "id": "Claim.supportingInfo:weight.value[x]",
      "comment": "Could be used to provide references to other resources, document. For example could contain a PDF in an Attachment of the Police Report for an Accident.",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Claim.supportingInfo.value[x]"
      },
      "isSummary": false
    }, {
      "path": "Claim.supportingInfo.value[x].id",
      "min": 0,
      "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
      "isModifier": false,
      "short": "Unique id for inter-element referencing",
      "mapping": [ {
        "map": "n/a",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "http://hl7.org/fhirpath/System.String",
        "extension": [ {
          "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
          "valueUrl": "string"
        } ]
      } ],
      "representation": [ "xmlAttr" ],
      "max": "1",
      "id": "Claim.supportingInfo:weight.value[x].id",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Element.id"
      },
      "isSummary": false
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      }, {
        "key": "ext-1",
        "human": "Must have either extensions or value[x], not both",
        "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
        "source": "http://hl7.org/fhir/StructureDefinition/Extension",
        "severity": "error",
        "expression": "extension.exists() != value.exists()"
      } ],
      "path": "Claim.supportingInfo.value[x].extension",
      "min": 0,
      "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.",
      "isModifier": false,
      "short": "Additional content defined by implementations",
      "mapping": [ {
        "map": "n/a",
        "identity": "rim"
      } ],
      "slicing": {
        "rules": "open",
        "description": "Extensions are always sliced by (at least) url",
        "discriminator": [ {
          "path": "url",
          "type": "value"
        } ]
      },
      "type": [ {
        "code": "Extension"
      } ],
      "alias": [ "extensions", "user content" ],
      "max": "*",
      "id": "Claim.supportingInfo:weight.value[x].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.",
      "base": {
        "max": "*",
        "min": 0,
        "path": "Element.extension"
      },
      "isSummary": false
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      }, {
        "key": "HTWT",
        "human": "整數至多3位數及小數至多2位數",
        "source": "https://twcore.mohw.gov.tw/ig/pas/StructureDefinition/Claim-twpas",
        "severity": "error",
        "expression": "value.toString().matches('^[0-9]{1,3}(.[0-9]{1,2})?$')"
      } ],
      "path": "Claim.supportingInfo.value[x].value",
      "requirements": "Precision is handled implicitly in almost all cases of measurement.",
      "min": 1,
      "definition": "The value of the measured amount. The value includes an implicit precision in the presentation of the value.",
      "isModifier": false,
      "short": "體重,整數至多3位數及小數至多2位數。",
      "mapping": [ {
        "map": "SN.2  / CQ - N/A",
        "identity": "v2"
      }, {
        "map": "PQ.value, CO.value, MO.value, IVL.high or IVL.low depending on the value",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "decimal"
      } ],
      "mustSupport": true,
      "max": "1",
      "id": "Claim.supportingInfo:weight.value[x].value",
      "comment": "The implicit precision in the value should always be honored. Monetary values have their own rules for handling precision (refer to standard accounting text books).",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Quantity.value"
      },
      "isSummary": true
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      } ],
      "path": "Claim.supportingInfo.value[x].comparator",
      "requirements": "Need a framework for handling measures where the value is <5ug/L or >400mg/L due to the limitations of measuring methodology.",
      "min": 0,
      "definition": "How the value should be understood and represented - whether the actual value is greater or less than the stated value due to measurement issues; e.g. if the comparator is \"<\" , then the real value is < stated value.",
      "isModifier": true,
      "short": "< | <= | >= | > - how to understand the value",
      "mapping": [ {
        "map": "SN.1  / CQ.1",
        "identity": "v2"
      }, {
        "map": "IVL properties",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "code"
      } ],
      "meaningWhenMissing": "If there is no comparator, then there is no modification of the value",
      "binding": {
        "strength": "required",
        "valueSet": "http://hl7.org/fhir/ValueSet/quantity-comparator|4.0.1",
        "extension": [ {
          "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
          "valueString": "QuantityComparator"
        } ],
        "description": "How the Quantity should be understood and represented."
      },
      "max": "1",
      "id": "Claim.supportingInfo:weight.value[x].comparator",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Quantity.comparator"
      },
      "isModifierReason": "This is labeled as \"Is Modifier\" because the comparator modifies the interpretation of the value significantly. If there is no comparator, then there is no modification of the value",
      "isSummary": true
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      } ],
      "path": "Claim.supportingInfo.value[x].unit",
      "requirements": "There are many representations for units of measure and in many contexts, particular representations are fixed and required. I.e. mcg for micrograms.",
      "min": 0,
      "definition": "A human-readable form of the unit.",
      "isModifier": false,
      "short": "Unit representation",
      "mapping": [ {
        "map": "(see OBX.6 etc.) / CQ.2",
        "identity": "v2"
      }, {
        "map": "PQ.unit",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "string"
      } ],
      "extension": [ {
        "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable",
        "valueBoolean": true
      } ],
      "max": "1",
      "id": "Claim.supportingInfo:weight.value[x].unit",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Quantity.unit"
      },
      "isSummary": true
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      } ],
      "path": "Claim.supportingInfo.value[x].system",
      "requirements": "Need to know the system that defines the coded form of the unit.",
      "min": 1,
      "definition": "The identification of the system that provides the coded form of the unit.",
      "isModifier": false,
      "short": "System that defines coded unit form",
      "mapping": [ {
        "map": "(see OBX.6 etc.) / CQ.2",
        "identity": "v2"
      }, {
        "map": "CO.codeSystem, PQ.translation.codeSystem",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "uri"
      } ],
      "max": "1",
      "id": "Claim.supportingInfo:weight.value[x].system",
      "condition": [ "qty-3" ],
      "base": {
        "max": "1",
        "min": 0,
        "path": "Quantity.system"
      },
      "patternUri": "http://unitsofmeasure.org",
      "isSummary": true
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      } ],
      "path": "Claim.supportingInfo.value[x].code",
      "requirements": "Need a computable form of the unit that is fixed across all forms. UCUM provides this for quantities, but SNOMED CT provides many units of interest.",
      "min": 1,
      "definition": "A computer processable form of the unit in some unit representation system.",
      "isModifier": false,
      "short": "Coded form of the unit",
      "mapping": [ {
        "map": "(see OBX.6 etc.) / CQ.2",
        "identity": "v2"
      }, {
        "map": "PQ.code, MO.currency, PQ.translation.code",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "code"
      } ],
      "patternCode": "kg",
      "max": "1",
      "id": "Claim.supportingInfo:weight.value[x].code",
      "comment": "The preferred system is UCUM, but SNOMED CT can also be used (for customary units) or ISO 4217 for currency.  The context of use may additionally require a code from a particular system.",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Quantity.code"
      },
      "isSummary": true
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      } ],
      "path": "Claim.supportingInfo.reason",
      "requirements": "Needed when the supporting information has both a date and amount/value and requires explanation.",
      "min": 0,
      "definition": "Provides the reason in the situation where a reason code is required in addition to the content.",
      "isModifier": false,
      "short": "Explanation for the information",
      "type": [ {
        "code": "CodeableConcept"
      } ],
      "binding": {
        "strength": "example",
        "valueSet": "http://hl7.org/fhir/ValueSet/missing-tooth-reason",
        "extension": [ {
          "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
          "valueString": "MissingReason"
        } ],
        "description": "Reason codes for the missing teeth."
      },
      "max": "1",
      "id": "Claim.supportingInfo:weight.reason",
      "comment": "For example: the reason for the additional stay, or why a tooth is  missing.",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Claim.supportingInfo.reason"
      },
      "isSummary": false
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      } ],
      "path": "Claim.supportingInfo",
      "requirements": "Typically these information codes are required to support the services rendered or the adjudication of the services rendered.",
      "min": 1,
      "definition": "Additional information codes regarding exceptions, special considerations, the condition, situation, prior or concurrent issues.",
      "isModifier": false,
      "short": "病人身高",
      "mapping": [ {
        "map": "Request.supportingInfo",
        "identity": "workflow"
      } ],
      "type": [ {
        "code": "BackboneElement"
      } ],
      "sliceName": "height",
      "alias": [ "Attachments\nException Codes\nOccurrence Codes\nValue codes" ],
      "max": "1",
      "id": "Claim.supportingInfo:height",
      "comment": "Often there are multiple jurisdiction specific valuesets which are required.",
      "base": {
        "max": "*",
        "min": 0,
        "path": "Claim.supportingInfo"
      },
      "isSummary": false
    }, {
      "path": "Claim.supportingInfo.id",
      "min": 0,
      "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
      "isModifier": false,
      "short": "Unique id for inter-element referencing",
      "mapping": [ {
        "map": "n/a",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "http://hl7.org/fhirpath/System.String",
        "extension": [ {
          "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
          "valueUrl": "string"
        } ]
      } ],
      "representation": [ "xmlAttr" ],
      "max": "1",
      "id": "Claim.supportingInfo:height.id",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Element.id"
      },
      "isSummary": false
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      }, {
        "key": "ext-1",
        "human": "Must have either extensions or value[x], not both",
        "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
        "source": "http://hl7.org/fhir/StructureDefinition/Extension",
        "severity": "error",
        "expression": "extension.exists() != value.exists()"
      } ],
      "path": "Claim.supportingInfo.extension",
      "min": 0,
      "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.",
      "isModifier": false,
      "short": "Additional content defined by implementations",
      "mapping": [ {
        "map": "n/a",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "Extension"
      } ],
      "alias": [ "extensions", "user content" ],
      "max": "*",
      "id": "Claim.supportingInfo:height.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.",
      "base": {
        "max": "*",
        "min": 0,
        "path": "Element.extension"
      },
      "isSummary": false
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      }, {
        "key": "ext-1",
        "human": "Must have either extensions or value[x], not both",
        "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
        "source": "http://hl7.org/fhir/StructureDefinition/Extension",
        "severity": "error",
        "expression": "extension.exists() != value.exists()"
      } ],
      "path": "Claim.supportingInfo.modifierExtension",
      "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](http://hl7.org/fhir/R4/extensibility.html#modifierExtension).",
      "min": 0,
      "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).",
      "isModifier": true,
      "short": "Extensions that cannot be ignored even if unrecognized",
      "mapping": [ {
        "map": "N/A",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "Extension"
      } ],
      "alias": [ "extensions", "user content", "modifiers" ],
      "max": "*",
      "id": "Claim.supportingInfo:height.modifierExtension",
      "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.",
      "base": {
        "max": "*",
        "min": 0,
        "path": "BackboneElement.modifierExtension"
      },
      "isModifierReason": "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them",
      "isSummary": true
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      } ],
      "path": "Claim.supportingInfo.sequence",
      "requirements": "Necessary to maintain the order of the supporting information items and provide a mechanism to link to claim details.",
      "min": 1,
      "definition": "A number to uniquely identify supporting information entries.",
      "isModifier": false,
      "short": "Information instance identifier",
      "type": [ {
        "code": "positiveInt"
      } ],
      "max": "1",
      "id": "Claim.supportingInfo:height.sequence",
      "base": {
        "max": "1",
        "min": 1,
        "path": "Claim.supportingInfo.sequence"
      },
      "isSummary": false
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      } ],
      "path": "Claim.supportingInfo.category",
      "requirements": "Required to group or associate information items with common characteristics. For example: admission information or prior treatments.",
      "min": 1,
      "definition": "The general class of the information supplied: information; exception; accident, employment; onset, etc.",
      "isModifier": false,
      "short": "Classification of the supplied information",
      "type": [ {
        "code": "CodeableConcept"
      } ],
      "binding": {
        "strength": "example",
        "valueSet": "http://hl7.org/fhir/ValueSet/claim-informationcategory",
        "extension": [ {
          "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
          "valueString": "InformationCategory"
        } ],
        "description": "The valuset used for additional information category codes."
      },
      "max": "1",
      "id": "Claim.supportingInfo:height.category",
      "comment": "This may contain a category for the local bill type codes.",
      "patternCodeableConcept": {
        "coding": [ {
          "code": "height",
          "system": "https://twcore.mohw.gov.tw/ig/pas/CodeSystem/nhi-supporting-info-type"
        } ]
      },
      "base": {
        "max": "1",
        "min": 1,
        "path": "Claim.supportingInfo.category"
      },
      "isSummary": false
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      } ],
      "path": "Claim.supportingInfo.code",
      "requirements": "Required to identify the kind of additional information.",
      "min": 0,
      "definition": "System and code pertaining to the specific information regarding special conditions relating to the setting, treatment or patient  for which care is sought.",
      "isModifier": false,
      "short": "Type of information",
      "type": [ {
        "code": "CodeableConcept"
      } ],
      "binding": {
        "strength": "example",
        "valueSet": "http://hl7.org/fhir/ValueSet/claim-exception",
        "extension": [ {
          "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
          "valueString": "InformationCode"
        } ],
        "description": "The valuset used for additional information codes."
      },
      "max": "1",
      "id": "Claim.supportingInfo:height.code",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Claim.supportingInfo.code"
      },
      "isSummary": false
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      } ],
      "path": "Claim.supportingInfo.timing[x]",
      "min": 0,
      "definition": "The date when or period to which this information refers.",
      "isModifier": false,
      "short": "When it occurred",
      "type": [ {
        "code": "date"
      }, {
        "code": "Period"
      } ],
      "max": "0",
      "id": "Claim.supportingInfo:height.timing[x]",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Claim.supportingInfo.timing[x]"
      },
      "isSummary": false
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      } ],
      "path": "Claim.supportingInfo.value[x]",
      "requirements": "To convey the data content to be provided when the information is more than a simple code or period.",
      "min": 1,
      "definition": "Additional data or information such as resources, documents, images etc. including references to the data or the actual inclusion of the data.",
      "isModifier": false,
      "short": "Data to be provided",
      "type": [ {
        "code": "Quantity"
      } ],
      "mustSupport": true,
      "max": "1",
      "id": "Claim.supportingInfo:height.value[x]",
      "comment": "Could be used to provide references to other resources, document. For example could contain a PDF in an Attachment of the Police Report for an Accident.",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Claim.supportingInfo.value[x]"
      },
      "isSummary": false
    }, {
      "path": "Claim.supportingInfo.value[x].id",
      "min": 0,
      "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
      "isModifier": false,
      "short": "Unique id for inter-element referencing",
      "mapping": [ {
        "map": "n/a",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "http://hl7.org/fhirpath/System.String",
        "extension": [ {
          "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
          "valueUrl": "string"
        } ]
      } ],
      "representation": [ "xmlAttr" ],
      "max": "1",
      "id": "Claim.supportingInfo:height.value[x].id",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Element.id"
      },
      "isSummary": false
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      }, {
        "key": "ext-1",
        "human": "Must have either extensions or value[x], not both",
        "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
        "source": "http://hl7.org/fhir/StructureDefinition/Extension",
        "severity": "error",
        "expression": "extension.exists() != value.exists()"
      } ],
      "path": "Claim.supportingInfo.value[x].extension",
      "min": 0,
      "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.",
      "isModifier": false,
      "short": "Additional content defined by implementations",
      "mapping": [ {
        "map": "n/a",
        "identity": "rim"
      } ],
      "slicing": {
        "rules": "open",
        "description": "Extensions are always sliced by (at least) url",
        "discriminator": [ {
          "path": "url",
          "type": "value"
        } ]
      },
      "type": [ {
        "code": "Extension"
      } ],
      "alias": [ "extensions", "user content" ],
      "max": "*",
      "id": "Claim.supportingInfo:height.value[x].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.",
      "base": {
        "max": "*",
        "min": 0,
        "path": "Element.extension"
      },
      "isSummary": false
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      }, {
        "key": "HTWT",
        "human": "整數至多3位數及小數至多2位數",
        "source": "https://twcore.mohw.gov.tw/ig/pas/StructureDefinition/Claim-twpas",
        "severity": "error",
        "expression": "value.toString().matches('^[0-9]{1,3}(.[0-9]{1,2})?$')"
      } ],
      "path": "Claim.supportingInfo.value[x].value",
      "requirements": "Precision is handled implicitly in almost all cases of measurement.",
      "min": 1,
      "definition": "The value of the measured amount. The value includes an implicit precision in the presentation of the value.",
      "isModifier": false,
      "short": "身高(cm),整數至多3位數及小數至多2位數。",
      "mapping": [ {
        "map": "SN.2  / CQ - N/A",
        "identity": "v2"
      }, {
        "map": "PQ.value, CO.value, MO.value, IVL.high or IVL.low depending on the value",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "decimal"
      } ],
      "mustSupport": true,
      "max": "1",
      "id": "Claim.supportingInfo:height.value[x].value",
      "comment": "The implicit precision in the value should always be honored. Monetary values have their own rules for handling precision (refer to standard accounting text books).",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Quantity.value"
      },
      "isSummary": true
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      } ],
      "path": "Claim.supportingInfo.value[x].comparator",
      "requirements": "Need a framework for handling measures where the value is <5ug/L or >400mg/L due to the limitations of measuring methodology.",
      "min": 0,
      "definition": "How the value should be understood and represented - whether the actual value is greater or less than the stated value due to measurement issues; e.g. if the comparator is \"<\" , then the real value is < stated value.",
      "isModifier": true,
      "short": "< | <= | >= | > - how to understand the value",
      "mapping": [ {
        "map": "SN.1  / CQ.1",
        "identity": "v2"
      }, {
        "map": "IVL properties",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "code"
      } ],
      "meaningWhenMissing": "If there is no comparator, then there is no modification of the value",
      "binding": {
        "strength": "required",
        "valueSet": "http://hl7.org/fhir/ValueSet/quantity-comparator|4.0.1",
        "extension": [ {
          "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
          "valueString": "QuantityComparator"
        } ],
        "description": "How the Quantity should be understood and represented."
      },
      "max": "1",
      "id": "Claim.supportingInfo:height.value[x].comparator",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Quantity.comparator"
      },
      "isModifierReason": "This is labeled as \"Is Modifier\" because the comparator modifies the interpretation of the value significantly. If there is no comparator, then there is no modification of the value",
      "isSummary": true
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      } ],
      "path": "Claim.supportingInfo.value[x].unit",
      "requirements": "There are many representations for units of measure and in many contexts, particular representations are fixed and required. I.e. mcg for micrograms.",
      "min": 0,
      "definition": "A human-readable form of the unit.",
      "isModifier": false,
      "short": "Unit representation",
      "mapping": [ {
        "map": "(see OBX.6 etc.) / CQ.2",
        "identity": "v2"
      }, {
        "map": "PQ.unit",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "string"
      } ],
      "extension": [ {
        "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable",
        "valueBoolean": true
      } ],
      "max": "1",
      "id": "Claim.supportingInfo:height.value[x].unit",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Quantity.unit"
      },
      "isSummary": true
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      } ],
      "path": "Claim.supportingInfo.value[x].system",
      "requirements": "Need to know the system that defines the coded form of the unit.",
      "min": 1,
      "definition": "The identification of the system that provides the coded form of the unit.",
      "isModifier": false,
      "short": "System that defines coded unit form",
      "mapping": [ {
        "map": "(see OBX.6 etc.) / CQ.2",
        "identity": "v2"
      }, {
        "map": "CO.codeSystem, PQ.translation.codeSystem",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "uri"
      } ],
      "max": "1",
      "id": "Claim.supportingInfo:height.value[x].system",
      "condition": [ "qty-3" ],
      "base": {
        "max": "1",
        "min": 0,
        "path": "Quantity.system"
      },
      "patternUri": "http://unitsofmeasure.org",
      "isSummary": true
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      } ],
      "path": "Claim.supportingInfo.value[x].code",
      "requirements": "Need a computable form of the unit that is fixed across all forms. UCUM provides this for quantities, but SNOMED CT provides many units of interest.",
      "min": 1,
      "definition": "A computer processable form of the unit in some unit representation system.",
      "isModifier": false,
      "short": "Coded form of the unit",
      "mapping": [ {
        "map": "(see OBX.6 etc.) / CQ.2",
        "identity": "v2"
      }, {
        "map": "PQ.code, MO.currency, PQ.translation.code",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "code"
      } ],
      "patternCode": "cm",
      "max": "1",
      "id": "Claim.supportingInfo:height.value[x].code",
      "comment": "The preferred system is UCUM, but SNOMED CT can also be used (for customary units) or ISO 4217 for currency.  The context of use may additionally require a code from a particular system.",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Quantity.code"
      },
      "isSummary": true
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      } ],
      "path": "Claim.supportingInfo.reason",
      "requirements": "Needed when the supporting information has both a date and amount/value and requires explanation.",
      "min": 0,
      "definition": "Provides the reason in the situation where a reason code is required in addition to the content.",
      "isModifier": false,
      "short": "Explanation for the information",
      "type": [ {
        "code": "CodeableConcept"
      } ],
      "binding": {
        "strength": "example",
        "valueSet": "http://hl7.org/fhir/ValueSet/missing-tooth-reason",
        "extension": [ {
          "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
          "valueString": "MissingReason"
        } ],
        "description": "Reason codes for the missing teeth."
      },
      "max": "1",
      "id": "Claim.supportingInfo:height.reason",
      "comment": "For example: the reason for the additional stay, or why a tooth is  missing.",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Claim.supportingInfo.reason"
      },
      "isSummary": false
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      } ],
      "path": "Claim.supportingInfo",
      "requirements": "Typically these information codes are required to support the services rendered or the adjudication of the services rendered.",
      "min": 0,
      "definition": "Additional information codes regarding exceptions, special considerations, the condition, situation, prior or concurrent issues.",
      "isModifier": false,
      "short": "是否懷孕或哺乳",
      "mapping": [ {
        "map": "Request.supportingInfo",
        "identity": "workflow"
      } ],
      "type": [ {
        "code": "BackboneElement"
      } ],
      "sliceName": "pregnancy",
      "alias": [ "Attachments\nException Codes\nOccurrence Codes\nValue codes" ],
      "max": "1",
      "id": "Claim.supportingInfo:pregnancy",
      "comment": "Often there are multiple jurisdiction specific valuesets which are required.",
      "base": {
        "max": "*",
        "min": 0,
        "path": "Claim.supportingInfo"
      },
      "isSummary": false
    }, {
      "path": "Claim.supportingInfo.id",
      "min": 0,
      "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
      "isModifier": false,
      "short": "Unique id for inter-element referencing",
      "mapping": [ {
        "map": "n/a",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "http://hl7.org/fhirpath/System.String",
        "extension": [ {
          "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
          "valueUrl": "string"
        } ]
      } ],
      "representation": [ "xmlAttr" ],
      "max": "1",
      "id": "Claim.supportingInfo:pregnancy.id",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Element.id"
      },
      "isSummary": false
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      }, {
        "key": "ext-1",
        "human": "Must have either extensions or value[x], not both",
        "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
        "source": "http://hl7.org/fhir/StructureDefinition/Extension",
        "severity": "error",
        "expression": "extension.exists() != value.exists()"
      } ],
      "path": "Claim.supportingInfo.extension",
      "min": 0,
      "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.",
      "isModifier": false,
      "short": "Additional content defined by implementations",
      "mapping": [ {
        "map": "n/a",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "Extension"
      } ],
      "alias": [ "extensions", "user content" ],
      "max": "*",
      "id": "Claim.supportingInfo:pregnancy.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.",
      "base": {
        "max": "*",
        "min": 0,
        "path": "Element.extension"
      },
      "isSummary": false
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      }, {
        "key": "ext-1",
        "human": "Must have either extensions or value[x], not both",
        "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
        "source": "http://hl7.org/fhir/StructureDefinition/Extension",
        "severity": "error",
        "expression": "extension.exists() != value.exists()"
      } ],
      "path": "Claim.supportingInfo.modifierExtension",
      "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](http://hl7.org/fhir/R4/extensibility.html#modifierExtension).",
      "min": 0,
      "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).",
      "isModifier": true,
      "short": "Extensions that cannot be ignored even if unrecognized",
      "mapping": [ {
        "map": "N/A",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "Extension"
      } ],
      "alias": [ "extensions", "user content", "modifiers" ],
      "max": "*",
      "id": "Claim.supportingInfo:pregnancy.modifierExtension",
      "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.",
      "base": {
        "max": "*",
        "min": 0,
        "path": "BackboneElement.modifierExtension"
      },
      "isModifierReason": "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them",
      "isSummary": true
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      } ],
      "path": "Claim.supportingInfo.sequence",
      "requirements": "Necessary to maintain the order of the supporting information items and provide a mechanism to link to claim details.",
      "min": 1,
      "definition": "A number to uniquely identify supporting information entries.",
      "isModifier": false,
      "short": "Information instance identifier",
      "type": [ {
        "code": "positiveInt"
      } ],
      "max": "1",
      "id": "Claim.supportingInfo:pregnancy.sequence",
      "base": {
        "max": "1",
        "min": 1,
        "path": "Claim.supportingInfo.sequence"
      },
      "isSummary": false
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      } ],
      "path": "Claim.supportingInfo.category",
      "requirements": "Required to group or associate information items with common characteristics. For example: admission information or prior treatments.",
      "min": 1,
      "definition": "The general class of the information supplied: information; exception; accident, employment; onset, etc.",
      "isModifier": false,
      "short": "Classification of the supplied information",
      "type": [ {
        "code": "CodeableConcept"
      } ],
      "binding": {
        "strength": "example",
        "valueSet": "http://hl7.org/fhir/ValueSet/claim-informationcategory",
        "extension": [ {
          "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
          "valueString": "InformationCategory"
        } ],
        "description": "The valuset used for additional information category codes."
      },
      "max": "1",
      "id": "Claim.supportingInfo:pregnancy.category",
      "comment": "This may contain a category for the local bill type codes.",
      "patternCodeableConcept": {
        "coding": [ {
          "code": "pregnancyBreastfeedingStatus",
          "system": "https://twcore.mohw.gov.tw/ig/pas/CodeSystem/nhi-supporting-info-type"
        } ]
      },
      "base": {
        "max": "1",
        "min": 1,
        "path": "Claim.supportingInfo.category"
      },
      "isSummary": false
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      } ],
      "path": "Claim.supportingInfo.code",
      "requirements": "Required to identify the kind of additional information.",
      "min": 0,
      "definition": "System and code pertaining to the specific information regarding special conditions relating to the setting, treatment or patient  for which care is sought.",
      "isModifier": false,
      "short": "Type of information",
      "type": [ {
        "code": "CodeableConcept"
      } ],
      "binding": {
        "strength": "example",
        "valueSet": "http://hl7.org/fhir/ValueSet/claim-exception",
        "extension": [ {
          "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
          "valueString": "InformationCode"
        } ],
        "description": "The valuset used for additional information codes."
      },
      "max": "1",
      "id": "Claim.supportingInfo:pregnancy.code",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Claim.supportingInfo.code"
      },
      "isSummary": false
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      } ],
      "path": "Claim.supportingInfo.timing[x]",
      "min": 0,
      "definition": "The date when or period to which this information refers.",
      "isModifier": false,
      "short": "When it occurred",
      "type": [ {
        "code": "date"
      }, {
        "code": "Period"
      } ],
      "max": "0",
      "id": "Claim.supportingInfo:pregnancy.timing[x]",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Claim.supportingInfo.timing[x]"
      },
      "isSummary": false
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      } ],
      "path": "Claim.supportingInfo.value[x]",
      "requirements": "To convey the data content to be provided when the information is more than a simple code or period.",
      "min": 1,
      "definition": "Additional data or information such as resources, documents, images etc. including references to the data or the actual inclusion of the data.",
      "isModifier": false,
      "short": "是否懷孕或哺乳,false:未懷孕或哺乳 | true:有懷孕或哺乳",
      "type": [ {
        "code": "boolean"
      } ],
      "mustSupport": true,
      "max": "1",
      "id": "Claim.supportingInfo:pregnancy.value[x]",
      "comment": "Could be used to provide references to other resources, document. For example could contain a PDF in an Attachment of the Police Report for an Accident.",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Claim.supportingInfo.value[x]"
      },
      "isSummary": false
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      } ],
      "path": "Claim.supportingInfo.reason",
      "requirements": "Needed when the supporting information has both a date and amount/value and requires explanation.",
      "min": 0,
      "definition": "Provides the reason in the situation where a reason code is required in addition to the content.",
      "isModifier": false,
      "short": "Explanation for the information",
      "type": [ {
        "code": "CodeableConcept"
      } ],
      "binding": {
        "strength": "example",
        "valueSet": "http://hl7.org/fhir/ValueSet/missing-tooth-reason",
        "extension": [ {
          "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
          "valueString": "MissingReason"
        } ],
        "description": "Reason codes for the missing teeth."
      },
      "max": "1",
      "id": "Claim.supportingInfo:pregnancy.reason",
      "comment": "For example: the reason for the additional stay, or why a tooth is  missing.",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Claim.supportingInfo.reason"
      },
      "isSummary": false
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      } ],
      "path": "Claim.supportingInfo",
      "requirements": "Typically these information codes are required to support the services rendered or the adjudication of the services rendered.",
      "min": 0,
      "definition": "Additional information codes regarding exceptions, special considerations, the condition, situation, prior or concurrent issues.",
      "isModifier": false,
      "short": "影像報告",
      "mapping": [ {
        "map": "Request.supportingInfo",
        "identity": "workflow"
      } ],
      "type": [ {
        "code": "BackboneElement"
      } ],
      "sliceName": "imagingReport",
      "alias": [ "Attachments\nException Codes\nOccurrence Codes\nValue codes" ],
      "max": "*",
      "id": "Claim.supportingInfo:imagingReport",
      "comment": "Often there are multiple jurisdiction specific valuesets which are required.",
      "base": {
        "max": "*",
        "min": 0,
        "path": "Claim.supportingInfo"
      },
      "isSummary": false
    }, {
      "path": "Claim.supportingInfo.id",
      "min": 0,
      "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
      "isModifier": false,
      "short": "Unique id for inter-element referencing",
      "mapping": [ {
        "map": "n/a",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "http://hl7.org/fhirpath/System.String",
        "extension": [ {
          "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
          "valueUrl": "string"
        } ]
      } ],
      "representation": [ "xmlAttr" ],
      "max": "1",
      "id": "Claim.supportingInfo:imagingReport.id",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Element.id"
      },
      "isSummary": false
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      }, {
        "key": "ext-1",
        "human": "Must have either extensions or value[x], not both",
        "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
        "source": "http://hl7.org/fhir/StructureDefinition/Extension",
        "severity": "error",
        "expression": "extension.exists() != value.exists()"
      } ],
      "path": "Claim.supportingInfo.extension",
      "min": 0,
      "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.",
      "isModifier": false,
      "short": "Additional content defined by implementations",
      "mapping": [ {
        "map": "n/a",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "Extension"
      } ],
      "alias": [ "extensions", "user content" ],
      "max": "*",
      "id": "Claim.supportingInfo:imagingReport.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.",
      "base": {
        "max": "*",
        "min": 0,
        "path": "Element.extension"
      },
      "isSummary": false
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      }, {
        "key": "ext-1",
        "human": "Must have either extensions or value[x], not both",
        "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
        "source": "http://hl7.org/fhir/StructureDefinition/Extension",
        "severity": "error",
        "expression": "extension.exists() != value.exists()"
      } ],
      "path": "Claim.supportingInfo.modifierExtension",
      "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](http://hl7.org/fhir/R4/extensibility.html#modifierExtension).",
      "min": 0,
      "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).",
      "isModifier": true,
      "short": "Extensions that cannot be ignored even if unrecognized",
      "mapping": [ {
        "map": "N/A",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "Extension"
      } ],
      "alias": [ "extensions", "user content", "modifiers" ],
      "max": "*",
      "id": "Claim.supportingInfo:imagingReport.modifierExtension",
      "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.",
      "base": {
        "max": "*",
        "min": 0,
        "path": "BackboneElement.modifierExtension"
      },
      "isModifierReason": "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them",
      "isSummary": true
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      } ],
      "path": "Claim.supportingInfo.sequence",
      "requirements": "Necessary to maintain the order of the supporting information items and provide a mechanism to link to claim details.",
      "min": 1,
      "definition": "A number to uniquely identify supporting information entries.",
      "isModifier": false,
      "short": "Information instance identifier",
      "type": [ {
        "code": "positiveInt"
      } ],
      "max": "1",
      "id": "Claim.supportingInfo:imagingReport.sequence",
      "base": {
        "max": "1",
        "min": 1,
        "path": "Claim.supportingInfo.sequence"
      },
      "isSummary": false
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      } ],
      "path": "Claim.supportingInfo.category",
      "requirements": "Required to group or associate information items with common characteristics. For example: admission information or prior treatments.",
      "min": 1,
      "definition": "The general class of the information supplied: information; exception; accident, employment; onset, etc.",
      "isModifier": false,
      "short": "Classification of the supplied information",
      "type": [ {
        "code": "CodeableConcept"
      } ],
      "binding": {
        "strength": "example",
        "valueSet": "http://hl7.org/fhir/ValueSet/claim-informationcategory",
        "extension": [ {
          "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
          "valueString": "InformationCategory"
        } ],
        "description": "The valuset used for additional information category codes."
      },
      "max": "1",
      "id": "Claim.supportingInfo:imagingReport.category",
      "comment": "This may contain a category for the local bill type codes.",
      "patternCodeableConcept": {
        "coding": [ {
          "code": "imagingReport",
          "system": "https://twcore.mohw.gov.tw/ig/pas/CodeSystem/nhi-supporting-info-type"
        } ]
      },
      "base": {
        "max": "1",
        "min": 1,
        "path": "Claim.supportingInfo.category"
      },
      "isSummary": false
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      } ],
      "path": "Claim.supportingInfo.code",
      "requirements": "Required to identify the kind of additional information.",
      "min": 0,
      "definition": "System and code pertaining to the specific information regarding special conditions relating to the setting, treatment or patient  for which care is sought.",
      "isModifier": false,
      "short": "Type of information",
      "type": [ {
        "code": "CodeableConcept"
      } ],
      "binding": {
        "strength": "example",
        "valueSet": "http://hl7.org/fhir/ValueSet/claim-exception",
        "extension": [ {
          "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
          "valueString": "InformationCode"
        } ],
        "description": "The valuset used for additional information codes."
      },
      "max": "1",
      "id": "Claim.supportingInfo:imagingReport.code",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Claim.supportingInfo.code"
      },
      "isSummary": false
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      } ],
      "path": "Claim.supportingInfo.timing[x]",
      "min": 0,
      "definition": "The date when or period to which this information refers.",
      "isModifier": false,
      "short": "When it occurred",
      "type": [ {
        "code": "date"
      }, {
        "code": "Period"
      } ],
      "max": "0",
      "id": "Claim.supportingInfo:imagingReport.timing[x]",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Claim.supportingInfo.timing[x]"
      },
      "isSummary": false
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      } ],
      "path": "Claim.supportingInfo.value[x]",
      "requirements": "To convey the data content to be provided when the information is more than a simple code or period.",
      "min": 1,
      "definition": "Additional data or information such as resources, documents, images etc. including references to the data or the actual inclusion of the data.",
      "isModifier": false,
      "short": "影像報告",
      "type": [ {
        "code": "Reference",
        "targetProfile": [ "https://twcore.mohw.gov.tw/ig/pas/StructureDefinition/DiagnosticReport-image-twpas" ]
      } ],
      "mustSupport": true,
      "max": "1",
      "id": "Claim.supportingInfo:imagingReport.value[x]",
      "comment": "Could be used to provide references to other resources, document. For example could contain a PDF in an Attachment of the Police Report for an Accident.",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Claim.supportingInfo.value[x]"
      },
      "isSummary": false
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      } ],
      "path": "Claim.supportingInfo.reason",
      "requirements": "Needed when the supporting information has both a date and amount/value and requires explanation.",
      "min": 0,
      "definition": "Provides the reason in the situation where a reason code is required in addition to the content.",
      "isModifier": false,
      "short": "Explanation for the information",
      "type": [ {
        "code": "CodeableConcept"
      } ],
      "binding": {
        "strength": "example",
        "valueSet": "http://hl7.org/fhir/ValueSet/missing-tooth-reason",
        "extension": [ {
          "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
          "valueString": "MissingReason"
        } ],
        "description": "Reason codes for the missing teeth."
      },
      "max": "1",
      "id": "Claim.supportingInfo:imagingReport.reason",
      "comment": "For example: the reason for the additional stay, or why a tooth is  missing.",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Claim.supportingInfo.reason"
      },
      "isSummary": false
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      } ],
      "path": "Claim.supportingInfo",
      "requirements": "Typically these information codes are required to support the services rendered or the adjudication of the services rendered.",
      "min": 0,
      "definition": "Additional information codes regarding exceptions, special considerations, the condition, situation, prior or concurrent issues.",
      "isModifier": false,
      "short": "癌症分期量表",
      "mapping": [ {
        "map": "Request.supportingInfo",
        "identity": "workflow"
      } ],
      "type": [ {
        "code": "BackboneElement"
      } ],
      "sliceName": "cancerStage",
      "alias": [ "Attachments\nException Codes\nOccurrence Codes\nValue codes" ],
      "max": "*",
      "id": "Claim.supportingInfo:cancerStage",
      "comment": "Often there are multiple jurisdiction specific valuesets which are required.",
      "base": {
        "max": "*",
        "min": 0,
        "path": "Claim.supportingInfo"
      },
      "isSummary": false
    }, {
      "path": "Claim.supportingInfo.id",
      "min": 0,
      "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
      "isModifier": false,
      "short": "Unique id for inter-element referencing",
      "mapping": [ {
        "map": "n/a",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "http://hl7.org/fhirpath/System.String",
        "extension": [ {
          "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
          "valueUrl": "string"
        } ]
      } ],
      "representation": [ "xmlAttr" ],
      "max": "1",
      "id": "Claim.supportingInfo:cancerStage.id",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Element.id"
      },
      "isSummary": false
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      }, {
        "key": "ext-1",
        "human": "Must have either extensions or value[x], not both",
        "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
        "source": "http://hl7.org/fhir/StructureDefinition/Extension",
        "severity": "error",
        "expression": "extension.exists() != value.exists()"
      } ],
      "path": "Claim.supportingInfo.extension",
      "min": 0,
      "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.",
      "isModifier": false,
      "short": "Additional content defined by implementations",
      "mapping": [ {
        "map": "n/a",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "Extension"
      } ],
      "alias": [ "extensions", "user content" ],
      "max": "*",
      "id": "Claim.supportingInfo:cancerStage.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.",
      "base": {
        "max": "*",
        "min": 0,
        "path": "Element.extension"
      },
      "isSummary": false
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      }, {
        "key": "ext-1",
        "human": "Must have either extensions or value[x], not both",
        "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
        "source": "http://hl7.org/fhir/StructureDefinition/Extension",
        "severity": "error",
        "expression": "extension.exists() != value.exists()"
      } ],
      "path": "Claim.supportingInfo.modifierExtension",
      "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](http://hl7.org/fhir/R4/extensibility.html#modifierExtension).",
      "min": 0,
      "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).",
      "isModifier": true,
      "short": "Extensions that cannot be ignored even if unrecognized",
      "mapping": [ {
        "map": "N/A",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "Extension"
      } ],
      "alias": [ "extensions", "user content", "modifiers" ],
      "max": "*",
      "id": "Claim.supportingInfo:cancerStage.modifierExtension",
      "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.",
      "base": {
        "max": "*",
        "min": 0,
        "path": "BackboneElement.modifierExtension"
      },
      "isModifierReason": "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them",
      "isSummary": true
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      } ],
      "path": "Claim.supportingInfo.sequence",
      "requirements": "Necessary to maintain the order of the supporting information items and provide a mechanism to link to claim details.",
      "min": 1,
      "definition": "A number to uniquely identify supporting information entries.",
      "isModifier": false,
      "short": "Information instance identifier",
      "type": [ {
        "code": "positiveInt"
      } ],
      "max": "1",
      "id": "Claim.supportingInfo:cancerStage.sequence",
      "base": {
        "max": "1",
        "min": 1,
        "path": "Claim.supportingInfo.sequence"
      },
      "isSummary": false
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      } ],
      "path": "Claim.supportingInfo.category",
      "requirements": "Required to group or associate information items with common characteristics. For example: admission information or prior treatments.",
      "min": 1,
      "definition": "The general class of the information supplied: information; exception; accident, employment; onset, etc.",
      "isModifier": false,
      "short": "Classification of the supplied information",
      "type": [ {
        "code": "CodeableConcept"
      } ],
      "binding": {
        "strength": "example",
        "valueSet": "http://hl7.org/fhir/ValueSet/claim-informationcategory",
        "extension": [ {
          "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
          "valueString": "InformationCategory"
        } ],
        "description": "The valuset used for additional information category codes."
      },
      "max": "1",
      "id": "Claim.supportingInfo:cancerStage.category",
      "comment": "This may contain a category for the local bill type codes.",
      "patternCodeableConcept": {
        "coding": [ {
          "code": "cancerStage",
          "system": "https://twcore.mohw.gov.tw/ig/pas/CodeSystem/nhi-supporting-info-type"
        } ]
      },
      "base": {
        "max": "1",
        "min": 1,
        "path": "Claim.supportingInfo.category"
      },
      "isSummary": false
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      } ],
      "path": "Claim.supportingInfo.code",
      "requirements": "Required to identify the kind of additional information.",
      "min": 0,
      "definition": "System and code pertaining to the specific information regarding special conditions relating to the setting, treatment or patient  for which care is sought.",
      "isModifier": false,
      "short": "Type of information",
      "type": [ {
        "code": "CodeableConcept"
      } ],
      "binding": {
        "strength": "example",
        "valueSet": "http://hl7.org/fhir/ValueSet/claim-exception",
        "extension": [ {
          "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
          "valueString": "InformationCode"
        } ],
        "description": "The valuset used for additional information codes."
      },
      "max": "1",
      "id": "Claim.supportingInfo:cancerStage.code",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Claim.supportingInfo.code"
      },
      "isSummary": false
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      } ],
      "path": "Claim.supportingInfo.timing[x]",
      "min": 0,
      "definition": "The date when or period to which this information refers.",
      "isModifier": false,
      "short": "When it occurred",
      "type": [ {
        "code": "date"
      }, {
        "code": "Period"
      } ],
      "max": "0",
      "id": "Claim.supportingInfo:cancerStage.timing[x]",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Claim.supportingInfo.timing[x]"
      },
      "isSummary": false
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      } ],
      "path": "Claim.supportingInfo.value[x]",
      "requirements": "To convey the data content to be provided when the information is more than a simple code or period.",
      "min": 1,
      "definition": "Additional data or information such as resources, documents, images etc. including references to the data or the actual inclusion of the data.",
      "isModifier": false,
      "short": "癌症分期量表",
      "type": [ {
        "code": "Reference",
        "targetProfile": [ "https://twcore.mohw.gov.tw/ig/pas/StructureDefinition/Observation-cancer-stage-twpas" ]
      } ],
      "mustSupport": true,
      "max": "1",
      "id": "Claim.supportingInfo:cancerStage.value[x]",
      "comment": "Could be used to provide references to other resources, document. For example could contain a PDF in an Attachment of the Police Report for an Accident.",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Claim.supportingInfo.value[x]"
      },
      "isSummary": false
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      } ],
      "path": "Claim.supportingInfo.reason",
      "requirements": "Needed when the supporting information has both a date and amount/value and requires explanation.",
      "min": 0,
      "definition": "Provides the reason in the situation where a reason code is required in addition to the content.",
      "isModifier": false,
      "short": "Explanation for the information",
      "type": [ {
        "code": "CodeableConcept"
      } ],
      "binding": {
        "strength": "example",
        "valueSet": "http://hl7.org/fhir/ValueSet/missing-tooth-reason",
        "extension": [ {
          "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
          "valueString": "MissingReason"
        } ],
        "description": "Reason codes for the missing teeth."
      },
      "max": "1",
      "id": "Claim.supportingInfo:cancerStage.reason",
      "comment": "For example: the reason for the additional stay, or why a tooth is  missing.",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Claim.supportingInfo.reason"
      },
      "isSummary": false
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      } ],
      "path": "Claim.supportingInfo",
      "requirements": "Typically these information codes are required to support the services rendered or the adjudication of the services rendered.",
      "min": 0,
      "definition": "Additional information codes regarding exceptions, special considerations, the condition, situation, prior or concurrent issues.",
      "isModifier": false,
      "short": "檢查報告",
      "mapping": [ {
        "map": "Request.supportingInfo",
        "identity": "workflow"
      } ],
      "type": [ {
        "code": "BackboneElement"
      } ],
      "sliceName": "examinationReport",
      "alias": [ "Attachments\nException Codes\nOccurrence Codes\nValue codes" ],
      "max": "*",
      "id": "Claim.supportingInfo:examinationReport",
      "comment": "Often there are multiple jurisdiction specific valuesets which are required.",
      "base": {
        "max": "*",
        "min": 0,
        "path": "Claim.supportingInfo"
      },
      "isSummary": false
    }, {
      "path": "Claim.supportingInfo.id",
      "min": 0,
      "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
      "isModifier": false,
      "short": "Unique id for inter-element referencing",
      "mapping": [ {
        "map": "n/a",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "http://hl7.org/fhirpath/System.String",
        "extension": [ {
          "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
          "valueUrl": "string"
        } ]
      } ],
      "representation": [ "xmlAttr" ],
      "max": "1",
      "id": "Claim.supportingInfo:examinationReport.id",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Element.id"
      },
      "isSummary": false
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      }, {
        "key": "ext-1",
        "human": "Must have either extensions or value[x], not both",
        "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
        "source": "http://hl7.org/fhir/StructureDefinition/Extension",
        "severity": "error",
        "expression": "extension.exists() != value.exists()"
      } ],
      "path": "Claim.supportingInfo.extension",
      "min": 0,
      "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.",
      "isModifier": false,
      "short": "Additional content defined by implementations",
      "mapping": [ {
        "map": "n/a",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "Extension"
      } ],
      "alias": [ "extensions", "user content" ],
      "max": "*",
      "id": "Claim.supportingInfo:examinationReport.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.",
      "base": {
        "max": "*",
        "min": 0,
        "path": "Element.extension"
      },
      "isSummary": false
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      }, {
        "key": "ext-1",
        "human": "Must have either extensions or value[x], not both",
        "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
        "source": "http://hl7.org/fhir/StructureDefinition/Extension",
        "severity": "error",
        "expression": "extension.exists() != value.exists()"
      } ],
      "path": "Claim.supportingInfo.modifierExtension",
      "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](http://hl7.org/fhir/R4/extensibility.html#modifierExtension).",
      "min": 0,
      "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).",
      "isModifier": true,
      "short": "Extensions that cannot be ignored even if unrecognized",
      "mapping": [ {
        "map": "N/A",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "Extension"
      } ],
      "alias": [ "extensions", "user content", "modifiers" ],
      "max": "*",
      "id": "Claim.supportingInfo:examinationReport.modifierExtension",
      "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.",
      "base": {
        "max": "*",
        "min": 0,
        "path": "BackboneElement.modifierExtension"
      },
      "isModifierReason": "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them",
      "isSummary": true
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      } ],
      "path": "Claim.supportingInfo.sequence",
      "requirements": "Necessary to maintain the order of the supporting information items and provide a mechanism to link to claim details.",
      "min": 1,
      "definition": "A number to uniquely identify supporting information entries.",
      "isModifier": false,
      "short": "Information instance identifier",
      "type": [ {
        "code": "positiveInt"
      } ],
      "max": "1",
      "id": "Claim.supportingInfo:examinationReport.sequence",
      "base": {
        "max": "1",
        "min": 1,
        "path": "Claim.supportingInfo.sequence"
      },
      "isSummary": false
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      } ],
      "path": "Claim.supportingInfo.category",
      "requirements": "Required to group or associate information items with common characteristics. For example: admission information or prior treatments.",
      "min": 1,
      "definition": "The general class of the information supplied: information; exception; accident, employment; onset, etc.",
      "isModifier": false,
      "short": "Classification of the supplied information",
      "type": [ {
        "code": "CodeableConcept"
      } ],
      "binding": {
        "strength": "example",
        "valueSet": "http://hl7.org/fhir/ValueSet/claim-informationcategory",
        "extension": [ {
          "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
          "valueString": "InformationCategory"
        } ],
        "description": "The valuset used for additional information category codes."
      },
      "max": "1",
      "id": "Claim.supportingInfo:examinationReport.category",
      "comment": "This may contain a category for the local bill type codes.",
      "patternCodeableConcept": {
        "coding": [ {
          "code": "examinationReport",
          "system": "https://twcore.mohw.gov.tw/ig/pas/CodeSystem/nhi-supporting-info-type"
        } ]
      },
      "base": {
        "max": "1",
        "min": 1,
        "path": "Claim.supportingInfo.category"
      },
      "isSummary": false
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      } ],
      "path": "Claim.supportingInfo.code",
      "requirements": "Required to identify the kind of additional information.",
      "min": 0,
      "definition": "System and code pertaining to the specific information regarding special conditions relating to the setting, treatment or patient  for which care is sought.",
      "isModifier": false,
      "short": "Type of information",
      "type": [ {
        "code": "CodeableConcept"
      } ],
      "binding": {
        "strength": "example",
        "valueSet": "http://hl7.org/fhir/ValueSet/claim-exception",
        "extension": [ {
          "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
          "valueString": "InformationCode"
        } ],
        "description": "The valuset used for additional information codes."
      },
      "max": "1",
      "id": "Claim.supportingInfo:examinationReport.code",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Claim.supportingInfo.code"
      },
      "isSummary": false
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      } ],
      "path": "Claim.supportingInfo.timing[x]",
      "min": 0,
      "definition": "The date when or period to which this information refers.",
      "isModifier": false,
      "short": "When it occurred",
      "type": [ {
        "code": "date"
      }, {
        "code": "Period"
      } ],
      "max": "0",
      "id": "Claim.supportingInfo:examinationReport.timing[x]",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Claim.supportingInfo.timing[x]"
      },
      "isSummary": false
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      } ],
      "path": "Claim.supportingInfo.value[x]",
      "requirements": "To convey the data content to be provided when the information is more than a simple code or period.",
      "min": 1,
      "definition": "Additional data or information such as resources, documents, images etc. including references to the data or the actual inclusion of the data.",
      "isModifier": false,
      "short": "檢查報告",
      "type": [ {
        "code": "Reference",
        "targetProfile": [ "https://twcore.mohw.gov.tw/ig/pas/StructureDefinition/DiagnosticReport-twpas" ]
      } ],
      "mustSupport": true,
      "max": "1",
      "id": "Claim.supportingInfo:examinationReport.value[x]",
      "comment": "Could be used to provide references to other resources, document. For example could contain a PDF in an Attachment of the Police Report for an Accident.",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Claim.supportingInfo.value[x]"
      },
      "isSummary": false
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      } ],
      "path": "Claim.supportingInfo.reason",
      "requirements": "Needed when the supporting information has both a date and amount/value and requires explanation.",
      "min": 0,
      "definition": "Provides the reason in the situation where a reason code is required in addition to the content.",
      "isModifier": false,
      "short": "Explanation for the information",
      "type": [ {
        "code": "CodeableConcept"
      } ],
      "binding": {
        "strength": "example",
        "valueSet": "http://hl7.org/fhir/ValueSet/missing-tooth-reason",
        "extension": [ {
          "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
          "valueString": "MissingReason"
        } ],
        "description": "Reason codes for the missing teeth."
      },
      "max": "1",
      "id": "Claim.supportingInfo:examinationReport.reason",
      "comment": "For example: the reason for the additional stay, or why a tooth is  missing.",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Claim.supportingInfo.reason"
      },
      "isSummary": false
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      } ],
      "path": "Claim.supportingInfo",
      "requirements": "Typically these information codes are required to support the services rendered or the adjudication of the services rendered.",
      "min": 0,
      "definition": "Additional information codes regarding exceptions, special considerations, the condition, situation, prior or concurrent issues.",
      "isModifier": false,
      "short": "基因資訊",
      "mapping": [ {
        "map": "Request.supportingInfo",
        "identity": "workflow"
      } ],
      "type": [ {
        "code": "BackboneElement"
      } ],
      "sliceName": "geneInfo",
      "alias": [ "Attachments\nException Codes\nOccurrence Codes\nValue codes" ],
      "max": "*",
      "id": "Claim.supportingInfo:geneInfo",
      "comment": "Often there are multiple jurisdiction specific valuesets which are required.",
      "base": {
        "max": "*",
        "min": 0,
        "path": "Claim.supportingInfo"
      },
      "isSummary": false
    }, {
      "path": "Claim.supportingInfo.id",
      "min": 0,
      "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
      "isModifier": false,
      "short": "Unique id for inter-element referencing",
      "mapping": [ {
        "map": "n/a",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "http://hl7.org/fhirpath/System.String",
        "extension": [ {
          "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
          "valueUrl": "string"
        } ]
      } ],
      "representation": [ "xmlAttr" ],
      "max": "1",
      "id": "Claim.supportingInfo:geneInfo.id",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Element.id"
      },
      "isSummary": false
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      }, {
        "key": "ext-1",
        "human": "Must have either extensions or value[x], not both",
        "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
        "source": "http://hl7.org/fhir/StructureDefinition/Extension",
        "severity": "error",
        "expression": "extension.exists() != value.exists()"
      } ],
      "path": "Claim.supportingInfo.extension",
      "min": 0,
      "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.",
      "isModifier": false,
      "short": "Additional content defined by implementations",
      "mapping": [ {
        "map": "n/a",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "Extension"
      } ],
      "alias": [ "extensions", "user content" ],
      "max": "*",
      "id": "Claim.supportingInfo:geneInfo.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.",
      "base": {
        "max": "*",
        "min": 0,
        "path": "Element.extension"
      },
      "isSummary": false
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      }, {
        "key": "ext-1",
        "human": "Must have either extensions or value[x], not both",
        "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
        "source": "http://hl7.org/fhir/StructureDefinition/Extension",
        "severity": "error",
        "expression": "extension.exists() != value.exists()"
      } ],
      "path": "Claim.supportingInfo.modifierExtension",
      "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](http://hl7.org/fhir/R4/extensibility.html#modifierExtension).",
      "min": 0,
      "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).",
      "isModifier": true,
      "short": "Extensions that cannot be ignored even if unrecognized",
      "mapping": [ {
        "map": "N/A",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "Extension"
      } ],
      "alias": [ "extensions", "user content", "modifiers" ],
      "max": "*",
      "id": "Claim.supportingInfo:geneInfo.modifierExtension",
      "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.",
      "base": {
        "max": "*",
        "min": 0,
        "path": "BackboneElement.modifierExtension"
      },
      "isModifierReason": "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them",
      "isSummary": true
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      } ],
      "path": "Claim.supportingInfo.sequence",
      "requirements": "Necessary to maintain the order of the supporting information items and provide a mechanism to link to claim details.",
      "min": 1,
      "definition": "A number to uniquely identify supporting information entries.",
      "isModifier": false,
      "short": "Information instance identifier",
      "type": [ {
        "code": "positiveInt"
      } ],
      "max": "1",
      "id": "Claim.supportingInfo:geneInfo.sequence",
      "base": {
        "max": "1",
        "min": 1,
        "path": "Claim.supportingInfo.sequence"
      },
      "isSummary": false
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      } ],
      "path": "Claim.supportingInfo.category",
      "requirements": "Required to group or associate information items with common characteristics. For example: admission information or prior treatments.",
      "min": 1,
      "definition": "The general class of the information supplied: information; exception; accident, employment; onset, etc.",
      "isModifier": false,
      "short": "Classification of the supplied information",
      "type": [ {
        "code": "CodeableConcept"
      } ],
      "binding": {
        "strength": "example",
        "valueSet": "http://hl7.org/fhir/ValueSet/claim-informationcategory",
        "extension": [ {
          "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
          "valueString": "InformationCategory"
        } ],
        "description": "The valuset used for additional information category codes."
      },
      "max": "1",
      "id": "Claim.supportingInfo:geneInfo.category",
      "comment": "This may contain a category for the local bill type codes.",
      "patternCodeableConcept": {
        "coding": [ {
          "code": "geneInfo",
          "system": "https://twcore.mohw.gov.tw/ig/pas/CodeSystem/nhi-supporting-info-type"
        } ]
      },
      "base": {
        "max": "1",
        "min": 1,
        "path": "Claim.supportingInfo.category"
      },
      "isSummary": false
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      } ],
      "path": "Claim.supportingInfo.code",
      "requirements": "Required to identify the kind of additional information.",
      "min": 0,
      "definition": "System and code pertaining to the specific information regarding special conditions relating to the setting, treatment or patient  for which care is sought.",
      "isModifier": false,
      "short": "Type of information",
      "type": [ {
        "code": "CodeableConcept"
      } ],
      "binding": {
        "strength": "example",
        "valueSet": "http://hl7.org/fhir/ValueSet/claim-exception",
        "extension": [ {
          "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
          "valueString": "InformationCode"
        } ],
        "description": "The valuset used for additional information codes."
      },
      "max": "1",
      "id": "Claim.supportingInfo:geneInfo.code",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Claim.supportingInfo.code"
      },
      "isSummary": false
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      } ],
      "path": "Claim.supportingInfo.timing[x]",
      "min": 0,
      "definition": "The date when or period to which this information refers.",
      "isModifier": false,
      "short": "When it occurred",
      "type": [ {
        "code": "date"
      }, {
        "code": "Period"
      } ],
      "max": "0",
      "id": "Claim.supportingInfo:geneInfo.timing[x]",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Claim.supportingInfo.timing[x]"
      },
      "isSummary": false
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      } ],
      "path": "Claim.supportingInfo.value[x]",
      "requirements": "To convey the data content to be provided when the information is more than a simple code or period.",
      "min": 1,
      "definition": "Additional data or information such as resources, documents, images etc. including references to the data or the actual inclusion of the data.",
      "isModifier": false,
      "short": "基因資訊",
      "type": [ {
        "code": "Reference",
        "targetProfile": [ "https://twcore.mohw.gov.tw/ig/pas/StructureDefinition/Observation-diagnostic-twpas" ]
      } ],
      "mustSupport": true,
      "max": "1",
      "id": "Claim.supportingInfo:geneInfo.value[x]",
      "comment": "Could be used to provide references to other resources, document. For example could contain a PDF in an Attachment of the Police Report for an Accident.",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Claim.supportingInfo.value[x]"
      },
      "isSummary": false
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      } ],
      "path": "Claim.supportingInfo.reason",
      "requirements": "Needed when the supporting information has both a date and amount/value and requires explanation.",
      "min": 0,
      "definition": "Provides the reason in the situation where a reason code is required in addition to the content.",
      "isModifier": false,
      "short": "Explanation for the information",
      "type": [ {
        "code": "CodeableConcept"
      } ],
      "binding": {
        "strength": "example",
        "valueSet": "http://hl7.org/fhir/ValueSet/missing-tooth-reason",
        "extension": [ {
          "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
          "valueString": "MissingReason"
        } ],
        "description": "Reason codes for the missing teeth."
      },
      "max": "1",
      "id": "Claim.supportingInfo:geneInfo.reason",
      "comment": "For example: the reason for the additional stay, or why a tooth is  missing.",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Claim.supportingInfo.reason"
      },
      "isSummary": false
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      } ],
      "path": "Claim.supportingInfo",
      "requirements": "Typically these information codes are required to support the services rendered or the adjudication of the services rendered.",
      "min": 0,
      "definition": "Additional information codes regarding exceptions, special considerations, the condition, situation, prior or concurrent issues.",
      "isModifier": false,
      "short": "檢驗(查)",
      "mapping": [ {
        "map": "Request.supportingInfo",
        "identity": "workflow"
      } ],
      "type": [ {
        "code": "BackboneElement"
      } ],
      "sliceName": "tests",
      "alias": [ "Attachments\nException Codes\nOccurrence Codes\nValue codes" ],
      "max": "*",
      "id": "Claim.supportingInfo:tests",
      "comment": "Often there are multiple jurisdiction specific valuesets which are required.",
      "base": {
        "max": "*",
        "min": 0,
        "path": "Claim.supportingInfo"
      },
      "isSummary": false
    }, {
      "path": "Claim.supportingInfo.id",
      "min": 0,
      "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
      "isModifier": false,
      "short": "Unique id for inter-element referencing",
      "mapping": [ {
        "map": "n/a",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "http://hl7.org/fhirpath/System.String",
        "extension": [ {
          "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
          "valueUrl": "string"
        } ]
      } ],
      "representation": [ "xmlAttr" ],
      "max": "1",
      "id": "Claim.supportingInfo:tests.id",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Element.id"
      },
      "isSummary": false
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      }, {
        "key": "ext-1",
        "human": "Must have either extensions or value[x], not both",
        "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
        "source": "http://hl7.org/fhir/StructureDefinition/Extension",
        "severity": "error",
        "expression": "extension.exists() != value.exists()"
      } ],
      "path": "Claim.supportingInfo.extension",
      "min": 0,
      "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.",
      "isModifier": false,
      "short": "Additional content defined by implementations",
      "mapping": [ {
        "map": "n/a",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "Extension"
      } ],
      "alias": [ "extensions", "user content" ],
      "max": "*",
      "id": "Claim.supportingInfo:tests.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.",
      "base": {
        "max": "*",
        "min": 0,
        "path": "Element.extension"
      },
      "isSummary": false
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      }, {
        "key": "ext-1",
        "human": "Must have either extensions or value[x], not both",
        "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
        "source": "http://hl7.org/fhir/StructureDefinition/Extension",
        "severity": "error",
        "expression": "extension.exists() != value.exists()"
      } ],
      "path": "Claim.supportingInfo.modifierExtension",
      "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](http://hl7.org/fhir/R4/extensibility.html#modifierExtension).",
      "min": 0,
      "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).",
      "isModifier": true,
      "short": "Extensions that cannot be ignored even if unrecognized",
      "mapping": [ {
        "map": "N/A",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "Extension"
      } ],
      "alias": [ "extensions", "user content", "modifiers" ],
      "max": "*",
      "id": "Claim.supportingInfo:tests.modifierExtension",
      "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.",
      "base": {
        "max": "*",
        "min": 0,
        "path": "BackboneElement.modifierExtension"
      },
      "isModifierReason": "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them",
      "isSummary": true
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      } ],
      "path": "Claim.supportingInfo.sequence",
      "requirements": "Necessary to maintain the order of the supporting information items and provide a mechanism to link to claim details.",
      "min": 1,
      "definition": "A number to uniquely identify supporting information entries.",
      "isModifier": false,
      "short": "Information instance identifier",
      "type": [ {
        "code": "positiveInt"
      } ],
      "max": "1",
      "id": "Claim.supportingInfo:tests.sequence",
      "base": {
        "max": "1",
        "min": 1,
        "path": "Claim.supportingInfo.sequence"
      },
      "isSummary": false
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      } ],
      "path": "Claim.supportingInfo.category",
      "requirements": "Required to group or associate information items with common characteristics. For example: admission information or prior treatments.",
      "min": 1,
      "definition": "The general class of the information supplied: information; exception; accident, employment; onset, etc.",
      "isModifier": false,
      "short": "Classification of the supplied information",
      "type": [ {
        "code": "CodeableConcept"
      } ],
      "binding": {
        "strength": "example",
        "valueSet": "http://hl7.org/fhir/ValueSet/claim-informationcategory",
        "extension": [ {
          "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
          "valueString": "InformationCategory"
        } ],
        "description": "The valuset used for additional information category codes."
      },
      "max": "1",
      "id": "Claim.supportingInfo:tests.category",
      "comment": "This may contain a category for the local bill type codes.",
      "patternCodeableConcept": {
        "coding": [ {
          "code": "tests",
          "system": "https://twcore.mohw.gov.tw/ig/pas/CodeSystem/nhi-supporting-info-type"
        } ]
      },
      "base": {
        "max": "1",
        "min": 1,
        "path": "Claim.supportingInfo.category"
      },
      "isSummary": false
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      } ],
      "path": "Claim.supportingInfo.code",
      "requirements": "Required to identify the kind of additional information.",
      "min": 0,
      "definition": "System and code pertaining to the specific information regarding special conditions relating to the setting, treatment or patient  for which care is sought.",
      "isModifier": false,
      "short": "Type of information",
      "type": [ {
        "code": "CodeableConcept"
      } ],
      "binding": {
        "strength": "example",
        "valueSet": "http://hl7.org/fhir/ValueSet/claim-exception",
        "extension": [ {
          "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
          "valueString": "InformationCode"
        } ],
        "description": "The valuset used for additional information codes."
      },
      "max": "1",
      "id": "Claim.supportingInfo:tests.code",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Claim.supportingInfo.code"
      },
      "isSummary": false
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      } ],
      "path": "Claim.supportingInfo.timing[x]",
      "min": 0,
      "definition": "The date when or period to which this information refers.",
      "isModifier": false,
      "short": "When it occurred",
      "type": [ {
        "code": "date"
      }, {
        "code": "Period"
      } ],
      "max": "0",
      "id": "Claim.supportingInfo:tests.timing[x]",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Claim.supportingInfo.timing[x]"
      },
      "isSummary": false
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      } ],
      "path": "Claim.supportingInfo.value[x]",
      "requirements": "To convey the data content to be provided when the information is more than a simple code or period.",
      "min": 1,
      "definition": "Additional data or information such as resources, documents, images etc. including references to the data or the actual inclusion of the data.",
      "isModifier": false,
      "short": "檢驗(查)",
      "type": [ {
        "code": "Reference",
        "targetProfile": [ "https://twcore.mohw.gov.tw/ig/pas/StructureDefinition/Observation-laboratory-result-twpas" ]
      } ],
      "mustSupport": true,
      "max": "1",
      "id": "Claim.supportingInfo:tests.value[x]",
      "comment": "Could be used to provide references to other resources, document. For example could contain a PDF in an Attachment of the Police Report for an Accident.",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Claim.supportingInfo.value[x]"
      },
      "isSummary": false
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      } ],
      "path": "Claim.supportingInfo.reason",
      "requirements": "Needed when the supporting information has both a date and amount/value and requires explanation.",
      "min": 0,
      "definition": "Provides the reason in the situation where a reason code is required in addition to the content.",
      "isModifier": false,
      "short": "Explanation for the information",
      "type": [ {
        "code": "CodeableConcept"
      } ],
      "binding": {
        "strength": "example",
        "valueSet": "http://hl7.org/fhir/ValueSet/missing-tooth-reason",
        "extension": [ {
          "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
          "valueString": "MissingReason"
        } ],
        "description": "Reason codes for the missing teeth."
      },
      "max": "1",
      "id": "Claim.supportingInfo:tests.reason",
      "comment": "For example: the reason for the additional stay, or why a tooth is  missing.",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Claim.supportingInfo.reason"
      },
      "isSummary": false
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      } ],
      "path": "Claim.supportingInfo",
      "requirements": "Typically these information codes are required to support the services rendered or the adjudication of the services rendered.",
      "min": 0,
      "definition": "Additional information codes regarding exceptions, special considerations, the condition, situation, prior or concurrent issues.",
      "isModifier": false,
      "short": "病人狀態評估",
      "mapping": [ {
        "map": "Request.supportingInfo",
        "identity": "workflow"
      } ],
      "type": [ {
        "code": "BackboneElement"
      } ],
      "sliceName": "patientAssessment",
      "alias": [ "Attachments\nException Codes\nOccurrence Codes\nValue codes" ],
      "max": "*",
      "id": "Claim.supportingInfo:patientAssessment",
      "comment": "Often there are multiple jurisdiction specific valuesets which are required.",
      "base": {
        "max": "*",
        "min": 0,
        "path": "Claim.supportingInfo"
      },
      "isSummary": false
    }, {
      "path": "Claim.supportingInfo.id",
      "min": 0,
      "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
      "isModifier": false,
      "short": "Unique id for inter-element referencing",
      "mapping": [ {
        "map": "n/a",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "http://hl7.org/fhirpath/System.String",
        "extension": [ {
          "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
          "valueUrl": "string"
        } ]
      } ],
      "representation": [ "xmlAttr" ],
      "max": "1",
      "id": "Claim.supportingInfo:patientAssessment.id",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Element.id"
      },
      "isSummary": false
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      }, {
        "key": "ext-1",
        "human": "Must have either extensions or value[x], not both",
        "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
        "source": "http://hl7.org/fhir/StructureDefinition/Extension",
        "severity": "error",
        "expression": "extension.exists() != value.exists()"
      } ],
      "path": "Claim.supportingInfo.extension",
      "min": 0,
      "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.",
      "isModifier": false,
      "short": "Additional content defined by implementations",
      "mapping": [ {
        "map": "n/a",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "Extension"
      } ],
      "alias": [ "extensions", "user content" ],
      "max": "*",
      "id": "Claim.supportingInfo:patientAssessment.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.",
      "base": {
        "max": "*",
        "min": 0,
        "path": "Element.extension"
      },
      "isSummary": false
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      }, {
        "key": "ext-1",
        "human": "Must have either extensions or value[x], not both",
        "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
        "source": "http://hl7.org/fhir/StructureDefinition/Extension",
        "severity": "error",
        "expression": "extension.exists() != value.exists()"
      } ],
      "path": "Claim.supportingInfo.modifierExtension",
      "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](http://hl7.org/fhir/R4/extensibility.html#modifierExtension).",
      "min": 0,
      "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).",
      "isModifier": true,
      "short": "Extensions that cannot be ignored even if unrecognized",
      "mapping": [ {
        "map": "N/A",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "Extension"
      } ],
      "alias": [ "extensions", "user content", "modifiers" ],
      "max": "*",
      "id": "Claim.supportingInfo:patientAssessment.modifierExtension",
      "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.",
      "base": {
        "max": "*",
        "min": 0,
        "path": "BackboneElement.modifierExtension"
      },
      "isModifierReason": "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them",
      "isSummary": true
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      } ],
      "path": "Claim.supportingInfo.sequence",
      "requirements": "Necessary to maintain the order of the supporting information items and provide a mechanism to link to claim details.",
      "min": 1,
      "definition": "A number to uniquely identify supporting information entries.",
      "isModifier": false,
      "short": "Information instance identifier",
      "type": [ {
        "code": "positiveInt"
      } ],
      "max": "1",
      "id": "Claim.supportingInfo:patientAssessment.sequence",
      "base": {
        "max": "1",
        "min": 1,
        "path": "Claim.supportingInfo.sequence"
      },
      "isSummary": false
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      } ],
      "path": "Claim.supportingInfo.category",
      "requirements": "Required to group or associate information items with common characteristics. For example: admission information or prior treatments.",
      "min": 1,
      "definition": "The general class of the information supplied: information; exception; accident, employment; onset, etc.",
      "isModifier": false,
      "short": "Classification of the supplied information",
      "type": [ {
        "code": "CodeableConcept"
      } ],
      "binding": {
        "strength": "example",
        "valueSet": "http://hl7.org/fhir/ValueSet/claim-informationcategory",
        "extension": [ {
          "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
          "valueString": "InformationCategory"
        } ],
        "description": "The valuset used for additional information category codes."
      },
      "max": "1",
      "id": "Claim.supportingInfo:patientAssessment.category",
      "comment": "This may contain a category for the local bill type codes.",
      "patternCodeableConcept": {
        "coding": [ {
          "code": "patientAssessment",
          "system": "https://twcore.mohw.gov.tw/ig/pas/CodeSystem/nhi-supporting-info-type"
        } ]
      },
      "base": {
        "max": "1",
        "min": 1,
        "path": "Claim.supportingInfo.category"
      },
      "isSummary": false
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      } ],
      "path": "Claim.supportingInfo.code",
      "requirements": "Required to identify the kind of additional information.",
      "min": 0,
      "definition": "System and code pertaining to the specific information regarding special conditions relating to the setting, treatment or patient  for which care is sought.",
      "isModifier": false,
      "short": "Type of information",
      "type": [ {
        "code": "CodeableConcept"
      } ],
      "binding": {
        "strength": "example",
        "valueSet": "http://hl7.org/fhir/ValueSet/claim-exception",
        "extension": [ {
          "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
          "valueString": "InformationCode"
        } ],
        "description": "The valuset used for additional information codes."
      },
      "max": "1",
      "id": "Claim.supportingInfo:patientAssessment.code",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Claim.supportingInfo.code"
      },
      "isSummary": false
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      } ],
      "path": "Claim.supportingInfo.timing[x]",
      "min": 0,
      "definition": "The date when or period to which this information refers.",
      "isModifier": false,
      "short": "When it occurred",
      "type": [ {
        "code": "date"
      }, {
        "code": "Period"
      } ],
      "max": "0",
      "id": "Claim.supportingInfo:patientAssessment.timing[x]",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Claim.supportingInfo.timing[x]"
      },
      "isSummary": false
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      } ],
      "path": "Claim.supportingInfo.value[x]",
      "requirements": "To convey the data content to be provided when the information is more than a simple code or period.",
      "min": 1,
      "definition": "Additional data or information such as resources, documents, images etc. including references to the data or the actual inclusion of the data.",
      "isModifier": false,
      "short": "病人狀態評估",
      "type": [ {
        "code": "Reference",
        "targetProfile": [ "https://twcore.mohw.gov.tw/ig/pas/StructureDefinition/Observation-pat-assessment-twpas" ]
      } ],
      "mustSupport": true,
      "max": "1",
      "id": "Claim.supportingInfo:patientAssessment.value[x]",
      "comment": "Could be used to provide references to other resources, document. For example could contain a PDF in an Attachment of the Police Report for an Accident.",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Claim.supportingInfo.value[x]"
      },
      "isSummary": false
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      } ],
      "path": "Claim.supportingInfo.reason",
      "requirements": "Needed when the supporting information has both a date and amount/value and requires explanation.",
      "min": 0,
      "definition": "Provides the reason in the situation where a reason code is required in addition to the content.",
      "isModifier": false,
      "short": "Explanation for the information",
      "type": [ {
        "code": "CodeableConcept"
      } ],
      "binding": {
        "strength": "example",
        "valueSet": "http://hl7.org/fhir/ValueSet/missing-tooth-reason",
        "extension": [ {
          "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
          "valueString": "MissingReason"
        } ],
        "description": "Reason codes for the missing teeth."
      },
      "max": "1",
      "id": "Claim.supportingInfo:patientAssessment.reason",
      "comment": "For example: the reason for the additional stay, or why a tooth is  missing.",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Claim.supportingInfo.reason"
      },
      "isSummary": false
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      } ],
      "path": "Claim.supportingInfo",
      "requirements": "Typically these information codes are required to support the services rendered or the adjudication of the services rendered.",
      "min": 0,
      "definition": "Additional information codes regarding exceptions, special considerations, the condition, situation, prior or concurrent issues.",
      "isModifier": false,
      "short": "用藥品項",
      "mapping": [ {
        "map": "Request.supportingInfo",
        "identity": "workflow"
      } ],
      "type": [ {
        "code": "BackboneElement"
      } ],
      "sliceName": "medicationRequest",
      "alias": [ "Attachments\nException Codes\nOccurrence Codes\nValue codes" ],
      "max": "*",
      "id": "Claim.supportingInfo:medicationRequest",
      "comment": "Often there are multiple jurisdiction specific valuesets which are required.",
      "base": {
        "max": "*",
        "min": 0,
        "path": "Claim.supportingInfo"
      },
      "isSummary": false
    }, {
      "path": "Claim.supportingInfo.id",
      "min": 0,
      "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
      "isModifier": false,
      "short": "Unique id for inter-element referencing",
      "mapping": [ {
        "map": "n/a",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "http://hl7.org/fhirpath/System.String",
        "extension": [ {
          "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
          "valueUrl": "string"
        } ]
      } ],
      "representation": [ "xmlAttr" ],
      "max": "1",
      "id": "Claim.supportingInfo:medicationRequest.id",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Element.id"
      },
      "isSummary": false
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      }, {
        "key": "ext-1",
        "human": "Must have either extensions or value[x], not both",
        "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
        "source": "http://hl7.org/fhir/StructureDefinition/Extension",
        "severity": "error",
        "expression": "extension.exists() != value.exists()"
      } ],
      "path": "Claim.supportingInfo.extension",
      "min": 0,
      "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.",
      "isModifier": false,
      "short": "Additional content defined by implementations",
      "mapping": [ {
        "map": "n/a",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "Extension"
      } ],
      "alias": [ "extensions", "user content" ],
      "max": "*",
      "id": "Claim.supportingInfo:medicationRequest.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.",
      "base": {
        "max": "*",
        "min": 0,
        "path": "Element.extension"
      },
      "isSummary": false
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      }, {
        "key": "ext-1",
        "human": "Must have either extensions or value[x], not both",
        "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
        "source": "http://hl7.org/fhir/StructureDefinition/Extension",
        "severity": "error",
        "expression": "extension.exists() != value.exists()"
      } ],
      "path": "Claim.supportingInfo.modifierExtension",
      "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](http://hl7.org/fhir/R4/extensibility.html#modifierExtension).",
      "min": 0,
      "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).",
      "isModifier": true,
      "short": "Extensions that cannot be ignored even if unrecognized",
      "mapping": [ {
        "map": "N/A",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "Extension"
      } ],
      "alias": [ "extensions", "user content", "modifiers" ],
      "max": "*",
      "id": "Claim.supportingInfo:medicationRequest.modifierExtension",
      "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.",
      "base": {
        "max": "*",
        "min": 0,
        "path": "BackboneElement.modifierExtension"
      },
      "isModifierReason": "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them",
      "isSummary": true
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      } ],
      "path": "Claim.supportingInfo.sequence",
      "requirements": "Necessary to maintain the order of the supporting information items and provide a mechanism to link to claim details.",
      "min": 1,
      "definition": "A number to uniquely identify supporting information entries.",
      "isModifier": false,
      "short": "Information instance identifier",
      "type": [ {
        "code": "positiveInt"
      } ],
      "max": "1",
      "id": "Claim.supportingInfo:medicationRequest.sequence",
      "base": {
        "max": "1",
        "min": 1,
        "path": "Claim.supportingInfo.sequence"
      },
      "isSummary": false
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      } ],
      "path": "Claim.supportingInfo.category",
      "requirements": "Required to group or associate information items with common characteristics. For example: admission information or prior treatments.",
      "min": 1,
      "definition": "The general class of the information supplied: information; exception; accident, employment; onset, etc.",
      "isModifier": false,
      "short": "Classification of the supplied information",
      "type": [ {
        "code": "CodeableConcept"
      } ],
      "binding": {
        "strength": "example",
        "valueSet": "http://hl7.org/fhir/ValueSet/claim-informationcategory",
        "extension": [ {
          "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
          "valueString": "InformationCategory"
        } ],
        "description": "The valuset used for additional information category codes."
      },
      "max": "1",
      "id": "Claim.supportingInfo:medicationRequest.category",
      "comment": "This may contain a category for the local bill type codes.",
      "patternCodeableConcept": {
        "coding": [ {
          "code": "medicationRequest",
          "system": "https://twcore.mohw.gov.tw/ig/pas/CodeSystem/nhi-supporting-info-type"
        } ]
      },
      "base": {
        "max": "1",
        "min": 1,
        "path": "Claim.supportingInfo.category"
      },
      "isSummary": false
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      } ],
      "path": "Claim.supportingInfo.code",
      "requirements": "Required to identify the kind of additional information.",
      "min": 0,
      "definition": "System and code pertaining to the specific information regarding special conditions relating to the setting, treatment or patient  for which care is sought.",
      "isModifier": false,
      "short": "Type of information",
      "type": [ {
        "code": "CodeableConcept"
      } ],
      "binding": {
        "strength": "example",
        "valueSet": "http://hl7.org/fhir/ValueSet/claim-exception",
        "extension": [ {
          "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
          "valueString": "InformationCode"
        } ],
        "description": "The valuset used for additional information codes."
      },
      "max": "1",
      "id": "Claim.supportingInfo:medicationRequest.code",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Claim.supportingInfo.code"
      },
      "isSummary": false
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      } ],
      "path": "Claim.supportingInfo.timing[x]",
      "min": 0,
      "definition": "The date when or period to which this information refers.",
      "isModifier": false,
      "short": "When it occurred",
      "type": [ {
        "code": "date"
      }, {
        "code": "Period"
      } ],
      "max": "0",
      "id": "Claim.supportingInfo:medicationRequest.timing[x]",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Claim.supportingInfo.timing[x]"
      },
      "isSummary": false
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      } ],
      "path": "Claim.supportingInfo.value[x]",
      "requirements": "To convey the data content to be provided when the information is more than a simple code or period.",
      "min": 1,
      "definition": "Additional data or information such as resources, documents, images etc. including references to the data or the actual inclusion of the data.",
      "isModifier": false,
      "short": "用藥品項",
      "type": [ {
        "code": "Reference",
        "targetProfile": [ "https://twcore.mohw.gov.tw/ig/pas/StructureDefinition/MedicationRequest-treat-twpas" ]
      } ],
      "mustSupport": true,
      "max": "1",
      "id": "Claim.supportingInfo:medicationRequest.value[x]",
      "comment": "Could be used to provide references to other resources, document. For example could contain a PDF in an Attachment of the Police Report for an Accident.",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Claim.supportingInfo.value[x]"
      },
      "isSummary": false
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      } ],
      "path": "Claim.supportingInfo.reason",
      "requirements": "Needed when the supporting information has both a date and amount/value and requires explanation.",
      "min": 0,
      "definition": "Provides the reason in the situation where a reason code is required in addition to the content.",
      "isModifier": false,
      "short": "Explanation for the information",
      "type": [ {
        "code": "CodeableConcept"
      } ],
      "binding": {
        "strength": "example",
        "valueSet": "http://hl7.org/fhir/ValueSet/missing-tooth-reason",
        "extension": [ {
          "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
          "valueString": "MissingReason"
        } ],
        "description": "Reason codes for the missing teeth."
      },
      "max": "1",
      "id": "Claim.supportingInfo:medicationRequest.reason",
      "comment": "For example: the reason for the additional stay, or why a tooth is  missing.",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Claim.supportingInfo.reason"
      },
      "isSummary": false
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      } ],
      "path": "Claim.supportingInfo",
      "requirements": "Typically these information codes are required to support the services rendered or the adjudication of the services rendered.",
      "min": 0,
      "definition": "Additional information codes regarding exceptions, special considerations, the condition, situation, prior or concurrent issues.",
      "isModifier": false,
      "short": "放射治療",
      "mapping": [ {
        "map": "Request.supportingInfo",
        "identity": "workflow"
      } ],
      "type": [ {
        "code": "BackboneElement"
      } ],
      "sliceName": "radiotherapy",
      "alias": [ "Attachments\nException Codes\nOccurrence Codes\nValue codes" ],
      "max": "*",
      "id": "Claim.supportingInfo:radiotherapy",
      "comment": "Often there are multiple jurisdiction specific valuesets which are required.",
      "base": {
        "max": "*",
        "min": 0,
        "path": "Claim.supportingInfo"
      },
      "isSummary": false
    }, {
      "path": "Claim.supportingInfo.id",
      "min": 0,
      "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
      "isModifier": false,
      "short": "Unique id for inter-element referencing",
      "mapping": [ {
        "map": "n/a",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "http://hl7.org/fhirpath/System.String",
        "extension": [ {
          "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
          "valueUrl": "string"
        } ]
      } ],
      "representation": [ "xmlAttr" ],
      "max": "1",
      "id": "Claim.supportingInfo:radiotherapy.id",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Element.id"
      },
      "isSummary": false
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      }, {
        "key": "ext-1",
        "human": "Must have either extensions or value[x], not both",
        "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
        "source": "http://hl7.org/fhir/StructureDefinition/Extension",
        "severity": "error",
        "expression": "extension.exists() != value.exists()"
      } ],
      "path": "Claim.supportingInfo.extension",
      "min": 0,
      "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.",
      "isModifier": false,
      "short": "Additional content defined by implementations",
      "mapping": [ {
        "map": "n/a",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "Extension"
      } ],
      "alias": [ "extensions", "user content" ],
      "max": "*",
      "id": "Claim.supportingInfo:radiotherapy.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.",
      "base": {
        "max": "*",
        "min": 0,
        "path": "Element.extension"
      },
      "isSummary": false
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      }, {
        "key": "ext-1",
        "human": "Must have either extensions or value[x], not both",
        "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
        "source": "http://hl7.org/fhir/StructureDefinition/Extension",
        "severity": "error",
        "expression": "extension.exists() != value.exists()"
      } ],
      "path": "Claim.supportingInfo.modifierExtension",
      "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](http://hl7.org/fhir/R4/extensibility.html#modifierExtension).",
      "min": 0,
      "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).",
      "isModifier": true,
      "short": "Extensions that cannot be ignored even if unrecognized",
      "mapping": [ {
        "map": "N/A",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "Extension"
      } ],
      "alias": [ "extensions", "user content", "modifiers" ],
      "max": "*",
      "id": "Claim.supportingInfo:radiotherapy.modifierExtension",
      "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.",
      "base": {
        "max": "*",
        "min": 0,
        "path": "BackboneElement.modifierExtension"
      },
      "isModifierReason": "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them",
      "isSummary": true
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      } ],
      "path": "Claim.supportingInfo.sequence",
      "requirements": "Necessary to maintain the order of the supporting information items and provide a mechanism to link to claim details.",
      "min": 1,
      "definition": "A number to uniquely identify supporting information entries.",
      "isModifier": false,
      "short": "Information instance identifier",
      "type": [ {
        "code": "positiveInt"
      } ],
      "max": "1",
      "id": "Claim.supportingInfo:radiotherapy.sequence",
      "base": {
        "max": "1",
        "min": 1,
        "path": "Claim.supportingInfo.sequence"
      },
      "isSummary": false
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      } ],
      "path": "Claim.supportingInfo.category",
      "requirements": "Required to group or associate information items with common characteristics. For example: admission information or prior treatments.",
      "min": 1,
      "definition": "The general class of the information supplied: information; exception; accident, employment; onset, etc.",
      "isModifier": false,
      "short": "Classification of the supplied information",
      "type": [ {
        "code": "CodeableConcept"
      } ],
      "binding": {
        "strength": "example",
        "valueSet": "http://hl7.org/fhir/ValueSet/claim-informationcategory",
        "extension": [ {
          "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
          "valueString": "InformationCategory"
        } ],
        "description": "The valuset used for additional information category codes."
      },
      "max": "1",
      "id": "Claim.supportingInfo:radiotherapy.category",
      "comment": "This may contain a category for the local bill type codes.",
      "patternCodeableConcept": {
        "coding": [ {
          "code": "radiotherapy",
          "system": "https://twcore.mohw.gov.tw/ig/pas/CodeSystem/nhi-supporting-info-type"
        } ]
      },
      "base": {
        "max": "1",
        "min": 1,
        "path": "Claim.supportingInfo.category"
      },
      "isSummary": false
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      } ],
      "path": "Claim.supportingInfo.code",
      "requirements": "Required to identify the kind of additional information.",
      "min": 0,
      "definition": "System and code pertaining to the specific information regarding special conditions relating to the setting, treatment or patient  for which care is sought.",
      "isModifier": false,
      "short": "Type of information",
      "type": [ {
        "code": "CodeableConcept"
      } ],
      "binding": {
        "strength": "example",
        "valueSet": "http://hl7.org/fhir/ValueSet/claim-exception",
        "extension": [ {
          "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
          "valueString": "InformationCode"
        } ],
        "description": "The valuset used for additional information codes."
      },
      "max": "1",
      "id": "Claim.supportingInfo:radiotherapy.code",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Claim.supportingInfo.code"
      },
      "isSummary": false
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      } ],
      "path": "Claim.supportingInfo.timing[x]",
      "min": 0,
      "definition": "The date when or period to which this information refers.",
      "isModifier": false,
      "short": "When it occurred",
      "type": [ {
        "code": "date"
      }, {
        "code": "Period"
      } ],
      "max": "0",
      "id": "Claim.supportingInfo:radiotherapy.timing[x]",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Claim.supportingInfo.timing[x]"
      },
      "isSummary": false
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      } ],
      "path": "Claim.supportingInfo.value[x]",
      "requirements": "To convey the data content to be provided when the information is more than a simple code or period.",
      "min": 1,
      "definition": "Additional data or information such as resources, documents, images etc. including references to the data or the actual inclusion of the data.",
      "isModifier": false,
      "short": "放射治療",
      "type": [ {
        "code": "Reference",
        "targetProfile": [ "https://twcore.mohw.gov.tw/ig/pas/StructureDefinition/Procedure-twpas" ]
      } ],
      "mustSupport": true,
      "max": "1",
      "id": "Claim.supportingInfo:radiotherapy.value[x]",
      "comment": "Could be used to provide references to other resources, document. For example could contain a PDF in an Attachment of the Police Report for an Accident.",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Claim.supportingInfo.value[x]"
      },
      "isSummary": false
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      } ],
      "path": "Claim.supportingInfo.reason",
      "requirements": "Needed when the supporting information has both a date and amount/value and requires explanation.",
      "min": 0,
      "definition": "Provides the reason in the situation where a reason code is required in addition to the content.",
      "isModifier": false,
      "short": "Explanation for the information",
      "type": [ {
        "code": "CodeableConcept"
      } ],
      "binding": {
        "strength": "example",
        "valueSet": "http://hl7.org/fhir/ValueSet/missing-tooth-reason",
        "extension": [ {
          "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
          "valueString": "MissingReason"
        } ],
        "description": "Reason codes for the missing teeth."
      },
      "max": "1",
      "id": "Claim.supportingInfo:radiotherapy.reason",
      "comment": "For example: the reason for the additional stay, or why a tooth is  missing.",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Claim.supportingInfo.reason"
      },
      "isSummary": false
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      } ],
      "path": "Claim.supportingInfo",
      "requirements": "Typically these information codes are required to support the services rendered or the adjudication of the services rendered.",
      "min": 0,
      "definition": "Additional information codes regarding exceptions, special considerations, the condition, situation, prior or concurrent issues.",
      "isModifier": false,
      "short": "治療計畫文件,P-IO(免疫檢查點抑制劑治療計畫)、P-CART(CAR-T多團隊會議紀錄)、P-STEMCELL(造血幹細胞移植計畫書),附件形式PDF",
      "mapping": [ {
        "map": "Request.supportingInfo",
        "identity": "workflow"
      } ],
      "type": [ {
        "code": "BackboneElement"
      } ],
      "sliceName": "carePlanDocument",
      "alias": [ "Attachments\nException Codes\nOccurrence Codes\nValue codes" ],
      "max": "*",
      "id": "Claim.supportingInfo:carePlanDocument",
      "comment": "Often there are multiple jurisdiction specific valuesets which are required.",
      "base": {
        "max": "*",
        "min": 0,
        "path": "Claim.supportingInfo"
      },
      "isSummary": false
    }, {
      "path": "Claim.supportingInfo.id",
      "min": 0,
      "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
      "isModifier": false,
      "short": "Unique id for inter-element referencing",
      "mapping": [ {
        "map": "n/a",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "http://hl7.org/fhirpath/System.String",
        "extension": [ {
          "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
          "valueUrl": "string"
        } ]
      } ],
      "representation": [ "xmlAttr" ],
      "max": "1",
      "id": "Claim.supportingInfo:carePlanDocument.id",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Element.id"
      },
      "isSummary": false
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      }, {
        "key": "ext-1",
        "human": "Must have either extensions or value[x], not both",
        "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
        "source": "http://hl7.org/fhir/StructureDefinition/Extension",
        "severity": "error",
        "expression": "extension.exists() != value.exists()"
      } ],
      "path": "Claim.supportingInfo.extension",
      "min": 0,
      "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.",
      "isModifier": false,
      "short": "Additional content defined by implementations",
      "mapping": [ {
        "map": "n/a",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "Extension"
      } ],
      "alias": [ "extensions", "user content" ],
      "max": "*",
      "id": "Claim.supportingInfo:carePlanDocument.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.",
      "base": {
        "max": "*",
        "min": 0,
        "path": "Element.extension"
      },
      "isSummary": false
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      }, {
        "key": "ext-1",
        "human": "Must have either extensions or value[x], not both",
        "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
        "source": "http://hl7.org/fhir/StructureDefinition/Extension",
        "severity": "error",
        "expression": "extension.exists() != value.exists()"
      } ],
      "path": "Claim.supportingInfo.modifierExtension",
      "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](http://hl7.org/fhir/R4/extensibility.html#modifierExtension).",
      "min": 0,
      "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).",
      "isModifier": true,
      "short": "Extensions that cannot be ignored even if unrecognized",
      "mapping": [ {
        "map": "N/A",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "Extension"
      } ],
      "alias": [ "extensions", "user content", "modifiers" ],
      "max": "*",
      "id": "Claim.supportingInfo:carePlanDocument.modifierExtension",
      "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.",
      "base": {
        "max": "*",
        "min": 0,
        "path": "BackboneElement.modifierExtension"
      },
      "isModifierReason": "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them",
      "isSummary": true
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      } ],
      "path": "Claim.supportingInfo.sequence",
      "requirements": "Necessary to maintain the order of the supporting information items and provide a mechanism to link to claim details.",
      "min": 1,
      "definition": "A number to uniquely identify supporting information entries.",
      "isModifier": false,
      "short": "Information instance identifier",
      "type": [ {
        "code": "positiveInt"
      } ],
      "max": "1",
      "id": "Claim.supportingInfo:carePlanDocument.sequence",
      "base": {
        "max": "1",
        "min": 1,
        "path": "Claim.supportingInfo.sequence"
      },
      "isSummary": false
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      } ],
      "path": "Claim.supportingInfo.category",
      "requirements": "Required to group or associate information items with common characteristics. For example: admission information or prior treatments.",
      "min": 1,
      "definition": "The general class of the information supplied: information; exception; accident, employment; onset, etc.",
      "isModifier": false,
      "short": "Classification of the supplied information",
      "type": [ {
        "code": "CodeableConcept"
      } ],
      "binding": {
        "strength": "example",
        "valueSet": "http://hl7.org/fhir/ValueSet/claim-informationcategory",
        "extension": [ {
          "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
          "valueString": "InformationCategory"
        } ],
        "description": "The valuset used for additional information category codes."
      },
      "max": "1",
      "id": "Claim.supportingInfo:carePlanDocument.category",
      "comment": "This may contain a category for the local bill type codes.",
      "patternCodeableConcept": {
        "coding": [ {
          "code": "carePlanDocument",
          "system": "https://twcore.mohw.gov.tw/ig/pas/CodeSystem/nhi-supporting-info-type"
        } ]
      },
      "base": {
        "max": "1",
        "min": 1,
        "path": "Claim.supportingInfo.category"
      },
      "isSummary": false
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      } ],
      "path": "Claim.supportingInfo.code",
      "requirements": "Required to identify the kind of additional information.",
      "min": 0,
      "definition": "System and code pertaining to the specific information regarding special conditions relating to the setting, treatment or patient  for which care is sought.",
      "isModifier": false,
      "short": "Type of information",
      "type": [ {
        "code": "CodeableConcept"
      } ],
      "binding": {
        "strength": "example",
        "valueSet": "http://hl7.org/fhir/ValueSet/claim-exception",
        "extension": [ {
          "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
          "valueString": "InformationCode"
        } ],
        "description": "The valuset used for additional information codes."
      },
      "max": "1",
      "id": "Claim.supportingInfo:carePlanDocument.code",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Claim.supportingInfo.code"
      },
      "isSummary": false
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      } ],
      "path": "Claim.supportingInfo.timing[x]",
      "min": 0,
      "definition": "The date when or period to which this information refers.",
      "isModifier": false,
      "short": "When it occurred",
      "type": [ {
        "code": "date"
      }, {
        "code": "Period"
      } ],
      "max": "0",
      "id": "Claim.supportingInfo:carePlanDocument.timing[x]",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Claim.supportingInfo.timing[x]"
      },
      "isSummary": false
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      } ],
      "path": "Claim.supportingInfo.value[x]",
      "requirements": "To convey the data content to be provided when the information is more than a simple code or period.",
      "min": 1,
      "definition": "Additional data or information such as resources, documents, images etc. including references to the data or the actual inclusion of the data.",
      "isModifier": false,
      "short": "治療計畫文件",
      "type": [ {
        "code": "Reference",
        "targetProfile": [ "https://twcore.mohw.gov.tw/ig/pas/StructureDefinition/DocumentReference-twpas" ]
      } ],
      "mustSupport": true,
      "max": "1",
      "id": "Claim.supportingInfo:carePlanDocument.value[x]",
      "comment": "Could be used to provide references to other resources, document. For example could contain a PDF in an Attachment of the Police Report for an Accident.",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Claim.supportingInfo.value[x]"
      },
      "isSummary": false
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      } ],
      "path": "Claim.supportingInfo.reason",
      "requirements": "Needed when the supporting information has both a date and amount/value and requires explanation.",
      "min": 0,
      "definition": "Provides the reason in the situation where a reason code is required in addition to the content.",
      "isModifier": false,
      "short": "Explanation for the information",
      "type": [ {
        "code": "CodeableConcept"
      } ],
      "binding": {
        "strength": "example",
        "valueSet": "http://hl7.org/fhir/ValueSet/missing-tooth-reason",
        "extension": [ {
          "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
          "valueString": "MissingReason"
        } ],
        "description": "Reason codes for the missing teeth."
      },
      "max": "1",
      "id": "Claim.supportingInfo:carePlanDocument.reason",
      "comment": "For example: the reason for the additional stay, or why a tooth is  missing.",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Claim.supportingInfo.reason"
      },
      "isSummary": false
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      } ],
      "path": "Claim.supportingInfo",
      "requirements": "Typically these information codes are required to support the services rendered or the adjudication of the services rendered.",
      "min": 0,
      "definition": "Additional information codes regarding exceptions, special considerations, the condition, situation, prior or concurrent issues.",
      "isModifier": false,
      "short": "病歷資料(非屬影像報告檢查驗報告部分),可檢附其他佐證癌藥治療必要性之非結構化病歷。",
      "mapping": [ {
        "map": "Request.supportingInfo",
        "identity": "workflow"
      } ],
      "type": [ {
        "code": "BackboneElement"
      } ],
      "sliceName": "medicalRecord",
      "alias": [ "Attachments\nException Codes\nOccurrence Codes\nValue codes" ],
      "max": "*",
      "id": "Claim.supportingInfo:medicalRecord",
      "comment": "Often there are multiple jurisdiction specific valuesets which are required.",
      "base": {
        "max": "*",
        "min": 0,
        "path": "Claim.supportingInfo"
      },
      "isSummary": false
    }, {
      "path": "Claim.supportingInfo.id",
      "min": 0,
      "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
      "isModifier": false,
      "short": "Unique id for inter-element referencing",
      "mapping": [ {
        "map": "n/a",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "http://hl7.org/fhirpath/System.String",
        "extension": [ {
          "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
          "valueUrl": "string"
        } ]
      } ],
      "representation": [ "xmlAttr" ],
      "max": "1",
      "id": "Claim.supportingInfo:medicalRecord.id",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Element.id"
      },
      "isSummary": false
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      }, {
        "key": "ext-1",
        "human": "Must have either extensions or value[x], not both",
        "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
        "source": "http://hl7.org/fhir/StructureDefinition/Extension",
        "severity": "error",
        "expression": "extension.exists() != value.exists()"
      } ],
      "path": "Claim.supportingInfo.extension",
      "min": 0,
      "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.",
      "isModifier": false,
      "short": "Additional content defined by implementations",
      "mapping": [ {
        "map": "n/a",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "Extension"
      } ],
      "alias": [ "extensions", "user content" ],
      "max": "*",
      "id": "Claim.supportingInfo:medicalRecord.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.",
      "base": {
        "max": "*",
        "min": 0,
        "path": "Element.extension"
      },
      "isSummary": false
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      }, {
        "key": "ext-1",
        "human": "Must have either extensions or value[x], not both",
        "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
        "source": "http://hl7.org/fhir/StructureDefinition/Extension",
        "severity": "error",
        "expression": "extension.exists() != value.exists()"
      } ],
      "path": "Claim.supportingInfo.modifierExtension",
      "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](http://hl7.org/fhir/R4/extensibility.html#modifierExtension).",
      "min": 0,
      "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).",
      "isModifier": true,
      "short": "Extensions that cannot be ignored even if unrecognized",
      "mapping": [ {
        "map": "N/A",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "Extension"
      } ],
      "alias": [ "extensions", "user content", "modifiers" ],
      "max": "*",
      "id": "Claim.supportingInfo:medicalRecord.modifierExtension",
      "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.",
      "base": {
        "max": "*",
        "min": 0,
        "path": "BackboneElement.modifierExtension"
      },
      "isModifierReason": "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them",
      "isSummary": true
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      } ],
      "path": "Claim.supportingInfo.sequence",
      "requirements": "Necessary to maintain the order of the supporting information items and provide a mechanism to link to claim details.",
      "min": 1,
      "definition": "A number to uniquely identify supporting information entries.",
      "isModifier": false,
      "short": "Information instance identifier",
      "type": [ {
        "code": "positiveInt"
      } ],
      "max": "1",
      "id": "Claim.supportingInfo:medicalRecord.sequence",
      "base": {
        "max": "1",
        "min": 1,
        "path": "Claim.supportingInfo.sequence"
      },
      "isSummary": false
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      } ],
      "path": "Claim.supportingInfo.category",
      "requirements": "Required to group or associate information items with common characteristics. For example: admission information or prior treatments.",
      "min": 1,
      "definition": "The general class of the information supplied: information; exception; accident, employment; onset, etc.",
      "isModifier": false,
      "short": "Classification of the supplied information",
      "type": [ {
        "code": "CodeableConcept"
      } ],
      "binding": {
        "strength": "example",
        "valueSet": "http://hl7.org/fhir/ValueSet/claim-informationcategory",
        "extension": [ {
          "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
          "valueString": "InformationCategory"
        } ],
        "description": "The valuset used for additional information category codes."
      },
      "max": "1",
      "id": "Claim.supportingInfo:medicalRecord.category",
      "comment": "This may contain a category for the local bill type codes.",
      "patternCodeableConcept": {
        "coding": [ {
          "code": "medicalRecord",
          "system": "https://twcore.mohw.gov.tw/ig/pas/CodeSystem/nhi-supporting-info-type"
        } ]
      },
      "base": {
        "max": "1",
        "min": 1,
        "path": "Claim.supportingInfo.category"
      },
      "isSummary": false
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      } ],
      "path": "Claim.supportingInfo.code",
      "requirements": "Required to identify the kind of additional information.",
      "min": 0,
      "definition": "System and code pertaining to the specific information regarding special conditions relating to the setting, treatment or patient  for which care is sought.",
      "isModifier": false,
      "short": "Type of information",
      "type": [ {
        "code": "CodeableConcept"
      } ],
      "binding": {
        "strength": "example",
        "valueSet": "http://hl7.org/fhir/ValueSet/claim-exception",
        "extension": [ {
          "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
          "valueString": "InformationCode"
        } ],
        "description": "The valuset used for additional information codes."
      },
      "max": "1",
      "id": "Claim.supportingInfo:medicalRecord.code",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Claim.supportingInfo.code"
      },
      "isSummary": false
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      } ],
      "path": "Claim.supportingInfo.timing[x]",
      "min": 0,
      "definition": "The date when or period to which this information refers.",
      "isModifier": false,
      "short": "When it occurred",
      "type": [ {
        "code": "date"
      }, {
        "code": "Period"
      } ],
      "max": "0",
      "id": "Claim.supportingInfo:medicalRecord.timing[x]",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Claim.supportingInfo.timing[x]"
      },
      "isSummary": false
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      } ],
      "path": "Claim.supportingInfo.value[x]",
      "requirements": "To convey the data content to be provided when the information is more than a simple code or period.",
      "min": 1,
      "definition": "Additional data or information such as resources, documents, images etc. including references to the data or the actual inclusion of the data.",
      "isModifier": false,
      "short": "Data to be provided",
      "type": [ {
        "code": "Reference",
        "targetProfile": [ "https://twcore.mohw.gov.tw/ig/pas/StructureDefinition/DocumentReference-twpas" ]
      } ],
      "mustSupport": true,
      "max": "1",
      "id": "Claim.supportingInfo:medicalRecord.value[x]",
      "comment": "Could be used to provide references to other resources, document. For example could contain a PDF in an Attachment of the Police Report for an Accident.",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Claim.supportingInfo.value[x]"
      },
      "isSummary": false
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      } ],
      "path": "Claim.supportingInfo.reason",
      "requirements": "Needed when the supporting information has both a date and amount/value and requires explanation.",
      "min": 0,
      "definition": "Provides the reason in the situation where a reason code is required in addition to the content.",
      "isModifier": false,
      "short": "Explanation for the information",
      "type": [ {
        "code": "CodeableConcept"
      } ],
      "binding": {
        "strength": "example",
        "valueSet": "http://hl7.org/fhir/ValueSet/missing-tooth-reason",
        "extension": [ {
          "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
          "valueString": "MissingReason"
        } ],
        "description": "Reason codes for the missing teeth."
      },
      "max": "1",
      "id": "Claim.supportingInfo:medicalRecord.reason",
      "comment": "For example: the reason for the additional stay, or why a tooth is  missing.",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Claim.supportingInfo.reason"
      },
      "isSummary": false
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      } ],
      "path": "Claim.supportingInfo",
      "requirements": "Typically these information codes are required to support the services rendered or the adjudication of the services rendered.",
      "min": 0,
      "definition": "Additional information codes regarding exceptions, special considerations, the condition, situation, prior or concurrent issues.",
      "isModifier": false,
      "short": "結果資訊",
      "mapping": [ {
        "map": "Request.supportingInfo",
        "identity": "workflow"
      } ],
      "type": [ {
        "code": "BackboneElement"
      } ],
      "sliceName": "treatmentAssessment",
      "alias": [ "Attachments\nException Codes\nOccurrence Codes\nValue codes" ],
      "max": "*",
      "id": "Claim.supportingInfo:treatmentAssessment",
      "comment": "Often there are multiple jurisdiction specific valuesets which are required.",
      "base": {
        "max": "*",
        "min": 0,
        "path": "Claim.supportingInfo"
      },
      "isSummary": false
    }, {
      "path": "Claim.supportingInfo.id",
      "min": 0,
      "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
      "isModifier": false,
      "short": "Unique id for inter-element referencing",
      "mapping": [ {
        "map": "n/a",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "http://hl7.org/fhirpath/System.String",
        "extension": [ {
          "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
          "valueUrl": "string"
        } ]
      } ],
      "representation": [ "xmlAttr" ],
      "max": "1",
      "id": "Claim.supportingInfo:treatmentAssessment.id",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Element.id"
      },
      "isSummary": false
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      }, {
        "key": "ext-1",
        "human": "Must have either extensions or value[x], not both",
        "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
        "source": "http://hl7.org/fhir/StructureDefinition/Extension",
        "severity": "error",
        "expression": "extension.exists() != value.exists()"
      } ],
      "path": "Claim.supportingInfo.extension",
      "min": 0,
      "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.",
      "isModifier": false,
      "short": "Additional content defined by implementations",
      "mapping": [ {
        "map": "n/a",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "Extension"
      } ],
      "alias": [ "extensions", "user content" ],
      "max": "*",
      "id": "Claim.supportingInfo:treatmentAssessment.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.",
      "base": {
        "max": "*",
        "min": 0,
        "path": "Element.extension"
      },
      "isSummary": false
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      }, {
        "key": "ext-1",
        "human": "Must have either extensions or value[x], not both",
        "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
        "source": "http://hl7.org/fhir/StructureDefinition/Extension",
        "severity": "error",
        "expression": "extension.exists() != value.exists()"
      } ],
      "path": "Claim.supportingInfo.modifierExtension",
      "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](http://hl7.org/fhir/R4/extensibility.html#modifierExtension).",
      "min": 0,
      "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).",
      "isModifier": true,
      "short": "Extensions that cannot be ignored even if unrecognized",
      "mapping": [ {
        "map": "N/A",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "Extension"
      } ],
      "alias": [ "extensions", "user content", "modifiers" ],
      "max": "*",
      "id": "Claim.supportingInfo:treatmentAssessment.modifierExtension",
      "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.",
      "base": {
        "max": "*",
        "min": 0,
        "path": "BackboneElement.modifierExtension"
      },
      "isModifierReason": "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them",
      "isSummary": true
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      } ],
      "path": "Claim.supportingInfo.sequence",
      "requirements": "Necessary to maintain the order of the supporting information items and provide a mechanism to link to claim details.",
      "min": 1,
      "definition": "A number to uniquely identify supporting information entries.",
      "isModifier": false,
      "short": "Information instance identifier",
      "type": [ {
        "code": "positiveInt"
      } ],
      "max": "1",
      "id": "Claim.supportingInfo:treatmentAssessment.sequence",
      "base": {
        "max": "1",
        "min": 1,
        "path": "Claim.supportingInfo.sequence"
      },
      "isSummary": false
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      } ],
      "path": "Claim.supportingInfo.category",
      "requirements": "Required to group or associate information items with common characteristics. For example: admission information or prior treatments.",
      "min": 1,
      "definition": "The general class of the information supplied: information; exception; accident, employment; onset, etc.",
      "isModifier": false,
      "short": "Classification of the supplied information",
      "type": [ {
        "code": "CodeableConcept"
      } ],
      "binding": {
        "strength": "example",
        "valueSet": "http://hl7.org/fhir/ValueSet/claim-informationcategory",
        "extension": [ {
          "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
          "valueString": "InformationCategory"
        } ],
        "description": "The valuset used for additional information category codes."
      },
      "max": "1",
      "id": "Claim.supportingInfo:treatmentAssessment.category",
      "comment": "This may contain a category for the local bill type codes.",
      "patternCodeableConcept": {
        "coding": [ {
          "code": "treatmentAssessment",
          "system": "https://twcore.mohw.gov.tw/ig/pas/CodeSystem/nhi-supporting-info-type"
        } ]
      },
      "base": {
        "max": "1",
        "min": 1,
        "path": "Claim.supportingInfo.category"
      },
      "isSummary": false
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      } ],
      "path": "Claim.supportingInfo.code",
      "requirements": "Required to identify the kind of additional information.",
      "min": 0,
      "definition": "System and code pertaining to the specific information regarding special conditions relating to the setting, treatment or patient  for which care is sought.",
      "isModifier": false,
      "short": "Type of information",
      "type": [ {
        "code": "CodeableConcept"
      } ],
      "binding": {
        "strength": "example",
        "valueSet": "http://hl7.org/fhir/ValueSet/claim-exception",
        "extension": [ {
          "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
          "valueString": "InformationCode"
        } ],
        "description": "The valuset used for additional information codes."
      },
      "max": "1",
      "id": "Claim.supportingInfo:treatmentAssessment.code",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Claim.supportingInfo.code"
      },
      "isSummary": false
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      } ],
      "path": "Claim.supportingInfo.timing[x]",
      "min": 0,
      "definition": "The date when or period to which this information refers.",
      "isModifier": false,
      "short": "When it occurred",
      "type": [ {
        "code": "date"
      }, {
        "code": "Period"
      } ],
      "max": "0",
      "id": "Claim.supportingInfo:treatmentAssessment.timing[x]",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Claim.supportingInfo.timing[x]"
      },
      "isSummary": false
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      } ],
      "path": "Claim.supportingInfo.value[x]",
      "requirements": "To convey the data content to be provided when the information is more than a simple code or period.",
      "min": 1,
      "definition": "Additional data or information such as resources, documents, images etc. including references to the data or the actual inclusion of the data.",
      "isModifier": false,
      "short": "結果資訊",
      "type": [ {
        "code": "Reference",
        "targetProfile": [ "https://twcore.mohw.gov.tw/ig/pas/StructureDefinition/Observation-tx-assessment-twpas" ]
      } ],
      "mustSupport": true,
      "max": "1",
      "id": "Claim.supportingInfo:treatmentAssessment.value[x]",
      "comment": "Could be used to provide references to other resources, document. For example could contain a PDF in an Attachment of the Police Report for an Accident.",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Claim.supportingInfo.value[x]"
      },
      "isSummary": false
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      } ],
      "path": "Claim.supportingInfo.reason",
      "requirements": "Needed when the supporting information has both a date and amount/value and requires explanation.",
      "min": 0,
      "definition": "Provides the reason in the situation where a reason code is required in addition to the content.",
      "isModifier": false,
      "short": "Explanation for the information",
      "type": [ {
        "code": "CodeableConcept"
      } ],
      "binding": {
        "strength": "example",
        "valueSet": "http://hl7.org/fhir/ValueSet/missing-tooth-reason",
        "extension": [ {
          "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
          "valueString": "MissingReason"
        } ],
        "description": "Reason codes for the missing teeth."
      },
      "max": "1",
      "id": "Claim.supportingInfo:treatmentAssessment.reason",
      "comment": "For example: the reason for the additional stay, or why a tooth is  missing.",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Claim.supportingInfo.reason"
      },
      "isSummary": false
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      }, {
        "key": "diagnosis",
        "human": "diagnosis.sequence=1時才需填寫診斷日期、簡要病摘(申請原因)",
        "source": "https://twcore.mohw.gov.tw/ig/pas/StructureDefinition/Claim-twpas",
        "severity": "error",
        "expression": "sequence=1 implies (extension.where(url = 'http://hl7.org/fhir/us/davinci-pas/StructureDefinition/extension-diagnosisRecordedDate').value.ofType(date).exists() and type.text.exists() )"
      } ],
      "path": "Claim.diagnosis",
      "requirements": "Required for the adjudication by provided context for the services and product listed.",
      "min": 1,
      "definition": "Information about diagnoses relevant to the claim items.",
      "isModifier": false,
      "short": "sequence=1時為主要疾病;sequence>=2代表共病。",
      "mapping": [ {
        "map": "Request.reasonReference",
        "identity": "workflow"
      } ],
      "type": [ {
        "code": "BackboneElement"
      } ],
      "mustSupport": true,
      "max": "*",
      "id": "Claim.diagnosis",
      "base": {
        "max": "*",
        "min": 0,
        "path": "Claim.diagnosis"
      },
      "isSummary": false
    }, {
      "path": "Claim.diagnosis.id",
      "min": 0,
      "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
      "isModifier": false,
      "short": "Unique id for inter-element referencing",
      "mapping": [ {
        "map": "n/a",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "http://hl7.org/fhirpath/System.String",
        "extension": [ {
          "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
          "valueUrl": "string"
        } ]
      } ],
      "representation": [ "xmlAttr" ],
      "max": "1",
      "id": "Claim.diagnosis.id",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Element.id"
      },
      "isSummary": false
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      }, {
        "key": "ext-1",
        "human": "Must have either extensions or value[x], not both",
        "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
        "source": "http://hl7.org/fhir/StructureDefinition/Extension",
        "severity": "error",
        "expression": "extension.exists() != value.exists()"
      } ],
      "path": "Claim.diagnosis.extension",
      "min": 0,
      "definition": "An Extension",
      "isModifier": false,
      "short": "Extension",
      "slicing": {
        "rules": "open",
        "ordered": false,
        "discriminator": [ {
          "path": "url",
          "type": "value"
        } ]
      },
      "type": [ {
        "code": "Extension"
      } ],
      "max": "*",
      "id": "Claim.diagnosis.extension",
      "base": {
        "max": "*",
        "min": 0,
        "path": "Element.extension"
      },
      "isSummary": false
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      }, {
        "key": "ext-1",
        "human": "Must have either extensions or value[x], not both",
        "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
        "source": "http://hl7.org/fhir/StructureDefinition/Extension",
        "severity": "error",
        "expression": "extension.exists() != value.exists()"
      } ],
      "path": "Claim.diagnosis.extension",
      "min": 0,
      "definition": "The date that a diagnosis was recorded. (HIxx-4)",
      "isModifier": false,
      "short": "診斷日期,sequence=1時為必填,表示為用藥事前審查之主要疾病;其他共病不須填寫診斷日期。YYYY-MM-DD,西元年月日。【此為參考Da Vinci PAS IG的extension設計】",
      "type": [ {
        "code": "Extension",
        "profile": [ "http://hl7.org/fhir/us/davinci-pas/StructureDefinition/extension-diagnosisRecordedDate" ]
      } ],
      "mustSupport": true,
      "sliceName": "recordedDate",
      "max": "*",
      "id": "Claim.diagnosis.extension:recordedDate",
      "condition": [ "ele-1" ],
      "base": {
        "max": "*",
        "min": 0,
        "path": "Element.extension"
      }
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      }, {
        "key": "ext-1",
        "human": "Must have either extensions or value[x], not both",
        "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
        "source": "http://hl7.org/fhir/StructureDefinition/Extension",
        "severity": "error",
        "expression": "extension.exists() != value.exists()"
      } ],
      "path": "Claim.diagnosis.modifierExtension",
      "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](http://hl7.org/fhir/R4/extensibility.html#modifierExtension).",
      "min": 0,
      "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).",
      "isModifier": true,
      "short": "Extensions that cannot be ignored even if unrecognized",
      "mapping": [ {
        "map": "N/A",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "Extension"
      } ],
      "alias": [ "extensions", "user content", "modifiers" ],
      "max": "*",
      "id": "Claim.diagnosis.modifierExtension",
      "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.",
      "base": {
        "max": "*",
        "min": 0,
        "path": "BackboneElement.modifierExtension"
      },
      "isModifierReason": "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them",
      "isSummary": true
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      } ],
      "path": "Claim.diagnosis.sequence",
      "requirements": "Necessary to maintain the order of the diagnosis items and provide a mechanism to link to claim details.",
      "min": 1,
      "definition": "A number to uniquely identify diagnosis entries.",
      "isModifier": false,
      "short": "sequence=1時為主要疾病;sequence>=2代表共病。",
      "type": [ {
        "code": "positiveInt"
      } ],
      "max": "1",
      "id": "Claim.diagnosis.sequence",
      "comment": "Diagnosis are presented in list order to their expected importance: primary, secondary, etc.",
      "base": {
        "max": "1",
        "min": 1,
        "path": "Claim.diagnosis.sequence"
      },
      "isSummary": false
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      } ],
      "path": "Claim.diagnosis.diagnosis[x]",
      "requirements": "Provides health context for the evaluation of the products and/or services.",
      "min": 1,
      "definition": "The nature of illness or problem in a coded form or as a reference to an external defined Condition.",
      "isModifier": false,
      "short": "國際疾病分類代碼(含共病),當前疾病狀態。ICD-10-CM。",
      "type": [ {
        "code": "CodeableConcept"
      } ],
      "mustSupport": true,
      "binding": {
        "strength": "preferred",
        "valueSet": "https://twcore.mohw.gov.tw/ig/twcore/ValueSet/icd-10-cm-2023-tw"
      },
      "max": "1",
      "id": "Claim.diagnosis.diagnosis[x]",
      "base": {
        "max": "1",
        "min": 1,
        "path": "Claim.diagnosis.diagnosis[x]"
      },
      "isSummary": false
    }, {
      "path": "Claim.diagnosis.diagnosis[x].id",
      "min": 0,
      "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
      "isModifier": false,
      "short": "Unique id for inter-element referencing",
      "mapping": [ {
        "map": "n/a",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "http://hl7.org/fhirpath/System.String",
        "extension": [ {
          "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
          "valueUrl": "string"
        } ]
      } ],
      "representation": [ "xmlAttr" ],
      "max": "1",
      "id": "Claim.diagnosis.diagnosis[x].id",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Element.id"
      },
      "isSummary": false
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      }, {
        "key": "ext-1",
        "human": "Must have either extensions or value[x], not both",
        "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
        "source": "http://hl7.org/fhir/StructureDefinition/Extension",
        "severity": "error",
        "expression": "extension.exists() != value.exists()"
      } ],
      "path": "Claim.diagnosis.diagnosis[x].extension",
      "min": 0,
      "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.",
      "isModifier": false,
      "short": "Additional content defined by implementations",
      "mapping": [ {
        "map": "n/a",
        "identity": "rim"
      } ],
      "slicing": {
        "rules": "open",
        "description": "Extensions are always sliced by (at least) url",
        "discriminator": [ {
          "path": "url",
          "type": "value"
        } ]
      },
      "type": [ {
        "code": "Extension"
      } ],
      "alias": [ "extensions", "user content" ],
      "max": "*",
      "id": "Claim.diagnosis.diagnosis[x].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.",
      "base": {
        "max": "*",
        "min": 0,
        "path": "Element.extension"
      },
      "isSummary": false
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      } ],
      "path": "Claim.diagnosis.diagnosis[x].coding",
      "requirements": "Allows for alternative encodings within a code system, and translations to other code systems.",
      "min": 0,
      "definition": "A reference to a code defined by a terminology system.",
      "isModifier": false,
      "short": "Code defined by a terminology system",
      "mapping": [ {
        "map": "C*E.1-8, C*E.10-22",
        "identity": "v2"
      }, {
        "map": "union(., ./translation)",
        "identity": "rim"
      }, {
        "map": "fhir:CodeableConcept.coding rdfs:subPropertyOf dt:CD.coding",
        "identity": "orim"
      } ],
      "slicing": {
        "rules": "closed",
        "discriminator": [ {
          "path": "system",
          "type": "value"
        } ]
      },
      "type": [ {
        "code": "Coding"
      } ],
      "max": "*",
      "id": "Claim.diagnosis.diagnosis[x].coding",
      "comment": "Codes may be defined very casually in enumerations, or code lists, up to very formal definitions such as SNOMED CT - see the HL7 v3 Core Principles for more information.  Ordering of codings is undefined and SHALL NOT be used to infer meaning. Generally, at most only one of the coding values will be labeled as UserSelected = true.",
      "base": {
        "max": "*",
        "min": 0,
        "path": "CodeableConcept.coding"
      },
      "isSummary": true
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      } ],
      "path": "Claim.diagnosis.diagnosis[x].coding",
      "requirements": "Allows for alternative encodings within a code system, and translations to other code systems.",
      "min": 0,
      "definition": "A reference to a code defined by a terminology system.",
      "isModifier": false,
      "short": "Code defined by a terminology system",
      "mapping": [ {
        "map": "C*E.1-8, C*E.10-22",
        "identity": "v2"
      }, {
        "map": "union(., ./translation)",
        "identity": "rim"
      }, {
        "map": "fhir:CodeableConcept.coding rdfs:subPropertyOf dt:CD.coding",
        "identity": "orim"
      } ],
      "type": [ {
        "code": "Coding"
      } ],
      "mustSupport": true,
      "sliceName": "icd10-cm-2023",
      "binding": {
        "strength": "extensible",
        "valueSet": "https://twcore.mohw.gov.tw/ig/twcore/ValueSet/icd-10-cm-2023-tw"
      },
      "max": "1",
      "id": "Claim.diagnosis.diagnosis[x].coding:icd10-cm-2023",
      "comment": "Codes may be defined very casually in enumerations, or code lists, up to very formal definitions such as SNOMED CT - see the HL7 v3 Core Principles for more information.  Ordering of codings is undefined and SHALL NOT be used to infer meaning. Generally, at most only one of the coding values will be labeled as UserSelected = true.",
      "base": {
        "max": "*",
        "min": 0,
        "path": "CodeableConcept.coding"
      },
      "isSummary": true
    }, {
      "path": "Claim.diagnosis.diagnosis[x].coding.id",
      "min": 0,
      "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
      "isModifier": false,
      "short": "Unique id for inter-element referencing",
      "mapping": [ {
        "map": "n/a",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "http://hl7.org/fhirpath/System.String",
        "extension": [ {
          "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
          "valueUrl": "string"
        } ]
      } ],
      "representation": [ "xmlAttr" ],
      "max": "1",
      "id": "Claim.diagnosis.diagnosis[x].coding:icd10-cm-2023.id",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Element.id"
      },
      "isSummary": false
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      }, {
        "key": "ext-1",
        "human": "Must have either extensions or value[x], not both",
        "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
        "source": "http://hl7.org/fhir/StructureDefinition/Extension",
        "severity": "error",
        "expression": "extension.exists() != value.exists()"
      } ],
      "path": "Claim.diagnosis.diagnosis[x].coding.extension",
      "min": 0,
      "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.",
      "isModifier": false,
      "short": "Additional content defined by implementations",
      "mapping": [ {
        "map": "n/a",
        "identity": "rim"
      } ],
      "slicing": {
        "rules": "open",
        "description": "Extensions are always sliced by (at least) url",
        "discriminator": [ {
          "path": "url",
          "type": "value"
        } ]
      },
      "type": [ {
        "code": "Extension"
      } ],
      "alias": [ "extensions", "user content" ],
      "max": "*",
      "id": "Claim.diagnosis.diagnosis[x].coding:icd10-cm-2023.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.",
      "base": {
        "max": "*",
        "min": 0,
        "path": "Element.extension"
      },
      "isSummary": false
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      } ],
      "path": "Claim.diagnosis.diagnosis[x].coding.system",
      "requirements": "Need to be unambiguous about the source of the definition of the symbol.",
      "min": 1,
      "definition": "The identification of the code system that defines the meaning of the symbol in the code.",
      "isModifier": false,
      "short": "Identity of the terminology system",
      "mapping": [ {
        "map": "C*E.3",
        "identity": "v2"
      }, {
        "map": "./codeSystem",
        "identity": "rim"
      }, {
        "map": "fhir:Coding.system rdfs:subPropertyOf dt:CDCoding.codeSystem",
        "identity": "orim"
      } ],
      "type": [ {
        "code": "uri"
      } ],
      "mustSupport": true,
      "max": "1",
      "id": "Claim.diagnosis.diagnosis[x].coding:icd10-cm-2023.system",
      "comment": "The URI may be an OID (urn:oid:...) or a UUID (urn:uuid:...).  OIDs and UUIDs SHALL be references to the HL7 OID registry. Otherwise, the URI should come from HL7's list of FHIR defined special URIs or it should reference to some definition that establishes the system clearly and unambiguously.",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Coding.system"
      },
      "patternUri": "https://twcore.mohw.gov.tw/ig/twcore/CodeSystem/icd-10-cm-2023-tw",
      "isSummary": true
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      } ],
      "path": "Claim.diagnosis.diagnosis[x].coding.version",
      "min": 0,
      "definition": "The version of the code system which was used when choosing this code. Note that a well-maintained code system does not need the version reported, because the meaning of codes is consistent across versions. However this cannot consistently be assured, and when the meaning is not guaranteed to be consistent, the version SHOULD be exchanged.",
      "isModifier": false,
      "short": "Version of the system - if relevant",
      "mapping": [ {
        "map": "C*E.7",
        "identity": "v2"
      }, {
        "map": "./codeSystemVersion",
        "identity": "rim"
      }, {
        "map": "fhir:Coding.version rdfs:subPropertyOf dt:CDCoding.codeSystemVersion",
        "identity": "orim"
      } ],
      "type": [ {
        "code": "string"
      } ],
      "max": "1",
      "id": "Claim.diagnosis.diagnosis[x].coding:icd10-cm-2023.version",
      "comment": "Where the terminology does not clearly define what string should be used to identify code system versions, the recommendation is to use the date (expressed in FHIR date format) on which that version was officially published as the version date.",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Coding.version"
      },
      "isSummary": true
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      } ],
      "path": "Claim.diagnosis.diagnosis[x].coding.code",
      "requirements": "Need to refer to a particular code in the system.",
      "min": 1,
      "definition": "A symbol in syntax defined by the system. The symbol may be a predefined code or an expression in a syntax defined by the coding system (e.g. post-coordination).",
      "isModifier": false,
      "short": "Symbol in syntax defined by the system",
      "mapping": [ {
        "map": "C*E.1",
        "identity": "v2"
      }, {
        "map": "./code",
        "identity": "rim"
      }, {
        "map": "fhir:Coding.code rdfs:subPropertyOf dt:CDCoding.code",
        "identity": "orim"
      } ],
      "type": [ {
        "code": "code"
      } ],
      "mustSupport": true,
      "max": "1",
      "id": "Claim.diagnosis.diagnosis[x].coding:icd10-cm-2023.code",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Coding.code"
      },
      "isSummary": true
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      } ],
      "path": "Claim.diagnosis.diagnosis[x].coding.display",
      "requirements": "Need to be able to carry a human-readable meaning of the code for readers that do not know  the system.",
      "min": 0,
      "definition": "A representation of the meaning of the code in the system, following the rules of the system.",
      "isModifier": false,
      "short": "Representation defined by the system",
      "mapping": [ {
        "map": "C*E.2 - but note this is not well followed",
        "identity": "v2"
      }, {
        "map": "CV.displayName",
        "identity": "rim"
      }, {
        "map": "fhir:Coding.display rdfs:subPropertyOf dt:CDCoding.displayName",
        "identity": "orim"
      } ],
      "type": [ {
        "code": "string"
      } ],
      "extension": [ {
        "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable",
        "valueBoolean": true
      } ],
      "max": "1",
      "id": "Claim.diagnosis.diagnosis[x].coding:icd10-cm-2023.display",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Coding.display"
      },
      "isSummary": true
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      } ],
      "path": "Claim.diagnosis.diagnosis[x].coding.userSelected",
      "requirements": "This has been identified as a clinical safety criterium - that this exact system/code pair was chosen explicitly, rather than inferred by the system based on some rules or language processing.",
      "min": 0,
      "definition": "Indicates that this coding was chosen by a user directly - e.g. off a pick list of available items (codes or displays).",
      "isModifier": false,
      "short": "If this coding was chosen directly by the user",
      "mapping": [ {
        "map": "Sometimes implied by being first",
        "identity": "v2"
      }, {
        "map": "CD.codingRationale",
        "identity": "rim"
      }, {
        "map": "fhir:Coding.userSelected fhir:mapsTo dt:CDCoding.codingRationale. fhir:Coding.userSelected fhir:hasMap fhir:Coding.userSelected.map. fhir:Coding.userSelected.map a fhir:Map;   fhir:target dt:CDCoding.codingRationale. fhir:Coding.userSelected\\#true a [     fhir:source \"true\";     fhir:target dt:CDCoding.codingRationale\\#O   ]",
        "identity": "orim"
      } ],
      "type": [ {
        "code": "boolean"
      } ],
      "max": "1",
      "id": "Claim.diagnosis.diagnosis[x].coding:icd10-cm-2023.userSelected",
      "comment": "Amongst a set of alternatives, a directly chosen code is the most appropriate starting point for new translations. There is some ambiguity about what exactly 'directly chosen' implies, and trading partner agreement may be needed to clarify the use of this element and its consequences more completely.",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Coding.userSelected"
      },
      "isSummary": true
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      } ],
      "path": "Claim.diagnosis.diagnosis[x].coding",
      "requirements": "Allows for alternative encodings within a code system, and translations to other code systems.",
      "min": 0,
      "definition": "A reference to a code defined by a terminology system.",
      "isModifier": false,
      "short": "Code defined by a terminology system",
      "mapping": [ {
        "map": "C*E.1-8, C*E.10-22",
        "identity": "v2"
      }, {
        "map": "union(., ./translation)",
        "identity": "rim"
      }, {
        "map": "fhir:CodeableConcept.coding rdfs:subPropertyOf dt:CD.coding",
        "identity": "orim"
      } ],
      "type": [ {
        "code": "Coding"
      } ],
      "mustSupport": true,
      "sliceName": "icd10-cm-2014",
      "binding": {
        "strength": "extensible",
        "valueSet": "https://twcore.mohw.gov.tw/ig/twcore/ValueSet/icd-10-cm-2014-tw"
      },
      "max": "1",
      "id": "Claim.diagnosis.diagnosis[x].coding:icd10-cm-2014",
      "comment": "Codes may be defined very casually in enumerations, or code lists, up to very formal definitions such as SNOMED CT - see the HL7 v3 Core Principles for more information.  Ordering of codings is undefined and SHALL NOT be used to infer meaning. Generally, at most only one of the coding values will be labeled as UserSelected = true.",
      "base": {
        "max": "*",
        "min": 0,
        "path": "CodeableConcept.coding"
      },
      "isSummary": true
    }, {
      "path": "Claim.diagnosis.diagnosis[x].coding.id",
      "min": 0,
      "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
      "isModifier": false,
      "short": "Unique id for inter-element referencing",
      "mapping": [ {
        "map": "n/a",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "http://hl7.org/fhirpath/System.String",
        "extension": [ {
          "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
          "valueUrl": "string"
        } ]
      } ],
      "representation": [ "xmlAttr" ],
      "max": "1",
      "id": "Claim.diagnosis.diagnosis[x].coding:icd10-cm-2014.id",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Element.id"
      },
      "isSummary": false
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      }, {
        "key": "ext-1",
        "human": "Must have either extensions or value[x], not both",
        "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
        "source": "http://hl7.org/fhir/StructureDefinition/Extension",
        "severity": "error",
        "expression": "extension.exists() != value.exists()"
      } ],
      "path": "Claim.diagnosis.diagnosis[x].coding.extension",
      "min": 0,
      "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.",
      "isModifier": false,
      "short": "Additional content defined by implementations",
      "mapping": [ {
        "map": "n/a",
        "identity": "rim"
      } ],
      "slicing": {
        "rules": "open",
        "description": "Extensions are always sliced by (at least) url",
        "discriminator": [ {
          "path": "url",
          "type": "value"
        } ]
      },
      "type": [ {
        "code": "Extension"
      } ],
      "alias": [ "extensions", "user content" ],
      "max": "*",
      "id": "Claim.diagnosis.diagnosis[x].coding:icd10-cm-2014.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.",
      "base": {
        "max": "*",
        "min": 0,
        "path": "Element.extension"
      },
      "isSummary": false
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      } ],
      "path": "Claim.diagnosis.diagnosis[x].coding.system",
      "requirements": "Need to be unambiguous about the source of the definition of the symbol.",
      "min": 1,
      "definition": "The identification of the code system that defines the meaning of the symbol in the code.",
      "isModifier": false,
      "short": "Identity of the terminology system",
      "mapping": [ {
        "map": "C*E.3",
        "identity": "v2"
      }, {
        "map": "./codeSystem",
        "identity": "rim"
      }, {
        "map": "fhir:Coding.system rdfs:subPropertyOf dt:CDCoding.codeSystem",
        "identity": "orim"
      } ],
      "type": [ {
        "code": "uri"
      } ],
      "mustSupport": true,
      "max": "1",
      "id": "Claim.diagnosis.diagnosis[x].coding:icd10-cm-2014.system",
      "comment": "The URI may be an OID (urn:oid:...) or a UUID (urn:uuid:...).  OIDs and UUIDs SHALL be references to the HL7 OID registry. Otherwise, the URI should come from HL7's list of FHIR defined special URIs or it should reference to some definition that establishes the system clearly and unambiguously.",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Coding.system"
      },
      "patternUri": "https://twcore.mohw.gov.tw/ig/twcore/CodeSystem/icd-10-cm-2014-tw",
      "isSummary": true
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      } ],
      "path": "Claim.diagnosis.diagnosis[x].coding.version",
      "min": 0,
      "definition": "The version of the code system which was used when choosing this code. Note that a well-maintained code system does not need the version reported, because the meaning of codes is consistent across versions. However this cannot consistently be assured, and when the meaning is not guaranteed to be consistent, the version SHOULD be exchanged.",
      "isModifier": false,
      "short": "Version of the system - if relevant",
      "mapping": [ {
        "map": "C*E.7",
        "identity": "v2"
      }, {
        "map": "./codeSystemVersion",
        "identity": "rim"
      }, {
        "map": "fhir:Coding.version rdfs:subPropertyOf dt:CDCoding.codeSystemVersion",
        "identity": "orim"
      } ],
      "type": [ {
        "code": "string"
      } ],
      "max": "1",
      "id": "Claim.diagnosis.diagnosis[x].coding:icd10-cm-2014.version",
      "comment": "Where the terminology does not clearly define what string should be used to identify code system versions, the recommendation is to use the date (expressed in FHIR date format) on which that version was officially published as the version date.",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Coding.version"
      },
      "isSummary": true
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      } ],
      "path": "Claim.diagnosis.diagnosis[x].coding.code",
      "requirements": "Need to refer to a particular code in the system.",
      "min": 1,
      "definition": "A symbol in syntax defined by the system. The symbol may be a predefined code or an expression in a syntax defined by the coding system (e.g. post-coordination).",
      "isModifier": false,
      "short": "Symbol in syntax defined by the system",
      "mapping": [ {
        "map": "C*E.1",
        "identity": "v2"
      }, {
        "map": "./code",
        "identity": "rim"
      }, {
        "map": "fhir:Coding.code rdfs:subPropertyOf dt:CDCoding.code",
        "identity": "orim"
      } ],
      "type": [ {
        "code": "code"
      } ],
      "mustSupport": true,
      "max": "1",
      "id": "Claim.diagnosis.diagnosis[x].coding:icd10-cm-2014.code",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Coding.code"
      },
      "isSummary": true
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      } ],
      "path": "Claim.diagnosis.diagnosis[x].coding.display",
      "requirements": "Need to be able to carry a human-readable meaning of the code for readers that do not know  the system.",
      "min": 0,
      "definition": "A representation of the meaning of the code in the system, following the rules of the system.",
      "isModifier": false,
      "short": "Representation defined by the system",
      "mapping": [ {
        "map": "C*E.2 - but note this is not well followed",
        "identity": "v2"
      }, {
        "map": "CV.displayName",
        "identity": "rim"
      }, {
        "map": "fhir:Coding.display rdfs:subPropertyOf dt:CDCoding.displayName",
        "identity": "orim"
      } ],
      "type": [ {
        "code": "string"
      } ],
      "extension": [ {
        "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable",
        "valueBoolean": true
      } ],
      "max": "1",
      "id": "Claim.diagnosis.diagnosis[x].coding:icd10-cm-2014.display",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Coding.display"
      },
      "isSummary": true
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      } ],
      "path": "Claim.diagnosis.diagnosis[x].coding.userSelected",
      "requirements": "This has been identified as a clinical safety criterium - that this exact system/code pair was chosen explicitly, rather than inferred by the system based on some rules or language processing.",
      "min": 0,
      "definition": "Indicates that this coding was chosen by a user directly - e.g. off a pick list of available items (codes or displays).",
      "isModifier": false,
      "short": "If this coding was chosen directly by the user",
      "mapping": [ {
        "map": "Sometimes implied by being first",
        "identity": "v2"
      }, {
        "map": "CD.codingRationale",
        "identity": "rim"
      }, {
        "map": "fhir:Coding.userSelected fhir:mapsTo dt:CDCoding.codingRationale. fhir:Coding.userSelected fhir:hasMap fhir:Coding.userSelected.map. fhir:Coding.userSelected.map a fhir:Map;   fhir:target dt:CDCoding.codingRationale. fhir:Coding.userSelected\\#true a [     fhir:source \"true\";     fhir:target dt:CDCoding.codingRationale\\#O   ]",
        "identity": "orim"
      } ],
      "type": [ {
        "code": "boolean"
      } ],
      "max": "1",
      "id": "Claim.diagnosis.diagnosis[x].coding:icd10-cm-2014.userSelected",
      "comment": "Amongst a set of alternatives, a directly chosen code is the most appropriate starting point for new translations. There is some ambiguity about what exactly 'directly chosen' implies, and trading partner agreement may be needed to clarify the use of this element and its consequences more completely.",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Coding.userSelected"
      },
      "isSummary": true
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      } ],
      "path": "Claim.diagnosis.diagnosis[x].text",
      "requirements": "The codes from the terminologies do not always capture the correct meaning with all the nuances of the human using them, or sometimes there is no appropriate code at all. In these cases, the text is used to capture the full meaning of the source.",
      "min": 0,
      "definition": "A human language representation of the concept as seen/selected/uttered by the user who entered the data and/or which represents the intended meaning of the user.",
      "isModifier": false,
      "short": "Plain text representation of the concept",
      "mapping": [ {
        "map": "C*E.9. But note many systems use C*E.2 for this",
        "identity": "v2"
      }, {
        "map": "./originalText[mediaType/code=\"text/plain\"]/data",
        "identity": "rim"
      }, {
        "map": "fhir:CodeableConcept.text rdfs:subPropertyOf dt:CD.originalText",
        "identity": "orim"
      } ],
      "type": [ {
        "code": "string"
      } ],
      "extension": [ {
        "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable",
        "valueBoolean": true
      } ],
      "max": "1",
      "id": "Claim.diagnosis.diagnosis[x].text",
      "comment": "Very often the text is the same as a displayName of one of the codings.",
      "base": {
        "max": "1",
        "min": 0,
        "path": "CodeableConcept.text"
      },
      "isSummary": true
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      } ],
      "path": "Claim.diagnosis.type",
      "requirements": "Often required to capture a particular diagnosis, for example: primary or discharge.",
      "min": 0,
      "definition": "When the condition was observed or the relative ranking.",
      "isModifier": false,
      "short": "Timing or nature of the diagnosis",
      "type": [ {
        "code": "CodeableConcept"
      } ],
      "binding": {
        "strength": "example",
        "valueSet": "http://hl7.org/fhir/ValueSet/ex-diagnosistype",
        "extension": [ {
          "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
          "valueString": "DiagnosisType"
        } ],
        "description": "The type of the diagnosis: admitting, principal, discharge."
      },
      "max": "1",
      "id": "Claim.diagnosis.type",
      "comment": "For example: admitting, primary, secondary, discharge.",
      "base": {
        "max": "*",
        "min": 0,
        "path": "Claim.diagnosis.type"
      },
      "isSummary": false
    }, {
      "path": "Claim.diagnosis.type.id",
      "min": 0,
      "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
      "isModifier": false,
      "short": "Unique id for inter-element referencing",
      "mapping": [ {
        "map": "n/a",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "http://hl7.org/fhirpath/System.String",
        "extension": [ {
          "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
          "valueUrl": "string"
        } ]
      } ],
      "representation": [ "xmlAttr" ],
      "max": "1",
      "id": "Claim.diagnosis.type.id",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Element.id"
      },
      "isSummary": false
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      }, {
        "key": "ext-1",
        "human": "Must have either extensions or value[x], not both",
        "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
        "source": "http://hl7.org/fhir/StructureDefinition/Extension",
        "severity": "error",
        "expression": "extension.exists() != value.exists()"
      } ],
      "path": "Claim.diagnosis.type.extension",
      "min": 0,
      "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.",
      "isModifier": false,
      "short": "Additional content defined by implementations",
      "mapping": [ {
        "map": "n/a",
        "identity": "rim"
      } ],
      "slicing": {
        "rules": "open",
        "description": "Extensions are always sliced by (at least) url",
        "discriminator": [ {
          "path": "url",
          "type": "value"
        } ]
      },
      "type": [ {
        "code": "Extension"
      } ],
      "alias": [ "extensions", "user content" ],
      "max": "*",
      "id": "Claim.diagnosis.type.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.",
      "base": {
        "max": "*",
        "min": 0,
        "path": "Element.extension"
      },
      "isSummary": false
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      } ],
      "path": "Claim.diagnosis.type.coding",
      "requirements": "Allows for alternative encodings within a code system, and translations to other code systems.",
      "min": 0,
      "definition": "A reference to a code defined by a terminology system.",
      "isModifier": false,
      "short": "Code defined by a terminology system",
      "mapping": [ {
        "map": "C*E.1-8, C*E.10-22",
        "identity": "v2"
      }, {
        "map": "union(., ./translation)",
        "identity": "rim"
      }, {
        "map": "fhir:CodeableConcept.coding rdfs:subPropertyOf dt:CD.coding",
        "identity": "orim"
      } ],
      "type": [ {
        "code": "Coding"
      } ],
      "max": "*",
      "id": "Claim.diagnosis.type.coding",
      "comment": "Codes may be defined very casually in enumerations, or code lists, up to very formal definitions such as SNOMED CT - see the HL7 v3 Core Principles for more information.  Ordering of codings is undefined and SHALL NOT be used to infer meaning. Generally, at most only one of the coding values will be labeled as UserSelected = true.",
      "base": {
        "max": "*",
        "min": 0,
        "path": "CodeableConcept.coding"
      },
      "isSummary": true
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      }, {
        "key": "pas-2",
        "human": "長度不得超過4000 bytes。",
        "source": "https://twcore.mohw.gov.tw/ig/pas/StructureDefinition/Claim-twpas",
        "severity": "error",
        "expression": "toString().length() <= 4000"
      } ],
      "path": "Claim.diagnosis.type.text",
      "requirements": "The codes from the terminologies do not always capture the correct meaning with all the nuances of the human using them, or sometimes there is no appropriate code at all. In these cases, the text is used to capture the full meaning of the source.",
      "min": 0,
      "definition": "A human language representation of the concept as seen/selected/uttered by the user who entered the data and/or which represents the intended meaning of the user.",
      "isModifier": false,
      "short": "簡要病摘(申請理由)。連結院內HIS系統之簡要病摘,或填寫原事前審查之申請理由。請勿將醫事機構名稱、病人及醫師姓名等資訊列入結果中上傳,且不得包含HTML或XML等語法。",
      "mapping": [ {
        "map": "C*E.9. But note many systems use C*E.2 for this",
        "identity": "v2"
      }, {
        "map": "./originalText[mediaType/code=\"text/plain\"]/data",
        "identity": "rim"
      }, {
        "map": "fhir:CodeableConcept.text rdfs:subPropertyOf dt:CD.originalText",
        "identity": "orim"
      } ],
      "type": [ {
        "code": "string"
      } ],
      "mustSupport": true,
      "extension": [ {
        "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable",
        "valueBoolean": true
      } ],
      "max": "1",
      "id": "Claim.diagnosis.type.text",
      "comment": "Very often the text is the same as a displayName of one of the codings.",
      "base": {
        "max": "1",
        "min": 0,
        "path": "CodeableConcept.text"
      },
      "isSummary": true
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      } ],
      "path": "Claim.diagnosis.onAdmission",
      "requirements": "Many systems need to understand for adjudication if the diagnosis was present a time of admission.",
      "min": 0,
      "definition": "Indication of whether the diagnosis was present on admission to a facility.",
      "isModifier": false,
      "short": "Present on admission",
      "type": [ {
        "code": "CodeableConcept"
      } ],
      "binding": {
        "strength": "example",
        "valueSet": "http://hl7.org/fhir/ValueSet/ex-diagnosis-on-admission",
        "extension": [ {
          "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
          "valueString": "DiagnosisOnAdmission"
        } ],
        "description": "Present on admission."
      },
      "max": "1",
      "id": "Claim.diagnosis.onAdmission",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Claim.diagnosis.onAdmission"
      },
      "isSummary": false
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      } ],
      "path": "Claim.diagnosis.packageCode",
      "requirements": "Required to relate the current  diagnosis to a package billing code that is then referenced on the individual claim items which are specific to the health condition covered by the package code.",
      "min": 0,
      "definition": "A package billing code or bundle code used to group products and services to a particular health condition (such as heart attack) which is based on a predetermined grouping code system.",
      "isModifier": false,
      "short": "Package billing code",
      "type": [ {
        "code": "CodeableConcept"
      } ],
      "binding": {
        "strength": "example",
        "valueSet": "http://hl7.org/fhir/ValueSet/ex-diagnosisrelatedgroup",
        "extension": [ {
          "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
          "valueString": "DiagnosisRelatedGroup"
        } ],
        "description": "The DRG codes associated with the diagnosis."
      },
      "max": "1",
      "id": "Claim.diagnosis.packageCode",
      "comment": "For example DRG (Diagnosis Related Group) or a bundled billing code. A patient may have a diagnosis of a Myocardial Infarction and a DRG for HeartAttack would be assigned. The Claim item (and possible subsequent claims) would refer to the DRG for those line items that were for services related to the heart attack event.",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Claim.diagnosis.packageCode"
      },
      "isSummary": false
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      } ],
      "path": "Claim.procedure",
      "requirements": "The specific clinical invention are sometimes required to be provided to justify billing a greater than customary amount for a service.",
      "min": 0,
      "definition": "Procedures performed on the patient relevant to the billing items with the claim.",
      "isModifier": false,
      "short": "Clinical procedures performed",
      "type": [ {
        "code": "BackboneElement"
      } ],
      "max": "*",
      "id": "Claim.procedure",
      "base": {
        "max": "*",
        "min": 0,
        "path": "Claim.procedure"
      },
      "isSummary": false
    }, {
      "path": "Claim.procedure.id",
      "min": 0,
      "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
      "isModifier": false,
      "short": "Unique id for inter-element referencing",
      "mapping": [ {
        "map": "n/a",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "http://hl7.org/fhirpath/System.String",
        "extension": [ {
          "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
          "valueUrl": "string"
        } ]
      } ],
      "representation": [ "xmlAttr" ],
      "max": "1",
      "id": "Claim.procedure.id",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Element.id"
      },
      "isSummary": false
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      }, {
        "key": "ext-1",
        "human": "Must have either extensions or value[x], not both",
        "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
        "source": "http://hl7.org/fhir/StructureDefinition/Extension",
        "severity": "error",
        "expression": "extension.exists() != value.exists()"
      } ],
      "path": "Claim.procedure.extension",
      "min": 0,
      "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.",
      "isModifier": false,
      "short": "Additional content defined by implementations",
      "mapping": [ {
        "map": "n/a",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "Extension"
      } ],
      "alias": [ "extensions", "user content" ],
      "max": "*",
      "id": "Claim.procedure.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.",
      "base": {
        "max": "*",
        "min": 0,
        "path": "Element.extension"
      },
      "isSummary": false
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      }, {
        "key": "ext-1",
        "human": "Must have either extensions or value[x], not both",
        "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
        "source": "http://hl7.org/fhir/StructureDefinition/Extension",
        "severity": "error",
        "expression": "extension.exists() != value.exists()"
      } ],
      "path": "Claim.procedure.modifierExtension",
      "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](http://hl7.org/fhir/R4/extensibility.html#modifierExtension).",
      "min": 0,
      "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).",
      "isModifier": true,
      "short": "Extensions that cannot be ignored even if unrecognized",
      "mapping": [ {
        "map": "N/A",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "Extension"
      } ],
      "alias": [ "extensions", "user content", "modifiers" ],
      "max": "*",
      "id": "Claim.procedure.modifierExtension",
      "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.",
      "base": {
        "max": "*",
        "min": 0,
        "path": "BackboneElement.modifierExtension"
      },
      "isModifierReason": "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them",
      "isSummary": true
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      } ],
      "path": "Claim.procedure.sequence",
      "requirements": "Necessary to provide a mechanism to link to claim details.",
      "min": 1,
      "definition": "A number to uniquely identify procedure entries.",
      "isModifier": false,
      "short": "Procedure instance identifier",
      "type": [ {
        "code": "positiveInt"
      } ],
      "max": "1",
      "id": "Claim.procedure.sequence",
      "base": {
        "max": "1",
        "min": 1,
        "path": "Claim.procedure.sequence"
      },
      "isSummary": false
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      } ],
      "path": "Claim.procedure.type",
      "requirements": "Often required to capture a particular diagnosis, for example: primary or discharge.",
      "min": 0,
      "definition": "When the condition was observed or the relative ranking.",
      "isModifier": false,
      "short": "Category of Procedure",
      "type": [ {
        "code": "CodeableConcept"
      } ],
      "binding": {
        "strength": "example",
        "valueSet": "http://hl7.org/fhir/ValueSet/ex-procedure-type",
        "extension": [ {
          "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
          "valueString": "ProcedureType"
        } ],
        "description": "Example procedure type codes."
      },
      "max": "*",
      "id": "Claim.procedure.type",
      "comment": "For example: primary, secondary.",
      "base": {
        "max": "*",
        "min": 0,
        "path": "Claim.procedure.type"
      },
      "isSummary": false
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      } ],
      "path": "Claim.procedure.date",
      "requirements": "Required for auditing purposes.",
      "min": 1,
      "definition": "Date and optionally time the procedure was performed.",
      "isModifier": false,
      "short": "手術(或其他處置)日期",
      "type": [ {
        "code": "dateTime"
      } ],
      "mustSupport": true,
      "max": "1",
      "id": "Claim.procedure.date",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Claim.procedure.date"
      },
      "isSummary": false
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      } ],
      "path": "Claim.procedure.procedure[x]",
      "requirements": "This identifies the actual clinical procedure.",
      "min": 1,
      "definition": "The code or reference to a Procedure resource which identifies the clinical intervention performed.",
      "isModifier": false,
      "short": "手術(或其他處置)項目,經動脈導管肝臟腫瘤化學栓塞術(TACE)及冷凍療法等非屬手術。ICD-10-PCS 或 健保代碼 或 其他。",
      "type": [ {
        "code": "CodeableConcept"
      } ],
      "mustSupport": true,
      "binding": {
        "strength": "preferred",
        "valueSet": "https://twcore.mohw.gov.tw/ig/twcore/ValueSet/icd-10-pcs-2023-tw"
      },
      "max": "1",
      "id": "Claim.procedure.procedure[x]",
      "base": {
        "max": "1",
        "min": 1,
        "path": "Claim.procedure.procedure[x]"
      },
      "isSummary": false
    }, {
      "path": "Claim.procedure.procedure[x].id",
      "min": 0,
      "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
      "isModifier": false,
      "short": "Unique id for inter-element referencing",
      "mapping": [ {
        "map": "n/a",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "http://hl7.org/fhirpath/System.String",
        "extension": [ {
          "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
          "valueUrl": "string"
        } ]
      } ],
      "representation": [ "xmlAttr" ],
      "max": "1",
      "id": "Claim.procedure.procedure[x].id",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Element.id"
      },
      "isSummary": false
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      }, {
        "key": "ext-1",
        "human": "Must have either extensions or value[x], not both",
        "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
        "source": "http://hl7.org/fhir/StructureDefinition/Extension",
        "severity": "error",
        "expression": "extension.exists() != value.exists()"
      } ],
      "path": "Claim.procedure.procedure[x].extension",
      "min": 0,
      "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.",
      "isModifier": false,
      "short": "Additional content defined by implementations",
      "mapping": [ {
        "map": "n/a",
        "identity": "rim"
      } ],
      "slicing": {
        "rules": "open",
        "description": "Extensions are always sliced by (at least) url",
        "discriminator": [ {
          "path": "url",
          "type": "value"
        } ]
      },
      "type": [ {
        "code": "Extension"
      } ],
      "alias": [ "extensions", "user content" ],
      "max": "*",
      "id": "Claim.procedure.procedure[x].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.",
      "base": {
        "max": "*",
        "min": 0,
        "path": "Element.extension"
      },
      "isSummary": false
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      } ],
      "path": "Claim.procedure.procedure[x].coding",
      "requirements": "Allows for alternative encodings within a code system, and translations to other code systems.",
      "min": 1,
      "definition": "A reference to a code defined by a terminology system.",
      "isModifier": false,
      "short": "Code defined by a terminology system",
      "mapping": [ {
        "map": "C*E.1-8, C*E.10-22",
        "identity": "v2"
      }, {
        "map": "union(., ./translation)",
        "identity": "rim"
      }, {
        "map": "fhir:CodeableConcept.coding rdfs:subPropertyOf dt:CD.coding",
        "identity": "orim"
      } ],
      "slicing": {
        "rules": "open",
        "discriminator": [ {
          "path": "system",
          "type": "value"
        } ]
      },
      "type": [ {
        "code": "Coding"
      } ],
      "max": "1",
      "id": "Claim.procedure.procedure[x].coding",
      "comment": "Codes may be defined very casually in enumerations, or code lists, up to very formal definitions such as SNOMED CT - see the HL7 v3 Core Principles for more information.  Ordering of codings is undefined and SHALL NOT be used to infer meaning. Generally, at most only one of the coding values will be labeled as UserSelected = true.",
      "base": {
        "max": "*",
        "min": 0,
        "path": "CodeableConcept.coding"
      },
      "isSummary": true
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      } ],
      "path": "Claim.procedure.procedure[x].coding",
      "requirements": "Allows for alternative encodings within a code system, and translations to other code systems.",
      "min": 0,
      "definition": "A reference to a code defined by a terminology system.",
      "isModifier": false,
      "short": "Code defined by a terminology system",
      "mapping": [ {
        "map": "C*E.1-8, C*E.10-22",
        "identity": "v2"
      }, {
        "map": "union(., ./translation)",
        "identity": "rim"
      }, {
        "map": "fhir:CodeableConcept.coding rdfs:subPropertyOf dt:CD.coding",
        "identity": "orim"
      } ],
      "type": [ {
        "code": "Coding"
      } ],
      "mustSupport": true,
      "sliceName": "icd10-pcs-2023",
      "binding": {
        "strength": "required",
        "valueSet": "https://twcore.mohw.gov.tw/ig/twcore/ValueSet/icd-10-pcs-2023-tw"
      },
      "max": "1",
      "id": "Claim.procedure.procedure[x].coding:icd10-pcs-2023",
      "comment": "Codes may be defined very casually in enumerations, or code lists, up to very formal definitions such as SNOMED CT - see the HL7 v3 Core Principles for more information.  Ordering of codings is undefined and SHALL NOT be used to infer meaning. Generally, at most only one of the coding values will be labeled as UserSelected = true.",
      "base": {
        "max": "*",
        "min": 0,
        "path": "CodeableConcept.coding"
      },
      "isSummary": true
    }, {
      "path": "Claim.procedure.procedure[x].coding.id",
      "min": 0,
      "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
      "isModifier": false,
      "short": "Unique id for inter-element referencing",
      "mapping": [ {
        "map": "n/a",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "http://hl7.org/fhirpath/System.String",
        "extension": [ {
          "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
          "valueUrl": "string"
        } ]
      } ],
      "representation": [ "xmlAttr" ],
      "max": "1",
      "id": "Claim.procedure.procedure[x].coding:icd10-pcs-2023.id",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Element.id"
      },
      "isSummary": false
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      }, {
        "key": "ext-1",
        "human": "Must have either extensions or value[x], not both",
        "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
        "source": "http://hl7.org/fhir/StructureDefinition/Extension",
        "severity": "error",
        "expression": "extension.exists() != value.exists()"
      } ],
      "path": "Claim.procedure.procedure[x].coding.extension",
      "min": 0,
      "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.",
      "isModifier": false,
      "short": "Additional content defined by implementations",
      "mapping": [ {
        "map": "n/a",
        "identity": "rim"
      } ],
      "slicing": {
        "rules": "open",
        "description": "Extensions are always sliced by (at least) url",
        "discriminator": [ {
          "path": "url",
          "type": "value"
        } ]
      },
      "type": [ {
        "code": "Extension"
      } ],
      "alias": [ "extensions", "user content" ],
      "max": "*",
      "id": "Claim.procedure.procedure[x].coding:icd10-pcs-2023.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.",
      "base": {
        "max": "*",
        "min": 0,
        "path": "Element.extension"
      },
      "isSummary": false
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      } ],
      "path": "Claim.procedure.procedure[x].coding.system",
      "requirements": "Need to be unambiguous about the source of the definition of the symbol.",
      "min": 1,
      "definition": "The identification of the code system that defines the meaning of the symbol in the code.",
      "isModifier": false,
      "short": "Identity of the terminology system",
      "mapping": [ {
        "map": "C*E.3",
        "identity": "v2"
      }, {
        "map": "./codeSystem",
        "identity": "rim"
      }, {
        "map": "fhir:Coding.system rdfs:subPropertyOf dt:CDCoding.codeSystem",
        "identity": "orim"
      } ],
      "type": [ {
        "code": "uri"
      } ],
      "max": "1",
      "id": "Claim.procedure.procedure[x].coding:icd10-pcs-2023.system",
      "comment": "The URI may be an OID (urn:oid:...) or a UUID (urn:uuid:...).  OIDs and UUIDs SHALL be references to the HL7 OID registry. Otherwise, the URI should come from HL7's list of FHIR defined special URIs or it should reference to some definition that establishes the system clearly and unambiguously.",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Coding.system"
      },
      "patternUri": "https://twcore.mohw.gov.tw/ig/twcore/CodeSystem/icd-10-pcs-2023-tw",
      "isSummary": true
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      } ],
      "path": "Claim.procedure.procedure[x].coding.version",
      "min": 0,
      "definition": "The version of the code system which was used when choosing this code. Note that a well-maintained code system does not need the version reported, because the meaning of codes is consistent across versions. However this cannot consistently be assured, and when the meaning is not guaranteed to be consistent, the version SHOULD be exchanged.",
      "isModifier": false,
      "short": "Version of the system - if relevant",
      "mapping": [ {
        "map": "C*E.7",
        "identity": "v2"
      }, {
        "map": "./codeSystemVersion",
        "identity": "rim"
      }, {
        "map": "fhir:Coding.version rdfs:subPropertyOf dt:CDCoding.codeSystemVersion",
        "identity": "orim"
      } ],
      "type": [ {
        "code": "string"
      } ],
      "max": "1",
      "id": "Claim.procedure.procedure[x].coding:icd10-pcs-2023.version",
      "comment": "Where the terminology does not clearly define what string should be used to identify code system versions, the recommendation is to use the date (expressed in FHIR date format) on which that version was officially published as the version date.",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Coding.version"
      },
      "isSummary": true
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      } ],
      "path": "Claim.procedure.procedure[x].coding.code",
      "requirements": "Need to refer to a particular code in the system.",
      "min": 1,
      "definition": "A symbol in syntax defined by the system. The symbol may be a predefined code or an expression in a syntax defined by the coding system (e.g. post-coordination).",
      "isModifier": false,
      "short": "Symbol in syntax defined by the system",
      "mapping": [ {
        "map": "C*E.1",
        "identity": "v2"
      }, {
        "map": "./code",
        "identity": "rim"
      }, {
        "map": "fhir:Coding.code rdfs:subPropertyOf dt:CDCoding.code",
        "identity": "orim"
      } ],
      "type": [ {
        "code": "code"
      } ],
      "mustSupport": true,
      "max": "1",
      "id": "Claim.procedure.procedure[x].coding:icd10-pcs-2023.code",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Coding.code"
      },
      "isSummary": true
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      } ],
      "path": "Claim.procedure.procedure[x].coding.display",
      "requirements": "Need to be able to carry a human-readable meaning of the code for readers that do not know  the system.",
      "min": 0,
      "definition": "A representation of the meaning of the code in the system, following the rules of the system.",
      "isModifier": false,
      "short": "Representation defined by the system",
      "mapping": [ {
        "map": "C*E.2 - but note this is not well followed",
        "identity": "v2"
      }, {
        "map": "CV.displayName",
        "identity": "rim"
      }, {
        "map": "fhir:Coding.display rdfs:subPropertyOf dt:CDCoding.displayName",
        "identity": "orim"
      } ],
      "type": [ {
        "code": "string"
      } ],
      "extension": [ {
        "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable",
        "valueBoolean": true
      } ],
      "max": "1",
      "id": "Claim.procedure.procedure[x].coding:icd10-pcs-2023.display",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Coding.display"
      },
      "isSummary": true
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      } ],
      "path": "Claim.procedure.procedure[x].coding.userSelected",
      "requirements": "This has been identified as a clinical safety criterium - that this exact system/code pair was chosen explicitly, rather than inferred by the system based on some rules or language processing.",
      "min": 0,
      "definition": "Indicates that this coding was chosen by a user directly - e.g. off a pick list of available items (codes or displays).",
      "isModifier": false,
      "short": "If this coding was chosen directly by the user",
      "mapping": [ {
        "map": "Sometimes implied by being first",
        "identity": "v2"
      }, {
        "map": "CD.codingRationale",
        "identity": "rim"
      }, {
        "map": "fhir:Coding.userSelected fhir:mapsTo dt:CDCoding.codingRationale. fhir:Coding.userSelected fhir:hasMap fhir:Coding.userSelected.map. fhir:Coding.userSelected.map a fhir:Map;   fhir:target dt:CDCoding.codingRationale. fhir:Coding.userSelected\\#true a [     fhir:source \"true\";     fhir:target dt:CDCoding.codingRationale\\#O   ]",
        "identity": "orim"
      } ],
      "type": [ {
        "code": "boolean"
      } ],
      "max": "1",
      "id": "Claim.procedure.procedure[x].coding:icd10-pcs-2023.userSelected",
      "comment": "Amongst a set of alternatives, a directly chosen code is the most appropriate starting point for new translations. There is some ambiguity about what exactly 'directly chosen' implies, and trading partner agreement may be needed to clarify the use of this element and its consequences more completely.",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Coding.userSelected"
      },
      "isSummary": true
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      } ],
      "path": "Claim.procedure.procedure[x].coding",
      "requirements": "Allows for alternative encodings within a code system, and translations to other code systems.",
      "min": 0,
      "definition": "A reference to a code defined by a terminology system.",
      "isModifier": false,
      "short": "Code defined by a terminology system",
      "mapping": [ {
        "map": "C*E.1-8, C*E.10-22",
        "identity": "v2"
      }, {
        "map": "union(., ./translation)",
        "identity": "rim"
      }, {
        "map": "fhir:CodeableConcept.coding rdfs:subPropertyOf dt:CD.coding",
        "identity": "orim"
      } ],
      "type": [ {
        "code": "Coding"
      } ],
      "mustSupport": true,
      "sliceName": "icd10-pcs-2014",
      "binding": {
        "strength": "required",
        "valueSet": "https://twcore.mohw.gov.tw/ig/twcore/ValueSet/icd-10-pcs-2014-tw"
      },
      "max": "1",
      "id": "Claim.procedure.procedure[x].coding:icd10-pcs-2014",
      "comment": "Codes may be defined very casually in enumerations, or code lists, up to very formal definitions such as SNOMED CT - see the HL7 v3 Core Principles for more information.  Ordering of codings is undefined and SHALL NOT be used to infer meaning. Generally, at most only one of the coding values will be labeled as UserSelected = true.",
      "base": {
        "max": "*",
        "min": 0,
        "path": "CodeableConcept.coding"
      },
      "isSummary": true
    }, {
      "path": "Claim.procedure.procedure[x].coding.id",
      "min": 0,
      "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
      "isModifier": false,
      "short": "Unique id for inter-element referencing",
      "mapping": [ {
        "map": "n/a",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "http://hl7.org/fhirpath/System.String",
        "extension": [ {
          "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
          "valueUrl": "string"
        } ]
      } ],
      "representation": [ "xmlAttr" ],
      "max": "1",
      "id": "Claim.procedure.procedure[x].coding:icd10-pcs-2014.id",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Element.id"
      },
      "isSummary": false
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      }, {
        "key": "ext-1",
        "human": "Must have either extensions or value[x], not both",
        "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
        "source": "http://hl7.org/fhir/StructureDefinition/Extension",
        "severity": "error",
        "expression": "extension.exists() != value.exists()"
      } ],
      "path": "Claim.procedure.procedure[x].coding.extension",
      "min": 0,
      "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.",
      "isModifier": false,
      "short": "Additional content defined by implementations",
      "mapping": [ {
        "map": "n/a",
        "identity": "rim"
      } ],
      "slicing": {
        "rules": "open",
        "description": "Extensions are always sliced by (at least) url",
        "discriminator": [ {
          "path": "url",
          "type": "value"
        } ]
      },
      "type": [ {
        "code": "Extension"
      } ],
      "alias": [ "extensions", "user content" ],
      "max": "*",
      "id": "Claim.procedure.procedure[x].coding:icd10-pcs-2014.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.",
      "base": {
        "max": "*",
        "min": 0,
        "path": "Element.extension"
      },
      "isSummary": false
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      } ],
      "path": "Claim.procedure.procedure[x].coding.system",
      "requirements": "Need to be unambiguous about the source of the definition of the symbol.",
      "min": 1,
      "definition": "The identification of the code system that defines the meaning of the symbol in the code.",
      "isModifier": false,
      "short": "Identity of the terminology system",
      "mapping": [ {
        "map": "C*E.3",
        "identity": "v2"
      }, {
        "map": "./codeSystem",
        "identity": "rim"
      }, {
        "map": "fhir:Coding.system rdfs:subPropertyOf dt:CDCoding.codeSystem",
        "identity": "orim"
      } ],
      "type": [ {
        "code": "uri"
      } ],
      "max": "1",
      "id": "Claim.procedure.procedure[x].coding:icd10-pcs-2014.system",
      "comment": "The URI may be an OID (urn:oid:...) or a UUID (urn:uuid:...).  OIDs and UUIDs SHALL be references to the HL7 OID registry. Otherwise, the URI should come from HL7's list of FHIR defined special URIs or it should reference to some definition that establishes the system clearly and unambiguously.",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Coding.system"
      },
      "patternUri": "https://twcore.mohw.gov.tw/ig/twcore/CodeSystem/icd-10-pcs-2014-tw",
      "isSummary": true
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      } ],
      "path": "Claim.procedure.procedure[x].coding.version",
      "min": 0,
      "definition": "The version of the code system which was used when choosing this code. Note that a well-maintained code system does not need the version reported, because the meaning of codes is consistent across versions. However this cannot consistently be assured, and when the meaning is not guaranteed to be consistent, the version SHOULD be exchanged.",
      "isModifier": false,
      "short": "Version of the system - if relevant",
      "mapping": [ {
        "map": "C*E.7",
        "identity": "v2"
      }, {
        "map": "./codeSystemVersion",
        "identity": "rim"
      }, {
        "map": "fhir:Coding.version rdfs:subPropertyOf dt:CDCoding.codeSystemVersion",
        "identity": "orim"
      } ],
      "type": [ {
        "code": "string"
      } ],
      "max": "1",
      "id": "Claim.procedure.procedure[x].coding:icd10-pcs-2014.version",
      "comment": "Where the terminology does not clearly define what string should be used to identify code system versions, the recommendation is to use the date (expressed in FHIR date format) on which that version was officially published as the version date.",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Coding.version"
      },
      "isSummary": true
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      } ],
      "path": "Claim.procedure.procedure[x].coding.code",
      "requirements": "Need to refer to a particular code in the system.",
      "min": 1,
      "definition": "A symbol in syntax defined by the system. The symbol may be a predefined code or an expression in a syntax defined by the coding system (e.g. post-coordination).",
      "isModifier": false,
      "short": "Symbol in syntax defined by the system",
      "mapping": [ {
        "map": "C*E.1",
        "identity": "v2"
      }, {
        "map": "./code",
        "identity": "rim"
      }, {
        "map": "fhir:Coding.code rdfs:subPropertyOf dt:CDCoding.code",
        "identity": "orim"
      } ],
      "type": [ {
        "code": "code"
      } ],
      "mustSupport": true,
      "max": "1",
      "id": "Claim.procedure.procedure[x].coding:icd10-pcs-2014.code",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Coding.code"
      },
      "isSummary": true
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      } ],
      "path": "Claim.procedure.procedure[x].coding.display",
      "requirements": "Need to be able to carry a human-readable meaning of the code for readers that do not know  the system.",
      "min": 0,
      "definition": "A representation of the meaning of the code in the system, following the rules of the system.",
      "isModifier": false,
      "short": "Representation defined by the system",
      "mapping": [ {
        "map": "C*E.2 - but note this is not well followed",
        "identity": "v2"
      }, {
        "map": "CV.displayName",
        "identity": "rim"
      }, {
        "map": "fhir:Coding.display rdfs:subPropertyOf dt:CDCoding.displayName",
        "identity": "orim"
      } ],
      "type": [ {
        "code": "string"
      } ],
      "extension": [ {
        "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable",
        "valueBoolean": true
      } ],
      "max": "1",
      "id": "Claim.procedure.procedure[x].coding:icd10-pcs-2014.display",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Coding.display"
      },
      "isSummary": true
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      } ],
      "path": "Claim.procedure.procedure[x].coding.userSelected",
      "requirements": "This has been identified as a clinical safety criterium - that this exact system/code pair was chosen explicitly, rather than inferred by the system based on some rules or language processing.",
      "min": 0,
      "definition": "Indicates that this coding was chosen by a user directly - e.g. off a pick list of available items (codes or displays).",
      "isModifier": false,
      "short": "If this coding was chosen directly by the user",
      "mapping": [ {
        "map": "Sometimes implied by being first",
        "identity": "v2"
      }, {
        "map": "CD.codingRationale",
        "identity": "rim"
      }, {
        "map": "fhir:Coding.userSelected fhir:mapsTo dt:CDCoding.codingRationale. fhir:Coding.userSelected fhir:hasMap fhir:Coding.userSelected.map. fhir:Coding.userSelected.map a fhir:Map;   fhir:target dt:CDCoding.codingRationale. fhir:Coding.userSelected\\#true a [     fhir:source \"true\";     fhir:target dt:CDCoding.codingRationale\\#O   ]",
        "identity": "orim"
      } ],
      "type": [ {
        "code": "boolean"
      } ],
      "max": "1",
      "id": "Claim.procedure.procedure[x].coding:icd10-pcs-2014.userSelected",
      "comment": "Amongst a set of alternatives, a directly chosen code is the most appropriate starting point for new translations. There is some ambiguity about what exactly 'directly chosen' implies, and trading partner agreement may be needed to clarify the use of this element and its consequences more completely.",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Coding.userSelected"
      },
      "isSummary": true
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      } ],
      "path": "Claim.procedure.procedure[x].coding",
      "requirements": "Allows for alternative encodings within a code system, and translations to other code systems.",
      "min": 0,
      "definition": "A reference to a code defined by a terminology system.",
      "isModifier": false,
      "short": "Code defined by a terminology system",
      "mapping": [ {
        "map": "C*E.1-8, C*E.10-22",
        "identity": "v2"
      }, {
        "map": "union(., ./translation)",
        "identity": "rim"
      }, {
        "map": "fhir:CodeableConcept.coding rdfs:subPropertyOf dt:CD.coding",
        "identity": "orim"
      } ],
      "type": [ {
        "code": "Coding"
      } ],
      "mustSupport": true,
      "sliceName": "medical-service-payment",
      "binding": {
        "strength": "required",
        "valueSet": "https://twcore.mohw.gov.tw/ig/twcore/ValueSet/procedure-tw"
      },
      "max": "1",
      "id": "Claim.procedure.procedure[x].coding:medical-service-payment",
      "comment": "Codes may be defined very casually in enumerations, or code lists, up to very formal definitions such as SNOMED CT - see the HL7 v3 Core Principles for more information.  Ordering of codings is undefined and SHALL NOT be used to infer meaning. Generally, at most only one of the coding values will be labeled as UserSelected = true.",
      "base": {
        "max": "*",
        "min": 0,
        "path": "CodeableConcept.coding"
      },
      "isSummary": true
    }, {
      "path": "Claim.procedure.procedure[x].coding.id",
      "min": 0,
      "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
      "isModifier": false,
      "short": "Unique id for inter-element referencing",
      "mapping": [ {
        "map": "n/a",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "http://hl7.org/fhirpath/System.String",
        "extension": [ {
          "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
          "valueUrl": "string"
        } ]
      } ],
      "representation": [ "xmlAttr" ],
      "max": "1",
      "id": "Claim.procedure.procedure[x].coding:medical-service-payment.id",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Element.id"
      },
      "isSummary": false
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      }, {
        "key": "ext-1",
        "human": "Must have either extensions or value[x], not both",
        "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
        "source": "http://hl7.org/fhir/StructureDefinition/Extension",
        "severity": "error",
        "expression": "extension.exists() != value.exists()"
      } ],
      "path": "Claim.procedure.procedure[x].coding.extension",
      "min": 0,
      "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.",
      "isModifier": false,
      "short": "Additional content defined by implementations",
      "mapping": [ {
        "map": "n/a",
        "identity": "rim"
      } ],
      "slicing": {
        "rules": "open",
        "description": "Extensions are always sliced by (at least) url",
        "discriminator": [ {
          "path": "url",
          "type": "value"
        } ]
      },
      "type": [ {
        "code": "Extension"
      } ],
      "alias": [ "extensions", "user content" ],
      "max": "*",
      "id": "Claim.procedure.procedure[x].coding:medical-service-payment.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.",
      "base": {
        "max": "*",
        "min": 0,
        "path": "Element.extension"
      },
      "isSummary": false
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      } ],
      "path": "Claim.procedure.procedure[x].coding.system",
      "requirements": "Need to be unambiguous about the source of the definition of the symbol.",
      "min": 1,
      "definition": "The identification of the code system that defines the meaning of the symbol in the code.",
      "isModifier": false,
      "short": "Identity of the terminology system",
      "mapping": [ {
        "map": "C*E.3",
        "identity": "v2"
      }, {
        "map": "./codeSystem",
        "identity": "rim"
      }, {
        "map": "fhir:Coding.system rdfs:subPropertyOf dt:CDCoding.codeSystem",
        "identity": "orim"
      } ],
      "type": [ {
        "code": "uri"
      } ],
      "max": "1",
      "id": "Claim.procedure.procedure[x].coding:medical-service-payment.system",
      "comment": "The URI may be an OID (urn:oid:...) or a UUID (urn:uuid:...).  OIDs and UUIDs SHALL be references to the HL7 OID registry. Otherwise, the URI should come from HL7's list of FHIR defined special URIs or it should reference to some definition that establishes the system clearly and unambiguously.",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Coding.system"
      },
      "patternUri": "https://twcore.mohw.gov.tw/ig/twcore/CodeSystem/medical-service-payment-tw",
      "isSummary": true
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      } ],
      "path": "Claim.procedure.procedure[x].coding.version",
      "min": 0,
      "definition": "The version of the code system which was used when choosing this code. Note that a well-maintained code system does not need the version reported, because the meaning of codes is consistent across versions. However this cannot consistently be assured, and when the meaning is not guaranteed to be consistent, the version SHOULD be exchanged.",
      "isModifier": false,
      "short": "Version of the system - if relevant",
      "mapping": [ {
        "map": "C*E.7",
        "identity": "v2"
      }, {
        "map": "./codeSystemVersion",
        "identity": "rim"
      }, {
        "map": "fhir:Coding.version rdfs:subPropertyOf dt:CDCoding.codeSystemVersion",
        "identity": "orim"
      } ],
      "type": [ {
        "code": "string"
      } ],
      "max": "1",
      "id": "Claim.procedure.procedure[x].coding:medical-service-payment.version",
      "comment": "Where the terminology does not clearly define what string should be used to identify code system versions, the recommendation is to use the date (expressed in FHIR date format) on which that version was officially published as the version date.",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Coding.version"
      },
      "isSummary": true
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      } ],
      "path": "Claim.procedure.procedure[x].coding.code",
      "requirements": "Need to refer to a particular code in the system.",
      "min": 1,
      "definition": "A symbol in syntax defined by the system. The symbol may be a predefined code or an expression in a syntax defined by the coding system (e.g. post-coordination).",
      "isModifier": false,
      "short": "Symbol in syntax defined by the system",
      "mapping": [ {
        "map": "C*E.1",
        "identity": "v2"
      }, {
        "map": "./code",
        "identity": "rim"
      }, {
        "map": "fhir:Coding.code rdfs:subPropertyOf dt:CDCoding.code",
        "identity": "orim"
      } ],
      "type": [ {
        "code": "code"
      } ],
      "mustSupport": true,
      "max": "1",
      "id": "Claim.procedure.procedure[x].coding:medical-service-payment.code",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Coding.code"
      },
      "isSummary": true
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      } ],
      "path": "Claim.procedure.procedure[x].coding.display",
      "requirements": "Need to be able to carry a human-readable meaning of the code for readers that do not know  the system.",
      "min": 0,
      "definition": "A representation of the meaning of the code in the system, following the rules of the system.",
      "isModifier": false,
      "short": "Representation defined by the system",
      "mapping": [ {
        "map": "C*E.2 - but note this is not well followed",
        "identity": "v2"
      }, {
        "map": "CV.displayName",
        "identity": "rim"
      }, {
        "map": "fhir:Coding.display rdfs:subPropertyOf dt:CDCoding.displayName",
        "identity": "orim"
      } ],
      "type": [ {
        "code": "string"
      } ],
      "extension": [ {
        "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable",
        "valueBoolean": true
      } ],
      "max": "1",
      "id": "Claim.procedure.procedure[x].coding:medical-service-payment.display",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Coding.display"
      },
      "isSummary": true
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      } ],
      "path": "Claim.procedure.procedure[x].coding.userSelected",
      "requirements": "This has been identified as a clinical safety criterium - that this exact system/code pair was chosen explicitly, rather than inferred by the system based on some rules or language processing.",
      "min": 0,
      "definition": "Indicates that this coding was chosen by a user directly - e.g. off a pick list of available items (codes or displays).",
      "isModifier": false,
      "short": "If this coding was chosen directly by the user",
      "mapping": [ {
        "map": "Sometimes implied by being first",
        "identity": "v2"
      }, {
        "map": "CD.codingRationale",
        "identity": "rim"
      }, {
        "map": "fhir:Coding.userSelected fhir:mapsTo dt:CDCoding.codingRationale. fhir:Coding.userSelected fhir:hasMap fhir:Coding.userSelected.map. fhir:Coding.userSelected.map a fhir:Map;   fhir:target dt:CDCoding.codingRationale. fhir:Coding.userSelected\\#true a [     fhir:source \"true\";     fhir:target dt:CDCoding.codingRationale\\#O   ]",
        "identity": "orim"
      } ],
      "type": [ {
        "code": "boolean"
      } ],
      "max": "1",
      "id": "Claim.procedure.procedure[x].coding:medical-service-payment.userSelected",
      "comment": "Amongst a set of alternatives, a directly chosen code is the most appropriate starting point for new translations. There is some ambiguity about what exactly 'directly chosen' implies, and trading partner agreement may be needed to clarify the use of this element and its consequences more completely.",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Coding.userSelected"
      },
      "isSummary": true
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      } ],
      "path": "Claim.procedure.procedure[x].text",
      "requirements": "The codes from the terminologies do not always capture the correct meaning with all the nuances of the human using them, or sometimes there is no appropriate code at all. In these cases, the text is used to capture the full meaning of the source.",
      "min": 0,
      "definition": "A human language representation of the concept as seen/selected/uttered by the user who entered the data and/or which represents the intended meaning of the user.",
      "isModifier": false,
      "short": "Plain text representation of the concept",
      "mapping": [ {
        "map": "C*E.9. But note many systems use C*E.2 for this",
        "identity": "v2"
      }, {
        "map": "./originalText[mediaType/code=\"text/plain\"]/data",
        "identity": "rim"
      }, {
        "map": "fhir:CodeableConcept.text rdfs:subPropertyOf dt:CD.originalText",
        "identity": "orim"
      } ],
      "type": [ {
        "code": "string"
      } ],
      "extension": [ {
        "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable",
        "valueBoolean": true
      } ],
      "max": "1",
      "id": "Claim.procedure.procedure[x].text",
      "comment": "Very often the text is the same as a displayName of one of the codings.",
      "base": {
        "max": "1",
        "min": 0,
        "path": "CodeableConcept.text"
      },
      "isSummary": true
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      } ],
      "path": "Claim.procedure.udi",
      "requirements": "The UDI code allows the insurer to obtain device level information on the product supplied.",
      "min": 0,
      "definition": "Unique Device Identifiers associated with this line item.",
      "isModifier": false,
      "short": "Unique device identifier",
      "type": [ {
        "code": "Reference",
        "targetProfile": [ "http://hl7.org/fhir/StructureDefinition/Device" ]
      } ],
      "max": "*",
      "id": "Claim.procedure.udi",
      "base": {
        "max": "*",
        "min": 0,
        "path": "Claim.procedure.udi"
      },
      "isSummary": false
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      } ],
      "path": "Claim.insurance",
      "requirements": "At least one insurer is required for a claim to be a claim.",
      "min": 1,
      "definition": "Financial instruments for reimbursement for the health care products and services specified on the claim.",
      "isModifier": false,
      "short": "Patient insurance information",
      "mapping": [ {
        "map": "Coverage",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "BackboneElement"
      } ],
      "max": "*",
      "id": "Claim.insurance",
      "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 'Coverage.subrogation=false', should provide a reference to the ClaimResponse containing the adjudication results of the prior claim.",
      "base": {
        "max": "*",
        "min": 1,
        "path": "Claim.insurance"
      },
      "isSummary": true
    }, {
      "path": "Claim.insurance.id",
      "min": 0,
      "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
      "isModifier": false,
      "short": "Unique id for inter-element referencing",
      "mapping": [ {
        "map": "n/a",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "http://hl7.org/fhirpath/System.String",
        "extension": [ {
          "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
          "valueUrl": "string"
        } ]
      } ],
      "representation": [ "xmlAttr" ],
      "max": "1",
      "id": "Claim.insurance.id",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Element.id"
      },
      "isSummary": false
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      }, {
        "key": "ext-1",
        "human": "Must have either extensions or value[x], not both",
        "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
        "source": "http://hl7.org/fhir/StructureDefinition/Extension",
        "severity": "error",
        "expression": "extension.exists() != value.exists()"
      } ],
      "path": "Claim.insurance.extension",
      "min": 0,
      "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.",
      "isModifier": false,
      "short": "Additional content defined by implementations",
      "mapping": [ {
        "map": "n/a",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "Extension"
      } ],
      "alias": [ "extensions", "user content" ],
      "max": "*",
      "id": "Claim.insurance.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.",
      "base": {
        "max": "*",
        "min": 0,
        "path": "Element.extension"
      },
      "isSummary": false
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      }, {
        "key": "ext-1",
        "human": "Must have either extensions or value[x], not both",
        "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
        "source": "http://hl7.org/fhir/StructureDefinition/Extension",
        "severity": "error",
        "expression": "extension.exists() != value.exists()"
      } ],
      "path": "Claim.insurance.modifierExtension",
      "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](http://hl7.org/fhir/R4/extensibility.html#modifierExtension).",
      "min": 0,
      "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).",
      "isModifier": true,
      "short": "Extensions that cannot be ignored even if unrecognized",
      "mapping": [ {
        "map": "N/A",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "Extension"
      } ],
      "alias": [ "extensions", "user content", "modifiers" ],
      "max": "*",
      "id": "Claim.insurance.modifierExtension",
      "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.",
      "base": {
        "max": "*",
        "min": 0,
        "path": "BackboneElement.modifierExtension"
      },
      "isModifierReason": "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them",
      "isSummary": true
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      } ],
      "path": "Claim.insurance.sequence",
      "requirements": "To maintain order of the coverages.",
      "min": 1,
      "definition": "A number to uniquely identify insurance entries and provide a sequence of coverages to convey coordination of benefit order.",
      "isModifier": false,
      "short": "Insurance instance identifier",
      "type": [ {
        "code": "positiveInt"
      } ],
      "max": "1",
      "id": "Claim.insurance.sequence",
      "patternPositiveInt": 1,
      "base": {
        "max": "1",
        "min": 1,
        "path": "Claim.insurance.sequence"
      },
      "isSummary": true
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      } ],
      "path": "Claim.insurance.focal",
      "requirements": "To identify which coverage in the list is being used to adjudicate this claim.",
      "min": 1,
      "definition": "A flag to indicate that this Coverage is to be used for adjudication of this claim when set to true.",
      "isModifier": false,
      "short": "Coverage to be used for adjudication",
      "type": [ {
        "code": "boolean"
      } ],
      "max": "1",
      "id": "Claim.insurance.focal",
      "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.",
      "base": {
        "max": "1",
        "min": 1,
        "path": "Claim.insurance.focal"
      },
      "isSummary": true
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      } ],
      "path": "Claim.insurance.identifier",
      "requirements": "This will be the claim number should it be necessary to create this claim in the future. This is provided so that payors may forward claims to other payors in the Coordination of Benefit for adjudication rather than the provider being required to initiate each adjudication.",
      "min": 0,
      "definition": "The business identifier to be used when the claim is sent for adjudication against this insurance policy.",
      "isModifier": false,
      "short": "Pre-assigned Claim number",
      "mapping": [ {
        "map": "Request.identifier",
        "identity": "workflow"
      }, {
        "map": "FiveWs.identifier",
        "identity": "w5"
      } ],
      "type": [ {
        "code": "Identifier"
      } ],
      "max": "1",
      "id": "Claim.insurance.identifier",
      "comment": "Only required in jurisdictions where insurers, rather than the provider, are required to send claims to  insurers that appear after them in the list. This element is not required when 'subrogation=true'.",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Claim.insurance.identifier"
      },
      "isSummary": false
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      } ],
      "path": "Claim.insurance.coverage",
      "requirements": "Required to allow the adjudicator to locate the correct policy and history within their information system.",
      "min": 1,
      "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.",
      "isModifier": false,
      "short": "Insurance information",
      "type": [ {
        "code": "Reference",
        "targetProfile": [ "https://twcore.mohw.gov.tw/ig/pas/StructureDefinition/Coverage-twpas" ]
      } ],
      "max": "1",
      "id": "Claim.insurance.coverage",
      "base": {
        "max": "1",
        "min": 1,
        "path": "Claim.insurance.coverage"
      },
      "isSummary": true
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      } ],
      "path": "Claim.insurance.businessArrangement",
      "requirements": "Providers may have multiple business arrangements with a given insurer and must supply the specific contract number for adjudication.",
      "min": 0,
      "definition": "A business agreement number established between the provider and the insurer for special business processing purposes.",
      "isModifier": false,
      "short": "Additional provider contract number",
      "type": [ {
        "code": "string"
      } ],
      "max": "1",
      "id": "Claim.insurance.businessArrangement",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Claim.insurance.businessArrangement"
      },
      "isSummary": false
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      } ],
      "path": "Claim.insurance.preAuthRef",
      "requirements": "Providers must quote previously issued authorization reference numbers in order to obtain adjudication as previously advised on the Preauthorization.",
      "min": 0,
      "definition": "Reference numbers previously provided by the insurer to the provider to be quoted on subsequent claims containing services or products related to the prior authorization.",
      "isModifier": false,
      "short": "Prior authorization reference number",
      "type": [ {
        "code": "string"
      } ],
      "max": "*",
      "id": "Claim.insurance.preAuthRef",
      "comment": "This value is an alphanumeric string that may be provided over the phone, via text, via paper, or within a ClaimResponse resource and is not a FHIR Identifier.",
      "base": {
        "max": "*",
        "min": 0,
        "path": "Claim.insurance.preAuthRef"
      },
      "isSummary": false
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      } ],
      "path": "Claim.insurance.claimResponse",
      "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,
      "definition": "The result of the adjudication of the line items for the Coverage specified in this insurance.",
      "isModifier": false,
      "short": "Adjudication results",
      "type": [ {
        "code": "Reference",
        "targetProfile": [ "http://hl7.org/fhir/StructureDefinition/ClaimResponse" ]
      } ],
      "max": "1",
      "id": "Claim.insurance.claimResponse",
      "comment": "Must not be specified when 'focal=true' for this insurance.",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Claim.insurance.claimResponse"
      },
      "isSummary": false
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      } ],
      "path": "Claim.accident",
      "requirements": "When healthcare products and services are accident related, benefits may be payable under accident provisions of policies, such as automotive, etc before they are payable under normal health insurance.",
      "min": 0,
      "definition": "Details of an accident which resulted in injuries which required the products and services listed in the claim.",
      "isModifier": false,
      "short": "Details of the event",
      "type": [ {
        "code": "BackboneElement"
      } ],
      "max": "1",
      "id": "Claim.accident",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Claim.accident"
      },
      "isSummary": false
    }, {
      "path": "Claim.accident.id",
      "min": 0,
      "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
      "isModifier": false,
      "short": "Unique id for inter-element referencing",
      "mapping": [ {
        "map": "n/a",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "http://hl7.org/fhirpath/System.String",
        "extension": [ {
          "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
          "valueUrl": "string"
        } ]
      } ],
      "representation": [ "xmlAttr" ],
      "max": "1",
      "id": "Claim.accident.id",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Element.id"
      },
      "isSummary": false
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      }, {
        "key": "ext-1",
        "human": "Must have either extensions or value[x], not both",
        "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
        "source": "http://hl7.org/fhir/StructureDefinition/Extension",
        "severity": "error",
        "expression": "extension.exists() != value.exists()"
      } ],
      "path": "Claim.accident.extension",
      "min": 0,
      "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.",
      "isModifier": false,
      "short": "Additional content defined by implementations",
      "mapping": [ {
        "map": "n/a",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "Extension"
      } ],
      "alias": [ "extensions", "user content" ],
      "max": "*",
      "id": "Claim.accident.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.",
      "base": {
        "max": "*",
        "min": 0,
        "path": "Element.extension"
      },
      "isSummary": false
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      }, {
        "key": "ext-1",
        "human": "Must have either extensions or value[x], not both",
        "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
        "source": "http://hl7.org/fhir/StructureDefinition/Extension",
        "severity": "error",
        "expression": "extension.exists() != value.exists()"
      } ],
      "path": "Claim.accident.modifierExtension",
      "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](http://hl7.org/fhir/R4/extensibility.html#modifierExtension).",
      "min": 0,
      "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).",
      "isModifier": true,
      "short": "Extensions that cannot be ignored even if unrecognized",
      "mapping": [ {
        "map": "N/A",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "Extension"
      } ],
      "alias": [ "extensions", "user content", "modifiers" ],
      "max": "*",
      "id": "Claim.accident.modifierExtension",
      "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.",
      "base": {
        "max": "*",
        "min": 0,
        "path": "BackboneElement.modifierExtension"
      },
      "isModifierReason": "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them",
      "isSummary": true
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      } ],
      "path": "Claim.accident.date",
      "requirements": "Required for audit purposes and adjudication.",
      "min": 1,
      "definition": "Date of an accident event  related to the products and services contained in the claim.",
      "isModifier": false,
      "short": "When the incident occurred",
      "type": [ {
        "code": "date"
      } ],
      "max": "1",
      "id": "Claim.accident.date",
      "comment": "The date of the accident has to precede the dates of the products and services but within a reasonable timeframe.",
      "base": {
        "max": "1",
        "min": 1,
        "path": "Claim.accident.date"
      },
      "isSummary": false
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      } ],
      "path": "Claim.accident.type",
      "requirements": "Coverage may be dependant on the type of accident.",
      "min": 0,
      "definition": "The type or context of the accident event for the purposes of selection of potential insurance coverages and determination of coordination between insurers.",
      "isModifier": false,
      "short": "The nature of the accident",
      "type": [ {
        "code": "CodeableConcept"
      } ],
      "binding": {
        "strength": "extensible",
        "valueSet": "http://terminology.hl7.org/ValueSet/v3-ActIncidentCode",
        "extension": [ {
          "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
          "valueString": "AccidentType"
        } ],
        "description": "Type of accident: work place, auto, etc."
      },
      "max": "1",
      "id": "Claim.accident.type",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Claim.accident.type"
      },
      "isSummary": false
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      } ],
      "path": "Claim.accident.location[x]",
      "requirements": "Required for audit purposes and determination of applicable insurance liability.",
      "min": 0,
      "definition": "The physical location of the accident event.",
      "isModifier": false,
      "short": "Where the event occurred",
      "type": [ {
        "code": "Address"
      }, {
        "code": "Reference",
        "targetProfile": [ "http://hl7.org/fhir/StructureDefinition/Location" ]
      } ],
      "max": "1",
      "id": "Claim.accident.location[x]",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Claim.accident.location[x]"
      },
      "isSummary": false
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      } ],
      "path": "Claim.item",
      "requirements": "The items to be processed for adjudication.",
      "min": 1,
      "definition": "A claim line. Either a simple  product or service or a 'group' of details which can each be a simple items or groups of sub-details.",
      "isModifier": false,
      "short": "Product or service provided",
      "type": [ {
        "code": "BackboneElement"
      } ],
      "max": "*",
      "id": "Claim.item",
      "base": {
        "max": "*",
        "min": 0,
        "path": "Claim.item"
      },
      "isSummary": false
    }, {
      "path": "Claim.item.id",
      "min": 0,
      "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
      "isModifier": false,
      "short": "Unique id for inter-element referencing",
      "mapping": [ {
        "map": "n/a",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "http://hl7.org/fhirpath/System.String",
        "extension": [ {
          "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
          "valueUrl": "string"
        } ]
      } ],
      "representation": [ "xmlAttr" ],
      "max": "1",
      "id": "Claim.item.id",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Element.id"
      },
      "isSummary": false
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      }, {
        "key": "ext-1",
        "human": "Must have either extensions or value[x], not both",
        "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
        "source": "http://hl7.org/fhir/StructureDefinition/Extension",
        "severity": "error",
        "expression": "extension.exists() != value.exists()"
      } ],
      "path": "Claim.item.extension",
      "min": 1,
      "definition": "An Extension",
      "isModifier": false,
      "short": "Extension",
      "slicing": {
        "rules": "open",
        "ordered": false,
        "discriminator": [ {
          "path": "url",
          "type": "value"
        } ]
      },
      "type": [ {
        "code": "Extension"
      } ],
      "max": "*",
      "id": "Claim.item.extension",
      "base": {
        "max": "*",
        "min": 0,
        "path": "Element.extension"
      },
      "isSummary": false
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      }, {
        "key": "ext-1",
        "human": "Must have either extensions or value[x], not both",
        "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
        "source": "http://hl7.org/fhir/StructureDefinition/Extension",
        "severity": "error",
        "expression": "extension.exists() != value.exists()"
      } ],
      "path": "Claim.item.extension",
      "min": 1,
      "definition": "事前審查品項",
      "isModifier": false,
      "short": "事前審查品項【此為參考Da Vinci PAS IG的extension設計】",
      "type": [ {
        "code": "Extension",
        "profile": [ "https://twcore.mohw.gov.tw/ig/pas/StructureDefinition/extension-requestedService" ]
      } ],
      "mustSupport": true,
      "sliceName": "requestedService",
      "max": "1",
      "id": "Claim.item.extension:requestedService",
      "condition": [ "ele-1" ],
      "base": {
        "max": "*",
        "min": 0,
        "path": "Element.extension"
      }
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      }, {
        "key": "ext-1",
        "human": "Must have either extensions or value[x], not both",
        "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
        "source": "http://hl7.org/fhir/StructureDefinition/Extension",
        "severity": "error",
        "expression": "extension.exists() != value.exists()"
      } ],
      "path": "Claim.item.modifierExtension",
      "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](http://hl7.org/fhir/R4/extensibility.html#modifierExtension).",
      "min": 0,
      "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).",
      "isModifier": true,
      "short": "Extensions that cannot be ignored even if unrecognized",
      "mapping": [ {
        "map": "N/A",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "Extension"
      } ],
      "alias": [ "extensions", "user content", "modifiers" ],
      "max": "*",
      "id": "Claim.item.modifierExtension",
      "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.",
      "base": {
        "max": "*",
        "min": 0,
        "path": "BackboneElement.modifierExtension"
      },
      "isModifierReason": "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them",
      "isSummary": true
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      } ],
      "path": "Claim.item.sequence",
      "requirements": "Necessary to provide a mechanism to link to items from within the claim and within the adjudication details of the ClaimResponse.",
      "min": 1,
      "definition": "A number to uniquely identify item entries.",
      "isModifier": false,
      "short": "Item instance identifier",
      "type": [ {
        "code": "positiveInt"
      } ],
      "max": "1",
      "id": "Claim.item.sequence",
      "base": {
        "max": "1",
        "min": 1,
        "path": "Claim.item.sequence"
      },
      "isSummary": false
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      } ],
      "path": "Claim.item.careTeamSequence",
      "requirements": "Need to identify the individuals and their roles in the provision of the product or service.",
      "min": 0,
      "definition": "CareTeam members related to this service or product.",
      "isModifier": false,
      "short": "Applicable careTeam members",
      "type": [ {
        "code": "positiveInt"
      } ],
      "max": "*",
      "id": "Claim.item.careTeamSequence",
      "base": {
        "max": "*",
        "min": 0,
        "path": "Claim.item.careTeamSequence"
      },
      "isSummary": false
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      } ],
      "path": "Claim.item.diagnosisSequence",
      "requirements": "Need to related the product or service to the associated diagnoses.",
      "min": 0,
      "definition": "Diagnosis applicable for this service or product.",
      "isModifier": false,
      "short": "Applicable diagnoses",
      "type": [ {
        "code": "positiveInt"
      } ],
      "max": "*",
      "id": "Claim.item.diagnosisSequence",
      "base": {
        "max": "*",
        "min": 0,
        "path": "Claim.item.diagnosisSequence"
      },
      "isSummary": false
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      } ],
      "path": "Claim.item.procedureSequence",
      "requirements": "Need to provide any listed specific procedures to support the product or service being claimed.",
      "min": 0,
      "definition": "Procedures applicable for this service or product.",
      "isModifier": false,
      "short": "Applicable procedures",
      "type": [ {
        "code": "positiveInt"
      } ],
      "max": "*",
      "id": "Claim.item.procedureSequence",
      "base": {
        "max": "*",
        "min": 0,
        "path": "Claim.item.procedureSequence"
      },
      "isSummary": false
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      } ],
      "path": "Claim.item.informationSequence",
      "requirements": "Need to reference the supporting information items that relate directly to this product or service.",
      "min": 0,
      "definition": "Exceptions, special conditions and supporting information applicable for this service or product.",
      "isModifier": false,
      "short": "Applicable exception and supporting information",
      "type": [ {
        "code": "positiveInt"
      } ],
      "max": "*",
      "id": "Claim.item.informationSequence",
      "base": {
        "max": "*",
        "min": 0,
        "path": "Claim.item.informationSequence"
      },
      "isSummary": false
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      } ],
      "path": "Claim.item.revenue",
      "requirements": "Needed in the processing of institutional claims.",
      "min": 0,
      "definition": "The type of revenue or cost center providing the product and/or service.",
      "isModifier": false,
      "short": "Revenue or cost center code",
      "type": [ {
        "code": "CodeableConcept"
      } ],
      "binding": {
        "strength": "example",
        "valueSet": "http://hl7.org/fhir/ValueSet/ex-revenue-center",
        "extension": [ {
          "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
          "valueString": "RevenueCenter"
        } ],
        "description": "Codes for the revenue or cost centers supplying the service and/or products."
      },
      "max": "1",
      "id": "Claim.item.revenue",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Claim.item.revenue"
      },
      "isSummary": false
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      } ],
      "path": "Claim.item.category",
      "requirements": "Needed in the processing of institutional claims as this allows the insurer to determine whether a facial X-Ray is for dental, orthopedic, or facial surgery purposes.",
      "min": 0,
      "definition": "Code to identify the general type of benefits under which products and services are provided.",
      "isModifier": false,
      "short": "Benefit classification",
      "type": [ {
        "code": "CodeableConcept"
      } ],
      "binding": {
        "strength": "example",
        "valueSet": "http://hl7.org/fhir/ValueSet/ex-benefitcategory",
        "extension": [ {
          "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
          "valueString": "BenefitCategory"
        } ],
        "description": "Benefit categories such as: oral-basic, major, glasses."
      },
      "max": "1",
      "id": "Claim.item.category",
      "comment": "Examples include Medical Care, Periodontics, Renal Dialysis, Vision Coverage.",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Claim.item.category"
      },
      "isSummary": false
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      } ],
      "path": "Claim.item.productOrService",
      "requirements": "Necessary to state what was provided or done.",
      "min": 1,
      "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.",
      "isModifier": false,
      "short": "醫令類別",
      "type": [ {
        "code": "CodeableConcept"
      } ],
      "mustSupport": true,
      "binding": {
        "strength": "required",
        "valueSet": "https://twcore.mohw.gov.tw/ig/pas/ValueSet/nhi-order-type"
      },
      "alias": [ "Drug Code", "Bill Code", "Service Code" ],
      "max": "1",
      "id": "Claim.item.productOrService",
      "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'.",
      "base": {
        "max": "1",
        "min": 1,
        "path": "Claim.item.productOrService"
      },
      "isSummary": false
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      } ],
      "path": "Claim.item.modifier",
      "requirements": "To support inclusion of the item for adjudication or to charge an elevated fee.",
      "min": 1,
      "definition": "Item typification or modifiers codes to convey additional context for the product or service.",
      "isModifier": false,
      "short": "Product or service billing modifiers",
      "slicing": {
        "rules": "open",
        "ordered": false,
        "discriminator": [ {
          "path": "coding.system",
          "type": "value"
        } ]
      },
      "type": [ {
        "code": "CodeableConcept"
      } ],
      "binding": {
        "strength": "example",
        "valueSet": "http://hl7.org/fhir/ValueSet/claim-modifiers",
        "extension": [ {
          "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
          "valueString": "Modifiers"
        } ],
        "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."
      },
      "max": "2",
      "id": "Claim.item.modifier",
      "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.",
      "base": {
        "max": "*",
        "min": 0,
        "path": "Claim.item.modifier"
      },
      "isSummary": false
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      } ],
      "path": "Claim.item.modifier",
      "requirements": "To support inclusion of the item for adjudication or to charge an elevated fee.",
      "min": 1,
      "definition": "Item typification or modifiers codes to convey additional context for the product or service.",
      "isModifier": false,
      "short": "續用註記,1:初次使用 | 2:申請再次使用",
      "type": [ {
        "code": "CodeableConcept"
      } ],
      "mustSupport": true,
      "sliceName": "continuation",
      "binding": {
        "strength": "required",
        "valueSet": "https://twcore.mohw.gov.tw/ig/pas/ValueSet/nhi-continuation-status"
      },
      "max": "1",
      "id": "Claim.item.modifier:continuation",
      "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.",
      "base": {
        "max": "*",
        "min": 0,
        "path": "Claim.item.modifier"
      },
      "isSummary": false
    }, {
      "path": "Claim.item.modifier.id",
      "min": 0,
      "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
      "isModifier": false,
      "short": "Unique id for inter-element referencing",
      "mapping": [ {
        "map": "n/a",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "http://hl7.org/fhirpath/System.String",
        "extension": [ {
          "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
          "valueUrl": "string"
        } ]
      } ],
      "representation": [ "xmlAttr" ],
      "max": "1",
      "id": "Claim.item.modifier:continuation.id",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Element.id"
      },
      "isSummary": false
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      }, {
        "key": "ext-1",
        "human": "Must have either extensions or value[x], not both",
        "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
        "source": "http://hl7.org/fhir/StructureDefinition/Extension",
        "severity": "error",
        "expression": "extension.exists() != value.exists()"
      } ],
      "path": "Claim.item.modifier.extension",
      "min": 0,
      "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.",
      "isModifier": false,
      "short": "Additional content defined by implementations",
      "mapping": [ {
        "map": "n/a",
        "identity": "rim"
      } ],
      "slicing": {
        "rules": "open",
        "description": "Extensions are always sliced by (at least) url",
        "discriminator": [ {
          "path": "url",
          "type": "value"
        } ]
      },
      "type": [ {
        "code": "Extension"
      } ],
      "alias": [ "extensions", "user content" ],
      "max": "*",
      "id": "Claim.item.modifier:continuation.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.",
      "base": {
        "max": "*",
        "min": 0,
        "path": "Element.extension"
      },
      "isSummary": false
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      } ],
      "path": "Claim.item.modifier.coding",
      "requirements": "Allows for alternative encodings within a code system, and translations to other code systems.",
      "min": 1,
      "definition": "A reference to a code defined by a terminology system.",
      "isModifier": false,
      "short": "Code defined by a terminology system",
      "mapping": [ {
        "map": "C*E.1-8, C*E.10-22",
        "identity": "v2"
      }, {
        "map": "union(., ./translation)",
        "identity": "rim"
      }, {
        "map": "fhir:CodeableConcept.coding rdfs:subPropertyOf dt:CD.coding",
        "identity": "orim"
      } ],
      "type": [ {
        "code": "Coding"
      } ],
      "max": "1",
      "id": "Claim.item.modifier:continuation.coding",
      "comment": "Codes may be defined very casually in enumerations, or code lists, up to very formal definitions such as SNOMED CT - see the HL7 v3 Core Principles for more information.  Ordering of codings is undefined and SHALL NOT be used to infer meaning. Generally, at most only one of the coding values will be labeled as UserSelected = true.",
      "base": {
        "max": "*",
        "min": 0,
        "path": "CodeableConcept.coding"
      },
      "isSummary": true
    }, {
      "path": "Claim.item.modifier.coding.id",
      "min": 0,
      "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
      "isModifier": false,
      "short": "Unique id for inter-element referencing",
      "mapping": [ {
        "map": "n/a",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "http://hl7.org/fhirpath/System.String",
        "extension": [ {
          "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
          "valueUrl": "string"
        } ]
      } ],
      "representation": [ "xmlAttr" ],
      "max": "1",
      "id": "Claim.item.modifier:continuation.coding.id",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Element.id"
      },
      "isSummary": false
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      }, {
        "key": "ext-1",
        "human": "Must have either extensions or value[x], not both",
        "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
        "source": "http://hl7.org/fhir/StructureDefinition/Extension",
        "severity": "error",
        "expression": "extension.exists() != value.exists()"
      } ],
      "path": "Claim.item.modifier.coding.extension",
      "min": 0,
      "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.",
      "isModifier": false,
      "short": "Additional content defined by implementations",
      "mapping": [ {
        "map": "n/a",
        "identity": "rim"
      } ],
      "slicing": {
        "rules": "open",
        "description": "Extensions are always sliced by (at least) url",
        "discriminator": [ {
          "path": "url",
          "type": "value"
        } ]
      },
      "type": [ {
        "code": "Extension"
      } ],
      "alias": [ "extensions", "user content" ],
      "max": "*",
      "id": "Claim.item.modifier:continuation.coding.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.",
      "base": {
        "max": "*",
        "min": 0,
        "path": "Element.extension"
      },
      "isSummary": false
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      } ],
      "path": "Claim.item.modifier.coding.system",
      "requirements": "Need to be unambiguous about the source of the definition of the symbol.",
      "min": 1,
      "definition": "The identification of the code system that defines the meaning of the symbol in the code.",
      "isModifier": false,
      "short": "Identity of the terminology system",
      "mapping": [ {
        "map": "C*E.3",
        "identity": "v2"
      }, {
        "map": "./codeSystem",
        "identity": "rim"
      }, {
        "map": "fhir:Coding.system rdfs:subPropertyOf dt:CDCoding.codeSystem",
        "identity": "orim"
      } ],
      "type": [ {
        "code": "uri"
      } ],
      "max": "1",
      "id": "Claim.item.modifier:continuation.coding.system",
      "comment": "The URI may be an OID (urn:oid:...) or a UUID (urn:uuid:...).  OIDs and UUIDs SHALL be references to the HL7 OID registry. Otherwise, the URI should come from HL7's list of FHIR defined special URIs or it should reference to some definition that establishes the system clearly and unambiguously.",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Coding.system"
      },
      "patternUri": "https://twcore.mohw.gov.tw/ig/pas/CodeSystem/nhi-continuation-status",
      "isSummary": true
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      } ],
      "path": "Claim.item.modifier.coding.version",
      "min": 0,
      "definition": "The version of the code system which was used when choosing this code. Note that a well-maintained code system does not need the version reported, because the meaning of codes is consistent across versions. However this cannot consistently be assured, and when the meaning is not guaranteed to be consistent, the version SHOULD be exchanged.",
      "isModifier": false,
      "short": "Version of the system - if relevant",
      "mapping": [ {
        "map": "C*E.7",
        "identity": "v2"
      }, {
        "map": "./codeSystemVersion",
        "identity": "rim"
      }, {
        "map": "fhir:Coding.version rdfs:subPropertyOf dt:CDCoding.codeSystemVersion",
        "identity": "orim"
      } ],
      "type": [ {
        "code": "string"
      } ],
      "max": "1",
      "id": "Claim.item.modifier:continuation.coding.version",
      "comment": "Where the terminology does not clearly define what string should be used to identify code system versions, the recommendation is to use the date (expressed in FHIR date format) on which that version was officially published as the version date.",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Coding.version"
      },
      "isSummary": true
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      } ],
      "path": "Claim.item.modifier.coding.code",
      "requirements": "Need to refer to a particular code in the system.",
      "min": 1,
      "definition": "A symbol in syntax defined by the system. The symbol may be a predefined code or an expression in a syntax defined by the coding system (e.g. post-coordination).",
      "isModifier": false,
      "short": "1:初次使用 | 2:申請再次使用",
      "mapping": [ {
        "map": "C*E.1",
        "identity": "v2"
      }, {
        "map": "./code",
        "identity": "rim"
      }, {
        "map": "fhir:Coding.code rdfs:subPropertyOf dt:CDCoding.code",
        "identity": "orim"
      } ],
      "type": [ {
        "code": "code"
      } ],
      "max": "1",
      "id": "Claim.item.modifier:continuation.coding.code",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Coding.code"
      },
      "isSummary": true
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      } ],
      "path": "Claim.item.modifier.coding.display",
      "requirements": "Need to be able to carry a human-readable meaning of the code for readers that do not know  the system.",
      "min": 0,
      "definition": "A representation of the meaning of the code in the system, following the rules of the system.",
      "isModifier": false,
      "short": "Representation defined by the system",
      "mapping": [ {
        "map": "C*E.2 - but note this is not well followed",
        "identity": "v2"
      }, {
        "map": "CV.displayName",
        "identity": "rim"
      }, {
        "map": "fhir:Coding.display rdfs:subPropertyOf dt:CDCoding.displayName",
        "identity": "orim"
      } ],
      "type": [ {
        "code": "string"
      } ],
      "extension": [ {
        "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable",
        "valueBoolean": true
      } ],
      "max": "1",
      "id": "Claim.item.modifier:continuation.coding.display",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Coding.display"
      },
      "isSummary": true
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      } ],
      "path": "Claim.item.modifier.coding.userSelected",
      "requirements": "This has been identified as a clinical safety criterium - that this exact system/code pair was chosen explicitly, rather than inferred by the system based on some rules or language processing.",
      "min": 0,
      "definition": "Indicates that this coding was chosen by a user directly - e.g. off a pick list of available items (codes or displays).",
      "isModifier": false,
      "short": "If this coding was chosen directly by the user",
      "mapping": [ {
        "map": "Sometimes implied by being first",
        "identity": "v2"
      }, {
        "map": "CD.codingRationale",
        "identity": "rim"
      }, {
        "map": "fhir:Coding.userSelected fhir:mapsTo dt:CDCoding.codingRationale. fhir:Coding.userSelected fhir:hasMap fhir:Coding.userSelected.map. fhir:Coding.userSelected.map a fhir:Map;   fhir:target dt:CDCoding.codingRationale. fhir:Coding.userSelected\\#true a [     fhir:source \"true\";     fhir:target dt:CDCoding.codingRationale\\#O   ]",
        "identity": "orim"
      } ],
      "type": [ {
        "code": "boolean"
      } ],
      "max": "1",
      "id": "Claim.item.modifier:continuation.coding.userSelected",
      "comment": "Amongst a set of alternatives, a directly chosen code is the most appropriate starting point for new translations. There is some ambiguity about what exactly 'directly chosen' implies, and trading partner agreement may be needed to clarify the use of this element and its consequences more completely.",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Coding.userSelected"
      },
      "isSummary": true
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      } ],
      "path": "Claim.item.modifier.text",
      "requirements": "The codes from the terminologies do not always capture the correct meaning with all the nuances of the human using them, or sometimes there is no appropriate code at all. In these cases, the text is used to capture the full meaning of the source.",
      "min": 0,
      "definition": "A human language representation of the concept as seen/selected/uttered by the user who entered the data and/or which represents the intended meaning of the user.",
      "isModifier": false,
      "short": "Plain text representation of the concept",
      "mapping": [ {
        "map": "C*E.9. But note many systems use C*E.2 for this",
        "identity": "v2"
      }, {
        "map": "./originalText[mediaType/code=\"text/plain\"]/data",
        "identity": "rim"
      }, {
        "map": "fhir:CodeableConcept.text rdfs:subPropertyOf dt:CD.originalText",
        "identity": "orim"
      } ],
      "type": [ {
        "code": "string"
      } ],
      "extension": [ {
        "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable",
        "valueBoolean": true
      } ],
      "max": "1",
      "id": "Claim.item.modifier:continuation.text",
      "comment": "Very often the text is the same as a displayName of one of the codings.",
      "base": {
        "max": "1",
        "min": 0,
        "path": "CodeableConcept.text"
      },
      "isSummary": true
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      } ],
      "path": "Claim.item.modifier",
      "requirements": "To support inclusion of the item for adjudication or to charge an elevated fee.",
      "min": 0,
      "definition": "Item typification or modifiers codes to convey additional context for the product or service.",
      "isModifier": false,
      "short": "用藥線別,0:不適用 | 1:第一線治療 | 2:第二線治療 | 3:第三線治療 | 4:第四線治療 | 5:第五線治療",
      "type": [ {
        "code": "CodeableConcept"
      } ],
      "mustSupport": true,
      "sliceName": "lot",
      "binding": {
        "strength": "required",
        "valueSet": "https://twcore.mohw.gov.tw/ig/pas/ValueSet/nhi-line-of-therapy"
      },
      "max": "1",
      "id": "Claim.item.modifier:lot",
      "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.",
      "base": {
        "max": "*",
        "min": 0,
        "path": "Claim.item.modifier"
      },
      "isSummary": false
    }, {
      "path": "Claim.item.modifier.id",
      "min": 0,
      "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
      "isModifier": false,
      "short": "Unique id for inter-element referencing",
      "mapping": [ {
        "map": "n/a",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "http://hl7.org/fhirpath/System.String",
        "extension": [ {
          "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
          "valueUrl": "string"
        } ]
      } ],
      "representation": [ "xmlAttr" ],
      "max": "1",
      "id": "Claim.item.modifier:lot.id",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Element.id"
      },
      "isSummary": false
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      }, {
        "key": "ext-1",
        "human": "Must have either extensions or value[x], not both",
        "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
        "source": "http://hl7.org/fhir/StructureDefinition/Extension",
        "severity": "error",
        "expression": "extension.exists() != value.exists()"
      } ],
      "path": "Claim.item.modifier.extension",
      "min": 0,
      "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.",
      "isModifier": false,
      "short": "Additional content defined by implementations",
      "mapping": [ {
        "map": "n/a",
        "identity": "rim"
      } ],
      "slicing": {
        "rules": "open",
        "description": "Extensions are always sliced by (at least) url",
        "discriminator": [ {
          "path": "url",
          "type": "value"
        } ]
      },
      "type": [ {
        "code": "Extension"
      } ],
      "alias": [ "extensions", "user content" ],
      "max": "*",
      "id": "Claim.item.modifier:lot.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.",
      "base": {
        "max": "*",
        "min": 0,
        "path": "Element.extension"
      },
      "isSummary": false
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      } ],
      "path": "Claim.item.modifier.coding",
      "requirements": "Allows for alternative encodings within a code system, and translations to other code systems.",
      "min": 1,
      "definition": "A reference to a code defined by a terminology system.",
      "isModifier": false,
      "short": "Code defined by a terminology system",
      "mapping": [ {
        "map": "C*E.1-8, C*E.10-22",
        "identity": "v2"
      }, {
        "map": "union(., ./translation)",
        "identity": "rim"
      }, {
        "map": "fhir:CodeableConcept.coding rdfs:subPropertyOf dt:CD.coding",
        "identity": "orim"
      } ],
      "type": [ {
        "code": "Coding"
      } ],
      "max": "1",
      "id": "Claim.item.modifier:lot.coding",
      "comment": "Codes may be defined very casually in enumerations, or code lists, up to very formal definitions such as SNOMED CT - see the HL7 v3 Core Principles for more information.  Ordering of codings is undefined and SHALL NOT be used to infer meaning. Generally, at most only one of the coding values will be labeled as UserSelected = true.",
      "base": {
        "max": "*",
        "min": 0,
        "path": "CodeableConcept.coding"
      },
      "isSummary": true
    }, {
      "path": "Claim.item.modifier.coding.id",
      "min": 0,
      "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
      "isModifier": false,
      "short": "Unique id for inter-element referencing",
      "mapping": [ {
        "map": "n/a",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "http://hl7.org/fhirpath/System.String",
        "extension": [ {
          "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
          "valueUrl": "string"
        } ]
      } ],
      "representation": [ "xmlAttr" ],
      "max": "1",
      "id": "Claim.item.modifier:lot.coding.id",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Element.id"
      },
      "isSummary": false
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      }, {
        "key": "ext-1",
        "human": "Must have either extensions or value[x], not both",
        "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
        "source": "http://hl7.org/fhir/StructureDefinition/Extension",
        "severity": "error",
        "expression": "extension.exists() != value.exists()"
      } ],
      "path": "Claim.item.modifier.coding.extension",
      "min": 0,
      "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.",
      "isModifier": false,
      "short": "Additional content defined by implementations",
      "mapping": [ {
        "map": "n/a",
        "identity": "rim"
      } ],
      "slicing": {
        "rules": "open",
        "description": "Extensions are always sliced by (at least) url",
        "discriminator": [ {
          "path": "url",
          "type": "value"
        } ]
      },
      "type": [ {
        "code": "Extension"
      } ],
      "alias": [ "extensions", "user content" ],
      "max": "*",
      "id": "Claim.item.modifier:lot.coding.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.",
      "base": {
        "max": "*",
        "min": 0,
        "path": "Element.extension"
      },
      "isSummary": false
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      } ],
      "path": "Claim.item.modifier.coding.system",
      "requirements": "Need to be unambiguous about the source of the definition of the symbol.",
      "min": 1,
      "definition": "The identification of the code system that defines the meaning of the symbol in the code.",
      "isModifier": false,
      "short": "Identity of the terminology system",
      "mapping": [ {
        "map": "C*E.3",
        "identity": "v2"
      }, {
        "map": "./codeSystem",
        "identity": "rim"
      }, {
        "map": "fhir:Coding.system rdfs:subPropertyOf dt:CDCoding.codeSystem",
        "identity": "orim"
      } ],
      "type": [ {
        "code": "uri"
      } ],
      "max": "1",
      "id": "Claim.item.modifier:lot.coding.system",
      "comment": "The URI may be an OID (urn:oid:...) or a UUID (urn:uuid:...).  OIDs and UUIDs SHALL be references to the HL7 OID registry. Otherwise, the URI should come from HL7's list of FHIR defined special URIs or it should reference to some definition that establishes the system clearly and unambiguously.",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Coding.system"
      },
      "patternUri": "https://twcore.mohw.gov.tw/ig/pas/CodeSystem/nhi-line-of-therapy",
      "isSummary": true
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      } ],
      "path": "Claim.item.modifier.coding.version",
      "min": 0,
      "definition": "The version of the code system which was used when choosing this code. Note that a well-maintained code system does not need the version reported, because the meaning of codes is consistent across versions. However this cannot consistently be assured, and when the meaning is not guaranteed to be consistent, the version SHOULD be exchanged.",
      "isModifier": false,
      "short": "Version of the system - if relevant",
      "mapping": [ {
        "map": "C*E.7",
        "identity": "v2"
      }, {
        "map": "./codeSystemVersion",
        "identity": "rim"
      }, {
        "map": "fhir:Coding.version rdfs:subPropertyOf dt:CDCoding.codeSystemVersion",
        "identity": "orim"
      } ],
      "type": [ {
        "code": "string"
      } ],
      "max": "1",
      "id": "Claim.item.modifier:lot.coding.version",
      "comment": "Where the terminology does not clearly define what string should be used to identify code system versions, the recommendation is to use the date (expressed in FHIR date format) on which that version was officially published as the version date.",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Coding.version"
      },
      "isSummary": true
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      } ],
      "path": "Claim.item.modifier.coding.code",
      "requirements": "Need to refer to a particular code in the system.",
      "min": 1,
      "definition": "A symbol in syntax defined by the system. The symbol may be a predefined code or an expression in a syntax defined by the coding system (e.g. post-coordination).",
      "isModifier": false,
      "short": "0:不適用 | 1:第一線治療 | 2:第二線治療 | 3:第三線治療 | 4:第四線治療 | 5:第五線治療",
      "mapping": [ {
        "map": "C*E.1",
        "identity": "v2"
      }, {
        "map": "./code",
        "identity": "rim"
      }, {
        "map": "fhir:Coding.code rdfs:subPropertyOf dt:CDCoding.code",
        "identity": "orim"
      } ],
      "type": [ {
        "code": "code"
      } ],
      "mustSupport": true,
      "max": "1",
      "id": "Claim.item.modifier:lot.coding.code",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Coding.code"
      },
      "isSummary": true
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      } ],
      "path": "Claim.item.modifier.coding.display",
      "requirements": "Need to be able to carry a human-readable meaning of the code for readers that do not know  the system.",
      "min": 0,
      "definition": "A representation of the meaning of the code in the system, following the rules of the system.",
      "isModifier": false,
      "short": "Representation defined by the system",
      "mapping": [ {
        "map": "C*E.2 - but note this is not well followed",
        "identity": "v2"
      }, {
        "map": "CV.displayName",
        "identity": "rim"
      }, {
        "map": "fhir:Coding.display rdfs:subPropertyOf dt:CDCoding.displayName",
        "identity": "orim"
      } ],
      "type": [ {
        "code": "string"
      } ],
      "extension": [ {
        "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable",
        "valueBoolean": true
      } ],
      "max": "1",
      "id": "Claim.item.modifier:lot.coding.display",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Coding.display"
      },
      "isSummary": true
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      } ],
      "path": "Claim.item.modifier.coding.userSelected",
      "requirements": "This has been identified as a clinical safety criterium - that this exact system/code pair was chosen explicitly, rather than inferred by the system based on some rules or language processing.",
      "min": 0,
      "definition": "Indicates that this coding was chosen by a user directly - e.g. off a pick list of available items (codes or displays).",
      "isModifier": false,
      "short": "If this coding was chosen directly by the user",
      "mapping": [ {
        "map": "Sometimes implied by being first",
        "identity": "v2"
      }, {
        "map": "CD.codingRationale",
        "identity": "rim"
      }, {
        "map": "fhir:Coding.userSelected fhir:mapsTo dt:CDCoding.codingRationale. fhir:Coding.userSelected fhir:hasMap fhir:Coding.userSelected.map. fhir:Coding.userSelected.map a fhir:Map;   fhir:target dt:CDCoding.codingRationale. fhir:Coding.userSelected\\#true a [     fhir:source \"true\";     fhir:target dt:CDCoding.codingRationale\\#O   ]",
        "identity": "orim"
      } ],
      "type": [ {
        "code": "boolean"
      } ],
      "max": "1",
      "id": "Claim.item.modifier:lot.coding.userSelected",
      "comment": "Amongst a set of alternatives, a directly chosen code is the most appropriate starting point for new translations. There is some ambiguity about what exactly 'directly chosen' implies, and trading partner agreement may be needed to clarify the use of this element and its consequences more completely.",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Coding.userSelected"
      },
      "isSummary": true
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      } ],
      "path": "Claim.item.modifier.text",
      "requirements": "The codes from the terminologies do not always capture the correct meaning with all the nuances of the human using them, or sometimes there is no appropriate code at all. In these cases, the text is used to capture the full meaning of the source.",
      "min": 0,
      "definition": "A human language representation of the concept as seen/selected/uttered by the user who entered the data and/or which represents the intended meaning of the user.",
      "isModifier": false,
      "short": "Plain text representation of the concept",
      "mapping": [ {
        "map": "C*E.9. But note many systems use C*E.2 for this",
        "identity": "v2"
      }, {
        "map": "./originalText[mediaType/code=\"text/plain\"]/data",
        "identity": "rim"
      }, {
        "map": "fhir:CodeableConcept.text rdfs:subPropertyOf dt:CD.originalText",
        "identity": "orim"
      } ],
      "type": [ {
        "code": "string"
      } ],
      "extension": [ {
        "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable",
        "valueBoolean": true
      } ],
      "max": "1",
      "id": "Claim.item.modifier:lot.text",
      "comment": "Very often the text is the same as a displayName of one of the codings.",
      "base": {
        "max": "1",
        "min": 0,
        "path": "CodeableConcept.text"
      },
      "isSummary": true
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      }, {
        "key": "pas-1",
        "human": "text、coding擇一填寫。",
        "source": "https://twcore.mohw.gov.tw/ig/pas/StructureDefinition/Claim-twpas",
        "severity": "error",
        "expression": "text.exists() xor coding.exists()"
      } ],
      "path": "Claim.item.programCode",
      "requirements": "Commonly used in in the identification of publicly provided program focused on population segments or disease classifications.",
      "min": 1,
      "definition": "Identifies the program under which this may be recovered.",
      "isModifier": false,
      "short": "給付適應症條件,藥品給付規定內所規範之適應症或條件,若有特定事前審查品項代碼應以代碼填報。",
      "type": [ {
        "code": "CodeableConcept"
      } ],
      "mustSupport": true,
      "binding": {
        "strength": "example",
        "valueSet": "http://hl7.org/fhir/ValueSet/ex-program-code",
        "extension": [ {
          "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
          "valueString": "ProgramCode"
        } ],
        "description": "Program specific reason codes."
      },
      "max": "1",
      "id": "Claim.item.programCode",
      "condition": [ "applyReason-1", "applyReason-2", "applyReason-3" ],
      "comment": "For example: Neonatal program, child dental program or drug users recovery program.",
      "base": {
        "max": "*",
        "min": 0,
        "path": "Claim.item.programCode"
      },
      "isSummary": false
    }, {
      "path": "Claim.item.programCode.id",
      "min": 0,
      "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
      "isModifier": false,
      "short": "Unique id for inter-element referencing",
      "mapping": [ {
        "map": "n/a",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "http://hl7.org/fhirpath/System.String",
        "extension": [ {
          "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
          "valueUrl": "string"
        } ]
      } ],
      "representation": [ "xmlAttr" ],
      "max": "1",
      "id": "Claim.item.programCode.id",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Element.id"
      },
      "isSummary": false
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      }, {
        "key": "ext-1",
        "human": "Must have either extensions or value[x], not both",
        "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
        "source": "http://hl7.org/fhir/StructureDefinition/Extension",
        "severity": "error",
        "expression": "extension.exists() != value.exists()"
      } ],
      "path": "Claim.item.programCode.extension",
      "min": 0,
      "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.",
      "isModifier": false,
      "short": "Additional content defined by implementations",
      "mapping": [ {
        "map": "n/a",
        "identity": "rim"
      } ],
      "slicing": {
        "rules": "open",
        "description": "Extensions are always sliced by (at least) url",
        "discriminator": [ {
          "path": "url",
          "type": "value"
        } ]
      },
      "type": [ {
        "code": "Extension"
      } ],
      "alias": [ "extensions", "user content" ],
      "max": "*",
      "id": "Claim.item.programCode.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.",
      "base": {
        "max": "*",
        "min": 0,
        "path": "Element.extension"
      },
      "isSummary": false
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      } ],
      "path": "Claim.item.programCode.coding",
      "requirements": "Allows for alternative encodings within a code system, and translations to other code systems.",
      "min": 0,
      "definition": "A reference to a code defined by a terminology system.",
      "isModifier": false,
      "short": "給付適應症條件,當事前審查品項代碼為KC009612B5、KC010892B5、KC011112DE、KC011162B5、KC011362B5、KC01013229、KC01013230、KC01025219、KC01050238、KC01085229、KC00958229、KC011592DE、JC00154261時,才可填寫。",
      "mapping": [ {
        "map": "C*E.1-8, C*E.10-22",
        "identity": "v2"
      }, {
        "map": "union(., ./translation)",
        "identity": "rim"
      }, {
        "map": "fhir:CodeableConcept.coding rdfs:subPropertyOf dt:CD.coding",
        "identity": "orim"
      } ],
      "type": [ {
        "code": "Coding"
      } ],
      "binding": {
        "strength": "required",
        "valueSet": "https://twcore.mohw.gov.tw/ig/pas/ValueSet/nhi-apply-reason"
      },
      "max": "*",
      "id": "Claim.item.programCode.coding",
      "comment": "Codes may be defined very casually in enumerations, or code lists, up to very formal definitions such as SNOMED CT - see the HL7 v3 Core Principles for more information.  Ordering of codings is undefined and SHALL NOT be used to infer meaning. Generally, at most only one of the coding values will be labeled as UserSelected = true.",
      "base": {
        "max": "*",
        "min": 0,
        "path": "CodeableConcept.coding"
      },
      "isSummary": true
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      } ],
      "path": "Claim.item.programCode.text",
      "requirements": "The codes from the terminologies do not always capture the correct meaning with all the nuances of the human using them, or sometimes there is no appropriate code at all. In these cases, the text is used to capture the full meaning of the source.",
      "min": 0,
      "definition": "A human language representation of the concept as seen/selected/uttered by the user who entered the data and/or which represents the intended meaning of the user.",
      "isModifier": false,
      "short": "給付適應症條件,事前審查品項代碼不為KC009612B5、KC010892B5、KC011112DE、KC011162B5、KC011362B5、KC01013229、KC01013230、KC01025219、KC01050238、KC01085229、KC00958229、KC011592DE、JC00154261時,請自行輸入文字。",
      "mapping": [ {
        "map": "C*E.9. But note many systems use C*E.2 for this",
        "identity": "v2"
      }, {
        "map": "./originalText[mediaType/code=\"text/plain\"]/data",
        "identity": "rim"
      }, {
        "map": "fhir:CodeableConcept.text rdfs:subPropertyOf dt:CD.originalText",
        "identity": "orim"
      } ],
      "type": [ {
        "code": "string"
      } ],
      "extension": [ {
        "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable",
        "valueBoolean": true
      } ],
      "max": "1",
      "id": "Claim.item.programCode.text",
      "comment": "Very often the text is the same as a displayName of one of the codings.",
      "base": {
        "max": "1",
        "min": 0,
        "path": "CodeableConcept.text"
      },
      "isSummary": true
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      } ],
      "path": "Claim.item.serviced[x]",
      "requirements": "Needed to determine whether the  service or product was provided during the term of the insurance coverage.",
      "min": 0,
      "definition": "The date or dates when the service or product was supplied, performed or completed.",
      "isModifier": false,
      "short": "Date or dates of service or product delivery",
      "mapping": [ {
        "map": "FiveWs.done[x]",
        "identity": "w5"
      } ],
      "type": [ {
        "code": "date"
      }, {
        "code": "Period"
      } ],
      "max": "1",
      "id": "Claim.item.serviced[x]",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Claim.item.serviced[x]"
      },
      "isSummary": false
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      } ],
      "path": "Claim.item.location[x]",
      "requirements": "The location can alter whether the item was acceptable for insurance purposes or impact the determination of the benefit amount.",
      "min": 0,
      "definition": "Where the product or service was provided.",
      "isModifier": false,
      "short": "Place of service or where product was supplied",
      "mapping": [ {
        "map": "FiveWs.where[x]",
        "identity": "w5"
      } ],
      "type": [ {
        "code": "CodeableConcept"
      }, {
        "code": "Address"
      }, {
        "code": "Reference",
        "targetProfile": [ "http://hl7.org/fhir/StructureDefinition/Location" ]
      } ],
      "binding": {
        "strength": "example",
        "valueSet": "http://hl7.org/fhir/ValueSet/service-place",
        "extension": [ {
          "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
          "valueString": "ServicePlace"
        } ],
        "description": "Place of service: pharmacy, school, prison, etc."
      },
      "max": "1",
      "id": "Claim.item.location[x]",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Claim.item.location[x]"
      },
      "isSummary": false
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      } ],
      "path": "Claim.item.quantity",
      "requirements": "Required when the product or service code does not convey the quantity provided.",
      "min": 1,
      "definition": "The number of repetitions of a service or product.",
      "isModifier": false,
      "short": "Count of products or services",
      "type": [ {
        "code": "Quantity",
        "profile": [ "http://hl7.org/fhir/StructureDefinition/SimpleQuantity" ]
      } ],
      "mustSupport": true,
      "max": "1",
      "id": "Claim.item.quantity",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Claim.item.quantity"
      },
      "isSummary": false
    }, {
      "path": "Claim.item.quantity.id",
      "min": 0,
      "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
      "isModifier": false,
      "short": "Unique id for inter-element referencing",
      "mapping": [ {
        "map": "n/a",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "http://hl7.org/fhirpath/System.String",
        "extension": [ {
          "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
          "valueUrl": "string"
        } ]
      } ],
      "representation": [ "xmlAttr" ],
      "max": "1",
      "id": "Claim.item.quantity.id",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Element.id"
      },
      "isSummary": false
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      }, {
        "key": "ext-1",
        "human": "Must have either extensions or value[x], not both",
        "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
        "source": "http://hl7.org/fhir/StructureDefinition/Extension",
        "severity": "error",
        "expression": "extension.exists() != value.exists()"
      } ],
      "path": "Claim.item.quantity.extension",
      "min": 0,
      "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.",
      "isModifier": false,
      "short": "Additional content defined by implementations",
      "mapping": [ {
        "map": "n/a",
        "identity": "rim"
      } ],
      "slicing": {
        "rules": "open",
        "description": "Extensions are always sliced by (at least) url",
        "discriminator": [ {
          "path": "url",
          "type": "value"
        } ]
      },
      "type": [ {
        "code": "Extension"
      } ],
      "alias": [ "extensions", "user content" ],
      "max": "*",
      "id": "Claim.item.quantity.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.",
      "base": {
        "max": "*",
        "min": 0,
        "path": "Element.extension"
      },
      "isSummary": false
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      } ],
      "path": "Claim.item.quantity.value",
      "requirements": "Precision is handled implicitly in almost all cases of measurement.",
      "min": 1,
      "definition": "The value of the measured amount. The value includes an implicit precision in the presentation of the value.",
      "isModifier": false,
      "short": "事前審查申請數量",
      "mapping": [ {
        "map": "SN.2  / CQ - N/A",
        "identity": "v2"
      }, {
        "map": "PQ.value, CO.value, MO.value, IVL.high or IVL.low depending on the value",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "decimal"
      } ],
      "mustSupport": true,
      "max": "1",
      "id": "Claim.item.quantity.value",
      "comment": "The implicit precision in the value should always be honored. Monetary values have their own rules for handling precision (refer to standard accounting text books).",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Quantity.value"
      },
      "isSummary": true
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      } ],
      "path": "Claim.item.quantity.comparator",
      "requirements": "Need a framework for handling measures where the value is <5ug/L or >400mg/L due to the limitations of measuring methodology.",
      "min": 0,
      "definition": "Not allowed to be used in this context",
      "isModifier": true,
      "short": "< | <= | >= | > - how to understand the value",
      "mapping": [ {
        "map": "SN.1  / CQ.1",
        "identity": "v2"
      }, {
        "map": "IVL properties",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "code"
      } ],
      "meaningWhenMissing": "If there is no comparator, then there is no modification of the value",
      "binding": {
        "strength": "required",
        "valueSet": "http://hl7.org/fhir/ValueSet/quantity-comparator|4.0.1",
        "extension": [ {
          "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
          "valueString": "QuantityComparator"
        } ],
        "description": "How the Quantity should be understood and represented."
      },
      "max": "0",
      "id": "Claim.item.quantity.comparator",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Quantity.comparator"
      },
      "isModifierReason": "This is labeled as \"Is Modifier\" because the comparator modifies the interpretation of the value significantly. If there is no comparator, then there is no modification of the value",
      "isSummary": true
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      } ],
      "path": "Claim.item.quantity.unit",
      "requirements": "There are many representations for units of measure and in many contexts, particular representations are fixed and required. I.e. mcg for micrograms.",
      "min": 0,
      "definition": "A human-readable form of the unit.",
      "isModifier": false,
      "short": "Unit representation",
      "mapping": [ {
        "map": "(see OBX.6 etc.) / CQ.2",
        "identity": "v2"
      }, {
        "map": "PQ.unit",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "string"
      } ],
      "extension": [ {
        "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable",
        "valueBoolean": true
      } ],
      "max": "1",
      "id": "Claim.item.quantity.unit",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Quantity.unit"
      },
      "isSummary": true
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      } ],
      "path": "Claim.item.quantity.system",
      "requirements": "Need to know the system that defines the coded form of the unit.",
      "min": 0,
      "definition": "The identification of the system that provides the coded form of the unit.",
      "isModifier": false,
      "short": "System that defines coded unit form",
      "mapping": [ {
        "map": "(see OBX.6 etc.) / CQ.2",
        "identity": "v2"
      }, {
        "map": "CO.codeSystem, PQ.translation.codeSystem",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "uri"
      } ],
      "max": "1",
      "id": "Claim.item.quantity.system",
      "condition": [ "qty-3" ],
      "base": {
        "max": "1",
        "min": 0,
        "path": "Quantity.system"
      },
      "isSummary": true
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      } ],
      "path": "Claim.item.quantity.code",
      "requirements": "Need a computable form of the unit that is fixed across all forms. UCUM provides this for quantities, but SNOMED CT provides many units of interest.",
      "min": 1,
      "definition": "A computer processable form of the unit in some unit representation system.",
      "isModifier": false,
      "short": "事前審查申請數量單位",
      "mapping": [ {
        "map": "(see OBX.6 etc.) / CQ.2",
        "identity": "v2"
      }, {
        "map": "PQ.code, MO.currency, PQ.translation.code",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "code"
      } ],
      "mustSupport": true,
      "max": "1",
      "id": "Claim.item.quantity.code",
      "comment": "The preferred system is UCUM, but SNOMED CT can also be used (for customary units) or ISO 4217 for currency.  The context of use may additionally require a code from a particular system.",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Quantity.code"
      },
      "isSummary": true
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      } ],
      "path": "Claim.item.unitPrice",
      "requirements": "The amount charged to the patient by the provider for a single unit.",
      "min": 0,
      "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.",
      "isModifier": false,
      "short": "Fee, charge or cost per item",
      "type": [ {
        "code": "Money"
      } ],
      "max": "1",
      "id": "Claim.item.unitPrice",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Claim.item.unitPrice"
      },
      "isSummary": false
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      } ],
      "path": "Claim.item.factor",
      "requirements": "When discounts are provided to a patient (example: Senior's discount) then this must be documented for adjudication.",
      "min": 0,
      "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.",
      "isModifier": false,
      "short": "Price scaling factor",
      "type": [ {
        "code": "decimal"
      } ],
      "max": "1",
      "id": "Claim.item.factor",
      "comment": "To show a 10% senior's discount, the value entered is: 0.90 (1.00 - 0.10).",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Claim.item.factor"
      },
      "isSummary": false
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      } ],
      "path": "Claim.item.net",
      "requirements": "Provides the total amount claimed  for the group (if a grouper) or the line item.",
      "min": 0,
      "definition": "The quantity times the unit price for an additional service or product or charge.",
      "isModifier": false,
      "short": "Total item cost",
      "type": [ {
        "code": "Money"
      } ],
      "max": "1",
      "id": "Claim.item.net",
      "comment": "For example, the formula: quantity * unitPrice * factor  = net. Quantity and factor are assumed to be 1 if not supplied.",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Claim.item.net"
      },
      "isSummary": false
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      } ],
      "path": "Claim.item.udi",
      "requirements": "The UDI code allows the insurer to obtain device level information on the product supplied.",
      "min": 0,
      "definition": "Unique Device Identifiers associated with this line item.",
      "isModifier": false,
      "short": "Unique device identifier",
      "type": [ {
        "code": "Reference",
        "targetProfile": [ "http://hl7.org/fhir/StructureDefinition/Device" ]
      } ],
      "max": "*",
      "id": "Claim.item.udi",
      "base": {
        "max": "*",
        "min": 0,
        "path": "Claim.item.udi"
      },
      "isSummary": false
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      } ],
      "path": "Claim.item.bodySite",
      "requirements": "Allows insurer to validate specific procedures.",
      "min": 0,
      "definition": "Physical service site on the patient (limb, tooth, etc.).",
      "isModifier": false,
      "short": "申請部位,R:右側 | L:左側 | B:兩側。(此專案暫不檢核,未來待確認)",
      "type": [ {
        "code": "CodeableConcept"
      } ],
      "binding": {
        "strength": "required",
        "valueSet": "https://twcore.mohw.gov.tw/ig/pas/ValueSet/nhi-apply-side"
      },
      "max": "1",
      "id": "Claim.item.bodySite",
      "comment": "For example: Providing a tooth code, allows an insurer to identify a provider performing a filling on a tooth that was previously removed.",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Claim.item.bodySite"
      },
      "isSummary": false
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      } ],
      "path": "Claim.item.subSite",
      "requirements": "Allows insurer to validate specific procedures.",
      "min": 0,
      "definition": "A region or surface of the bodySite, e.g. limb region or tooth surface(s).",
      "isModifier": false,
      "short": "Anatomical sub-location",
      "type": [ {
        "code": "CodeableConcept"
      } ],
      "binding": {
        "strength": "example",
        "valueSet": "http://hl7.org/fhir/ValueSet/surface",
        "extension": [ {
          "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
          "valueString": "Surface"
        } ],
        "description": "The code for the tooth surface and surface combinations."
      },
      "max": "*",
      "id": "Claim.item.subSite",
      "base": {
        "max": "*",
        "min": 0,
        "path": "Claim.item.subSite"
      },
      "isSummary": false
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      } ],
      "path": "Claim.item.encounter",
      "requirements": "Used in some jurisdictions to link clinical events to claim items.",
      "min": 0,
      "definition": "The Encounters during which this Claim was created or to which the creation of this record is tightly associated.",
      "isModifier": false,
      "short": "Encounters related to this billed item",
      "mapping": [ {
        "map": "Request.context",
        "identity": "workflow"
      } ],
      "type": [ {
        "code": "Reference",
        "targetProfile": [ "http://hl7.org/fhir/StructureDefinition/Encounter" ]
      } ],
      "max": "*",
      "id": "Claim.item.encounter",
      "comment": "This will typically be the encounter the event occurred within, but some activities may be initiated prior to or after the official completion of an encounter but still be tied to the context of the encounter.",
      "base": {
        "max": "*",
        "min": 0,
        "path": "Claim.item.encounter"
      },
      "isSummary": false
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      } ],
      "path": "Claim.item.detail",
      "requirements": "The items to be processed for adjudication.",
      "min": 0,
      "definition": "A claim detail line. Either a simple (a product or service) or a 'group' of sub-details which are simple items.",
      "isModifier": false,
      "short": "Product or service provided",
      "type": [ {
        "code": "BackboneElement"
      } ],
      "max": "*",
      "id": "Claim.item.detail",
      "base": {
        "max": "*",
        "min": 0,
        "path": "Claim.item.detail"
      },
      "isSummary": false
    }, {
      "path": "Claim.item.detail.id",
      "min": 0,
      "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
      "isModifier": false,
      "short": "Unique id for inter-element referencing",
      "mapping": [ {
        "map": "n/a",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "http://hl7.org/fhirpath/System.String",
        "extension": [ {
          "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
          "valueUrl": "string"
        } ]
      } ],
      "representation": [ "xmlAttr" ],
      "max": "1",
      "id": "Claim.item.detail.id",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Element.id"
      },
      "isSummary": false
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      }, {
        "key": "ext-1",
        "human": "Must have either extensions or value[x], not both",
        "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
        "source": "http://hl7.org/fhir/StructureDefinition/Extension",
        "severity": "error",
        "expression": "extension.exists() != value.exists()"
      } ],
      "path": "Claim.item.detail.extension",
      "min": 0,
      "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.",
      "isModifier": false,
      "short": "Additional content defined by implementations",
      "mapping": [ {
        "map": "n/a",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "Extension"
      } ],
      "alias": [ "extensions", "user content" ],
      "max": "*",
      "id": "Claim.item.detail.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.",
      "base": {
        "max": "*",
        "min": 0,
        "path": "Element.extension"
      },
      "isSummary": false
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      }, {
        "key": "ext-1",
        "human": "Must have either extensions or value[x], not both",
        "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
        "source": "http://hl7.org/fhir/StructureDefinition/Extension",
        "severity": "error",
        "expression": "extension.exists() != value.exists()"
      } ],
      "path": "Claim.item.detail.modifierExtension",
      "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](http://hl7.org/fhir/R4/extensibility.html#modifierExtension).",
      "min": 0,
      "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).",
      "isModifier": true,
      "short": "Extensions that cannot be ignored even if unrecognized",
      "mapping": [ {
        "map": "N/A",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "Extension"
      } ],
      "alias": [ "extensions", "user content", "modifiers" ],
      "max": "*",
      "id": "Claim.item.detail.modifierExtension",
      "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.",
      "base": {
        "max": "*",
        "min": 0,
        "path": "BackboneElement.modifierExtension"
      },
      "isModifierReason": "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them",
      "isSummary": true
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      } ],
      "path": "Claim.item.detail.sequence",
      "requirements": "Necessary to provide a mechanism to link to items from within the claim and within the adjudication details of the ClaimResponse.",
      "min": 1,
      "definition": "A number to uniquely identify item entries.",
      "isModifier": false,
      "short": "Item instance identifier",
      "type": [ {
        "code": "positiveInt"
      } ],
      "max": "1",
      "id": "Claim.item.detail.sequence",
      "base": {
        "max": "1",
        "min": 1,
        "path": "Claim.item.detail.sequence"
      },
      "isSummary": false
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      } ],
      "path": "Claim.item.detail.revenue",
      "requirements": "Needed in the processing of institutional claims.",
      "min": 0,
      "definition": "The type of revenue or cost center providing the product and/or service.",
      "isModifier": false,
      "short": "Revenue or cost center code",
      "type": [ {
        "code": "CodeableConcept"
      } ],
      "binding": {
        "strength": "example",
        "valueSet": "http://hl7.org/fhir/ValueSet/ex-revenue-center",
        "extension": [ {
          "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
          "valueString": "RevenueCenter"
        } ],
        "description": "Codes for the revenue or cost centers supplying the service and/or products."
      },
      "max": "1",
      "id": "Claim.item.detail.revenue",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Claim.item.detail.revenue"
      },
      "isSummary": false
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      } ],
      "path": "Claim.item.detail.category",
      "requirements": "Needed in the processing of institutional claims as this allows the insurer to determine whether a facial X-Ray is for dental, orthopedic, or facial surgery purposes.",
      "min": 0,
      "definition": "Code to identify the general type of benefits under which products and services are provided.",
      "isModifier": false,
      "short": "Benefit classification",
      "type": [ {
        "code": "CodeableConcept"
      } ],
      "binding": {
        "strength": "example",
        "valueSet": "http://hl7.org/fhir/ValueSet/ex-benefitcategory",
        "extension": [ {
          "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
          "valueString": "BenefitCategory"
        } ],
        "description": "Benefit categories such as: oral-basic, major, glasses."
      },
      "max": "1",
      "id": "Claim.item.detail.category",
      "comment": "Examples include Medical Care, Periodontics, Renal Dialysis, Vision Coverage.",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Claim.item.detail.category"
      },
      "isSummary": false
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      } ],
      "path": "Claim.item.detail.productOrService",
      "requirements": "Necessary to state what was provided or done.",
      "min": 1,
      "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.",
      "isModifier": false,
      "short": "Billing, service, product, or drug code",
      "type": [ {
        "code": "CodeableConcept"
      } ],
      "binding": {
        "strength": "example",
        "valueSet": "http://hl7.org/fhir/ValueSet/service-uscls",
        "extension": [ {
          "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
          "valueString": "ServiceProduct"
        } ],
        "description": "Allowable service and product codes."
      },
      "alias": [ "Drug Code", "Bill Code", "Service Code" ],
      "max": "1",
      "id": "Claim.item.detail.productOrService",
      "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'.",
      "base": {
        "max": "1",
        "min": 1,
        "path": "Claim.item.detail.productOrService"
      },
      "isSummary": false
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      } ],
      "path": "Claim.item.detail.modifier",
      "requirements": "To support inclusion of the item for adjudication or to charge an elevated fee.",
      "min": 0,
      "definition": "Item typification or modifiers codes to convey additional context for the product or service.",
      "isModifier": false,
      "short": "Service/Product billing modifiers",
      "type": [ {
        "code": "CodeableConcept"
      } ],
      "binding": {
        "strength": "example",
        "valueSet": "http://hl7.org/fhir/ValueSet/claim-modifiers",
        "extension": [ {
          "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
          "valueString": "Modifiers"
        } ],
        "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."
      },
      "max": "*",
      "id": "Claim.item.detail.modifier",
      "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 out of office hours.",
      "base": {
        "max": "*",
        "min": 0,
        "path": "Claim.item.detail.modifier"
      },
      "isSummary": false
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      } ],
      "path": "Claim.item.detail.programCode",
      "requirements": "Commonly used in in the identification of publicly provided program focused on population segments or disease classifications.",
      "min": 0,
      "definition": "Identifies the program under which this may be recovered.",
      "isModifier": false,
      "short": "Program the product or service is provided under",
      "type": [ {
        "code": "CodeableConcept"
      } ],
      "binding": {
        "strength": "example",
        "valueSet": "http://hl7.org/fhir/ValueSet/ex-program-code",
        "extension": [ {
          "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
          "valueString": "ProgramCode"
        } ],
        "description": "Program specific reason codes."
      },
      "max": "*",
      "id": "Claim.item.detail.programCode",
      "comment": "For example: Neonatal program, child dental program or drug users recovery program.",
      "base": {
        "max": "*",
        "min": 0,
        "path": "Claim.item.detail.programCode"
      },
      "isSummary": false
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      } ],
      "path": "Claim.item.detail.quantity",
      "requirements": "Required when the product or service code does not convey the quantity provided.",
      "min": 0,
      "definition": "The number of repetitions of a service or product.",
      "isModifier": false,
      "short": "Count of products or services",
      "type": [ {
        "code": "Quantity",
        "profile": [ "http://hl7.org/fhir/StructureDefinition/SimpleQuantity" ]
      } ],
      "max": "1",
      "id": "Claim.item.detail.quantity",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Claim.item.detail.quantity"
      },
      "isSummary": false
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      } ],
      "path": "Claim.item.detail.unitPrice",
      "requirements": "The amount charged to the patient by the provider for a single unit.",
      "min": 0,
      "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.",
      "isModifier": false,
      "short": "Fee, charge or cost per item",
      "type": [ {
        "code": "Money"
      } ],
      "max": "1",
      "id": "Claim.item.detail.unitPrice",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Claim.item.detail.unitPrice"
      },
      "isSummary": false
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      } ],
      "path": "Claim.item.detail.factor",
      "requirements": "When discounts are provided to a patient (example: Senior's discount) then this must be documented for adjudication.",
      "min": 0,
      "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.",
      "isModifier": false,
      "short": "Price scaling factor",
      "type": [ {
        "code": "decimal"
      } ],
      "max": "1",
      "id": "Claim.item.detail.factor",
      "comment": "To show a 10% senior's discount, the value entered is: 0.90 (1.00 - 0.10).",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Claim.item.detail.factor"
      },
      "isSummary": false
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      } ],
      "path": "Claim.item.detail.net",
      "requirements": "Provides the total amount claimed  for the group (if a grouper) or the line item.",
      "min": 0,
      "definition": "The quantity times the unit price for an additional service or product or charge.",
      "isModifier": false,
      "short": "Total item cost",
      "type": [ {
        "code": "Money"
      } ],
      "max": "1",
      "id": "Claim.item.detail.net",
      "comment": "For example, the formula: quantity * unitPrice * factor  = net. Quantity and factor are assumed to be 1 if not supplied.",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Claim.item.detail.net"
      },
      "isSummary": false
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      } ],
      "path": "Claim.item.detail.udi",
      "requirements": "The UDI code allows the insurer to obtain device level information on the product supplied.",
      "min": 0,
      "definition": "Unique Device Identifiers associated with this line item.",
      "isModifier": false,
      "short": "Unique device identifier",
      "type": [ {
        "code": "Reference",
        "targetProfile": [ "http://hl7.org/fhir/StructureDefinition/Device" ]
      } ],
      "max": "*",
      "id": "Claim.item.detail.udi",
      "base": {
        "max": "*",
        "min": 0,
        "path": "Claim.item.detail.udi"
      },
      "isSummary": false
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      } ],
      "path": "Claim.item.detail.subDetail",
      "requirements": "The items to be processed for adjudication.",
      "min": 0,
      "definition": "A claim detail line. Either a simple (a product or service) or a 'group' of sub-details which are simple items.",
      "isModifier": false,
      "short": "Product or service provided",
      "type": [ {
        "code": "BackboneElement"
      } ],
      "max": "*",
      "id": "Claim.item.detail.subDetail",
      "base": {
        "max": "*",
        "min": 0,
        "path": "Claim.item.detail.subDetail"
      },
      "isSummary": false
    }, {
      "path": "Claim.item.detail.subDetail.id",
      "min": 0,
      "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
      "isModifier": false,
      "short": "Unique id for inter-element referencing",
      "mapping": [ {
        "map": "n/a",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "http://hl7.org/fhirpath/System.String",
        "extension": [ {
          "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
          "valueUrl": "string"
        } ]
      } ],
      "representation": [ "xmlAttr" ],
      "max": "1",
      "id": "Claim.item.detail.subDetail.id",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Element.id"
      },
      "isSummary": false
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      }, {
        "key": "ext-1",
        "human": "Must have either extensions or value[x], not both",
        "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
        "source": "http://hl7.org/fhir/StructureDefinition/Extension",
        "severity": "error",
        "expression": "extension.exists() != value.exists()"
      } ],
      "path": "Claim.item.detail.subDetail.extension",
      "min": 0,
      "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.",
      "isModifier": false,
      "short": "Additional content defined by implementations",
      "mapping": [ {
        "map": "n/a",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "Extension"
      } ],
      "alias": [ "extensions", "user content" ],
      "max": "*",
      "id": "Claim.item.detail.subDetail.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.",
      "base": {
        "max": "*",
        "min": 0,
        "path": "Element.extension"
      },
      "isSummary": false
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      }, {
        "key": "ext-1",
        "human": "Must have either extensions or value[x], not both",
        "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
        "source": "http://hl7.org/fhir/StructureDefinition/Extension",
        "severity": "error",
        "expression": "extension.exists() != value.exists()"
      } ],
      "path": "Claim.item.detail.subDetail.modifierExtension",
      "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](http://hl7.org/fhir/R4/extensibility.html#modifierExtension).",
      "min": 0,
      "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).",
      "isModifier": true,
      "short": "Extensions that cannot be ignored even if unrecognized",
      "mapping": [ {
        "map": "N/A",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "Extension"
      } ],
      "alias": [ "extensions", "user content", "modifiers" ],
      "max": "*",
      "id": "Claim.item.detail.subDetail.modifierExtension",
      "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.",
      "base": {
        "max": "*",
        "min": 0,
        "path": "BackboneElement.modifierExtension"
      },
      "isModifierReason": "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them",
      "isSummary": true
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      } ],
      "path": "Claim.item.detail.subDetail.sequence",
      "requirements": "Necessary to provide a mechanism to link to items from within the claim and within the adjudication details of the ClaimResponse.",
      "min": 1,
      "definition": "A number to uniquely identify item entries.",
      "isModifier": false,
      "short": "Item instance identifier",
      "type": [ {
        "code": "positiveInt"
      } ],
      "max": "1",
      "id": "Claim.item.detail.subDetail.sequence",
      "base": {
        "max": "1",
        "min": 1,
        "path": "Claim.item.detail.subDetail.sequence"
      },
      "isSummary": false
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      } ],
      "path": "Claim.item.detail.subDetail.revenue",
      "requirements": "Needed in the processing of institutional claims.",
      "min": 0,
      "definition": "The type of revenue or cost center providing the product and/or service.",
      "isModifier": false,
      "short": "Revenue or cost center code",
      "type": [ {
        "code": "CodeableConcept"
      } ],
      "binding": {
        "strength": "example",
        "valueSet": "http://hl7.org/fhir/ValueSet/ex-revenue-center",
        "extension": [ {
          "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
          "valueString": "RevenueCenter"
        } ],
        "description": "Codes for the revenue or cost centers supplying the service and/or products."
      },
      "max": "1",
      "id": "Claim.item.detail.subDetail.revenue",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Claim.item.detail.subDetail.revenue"
      },
      "isSummary": false
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      } ],
      "path": "Claim.item.detail.subDetail.category",
      "requirements": "Needed in the processing of institutional claims as this allows the insurer to determine whether a facial X-Ray is for dental, orthopedic, or facial surgery purposes.",
      "min": 0,
      "definition": "Code to identify the general type of benefits under which products and services are provided.",
      "isModifier": false,
      "short": "Benefit classification",
      "type": [ {
        "code": "CodeableConcept"
      } ],
      "binding": {
        "strength": "example",
        "valueSet": "http://hl7.org/fhir/ValueSet/ex-benefitcategory",
        "extension": [ {
          "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
          "valueString": "BenefitCategory"
        } ],
        "description": "Benefit categories such as: oral-basic, major, glasses."
      },
      "max": "1",
      "id": "Claim.item.detail.subDetail.category",
      "comment": "Examples include Medical Care, Periodontics, Renal Dialysis, Vision Coverage.",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Claim.item.detail.subDetail.category"
      },
      "isSummary": false
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      } ],
      "path": "Claim.item.detail.subDetail.productOrService",
      "requirements": "Necessary to state what was provided or done.",
      "min": 1,
      "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.",
      "isModifier": false,
      "short": "Billing, service, product, or drug code",
      "type": [ {
        "code": "CodeableConcept"
      } ],
      "binding": {
        "strength": "example",
        "valueSet": "http://hl7.org/fhir/ValueSet/service-uscls",
        "extension": [ {
          "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
          "valueString": "ServiceProduct"
        } ],
        "description": "Allowable service and product codes."
      },
      "max": "1",
      "id": "Claim.item.detail.subDetail.productOrService",
      "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'.",
      "base": {
        "max": "1",
        "min": 1,
        "path": "Claim.item.detail.subDetail.productOrService"
      },
      "isSummary": false
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      } ],
      "path": "Claim.item.detail.subDetail.modifier",
      "requirements": "To support inclusion of the item for adjudication or to charge an elevated fee.",
      "min": 0,
      "definition": "Item typification or modifiers codes to convey additional context for the product or service.",
      "isModifier": false,
      "short": "Service/Product billing modifiers",
      "type": [ {
        "code": "CodeableConcept"
      } ],
      "binding": {
        "strength": "example",
        "valueSet": "http://hl7.org/fhir/ValueSet/claim-modifiers",
        "extension": [ {
          "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
          "valueString": "Modifiers"
        } ],
        "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."
      },
      "max": "*",
      "id": "Claim.item.detail.subDetail.modifier",
      "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 out of office hours.",
      "base": {
        "max": "*",
        "min": 0,
        "path": "Claim.item.detail.subDetail.modifier"
      },
      "isSummary": false
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      } ],
      "path": "Claim.item.detail.subDetail.programCode",
      "requirements": "Commonly used in in the identification of publicly provided program focused on population segments or disease classifications.",
      "min": 0,
      "definition": "Identifies the program under which this may be recovered.",
      "isModifier": false,
      "short": "Program the product or service is provided under",
      "type": [ {
        "code": "CodeableConcept"
      } ],
      "binding": {
        "strength": "example",
        "valueSet": "http://hl7.org/fhir/ValueSet/ex-program-code",
        "extension": [ {
          "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
          "valueString": "ProgramCode"
        } ],
        "description": "Program specific reason codes."
      },
      "max": "*",
      "id": "Claim.item.detail.subDetail.programCode",
      "comment": "For example: Neonatal program, child dental program or drug users recovery program.",
      "base": {
        "max": "*",
        "min": 0,
        "path": "Claim.item.detail.subDetail.programCode"
      },
      "isSummary": false
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      } ],
      "path": "Claim.item.detail.subDetail.quantity",
      "requirements": "Required when the product or service code does not convey the quantity provided.",
      "min": 0,
      "definition": "The number of repetitions of a service or product.",
      "isModifier": false,
      "short": "Count of products or services",
      "type": [ {
        "code": "Quantity",
        "profile": [ "http://hl7.org/fhir/StructureDefinition/SimpleQuantity" ]
      } ],
      "max": "1",
      "id": "Claim.item.detail.subDetail.quantity",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Claim.item.detail.subDetail.quantity"
      },
      "isSummary": false
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      } ],
      "path": "Claim.item.detail.subDetail.unitPrice",
      "requirements": "The amount charged to the patient by the provider for a single unit.",
      "min": 0,
      "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.",
      "isModifier": false,
      "short": "Fee, charge or cost per item",
      "type": [ {
        "code": "Money"
      } ],
      "max": "1",
      "id": "Claim.item.detail.subDetail.unitPrice",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Claim.item.detail.subDetail.unitPrice"
      },
      "isSummary": false
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      } ],
      "path": "Claim.item.detail.subDetail.factor",
      "requirements": "When discounts are provided to a patient (example: Senior's discount) then this must be documented for adjudication.",
      "min": 0,
      "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.",
      "isModifier": false,
      "short": "Price scaling factor",
      "type": [ {
        "code": "decimal"
      } ],
      "max": "1",
      "id": "Claim.item.detail.subDetail.factor",
      "comment": "To show a 10% senior's discount, the value entered is: 0.90 (1.00 - 0.10).",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Claim.item.detail.subDetail.factor"
      },
      "isSummary": false
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      } ],
      "path": "Claim.item.detail.subDetail.net",
      "requirements": "Provides the total amount claimed  for the group (if a grouper) or the line item.",
      "min": 0,
      "definition": "The quantity times the unit price for an additional service or product or charge.",
      "isModifier": false,
      "short": "Total item cost",
      "type": [ {
        "code": "Money"
      } ],
      "max": "1",
      "id": "Claim.item.detail.subDetail.net",
      "comment": "For example, the formula: quantity * unitPrice * factor  = net. Quantity and factor are assumed to be 1 if not supplied.",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Claim.item.detail.subDetail.net"
      },
      "isSummary": false
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      } ],
      "path": "Claim.item.detail.subDetail.udi",
      "requirements": "The UDI code allows the insurer to obtain device level information on the product supplied.",
      "min": 0,
      "definition": "Unique Device Identifiers associated with this line item.",
      "isModifier": false,
      "short": "Unique device identifier",
      "type": [ {
        "code": "Reference",
        "targetProfile": [ "http://hl7.org/fhir/StructureDefinition/Device" ]
      } ],
      "max": "*",
      "id": "Claim.item.detail.subDetail.udi",
      "base": {
        "max": "*",
        "min": 0,
        "path": "Claim.item.detail.subDetail.udi"
      },
      "isSummary": false
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      } ],
      "path": "Claim.total",
      "requirements": "Used for  control total purposes.",
      "min": 0,
      "definition": "The total value of the all the items in the claim.",
      "isModifier": false,
      "short": "Total claim cost",
      "type": [ {
        "code": "Money"
      } ],
      "max": "1",
      "id": "Claim.total",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Claim.total"
      },
      "isSummary": false
    } ]
  },
  "status": "active",
  "id": "e5753299-de8b-4d1e-828f-5c40311e33e8",
  "kind": "resource",
  "url": "https://twcore.mohw.gov.tw/ig/pas/StructureDefinition/Claim-twpas",
  "version": "1.0.1",
  "differential": {
    "element": [ {
      "id": "Claim",
      "path": "Claim",
      "constraint": [ {
        "key": "sequence-1",
        "human": "diagnosis.sequence一定會有一個「1」,且只能出現一次。",
        "source": "https://twcore.mohw.gov.tw/ig/pas/StructureDefinition/Claim-twpas",
        "severity": "error",
        "expression": "diagnosis.where(sequence = 1).count() = 1"
      }, {
        "key": "supportingInfo",
        "human": "至少還需提供檢查報告、影像報告、基因資訊中任一樣資訊。",
        "source": "https://twcore.mohw.gov.tw/ig/pas/StructureDefinition/Claim-twpas",
        "severity": "error",
        "expression": "supportingInfo.category.exists(coding.code = 'examinationReport') or supportingInfo.category.exists(coding.code = 'imagingReport') or supportingInfo.category.exists(coding.code = 'geneInfo')"
      }, {
        "key": "applType",
        "human": "當Claim.subType(申報類別)為2(送核補件)、3(申復)、4(爭議審議)或5(申復補件)時,院所才需於Claim.identifier填寫原送核案件之受理編號。目前IG僅針對申報類別為3(申復)進行檢核。",
        "source": "https://twcore.mohw.gov.tw/ig/pas/StructureDefinition/Claim-twpas",
        "severity": "error",
        "expression": "(subType.coding.exists(code='3')) implies (identifier.exists())"
      } ]
    }, {
      "id": "Claim.extension",
      "min": 1,
      "path": "Claim.extension",
      "slicing": {
        "rules": "open",
        "ordered": false,
        "discriminator": [ {
          "path": "url",
          "type": "value"
        } ]
      }
    }, {
      "id": "Claim.extension:encounter",
      "max": "1",
      "min": 1,
      "path": "Claim.extension",
      "type": [ {
        "code": "Extension",
        "profile": [ "https://twcore.mohw.gov.tw/ig/pas/StructureDefinition/extension-claim-encounter" ]
      } ],
      "short": "就醫科別,為細分科之就醫科別,作為審查分科用。【此為參考Da Vinci PAS IG的extension設計】",
      "sliceName": "encounter",
      "mustSupport": true
    }, {
      "id": "Claim.identifier",
      "max": "1",
      "path": "Claim.identifier",
      "short": "原受理編號。院所上傳送核(subType = #1)案件時,不需填寫「原受理編號」資訊,受理成功後會由系統自動產生受理編號。當Claim.subType(申報類別)為2(送核補件)、3(申復)、4(爭議審議)或5(申復補件)時,院所才需於Claim.identifier填寫原送核案件之受理編號。",
      "mustSupport": true
    }, {
      "id": "Claim.status",
      "path": "Claim.status",
      "patternCode": "active"
    }, {
      "id": "Claim.type",
      "path": "Claim.type",
      "patternCodeableConcept": {
        "coding": [ {
          "code": "institutional",
          "system": "http://terminology.hl7.org/CodeSystem/claim-type"
        } ]
      }
    }, {
      "id": "Claim.subType",
      "min": 1,
      "path": "Claim.subType",
      "short": "申報類別,1:送核 | 2:送核補件 | 3:申復 | 4:爭議審議 | 5:申復補件 。院所上傳送核(subType = #1)案件時,不需填寫「原受理編號」資訊,受理成功後會由系統自動產生受理編號。當Claim.subType(申報類別)為2(送核補件)、3(申復)、4(爭議審議)或5(申復補件)時,院所才需於Claim.identifier填寫原送核案件之受理編號。",
      "binding": {
        "strength": "required",
        "valueSet": "https://twcore.mohw.gov.tw/ig/pas/ValueSet/nhi-apply-type"
      },
      "mustSupport": true
    }, {
      "id": "Claim.subType.coding",
      "max": "1",
      "min": 1,
      "path": "Claim.subType.coding"
    }, {
      "id": "Claim.subType.coding.system",
      "min": 1,
      "path": "Claim.subType.coding.system",
      "patternUri": "https://twcore.mohw.gov.tw/ig/pas/CodeSystem/nhi-apply-type"
    }, {
      "id": "Claim.subType.coding.code",
      "min": 1,
      "path": "Claim.subType.coding.code",
      "short": "申報類別,1:送核 | 2:送核補件 | 3:申復 | 4:爭議審議 | 5:申復補件 。當申報類別為2(送核補件)、3(申復)、4(爭議審議)、5(申復補件)時,院所才需於Claim.identifier填寫原送核案件之受理編號。"
    }, {
      "id": "Claim.use",
      "path": "Claim.use",
      "patternCode": "preauthorization"
    }, {
      "id": "Claim.patient",
      "path": "Claim.patient",
      "type": [ {
        "code": "Reference",
        "targetProfile": [ "https://twcore.mohw.gov.tw/ig/pas/StructureDefinition/Patient-twpas" ]
      } ],
      "short": "病人資訊",
      "mustSupport": true
    }, {
      "id": "Claim.created",
      "path": "Claim.created",
      "short": "申請日期,YYYY-MM-DD,機構自填。健保署收案後另建受理日期,將呈現在ClaimResponse的disposition和created欄位。",
      "mustSupport": true
    }, {
      "id": "Claim.enterer",
      "min": 1,
      "path": "Claim.enterer",
      "type": [ {
        "code": "Reference",
        "targetProfile": [ "https://twcore.mohw.gov.tw/ig/pas/StructureDefinition/Practitioner-twpas" ]
      } ],
      "short": "申請醫師,必須存在於醫事人員基本資料檔內,並於合約生效起迄日內。",
      "mustSupport": true
    }, {
      "id": "Claim.provider",
      "path": "Claim.provider",
      "type": [ {
        "code": "Reference",
        "targetProfile": [ "https://twcore.mohw.gov.tw/ig/pas/StructureDefinition/Organization-twpas" ]
      } ],
      "short": "醫事機構代碼,必須存在於醫事機構基本資料檔內。",
      "mustSupport": true
    }, {
      "id": "Claim.priority",
      "path": "Claim.priority",
      "short": "申請案件類別,1:一般事前審查申請 | 3:自主審查報備 | 4:緊急報備;專審系統識別用,對應PXXT_CODE(TMHB,001)。",
      "binding": {
        "strength": "required",
        "valueSet": "https://twcore.mohw.gov.tw/ig/pas/ValueSet/nhi-tmhb-type"
      },
      "mustSupport": true
    }, {
      "id": "Claim.supportingInfo",
      "min": 2,
      "path": "Claim.supportingInfo",
      "slicing": {
        "rules": "open",
        "discriminator": [ {
          "path": "category",
          "type": "value"
        } ]
      }
    }, {
      "id": "Claim.supportingInfo.sequence",
      "path": "Claim.supportingInfo.sequence",
      "short": "因FHIR設計而必填、自動流水號(建議每次加1)、不得重複,作為每筆supportingInfo的唯一識別碼。最後一筆sequence號碼即表示總筆數。"
    }, {
      "id": "Claim.supportingInfo.category",
      "path": "Claim.supportingInfo.category",
      "binding": {
        "strength": "required",
        "valueSet": "https://twcore.mohw.gov.tw/ig/pas/ValueSet/nhi-supporting-info-type"
      }
    }, {
      "id": "Claim.supportingInfo:weight",
      "max": "1",
      "min": 1,
      "path": "Claim.supportingInfo",
      "short": "病人體重",
      "sliceName": "weight"
    }, {
      "id": "Claim.supportingInfo:weight.category",
      "path": "Claim.supportingInfo.category",
      "patternCodeableConcept": {
        "coding": [ {
          "code": "weight",
          "system": "https://twcore.mohw.gov.tw/ig/pas/CodeSystem/nhi-supporting-info-type"
        } ]
      }
    }, {
      "id": "Claim.supportingInfo:weight.timing[x]",
      "max": "0",
      "path": "Claim.supportingInfo.timing[x]"
    }, {
      "id": "Claim.supportingInfo:weight.value[x]",
      "min": 1,
      "path": "Claim.supportingInfo.value[x]",
      "type": [ {
        "code": "Quantity"
      } ],
      "mustSupport": true
    }, {
      "id": "Claim.supportingInfo:weight.value[x].value",
      "min": 1,
      "path": "Claim.supportingInfo.value[x].value",
      "short": "體重,整數至多3位數及小數至多2位數。",
      "constraint": [ {
        "key": "HTWT",
        "human": "整數至多3位數及小數至多2位數",
        "source": "https://twcore.mohw.gov.tw/ig/pas/StructureDefinition/Claim-twpas",
        "severity": "error",
        "expression": "value.toString().matches('^[0-9]{1,3}(.[0-9]{1,2})?$')"
      } ],
      "mustSupport": true
    }, {
      "id": "Claim.supportingInfo:weight.value[x].system",
      "min": 1,
      "path": "Claim.supportingInfo.value[x].system",
      "patternUri": "http://unitsofmeasure.org"
    }, {
      "id": "Claim.supportingInfo:weight.value[x].code",
      "min": 1,
      "path": "Claim.supportingInfo.value[x].code",
      "patternCode": "kg"
    }, {
      "id": "Claim.supportingInfo:height",
      "max": "1",
      "min": 1,
      "path": "Claim.supportingInfo",
      "short": "病人身高",
      "sliceName": "height"
    }, {
      "id": "Claim.supportingInfo:height.category",
      "path": "Claim.supportingInfo.category",
      "patternCodeableConcept": {
        "coding": [ {
          "code": "height",
          "system": "https://twcore.mohw.gov.tw/ig/pas/CodeSystem/nhi-supporting-info-type"
        } ]
      }
    }, {
      "id": "Claim.supportingInfo:height.timing[x]",
      "max": "0",
      "path": "Claim.supportingInfo.timing[x]"
    }, {
      "id": "Claim.supportingInfo:height.value[x]",
      "min": 1,
      "path": "Claim.supportingInfo.value[x]",
      "type": [ {
        "code": "Quantity"
      } ],
      "mustSupport": true
    }, {
      "id": "Claim.supportingInfo:height.value[x].value",
      "min": 1,
      "path": "Claim.supportingInfo.value[x].value",
      "short": "身高(cm),整數至多3位數及小數至多2位數。",
      "constraint": [ {
        "key": "HTWT",
        "human": "整數至多3位數及小數至多2位數",
        "source": "https://twcore.mohw.gov.tw/ig/pas/StructureDefinition/Claim-twpas",
        "severity": "error",
        "expression": "value.toString().matches('^[0-9]{1,3}(.[0-9]{1,2})?$')"
      } ],
      "mustSupport": true
    }, {
      "id": "Claim.supportingInfo:height.value[x].system",
      "min": 1,
      "path": "Claim.supportingInfo.value[x].system",
      "patternUri": "http://unitsofmeasure.org"
    }, {
      "id": "Claim.supportingInfo:height.value[x].code",
      "min": 1,
      "path": "Claim.supportingInfo.value[x].code",
      "patternCode": "cm"
    }, {
      "id": "Claim.supportingInfo:pregnancy",
      "max": "1",
      "min": 0,
      "path": "Claim.supportingInfo",
      "short": "是否懷孕或哺乳",
      "sliceName": "pregnancy"
    }, {
      "id": "Claim.supportingInfo:pregnancy.category",
      "path": "Claim.supportingInfo.category",
      "patternCodeableConcept": {
        "coding": [ {
          "code": "pregnancyBreastfeedingStatus",
          "system": "https://twcore.mohw.gov.tw/ig/pas/CodeSystem/nhi-supporting-info-type"
        } ]
      }
    }, {
      "id": "Claim.supportingInfo:pregnancy.timing[x]",
      "max": "0",
      "path": "Claim.supportingInfo.timing[x]"
    }, {
      "id": "Claim.supportingInfo:pregnancy.value[x]",
      "min": 1,
      "path": "Claim.supportingInfo.value[x]",
      "type": [ {
        "code": "boolean"
      } ],
      "short": "是否懷孕或哺乳,false:未懷孕或哺乳 | true:有懷孕或哺乳",
      "mustSupport": true
    }, {
      "id": "Claim.supportingInfo:imagingReport",
      "max": "*",
      "min": 0,
      "path": "Claim.supportingInfo",
      "short": "影像報告",
      "sliceName": "imagingReport"
    }, {
      "id": "Claim.supportingInfo:imagingReport.category",
      "path": "Claim.supportingInfo.category",
      "patternCodeableConcept": {
        "coding": [ {
          "code": "imagingReport",
          "system": "https://twcore.mohw.gov.tw/ig/pas/CodeSystem/nhi-supporting-info-type"
        } ]
      }
    }, {
      "id": "Claim.supportingInfo:imagingReport.timing[x]",
      "max": "0",
      "path": "Claim.supportingInfo.timing[x]"
    }, {
      "id": "Claim.supportingInfo:imagingReport.value[x]",
      "min": 1,
      "path": "Claim.supportingInfo.value[x]",
      "type": [ {
        "code": "Reference",
        "targetProfile": [ "https://twcore.mohw.gov.tw/ig/pas/StructureDefinition/DiagnosticReport-image-twpas" ]
      } ],
      "short": "影像報告",
      "mustSupport": true
    }, {
      "id": "Claim.supportingInfo:cancerStage",
      "max": "*",
      "min": 0,
      "path": "Claim.supportingInfo",
      "short": "癌症分期量表",
      "sliceName": "cancerStage"
    }, {
      "id": "Claim.supportingInfo:cancerStage.category",
      "path": "Claim.supportingInfo.category",
      "patternCodeableConcept": {
        "coding": [ {
          "code": "cancerStage",
          "system": "https://twcore.mohw.gov.tw/ig/pas/CodeSystem/nhi-supporting-info-type"
        } ]
      }
    }, {
      "id": "Claim.supportingInfo:cancerStage.timing[x]",
      "max": "0",
      "path": "Claim.supportingInfo.timing[x]"
    }, {
      "id": "Claim.supportingInfo:cancerStage.value[x]",
      "min": 1,
      "path": "Claim.supportingInfo.value[x]",
      "type": [ {
        "code": "Reference",
        "targetProfile": [ "https://twcore.mohw.gov.tw/ig/pas/StructureDefinition/Observation-cancer-stage-twpas" ]
      } ],
      "short": "癌症分期量表",
      "mustSupport": true
    }, {
      "id": "Claim.supportingInfo:examinationReport",
      "max": "*",
      "min": 0,
      "path": "Claim.supportingInfo",
      "short": "檢查報告",
      "sliceName": "examinationReport"
    }, {
      "id": "Claim.supportingInfo:examinationReport.category",
      "path": "Claim.supportingInfo.category",
      "patternCodeableConcept": {
        "coding": [ {
          "code": "examinationReport",
          "system": "https://twcore.mohw.gov.tw/ig/pas/CodeSystem/nhi-supporting-info-type"
        } ]
      }
    }, {
      "id": "Claim.supportingInfo:examinationReport.timing[x]",
      "max": "0",
      "path": "Claim.supportingInfo.timing[x]"
    }, {
      "id": "Claim.supportingInfo:examinationReport.value[x]",
      "min": 1,
      "path": "Claim.supportingInfo.value[x]",
      "type": [ {
        "code": "Reference",
        "targetProfile": [ "https://twcore.mohw.gov.tw/ig/pas/StructureDefinition/DiagnosticReport-twpas" ]
      } ],
      "short": "檢查報告",
      "mustSupport": true
    }, {
      "id": "Claim.supportingInfo:geneInfo",
      "max": "*",
      "min": 0,
      "path": "Claim.supportingInfo",
      "short": "基因資訊",
      "sliceName": "geneInfo"
    }, {
      "id": "Claim.supportingInfo:geneInfo.category",
      "path": "Claim.supportingInfo.category",
      "patternCodeableConcept": {
        "coding": [ {
          "code": "geneInfo",
          "system": "https://twcore.mohw.gov.tw/ig/pas/CodeSystem/nhi-supporting-info-type"
        } ]
      }
    }, {
      "id": "Claim.supportingInfo:geneInfo.timing[x]",
      "max": "0",
      "path": "Claim.supportingInfo.timing[x]"
    }, {
      "id": "Claim.supportingInfo:geneInfo.value[x]",
      "min": 1,
      "path": "Claim.supportingInfo.value[x]",
      "type": [ {
        "code": "Reference",
        "targetProfile": [ "https://twcore.mohw.gov.tw/ig/pas/StructureDefinition/Observation-diagnostic-twpas" ]
      } ],
      "short": "基因資訊",
      "mustSupport": true
    }, {
      "id": "Claim.supportingInfo:tests",
      "max": "*",
      "min": 0,
      "path": "Claim.supportingInfo",
      "short": "檢驗(查)",
      "sliceName": "tests"
    }, {
      "id": "Claim.supportingInfo:tests.category",
      "path": "Claim.supportingInfo.category",
      "patternCodeableConcept": {
        "coding": [ {
          "code": "tests",
          "system": "https://twcore.mohw.gov.tw/ig/pas/CodeSystem/nhi-supporting-info-type"
        } ]
      }
    }, {
      "id": "Claim.supportingInfo:tests.timing[x]",
      "max": "0",
      "path": "Claim.supportingInfo.timing[x]"
    }, {
      "id": "Claim.supportingInfo:tests.value[x]",
      "min": 1,
      "path": "Claim.supportingInfo.value[x]",
      "type": [ {
        "code": "Reference",
        "targetProfile": [ "https://twcore.mohw.gov.tw/ig/pas/StructureDefinition/Observation-laboratory-result-twpas" ]
      } ],
      "short": "檢驗(查)",
      "mustSupport": true
    }, {
      "id": "Claim.supportingInfo:patientAssessment",
      "max": "*",
      "min": 0,
      "path": "Claim.supportingInfo",
      "short": "病人狀態評估",
      "sliceName": "patientAssessment"
    }, {
      "id": "Claim.supportingInfo:patientAssessment.category",
      "path": "Claim.supportingInfo.category",
      "patternCodeableConcept": {
        "coding": [ {
          "code": "patientAssessment",
          "system": "https://twcore.mohw.gov.tw/ig/pas/CodeSystem/nhi-supporting-info-type"
        } ]
      }
    }, {
      "id": "Claim.supportingInfo:patientAssessment.timing[x]",
      "max": "0",
      "path": "Claim.supportingInfo.timing[x]"
    }, {
      "id": "Claim.supportingInfo:patientAssessment.value[x]",
      "min": 1,
      "path": "Claim.supportingInfo.value[x]",
      "type": [ {
        "code": "Reference",
        "targetProfile": [ "https://twcore.mohw.gov.tw/ig/pas/StructureDefinition/Observation-pat-assessment-twpas" ]
      } ],
      "short": "病人狀態評估",
      "mustSupport": true
    }, {
      "id": "Claim.supportingInfo:medicationRequest",
      "max": "*",
      "min": 0,
      "path": "Claim.supportingInfo",
      "short": "用藥品項",
      "sliceName": "medicationRequest"
    }, {
      "id": "Claim.supportingInfo:medicationRequest.category",
      "path": "Claim.supportingInfo.category",
      "patternCodeableConcept": {
        "coding": [ {
          "code": "medicationRequest",
          "system": "https://twcore.mohw.gov.tw/ig/pas/CodeSystem/nhi-supporting-info-type"
        } ]
      }
    }, {
      "id": "Claim.supportingInfo:medicationRequest.timing[x]",
      "max": "0",
      "path": "Claim.supportingInfo.timing[x]"
    }, {
      "id": "Claim.supportingInfo:medicationRequest.value[x]",
      "min": 1,
      "path": "Claim.supportingInfo.value[x]",
      "type": [ {
        "code": "Reference",
        "targetProfile": [ "https://twcore.mohw.gov.tw/ig/pas/StructureDefinition/MedicationRequest-treat-twpas" ]
      } ],
      "short": "用藥品項",
      "mustSupport": true
    }, {
      "id": "Claim.supportingInfo:radiotherapy",
      "max": "*",
      "min": 0,
      "path": "Claim.supportingInfo",
      "short": "放射治療",
      "sliceName": "radiotherapy"
    }, {
      "id": "Claim.supportingInfo:radiotherapy.category",
      "path": "Claim.supportingInfo.category",
      "patternCodeableConcept": {
        "coding": [ {
          "code": "radiotherapy",
          "system": "https://twcore.mohw.gov.tw/ig/pas/CodeSystem/nhi-supporting-info-type"
        } ]
      }
    }, {
      "id": "Claim.supportingInfo:radiotherapy.timing[x]",
      "max": "0",
      "path": "Claim.supportingInfo.timing[x]"
    }, {
      "id": "Claim.supportingInfo:radiotherapy.value[x]",
      "min": 1,
      "path": "Claim.supportingInfo.value[x]",
      "type": [ {
        "code": "Reference",
        "targetProfile": [ "https://twcore.mohw.gov.tw/ig/pas/StructureDefinition/Procedure-twpas" ]
      } ],
      "short": "放射治療",
      "mustSupport": true
    }, {
      "id": "Claim.supportingInfo:carePlanDocument",
      "max": "*",
      "min": 0,
      "path": "Claim.supportingInfo",
      "short": "治療計畫文件,P-IO(免疫檢查點抑制劑治療計畫)、P-CART(CAR-T多團隊會議紀錄)、P-STEMCELL(造血幹細胞移植計畫書),附件形式PDF",
      "sliceName": "carePlanDocument"
    }, {
      "id": "Claim.supportingInfo:carePlanDocument.category",
      "path": "Claim.supportingInfo.category",
      "patternCodeableConcept": {
        "coding": [ {
          "code": "carePlanDocument",
          "system": "https://twcore.mohw.gov.tw/ig/pas/CodeSystem/nhi-supporting-info-type"
        } ]
      }
    }, {
      "id": "Claim.supportingInfo:carePlanDocument.timing[x]",
      "max": "0",
      "path": "Claim.supportingInfo.timing[x]"
    }, {
      "id": "Claim.supportingInfo:carePlanDocument.value[x]",
      "min": 1,
      "path": "Claim.supportingInfo.value[x]",
      "type": [ {
        "code": "Reference",
        "targetProfile": [ "https://twcore.mohw.gov.tw/ig/pas/StructureDefinition/DocumentReference-twpas" ]
      } ],
      "short": "治療計畫文件",
      "mustSupport": true
    }, {
      "id": "Claim.supportingInfo:medicalRecord",
      "max": "*",
      "min": 0,
      "path": "Claim.supportingInfo",
      "short": "病歷資料(非屬影像報告檢查驗報告部分),可檢附其他佐證癌藥治療必要性之非結構化病歷。",
      "sliceName": "medicalRecord"
    }, {
      "id": "Claim.supportingInfo:medicalRecord.category",
      "path": "Claim.supportingInfo.category",
      "patternCodeableConcept": {
        "coding": [ {
          "code": "medicalRecord",
          "system": "https://twcore.mohw.gov.tw/ig/pas/CodeSystem/nhi-supporting-info-type"
        } ]
      }
    }, {
      "id": "Claim.supportingInfo:medicalRecord.timing[x]",
      "max": "0",
      "path": "Claim.supportingInfo.timing[x]"
    }, {
      "id": "Claim.supportingInfo:medicalRecord.value[x]",
      "min": 1,
      "path": "Claim.supportingInfo.value[x]",
      "type": [ {
        "code": "Reference",
        "targetProfile": [ "https://twcore.mohw.gov.tw/ig/pas/StructureDefinition/DocumentReference-twpas" ]
      } ],
      "mustSupport": true
    }, {
      "id": "Claim.supportingInfo:treatmentAssessment",
      "max": "*",
      "min": 0,
      "path": "Claim.supportingInfo",
      "short": "結果資訊",
      "sliceName": "treatmentAssessment"
    }, {
      "id": "Claim.supportingInfo:treatmentAssessment.category",
      "path": "Claim.supportingInfo.category",
      "patternCodeableConcept": {
        "coding": [ {
          "code": "treatmentAssessment",
          "system": "https://twcore.mohw.gov.tw/ig/pas/CodeSystem/nhi-supporting-info-type"
        } ]
      }
    }, {
      "id": "Claim.supportingInfo:treatmentAssessment.timing[x]",
      "max": "0",
      "path": "Claim.supportingInfo.timing[x]"
    }, {
      "id": "Claim.supportingInfo:treatmentAssessment.value[x]",
      "min": 1,
      "path": "Claim.supportingInfo.value[x]",
      "type": [ {
        "code": "Reference",
        "targetProfile": [ "https://twcore.mohw.gov.tw/ig/pas/StructureDefinition/Observation-tx-assessment-twpas" ]
      } ],
      "short": "結果資訊",
      "mustSupport": true
    }, {
      "id": "Claim.diagnosis",
      "min": 1,
      "path": "Claim.diagnosis",
      "short": "sequence=1時為主要疾病;sequence>=2代表共病。",
      "constraint": [ {
        "key": "diagnosis",
        "human": "diagnosis.sequence=1時才需填寫診斷日期、簡要病摘(申請原因)",
        "source": "https://twcore.mohw.gov.tw/ig/pas/StructureDefinition/Claim-twpas",
        "severity": "error",
        "expression": "sequence=1 implies (extension.where(url = 'http://hl7.org/fhir/us/davinci-pas/StructureDefinition/extension-diagnosisRecordedDate').value.ofType(date).exists() and type.text.exists() )"
      } ],
      "mustSupport": true
    }, {
      "id": "Claim.diagnosis.extension",
      "path": "Claim.diagnosis.extension",
      "slicing": {
        "rules": "open",
        "ordered": false,
        "discriminator": [ {
          "path": "url",
          "type": "value"
        } ]
      }
    }, {
      "id": "Claim.diagnosis.extension:recordedDate",
      "max": "*",
      "min": 0,
      "path": "Claim.diagnosis.extension",
      "type": [ {
        "code": "Extension",
        "profile": [ "http://hl7.org/fhir/us/davinci-pas/StructureDefinition/extension-diagnosisRecordedDate" ]
      } ],
      "short": "診斷日期,sequence=1時為必填,表示為用藥事前審查之主要疾病;其他共病不須填寫診斷日期。YYYY-MM-DD,西元年月日。【此為參考Da Vinci PAS IG的extension設計】",
      "sliceName": "recordedDate",
      "mustSupport": true
    }, {
      "id": "Claim.diagnosis.sequence",
      "path": "Claim.diagnosis.sequence",
      "short": "sequence=1時為主要疾病;sequence>=2代表共病。"
    }, {
      "id": "Claim.diagnosis.diagnosis[x]",
      "path": "Claim.diagnosis.diagnosis[x]",
      "type": [ {
        "code": "CodeableConcept"
      } ],
      "short": "國際疾病分類代碼(含共病),當前疾病狀態。ICD-10-CM。",
      "binding": {
        "strength": "preferred",
        "valueSet": "https://twcore.mohw.gov.tw/ig/twcore/ValueSet/icd-10-cm-2023-tw"
      },
      "mustSupport": true
    }, {
      "id": "Claim.diagnosis.diagnosis[x].coding",
      "path": "Claim.diagnosis.diagnosis[x].coding",
      "slicing": {
        "rules": "closed",
        "discriminator": [ {
          "path": "system",
          "type": "value"
        } ]
      }
    }, {
      "id": "Claim.diagnosis.diagnosis[x].coding:icd10-cm-2023",
      "max": "1",
      "min": 0,
      "path": "Claim.diagnosis.diagnosis[x].coding",
      "binding": {
        "strength": "extensible",
        "valueSet": "https://twcore.mohw.gov.tw/ig/twcore/ValueSet/icd-10-cm-2023-tw"
      },
      "sliceName": "icd10-cm-2023",
      "mustSupport": true
    }, {
      "id": "Claim.diagnosis.diagnosis[x].coding:icd10-cm-2023.system",
      "min": 1,
      "path": "Claim.diagnosis.diagnosis[x].coding.system",
      "patternUri": "https://twcore.mohw.gov.tw/ig/twcore/CodeSystem/icd-10-cm-2023-tw",
      "mustSupport": true
    }, {
      "id": "Claim.diagnosis.diagnosis[x].coding:icd10-cm-2023.code",
      "min": 1,
      "path": "Claim.diagnosis.diagnosis[x].coding.code",
      "mustSupport": true
    }, {
      "id": "Claim.diagnosis.diagnosis[x].coding:icd10-cm-2014",
      "max": "1",
      "min": 0,
      "path": "Claim.diagnosis.diagnosis[x].coding",
      "binding": {
        "strength": "extensible",
        "valueSet": "https://twcore.mohw.gov.tw/ig/twcore/ValueSet/icd-10-cm-2014-tw"
      },
      "sliceName": "icd10-cm-2014",
      "mustSupport": true
    }, {
      "id": "Claim.diagnosis.diagnosis[x].coding:icd10-cm-2014.system",
      "min": 1,
      "path": "Claim.diagnosis.diagnosis[x].coding.system",
      "patternUri": "https://twcore.mohw.gov.tw/ig/twcore/CodeSystem/icd-10-cm-2014-tw",
      "mustSupport": true
    }, {
      "id": "Claim.diagnosis.diagnosis[x].coding:icd10-cm-2014.code",
      "min": 1,
      "path": "Claim.diagnosis.diagnosis[x].coding.code",
      "mustSupport": true
    }, {
      "id": "Claim.diagnosis.type",
      "max": "1",
      "path": "Claim.diagnosis.type"
    }, {
      "id": "Claim.diagnosis.type.text",
      "path": "Claim.diagnosis.type.text",
      "short": "簡要病摘(申請理由)。連結院內HIS系統之簡要病摘,或填寫原事前審查之申請理由。請勿將醫事機構名稱、病人及醫師姓名等資訊列入結果中上傳,且不得包含HTML或XML等語法。",
      "constraint": [ {
        "key": "pas-2",
        "human": "長度不得超過4000 bytes。",
        "source": "https://twcore.mohw.gov.tw/ig/pas/StructureDefinition/Claim-twpas",
        "severity": "error",
        "expression": "toString().length() <= 4000"
      } ],
      "mustSupport": true
    }, {
      "id": "Claim.procedure.date",
      "min": 1,
      "path": "Claim.procedure.date",
      "short": "手術(或其他處置)日期",
      "mustSupport": true
    }, {
      "id": "Claim.procedure.procedure[x]",
      "path": "Claim.procedure.procedure[x]",
      "type": [ {
        "code": "CodeableConcept"
      } ],
      "short": "手術(或其他處置)項目,經動脈導管肝臟腫瘤化學栓塞術(TACE)及冷凍療法等非屬手術。ICD-10-PCS 或 健保代碼 或 其他。",
      "binding": {
        "strength": "preferred",
        "valueSet": "https://twcore.mohw.gov.tw/ig/twcore/ValueSet/icd-10-pcs-2023-tw"
      },
      "mustSupport": true
    }, {
      "id": "Claim.procedure.procedure[x].coding",
      "max": "1",
      "min": 1,
      "path": "Claim.procedure.procedure[x].coding",
      "slicing": {
        "rules": "open",
        "discriminator": [ {
          "path": "system",
          "type": "value"
        } ]
      }
    }, {
      "id": "Claim.procedure.procedure[x].coding:icd10-pcs-2023",
      "max": "1",
      "min": 0,
      "path": "Claim.procedure.procedure[x].coding",
      "binding": {
        "strength": "required",
        "valueSet": "https://twcore.mohw.gov.tw/ig/twcore/ValueSet/icd-10-pcs-2023-tw"
      },
      "sliceName": "icd10-pcs-2023",
      "mustSupport": true
    }, {
      "id": "Claim.procedure.procedure[x].coding:icd10-pcs-2023.system",
      "min": 1,
      "path": "Claim.procedure.procedure[x].coding.system",
      "patternUri": "https://twcore.mohw.gov.tw/ig/twcore/CodeSystem/icd-10-pcs-2023-tw"
    }, {
      "id": "Claim.procedure.procedure[x].coding:icd10-pcs-2023.code",
      "min": 1,
      "path": "Claim.procedure.procedure[x].coding.code",
      "mustSupport": true
    }, {
      "id": "Claim.procedure.procedure[x].coding:icd10-pcs-2014",
      "max": "1",
      "min": 0,
      "path": "Claim.procedure.procedure[x].coding",
      "binding": {
        "strength": "required",
        "valueSet": "https://twcore.mohw.gov.tw/ig/twcore/ValueSet/icd-10-pcs-2014-tw"
      },
      "sliceName": "icd10-pcs-2014",
      "mustSupport": true
    }, {
      "id": "Claim.procedure.procedure[x].coding:icd10-pcs-2014.system",
      "min": 1,
      "path": "Claim.procedure.procedure[x].coding.system",
      "patternUri": "https://twcore.mohw.gov.tw/ig/twcore/CodeSystem/icd-10-pcs-2014-tw"
    }, {
      "id": "Claim.procedure.procedure[x].coding:icd10-pcs-2014.code",
      "min": 1,
      "path": "Claim.procedure.procedure[x].coding.code",
      "mustSupport": true
    }, {
      "id": "Claim.procedure.procedure[x].coding:medical-service-payment",
      "max": "1",
      "min": 0,
      "path": "Claim.procedure.procedure[x].coding",
      "binding": {
        "strength": "required",
        "valueSet": "https://twcore.mohw.gov.tw/ig/twcore/ValueSet/procedure-tw"
      },
      "sliceName": "medical-service-payment",
      "mustSupport": true
    }, {
      "id": "Claim.procedure.procedure[x].coding:medical-service-payment.system",
      "min": 1,
      "path": "Claim.procedure.procedure[x].coding.system",
      "patternUri": "https://twcore.mohw.gov.tw/ig/twcore/CodeSystem/medical-service-payment-tw"
    }, {
      "id": "Claim.procedure.procedure[x].coding:medical-service-payment.code",
      "min": 1,
      "path": "Claim.procedure.procedure[x].coding.code",
      "mustSupport": true
    }, {
      "id": "Claim.insurance.sequence",
      "path": "Claim.insurance.sequence",
      "patternPositiveInt": 1
    }, {
      "id": "Claim.insurance.coverage",
      "path": "Claim.insurance.coverage",
      "type": [ {
        "code": "Reference",
        "targetProfile": [ "https://twcore.mohw.gov.tw/ig/pas/StructureDefinition/Coverage-twpas" ]
      } ]
    }, {
      "id": "Claim.item",
      "min": 1,
      "path": "Claim.item"
    }, {
      "id": "Claim.item.extension",
      "min": 1,
      "path": "Claim.item.extension",
      "slicing": {
        "rules": "open",
        "ordered": false,
        "discriminator": [ {
          "path": "url",
          "type": "value"
        } ]
      }
    }, {
      "id": "Claim.item.extension:requestedService",
      "max": "1",
      "min": 1,
      "path": "Claim.item.extension",
      "type": [ {
        "code": "Extension",
        "profile": [ "https://twcore.mohw.gov.tw/ig/pas/StructureDefinition/extension-requestedService" ]
      } ],
      "short": "事前審查品項【此為參考Da Vinci PAS IG的extension設計】",
      "sliceName": "requestedService",
      "mustSupport": true
    }, {
      "id": "Claim.item.productOrService",
      "path": "Claim.item.productOrService",
      "short": "醫令類別",
      "binding": {
        "strength": "required",
        "valueSet": "https://twcore.mohw.gov.tw/ig/pas/ValueSet/nhi-order-type"
      },
      "mustSupport": true
    }, {
      "id": "Claim.item.modifier",
      "max": "2",
      "min": 1,
      "path": "Claim.item.modifier",
      "slicing": {
        "rules": "open",
        "ordered": false,
        "discriminator": [ {
          "path": "coding.system",
          "type": "value"
        } ]
      }
    }, {
      "id": "Claim.item.modifier:continuation",
      "max": "1",
      "min": 1,
      "path": "Claim.item.modifier",
      "short": "續用註記,1:初次使用 | 2:申請再次使用",
      "binding": {
        "strength": "required",
        "valueSet": "https://twcore.mohw.gov.tw/ig/pas/ValueSet/nhi-continuation-status"
      },
      "sliceName": "continuation",
      "mustSupport": true
    }, {
      "id": "Claim.item.modifier:continuation.coding",
      "max": "1",
      "min": 1,
      "path": "Claim.item.modifier.coding"
    }, {
      "id": "Claim.item.modifier:continuation.coding.system",
      "min": 1,
      "path": "Claim.item.modifier.coding.system",
      "patternUri": "https://twcore.mohw.gov.tw/ig/pas/CodeSystem/nhi-continuation-status"
    }, {
      "id": "Claim.item.modifier:continuation.coding.code",
      "min": 1,
      "path": "Claim.item.modifier.coding.code",
      "short": "1:初次使用 | 2:申請再次使用"
    }, {
      "id": "Claim.item.modifier:lot",
      "max": "1",
      "min": 0,
      "path": "Claim.item.modifier",
      "short": "用藥線別,0:不適用 | 1:第一線治療 | 2:第二線治療 | 3:第三線治療 | 4:第四線治療 | 5:第五線治療",
      "binding": {
        "strength": "required",
        "valueSet": "https://twcore.mohw.gov.tw/ig/pas/ValueSet/nhi-line-of-therapy"
      },
      "sliceName": "lot",
      "mustSupport": true
    }, {
      "id": "Claim.item.modifier:lot.coding",
      "max": "1",
      "min": 1,
      "path": "Claim.item.modifier.coding"
    }, {
      "id": "Claim.item.modifier:lot.coding.system",
      "min": 1,
      "path": "Claim.item.modifier.coding.system",
      "patternUri": "https://twcore.mohw.gov.tw/ig/pas/CodeSystem/nhi-line-of-therapy"
    }, {
      "id": "Claim.item.modifier:lot.coding.code",
      "min": 1,
      "path": "Claim.item.modifier.coding.code",
      "short": "0:不適用 | 1:第一線治療 | 2:第二線治療 | 3:第三線治療 | 4:第四線治療 | 5:第五線治療",
      "mustSupport": true
    }, {
      "id": "Claim.item.programCode",
      "max": "1",
      "min": 1,
      "path": "Claim.item.programCode",
      "short": "給付適應症條件,藥品給付規定內所規範之適應症或條件,若有特定事前審查品項代碼應以代碼填報。",
      "condition": [ "applyReason-1", "applyReason-2", "applyReason-3" ],
      "constraint": [ {
        "key": "pas-1",
        "human": "text、coding擇一填寫。",
        "source": "https://twcore.mohw.gov.tw/ig/pas/StructureDefinition/Claim-twpas",
        "severity": "error",
        "expression": "text.exists() xor coding.exists()"
      } ],
      "mustSupport": true
    }, {
      "id": "Claim.item.programCode.coding",
      "path": "Claim.item.programCode.coding",
      "short": "給付適應症條件,當事前審查品項代碼為KC009612B5、KC010892B5、KC011112DE、KC011162B5、KC011362B5、KC01013229、KC01013230、KC01025219、KC01050238、KC01085229、KC00958229、KC011592DE、JC00154261時,才可填寫。",
      "binding": {
        "strength": "required",
        "valueSet": "https://twcore.mohw.gov.tw/ig/pas/ValueSet/nhi-apply-reason"
      }
    }, {
      "id": "Claim.item.programCode.text",
      "path": "Claim.item.programCode.text",
      "short": "給付適應症條件,事前審查品項代碼不為KC009612B5、KC010892B5、KC011112DE、KC011162B5、KC011362B5、KC01013229、KC01013230、KC01025219、KC01050238、KC01085229、KC00958229、KC011592DE、JC00154261時,請自行輸入文字。"
    }, {
      "id": "Claim.item.quantity",
      "min": 1,
      "path": "Claim.item.quantity",
      "mustSupport": true
    }, {
      "id": "Claim.item.quantity.value",
      "min": 1,
      "path": "Claim.item.quantity.value",
      "short": "事前審查申請數量",
      "mustSupport": true
    }, {
      "id": "Claim.item.quantity.code",
      "min": 1,
      "path": "Claim.item.quantity.code",
      "short": "事前審查申請數量單位",
      "mustSupport": true
    }, {
      "id": "Claim.item.bodySite",
      "path": "Claim.item.bodySite",
      "short": "申請部位,R:右側 | L:左側 | B:兩側。(此專案暫不檢核,未來待確認)",
      "binding": {
        "strength": "required",
        "valueSet": "https://twcore.mohw.gov.tw/ig/pas/ValueSet/nhi-apply-side"
      }
    } ]
  },
  "contact": [ {
    "name": "衛生福利部中央健康保險署",
    "telecom": [ {
      "value": "https://www.nhi.gov.tw",
      "system": "url"
    } ]
  } ],
  "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Claim"
}