電子病歷交換單張實作指引(EMR-IG)
0.1.0 - ci-build

This page is part of the 電子病歷交換單張實作指引(EMR-IG) (v0.1.0: Releases) based on FHIR (HL7® FHIR® Standard) R4. This is the current published version in its permanent home (it will always be available at this URL). For a full list of available versions, see the Directory of published versions

Resource Profile: 出院病摘-家族圖譜

Official URL: https://twcore.mohw.gov.tw/ig/emr/StructureDefinition/MediaDMSFamily Version: 0.1.0
Active as of 2022-12-08 Computable Name: DischargeMedicalSummaryMediaFamily

此Profiles用於描述出院病摘中的家族圖譜

Usage:

Formal Views of Profile Content

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

This structure is derived from TWCoreMedia

NameFlagsCard.TypeDescription & Constraintsdoco
.. Media 0..* TWCoreMedia 健康照護中獲取或使用的影像、影片或音檔,實際內容可能置於行內或透過直接參照提供。
... status S 1..1 code preparation | in-progress | not-done | on-hold | stopped | completed | entered-in-error | unknown
Fixed Value: completed
... type S 1..1 CodeableConceptTW 將多媒體分類為影像、影片或音檔
.... coding 1..* CodingTW 由專門術語系統(terminology system)定義的代碼
..... system 1..1 uri 專門術語系統(terminology system)的識別
Required Pattern: http://loinc.org
..... code 1..1 code 系統定義的語法之符號
Required Pattern: 74027-4
... content S 1..1 Attachment 實際的多媒體 - 參照或資料。
.... contentType S 1..1 code 附件類型,家族圖譜為圖片檔案則可填入image/jpeg
.... title S 1..1 string 圖片檔名等,可替代檔案顯示之標籤。[應填入至出院病摘家族圖譜 Family Tree]

doco Documentation for this format
NameFlagsCard.TypeDescription & Constraintsdoco
.. Media 0..* TWCoreMedia 健康照護中獲取或使用的影像、影片或音檔,實際內容可能置於行內或透過直接參照提供。
... implicitRules ?!Σ 0..1 uri 創建此內容所依據的一組規則
... modifierExtension ?! 0..* Extension 此擴充的資料項目可能會完全修正或改變其他資料項目的意涵,需特別留意。
... status ?!SΣ 1..1 code preparation | in-progress | not-done | on-hold | stopped | completed | entered-in-error | unknown
Binding: EventStatus (required): 代表事件生命週期階段的代碼;應填入所綁定值集中的其中一個代碼


Fixed Value: completed
.... coding S 1..* CodingTW 由專門術語系統(terminology system)定義的代碼
..... system SΣ 1..1 uri 專門術語系統(terminology system)的識別
Required Pattern: http://loinc.org
..... code SΣ 1..1 code 系統定義的語法之符號
Required Pattern: 74027-4
..... display SΣ 0..1 string 由系統定義的表示法
.... text SΣ 0..1 string 概念的文字表示法
... subject SΣ 0..1 Reference(TW Core Patient | TW Core Practitioner | TW Core PractitionerRole | Group | Device | TW Core Specimen | TW Core Location) 多媒體紀錄的對象是誰或什麼?
... content SΣ 1..1 Attachment 實際的多媒體 - 參照或資料。
.... contentType SΣ 1..1 code 附件類型,家族圖譜為圖片檔案則可填入image/jpeg
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
.... title SΣ 1..1 string 圖片檔名等,可替代檔案顯示之標籤。[應填入至出院病摘家族圖譜 Family Tree]
Example General: Official Corporate Logo

doco Documentation for this format

Terminology Bindings

PathConformanceValueSet / CodeURI
Media.statusrequiredFixed Value: completed
http://hl7.org/fhir/ValueSet/event-status|4.0.1
from the FHIR Standard
Media.typeextensibleMediaType
http://hl7.org/fhir/ValueSet/media-type
from the FHIR Standard
Media.content.contentTyperequiredMime Types (a valid code from urn:ietf:bcp:13)
http://hl7.org/fhir/ValueSet/mimetypes|4.0.1
from the FHIR Standard

Constraints

IdGradePath(s)DetailsRequirements
dom-2errorMediaIf the resource is contained in another resource, it SHALL NOT contain nested Resources
: contained.contained.empty()
dom-3errorMediaIf 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-4errorMediaIf 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-5errorMediaIf a resource is contained in another resource, it SHALL NOT have a security label
: contained.meta.security.empty()
dom-6best practiceMediaA resource should have narrative for robust management
: text.`div`.exists()
ele-1error**ALL** elementsAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1error**ALL** extensionsMust have either extensions or value[x], not both
: extension.exists() != value.exists()
NameFlagsCard.TypeDescription & Constraintsdoco
.. Media 0..* TWCoreMedia 健康照護中獲取或使用的影像、影片或音檔,實際內容可能置於行內或透過直接參照提供。
... id Σ 0..1 id 不重複的ID用以識別儲存在特定FHIR Server中的Media紀錄,通常又稱為邏輯性ID。
... meta Σ 0..1 Meta 此Media Resource的metadata
... implicitRules ?!Σ 0..1 uri 創建此內容所依據的一組規則
... language 0..1 code 用以表述Media Resource內容的語言。
Binding: CommonLanguages (preferred): 人類語言;鼓勵使用CommonLanguages代碼表中的代碼,但不強制一定要使用此代碼表,你也可使用其他代碼表的代碼或單純以文字表示。

Additional BindingsPurpose
AllLanguages Max Binding

Example Value: zh-TW
... text 0..1 Narrative Media Resource之內容摘要以供人閱讀
... contained 0..* Resource 內嵌的(contained)、行內的Resources
... extension 0..* Extension 擴充的資料項目
... modifierExtension ?! 0..* Extension 此擴充的資料項目可能會完全修正或改變其他資料項目的意涵,需特別留意。
... identifier Σ 0..* Identifier 影像的識別碼
... basedOn Σ 0..* Reference(ServiceRequest | CarePlan) 導致產生此多媒體的程序
... partOf Σ 0..* Reference(Resource) 參照事件的一部分
... status ?!SΣ 1..1 code preparation | in-progress | not-done | on-hold | stopped | completed | entered-in-error | unknown
Binding: EventStatus (required): 代表事件生命週期階段的代碼;應填入所綁定值集中的其中一個代碼


Fixed Value: completed
... type S 1..1 CodeableConceptTW 將多媒體分類為影像、影片或音檔
Binding: MediaType (extensible): 應填入所綁定值集中適合的代碼,確定無適合的代碼才可以使用其他值集的代碼來表示。

.... id 0..1 string 唯一可識別ID,以供資料項目間相互參照。
.... extension 0..* Extension 擴充的資料項目
Slice: Unordered, Open by value:url
.... coding S 1..* CodingTW 由專門術語系統(terminology system)定義的代碼
..... id 0..1 string 唯一可識別ID,以供資料項目間相互參照。
..... extension 0..* Extension 擴充的資料項目
Slice: Unordered, Open by value:url
..... system SΣ 1..1 uri 專門術語系統(terminology system)的識別
Required Pattern: http://loinc.org
..... version Σ 0..1 string 系統的版本—如果相關的話
..... code SΣ 1..1 code 系統定義的語法之符號
Required Pattern: 74027-4
..... display SΣ 0..1 string 由系統定義的表示法
..... userSelected Σ 0..1 boolean 此編碼是否由使用者直接選擇?
.... text SΣ 0..1 string 概念的文字表示法
... modality 0..1 CodeableConceptTW 取得影像的設備/過程
Binding: MediaModality (example): 可參考MediaModality代碼表,但此代碼表只是針對這個欄位的一個可能值的示例,不預期也不鼓勵使用者一定要使用此代碼表的代碼。

... view 0..1 CodeableConceptTW 影像視圖,從不同的角度拍攝醫學影像,例如:側位(Lateral,從旁邊看)或前後部位(Antero-posterior,從前面或後面看)
Binding: MediaCollectionView/Projection (extensible): 應填入所綁定值集中適合的代碼,確定無適合的代碼才可以使用其他值集的代碼來表示。

... subject SΣ 0..1 Reference(TW Core Patient | TW Core Practitioner | TW Core PractitionerRole | Group | Device | TW Core Specimen | TW Core Location) 多媒體紀錄的對象是誰或什麼?
... encounter Σ 0..1 Reference(TW Core Encounter) 與此Media相關的就醫事件(Encounter)
... created[x] Σ 0..1 Media被收集的時間
.... createdDateTime dateTime
.... createdPeriod Period
... issued Σ 0..1 instant 此版本提供的日期/時間
... operator Σ 0..1 Reference(TW Core Practitioner | TW Core PractitionerRole | TW Core Organization | CareTeam | TW Core Patient | Device | RelatedPerson) 產生影像的人
... reasonCode 0..* CodeableConceptTW 為什麼會進行這個事件?
Binding: ProcedureReasonCodes (extensible): 應填入所綁定值集中適合的代碼,確定無適合的代碼才可以使用其他值集的代碼來表示。


... bodySite 0..1 CodeableConceptTW 接受檢驗檢查的身體部位
Binding: SNOMEDCTBodyStructures (extensible): 應填入所綁定值集中適合的代碼,確定無適合的代碼才可以使用其他值集的代碼來表示。

... deviceName Σ 0..1 string 設備/製造商的名稱
... device Σ 0..1 Reference(Device | DeviceMetric | Device) 影像、影片、音檔的補捉設備。
... height Σ 0..1 positiveInt 以像素為單位的影像高度(影像/影像)
... width Σ 0..1 positiveInt 以像素為單位的影像寬度(影像/影像)
... frames Σ 0..1 positiveInt > 1 的影格(影像)。
... duration Σ 0..1 decimal 以秒為單位的長度(音檔/影片)。
... content SΣ 1..1 Attachment 實際的多媒體 - 參照或資料。
.... id 0..1 string Unique id for inter-element referencing
.... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
.... contentType SΣ 1..1 code 附件類型,家族圖譜為圖片檔案則可填入image/jpeg
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
.... language Σ 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
.... data 0..1 base64Binary Data inline, base64ed
.... url Σ 0..1 url Uri where the data can be found
Example General: http://www.acme.com/logo-small.png
.... size Σ 0..1 unsignedInt Number of bytes of content (if url provided)
.... hash Σ 0..1 base64Binary Hash of the data (sha-1, base64ed)
.... title SΣ 1..1 string 圖片檔名等,可替代檔案顯示之標籤。[應填入至出院病摘家族圖譜 Family Tree]
Example General: Official Corporate Logo
.... creation Σ 0..1 dateTime Date attachment was first created
... note 0..* Annotation 對此Media的意見

doco Documentation for this format

Terminology Bindings

PathConformanceValueSet / CodeURI
Media.languagepreferredCommonLanguages
Additional Bindings Purpose
AllLanguages Max Binding
http://hl7.org/fhir/ValueSet/languages
from the FHIR Standard
Media.statusrequiredFixed Value: completed
http://hl7.org/fhir/ValueSet/event-status|4.0.1
from the FHIR Standard
Media.typeextensibleMediaType
http://hl7.org/fhir/ValueSet/media-type
from the FHIR Standard
Media.modalityexampleMediaModality
http://hl7.org/fhir/ValueSet/media-modality
from the FHIR Standard
Media.viewextensibleMediaCollectionView/Projection
http://hl7.org/fhir/ValueSet/media-view
from the FHIR Standard
Media.reasonCodeextensibleProcedureReasonCodes
http://hl7.org/fhir/ValueSet/procedure-reason
from the FHIR Standard
Media.bodySiteextensibleSNOMEDCTBodyStructures
http://hl7.org/fhir/ValueSet/body-site
from the FHIR Standard
Media.content.contentTyperequiredMime Types (a valid code from urn:ietf:bcp:13)
http://hl7.org/fhir/ValueSet/mimetypes|4.0.1
from the FHIR Standard
Media.content.languagepreferredCommonLanguages
Additional Bindings Purpose
AllLanguages Max Binding
http://hl7.org/fhir/ValueSet/languages
from the FHIR Standard

Constraints

IdGradePath(s)DetailsRequirements
dom-2errorMediaIf the resource is contained in another resource, it SHALL NOT contain nested Resources
: contained.contained.empty()
dom-3errorMediaIf 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-4errorMediaIf 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-5errorMediaIf a resource is contained in another resource, it SHALL NOT have a security label
: contained.meta.security.empty()
dom-6best practiceMediaA resource should have narrative for robust management
: text.`div`.exists()
ele-1error**ALL** elementsAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1error**ALL** extensionsMust have either extensions or value[x], not both
: extension.exists() != value.exists()

This structure is derived from TWCoreMedia

Summary

Mandatory: 6 elements
Must-Support: 5 elements
Fixed: 1 element

Differential View

This structure is derived from TWCoreMedia

NameFlagsCard.TypeDescription & Constraintsdoco
.. Media 0..* TWCoreMedia 健康照護中獲取或使用的影像、影片或音檔,實際內容可能置於行內或透過直接參照提供。
... status S 1..1 code preparation | in-progress | not-done | on-hold | stopped | completed | entered-in-error | unknown
Fixed Value: completed
... type S 1..1 CodeableConceptTW 將多媒體分類為影像、影片或音檔
.... coding 1..* CodingTW 由專門術語系統(terminology system)定義的代碼
..... system 1..1 uri 專門術語系統(terminology system)的識別
Required Pattern: http://loinc.org
..... code 1..1 code 系統定義的語法之符號
Required Pattern: 74027-4
... content S 1..1 Attachment 實際的多媒體 - 參照或資料。
.... contentType S 1..1 code 附件類型,家族圖譜為圖片檔案則可填入image/jpeg
.... title S 1..1 string 圖片檔名等,可替代檔案顯示之標籤。[應填入至出院病摘家族圖譜 Family Tree]

doco Documentation for this format

Key Elements View

NameFlagsCard.TypeDescription & Constraintsdoco
.. Media 0..* TWCoreMedia 健康照護中獲取或使用的影像、影片或音檔,實際內容可能置於行內或透過直接參照提供。
... implicitRules ?!Σ 0..1 uri 創建此內容所依據的一組規則
... modifierExtension ?! 0..* Extension 此擴充的資料項目可能會完全修正或改變其他資料項目的意涵,需特別留意。
... status ?!SΣ 1..1 code preparation | in-progress | not-done | on-hold | stopped | completed | entered-in-error | unknown
Binding: EventStatus (required): 代表事件生命週期階段的代碼;應填入所綁定值集中的其中一個代碼


Fixed Value: completed
.... coding S 1..* CodingTW 由專門術語系統(terminology system)定義的代碼
..... system SΣ 1..1 uri 專門術語系統(terminology system)的識別
Required Pattern: http://loinc.org
..... code SΣ 1..1 code 系統定義的語法之符號
Required Pattern: 74027-4
..... display SΣ 0..1 string 由系統定義的表示法
.... text SΣ 0..1 string 概念的文字表示法
... subject SΣ 0..1 Reference(TW Core Patient | TW Core Practitioner | TW Core PractitionerRole | Group | Device | TW Core Specimen | TW Core Location) 多媒體紀錄的對象是誰或什麼?
... content SΣ 1..1 Attachment 實際的多媒體 - 參照或資料。
.... contentType SΣ 1..1 code 附件類型,家族圖譜為圖片檔案則可填入image/jpeg
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
.... title SΣ 1..1 string 圖片檔名等,可替代檔案顯示之標籤。[應填入至出院病摘家族圖譜 Family Tree]
Example General: Official Corporate Logo

doco Documentation for this format

Terminology Bindings

PathConformanceValueSet / CodeURI
Media.statusrequiredFixed Value: completed
http://hl7.org/fhir/ValueSet/event-status|4.0.1
from the FHIR Standard
Media.typeextensibleMediaType
http://hl7.org/fhir/ValueSet/media-type
from the FHIR Standard
Media.content.contentTyperequiredMime Types (a valid code from urn:ietf:bcp:13)
http://hl7.org/fhir/ValueSet/mimetypes|4.0.1
from the FHIR Standard

Constraints

IdGradePath(s)DetailsRequirements
dom-2errorMediaIf the resource is contained in another resource, it SHALL NOT contain nested Resources
: contained.contained.empty()
dom-3errorMediaIf 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-4errorMediaIf 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-5errorMediaIf a resource is contained in another resource, it SHALL NOT have a security label
: contained.meta.security.empty()
dom-6best practiceMediaA resource should have narrative for robust management
: text.`div`.exists()
ele-1error**ALL** elementsAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1error**ALL** extensionsMust have either extensions or value[x], not both
: extension.exists() != value.exists()

Snapshot View

NameFlagsCard.TypeDescription & Constraintsdoco
.. Media 0..* TWCoreMedia 健康照護中獲取或使用的影像、影片或音檔,實際內容可能置於行內或透過直接參照提供。
... id Σ 0..1 id 不重複的ID用以識別儲存在特定FHIR Server中的Media紀錄,通常又稱為邏輯性ID。
... meta Σ 0..1 Meta 此Media Resource的metadata
... implicitRules ?!Σ 0..1 uri 創建此內容所依據的一組規則
... language 0..1 code 用以表述Media Resource內容的語言。
Binding: CommonLanguages (preferred): 人類語言;鼓勵使用CommonLanguages代碼表中的代碼,但不強制一定要使用此代碼表,你也可使用其他代碼表的代碼或單純以文字表示。

Additional BindingsPurpose
AllLanguages Max Binding

Example Value: zh-TW
... text 0..1 Narrative Media Resource之內容摘要以供人閱讀
... contained 0..* Resource 內嵌的(contained)、行內的Resources
... extension 0..* Extension 擴充的資料項目
... modifierExtension ?! 0..* Extension 此擴充的資料項目可能會完全修正或改變其他資料項目的意涵,需特別留意。
... identifier Σ 0..* Identifier 影像的識別碼
... basedOn Σ 0..* Reference(ServiceRequest | CarePlan) 導致產生此多媒體的程序
... partOf Σ 0..* Reference(Resource) 參照事件的一部分
... status ?!SΣ 1..1 code preparation | in-progress | not-done | on-hold | stopped | completed | entered-in-error | unknown
Binding: EventStatus (required): 代表事件生命週期階段的代碼;應填入所綁定值集中的其中一個代碼


Fixed Value: completed
... type S 1..1 CodeableConceptTW 將多媒體分類為影像、影片或音檔
Binding: MediaType (extensible): 應填入所綁定值集中適合的代碼,確定無適合的代碼才可以使用其他值集的代碼來表示。

.... id 0..1 string 唯一可識別ID,以供資料項目間相互參照。
.... extension 0..* Extension 擴充的資料項目
Slice: Unordered, Open by value:url
.... coding S 1..* CodingTW 由專門術語系統(terminology system)定義的代碼
..... id 0..1 string 唯一可識別ID,以供資料項目間相互參照。
..... extension 0..* Extension 擴充的資料項目
Slice: Unordered, Open by value:url
..... system SΣ 1..1 uri 專門術語系統(terminology system)的識別
Required Pattern: http://loinc.org
..... version Σ 0..1 string 系統的版本—如果相關的話
..... code SΣ 1..1 code 系統定義的語法之符號
Required Pattern: 74027-4
..... display SΣ 0..1 string 由系統定義的表示法
..... userSelected Σ 0..1 boolean 此編碼是否由使用者直接選擇?
.... text SΣ 0..1 string 概念的文字表示法
... modality 0..1 CodeableConceptTW 取得影像的設備/過程
Binding: MediaModality (example): 可參考MediaModality代碼表,但此代碼表只是針對這個欄位的一個可能值的示例,不預期也不鼓勵使用者一定要使用此代碼表的代碼。

... view 0..1 CodeableConceptTW 影像視圖,從不同的角度拍攝醫學影像,例如:側位(Lateral,從旁邊看)或前後部位(Antero-posterior,從前面或後面看)
Binding: MediaCollectionView/Projection (extensible): 應填入所綁定值集中適合的代碼,確定無適合的代碼才可以使用其他值集的代碼來表示。

... subject SΣ 0..1 Reference(TW Core Patient | TW Core Practitioner | TW Core PractitionerRole | Group | Device | TW Core Specimen | TW Core Location) 多媒體紀錄的對象是誰或什麼?
... encounter Σ 0..1 Reference(TW Core Encounter) 與此Media相關的就醫事件(Encounter)
... created[x] Σ 0..1 Media被收集的時間
.... createdDateTime dateTime
.... createdPeriod Period
... issued Σ 0..1 instant 此版本提供的日期/時間
... operator Σ 0..1 Reference(TW Core Practitioner | TW Core PractitionerRole | TW Core Organization | CareTeam | TW Core Patient | Device | RelatedPerson) 產生影像的人
... reasonCode 0..* CodeableConceptTW 為什麼會進行這個事件?
Binding: ProcedureReasonCodes (extensible): 應填入所綁定值集中適合的代碼,確定無適合的代碼才可以使用其他值集的代碼來表示。


... bodySite 0..1 CodeableConceptTW 接受檢驗檢查的身體部位
Binding: SNOMEDCTBodyStructures (extensible): 應填入所綁定值集中適合的代碼,確定無適合的代碼才可以使用其他值集的代碼來表示。

... deviceName Σ 0..1 string 設備/製造商的名稱
... device Σ 0..1 Reference(Device | DeviceMetric | Device) 影像、影片、音檔的補捉設備。
... height Σ 0..1 positiveInt 以像素為單位的影像高度(影像/影像)
... width Σ 0..1 positiveInt 以像素為單位的影像寬度(影像/影像)
... frames Σ 0..1 positiveInt > 1 的影格(影像)。
... duration Σ 0..1 decimal 以秒為單位的長度(音檔/影片)。
... content SΣ 1..1 Attachment 實際的多媒體 - 參照或資料。
.... id 0..1 string Unique id for inter-element referencing
.... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
.... contentType SΣ 1..1 code 附件類型,家族圖譜為圖片檔案則可填入image/jpeg
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
.... language Σ 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
.... data 0..1 base64Binary Data inline, base64ed
.... url Σ 0..1 url Uri where the data can be found
Example General: http://www.acme.com/logo-small.png
.... size Σ 0..1 unsignedInt Number of bytes of content (if url provided)
.... hash Σ 0..1 base64Binary Hash of the data (sha-1, base64ed)
.... title SΣ 1..1 string 圖片檔名等,可替代檔案顯示之標籤。[應填入至出院病摘家族圖譜 Family Tree]
Example General: Official Corporate Logo
.... creation Σ 0..1 dateTime Date attachment was first created
... note 0..* Annotation 對此Media的意見

doco Documentation for this format

Terminology Bindings

PathConformanceValueSet / CodeURI
Media.languagepreferredCommonLanguages
Additional Bindings Purpose
AllLanguages Max Binding
http://hl7.org/fhir/ValueSet/languages
from the FHIR Standard
Media.statusrequiredFixed Value: completed
http://hl7.org/fhir/ValueSet/event-status|4.0.1
from the FHIR Standard
Media.typeextensibleMediaType
http://hl7.org/fhir/ValueSet/media-type
from the FHIR Standard
Media.modalityexampleMediaModality
http://hl7.org/fhir/ValueSet/media-modality
from the FHIR Standard
Media.viewextensibleMediaCollectionView/Projection
http://hl7.org/fhir/ValueSet/media-view
from the FHIR Standard
Media.reasonCodeextensibleProcedureReasonCodes
http://hl7.org/fhir/ValueSet/procedure-reason
from the FHIR Standard
Media.bodySiteextensibleSNOMEDCTBodyStructures
http://hl7.org/fhir/ValueSet/body-site
from the FHIR Standard
Media.content.contentTyperequiredMime Types (a valid code from urn:ietf:bcp:13)
http://hl7.org/fhir/ValueSet/mimetypes|4.0.1
from the FHIR Standard
Media.content.languagepreferredCommonLanguages
Additional Bindings Purpose
AllLanguages Max Binding
http://hl7.org/fhir/ValueSet/languages
from the FHIR Standard

Constraints

IdGradePath(s)DetailsRequirements
dom-2errorMediaIf the resource is contained in another resource, it SHALL NOT contain nested Resources
: contained.contained.empty()
dom-3errorMediaIf 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-4errorMediaIf 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-5errorMediaIf a resource is contained in another resource, it SHALL NOT have a security label
: contained.meta.security.empty()
dom-6best practiceMediaA resource should have narrative for robust management
: text.`div`.exists()
ele-1error**ALL** elementsAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1error**ALL** extensionsMust have either extensions or value[x], not both
: extension.exists() != value.exists()

This structure is derived from TWCoreMedia

Summary

Mandatory: 6 elements
Must-Support: 5 elements
Fixed: 1 element

 

Other representations of profile: CSV, Excel, Schematron