Profile Comparison between https://nhicore.nhi.gov.tw/ngs/StructureDefinition/DocumentReference-twngs vs https://nhicore.nhi.gov.tw/ngs/StructureDefinition/DocumentReference-twngs

Left:基因報告-DocumentReference TWNGS (https://nhicore.nhi.gov.tw/ngs/StructureDefinition/DocumentReference-twngs)
Right:基因報告-DocumentReference TWNGS (https://nhicore.nhi.gov.tw/ngs/StructureDefinition/DocumentReference-twngs)

Messages

ErrorStructureDefinition.versionValues for version differ: '1.0.0' vs '1.0.1'
InformationStructureDefinition.dateValues for date differ: '2025-07-22T15:53:57+08:00' vs '2026-10-14T06:34:12+00:00'
InformationStructureDefinition.jurisdictionAdded the item 'null#null'
InformationDocumentReference.content.attachment.languageExample/preferred bindings differ at DocumentReference.content.attachment.language using binding from DocumentReferenceTWNGS

Metadata

NameValueComments
abstractfalse
    baseDefinitionhttps://twcore.mohw.gov.tw/ig/twcore/StructureDefinition/DocumentReference-twcore
      copyright
        date2025-07-22T15:53:57+08:002026-10-14T06:34:12+00:00
        • Values Differ
        description此基因報告-DocumentReference TWNGS Profile說明本IG如何進一步定義臺灣核心-文件參照(TW Core DocumentReference) Profile以呈現次世代基因定序檢測之基因報告
          experimental
            fhirVersion4.0.1
              jurisdiction
                jurisdiction / jurisdiction[0]null#null
                • Added the item 'null#null'
                kindresource
                  nameDocumentReferenceTWNGS
                    publisher衛生福利部中央健康保險署
                      purpose
                        statusactive
                          title基因報告-DocumentReference TWNGS
                            typeDocumentReference
                              urlhttps://nhicore.nhi.gov.tw/ngs/StructureDefinition/DocumentReference-twngs
                                version1.0.01.0.1
                                • Values Differ

                                Structure

                                NameL FlagsL Card.L TypeL Description & ConstraintsR FlagsR Card.R TypeR Description & ConstraintsCommentsdoco
                                DocumentReference 0..*TWCoreDocumentReference文件的參照
                                0..*TWCoreDocumentReference文件的參照
                                  DocumentReference.id This element is included in summaries. 0..1id不重複的ID用以識別儲存在特定FHIR Server中的DocumentReference紀錄,通常又稱為邏輯性ID。 This element is included in summaries. 0..1id不重複的ID用以識別儲存在特定FHIR Server中的DocumentReference紀錄,通常又稱為邏輯性ID。
                                    DocumentReference.meta This element is included in summaries. 0..1Meta此DocumentReference Resource的metadata This element is included in summaries. 0..1Meta此DocumentReference Resource的metadata
                                      DocumentReference.implicitRules This element is a modifier element. This element is included in summaries. 0..1uri創建此內容所依據的一組規則 This element is a modifier element. This element is included in summaries. 0..1uri創建此內容所依據的一組規則
                                        DocumentReference.language 0..1code用以表述DocumentReference Resource內容的語言。
                                        Binding: ?? (preferred): 人類語言;鼓勵使用CommonLanguages代碼表中的代碼,但不強制一定要使用此代碼表,你也可使用其他代碼表的代碼或單純以文字表示。
                                        Additional BindingsPurpose
                                        ??Max Binding

                                        Example Value: zh-TW
                                        0..1code用以表述DocumentReference Resource內容的語言。
                                        Binding: ?? (preferred): 人類語言;鼓勵使用CommonLanguages代碼表中的代碼,但不強制一定要使用此代碼表,你也可使用其他代碼表的代碼或單純以文字表示。
                                        Additional BindingsPurpose
                                        ??Max Binding

                                        Example Value: zh-TW
                                          DocumentReference.text 0..1NarrativeDocumentReference Resource之內容摘要以供人閱讀
                                          This profile does not constrain the narrative in regard to content, language, or traceability to data elements
                                          0..1NarrativeDocumentReference Resource之內容摘要以供人閱讀
                                          This profile does not constrain the narrative in regard to content, language, or traceability to data elements
                                            DocumentReference.contained 0..*ResourceContained, inline Resources
                                            0..*ResourceContained, inline Resources
                                              DocumentReference.extension 0..*ExtensionAdditional content defined by implementations
                                              0..*ExtensionAdditional content defined by implementations
                                                DocumentReference.modifierExtension This element is a modifier element. 0..*ExtensionExtensions that cannot be ignored
                                                This element is a modifier element. 0..*ExtensionExtensions that cannot be ignored
                                                  DocumentReference.masterIdentifier This element must be supported. This element is included in summaries. 0..1Identifier主版本的識別碼 This element must be supported. This element is included in summaries. 0..1Identifier主版本的識別碼
                                                    DocumentReference.identifier This element is included in summaries. 0..*Identifier文件的其他的識別碼
                                                    This element is included in summaries. 0..*Identifier文件的其他的識別碼
                                                      DocumentReference.status This element is a modifier element. This element must be supported. This element is included in summaries. 1..1codecurrent | superseded | entered-in-error
                                                      Binding: ?? (required): 文件參照的狀態;應填入所綁定值集中的其中一個代碼。
                                                      Required Pattern: current
                                                      This element is a modifier element. This element must be supported. This element is included in summaries. 1..1codecurrent | superseded | entered-in-error
                                                      Binding: ?? (required): 文件參照的狀態;應填入所綁定值集中的其中一個代碼。
                                                      Required Pattern: current
                                                        DocumentReference.docStatus This element is included in summaries. 0..1codepreliminary | final | amended | entered-in-error
                                                        Binding: ?? (required): 基礎文件的狀態;應填入所綁定值集中的其中一個代碼。
                                                        This element is included in summaries. 0..1codepreliminary | final | amended | entered-in-error
                                                        Binding: ?? (required): 基礎文件的狀態;應填入所綁定值集中的其中一個代碼。
                                                          DocumentReference.type This element must be supported. 0..1?? The snapshot does not say whether the constraints on the root of this type profile have been applied to this element, so assume they have not. Check the type profile directly as well文件的類型(如果可能,使用 LOINC 代碼)
                                                          Binding: ?? (extensible): 應填入所綁定值集中適合的代碼,確定無適合的代碼才可以使用其他值集的代碼來表示。
                                                          This element must be supported. 0..1?? The snapshot does not say whether the constraints on the root of this type profile have been applied to this element, so assume they have not. Check the type profile directly as well文件的類型(如果可能,使用 LOINC 代碼)
                                                          Binding: ?? (extensible): 應填入所綁定值集中適合的代碼,確定無適合的代碼才可以使用其他值集的代碼來表示。
                                                            DocumentReference.category This element must be supported. 0..*?? The snapshot does not say whether the constraints on the root of this type profile have been applied to this element, so assume they have not. Check the type profile directly as well文件的類別
                                                            Binding: ?? (extensible): 應填入所綁定值集中適合的代碼,確定無適合的代碼才可以使用其他值集的代碼來表示。
                                                            This element must be supported. 0..*?? The snapshot does not say whether the constraints on the root of this type profile have been applied to this element, so assume they have not. Check the type profile directly as well文件的類別
                                                            Binding: ?? (extensible): 應填入所綁定值集中適合的代碼,確定無適合的代碼才可以使用其他值集的代碼來表示。
                                                              DocumentReference.subject This element must be supported. This element is included in summaries. 1..1Reference(病人資訊-Patient TWNGS)文件描述的對象是誰/是什麼? This element must be supported. This element is included in summaries. 1..1Reference(病人資訊-Patient TWNGS)文件描述的對象是誰/是什麼?
                                                                DocumentReference.date This element must be supported. This element is included in summaries. 0..1instant文件參照的創建時間是何時? This element must be supported. This element is included in summaries. 0..1instant文件參照的創建時間是何時?
                                                                  DocumentReference.author This element must be supported. This element is included in summaries. 0..*Reference(TW Core Practitioner | TW Core PractitionerRole | TW Core Organization | Device | TW Core Patient | TW Core RelatedPerson)誰以及/或什麼創建了文件
                                                                  This element must be supported. This element is included in summaries. 0..*Reference(TW Core Practitioner | TW Core PractitionerRole | TW Core Organization | Device | 病人資訊-Patient TWNGS | TW Core RelatedPerson)誰以及/或什麼創建了文件
                                                                    DocumentReference.authenticator 0..1Reference(TW Core Practitioner | TW Core PractitionerRole | TW Core Organization)誰/什麼對文件進行了認證0..1Reference(TW Core Practitioner | TW Core PractitionerRole | TW Core Organization)誰/什麼對文件進行了認證
                                                                      DocumentReference.custodian 0..1Reference(TW Core Organization)維護此文件的機構0..1Reference(TW Core Organization)維護此文件的機構
                                                                        DocumentReference.relatesTo This element is included in summaries. 0..*BackboneElement與其他文件的關係
                                                                        This element is included in summaries. 0..*BackboneElement與其他文件的關係
                                                                          DocumentReference.relatesTo.id 0..1stringUnique id for inter-element referencing0..1stringUnique id for inter-element referencing
                                                                            DocumentReference.relatesTo.extension 0..*ExtensionAdditional content defined by implementations
                                                                            0..*ExtensionAdditional content defined by implementations
                                                                              DocumentReference.relatesTo.modifierExtension This element is a modifier element. This element is included in summaries. 0..*ExtensionExtensions that cannot be ignored even if unrecognized
                                                                              This element is a modifier element. This element is included in summaries. 0..*ExtensionExtensions that cannot be ignored even if unrecognized
                                                                                DocumentReference.relatesTo.code This element is included in summaries. 1..1codereplaces | transforms | signs | appends
                                                                                Binding: ?? (required): 文件之間的關係類型;應填入所綁定值集中的其中一個代碼。
                                                                                This element is included in summaries. 1..1codereplaces | transforms | signs | appends
                                                                                Binding: ?? (required): 文件之間的關係類型;應填入所綁定值集中的其中一個代碼。
                                                                                  DocumentReference.relatesTo.target This element is included in summaries. 1..1Reference(TW Core DocumentReference)存在此關係的目標文件 This element is included in summaries. 1..1Reference(TW Core DocumentReference)存在此關係的目標文件
                                                                                    DocumentReference.description This element is included in summaries. 0..1string人可讀的描述。 This element is included in summaries. 0..1string人可讀的描述。
                                                                                      DocumentReference.securityLabel 0..*?? The snapshot does not say whether the constraints on the root of this type profile have been applied to this element, so assume they have not. Check the type profile directly as well文件的安全標籤(security-tags)
                                                                                      Binding: ?? (extensible): 應填入所綁定值集中適合的代碼,確定無適合的代碼才可以使用其他值集的代碼來表示。
                                                                                      0..*?? The snapshot does not say whether the constraints on the root of this type profile have been applied to this element, so assume they have not. Check the type profile directly as well文件的安全標籤(security-tags)
                                                                                      Binding: ?? (extensible): 應填入所綁定值集中適合的代碼,確定無適合的代碼才可以使用其他值集的代碼來表示。
                                                                                        DocumentReference.content This element must be supported. This element is included in summaries. 1..*BackboneElement被參照的文件
                                                                                        This element must be supported. This element is included in summaries. 1..*BackboneElement被參照的文件
                                                                                          DocumentReference.content.id 0..1stringUnique id for inter-element referencing0..1stringUnique id for inter-element referencing
                                                                                            DocumentReference.content.extension 0..*ExtensionAdditional content defined by implementations
                                                                                            0..*ExtensionAdditional content defined by implementations
                                                                                              DocumentReference.content.modifierExtension This element is a modifier element. This element is included in summaries. 0..*ExtensionExtensions that cannot be ignored even if unrecognized
                                                                                              This element is a modifier element. This element is included in summaries. 0..*ExtensionExtensions that cannot be ignored even if unrecognized
                                                                                                DocumentReference.content.attachment This element must be supported. This element is included in summaries. C1..1Attachment存取文件的位置
                                                                                                Constraints: UploadContent
                                                                                                This element must be supported. This element is included in summaries. C1..1Attachment存取文件的位置
                                                                                                Constraints: UploadContent
                                                                                                  DocumentReference.content.attachment.id 0..1stringUnique id for inter-element referencing0..1stringUnique id for inter-element referencing
                                                                                                    DocumentReference.content.attachment.Slices for extension 0..*ExtensionAdditional content defined by implementations
                                                                                                    Slice: Unordered, Open by value:url
                                                                                                    0..*ExtensionAdditional content defined by implementations
                                                                                                    Slice: Unordered, Open by value:url
                                                                                                      DocumentReference.content.attachment.contentType This element must be supported. This element is included in summaries. 1..1code報告結果-MIMEType
                                                                                                      Binding: ?? (required): The mime type of an attachment. Any valid mime type is allowed.
                                                                                                      Required Pattern: application/pdf
                                                                                                      This element must be supported. This element is included in summaries. 1..1code報告結果-MIMEType
                                                                                                      Binding: ?? (required): The mime type of an attachment. Any valid mime type is allowed.
                                                                                                      Required Pattern: application/pdf
                                                                                                        DocumentReference.content.attachment.language This element is included in summaries. 0..1codeHuman language of the content (BCP-47)
                                                                                                        Binding: ?? (preferred): A human language.
                                                                                                        Additional BindingsPurpose
                                                                                                        ??Max Binding

                                                                                                        Example General: en-AU
                                                                                                        This element is included in summaries. 0..1codeHuman language of the content (BCP-47)
                                                                                                        Binding: ?? (preferred): A human language.
                                                                                                        Additional BindingsPurpose
                                                                                                        ??Max Binding

                                                                                                        Example General: en-AU
                                                                                                        • Example/preferred bindings differ at DocumentReference.content.attachment.language using binding from DocumentReferenceTWNGS
                                                                                                        DocumentReference.content.attachment.data 0..1base64BinaryData inline, base64ed0..1base64BinaryData inline, base64ed
                                                                                                          DocumentReference.content.attachment.url This element must be supported. This element is included in summaries. 1..1url基因報告(請填寫完整檔案路徑)
                                                                                                          Example General: http://www.acme.com/logo-small.png
                                                                                                          Example General: file://PathologyReport01.pdf
                                                                                                          This element must be supported. This element is included in summaries. 1..1url基因報告(請填寫完整檔案路徑)
                                                                                                          Example General: http://www.acme.com/logo-small.png
                                                                                                          Example General: file://PathologyReport01.pdf
                                                                                                            DocumentReference.content.attachment.size This element is included in summaries. 0..1unsignedIntNumber of bytes of content (if url provided) This element is included in summaries. 0..1unsignedIntNumber of bytes of content (if url provided)
                                                                                                              DocumentReference.content.attachment.hash This element is included in summaries. 0..1base64BinaryHash of the data (sha-1, base64ed) This element is included in summaries. 0..1base64BinaryHash of the data (sha-1, base64ed)
                                                                                                                DocumentReference.content.attachment.title This element must be supported. This element is included in summaries. 1..1string基因報告名稱。
                                                                                                                Example General: Official Corporate Logo
                                                                                                                This element must be supported. This element is included in summaries. 1..1string基因報告名稱。
                                                                                                                Example General: Official Corporate Logo
                                                                                                                  DocumentReference.content.attachment.creation This element is included in summaries. 0..1dateTimeDate attachment was first created This element is included in summaries. 0..1dateTimeDate attachment was first created
                                                                                                                    DocumentReference.content.format This element is included in summaries. 0..1Coding文件的格式/內容規則。
                                                                                                                    Binding: ?? (preferred): 鼓勵使用所綁定值集中的代碼,但不強制一定要使用此值集,你也可使用其他值集的代碼或單純以文字表示。
                                                                                                                    This element is included in summaries. 0..1Coding文件的格式/內容規則。
                                                                                                                    Binding: ?? (preferred): 鼓勵使用所綁定值集中的代碼,但不強制一定要使用此值集,你也可使用其他值集的代碼或單純以文字表示。
                                                                                                                      DocumentReference.context This element is included in summaries. 0..1BackboneElement文件的臨床背景 This element is included in summaries. 0..1BackboneElement文件的臨床背景
                                                                                                                        DocumentReference.context.id 0..1stringUnique id for inter-element referencing0..1stringUnique id for inter-element referencing
                                                                                                                          DocumentReference.context.extension 0..*ExtensionAdditional content defined by implementations
                                                                                                                          0..*ExtensionAdditional content defined by implementations
                                                                                                                            DocumentReference.context.modifierExtension This element is a modifier element. This element is included in summaries. 0..*ExtensionExtensions that cannot be ignored even if unrecognized
                                                                                                                            This element is a modifier element. This element is included in summaries. 0..*ExtensionExtensions that cannot be ignored even if unrecognized
                                                                                                                              DocumentReference.context.encounter 0..*Reference(TW Core Encounter | EpisodeOfCare)文件內容的臨床背景
                                                                                                                              0..*Reference(TW Core Encounter | EpisodeOfCare)文件內容的臨床背景
                                                                                                                                DocumentReference.context.event 0..*?? The snapshot does not say whether the constraints on the root of this type profile have been applied to this element, so assume they have not. Check the type profile directly as well正在記錄的主要臨床行為
                                                                                                                                Binding: ?? (example): 可參考所綁定值集,但此值集只是針對這個欄位的一個可能值的範例,不預期也不鼓勵使用者一定要使用此值集的代碼。
                                                                                                                                0..*?? The snapshot does not say whether the constraints on the root of this type profile have been applied to this element, so assume they have not. Check the type profile directly as well正在記錄的主要臨床行為
                                                                                                                                Binding: ?? (example): 可參考所綁定值集,但此值集只是針對這個欄位的一個可能值的範例,不預期也不鼓勵使用者一定要使用此值集的代碼。
                                                                                                                                  DocumentReference.context.period This element is included in summaries. 0..1Period被記錄的服務時間 This element is included in summaries. 0..1Period被記錄的服務時間
                                                                                                                                    DocumentReference.context.facilityType 0..1CodeableConcept病人接受治療的機構類型
                                                                                                                                    Binding: ?? (example): 可參考所綁定值集,但此值集只是針對這個欄位的一個可能值的範例,不預期也不鼓勵使用者一定要使用此值集的代碼。
                                                                                                                                    0..1CodeableConcept病人接受治療的機構類型
                                                                                                                                    Binding: ?? (example): 可參考所綁定值集,但此值集只是針對這個欄位的一個可能值的範例,不預期也不鼓勵使用者一定要使用此值集的代碼。
                                                                                                                                      DocumentReference.context.practiceSetting 0..1?? The snapshot does not say whether the constraints on the root of this type profile have been applied to this element, so assume they have not. Check the type profile directly as well內容創建的額外細節(例如:臨床專業)
                                                                                                                                      Binding: ?? (example): 可參考所綁定值集,但此值集只是針對這個欄位的一個可能值的範例,不預期也不鼓勵使用者一定要使用此值集的代碼。
                                                                                                                                      0..1?? The snapshot does not say whether the constraints on the root of this type profile have been applied to this element, so assume they have not. Check the type profile directly as well內容創建的額外細節(例如:臨床專業)
                                                                                                                                      Binding: ?? (example): 可參考所綁定值集,但此值集只是針對這個欄位的一個可能值的範例,不預期也不鼓勵使用者一定要使用此值集的代碼。
                                                                                                                                        DocumentReference.context.sourcePatientInfo 0..1Reference(TW Core Patient)來源的病人人口統計資料0..1Reference(TW Core Patient)來源的病人人口統計資料
                                                                                                                                          DocumentReference.context.related 0..*Reference(Resource)相關的識別碼或resources
                                                                                                                                          0..*Reference(Resource)相關的識別碼或resources

                                                                                                                                            doco Documentation for this format