{ "description": "傳染病檢驗報告回應(ReportingResponse)之資料模型", "_filename": "StructureDefinition-ReportingResponseModel.json", "package_name": "tw.gov.mohw.cdc.twidir", "date": "2023-10-02T11:50:49+08:00", "derivation": "specialization", "publisher": "衛福部疾病管制署", "fhirVersion": "4.0.1", "name": "ReportingResponseModel", "mapping": [ { "uri": "http://hl7.org/v3", "name": "RIM Mapping", "identity": "rim" }, { "uri": "https://twidir.cdc.gov.tw/twidir", "name": "TWIDIR IG", "identity": "TWIDIRResponse" } ], "abstract": false, "type": "https://twidir.cdc.gov.tw/twidir/StructureDefinition/ReportingResponseModel", "experimental": null, "resourceType": "StructureDefinition", "title": "傳染病檢驗報告回應(ReportingResponse)之資料模型", "package_version": "0.1.0", "snapshot": { "element": [ { "path": "ReportingResponseModel", "min": 0, "definition": "傳染病檢驗報告回應(ReportingResponse)之資料模型", "isModifier": false, "short": "傳染病檢驗報告回應(ReportingResponse)之資料模型", "mapping": [ { "map": "BundleReportingResponse", "identity": "TWIDIRResponse" } ], "max": "*", "id": "ReportingResponseModel", "base": { "max": "*", "min": 0, "path": "Base" } }, { "constraint": [ { "key": "ele-1", "human": "All FHIR elements must have a @value or children", "xpath": "@value|f:*|h:div", "source": "http://hl7.org/fhir/StructureDefinition/Element", "severity": "error", "expression": "hasValue() or (children().count() > id.count())" } ], "path": "ReportingResponseModel.responseMessage", "min": 1, "definition": "回應訊息", "short": "回應訊息", "mapping": [ { "map": "entry:messageHeader", "identity": "TWIDIRResponse" } ], "type": [ { "code": "BackboneElement" } ], "max": "1", "id": "ReportingResponseModel.responseMessage", "base": { "max": "1", "min": 1, "path": "ReportingResponseModel.responseMessage" } }, { "path": "ReportingResponseModel.responseMessage.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": "ReportingResponseModel.responseMessage.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": "ReportingResponseModel.responseMessage.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": "ReportingResponseModel.responseMessage.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": "ReportingResponseModel.responseMessage.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": "ReportingResponseModel.responseMessage.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 }, { "path": "ReportingResponseModel.responseMessage.eventCoding", "min": 1, "definition": "實驗室報告(LOINC:11502-2)", "short": "實驗室報告(LOINC:11502-2)", "mapping": [ { "map": "eventCoding", "identity": "TWIDIRResponse" } ], "type": [ { "code": "CodeableConcept" } ], "max": "1", "id": "ReportingResponseModel.responseMessage.eventCoding", "base": { "max": "1", "min": 1, "path": "ReportingResponseModel.responseMessage.eventCoding" } }, { "path": "ReportingResponseModel.responseMessage.source", "min": 1, "definition": "CDC伺服器url", "short": "CDC伺服器url", "mapping": [ { "map": "source", "identity": "TWIDIRResponse" } ], "type": [ { "code": "string" } ], "max": "1", "id": "ReportingResponseModel.responseMessage.source", "base": { "max": "1", "min": 1, "path": "ReportingResponseModel.responseMessage.source" } }, { "path": "ReportingResponseModel.responseMessage.identifier", "min": 1, "definition": "回應訊息的唯一識別碼", "short": "回應訊息的唯一識別碼", "mapping": [ { "map": "response.identifier", "identity": "TWIDIRResponse" } ], "type": [ { "code": "Identifier" } ], "max": "1", "id": "ReportingResponseModel.responseMessage.identifier", "base": { "max": "1", "min": 1, "path": "ReportingResponseModel.responseMessage.identifier" } }, { "path": "ReportingResponseModel.responseMessage.code", "min": 1, "definition": "訊息傳送結果", "short": "訊息傳送結果", "mapping": [ { "map": "response.code", "identity": "TWIDIRResponse" } ], "type": [ { "code": "code" } ], "max": "1", "id": "ReportingResponseModel.responseMessage.code", "base": { "max": "1", "min": 1, "path": "ReportingResponseModel.responseMessage.code" } }, { "constraint": [ { "key": "ele-1", "human": "All FHIR elements must have a @value or children", "xpath": "@value|f:*|h:div", "source": "http://hl7.org/fhir/StructureDefinition/Element", "severity": "error", "expression": "hasValue() or (children().count() > id.count())" } ], "path": "ReportingResponseModel.operationOutcome", "min": 1, "definition": "訊息傳送結果細節", "short": "訊息傳送結果細節", "mapping": [ { "map": "entry:operationOutcome", "identity": "TWIDIRResponse" } ], "type": [ { "code": "BackboneElement" } ], "max": "1", "id": "ReportingResponseModel.operationOutcome", "base": { "max": "1", "min": 1, "path": "ReportingResponseModel.operationOutcome" } }, { "path": "ReportingResponseModel.operationOutcome.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": "ReportingResponseModel.operationOutcome.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": "ReportingResponseModel.operationOutcome.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": "ReportingResponseModel.operationOutcome.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": "ReportingResponseModel.operationOutcome.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": "ReportingResponseModel.operationOutcome.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 }, { "path": "ReportingResponseModel.operationOutcome.severity", "min": 1, "definition": "訊息傳送問題嚴重度", "short": "訊息傳送問題嚴重度", "mapping": [ { "map": "issue.severity", "identity": "TWIDIRResponse" } ], "type": [ { "code": "CodeableConcept" } ], "max": "1", "id": "ReportingResponseModel.operationOutcome.severity", "base": { "max": "1", "min": 1, "path": "ReportingResponseModel.operationOutcome.severity" } }, { "path": "ReportingResponseModel.operationOutcome.type", "min": 1, "definition": "訊息傳送問題類型", "short": "訊息傳送問題類型", "mapping": [ { "map": "issue.code", "identity": "TWIDIRResponse" } ], "type": [ { "code": "CodeableConcept" } ], "max": "1", "id": "ReportingResponseModel.operationOutcome.type", "base": { "max": "1", "min": 1, "path": "ReportingResponseModel.operationOutcome.type" } }, { "path": "ReportingResponseModel.operationOutcome.details", "min": 1, "definition": "訊息傳送問題細節", "short": "訊息傳送問題細節", "mapping": [ { "map": "issue.details.coding.code", "identity": "TWIDIRResponse" } ], "type": [ { "code": "CodeableConcept" } ], "max": "1", "id": "ReportingResponseModel.operationOutcome.details", "base": { "max": "1", "min": 1, "path": "ReportingResponseModel.operationOutcome.details" } } ] }, "status": "draft", "id": "4b3c2fed-7130-440d-9f89-64970acfd6b4", "kind": "logical", "url": "https://twidir.cdc.gov.tw/twidir/StructureDefinition/ReportingResponseModel", "version": "0.1.0", "differential": { "element": [ { "id": "ReportingResponseModel", "path": "ReportingResponseModel", "short": "傳染病檢驗報告回應(ReportingResponse)之資料模型", "mapping": [ { "map": "BundleReportingResponse", "identity": "TWIDIRResponse" } ], "definition": "傳染病檢驗報告回應(ReportingResponse)之資料模型" }, { "id": "ReportingResponseModel.responseMessage", "max": "1", "min": 1, "path": "ReportingResponseModel.responseMessage", "type": [ { "code": "BackboneElement" } ], "short": "回應訊息", "mapping": [ { "map": "entry:messageHeader", "identity": "TWIDIRResponse" } ], "definition": "回應訊息" }, { "id": "ReportingResponseModel.responseMessage.eventCoding", "max": "1", "min": 1, "path": "ReportingResponseModel.responseMessage.eventCoding", "type": [ { "code": "CodeableConcept" } ], "short": "實驗室報告(LOINC:11502-2)", "mapping": [ { "map": "eventCoding", "identity": "TWIDIRResponse" } ], "definition": "實驗室報告(LOINC:11502-2)" }, { "id": "ReportingResponseModel.responseMessage.source", "max": "1", "min": 1, "path": "ReportingResponseModel.responseMessage.source", "type": [ { "code": "string" } ], "short": "CDC伺服器url", "mapping": [ { "map": "source", "identity": "TWIDIRResponse" } ], "definition": "CDC伺服器url" }, { "id": "ReportingResponseModel.responseMessage.identifier", "max": "1", "min": 1, "path": "ReportingResponseModel.responseMessage.identifier", "type": [ { "code": "Identifier" } ], "short": "回應訊息的唯一識別碼", "mapping": [ { "map": "response.identifier", "identity": "TWIDIRResponse" } ], "definition": "回應訊息的唯一識別碼" }, { "id": "ReportingResponseModel.responseMessage.code", "max": "1", "min": 1, "path": "ReportingResponseModel.responseMessage.code", "type": [ { "code": "code" } ], "short": "訊息傳送結果", "mapping": [ { "map": "response.code", "identity": "TWIDIRResponse" } ], "definition": "訊息傳送結果" }, { "id": "ReportingResponseModel.operationOutcome", "max": "1", "min": 1, "path": "ReportingResponseModel.operationOutcome", "type": [ { "code": "BackboneElement" } ], "short": "訊息傳送結果細節", "mapping": [ { "map": "entry:operationOutcome", "identity": "TWIDIRResponse" } ], "definition": "訊息傳送結果細節" }, { "id": "ReportingResponseModel.operationOutcome.severity", "max": "1", "min": 1, "path": "ReportingResponseModel.operationOutcome.severity", "type": [ { "code": "CodeableConcept" } ], "short": "訊息傳送問題嚴重度", "mapping": [ { "map": "issue.severity", "identity": "TWIDIRResponse" } ], "definition": "訊息傳送問題嚴重度" }, { "id": "ReportingResponseModel.operationOutcome.type", "max": "1", "min": 1, "path": "ReportingResponseModel.operationOutcome.type", "type": [ { "code": "CodeableConcept" } ], "short": "訊息傳送問題類型", "mapping": [ { "map": "issue.code", "identity": "TWIDIRResponse" } ], "definition": "訊息傳送問題類型" }, { "id": "ReportingResponseModel.operationOutcome.details", "max": "1", "min": 1, "path": "ReportingResponseModel.operationOutcome.details", "type": [ { "code": "CodeableConcept" } ], "short": "訊息傳送問題細節", "mapping": [ { "map": "issue.details.coding.code", "identity": "TWIDIRResponse" } ], "definition": "訊息傳送問題細節" } ] }, "contact": [ { "name": "衛福部疾病管制署", "telecom": [ { "value": "https://www.cdc.gov.tw", "system": "url" } ] } ], "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Base" }