FHIR © HL7.org  |  FHIRsmith 4.0.1  |  Server Home  |  XIG Home  |  XIG Stats  | 

FHIR IG analytics

Packagetw.iii.ltc
Resource TypeStructureDefinition
IdStructureDefinition-HNCaseSummaryModel.json
FHIR VersionR4
Sourcehttps://build.fhir.org/ig/Lorex/TWLongTermCare_IG_Build/StructureDefinition-HNCaseSummaryModel.html
URLhttp://ltc-ig.fhir.tw/StructureDefinition/HNCaseSummaryModel
Version1.1.0
Statusdraft
Date2026-09-28T21:01:40+00:00
NameHNCaseSummaryModel
Title居家護理-需求摘要邏輯模型
Realmtw
Description描述居家護理需求摘要的資料需求。依 V5.0.16 有效欄位建立,來源欄位對應另列於 Mapping。
Typehttp://ltc-ig.fhir.tw/StructureDefinition/HNCaseSummaryModel
Kindlogical

Resources that use this resource

StructureDefinition
tw.iii.ltc#currentHNCaseSummaryAPIModel居家護理-需求摘要 API 邏輯模型

Resources that this resource uses

ValueSet
tw.iii.ltc#currenthn-vs-bc943cb432ce居家護理-需求類型選項

Narrative

Note: links and images are rebased to the (stated) source

Generated Narrative: StructureDefinition HNCaseSummaryModel

NameFlagsCard.TypeDescription & Constraintsdoco
.. HNCaseSummaryModel 0..*Base居家護理-需求摘要邏輯模型
... caseID 1..1string個案身分證字號
... endDate 1..1date收案日期
... date 1..1date紀錄日期
... nurseID 1..1string護理人員身分證字號
... summary 1..1BackboneElement問題列表與摘要
.... questionType 1..1Coding需求類型
Binding: 居家護理-需求類型選項 (required)
.... question 1..1string需求項目
.... answer 1..1string需求摘要備註

doco Documentation for this format

Source1

{
  "resourceType": "StructureDefinition",
  "id": "HNCaseSummaryModel",
  "text": {
    "status": "extensions",
    "div": "<!-- snip (see above) -->"
  },
  "url": "http://ltc-ig.fhir.tw/StructureDefinition/HNCaseSummaryModel",
  "version": "1.1.0",
  "name": "HNCaseSummaryModel",
  "title": "居家護理-需求摘要邏輯模型",
  "status": "draft",
  "date": "2026-09-28T21:01:40+00:00",
  "publisher": "經濟部產業發展署",
  "contact": [
    {
      "name": "經濟部產業發展署",
      "telecom": [
        {
          "system": "url",
          "value": "https://www.ida.gov.tw/"
        }
      ]
    }
  ],
  "description": "描述居家護理需求摘要的資料需求。依 V5.0.16 有效欄位建立,來源欄位對應另列於 Mapping。",
  "fhirVersion": "4.0.1",
  "mapping": [
    {
      "identity": "hn-casesummary-fhir",
      "uri": "http://ltc-ig.fhir.tw/StructureDefinition/HNCaseSummaryResponse",
      "name": "居家護理-需求摘要欄位對應"
    }
  ],
  "kind": "logical",
  "abstract": false,
  "type": "http://ltc-ig.fhir.tw/StructureDefinition/HNCaseSummaryModel",
  "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Base",
  "derivation": "specialization",
  "snapshot": {
    "extension": [
      {
        "url": "http://hl7.org/fhir/tools/StructureDefinition/snapshot-base-version",
        "valueString": "4.0.1"
      }
    ],
    "element": [
      {
        "id": "HNCaseSummaryModel",
        "path": "HNCaseSummaryModel",
        "short": "居家護理-需求摘要邏輯模型",
        "definition": "描述居家護理需求摘要的資料需求。依 V5.0.16 有效欄位建立,來源欄位對應另列於 Mapping。",
        "min": 0,
        "max": "*",
        "base": {
          "path": "Base",
          "min": 0,
          "max": "*"
        },
        "isModifier": false
      },
      {
        "id": "HNCaseSummaryModel.caseID",
        "path": "HNCaseSummaryModel.caseID",
        "short": "個案身分證字號",
        "definition": "個案身分證字號",
        "min": 1,
        "max": "1",
        "base": {
          "path": "HNCaseSummaryModel.caseID",
          "min": 1,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "mapping": [
          {
            "identity": "hn-casesummary-fhir",
            "map": "QuestionnaireResponse.item.where(linkId='CaseID')",
            "comment": "來源欄位/題目:CaseID"
          }
        ]
      },
      {
        "id": "HNCaseSummaryModel.endDate",
        "path": "HNCaseSummaryModel.endDate",
        "short": "收案日期",
        "definition": "收案日期",
        "min": 1,
        "max": "1",
        "base": {
          "path": "HNCaseSummaryModel.endDate",
          "min": 1,
          "max": "1"
        },
        "type": [
          {
            "code": "date"
          }
        ],
        "mapping": [
          {
            "identity": "hn-casesummary-fhir",
            "map": "QuestionnaireResponse.item.where(linkId='EndDate')",
            "comment": "來源欄位/題目:EndDate"
          }
        ]
      },
      {
        "id": "HNCaseSummaryModel.date",
        "path": "HNCaseSummaryModel.date",
        "short": "紀錄日期",
        "definition": "紀錄日期",
        "min": 1,
        "max": "1",
        "base": {
          "path": "HNCaseSummaryModel.date",
          "min": 1,
          "max": "1"
        },
        "type": [
          {
            "code": "date"
          }
        ],
        "mapping": [
          {
            "identity": "hn-casesummary-fhir",
            "map": "QuestionnaireResponse.item.where(linkId='Date')",
            "comment": "來源欄位/題目:Date"
          }
        ]
      },
      {
        "id": "HNCaseSummaryModel.nurseID",
        "path": "HNCaseSummaryModel.nurseID",
        "short": "護理人員身分證字號",
        "definition": "護理人員身分證字號",
        "min": 1,
        "max": "1",
        "base": {
          "path": "HNCaseSummaryModel.nurseID",
          "min": 1,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "mapping": [
          {
            "identity": "hn-casesummary-fhir",
            "map": "QuestionnaireResponse.item.where(linkId='NurseID')",
            "comment": "來源欄位/題目:NurseID"
          }
        ]
      },
      {
        "id": "HNCaseSummaryModel.summary",
        "path": "HNCaseSummaryModel.summary",
        "short": "問題列表與摘要",
        "definition": "問題列表與摘要",
        "min": 1,
        "max": "1",
        "base": {
          "path": "HNCaseSummaryModel.summary",
          "min": 1,
          "max": "1"
        },
        "type": [
          {
            "code": "BackboneElement"
          }
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() or (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Element"
          }
        ],
        "mapping": [
          {
            "identity": "hn-casesummary-fhir",
            "map": "QuestionnaireResponse.item.where(linkId='Summary')",
            "comment": "來源欄位/題目:Summary"
          }
        ]
      },
      {
        "id": "HNCaseSummaryModel.summary.id",
        "path": "HNCaseSummaryModel.summary.id",
        "representation": [
          "xmlAttr"
        ],
        "short": "Unique id for inter-element referencing",
        "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Element.id",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "extension": [
              {
                "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
                "valueUrl": "string"
              }
            ],
            "code": "http://hl7.org/fhirpath/System.String"
          }
        ],
        "isModifier": false,
        "isSummary": false,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "HNCaseSummaryModel.summary.extension",
        "path": "HNCaseSummaryModel.summary.extension",
        "slicing": {
          "discriminator": [
            {
              "type": "value",
              "path": "url"
            }
          ],
          "description": "Extensions are always sliced by (at least) url",
          "rules": "open"
        },
        "short": "Additional content defined by implementations",
        "definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.",
        "alias": [
          "extensions",
          "user content"
        ],
        "min": 0,
        "max": "*",
        "base": {
          "path": "Element.extension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension"
          }
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() or (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Element"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "isModifier": false,
        "isSummary": false,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "HNCaseSummaryModel.summary.modifierExtension",
        "path": "HNCaseSummaryModel.summary.modifierExtension",
        "short": "Extensions that cannot be ignored even if unrecognized",
        "definition": "May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.\n\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.",
        "requirements": "Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored.  This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](http://hl7.org/fhir/R4/extensibility.html#modifierExtension).",
        "alias": [
          "extensions",
          "user content",
          "modifiers"
        ],
        "min": 0,
        "max": "*",
        "base": {
          "path": "BackboneElement.modifierExtension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension"
          }
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() or (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Element"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "isModifier": true,
        "isModifierReason": "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them",
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "HNCaseSummaryModel.summary.questionType",
        "path": "HNCaseSummaryModel.summary.questionType",
        "short": "需求類型",
        "definition": "需求類型",
        "min": 1,
        "max": "1",
        "base": {
          "path": "HNCaseSummaryModel.summary.questionType",
          "min": 1,
          "max": "1"
        },
        "type": [
          {
            "code": "Coding"
          }
        ],
        "binding": {
          "strength": "required",
          "valueSet": "http://ltc-ig.fhir.tw/ValueSet/hn-vs-bc943cb432ce"
        },
        "mapping": [
          {
            "identity": "hn-casesummary-fhir",
            "map": "QuestionnaireResponse.item.where(linkId='Summary').item.where(linkId='Summary.QuestionType')",
            "comment": "來源欄位/題目:Summary.QuestionType"
          }
        ]
      },
      {
        "id": "HNCaseSummaryModel.summary.question",
        "path": "HNCaseSummaryModel.summary.question",
        "short": "需求項目",
        "definition": "需求項目。其他類型可自訂項目;以原摘要文字比對。",
        "min": 1,
        "max": "1",
        "base": {
          "path": "HNCaseSummaryModel.summary.question",
          "min": 1,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "mapping": [
          {
            "identity": "hn-casesummary-fhir",
            "map": "QuestionnaireResponse.item.where(linkId='Summary').item.where(linkId='Summary.Question')",
            "comment": "來源欄位/題目:Summary.Question"
          }
        ]
      },
      {
        "id": "HNCaseSummaryModel.summary.answer",
        "path": "HNCaseSummaryModel.summary.answer",
        "short": "需求摘要備註",
        "definition": "需求摘要備註",
        "min": 1,
        "max": "1",
        "base": {
          "path": "HNCaseSummaryModel.summary.answer",
          "min": 1,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "mapping": [
          {
            "identity": "hn-casesummary-fhir",
            "map": "QuestionnaireResponse.item.where(linkId='Summary').item.where(linkId='Summary.Answer')",
            "comment": "來源欄位/題目:Summary.Answer"
          }
        ]
      }
    ]
  },
  "differential": {
    "element": [
      {
        "id": "HNCaseSummaryModel",
        "path": "HNCaseSummaryModel",
        "short": "居家護理-需求摘要邏輯模型",
        "definition": "描述居家護理需求摘要的資料需求。依 V5.0.16 有效欄位建立,來源欄位對應另列於 Mapping。"
      },
      {
        "id": "HNCaseSummaryModel.caseID",
        "path": "HNCaseSummaryModel.caseID",
        "short": "個案身分證字號",
        "definition": "個案身分證字號",
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "string"
          }
        ],
        "mapping": [
          {
            "identity": "hn-casesummary-fhir",
            "map": "QuestionnaireResponse.item.where(linkId='CaseID')",
            "comment": "來源欄位/題目:CaseID"
          }
        ]
      },
      {
        "id": "HNCaseSummaryModel.endDate",
        "path": "HNCaseSummaryModel.endDate",
        "short": "收案日期",
        "definition": "收案日期",
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "date"
          }
        ],
        "mapping": [
          {
            "identity": "hn-casesummary-fhir",
            "map": "QuestionnaireResponse.item.where(linkId='EndDate')",
            "comment": "來源欄位/題目:EndDate"
          }
        ]
      },
      {
        "id": "HNCaseSummaryModel.date",
        "path": "HNCaseSummaryModel.date",
        "short": "紀錄日期",
        "definition": "紀錄日期",
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "date"
          }
        ],
        "mapping": [
          {
            "identity": "hn-casesummary-fhir",
            "map": "QuestionnaireResponse.item.where(linkId='Date')",
            "comment": "來源欄位/題目:Date"
          }
        ]
      },
      {
        "id": "HNCaseSummaryModel.nurseID",
        "path": "HNCaseSummaryModel.nurseID",
        "short": "護理人員身分證字號",
        "definition": "護理人員身分證字號",
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "string"
          }
        ],
        "mapping": [
          {
            "identity": "hn-casesummary-fhir",
            "map": "QuestionnaireResponse.item.where(linkId='NurseID')",
            "comment": "來源欄位/題目:NurseID"
          }
        ]
      },
      {
        "id": "HNCaseSummaryModel.summary",
        "path": "HNCaseSummaryModel.summary",
        "short": "問題列表與摘要",
        "definition": "問題列表與摘要",
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "BackboneElement"
          }
        ],
        "mapping": [
          {
            "identity": "hn-casesummary-fhir",
            "map": "QuestionnaireResponse.item.where(linkId='Summary')",
            "comment": "來源欄位/題目:Summary"
          }
        ]
      },
      {
        "id": "HNCaseSummaryModel.summary.questionType",
        "path": "HNCaseSummaryModel.summary.questionType",
        "short": "需求類型",
        "definition": "需求類型",
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "Coding"
          }
        ],
        "binding": {
          "strength": "required",
          "valueSet": "http://ltc-ig.fhir.tw/ValueSet/hn-vs-bc943cb432ce"
        },
        "mapping": [
          {
            "identity": "hn-casesummary-fhir",
            "map": "QuestionnaireResponse.item.where(linkId='Summary').item.where(linkId='Summary.QuestionType')",
            "comment": "來源欄位/題目:Summary.QuestionType"
          }
        ]
      },
      {
        "id": "HNCaseSummaryModel.summary.question",
        "path": "HNCaseSummaryModel.summary.question",
        "short": "需求項目",
        "definition": "需求項目。其他類型可自訂項目;以原摘要文字比對。",
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "string"
          }
        ],
        "mapping": [
          {
            "identity": "hn-casesummary-fhir",
            "map": "QuestionnaireResponse.item.where(linkId='Summary').item.where(linkId='Summary.Question')",
            "comment": "來源欄位/題目:Summary.Question"
          }
        ]
      },
      {
        "id": "HNCaseSummaryModel.summary.answer",
        "path": "HNCaseSummaryModel.summary.answer",
        "short": "需求摘要備註",
        "definition": "需求摘要備註",
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "string"
          }
        ],
        "mapping": [
          {
            "identity": "hn-casesummary-fhir",
            "map": "QuestionnaireResponse.item.where(linkId='Summary').item.where(linkId='Summary.Answer')",
            "comment": "來源欄位/題目:Summary.Answer"
          }
        ]
      }
    ]
  }
}