臺灣牙醫實作指引 (Taiwan Dental Implementation Guide)
1.0.0 - release
臺灣牙醫實作指引 (Taiwan Dental Implementation Guide) - Local Development build (v1.0.0) built by the FHIR (HL7® FHIR® Standard) Build Tools. See the Directory of published versions
| Official URL: http://dental-ig.fhir.tw/StructureDefinition/Media-twdental | Version: 1.0.0 | |||
| Active as of 2026-11-03 | Computable Name: DentalMedia | |||
此 Profile 說明本 IG 如何進一步定義 FHIR 的 Media Resource,以呈現口腔影像(如口內照片、口外照片)的資料。
Usages:
You can also check for usages in the FHIR IG Statistics
Description of Profiles, Differentials, Snapshots and how the different presentations work.
| Name | Flags | Card. | Type | Description & Constraints Filter: ![]() |
|---|---|---|---|---|
![]() |
0..* | TWCoreMedia | 口腔影像的資料 | |
![]() ![]() |
0..1 | uri | 創建此內容所依據的一組規則 | |
![]() ![]() |
0..* | Extension | Extensions that cannot be ignored | |
![]() ![]() |
1..1 | code | 影像狀態 Binding: EventStatus (required): 代表事件生命週期階段的代碼;應填入所綁定值集中的其中一個代碼 | |
![]() ![]() |
1..1 | CodeableConceptTW |
影像類型 Binding: MediaType (extensible): 應填入所綁定值集中適合的代碼,確定無適合的代碼才可以使用其他值集的代碼來表示。 | |
![]() ![]() |
0..1 | CodeableConceptTW |
影像取得方式(如口內攝影、口外攝影) Binding: MediaModality (example): 可參考MediaModality代碼表,但此代碼表只是針對這個欄位的一個可能值的示例,不預期也不鼓勵使用者一定要使用此代碼表的代碼。 | |
![]() ![]() |
0..1 | CodeableConceptTW |
拍攝視角 Binding: MediaCollectionView/Projection (extensible): 應填入所綁定值集中適合的代碼,確定無適合的代碼才可以使用其他值集的代碼來表示。 | |
![]() ![]() |
1..1 | Reference(牙醫-病人) | 受檢病人 | |
![]() ![]() |
0..1 | Reference(牙醫-就醫事件) | 關聯的就醫事件 | |
![]() ![]() |
1..1 | dateTime | Media被收集的時間 Slice: Unordered, Closed by type:$this | |
![]() ![]() ![]() |
1..1 | dateTime | 拍攝時間 | |
![]() ![]() |
0..1 | Reference(牙醫-醫事人員) | 拍攝者 | |
![]() ![]() |
0..1 | CodeableConceptTW |
拍攝部位(可使用 FDI 牙位代碼) Binding: SNOMEDCTBodyStructures (extensible): 應填入所綁定值集中適合的代碼,確定無適合的代碼才可以使用其他值集的代碼來表示。 | |
![]() ![]() |
1..1 | Attachment | 影像內容 | |
![]() ![]() ![]() |
1..1 | code | 影像格式(MIME type) Binding: Mime Types (required): The mime type of an attachment. Any valid mime type is allowed. Example General: text/plain; charset=UTF-8, image/png | |
![]() ![]() ![]() |
0..1 | url | 影像存取位址 Example General: http://www.acme.com/logo-small.png | |
![]() ![]() ![]() |
0..1 | dateTime | 影像產製時間 | |
Documentation for this format | ||||
| Path | Status | Usage | ValueSet | Version | Source |
| 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.bodySite | Base | extensible | SNOMED CT Body Structures | 📦4.0.1 | FHIR Std. |
| Media.content.contentType | Base | required | MimeType | 📍4.0.1 | FHIR Std. |
| Id | Grade | Path(s) | Description | Expression |
| 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
| Name | Flags | Card. | Type | Description & Constraints Filter: ![]() |
|---|---|---|---|---|
![]() |
0..* | TWCoreMedia | 口腔影像的資料 | |
![]() ![]() |
1..1 | code | 影像狀態 | |
![]() ![]() |
1..1 | CodeableConceptTW | 影像類型 | |
![]() ![]() |
0..1 | CodeableConceptTW | 影像取得方式(如口內攝影、口外攝影) | |
![]() ![]() |
0..1 | CodeableConceptTW | 拍攝視角 | |
![]() ![]() |
1..1 | Reference(牙醫-病人) | 受檢病人 | |
![]() ![]() |
0..1 | Reference(牙醫-就醫事件) | 關聯的就醫事件 | |
![]() ![]() |
1..1 | dateTime | Media被收集的時間 Slice: Unordered, Open by type:$this | |
![]() ![]() ![]() |
1..1 | dateTime | 拍攝時間 | |
![]() ![]() |
0..1 | Reference(牙醫-醫事人員) | 拍攝者 | |
![]() ![]() |
0..1 | CodeableConceptTW | 拍攝部位(可使用 FDI 牙位代碼) | |
![]() ![]() |
1..1 | Attachment | 影像內容 | |
![]() ![]() ![]() |
1..1 | code | 影像格式(MIME type) | |
![]() ![]() ![]() |
0..1 | url | 影像存取位址 | |
![]() ![]() ![]() |
0..1 | dateTime | 影像產製時間 | |
Documentation for this format | ||||
| Name | Flags | Card. | Type | Description & Constraints Filter: ![]() | ||||
|---|---|---|---|---|---|---|---|---|
![]() |
0..* | TWCoreMedia | 口腔影像的資料 | |||||
![]() ![]() |
0..1 | id | 不重複的ID用以識別儲存在特定FHIR Server中的Media紀錄,通常又稱為邏輯性ID。 | |||||
![]() ![]() |
0..1 | Meta | 此Media Resource的metadata | |||||
![]() ![]() |
0..1 | uri | 創建此內容所依據的一組規則 | |||||
![]() ![]() |
0..1 | code | 用以表述Media Resource內容的語言。 Binding: CommonLanguages (preferred): 人類語言;鼓勵使用CommonLanguages代碼表中的代碼,但不強制一定要使用此代碼表,你也可使用其他代碼表的代碼或單純以文字表示。
Example Value: zh-TW | |||||
![]() ![]() |
0..1 | Narrative | Media Resource之內容摘要以供人閱讀 This profile does not constrain the narrative in regard to content, language, or traceability to data elements | |||||
![]() ![]() |
0..* | Resource | Contained, inline Resources | |||||
![]() ![]() |
0..* | Extension | Additional content defined by implementations | |||||
![]() ![]() |
0..* | Extension | Extensions that cannot be ignored | |||||
![]() ![]() |
0..* | Identifier | 影像的識別碼 | |||||
![]() ![]() |
0..* | Reference(ServiceRequest | CarePlan) | 導致產生此多媒體的程序 | |||||
![]() ![]() |
0..* | Reference(Resource) | 參照事件的一部分 | |||||
![]() ![]() |
1..1 | code | 影像狀態 Binding: EventStatus (required): 代表事件生命週期階段的代碼;應填入所綁定值集中的其中一個代碼 | |||||
![]() ![]() |
1..1 | CodeableConceptTW |
影像類型 Binding: MediaType (extensible): 應填入所綁定值集中適合的代碼,確定無適合的代碼才可以使用其他值集的代碼來表示。 | |||||
![]() ![]() |
0..1 | CodeableConceptTW |
影像取得方式(如口內攝影、口外攝影) Binding: MediaModality (example): 可參考MediaModality代碼表,但此代碼表只是針對這個欄位的一個可能值的示例,不預期也不鼓勵使用者一定要使用此代碼表的代碼。 | |||||
![]() ![]() |
0..1 | CodeableConceptTW |
拍攝視角 Binding: MediaCollectionView/Projection (extensible): 應填入所綁定值集中適合的代碼,確定無適合的代碼才可以使用其他值集的代碼來表示。 | |||||
![]() ![]() |
1..1 | Reference(牙醫-病人) | 受檢病人 | |||||
![]() ![]() |
0..1 | Reference(牙醫-就醫事件) | 關聯的就醫事件 | |||||
![]() ![]() |
1..1 | dateTime | Media被收集的時間 Slice: Unordered, Closed by type:$this | |||||
![]() ![]() ![]() |
1..1 | dateTime | 拍攝時間 | |||||
![]() ![]() |
0..1 | instant | 此版本提供的日期/時間 | |||||
![]() ![]() |
0..1 | Reference(牙醫-醫事人員) | 拍攝者 | |||||
![]() ![]() |
0..* | CodeableConceptTW |
為什麼會進行這個事件? Binding: ProcedureReasonCodes (extensible): 應填入所綁定值集中適合的代碼,確定無適合的代碼才可以使用其他值集的代碼來表示。 | |||||
![]() ![]() |
0..1 | CodeableConceptTW |
拍攝部位(可使用 FDI 牙位代碼) Binding: SNOMEDCTBodyStructures (extensible): 應填入所綁定值集中適合的代碼,確定無適合的代碼才可以使用其他值集的代碼來表示。 | |||||
![]() ![]() |
0..1 | string | 設備/製造商的名稱 | |||||
![]() ![]() |
0..1 | Reference(Device | DeviceMetric | Device) | 影像、影片、音檔的補捉設備。 | |||||
![]() ![]() |
0..1 | positiveInt | 以像素為單位的影像高度(影像/影像) | |||||
![]() ![]() |
0..1 | positiveInt | 以像素為單位的影像寬度(影像/影像) | |||||
![]() ![]() |
0..1 | positiveInt | > 1 的影格(影像)。 | |||||
![]() ![]() |
0..1 | decimal | 以秒為單位的長度(音檔/影片)。 | |||||
![]() ![]() |
1..1 | Attachment | 影像內容 | |||||
![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() |
1..1 | code | 影像格式(MIME type) Binding: Mime Types (required): The mime type of an attachment. Any valid mime type is allowed. Example General: text/plain; charset=UTF-8, image/png | |||||
![]() ![]() ![]() |
0..1 | code | Human language of the content (BCP-47) Binding: CommonLanguages (preferred): A human language.
Example General: en-AU | |||||
![]() ![]() ![]() |
0..1 | base64Binary | Data inline, base64ed | |||||
![]() ![]() ![]() |
0..1 | url | 影像存取位址 Example General: http://www.acme.com/logo-small.png | |||||
![]() ![]() ![]() |
0..1 | unsignedInt | Number of bytes of content (if url provided) | |||||
![]() ![]() ![]() |
0..1 | base64Binary | Hash of the data (sha-1, base64ed) | |||||
![]() ![]() ![]() |
0..1 | string | Label to display in place of the data Example General: Official Corporate Logo | |||||
![]() ![]() ![]() |
0..1 | dateTime | 影像產製時間 | |||||
![]() ![]() |
0..* | Annotation | 對此Media的意見 | |||||
Documentation for this format | ||||||||
| Path | Status | Usage | ValueSet | Version | Source |
| 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 | extensible | SNOMED CT Body Structures | 📦4.0.1 | FHIR Std. |
| Media.content.contentType | Base | required | MimeType | 📍4.0.1 | FHIR Std. |
| Media.content.language | Base | preferred | Common Languages | 📍4.0.1 | FHIR Std. |
| Id | Grade | Path(s) | Description | Expression |
| 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: 5 elements
Must-Support: 12 elements
Structures
This structure refers to these other structures:
Slices
This structure defines the following Slices:
Key Elements View
| Name | Flags | Card. | Type | Description & Constraints Filter: ![]() |
|---|---|---|---|---|
![]() |
0..* | TWCoreMedia | 口腔影像的資料 | |
![]() ![]() |
0..1 | uri | 創建此內容所依據的一組規則 | |
![]() ![]() |
0..* | Extension | Extensions that cannot be ignored | |
![]() ![]() |
1..1 | code | 影像狀態 Binding: EventStatus (required): 代表事件生命週期階段的代碼;應填入所綁定值集中的其中一個代碼 | |
![]() ![]() |
1..1 | CodeableConceptTW |
影像類型 Binding: MediaType (extensible): 應填入所綁定值集中適合的代碼,確定無適合的代碼才可以使用其他值集的代碼來表示。 | |
![]() ![]() |
0..1 | CodeableConceptTW |
影像取得方式(如口內攝影、口外攝影) Binding: MediaModality (example): 可參考MediaModality代碼表,但此代碼表只是針對這個欄位的一個可能值的示例,不預期也不鼓勵使用者一定要使用此代碼表的代碼。 | |
![]() ![]() |
0..1 | CodeableConceptTW |
拍攝視角 Binding: MediaCollectionView/Projection (extensible): 應填入所綁定值集中適合的代碼,確定無適合的代碼才可以使用其他值集的代碼來表示。 | |
![]() ![]() |
1..1 | Reference(牙醫-病人) | 受檢病人 | |
![]() ![]() |
0..1 | Reference(牙醫-就醫事件) | 關聯的就醫事件 | |
![]() ![]() |
1..1 | dateTime | Media被收集的時間 Slice: Unordered, Closed by type:$this | |
![]() ![]() ![]() |
1..1 | dateTime | 拍攝時間 | |
![]() ![]() |
0..1 | Reference(牙醫-醫事人員) | 拍攝者 | |
![]() ![]() |
0..1 | CodeableConceptTW |
拍攝部位(可使用 FDI 牙位代碼) Binding: SNOMEDCTBodyStructures (extensible): 應填入所綁定值集中適合的代碼,確定無適合的代碼才可以使用其他值集的代碼來表示。 | |
![]() ![]() |
1..1 | Attachment | 影像內容 | |
![]() ![]() ![]() |
1..1 | code | 影像格式(MIME type) Binding: Mime Types (required): The mime type of an attachment. Any valid mime type is allowed. Example General: text/plain; charset=UTF-8, image/png | |
![]() ![]() ![]() |
0..1 | url | 影像存取位址 Example General: http://www.acme.com/logo-small.png | |
![]() ![]() ![]() |
0..1 | dateTime | 影像產製時間 | |
Documentation for this format | ||||
| Path | Status | Usage | ValueSet | Version | Source |
| 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.bodySite | Base | extensible | SNOMED CT Body Structures | 📦4.0.1 | FHIR Std. |
| Media.content.contentType | Base | required | MimeType | 📍4.0.1 | FHIR Std. |
| Id | Grade | Path(s) | Description | Expression |
| 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
| Name | Flags | Card. | Type | Description & Constraints Filter: ![]() |
|---|---|---|---|---|
![]() |
0..* | TWCoreMedia | 口腔影像的資料 | |
![]() ![]() |
1..1 | code | 影像狀態 | |
![]() ![]() |
1..1 | CodeableConceptTW | 影像類型 | |
![]() ![]() |
0..1 | CodeableConceptTW | 影像取得方式(如口內攝影、口外攝影) | |
![]() ![]() |
0..1 | CodeableConceptTW | 拍攝視角 | |
![]() ![]() |
1..1 | Reference(牙醫-病人) | 受檢病人 | |
![]() ![]() |
0..1 | Reference(牙醫-就醫事件) | 關聯的就醫事件 | |
![]() ![]() |
1..1 | dateTime | Media被收集的時間 Slice: Unordered, Open by type:$this | |
![]() ![]() ![]() |
1..1 | dateTime | 拍攝時間 | |
![]() ![]() |
0..1 | Reference(牙醫-醫事人員) | 拍攝者 | |
![]() ![]() |
0..1 | CodeableConceptTW | 拍攝部位(可使用 FDI 牙位代碼) | |
![]() ![]() |
1..1 | Attachment | 影像內容 | |
![]() ![]() ![]() |
1..1 | code | 影像格式(MIME type) | |
![]() ![]() ![]() |
0..1 | url | 影像存取位址 | |
![]() ![]() ![]() |
0..1 | dateTime | 影像產製時間 | |
Documentation for this format | ||||
Snapshot View
| Name | Flags | Card. | Type | Description & Constraints Filter: ![]() | ||||
|---|---|---|---|---|---|---|---|---|
![]() |
0..* | TWCoreMedia | 口腔影像的資料 | |||||
![]() ![]() |
0..1 | id | 不重複的ID用以識別儲存在特定FHIR Server中的Media紀錄,通常又稱為邏輯性ID。 | |||||
![]() ![]() |
0..1 | Meta | 此Media Resource的metadata | |||||
![]() ![]() |
0..1 | uri | 創建此內容所依據的一組規則 | |||||
![]() ![]() |
0..1 | code | 用以表述Media Resource內容的語言。 Binding: CommonLanguages (preferred): 人類語言;鼓勵使用CommonLanguages代碼表中的代碼,但不強制一定要使用此代碼表,你也可使用其他代碼表的代碼或單純以文字表示。
Example Value: zh-TW | |||||
![]() ![]() |
0..1 | Narrative | Media Resource之內容摘要以供人閱讀 This profile does not constrain the narrative in regard to content, language, or traceability to data elements | |||||
![]() ![]() |
0..* | Resource | Contained, inline Resources | |||||
![]() ![]() |
0..* | Extension | Additional content defined by implementations | |||||
![]() ![]() |
0..* | Extension | Extensions that cannot be ignored | |||||
![]() ![]() |
0..* | Identifier | 影像的識別碼 | |||||
![]() ![]() |
0..* | Reference(ServiceRequest | CarePlan) | 導致產生此多媒體的程序 | |||||
![]() ![]() |
0..* | Reference(Resource) | 參照事件的一部分 | |||||
![]() ![]() |
1..1 | code | 影像狀態 Binding: EventStatus (required): 代表事件生命週期階段的代碼;應填入所綁定值集中的其中一個代碼 | |||||
![]() ![]() |
1..1 | CodeableConceptTW |
影像類型 Binding: MediaType (extensible): 應填入所綁定值集中適合的代碼,確定無適合的代碼才可以使用其他值集的代碼來表示。 | |||||
![]() ![]() |
0..1 | CodeableConceptTW |
影像取得方式(如口內攝影、口外攝影) Binding: MediaModality (example): 可參考MediaModality代碼表,但此代碼表只是針對這個欄位的一個可能值的示例,不預期也不鼓勵使用者一定要使用此代碼表的代碼。 | |||||
![]() ![]() |
0..1 | CodeableConceptTW |
拍攝視角 Binding: MediaCollectionView/Projection (extensible): 應填入所綁定值集中適合的代碼,確定無適合的代碼才可以使用其他值集的代碼來表示。 | |||||
![]() ![]() |
1..1 | Reference(牙醫-病人) | 受檢病人 | |||||
![]() ![]() |
0..1 | Reference(牙醫-就醫事件) | 關聯的就醫事件 | |||||
![]() ![]() |
1..1 | dateTime | Media被收集的時間 Slice: Unordered, Closed by type:$this | |||||
![]() ![]() ![]() |
1..1 | dateTime | 拍攝時間 | |||||
![]() ![]() |
0..1 | instant | 此版本提供的日期/時間 | |||||
![]() ![]() |
0..1 | Reference(牙醫-醫事人員) | 拍攝者 | |||||
![]() ![]() |
0..* | CodeableConceptTW |
為什麼會進行這個事件? Binding: ProcedureReasonCodes (extensible): 應填入所綁定值集中適合的代碼,確定無適合的代碼才可以使用其他值集的代碼來表示。 | |||||
![]() ![]() |
0..1 | CodeableConceptTW |
拍攝部位(可使用 FDI 牙位代碼) Binding: SNOMEDCTBodyStructures (extensible): 應填入所綁定值集中適合的代碼,確定無適合的代碼才可以使用其他值集的代碼來表示。 | |||||
![]() ![]() |
0..1 | string | 設備/製造商的名稱 | |||||
![]() ![]() |
0..1 | Reference(Device | DeviceMetric | Device) | 影像、影片、音檔的補捉設備。 | |||||
![]() ![]() |
0..1 | positiveInt | 以像素為單位的影像高度(影像/影像) | |||||
![]() ![]() |
0..1 | positiveInt | 以像素為單位的影像寬度(影像/影像) | |||||
![]() ![]() |
0..1 | positiveInt | > 1 的影格(影像)。 | |||||
![]() ![]() |
0..1 | decimal | 以秒為單位的長度(音檔/影片)。 | |||||
![]() ![]() |
1..1 | Attachment | 影像內容 | |||||
![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() |
1..1 | code | 影像格式(MIME type) Binding: Mime Types (required): The mime type of an attachment. Any valid mime type is allowed. Example General: text/plain; charset=UTF-8, image/png | |||||
![]() ![]() ![]() |
0..1 | code | Human language of the content (BCP-47) Binding: CommonLanguages (preferred): A human language.
Example General: en-AU | |||||
![]() ![]() ![]() |
0..1 | base64Binary | Data inline, base64ed | |||||
![]() ![]() ![]() |
0..1 | url | 影像存取位址 Example General: http://www.acme.com/logo-small.png | |||||
![]() ![]() ![]() |
0..1 | unsignedInt | Number of bytes of content (if url provided) | |||||
![]() ![]() ![]() |
0..1 | base64Binary | Hash of the data (sha-1, base64ed) | |||||
![]() ![]() ![]() |
0..1 | string | Label to display in place of the data Example General: Official Corporate Logo | |||||
![]() ![]() ![]() |
0..1 | dateTime | 影像產製時間 | |||||
![]() ![]() |
0..* | Annotation | 對此Media的意見 | |||||
Documentation for this format | ||||||||
| Path | Status | Usage | ValueSet | Version | Source |
| 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 | extensible | SNOMED CT Body Structures | 📦4.0.1 | FHIR Std. |
| Media.content.contentType | Base | required | MimeType | 📍4.0.1 | FHIR Std. |
| Media.content.language | Base | preferred | Common Languages | 📍4.0.1 | FHIR Std. |
| Id | Grade | Path(s) | Description | Expression |
| 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: 5 elements
Must-Support: 12 elements
Structures
This structure refers to these other structures:
Slices
This structure defines the following Slices:
Other representations of profile: CSV, Excel, Schematron