【2026.8.31リリース予定の公開準備版】電子カルテ情報共有サービス2文書5情報+患者サマリー FHIR実装ガイド JP-CLINS(CLinical Information Sharing ImplementationGuide) v1.13.0-preR1
1.13.0-preR1 - update Japan

【2026.8.31リリース予定の公開準備版】電子カルテ情報共有サービス2文書5情報+患者サマリー FHIR実装ガイド JP-CLINS(CLinical Information Sharing ImplementationGuide) v1.13.0-preR1 - Local Development build (v1.13.0-preR1) built by the FHIR (HL7® FHIR® Standard) Build Tools. See the Directory of published versions

Resource Profile: JP_Composition_ePCS

項目 内容
定義URL http://jpfhir.jp/fhir/ePCS/StructureDefinition/JP_Composition_ePCS
Version 1.13.0-preR1
Name

JP_Composition_ePCS

Status Active ( 2024-09-14 )
Copyright

(一社)日本医療情報学会. CC BY-ND 4.0


この実装ガイドは、今後正式リリースされる予定の公開準備版です。
この公開準備版は正式リリースまでさらに今後も内容が変更される可能性があります。

患者療養計画サマリーのリソース構成情報と文書日付に関するCompositionの派生プロファイル


患者サマリー(療養計画書)用: Compositionリソース プロファイル

背景および想定シナリオ

このプロファイルは、患者サマリー(療養計画書)を記述するBundleリソースの最初のentry要素に格納されるCompositionリソースのプロファイルである。

スコープ

対象

患者サマリー(療養計画書)を記述するBundleリソースの最初のentry要素に格納されるCompositionリソース。

プロファイル定義における必須要素と推奨要素

  • 必須要素は、その要素が必ず1個以上出現しなければならない要素。FHIR仕様ではMust Supportフラグを設定している。
  • 推奨要素は、送信側はシステムに値が存在しているなら、値を格納した要素が必ず1個以上出現しなければならず、受信側は必ずその値を格納しなければならない要素。FHIR仕様ではMust Supportフラグを設定している。

必須要素

  • resourceType : リソースタイプ "Composition"
  • meta.lastUpdated : 最終更新日時
  • meta.profile : 準拠プロファイル "http://jpfhir.jp/fhir/ePCS/StructureDefinition/JP_Composition_ePCS"、バージョン併記必須。
  • extension : 文書バージョンを表す拡張「composition-clinicaldocument-versionNumber」。
  • identifier : インスタンス識別子
  • status : この文書のステータス "final"
  • type : 文書区分コード。"56447-6" (計画書)
  • category : 文書カテゴリー。退院時文書か外来文書かを区別する。
  • timestamp : このリソースを生成した日時
  • subject : 患者情報を表すPatientリソースへの参照
  • encounter : この文書を作成した入院外来区分を表すEncounterリソースへの参照
  • date : このリソースを作成または最後に編集した日時
  • author : 文書作成責任者、文書作成機関(診療科拡張あり)への参照。
    • .reference : 文書作成責任者 Practitionerリソースへの参照
    • .reference : 文書作成機関(診療科拡張あり)Organizationリソースへの参照
  • title : "患者サマリー(療養計画書)"
  • section : 計画サマリーセクションの情報
    • title : セクションタイトル "計画サマリー"
    • code :  セクションコード
    • entry[0] : 患者サマリー(療養計画)の内容を記述したCarePlaneへの参照
    • entry[1] : 対象となる傷病名を記述したConditionへの参照(主病名、副病名)

条件により必須

  • 該当なし。

推奨要素

  • 該当なし。

MustSupport要素

  • 必須要素、条件により必須要素、推奨要素は、自動的にMustSupport要素である。それ以外に以下の要素がMustSupport要素である。

要素の説明とプロファイル

  • 多重度欄の見方:
    • 0..1 : 最小0個、最大1個出現する。最小0個なので必須要素ではない。リスト型ではないので、要素は[ ]で囲む必要はない。
    • 0..1* : 最小0個、記載されている目的をもった要素としては最大1個だけ出現する。同じ要素が別の目的で使うために複数出現することがある。(例:entry要素はPatientリソースを格納する目的では1個だけ出現するが、他のリソースを格納するためにentry要素はいくつも出現する場合など)。最小0個なので必須要素ではない。親プロファイルでは複数回数の出現が可能なリスト型であり、1個でも要素値を必ず[ ]で囲む必要がある。
    • 0..* : 最小0個、最大個数制限なく出現する。最小0個なので必須要素ではない。リスト型であり、1個でも要素値を[ ]で囲む必要がある。
    • 1..1 : 最小1個、最大1個出現する。最小1個なので必須要素である。リスト型ではないので、要素は[ ]で囲む必要はない。
    • 1..1* : 最小1個、記載する意味での要素としては最大1個だけ出現する。同じ要素が別の目的で使うために複数出現することがある。最小1個なので必須要素である。親プロファイルでは複数回数の出現が可能なリスト型であり、1個でも要素値を必ず[ ]で囲む必要がある。
    • 1..* : 最小1個、最大個数制限なく出現する。最小1個なので必須要素である。リスト型であり、1個でも要素値を必ず[ ]で囲む必要がある。
  • 多重度欄の背景色:
    • 濃い黄色=「必須要素」に対応する。
    • 薄い黄色=「条件により必須要素」に対応する。
    • 薄い緑=「推奨要素」に対応する。
    • 無色=本要素を記述する場合の説明を参考までに記載しているが、多重度の最小0であるため出現してもしなくてもよい。ただし、MustSupport要素の場合には、MustSupport要素としての仕様(送信側はデータを保持しているなら出力しなければならず、受信側はデータが格納されていれば受信処理をしなければならない)を満たす必要がある。MustSupport要素でなければ、データ設定と送信は任意であり、送信しても受信側では無視(破棄)されるかもしれないことに注意すること。
  • この表に現れない要素であるが、JP-Coreでは出現してもよい(多重度が0..1、0..1、0..の)要素は、データ設定と送信は任意であり、送信しても受信側では無視(破棄)されるかもしれないことに注意すること。
  • この表で要素名のあとに[ ]表記があるものは、値が1個であっても、JSONデータのリスト型の値で記述しなければならない。
  • 要素[*] : この要素は繰り返し可能であり、値の記述はリストとなる。
  • 要素[+] : (繰り返し可能な要素において)新たなひとつの要素の子要素値として記述される。
  • 要素[=] : (繰り返し可能な要素において)すぐ上の要素と同じ要素の子要素値として記述される。

詳細説明

表 「CompositionePCS」

多重度は、親要素が出現した場合の多重度。たとえばある子要素の多重度が1..1であっても親要素が出現しない場合にはその子要素は出現しない。逆に親要素が出現する場合には、この子要素は出現しなければならない。
要素Lv1 要素Lv2 要素Lv3 要素Lv4 多重度 説明 固定値 /例示 固定値 または例示
resourceType 1..1 Compositionリソースであることを示す 固定値 Composition
meta 1..1 Meta
meta lastUpdated 1..1 instant 最終更新日時。YYYY-MM-DDThh:mm:ss.sss+zz:zz (例. 2015-02-07T13:28:17.239+09:00)
meta profile[*] 1..* 本プロファイルが従うプロファイル
meta profile[+] 1..1* canonical(StructureDefinition) 本プロファイルを識別するURLとバージョンを指定する。 http://jpfhir.jp/fhir/eCS/StructureDefinition/JP_Composition_eCS|x.y.z を設定する(|x.y.z は(U+007C)パイプ文字(縦棒文字)とバージョンx.y.zを指定する)。|x.y.z のバージョン表記は省略可能で、省略した場合には、受信側が受信時点での最新バージョンに準拠しているとみなされる。 固定値(x.y.zは置き換える) "http://jpfhir.jp/fhir/ePCS/StructureDefinition/JP_Composition_ePCS|x.y.z"
extension[*] 1..* 拡張
extension[+] 1..1* Extension 文書バージョンを表す拡張「composition-clinicaldocument-versionNumber」。
extension[=] url 1..1 uri 文書バージョンを表す拡張「composition-clinicaldocument-versionNumber」を識別するURL。 固定値 "http:// hl7.org/fhir/StructureDefinition/composition-clinicaldocument-versionNumber"
extension[=] valueString 1..1 string 文書のバージョン番号を表す文字列。値は例示。 例示 “1.0"
identifier 1..1 Identifier この文書の文書ID。
identifier system 1..1 uri 文書IDの名前空間を表すURI。固定値。 固定値 "http://jpfhir.jp/fhir/core/IdSystem/resourceInstance-identifier"
identifier value 1..1 string 文書ID。値は例示。Identifier型のvalue要素に、保険医療機関番号(10桁)、発行年(4桁)、施設内において発行年内で一意となる番号(32桁以内)をハット文字(“^”)で連結した文字列を指定する。 例示 1311234567^2020^00123456
status 1..1 code この文書のステータス。最終版が登録される段階では、"final" でなければならない。 固定値 final
type 1..1 CodeableConcept 文書区分コード
type coding[*] 1..1* 文書区分コードのコード情報
type coding[+] 1..1* Coding
type coding[=] system 1..1 uri 文書区分コードのコード体系を識別するURL(LOINCコードベース)。固定値 固定値 "http://jpfhir.jp/fhir/Common/CodeSystem/doc-typecodes"
type coding[=] code 1..1 code 文書区分コード。計画書:"56447-6"を指定。固定値。 固定値 56447-6
type coding[=] display 0..1 string 文書区分コードの表示名。"計画書" 固定値 計画書
category[*] 1..1* 文書クラス(カテゴリー)
category[+] 1..1* CodeableConcept
category[=] coding[*] 1..1* 文書クラス(カテゴリー)のコード情報
category[=] coding[+] 1..1* Coding
category[=] coding[=] system 1..1 uri 文書クラスのコード体系を識別するURI。固定値。 固定値 "http://jpfhir.jp/fhir/Common/CodeSystem/doc-subtypecodes"
category[=] coding[=] code 1..1 code 文書カテゴリコード。患者サマリー(計画書)では文書サブ区分からDISCHARGE:退院時文書、OUTPATIENT:外来文書 のいずれかを使用する。 例示 "DISCHARGE"
category[=] coding[=] display 0..1 string コードの表示名 例示 "退院時文書"
subject 1..1 Reference(JP_Patient_eCS) 患者情報を表すPatientリソースへの参照。
subject reference 1..1 string PatientリソースのBundle.fullUrl要素に指定されるUUIDを指定。値は例示。 例示 urn:uuid:11f0a9a6-a91d-3aef-fc4e-069995b89c4f
encounter 1..1 Reference(JP_Encounter_eCS) この文書を作成した入院外来区分を表すEncounterリソースへの参照
encounter reference 1..1 string EncounterリソースのfullUrl要素に指定されるUUIDを指定。値は例示。 例示 urn:uuid:12f0a9a6-a91d-8aef-d14e-069795b89c9f
date 1..1 dateTime このリソースを作成または最後に編集した日時。ISO8601に準拠し、秒の精度まで記録し、タイムゾーンも付記する。午前0時を"24:00"と記録することはできないため"00:00"と記録すること。 例示 2020-08-21T12:28:21+09:00
author[*] 2..2 文書作成責任者、文書作成機関(診療科拡張あり)への参照。PractitionerリソースとOrganizationリソースへの参照の2つのReferenceを繰り返す。
author[+] 1..1 Reference(Practioner) 文書作成責任者への参照
author[=] reference 1..1 string PractitionerリソースのfullUrl要素に指定されるUUIDを指定。値は例示。 例示 urn:uuid:7f60d206-66c5-4998-931e-86bf2b2d0bdc
author[+] 1..1 Reference(Practioner) 文書作成機関(診療科拡張あり)への参照
author[=] reference 1..1 string OrganizationリソースのfullUrl要素に指定されるUUIDを指定。値は例示。 例示 urn:uuid:179f9f7f-e546-04c2-6888-a9e0b24e5720
title 1..1 string この文書の(人が読める)タイトル。固定値で使用する長音文字はUTF8:E383BC、SJIS:815B の文字を使用する。 固定値 "患者サマリー(療養計画書)"
custodian 0..0 Reference(Organization) 本文書では記述しない。
custodian reference 1..1 string custodianに対応するOrganizationリソースのfullUrl要素に指定されるUUIDを指定。値は例示。 urn:uuid:179f9f7f-e546-04c2-6888-a9e0b24e5720
event 0..0 BackboneElement 本文書では記述しない。
section[*] 1..1* 患者サマリー・療養計画を記述するためのセクション
section[+] 1..1* BackboneElement
section[=] title 1..1 string セクションのタイトル 固定値 "計画サマリー"
section[=] code 1..1 CodeableConcept セクションを規定するコード情報
section[=] code coding[*] 1..1* セクションを規定するコード記述
section[=] code coding[+] 1..1* Coding 計画サマリーセクションのコード記述
section[=] code coding[=] system 1..1 セクション区分コードのコード体系を識別するURI。 固定値 http://jpfhir.jp/fhir/clins/CodeSystem/document-section
section[=] code coding[=] code 1..1 計画サマリーセクションを表すセクションコード 固定値 422
section[=] code coding[=] display 0..1 計画サマリーセクションを表すセクションコードに対応する表示名 固定値 計画サマリーセクション
section[=] entry 1..1 Reference(JP_CarePlan_ePCS) 療養計画を記述したCarePlaneへの参照
section[=] entry 1..* Reference(JP_Condition_eCS) 対象となる傷病名を記述したConditionへの参照(主病名、副病名)


プロファイル

Usages:

You can also check for usages in the FHIR IG Statistics

プロファイル詳細

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

NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. Composition Composition(4.0.1)
... meta S 1..1 Meta Metadata about the resource
.... lastUpdated S 1..1 instant When the resource version last changed
.... profile S 1..* canonical(StructureDefinition) 準拠しているプロファイルとして次のURLとバージョンを指定する。バージョン指定を省略した場合には、データ受信時点の最新バージョンとみなされる。http://jpfhir.jp/fhir/ePCS/StructureDefinition/JP_Composition_ePCS|x.y.z
... Slices for extension 1..* Extension Extension
Slice: Unordered, Open by value:url
.... extension:version S 1..1 (Complex) 文書バージョンを表す拡張
URL: http://hl7.org/fhir/StructureDefinition/composition-clinicaldocument-versionNumber
..... url S 1..1 uri identifies the meaning of the extension
..... value[x] S 1..1 string 文書のバージョン番号を表す文字列。
... identifier S 1..1 Identifier Version-independent identifier for the Composition
.... system S 1..1 uri 文書リソースIDの名前空間を表すURI。固定値。
Fixed Value: http://jpfhir.jp/fhir/core/IdSystem/resourceInstance-identifier
.... value S 1..1 string 文書リソースID
... status 1..1 code この文書のステータス。
Fixed Value: final
... type S 1..1 CodeableConcept 文書区分コード
Binding: JP_valueSet_documentTypeCode (1.0.0) (required)
.... coding S 1..1 Coding Code defined by a terminology system
..... system S 1..1 uri Identity of the terminology system
Fixed Value: http://jpfhir.jp/fhir/Common/CodeSystem/doc-typecodes
..... code S 1..1 code Symbol in syntax defined by the system
Fixed Value: 56447-6
..... display 0..1 string 文書区分コードの表示名。
Fixed Value: 計画書
... category S 1..1 CodeableConcept 文書カテゴリーコード
Binding: JP_valueSet_documentSubTypeCode (1.0.0) (required)
.... coding S 1..1 Coding Code defined by a terminology system
..... system S 1..1 uri 文書カテゴリコードのコード体系
Fixed Value: http://jpfhir.jp/fhir/Common/CodeSystem/doc-subtypecodes
..... code S 1..1 code 文書カテゴリコード
..... display 0..1 string 文書カテゴリコードの表示名
... subject S 1..1 Reference(JP_Patient_eCS(1.13.0-preR1)) 患者情報を表すPatientリソースへの参照。
.... reference S 1..1 string PatientリソースのfullUrl要素に指定されるUUIDを指定。
... encounter S 1..1 Reference(Encounter) この文書が作成された受診時状況情報を表すEncounterリソースへの参照
... date S 1..1 dateTime Composition editing time
... author S 2..2 Reference(JP_Practitioner_eCS(1.13.0-preR1) | JP_Organization_eCS(1.13.0-preR1)) 文書作成責任者、文書作成機関(診療科拡張あり)への参照。
... title S 1..1 string 人間が読みやすい名前/タイトル。長音文字はUTF8:E383BC、SJIS:815B の文字を使用する。
Fixed Value: 患者サマリー(療養計画書)
... custodian S 0..0 Organization which maintains the composition
... event S 0..0 The clinical service(s) being documented
... section S 1..1 BackboneElement 計画サマリー
.... title S 1..1 string セクションタイトル。長音文字はUTF8:E383BC、SJIS:815B の文字を使用する。
Fixed Value: 計画サマリー
.... code S 1..1 CodeableConcept セクション区分コード
..... coding S 1..1 Coding Code defined by a terminology system
...... system S 1..1 uri セクション区分コードのコード体系
Fixed Value: http://jpfhir.jp/fhir/clins/CodeSystem/document-section
...... code S 1..1 code セクション区分のコード値
Fixed Value: 422
...... display S 0..1 string セクション区分コードの表示名
...... userSelected 0..0 If this coding was chosen directly by the user
..... text 0..0 Plain text representation of the concept
.... author 0..0 Who and/or what authored the section
.... focus 0..0 Who/what the section is about, when it is not about the subject of composition
.... text 0..0 Text summary of the section, for human interpretation
.... mode 0..0 working | snapshot | changes
.... orderedBy 0..0 Order of section entries
.... Slices for entry 2..* Reference(Resource) A reference to data that supports this section
Slice: Unordered, Closed by profile:resolve()
..... entry:carePlan S 1..1 Reference(JP_CarePlan_ePCS(1.13.0-preR1)) 療養計画
..... entry:condition S 1..* Reference(JP_Condition_eCS(1.13.0-preR1)) 傷病名
.... emptyReason 0..0 Why the section is empty
.... section 0..0 Nested Section

doco Documentation for this format
NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. Composition 0..* Composition(4.0.1) A set of resources composed into a single coherent clinical statement with clinical attestation
... id Σ 0..1 id Logical id of this artifact
... meta SΣ 1..1 Meta Metadata about the resource
.... id 0..1 string Unique id for inter-element referencing
.... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
Constraints: ext-1
.... versionId Σ 0..1 id Version specific identifier
.... lastUpdated SΣ 1..1 instant When the resource version last changed
.... source Σ 0..1 uri Identifies where the resource comes from
.... profile SΣ 1..* canonical(StructureDefinition) 準拠しているプロファイルとして次のURLとバージョンを指定する。バージョン指定を省略した場合には、データ受信時点の最新バージョンとみなされる。http://jpfhir.jp/fhir/ePCS/StructureDefinition/JP_Composition_ePCS|x.y.z
.... security Σ 0..* Coding Security Labels applied to this resource
Binding: All Security Labels (extensible): Security Labels from the Healthcare Privacy and Security Classification System.
.... tag Σ 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".
... implicitRules ?!Σ 0..1 uri A set of rules under which this content was created
... language 0..1 code Language of the resource content
Binding: CommonLanguages (preferred): A human language.
Additional BindingsPurpose
AllLanguages Max Binding
... text 0..1 Narrative Text summary of the resource, for human interpretation
This profile does not constrain the narrative in regard to content, language, or traceability to data elements
... contained 0..* Resource Contained, inline Resources
... Slices for extension 1..* Extension Extension
Slice: Unordered, Open by value:url
Constraints: ext-1
.... extension:version S 1..1 (Complex) 文書バージョンを表す拡張
URL: http://hl7.org/fhir/StructureDefinition/composition-clinicaldocument-versionNumber
Constraints: ext-1
..... id 0..1 string Unique id for inter-element referencing
..... extension 0..0 Extension
Slice: Unordered, Open by value:url
Constraints: ext-1
..... url S 1..1 uri "http://hl7.org/fhir/StructureDefinition/composition-clinicaldocument-versionNumber"
..... value[x] S 1..1 string 文書のバージョン番号を表す文字列。
... modifierExtension ?! 0..* Extension Extensions that cannot be ignored
Constraints: ext-1
... identifier SΣ 1..1 Identifier Version-independent identifier for the Composition
.... id 0..1 string Unique id for inter-element referencing
.... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
Constraints: ext-1
.... use ?!Σ 0..1 code usual | official | temp | secondary | old (If known)
Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known .
.... type Σ 0..1 CodeableConcept Description of identifier
Binding: Identifier Type Codes (extensible): A coded type for an identifier that can be used to determine which identifier to use for a specific purpose.
.... system SΣ 1..1 uri 文書リソースIDの名前空間を表すURI。固定値。
Fixed Value: http://jpfhir.jp/fhir/core/IdSystem/resourceInstance-identifier
.... value SΣ 1..1 string 文書リソースID
Example General: 123456
.... period Σ 0..1 Period Time period when id is/was valid for use
.... assigner Σ 0..1 Reference(Organization) Organization that issued id (may be just text)
... status ?!Σ 1..1 code この文書のステータス。
Binding: CompositionStatus (required): The workflow/clinical status of the composition.
Fixed Value: final
... type SΣ 1..1 CodeableConcept 文書区分コード
Binding: JP_valueSet_documentTypeCode (1.0.0) (required)
.... id 0..1 string Unique id for inter-element referencing
.... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
Constraints: ext-1
.... coding SΣ 1..1 Coding Code defined by a terminology system
..... id 0..1 string Unique id for inter-element referencing
..... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
Constraints: ext-1
..... system SΣ 1..1 uri Identity of the terminology system
Fixed Value: http://jpfhir.jp/fhir/Common/CodeSystem/doc-typecodes
..... version Σ 0..1 string Version of the system - if relevant
..... code SΣ 1..1 code Symbol in syntax defined by the system
Fixed Value: 56447-6
..... display Σ 0..1 string 文書区分コードの表示名。
Fixed Value: 計画書
..... userSelected Σ 0..1 boolean If this coding was chosen directly by the user
.... text Σ 0..1 string Plain text representation of the concept
... category SΣ 1..1 CodeableConcept 文書カテゴリーコード
Binding: JP_valueSet_documentSubTypeCode (1.0.0) (required)
.... id 0..1 string Unique id for inter-element referencing
.... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
Constraints: ext-1
.... coding SΣ 1..1 Coding Code defined by a terminology system
..... id 0..1 string Unique id for inter-element referencing
..... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
Constraints: ext-1
..... system SΣ 1..1 uri 文書カテゴリコードのコード体系
Fixed Value: http://jpfhir.jp/fhir/Common/CodeSystem/doc-subtypecodes
..... version Σ 0..1 string Version of the system - if relevant
..... code SΣ 1..1 code 文書カテゴリコード
..... display Σ 0..1 string 文書カテゴリコードの表示名
..... userSelected Σ 0..1 boolean If this coding was chosen directly by the user
.... text Σ 0..1 string Plain text representation of the concept
... subject SΣ 1..1 Reference(JP_Patient_eCS(1.13.0-preR1)) 患者情報を表すPatientリソースへの参照。
.... id 0..1 string Unique id for inter-element referencing
.... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
Constraints: ext-1
.... reference SΣC 1..1 string PatientリソースのfullUrl要素に指定されるUUIDを指定。
.... type Σ 0..1 uri Type the reference refers to (e.g. "Patient")
Binding: ResourceType (extensible): Aa resource (or, for logical models, the URI of the logical model).
.... identifier Σ 0..1 Identifier Logical reference, when literal reference is not known
.... display Σ 0..1 string Text alternative for the resource
... encounter SΣ 1..1 Reference(Encounter) この文書が作成された受診時状況情報を表すEncounterリソースへの参照
... date SΣ 1..1 dateTime Composition editing time
... author SΣ 2..2 Reference(JP_Practitioner_eCS(1.13.0-preR1) | JP_Organization_eCS(1.13.0-preR1)) 文書作成責任者、文書作成機関(診療科拡張あり)への参照。
... title SΣ 1..1 string 人間が読みやすい名前/タイトル。長音文字はUTF8:E383BC、SJIS:815B の文字を使用する。
Fixed Value: 患者サマリー(療養計画書)
... confidentiality Σ 0..1 code As defined by affinity domain
Binding: v3.ConfidentialityClassification (2014-03-26) (required): Codes specifying the level of confidentiality of the composition.
... attester 0..* BackboneElement Attests to accuracy of composition
.... id 0..1 string Unique id for inter-element referencing
.... extension 0..* Extension Additional content defined by implementations
Constraints: ext-1
.... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
Constraints: ext-1
.... mode 1..1 code personal | professional | legal | official
Binding: CompositionAttestationMode (required): The way in which a person authenticated a composition.
.... time 0..1 dateTime When the composition was attested
.... party 0..1 Reference(Patient | RelatedPerson | Practitioner | PractitionerRole | Organization) Who attested the composition
... relatesTo 0..* BackboneElement Relationships to other compositions/documents
.... id 0..1 string Unique id for inter-element referencing
.... extension 0..* Extension Additional content defined by implementations
Constraints: ext-1
.... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
Constraints: ext-1
.... code 1..1 code replaces | transforms | signs | appends
Binding: DocumentRelationshipType (required): The type of relationship between documents.
.... target[x] 1..1 Target of the relationship
..... targetIdentifier Identifier
..... targetReference Reference(Composition)
... section SC 1..1 BackboneElement 計画サマリー
Constraints: cmp-1, cmp-2
.... id 0..1 string Unique id for inter-element referencing
.... extension 0..* Extension Additional content defined by implementations
Constraints: ext-1
.... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
Constraints: ext-1
.... title S 1..1 string セクションタイトル。長音文字はUTF8:E383BC、SJIS:815B の文字を使用する。
Fixed Value: 計画サマリー
.... code S 1..1 CodeableConcept セクション区分コード
Binding: DocumentSectionCodes (example): Classification of a section of a composition/document.
..... id 0..1 string Unique id for inter-element referencing
..... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
Constraints: ext-1
..... coding SΣ 1..1 Coding Code defined by a terminology system
...... id 0..1 string Unique id for inter-element referencing
...... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
Constraints: ext-1
...... system SΣ 1..1 uri セクション区分コードのコード体系
Fixed Value: http://jpfhir.jp/fhir/clins/CodeSystem/document-section
...... version Σ 0..1 string Version of the system - if relevant
...... code SΣ 1..1 code セクション区分のコード値
Fixed Value: 422
...... display SΣ 0..1 string セクション区分コードの表示名
.... Slices for entry C 2..* Reference(Resource) A reference to data that supports this section
Slice: Unordered, Closed by profile:resolve()
..... entry:carePlan SC 1..1 Reference(JP_CarePlan_ePCS(1.13.0-preR1)) 療養計画
..... entry:condition SC 1..* Reference(JP_Condition_eCS(1.13.0-preR1)) 傷病名

doco Documentation for this format

Terminology Bindings

Path Status Usage ValueSet Version Source
Composition.meta.security Base extensible SecurityLabels 📍4.0.1 FHIR Std.
Composition.meta.tag Base example Common Tags 📍4.0.1 FHIR Std.
Composition.language Base preferred Common Languages 📍4.0.1 FHIR Std.
Composition.identifier.​use Base required IdentifierUse 📍4.0.1 FHIR Std.
Composition.identifier.​type Base extensible IdentifierType 📍4.0.1 FHIR Std.
Composition.status Base required CompositionStatus 📍4.0.1 FHIR Std.
Composition.type Base required FHIR文書の文書区分(医療文書) 📍1.0.0 This IG
Composition.category Base required FHIR文書の文書サブ区分(医療文書) 📍1.0.0 This IG
Composition.subject.​type Base extensible ResourceType 📍4.0.1 FHIR Std.
Composition.confidentiality Base required V3 Value SetConfidentialityClassification 📍2014-03-26 FHIR Std.
Composition.attester.​mode Base required CompositionAttestationMode 📍4.0.1 FHIR Std.
Composition.relatesTo.​code Base required DocumentRelationshipType 📍4.0.1 FHIR Std.
Composition.event.code Base example v3 Code System ActCode 📍3.0.0 THO v7.2
Composition.section.​code Base example Document Section Codes 📍4.0.1 FHIR Std.

Constraints

Id Grade Path(s) Description Expression
cmp-1 error Composition.section A section must contain at least one of text, entries, or sub-sections text.exists() or entry.exists() or section.exists()
cmp-2 error Composition.section A section can only have an emptyReason if it is empty emptyReason.empty() or entry.empty()
dom-2 error Composition If the resource is contained in another resource, it SHALL NOT contain nested Resources contained.contained.empty()
dom-3 error Composition 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 Composition 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 Composition If a resource is contained in another resource, it SHALL NOT have a security label contained.meta.security.empty()
dom-6 best practice Composition A resource should have narrative for robust management text.`div`.exists()
ele-1 error Composition.meta, Composition.meta.extension, Composition.meta.versionId, Composition.meta.lastUpdated, Composition.meta.source, Composition.meta.profile, Composition.meta.security, Composition.meta.tag, Composition.implicitRules, Composition.language, Composition.text, Composition.extension, Composition.extension:version, Composition.extension:version.value[x], Composition.modifierExtension, Composition.identifier, Composition.identifier.extension, Composition.identifier.use, Composition.identifier.type, Composition.identifier.system, Composition.identifier.value, Composition.identifier.period, Composition.identifier.assigner, Composition.status, Composition.type, Composition.type.extension, Composition.type.coding, Composition.type.coding.extension, Composition.type.coding.system, Composition.type.coding.version, Composition.type.coding.code, Composition.type.coding.display, Composition.type.coding.userSelected, Composition.type.text, Composition.category, Composition.category.extension, Composition.category.coding, Composition.category.coding.extension, Composition.category.coding.system, Composition.category.coding.version, Composition.category.coding.code, Composition.category.coding.display, Composition.category.coding.userSelected, Composition.category.text, Composition.subject, Composition.subject.extension, Composition.subject.reference, Composition.subject.type, Composition.subject.identifier, Composition.subject.display, Composition.encounter, Composition.date, Composition.author, Composition.title, Composition.confidentiality, Composition.attester, Composition.attester.extension, Composition.attester.modifierExtension, Composition.attester.mode, Composition.attester.time, Composition.attester.party, Composition.relatesTo, Composition.relatesTo.extension, Composition.relatesTo.modifierExtension, Composition.relatesTo.code, Composition.relatesTo.target[x], Composition.event.extension, Composition.event.modifierExtension, Composition.event.code, Composition.event.period, Composition.event.detail, Composition.section, Composition.section.extension, Composition.section.modifierExtension, Composition.section.title, Composition.section.code, Composition.section.code.extension, Composition.section.code.coding, Composition.section.code.coding.extension, Composition.section.code.coding.system, Composition.section.code.coding.version, Composition.section.code.coding.code, Composition.section.code.coding.display, Composition.section.entry, Composition.section.entry:carePlan, Composition.section.entry:condition All FHIR elements must have a @value or children hasValue() or (children().count() > id.count())
ext-1 error Composition.meta.extension, Composition.extension, Composition.extension:version, Composition.modifierExtension, Composition.identifier.extension, Composition.type.extension, Composition.type.coding.extension, Composition.category.extension, Composition.category.coding.extension, Composition.subject.extension, Composition.attester.extension, Composition.attester.modifierExtension, Composition.relatesTo.extension, Composition.relatesTo.modifierExtension, Composition.event.extension, Composition.event.modifierExtension, Composition.section.extension, Composition.section.modifierExtension, Composition.section.code.extension, Composition.section.code.coding.extension Must have either extensions or value[x], not both extension.exists() != value.exists()

Differential View

NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. Composition Composition(4.0.1)
... meta S 1..1 Meta Metadata about the resource
.... lastUpdated S 1..1 instant When the resource version last changed
.... profile S 1..* canonical(StructureDefinition) 準拠しているプロファイルとして次のURLとバージョンを指定する。バージョン指定を省略した場合には、データ受信時点の最新バージョンとみなされる。http://jpfhir.jp/fhir/ePCS/StructureDefinition/JP_Composition_ePCS|x.y.z
... Slices for extension 1..* Extension Extension
Slice: Unordered, Open by value:url
.... extension:version S 1..1 (Complex) 文書バージョンを表す拡張
URL: http://hl7.org/fhir/StructureDefinition/composition-clinicaldocument-versionNumber
..... url S 1..1 uri identifies the meaning of the extension
..... value[x] S 1..1 string 文書のバージョン番号を表す文字列。
... identifier S 1..1 Identifier Version-independent identifier for the Composition
.... system S 1..1 uri 文書リソースIDの名前空間を表すURI。固定値。
Fixed Value: http://jpfhir.jp/fhir/core/IdSystem/resourceInstance-identifier
.... value S 1..1 string 文書リソースID
... status 1..1 code この文書のステータス。
Fixed Value: final
... type S 1..1 CodeableConcept 文書区分コード
Binding: JP_valueSet_documentTypeCode (1.0.0) (required)
.... coding S 1..1 Coding Code defined by a terminology system
..... system S 1..1 uri Identity of the terminology system
Fixed Value: http://jpfhir.jp/fhir/Common/CodeSystem/doc-typecodes
..... code S 1..1 code Symbol in syntax defined by the system
Fixed Value: 56447-6
..... display 0..1 string 文書区分コードの表示名。
Fixed Value: 計画書
... category S 1..1 CodeableConcept 文書カテゴリーコード
Binding: JP_valueSet_documentSubTypeCode (1.0.0) (required)
.... coding S 1..1 Coding Code defined by a terminology system
..... system S 1..1 uri 文書カテゴリコードのコード体系
Fixed Value: http://jpfhir.jp/fhir/Common/CodeSystem/doc-subtypecodes
..... code S 1..1 code 文書カテゴリコード
..... display 0..1 string 文書カテゴリコードの表示名
... subject S 1..1 Reference(JP_Patient_eCS(1.13.0-preR1)) 患者情報を表すPatientリソースへの参照。
.... reference S 1..1 string PatientリソースのfullUrl要素に指定されるUUIDを指定。
... encounter S 1..1 Reference(Encounter) この文書が作成された受診時状況情報を表すEncounterリソースへの参照
... date S 1..1 dateTime Composition editing time
... author S 2..2 Reference(JP_Practitioner_eCS(1.13.0-preR1) | JP_Organization_eCS(1.13.0-preR1)) 文書作成責任者、文書作成機関(診療科拡張あり)への参照。
... title S 1..1 string 人間が読みやすい名前/タイトル。長音文字はUTF8:E383BC、SJIS:815B の文字を使用する。
Fixed Value: 患者サマリー(療養計画書)
... custodian S 0..0 Organization which maintains the composition
... event S 0..0 The clinical service(s) being documented
... section S 1..1 BackboneElement 計画サマリー
.... title S 1..1 string セクションタイトル。長音文字はUTF8:E383BC、SJIS:815B の文字を使用する。
Fixed Value: 計画サマリー
.... code S 1..1 CodeableConcept セクション区分コード
..... coding S 1..1 Coding Code defined by a terminology system
...... system S 1..1 uri セクション区分コードのコード体系
Fixed Value: http://jpfhir.jp/fhir/clins/CodeSystem/document-section
...... code S 1..1 code セクション区分のコード値
Fixed Value: 422
...... display S 0..1 string セクション区分コードの表示名
...... userSelected 0..0 If this coding was chosen directly by the user
..... text 0..0 Plain text representation of the concept
.... author 0..0 Who and/or what authored the section
.... focus 0..0 Who/what the section is about, when it is not about the subject of composition
.... text 0..0 Text summary of the section, for human interpretation
.... mode 0..0 working | snapshot | changes
.... orderedBy 0..0 Order of section entries
.... Slices for entry 2..* Reference(Resource) A reference to data that supports this section
Slice: Unordered, Closed by profile:resolve()
..... entry:carePlan S 1..1 Reference(JP_CarePlan_ePCS(1.13.0-preR1)) 療養計画
..... entry:condition S 1..* Reference(JP_Condition_eCS(1.13.0-preR1)) 傷病名
.... emptyReason 0..0 Why the section is empty
.... section 0..0 Nested Section

doco Documentation for this format

Snapshot View

NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. Composition 0..* Composition(4.0.1) A set of resources composed into a single coherent clinical statement with clinical attestation
... id Σ 0..1 id Logical id of this artifact
... meta SΣ 1..1 Meta Metadata about the resource
.... id 0..1 string Unique id for inter-element referencing
.... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
Constraints: ext-1
.... versionId Σ 0..1 id Version specific identifier
.... lastUpdated SΣ 1..1 instant When the resource version last changed
.... source Σ 0..1 uri Identifies where the resource comes from
.... profile SΣ 1..* canonical(StructureDefinition) 準拠しているプロファイルとして次のURLとバージョンを指定する。バージョン指定を省略した場合には、データ受信時点の最新バージョンとみなされる。http://jpfhir.jp/fhir/ePCS/StructureDefinition/JP_Composition_ePCS|x.y.z
.... security Σ 0..* Coding Security Labels applied to this resource
Binding: All Security Labels (extensible): Security Labels from the Healthcare Privacy and Security Classification System.
.... tag Σ 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".
... implicitRules ?!Σ 0..1 uri A set of rules under which this content was created
... language 0..1 code Language of the resource content
Binding: CommonLanguages (preferred): A human language.
Additional BindingsPurpose
AllLanguages Max Binding
... text 0..1 Narrative Text summary of the resource, for human interpretation
This profile does not constrain the narrative in regard to content, language, or traceability to data elements
... contained 0..* Resource Contained, inline Resources
... Slices for extension 1..* Extension Extension
Slice: Unordered, Open by value:url
Constraints: ext-1
.... extension:version S 1..1 (Complex) 文書バージョンを表す拡張
URL: http://hl7.org/fhir/StructureDefinition/composition-clinicaldocument-versionNumber
Constraints: ext-1
..... id 0..1 string Unique id for inter-element referencing
..... extension 0..0 Extension
Slice: Unordered, Open by value:url
Constraints: ext-1
..... url S 1..1 uri "http://hl7.org/fhir/StructureDefinition/composition-clinicaldocument-versionNumber"
..... value[x] S 1..1 string 文書のバージョン番号を表す文字列。
... modifierExtension ?! 0..* Extension Extensions that cannot be ignored
Constraints: ext-1
... identifier SΣ 1..1 Identifier Version-independent identifier for the Composition
.... id 0..1 string Unique id for inter-element referencing
.... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
Constraints: ext-1
.... use ?!Σ 0..1 code usual | official | temp | secondary | old (If known)
Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known .
.... type Σ 0..1 CodeableConcept Description of identifier
Binding: Identifier Type Codes (extensible): A coded type for an identifier that can be used to determine which identifier to use for a specific purpose.
.... system SΣ 1..1 uri 文書リソースIDの名前空間を表すURI。固定値。
Fixed Value: http://jpfhir.jp/fhir/core/IdSystem/resourceInstance-identifier
.... value SΣ 1..1 string 文書リソースID
Example General: 123456
.... period Σ 0..1 Period Time period when id is/was valid for use
.... assigner Σ 0..1 Reference(Organization) Organization that issued id (may be just text)
... status ?!Σ 1..1 code この文書のステータス。
Binding: CompositionStatus (required): The workflow/clinical status of the composition.
Fixed Value: final
... type SΣ 1..1 CodeableConcept 文書区分コード
Binding: JP_valueSet_documentTypeCode (1.0.0) (required)
.... id 0..1 string Unique id for inter-element referencing
.... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
Constraints: ext-1
.... coding SΣ 1..1 Coding Code defined by a terminology system
..... id 0..1 string Unique id for inter-element referencing
..... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
Constraints: ext-1
..... system SΣ 1..1 uri Identity of the terminology system
Fixed Value: http://jpfhir.jp/fhir/Common/CodeSystem/doc-typecodes
..... version Σ 0..1 string Version of the system - if relevant
..... code SΣ 1..1 code Symbol in syntax defined by the system
Fixed Value: 56447-6
..... display Σ 0..1 string 文書区分コードの表示名。
Fixed Value: 計画書
..... userSelected Σ 0..1 boolean If this coding was chosen directly by the user
.... text Σ 0..1 string Plain text representation of the concept
... category SΣ 1..1 CodeableConcept 文書カテゴリーコード
Binding: JP_valueSet_documentSubTypeCode (1.0.0) (required)
.... id 0..1 string Unique id for inter-element referencing
.... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
Constraints: ext-1
.... coding SΣ 1..1 Coding Code defined by a terminology system
..... id 0..1 string Unique id for inter-element referencing
..... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
Constraints: ext-1
..... system SΣ 1..1 uri 文書カテゴリコードのコード体系
Fixed Value: http://jpfhir.jp/fhir/Common/CodeSystem/doc-subtypecodes
..... version Σ 0..1 string Version of the system - if relevant
..... code SΣ 1..1 code 文書カテゴリコード
..... display Σ 0..1 string 文書カテゴリコードの表示名
..... userSelected Σ 0..1 boolean If this coding was chosen directly by the user
.... text Σ 0..1 string Plain text representation of the concept
... subject SΣ 1..1 Reference(JP_Patient_eCS(1.13.0-preR1)) 患者情報を表すPatientリソースへの参照。
.... id 0..1 string Unique id for inter-element referencing
.... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
Constraints: ext-1
.... reference SΣC 1..1 string PatientリソースのfullUrl要素に指定されるUUIDを指定。
.... type Σ 0..1 uri Type the reference refers to (e.g. "Patient")
Binding: ResourceType (extensible): Aa resource (or, for logical models, the URI of the logical model).
.... identifier Σ 0..1 Identifier Logical reference, when literal reference is not known
.... display Σ 0..1 string Text alternative for the resource
... encounter SΣ 1..1 Reference(Encounter) この文書が作成された受診時状況情報を表すEncounterリソースへの参照
... date SΣ 1..1 dateTime Composition editing time
... author SΣ 2..2 Reference(JP_Practitioner_eCS(1.13.0-preR1) | JP_Organization_eCS(1.13.0-preR1)) 文書作成責任者、文書作成機関(診療科拡張あり)への参照。
... title SΣ 1..1 string 人間が読みやすい名前/タイトル。長音文字はUTF8:E383BC、SJIS:815B の文字を使用する。
Fixed Value: 患者サマリー(療養計画書)
... confidentiality Σ 0..1 code As defined by affinity domain
Binding: v3.ConfidentialityClassification (2014-03-26) (required): Codes specifying the level of confidentiality of the composition.
... attester 0..* BackboneElement Attests to accuracy of composition
.... id 0..1 string Unique id for inter-element referencing
.... extension 0..* Extension Additional content defined by implementations
Constraints: ext-1
.... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
Constraints: ext-1
.... mode 1..1 code personal | professional | legal | official
Binding: CompositionAttestationMode (required): The way in which a person authenticated a composition.
.... time 0..1 dateTime When the composition was attested
.... party 0..1 Reference(Patient | RelatedPerson | Practitioner | PractitionerRole | Organization) Who attested the composition
... relatesTo 0..* BackboneElement Relationships to other compositions/documents
.... id 0..1 string Unique id for inter-element referencing
.... extension 0..* Extension Additional content defined by implementations
Constraints: ext-1
.... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
Constraints: ext-1
.... code 1..1 code replaces | transforms | signs | appends
Binding: DocumentRelationshipType (required): The type of relationship between documents.
.... target[x] 1..1 Target of the relationship
..... targetIdentifier Identifier
..... targetReference Reference(Composition)
... section SC 1..1 BackboneElement 計画サマリー
Constraints: cmp-1, cmp-2
.... id 0..1 string Unique id for inter-element referencing
.... extension 0..* Extension Additional content defined by implementations
Constraints: ext-1
.... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
Constraints: ext-1
.... title S 1..1 string セクションタイトル。長音文字はUTF8:E383BC、SJIS:815B の文字を使用する。
Fixed Value: 計画サマリー
.... code S 1..1 CodeableConcept セクション区分コード
Binding: DocumentSectionCodes (example): Classification of a section of a composition/document.
..... id 0..1 string Unique id for inter-element referencing
..... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
Constraints: ext-1
..... coding SΣ 1..1 Coding Code defined by a terminology system
...... id 0..1 string Unique id for inter-element referencing
...... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
Constraints: ext-1
...... system SΣ 1..1 uri セクション区分コードのコード体系
Fixed Value: http://jpfhir.jp/fhir/clins/CodeSystem/document-section
...... version Σ 0..1 string Version of the system - if relevant
...... code SΣ 1..1 code セクション区分のコード値
Fixed Value: 422
...... display SΣ 0..1 string セクション区分コードの表示名
.... Slices for entry C 2..* Reference(Resource) A reference to data that supports this section
Slice: Unordered, Closed by profile:resolve()
..... entry:carePlan SC 1..1 Reference(JP_CarePlan_ePCS(1.13.0-preR1)) 療養計画
..... entry:condition SC 1..* Reference(JP_Condition_eCS(1.13.0-preR1)) 傷病名

doco Documentation for this format

Terminology Bindings

Path Status Usage ValueSet Version Source
Composition.meta.security Base extensible SecurityLabels 📍4.0.1 FHIR Std.
Composition.meta.tag Base example Common Tags 📍4.0.1 FHIR Std.
Composition.language Base preferred Common Languages 📍4.0.1 FHIR Std.
Composition.identifier.​use Base required IdentifierUse 📍4.0.1 FHIR Std.
Composition.identifier.​type Base extensible IdentifierType 📍4.0.1 FHIR Std.
Composition.status Base required CompositionStatus 📍4.0.1 FHIR Std.
Composition.type Base required FHIR文書の文書区分(医療文書) 📍1.0.0 This IG
Composition.category Base required FHIR文書の文書サブ区分(医療文書) 📍1.0.0 This IG
Composition.subject.​type Base extensible ResourceType 📍4.0.1 FHIR Std.
Composition.confidentiality Base required V3 Value SetConfidentialityClassification 📍2014-03-26 FHIR Std.
Composition.attester.​mode Base required CompositionAttestationMode 📍4.0.1 FHIR Std.
Composition.relatesTo.​code Base required DocumentRelationshipType 📍4.0.1 FHIR Std.
Composition.event.code Base example v3 Code System ActCode 📍3.0.0 THO v7.2
Composition.section.​code Base example Document Section Codes 📍4.0.1 FHIR Std.

Constraints

Id Grade Path(s) Description Expression
cmp-1 error Composition.section A section must contain at least one of text, entries, or sub-sections text.exists() or entry.exists() or section.exists()
cmp-2 error Composition.section A section can only have an emptyReason if it is empty emptyReason.empty() or entry.empty()
dom-2 error Composition If the resource is contained in another resource, it SHALL NOT contain nested Resources contained.contained.empty()
dom-3 error Composition 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 Composition 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 Composition If a resource is contained in another resource, it SHALL NOT have a security label contained.meta.security.empty()
dom-6 best practice Composition A resource should have narrative for robust management text.`div`.exists()
ele-1 error Composition.meta, Composition.meta.extension, Composition.meta.versionId, Composition.meta.lastUpdated, Composition.meta.source, Composition.meta.profile, Composition.meta.security, Composition.meta.tag, Composition.implicitRules, Composition.language, Composition.text, Composition.extension, Composition.extension:version, Composition.extension:version.value[x], Composition.modifierExtension, Composition.identifier, Composition.identifier.extension, Composition.identifier.use, Composition.identifier.type, Composition.identifier.system, Composition.identifier.value, Composition.identifier.period, Composition.identifier.assigner, Composition.status, Composition.type, Composition.type.extension, Composition.type.coding, Composition.type.coding.extension, Composition.type.coding.system, Composition.type.coding.version, Composition.type.coding.code, Composition.type.coding.display, Composition.type.coding.userSelected, Composition.type.text, Composition.category, Composition.category.extension, Composition.category.coding, Composition.category.coding.extension, Composition.category.coding.system, Composition.category.coding.version, Composition.category.coding.code, Composition.category.coding.display, Composition.category.coding.userSelected, Composition.category.text, Composition.subject, Composition.subject.extension, Composition.subject.reference, Composition.subject.type, Composition.subject.identifier, Composition.subject.display, Composition.encounter, Composition.date, Composition.author, Composition.title, Composition.confidentiality, Composition.attester, Composition.attester.extension, Composition.attester.modifierExtension, Composition.attester.mode, Composition.attester.time, Composition.attester.party, Composition.relatesTo, Composition.relatesTo.extension, Composition.relatesTo.modifierExtension, Composition.relatesTo.code, Composition.relatesTo.target[x], Composition.event.extension, Composition.event.modifierExtension, Composition.event.code, Composition.event.period, Composition.event.detail, Composition.section, Composition.section.extension, Composition.section.modifierExtension, Composition.section.title, Composition.section.code, Composition.section.code.extension, Composition.section.code.coding, Composition.section.code.coding.extension, Composition.section.code.coding.system, Composition.section.code.coding.version, Composition.section.code.coding.code, Composition.section.code.coding.display, Composition.section.entry, Composition.section.entry:carePlan, Composition.section.entry:condition All FHIR elements must have a @value or children hasValue() or (children().count() > id.count())
ext-1 error Composition.meta.extension, Composition.extension, Composition.extension:version, Composition.modifierExtension, Composition.identifier.extension, Composition.type.extension, Composition.type.coding.extension, Composition.category.extension, Composition.category.coding.extension, Composition.subject.extension, Composition.attester.extension, Composition.attester.modifierExtension, Composition.relatesTo.extension, Composition.relatesTo.modifierExtension, Composition.event.extension, Composition.event.modifierExtension, Composition.section.extension, Composition.section.modifierExtension, Composition.section.code.extension, Composition.section.code.coding.extension Must have either extensions or value[x], not both extension.exists() != value.exists()

 

Other representations of profile: CSV, Excel, Schematron