Profile Comparison between https://nhicore.nhi.gov.tw/pas/StructureDefinition/DocumentReference-twpas vs https://nhicore.nhi.gov.tw/pas/StructureDefinition/DocumentReference-twpas

Left:文件參照-DocumentReference TWPAS (https://nhicore.nhi.gov.tw/pas/StructureDefinition/DocumentReference-twpas)
Right:文件參照-DocumentReference TWPAS (https://nhicore.nhi.gov.tw/pas/StructureDefinition/DocumentReference-twpas)

Messages

ErrorStructureDefinition.versionValues for version differ: '1.0.7' vs '1.0.8'
InformationStructureDefinition.dateValues for date differ: '2025-08-26T17:59:03+08:00' vs '2025-09-26T06:51:52+00:00'
InformationStructureDefinition.jurisdictionAdded the item 'null#null'
InformationDocumentReference.metaElement minimum cardinalities differ: '0' vs '1'
InformationDocumentReference.content.attachment.languageExample/preferred bindings differ at DocumentReference.content.attachment.language using binding from DocumentReferenceTWPAS

Metadata

NameValueComments
.abstractfalse
    .baseDefinitionhttps://twcore.mohw.gov.tw/ig/twcore/StructureDefinition/DocumentReference-twcore
      .copyright
        .date2025-08-26T17:59:03+08:002025-09-26T06:51:52+00:00
        • Values Differ
        .description此文件參照-DocumentReference TWPAS Profile說明本IG如何進一步定義臺灣核心-文件參照(TW Core DocumentReference) Profile以呈現癌藥事前審查之治療計畫文件及基因報告
          .experimental
            .fhirVersion4.0.1
              .jurisdiction
                ..jurisdiction[0]null#null
                • Added the item 'null#null'
                .kindresource
                  .nameDocumentReferenceTWPAS
                    .publisher衛生福利部中央健康保險署
                      .purpose
                        .statusactive
                          .title文件參照-DocumentReference TWPAS
                            .typeDocumentReference
                              .urlhttps://nhicore.nhi.gov.tw/pas/StructureDefinition/DocumentReference-twpas
                                .version1.0.71.0.8
                                • Values Differ

                                Structure

                                NameL FlagsL Card.L TypeL Description & ConstraintsR FlagsR Card.R TypeR Description & ConstraintsCommentsdoco
                                .. DocumentReference C0..*TWCoreDocumentReference文件的參照
                                Constraints: report-title
                                C0..*TWCoreDocumentReference文件的參照
                                Constraints: report-title
                                  ... id Σ0..1id不重複的ID用以識別儲存在特定FHIR Server中的DocumentReference紀錄,通常又稱為邏輯性ID。Σ0..1id不重複的ID用以識別儲存在特定FHIR Server中的DocumentReference紀錄,通常又稱為邏輯性ID。
                                    ... meta Σ0..1Meta此DocumentReference Resource的metadataΣ1..1Meta此DocumentReference Resource的metadata
                                    • Element minimum cardinalities differ: '0' vs '1'
                                    .... id 0..1stringUnique id for inter-element referencing
                                    • Added this element
                                    .... Slices for extension 0..*ExtensionAdditional content defined by implementations
                                    Slice: Unordered, Open by value:url
                                    • Added this element
                                    .... versionId Σ0..1idVersion specific identifier
                                    • Added this element
                                    .... lastUpdated Σ0..1instantWhen the resource version last changed
                                    • Added this element
                                    .... source Σ0..1uriIdentifies where the resource comes from
                                    • Added this element
                                    .... profile Σ1..1canonical(StructureDefinition)Profiles this resource claims to conform to

                                    Required Pattern: https://nhicore.nhi.gov.tw/pas/StructureDefinition/DocumentReference-twpas
                                    • Added this element
                                    .... security Σ0..*CodingSecurity Labels applied to this resource
                                    Binding: ?? (extensible): Security Labels from the Healthcare Privacy and Security Classification System.
                                    • Added this element
                                    .... tag Σ0..*CodingTags applied to this resource
                                    Binding: ?? (example): Codes that represent various types of tags, commonly workflow-related; e.g. "Needs review by Dr. Jones".
                                    • Added this element
                                    ... implicitRules ?!Σ0..1uri創建此內容所依據的一組規則?!Σ0..1uri創建此內容所依據的一組規則
                                      ... 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
                                        ... contained 0..*ResourceContained, inline Resources
                                        0..*ResourceContained, inline Resources
                                          ... extension 0..*ExtensionAdditional content defined by implementations
                                          0..*ExtensionAdditional content defined by implementations
                                            ... modifierExtension ?!0..*ExtensionExtensions that cannot be ignored
                                            ?!0..*ExtensionExtensions that cannot be ignored
                                              ... masterIdentifier SΣ0..1Identifier主版本的識別碼SΣ0..1Identifier主版本的識別碼
                                                ... identifier Σ0..*Identifier文件的其他的識別碼
                                                Σ0..*Identifier文件的其他的識別碼
                                                  ... status ?!SΣ1..1codecurrent | superseded | entered-in-error
                                                  Binding: ?? (required): 文件參照的狀態;應填入所綁定值集中的其中一個代碼。
                                                  Required Pattern: current
                                                  ?!SΣ1..1codecurrent | superseded | entered-in-error
                                                  Binding: ?? (required): 文件參照的狀態;應填入所綁定值集中的其中一個代碼。
                                                  Required Pattern: current
                                                    ... docStatus Σ0..1codepreliminary | final | amended | entered-in-error
                                                    Binding: ?? (required): 基礎文件的狀態;應填入所綁定值集中的其中一個代碼。
                                                    Σ0..1codepreliminary | final | amended | entered-in-error
                                                    Binding: ?? (required): 基礎文件的狀態;應填入所綁定值集中的其中一個代碼。
                                                      ... type S0..1??文件的類型(如果可能,使用 LOINC 代碼)
                                                      Binding: ?? (extensible): 應填入所綁定值集中適合的代碼,確定無適合的代碼才可以使用其他值集的代碼來表示。
                                                      S0..1??文件的類型(如果可能,使用 LOINC 代碼)
                                                      Binding: ?? (extensible): 應填入所綁定值集中適合的代碼,確定無適合的代碼才可以使用其他值集的代碼來表示。
                                                        ... category S1..1??文件的類別
                                                        Binding: ?? (required)
                                                        S1..1??文件的類別
                                                        Binding: ?? (required)
                                                          .... id 0..1string唯一可識別ID,以供資料項目間相互參照。0..1string唯一可識別ID,以供資料項目間相互參照。
                                                            .... Slices for extension 0..*Extension擴充的資料項目
                                                            Slice: Unordered, Open by value:url
                                                            0..*Extension擴充的資料項目
                                                            Slice: Unordered, Open by value:url
                                                              .... coding S1..1??由專門術語系統(terminology system)定義的代碼
                                                              S1..1??由專門術語系統(terminology system)定義的代碼
                                                                ..... id 0..1string唯一可識別ID,以供資料項目間相互參照。0..1string唯一可識別ID,以供資料項目間相互參照。
                                                                  ..... Slices for extension 0..*Extension擴充的資料項目
                                                                  Slice: Unordered, Open by value:url
                                                                  0..*Extension擴充的資料項目
                                                                  Slice: Unordered, Open by value:url
                                                                    ..... system SΣ0..1uri專門術語系統(terminology system)的識別SΣ0..1uri專門術語系統(terminology system)的識別
                                                                      ..... version Σ0..1string系統的版本—如果相關的話Σ0..1string系統的版本—如果相關的話
                                                                        ..... code SΣ1..1code系統定義的語法之符號SΣ1..1code系統定義的語法之符號
                                                                          ..... display SΣ0..1string由系統定義的表示法SΣ0..1string由系統定義的表示法
                                                                            ..... userSelected Σ0..1boolean此編碼是否由使用者直接選擇?Σ0..1boolean此編碼是否由使用者直接選擇?
                                                                              .... text SΣ0..1string概念的文字表示法SΣ0..1string概念的文字表示法
                                                                                ... subject SΣ1..1Reference(病人資訊-Patient TWPAS)文件描述的對象是誰/是什麼?SΣ1..1Reference(病人資訊-Patient TWPAS)文件描述的對象是誰/是什麼?
                                                                                  ... date SΣ0..1instant文件參照的創建時間是何時?SΣ0..1instant文件參照的創建時間是何時?
                                                                                    ... author SΣ0..*Reference(TW Core Practitioner | TW Core PractitionerRole | TW Core Organization | Device | TW Core Patient | TW Core RelatedPerson)誰以及/或什麼創建了文件
                                                                                    SΣ0..*Reference(TW Core Practitioner | TW Core PractitionerRole | TW Core Organization | Device | TW Core Patient | TW Core RelatedPerson)誰以及/或什麼創建了文件
                                                                                      ... authenticator 0..1Reference(TW Core Practitioner | TW Core PractitionerRole | TW Core Organization)誰/什麼對文件進行了認證0..1Reference(TW Core Practitioner | TW Core PractitionerRole | TW Core Organization)誰/什麼對文件進行了認證
                                                                                        ... custodian 0..1Reference(TW Core Organization)維護此文件的機構0..1Reference(TW Core Organization)維護此文件的機構
                                                                                          ... relatesTo Σ0..*BackboneElement與其他文件的關係
                                                                                          Σ0..*BackboneElement與其他文件的關係
                                                                                            .... id 0..1stringUnique id for inter-element referencing0..1stringUnique id for inter-element referencing
                                                                                              .... extension 0..*ExtensionAdditional content defined by implementations
                                                                                              0..*ExtensionAdditional content defined by implementations
                                                                                                .... modifierExtension ?!Σ0..*ExtensionExtensions that cannot be ignored even if unrecognized
                                                                                                ?!Σ0..*ExtensionExtensions that cannot be ignored even if unrecognized
                                                                                                  .... code Σ1..1codereplaces | transforms | signs | appends
                                                                                                  Binding: ?? (required): 文件之間的關係類型;應填入所綁定值集中的其中一個代碼。
                                                                                                  Σ1..1codereplaces | transforms | signs | appends
                                                                                                  Binding: ?? (required): 文件之間的關係類型;應填入所綁定值集中的其中一個代碼。
                                                                                                    .... target Σ1..1Reference(TW Core DocumentReference)存在此關係的目標文件Σ1..1Reference(TW Core DocumentReference)存在此關係的目標文件
                                                                                                      ... description Σ0..1string人可讀的描述。Σ0..1string人可讀的描述。
                                                                                                        ... securityLabel 0..*??文件的安全標籤(security-tags)
                                                                                                        Binding: ?? (extensible): 應填入所綁定值集中適合的代碼,確定無適合的代碼才可以使用其他值集的代碼來表示。
                                                                                                        0..*??文件的安全標籤(security-tags)
                                                                                                        Binding: ?? (extensible): 應填入所綁定值集中適合的代碼,確定無適合的代碼才可以使用其他值集的代碼來表示。
                                                                                                          ... content SΣ1..*BackboneElement被參照的文件
                                                                                                          SΣ1..*BackboneElement被參照的文件
                                                                                                            .... id 0..1stringUnique id for inter-element referencing0..1stringUnique id for inter-element referencing
                                                                                                              .... extension 0..*ExtensionAdditional content defined by implementations
                                                                                                              0..*ExtensionAdditional content defined by implementations
                                                                                                                .... modifierExtension ?!Σ0..*ExtensionExtensions that cannot be ignored even if unrecognized
                                                                                                                ?!Σ0..*ExtensionExtensions that cannot be ignored even if unrecognized
                                                                                                                  .... attachment SΣC1..1Attachment存取文件的位置
                                                                                                                  Constraints: UploadContent
                                                                                                                  SΣC1..1Attachment存取文件的位置
                                                                                                                  Constraints: UploadContent
                                                                                                                    ..... id 0..1stringUnique id for inter-element referencing0..1stringUnique id for inter-element referencing
                                                                                                                      ..... 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
                                                                                                                        ..... contentType SΣ1..1code報告結果-MIMEType
                                                                                                                        Binding: ?? (required): The mime type of an attachment. Any valid mime type is allowed.
                                                                                                                        Required Pattern: application/pdf
                                                                                                                        SΣ1..1code報告結果-MIMEType
                                                                                                                        Binding: ?? (required): The mime type of an attachment. Any valid mime type is allowed.
                                                                                                                        Required Pattern: application/pdf
                                                                                                                          ..... language Σ0..1codeHuman language of the content (BCP-47)
                                                                                                                          Binding: ?? (preferred): A human language.
                                                                                                                          Additional BindingsPurpose
                                                                                                                          ??Max Binding

                                                                                                                          Example General: en-AU
                                                                                                                          Σ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 DocumentReferenceTWPAS
                                                                                                                          ..... data 0..1base64BinaryData inline, base64ed0..1base64BinaryData inline, base64ed
                                                                                                                            ..... url SΣ1..1url基因報告/治療計畫文件/檢驗(查)附件/病歷資料。(請填寫完整檔案路徑)
                                                                                                                            Example General: http://www.acme.com/logo-small.png
                                                                                                                            Example General: file://PathologyReport01.pdf
                                                                                                                            SΣ1..1url基因報告/治療計畫文件/檢驗(查)附件/病歷資料。(請填寫完整檔案路徑)
                                                                                                                            Example General: http://www.acme.com/logo-small.png
                                                                                                                            Example General: file://PathologyReport01.pdf
                                                                                                                              ..... size Σ0..1unsignedIntNumber of bytes of content (if url provided)Σ0..1unsignedIntNumber of bytes of content (if url provided)
                                                                                                                                ..... hash Σ0..1base64BinaryHash of the data (sha-1, base64ed)Σ0..1base64BinaryHash of the data (sha-1, base64ed)
                                                                                                                                  ..... title SΣ0..1string基因報告名稱/治療計畫文件名稱/檢驗(查)附件名稱/病歷資料名稱。若category為「治療計畫文件(#careplan)」,請擇一填寫:「免疫檢查點抑制劑治療計畫/CAR-T多團隊會議紀錄/造血幹細胞移植計畫書」。
                                                                                                                                  Example General: Official Corporate Logo
                                                                                                                                  SΣ0..1string基因報告名稱/治療計畫文件名稱/檢驗(查)附件名稱/病歷資料名稱。若category為「治療計畫文件(#careplan)」,請擇一填寫:「免疫檢查點抑制劑治療計畫/CAR-T多團隊會議紀錄/造血幹細胞移植計畫書」。
                                                                                                                                  Example General: Official Corporate Logo
                                                                                                                                    ..... creation Σ0..1dateTimeDate attachment was first createdΣ0..1dateTimeDate attachment was first created
                                                                                                                                      .... format Σ0..1Coding文件的格式/內容規則。
                                                                                                                                      Binding: ?? (preferred): 鼓勵使用所綁定值集中的代碼,但不強制一定要使用此值集,你也可使用其他值集的代碼或單純以文字表示。
                                                                                                                                      Σ0..1Coding文件的格式/內容規則。
                                                                                                                                      Binding: ?? (preferred): 鼓勵使用所綁定值集中的代碼,但不強制一定要使用此值集,你也可使用其他值集的代碼或單純以文字表示。
                                                                                                                                        ... context Σ0..1BackboneElement文件的臨床背景Σ0..1BackboneElement文件的臨床背景
                                                                                                                                          .... id 0..1stringUnique id for inter-element referencing0..1stringUnique id for inter-element referencing
                                                                                                                                            .... extension 0..*ExtensionAdditional content defined by implementations
                                                                                                                                            0..*ExtensionAdditional content defined by implementations
                                                                                                                                              .... modifierExtension ?!Σ0..*ExtensionExtensions that cannot be ignored even if unrecognized
                                                                                                                                              ?!Σ0..*ExtensionExtensions that cannot be ignored even if unrecognized
                                                                                                                                                .... encounter 0..*Reference(TW Core Encounter | EpisodeOfCare)文件內容的臨床背景
                                                                                                                                                0..*Reference(TW Core Encounter | EpisodeOfCare)文件內容的臨床背景
                                                                                                                                                  .... event 0..*??正在記錄的主要臨床行為
                                                                                                                                                  Binding: ?? (example): 可參考所綁定值集,但此值集只是針對這個欄位的一個可能值的範例,不預期也不鼓勵使用者一定要使用此值集的代碼。
                                                                                                                                                  0..*??正在記錄的主要臨床行為
                                                                                                                                                  Binding: ?? (example): 可參考所綁定值集,但此值集只是針對這個欄位的一個可能值的範例,不預期也不鼓勵使用者一定要使用此值集的代碼。
                                                                                                                                                    .... period Σ0..1Period被記錄的服務時間Σ0..1Period被記錄的服務時間
                                                                                                                                                      .... facilityType 0..1CodeableConcept病人接受治療的機構類型
                                                                                                                                                      Binding: ?? (example): 可參考所綁定值集,但此值集只是針對這個欄位的一個可能值的範例,不預期也不鼓勵使用者一定要使用此值集的代碼。
                                                                                                                                                      0..1CodeableConcept病人接受治療的機構類型
                                                                                                                                                      Binding: ?? (example): 可參考所綁定值集,但此值集只是針對這個欄位的一個可能值的範例,不預期也不鼓勵使用者一定要使用此值集的代碼。
                                                                                                                                                        .... practiceSetting 0..1??內容創建的額外細節(例如:臨床專業)
                                                                                                                                                        Binding: ?? (example): 可參考所綁定值集,但此值集只是針對這個欄位的一個可能值的範例,不預期也不鼓勵使用者一定要使用此值集的代碼。
                                                                                                                                                        0..1??內容創建的額外細節(例如:臨床專業)
                                                                                                                                                        Binding: ?? (example): 可參考所綁定值集,但此值集只是針對這個欄位的一個可能值的範例,不預期也不鼓勵使用者一定要使用此值集的代碼。
                                                                                                                                                          .... sourcePatientInfo 0..1Reference(TW Core Patient)來源的病人人口統計資料0..1Reference(TW Core Patient)來源的病人人口統計資料
                                                                                                                                                            .... related 0..*Reference(Resource)相關的識別碼或resources
                                                                                                                                                            0..*Reference(Resource)相關的識別碼或resources

                                                                                                                                                              doco Documentation for this format