臺灣健保事前審查實作指引
1.2.8 - ci-build

臺灣健保事前審查實作指引, published by 衛生福利部中央健康保險署. This guide is not an authorized publication; it is the continuous build for version 1.2.8 built by the FHIR (HL7® FHIR® Standard) CI Build. This version is based on the current content of https://github.com/TWNHIFHIR/pas/ and changes regularly. See the Directory of published versions

Resource Profile: 非DICOM影像-Media TWPAS

Official URL: https://nhicore.nhi.gov.tw/pas/StructureDefinition/Media-twpas Version: 1.2.8
Active as of 2026-10-14 Computable Name: MediaTWPAS

此非DICOM影像-Media TWPAS Profile說明本IG如何進一步定義臺灣核心-多媒體(TW Core Media) Profile以呈現事前審查中疾病資訊之影像報告的非DICOM影像

Usages:

You can also check for usages in the FHIR IG Statistics

Formal Views of Profile Content

Description of Profiles, Differentials, Snapshots and how the different presentations work.

NameFlagsCard.TypeDescription & Constraints    Filter: doco
Media 0..* TWCoreMedia 健康照護中獲取或使用的影像、影片或音檔,實際內容可能置於行內或透過直接參照提供。
Media.meta This element is included in summaries. 1..1 Meta 此Media Resource的metadata
Media.meta.profile This element is included in summaries. 1..1 canonical(StructureDefinition) Profiles this resource claims to conform to

Required Pattern: https://nhicore.nhi.gov.tw/pas/StructureDefinition/Media-twpas
Media.implicitRules This element is a modifier element. This element is included in summaries. 0..1 uri 創建此內容所依據的一組規則
Media.modifierExtension This element is a modifier element. 0..* Extension Extensions that cannot be ignored
Media.status This element is a modifier element. This element is included in summaries. 1..1 code preparation | in-progress | not-done | on-hold | stopped | completed | entered-in-error | unknown
Binding: EventStatus (required): 代表事件生命週期階段的代碼;應填入所綁定值集中的其中一個代碼
Media.subject This element must be supported. This element is included in summaries. 0..1 Reference(病人資訊-Patient TWPAS) 多媒體紀錄的對象是誰或什麼?
Media.bodySite This element must be supported. 0..1 CodeableConceptTW 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: SNOMEDCT-健保事前審查-身體部位值集 (required)
Media.content This element is included in summaries. C 1..1 Attachment 實際的多媒體 - 參照或資料。
Constraints: UploadContent
Media.content.contentType This element must be supported. This element is included in summaries. 1..1 code Mime type of the content, with charset etc.
Binding: HL7-非DICOM影像MimeType值集 (required)
Example General: text/plain; charset=UTF-8, image/png
Media.content.url This element must be supported. This element is included in summaries. 1..1 url 非DICOM影像(請填寫完整檔案路徑)。填寫上傳附件檔名,例如:file://US01.jpg,且需上傳壓縮後的影像圖檔。
Example General: http://www.acme.com/logo-small.png
Example General: file://US01.jpg

doco Documentation for this format

Terminology Bindings

Path Status Usage ValueSet Version Source
Media.status Base required EventStatus 📍4.0.1 FHIR Std.
Media.bodySite Base required SNOMEDCT-健保事前審查-身體部位值集 📦1.2.8 This IG
Media.content.contentType Base required HL7-非DICOM影像MimeType值集 📦1.2.8 This IG

Constraints

Id Grade Path(s) Description Expression
UploadContent error Media.content 填寫格式:file://檔名.副檔名,例如:file://US01.jpg、file://PathologyReport01.pdf、file://GenReport01.pdf、file://王大明病歷.pdf url.matches('^file://[a-zA-Z0-9_一-龥()-]+.[a-zA-Z]{2,5}$') and url.contains('.')
dom-2 error Media If the resource is contained in another resource, it SHALL NOT contain nested Resources contained.contained.empty()
dom-3 error Media If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource or SHALL refer to the containing resource contained.where((('#'+id in (%resource.descendants().reference | %resource.descendants().as(canonical) | %resource.descendants().as(uri) | %resource.descendants().as(url))) or descendants().where(reference = '#').exists() or descendants().where(as(canonical) = '#').exists() or descendants().where(as(canonical) = '#').exists()).not()).trace('unmatched', id).empty()
dom-4 error Media If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()
dom-5 error Media If a resource is contained in another resource, it SHALL NOT have a security label contained.meta.security.empty()
dom-6 best practice Media A resource should have narrative for robust management text.`div`.exists()
ele-1 error **ALL** elements All FHIR elements must have a @value or children hasValue() or (children().count() > id.count())
ext-1 error **ALL** extensions Must have either extensions or value[x], not both extension.exists() != value.exists()

This structure is derived from TWCoreMedia

NameFlagsCard.TypeDescription & Constraints    Filter: doco
Media TWCoreMedia
Media.meta 1..1 Meta 此Media Resource的metadata
Media.meta.profile 1..1 canonical(StructureDefinition) Profiles this resource claims to conform to
Required Pattern: https://nhicore.nhi.gov.tw/pas/StructureDefinition/Media-twpas
Media.subject 0..1 Reference(病人資訊-Patient TWPAS) 多媒體紀錄的對象是誰或什麼?
Media.bodySite This element must be supported. 0..1 CodeableConceptTW 影像檢查的身體部位
Binding: SNOMEDCT-健保事前審查-身體部位值集 (required)
Media.content.contentType This element must be supported. 1..1 code Mime type of the content, with charset etc.
Binding: HL7-非DICOM影像MimeType值集 (required)
Media.content.url This element must be supported. 1..1 url 非DICOM影像(請填寫完整檔案路徑)。填寫上傳附件檔名,例如:file://US01.jpg,且需上傳壓縮後的影像圖檔。
Example General: file://US01.jpg

doco Documentation for this format

Terminology Bindings (Differential)

Path Status Usage ValueSet Version Source
Media.bodySite Base required SNOMEDCT-健保事前審查-身體部位值集 📦1.2.8 This IG
Media.content.contentType Base required HL7-非DICOM影像MimeType值集 📦1.2.8 This IG

Constraints

Id Grade Path(s) Description Expression
UploadContent error Media.content 填寫格式:file://檔名.副檔名,例如:file://US01.jpg、file://PathologyReport01.pdf、file://GenReport01.pdf、file://王大明病歷.pdf url.matches('^file://[a-zA-Z0-9_一-龥()-]+.[a-zA-Z]{2,5}$') and url.contains('.')
NameFlagsCard.TypeDescription & Constraints    Filter: doco
Media 0..* TWCoreMedia 健康照護中獲取或使用的影像、影片或音檔,實際內容可能置於行內或透過直接參照提供。
Media.id This element is included in summaries. 0..1 id 不重複的ID用以識別儲存在特定FHIR Server中的Media紀錄,通常又稱為邏輯性ID。
Media.meta This element is included in summaries. 1..1 Meta 此Media Resource的metadata
Media.meta.id 0..1 string Unique id for inter-element referencing
Media.meta.extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
Media.meta.versionId This element is included in summaries. 0..1 id Version specific identifier
Media.meta.lastUpdated This element is included in summaries. 0..1 instant When the resource version last changed
Media.meta.source This element is included in summaries. 0..1 uri Identifies where the resource comes from
Media.meta.profile This element is included in summaries. 1..1 canonical(StructureDefinition) Profiles this resource claims to conform to

Required Pattern: https://nhicore.nhi.gov.tw/pas/StructureDefinition/Media-twpas
Media.meta.security This element is included in summaries. 0..* Coding Security Labels applied to this resource
Binding: All Security Labels (extensible): Security Labels from the Healthcare Privacy and Security Classification System.
Media.meta.tag This element is included in summaries. 0..* Coding Tags applied to this resource
Binding: CommonTags (example): Codes that represent various types of tags, commonly workflow-related; e.g. "Needs review by Dr. Jones".
Media.implicitRules This element is a modifier element. This element is included in summaries. 0..1 uri 創建此內容所依據的一組規則
Media.language 0..1 code 用以表述Media Resource內容的語言。
Binding: CommonLanguages (preferred): 人類語言;鼓勵使用CommonLanguages代碼表中的代碼,但不強制一定要使用此代碼表,你也可使用其他代碼表的代碼或單純以文字表示。
Additional BindingsPurpose
AllLanguages Max Binding

Example Value: zh-TW
Media.text 0..1 Narrative Media Resource之內容摘要以供人閱讀
This profile does not constrain the narrative in regard to content, language, or traceability to data elements
Media.contained 0..* Resource Contained, inline Resources
Media.extension 0..* Extension Additional content defined by implementations
Media.modifierExtension This element is a modifier element. 0..* Extension Extensions that cannot be ignored
Media.identifier This element is included in summaries. 0..* Identifier 影像的識別碼
Media.basedOn This element is included in summaries. 0..* Reference(ServiceRequest | CarePlan) 導致產生此多媒體的程序
Media.partOf This element is included in summaries. 0..* Reference(Resource) 參照事件的一部分
Media.status This element is a modifier element. This element is included in summaries. 1..1 code preparation | in-progress | not-done | on-hold | stopped | completed | entered-in-error | unknown
Binding: EventStatus (required): 代表事件生命週期階段的代碼;應填入所綁定值集中的其中一個代碼
Media.type 0..1 CodeableConceptTW 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: MediaType (extensible): 應填入所綁定值集中適合的代碼,確定無適合的代碼才可以使用其他值集的代碼來表示。
Media.modality 0..1 CodeableConceptTW 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: MediaModality (example): 可參考MediaModality代碼表,但此代碼表只是針對這個欄位的一個可能值的示例,不預期也不鼓勵使用者一定要使用此代碼表的代碼。
Media.view 0..1 CodeableConceptTW 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 影像視圖,從不同的角度拍攝醫學影像,例如:側位(Lateral,從旁邊看)或前後部位(Antero-posterior,從前面或後面看)
Binding: MediaCollectionView/Projection (extensible): 應填入所綁定值集中適合的代碼,確定無適合的代碼才可以使用其他值集的代碼來表示。
Media.subject This element must be supported. This element is included in summaries. 0..1 Reference(病人資訊-Patient TWPAS) 多媒體紀錄的對象是誰或什麼?
Media.encounter This element is included in summaries. 0..1 Reference(TW Core Encounter) 與此Media相關的就醫事件(Encounter)
Media.created[x] This element is included in summaries. 0..1 Media被收集的時間
Media.created[x].createdDateTime dateTime
Media.created[x].createdPeriod Period
Media.issued This element is included in summaries. 0..1 instant 此版本提供的日期/時間
Media.operator This element is included in summaries. 0..1 Reference(TW Core Practitioner | TW Core PractitionerRole | TW Core Organization | TW Core CareTeam | TW Core Patient | Device | TW Core RelatedPerson) 產生影像的人
Media.reasonCode 0..* CodeableConceptTW 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: ProcedureReasonCodes (extensible): 應填入所綁定值集中適合的代碼,確定無適合的代碼才可以使用其他值集的代碼來表示。
Media.bodySite This element must be supported. 0..1 CodeableConceptTW 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: SNOMEDCT-健保事前審查-身體部位值集 (required)
Media.deviceName This element is included in summaries. 0..1 string 設備/製造商的名稱
Media.device This element is included in summaries. 0..1 Reference(Device | DeviceMetric | Device) 影像、影片、音檔的補捉設備。
Media.height This element is included in summaries. 0..1 positiveInt 以像素為單位的影像高度(影像/影像)
Media.width This element is included in summaries. 0..1 positiveInt 以像素為單位的影像寬度(影像/影像)
Media.frames This element is included in summaries. 0..1 positiveInt > 1 的影格(影像)。
Media.duration This element is included in summaries. 0..1 decimal 以秒為單位的長度(音檔/影片)。
Media.content This element is included in summaries. C 1..1 Attachment 實際的多媒體 - 參照或資料。
Constraints: UploadContent
Media.content.id 0..1 string Unique id for inter-element referencing
Media.content.extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
Media.content.contentType This element must be supported. This element is included in summaries. 1..1 code Mime type of the content, with charset etc.
Binding: HL7-非DICOM影像MimeType值集 (required)
Example General: text/plain; charset=UTF-8, image/png
Media.content.language This element is included in summaries. 0..1 code Human language of the content (BCP-47)
Binding: CommonLanguages (preferred): A human language.
Additional BindingsPurpose
AllLanguages Max Binding

Example General: en-AU
Media.content.data 0..1 base64Binary Data inline, base64ed
Media.content.url This element must be supported. This element is included in summaries. 1..1 url 非DICOM影像(請填寫完整檔案路徑)。填寫上傳附件檔名,例如:file://US01.jpg,且需上傳壓縮後的影像圖檔。
Example General: http://www.acme.com/logo-small.png
Example General: file://US01.jpg
Media.content.size This element is included in summaries. 0..1 unsignedInt Number of bytes of content (if url provided)
Media.content.hash This element is included in summaries. 0..1 base64Binary Hash of the data (sha-1, base64ed)
Media.content.title This element is included in summaries. 0..1 string Label to display in place of the data
Example General: Official Corporate Logo
Media.content.creation This element is included in summaries. 0..1 dateTime Date attachment was first created
Media.note 0..* Annotation 對此Media的意見

doco Documentation for this format

Terminology Bindings

Path Status Usage ValueSet Version Source
Media.meta.security Base extensible SecurityLabels 📍4.0.1 FHIR Std.
Media.meta.tag Base example Common Tags 📍4.0.1 FHIR Std.
Media.language Base preferred Common Languages 📦4.0.1 FHIR Std.
Media.status Base required EventStatus 📍4.0.1 FHIR Std.
Media.type Base extensible Media Type 📦4.0.1 FHIR Std.
Media.modality Base example Media Modality 📦4.0.1 FHIR Std.
Media.view Base extensible Media Collection View/Projection 📦4.0.1 FHIR Std.
Media.reasonCode Base extensible Procedure Reason Codes 📦4.0.1 FHIR Std.
Media.bodySite Base required SNOMEDCT-健保事前審查-身體部位值集 📦1.2.8 This IG
Media.content.contentType Base required HL7-非DICOM影像MimeType值集 📦1.2.8 This IG
Media.content.language Base preferred Common Languages 📍4.0.1 FHIR Std.

Constraints

Id Grade Path(s) Description Expression
UploadContent error Media.content 填寫格式:file://檔名.副檔名,例如:file://US01.jpg、file://PathologyReport01.pdf、file://GenReport01.pdf、file://王大明病歷.pdf url.matches('^file://[a-zA-Z0-9_一-龥()-]+.[a-zA-Z]{2,5}$') and url.contains('.')
dom-2 error Media If the resource is contained in another resource, it SHALL NOT contain nested Resources contained.contained.empty()
dom-3 error Media If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource or SHALL refer to the containing resource contained.where((('#'+id in (%resource.descendants().reference | %resource.descendants().as(canonical) | %resource.descendants().as(uri) | %resource.descendants().as(url))) or descendants().where(reference = '#').exists() or descendants().where(as(canonical) = '#').exists() or descendants().where(as(canonical) = '#').exists()).not()).trace('unmatched', id).empty()
dom-4 error Media If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()
dom-5 error Media If a resource is contained in another resource, it SHALL NOT have a security label contained.meta.security.empty()
dom-6 best practice Media A resource should have narrative for robust management text.`div`.exists()
ele-1 error **ALL** elements All FHIR elements must have a @value or children hasValue() or (children().count() > id.count())
ext-1 error **ALL** extensions Must have either extensions or value[x], not both extension.exists() != value.exists()

This structure is derived from TWCoreMedia

Summary

Mandatory: 4 elements
Must-Support: 3 elements

Structures

This structure refers to these other structures:

Key Elements View

NameFlagsCard.TypeDescription & Constraints    Filter: doco
Media 0..* TWCoreMedia 健康照護中獲取或使用的影像、影片或音檔,實際內容可能置於行內或透過直接參照提供。
Media.meta This element is included in summaries. 1..1 Meta 此Media Resource的metadata
Media.meta.profile This element is included in summaries. 1..1 canonical(StructureDefinition) Profiles this resource claims to conform to

Required Pattern: https://nhicore.nhi.gov.tw/pas/StructureDefinition/Media-twpas
Media.implicitRules This element is a modifier element. This element is included in summaries. 0..1 uri 創建此內容所依據的一組規則
Media.modifierExtension This element is a modifier element. 0..* Extension Extensions that cannot be ignored
Media.status This element is a modifier element. This element is included in summaries. 1..1 code preparation | in-progress | not-done | on-hold | stopped | completed | entered-in-error | unknown
Binding: EventStatus (required): 代表事件生命週期階段的代碼;應填入所綁定值集中的其中一個代碼
Media.subject This element must be supported. This element is included in summaries. 0..1 Reference(病人資訊-Patient TWPAS) 多媒體紀錄的對象是誰或什麼?
Media.bodySite This element must be supported. 0..1 CodeableConceptTW 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: SNOMEDCT-健保事前審查-身體部位值集 (required)
Media.content This element is included in summaries. C 1..1 Attachment 實際的多媒體 - 參照或資料。
Constraints: UploadContent
Media.content.contentType This element must be supported. This element is included in summaries. 1..1 code Mime type of the content, with charset etc.
Binding: HL7-非DICOM影像MimeType值集 (required)
Example General: text/plain; charset=UTF-8, image/png
Media.content.url This element must be supported. This element is included in summaries. 1..1 url 非DICOM影像(請填寫完整檔案路徑)。填寫上傳附件檔名,例如:file://US01.jpg,且需上傳壓縮後的影像圖檔。
Example General: http://www.acme.com/logo-small.png
Example General: file://US01.jpg

doco Documentation for this format

Terminology Bindings

Path Status Usage ValueSet Version Source
Media.status Base required EventStatus 📍4.0.1 FHIR Std.
Media.bodySite Base required SNOMEDCT-健保事前審查-身體部位值集 📦1.2.8 This IG
Media.content.contentType Base required HL7-非DICOM影像MimeType值集 📦1.2.8 This IG

Constraints

Id Grade Path(s) Description Expression
UploadContent error Media.content 填寫格式:file://檔名.副檔名,例如:file://US01.jpg、file://PathologyReport01.pdf、file://GenReport01.pdf、file://王大明病歷.pdf url.matches('^file://[a-zA-Z0-9_一-龥()-]+.[a-zA-Z]{2,5}$') and url.contains('.')
dom-2 error Media If the resource is contained in another resource, it SHALL NOT contain nested Resources contained.contained.empty()
dom-3 error Media If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource or SHALL refer to the containing resource contained.where((('#'+id in (%resource.descendants().reference | %resource.descendants().as(canonical) | %resource.descendants().as(uri) | %resource.descendants().as(url))) or descendants().where(reference = '#').exists() or descendants().where(as(canonical) = '#').exists() or descendants().where(as(canonical) = '#').exists()).not()).trace('unmatched', id).empty()
dom-4 error Media If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()
dom-5 error Media If a resource is contained in another resource, it SHALL NOT have a security label contained.meta.security.empty()
dom-6 best practice Media A resource should have narrative for robust management text.`div`.exists()
ele-1 error **ALL** elements All FHIR elements must have a @value or children hasValue() or (children().count() > id.count())
ext-1 error **ALL** extensions Must have either extensions or value[x], not both extension.exists() != value.exists()

Differential View

This structure is derived from TWCoreMedia

NameFlagsCard.TypeDescription & Constraints    Filter: doco
Media TWCoreMedia
Media.meta 1..1 Meta 此Media Resource的metadata
Media.meta.profile 1..1 canonical(StructureDefinition) Profiles this resource claims to conform to
Required Pattern: https://nhicore.nhi.gov.tw/pas/StructureDefinition/Media-twpas
Media.subject 0..1 Reference(病人資訊-Patient TWPAS) 多媒體紀錄的對象是誰或什麼?
Media.bodySite This element must be supported. 0..1 CodeableConceptTW 影像檢查的身體部位
Binding: SNOMEDCT-健保事前審查-身體部位值集 (required)
Media.content C 1..1 Attachment 實際的多媒體 - 參照或資料。
Constraints: UploadContent
Media.content.contentType This element must be supported. 1..1 code Mime type of the content, with charset etc.
Binding: HL7-非DICOM影像MimeType值集 (required)
Media.content.url This element must be supported. 1..1 url 非DICOM影像(請填寫完整檔案路徑)。填寫上傳附件檔名,例如:file://US01.jpg,且需上傳壓縮後的影像圖檔。
Example General: file://US01.jpg

doco Documentation for this format

Terminology Bindings (Differential)

Path Status Usage ValueSet Version Source
Media.bodySite Base required SNOMEDCT-健保事前審查-身體部位值集 📦1.2.8 This IG
Media.content.contentType Base required HL7-非DICOM影像MimeType值集 📦1.2.8 This IG

Constraints

Id Grade Path(s) Description Expression
UploadContent error Media.content 填寫格式:file://檔名.副檔名,例如:file://US01.jpg、file://PathologyReport01.pdf、file://GenReport01.pdf、file://王大明病歷.pdf url.matches('^file://[a-zA-Z0-9_一-龥()-]+.[a-zA-Z]{2,5}$') and url.contains('.')

Snapshot View

NameFlagsCard.TypeDescription & Constraints    Filter: doco
Media 0..* TWCoreMedia 健康照護中獲取或使用的影像、影片或音檔,實際內容可能置於行內或透過直接參照提供。
Media.id This element is included in summaries. 0..1 id 不重複的ID用以識別儲存在特定FHIR Server中的Media紀錄,通常又稱為邏輯性ID。
Media.meta This element is included in summaries. 1..1 Meta 此Media Resource的metadata
Media.meta.id 0..1 string Unique id for inter-element referencing
Media.meta.extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
Media.meta.versionId This element is included in summaries. 0..1 id Version specific identifier
Media.meta.lastUpdated This element is included in summaries. 0..1 instant When the resource version last changed
Media.meta.source This element is included in summaries. 0..1 uri Identifies where the resource comes from
Media.meta.profile This element is included in summaries. 1..1 canonical(StructureDefinition) Profiles this resource claims to conform to

Required Pattern: https://nhicore.nhi.gov.tw/pas/StructureDefinition/Media-twpas
Media.meta.security This element is included in summaries. 0..* Coding Security Labels applied to this resource
Binding: All Security Labels (extensible): Security Labels from the Healthcare Privacy and Security Classification System.
Media.meta.tag This element is included in summaries. 0..* Coding Tags applied to this resource
Binding: CommonTags (example): Codes that represent various types of tags, commonly workflow-related; e.g. "Needs review by Dr. Jones".
Media.implicitRules This element is a modifier element. This element is included in summaries. 0..1 uri 創建此內容所依據的一組規則
Media.language 0..1 code 用以表述Media Resource內容的語言。
Binding: CommonLanguages (preferred): 人類語言;鼓勵使用CommonLanguages代碼表中的代碼,但不強制一定要使用此代碼表,你也可使用其他代碼表的代碼或單純以文字表示。
Additional BindingsPurpose
AllLanguages Max Binding

Example Value: zh-TW
Media.text 0..1 Narrative Media Resource之內容摘要以供人閱讀
This profile does not constrain the narrative in regard to content, language, or traceability to data elements
Media.contained 0..* Resource Contained, inline Resources
Media.extension 0..* Extension Additional content defined by implementations
Media.modifierExtension This element is a modifier element. 0..* Extension Extensions that cannot be ignored
Media.identifier This element is included in summaries. 0..* Identifier 影像的識別碼
Media.basedOn This element is included in summaries. 0..* Reference(ServiceRequest | CarePlan) 導致產生此多媒體的程序
Media.partOf This element is included in summaries. 0..* Reference(Resource) 參照事件的一部分
Media.status This element is a modifier element. This element is included in summaries. 1..1 code preparation | in-progress | not-done | on-hold | stopped | completed | entered-in-error | unknown
Binding: EventStatus (required): 代表事件生命週期階段的代碼;應填入所綁定值集中的其中一個代碼
Media.type 0..1 CodeableConceptTW 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: MediaType (extensible): 應填入所綁定值集中適合的代碼,確定無適合的代碼才可以使用其他值集的代碼來表示。
Media.modality 0..1 CodeableConceptTW 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: MediaModality (example): 可參考MediaModality代碼表,但此代碼表只是針對這個欄位的一個可能值的示例,不預期也不鼓勵使用者一定要使用此代碼表的代碼。
Media.view 0..1 CodeableConceptTW 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 影像視圖,從不同的角度拍攝醫學影像,例如:側位(Lateral,從旁邊看)或前後部位(Antero-posterior,從前面或後面看)
Binding: MediaCollectionView/Projection (extensible): 應填入所綁定值集中適合的代碼,確定無適合的代碼才可以使用其他值集的代碼來表示。
Media.subject This element must be supported. This element is included in summaries. 0..1 Reference(病人資訊-Patient TWPAS) 多媒體紀錄的對象是誰或什麼?
Media.encounter This element is included in summaries. 0..1 Reference(TW Core Encounter) 與此Media相關的就醫事件(Encounter)
Media.created[x] This element is included in summaries. 0..1 Media被收集的時間
Media.created[x].createdDateTime dateTime
Media.created[x].createdPeriod Period
Media.issued This element is included in summaries. 0..1 instant 此版本提供的日期/時間
Media.operator This element is included in summaries. 0..1 Reference(TW Core Practitioner | TW Core PractitionerRole | TW Core Organization | TW Core CareTeam | TW Core Patient | Device | TW Core RelatedPerson) 產生影像的人
Media.reasonCode 0..* CodeableConceptTW 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: ProcedureReasonCodes (extensible): 應填入所綁定值集中適合的代碼,確定無適合的代碼才可以使用其他值集的代碼來表示。
Media.bodySite This element must be supported. 0..1 CodeableConceptTW 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: SNOMEDCT-健保事前審查-身體部位值集 (required)
Media.deviceName This element is included in summaries. 0..1 string 設備/製造商的名稱
Media.device This element is included in summaries. 0..1 Reference(Device | DeviceMetric | Device) 影像、影片、音檔的補捉設備。
Media.height This element is included in summaries. 0..1 positiveInt 以像素為單位的影像高度(影像/影像)
Media.width This element is included in summaries. 0..1 positiveInt 以像素為單位的影像寬度(影像/影像)
Media.frames This element is included in summaries. 0..1 positiveInt > 1 的影格(影像)。
Media.duration This element is included in summaries. 0..1 decimal 以秒為單位的長度(音檔/影片)。
Media.content This element is included in summaries. C 1..1 Attachment 實際的多媒體 - 參照或資料。
Constraints: UploadContent
Media.content.id 0..1 string Unique id for inter-element referencing
Media.content.extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
Media.content.contentType This element must be supported. This element is included in summaries. 1..1 code Mime type of the content, with charset etc.
Binding: HL7-非DICOM影像MimeType值集 (required)
Example General: text/plain; charset=UTF-8, image/png
Media.content.language This element is included in summaries. 0..1 code Human language of the content (BCP-47)
Binding: CommonLanguages (preferred): A human language.
Additional BindingsPurpose
AllLanguages Max Binding

Example General: en-AU
Media.content.data 0..1 base64Binary Data inline, base64ed
Media.content.url This element must be supported. This element is included in summaries. 1..1 url 非DICOM影像(請填寫完整檔案路徑)。填寫上傳附件檔名,例如:file://US01.jpg,且需上傳壓縮後的影像圖檔。
Example General: http://www.acme.com/logo-small.png
Example General: file://US01.jpg
Media.content.size This element is included in summaries. 0..1 unsignedInt Number of bytes of content (if url provided)
Media.content.hash This element is included in summaries. 0..1 base64Binary Hash of the data (sha-1, base64ed)
Media.content.title This element is included in summaries. 0..1 string Label to display in place of the data
Example General: Official Corporate Logo
Media.content.creation This element is included in summaries. 0..1 dateTime Date attachment was first created
Media.note 0..* Annotation 對此Media的意見

doco Documentation for this format

Terminology Bindings

Path Status Usage ValueSet Version Source
Media.meta.security Base extensible SecurityLabels 📍4.0.1 FHIR Std.
Media.meta.tag Base example Common Tags 📍4.0.1 FHIR Std.
Media.language Base preferred Common Languages 📦4.0.1 FHIR Std.
Media.status Base required EventStatus 📍4.0.1 FHIR Std.
Media.type Base extensible Media Type 📦4.0.1 FHIR Std.
Media.modality Base example Media Modality 📦4.0.1 FHIR Std.
Media.view Base extensible Media Collection View/Projection 📦4.0.1 FHIR Std.
Media.reasonCode Base extensible Procedure Reason Codes 📦4.0.1 FHIR Std.
Media.bodySite Base required SNOMEDCT-健保事前審查-身體部位值集 📦1.2.8 This IG
Media.content.contentType Base required HL7-非DICOM影像MimeType值集 📦1.2.8 This IG
Media.content.language Base preferred Common Languages 📍4.0.1 FHIR Std.

Constraints

Id Grade Path(s) Description Expression
UploadContent error Media.content 填寫格式:file://檔名.副檔名,例如:file://US01.jpg、file://PathologyReport01.pdf、file://GenReport01.pdf、file://王大明病歷.pdf url.matches('^file://[a-zA-Z0-9_一-龥()-]+.[a-zA-Z]{2,5}$') and url.contains('.')
dom-2 error Media If the resource is contained in another resource, it SHALL NOT contain nested Resources contained.contained.empty()
dom-3 error Media If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource or SHALL refer to the containing resource contained.where((('#'+id in (%resource.descendants().reference | %resource.descendants().as(canonical) | %resource.descendants().as(uri) | %resource.descendants().as(url))) or descendants().where(reference = '#').exists() or descendants().where(as(canonical) = '#').exists() or descendants().where(as(canonical) = '#').exists()).not()).trace('unmatched', id).empty()
dom-4 error Media If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()
dom-5 error Media If a resource is contained in another resource, it SHALL NOT have a security label contained.meta.security.empty()
dom-6 best practice Media A resource should have narrative for robust management text.`div`.exists()
ele-1 error **ALL** elements All FHIR elements must have a @value or children hasValue() or (children().count() > id.count())
ext-1 error **ALL** extensions Must have either extensions or value[x], not both extension.exists() != value.exists()

This structure is derived from TWCoreMedia

Summary

Mandatory: 4 elements
Must-Support: 3 elements

Structures

This structure refers to these other structures:

 

Other representations of profile: CSV, Excel, Schematron