SEAMAT2FHIR ドラフト版
0.1.1 - draft
Japan
Publish Box goes here
| 項目 | 内容 |
| 定義URL | http://jpfhir.jp/fhir/SEAMAT/StructureDefinition/JP_DocumentReference_SEAMAT |
| Version | 0.1.1 |
| Name | JP_DocumentReference_SEAMAT |
| Title | SEAMAT Common DocumentReference Profile |
| Status | Active ( 2023-11-13 ) |
| Copyright | Copyright (temporaly) by SIP D1 SEAMAT2FHIR WG, CC(Creative Commons license) BY-ND CC表示・改変禁止 |
このプロファイルはDocumentReferenceリソースに対して、SEAMAT共通の外部参照のドキュメントデータを送受信するための共通の制約と拡張を定めたものである。
Usage:
This structure is derived from JP_DocumentReference
| Name | Flags | Card. | Type | Description & Constraints![]() |
|---|---|---|---|---|
![]() |
C | 0..* | JP_DocumentReference | ドキュメントへの参照 / A reference to a document documentreference-metaprofile: meta.profileには、指定したプロファイルのURLの記述が存在しなければならない。 |
![]() ![]() |
||||
![]() ![]() ![]() |
1..1 | instant | リソースのバージョンが最後に変更されたとき | |
![]() ![]() ![]() |
S | 1..* | canonical(StructureDefinition) | このリソースが適合を主張するプロファイル |
![]() ![]() |
0..0 | |||
![]() ![]() |
S | 0..* | Identifier | ドキュメントの他の識別子 / Other identifiers for the document Slice: Unordered, Open by value:system |
![]() ![]() ![]() |
S | 0..1 | Identifier | ドキュメントの他の識別子 / Other identifiers for the document |
![]() ![]() ![]() ![]() |
1..1 | uri | 識別子値の名前空間 / The namespace for the identifier value Fixed Value: http://jpfhir.jp/fhir/core/IdSystem/resourceInstance-identifier | |
![]() ![]() ![]() ![]() |
S | 1..1 | string | 一意の値 / The value that is unique |
![]() ![]() |
1..1 | code | 電流|スーパー付き|エラーに入った / current | superseded | entered-in-error Fixed Value: current | |
![]() ![]() |
0..1 | code | 予備|ファイナル|修正|エラーに入った / preliminary | final | amended | entered-in-error Fixed Value: final | |
![]() ![]() |
S | 0..1 | CodeableConcept | ドキュメントの種類(可能であれば泡) / Kind of document (LOINC if possible) |
![]() ![]() |
0..1 | Reference(SEAMAT Common Patient Profile) | 誰/文書の主題は何ですか / Who/what is the subject of the document | |
![]() ![]() |
||||
![]() ![]() ![]() |
||||
![]() ![]() ![]() ![]() |
S | 0..1 | code | コンテンツのMIMEタイプ、文字セットなど。 |
![]() ![]() ![]() ![]() |
S | 1..1 | base64Binary | データインライン、Base64化された |
![]() ![]() ![]() ![]() |
S | 0..1 | url | データが見つかる場所の売り手 (Data ga mitsukaru basho no urite) |
![]() ![]() ![]() ![]() |
S | 0..1 | base64Binary | データのハッシュ(sha-1、base64化) |
![]() ![]() ![]() |
S | 0..1 | Coding | ドキュメントのフォーマット/コンテンツルール / Format/content rules for the document |
Documentation for this format | ||||
| Name | Flags | Card. | Type | Description & Constraints![]() | ||||
|---|---|---|---|---|---|---|---|---|
![]() |
C | 0..* | JP_DocumentReference | ドキュメントへの参照 / A reference to a document documentreference-metaprofile: meta.profileには、指定したプロファイルのURLの記述が存在しなければならない。 | ||||
![]() ![]() |
Σ | 0..1 | id | このアーティファクトの論理ID / Logical id of this artifact | ||||
![]() ![]() |
Σ | 0..1 | Meta | リソースに関するメタデータ / Metadata about the resource | ||||
![]() ![]() ![]() |
0..1 | string | エレメント相互参照のためのユニークID | |||||
![]() ![]() ![]() |
0..* | Extension | 実装によって定義される追加コンテンツ Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() |
Σ | 0..1 | id | バージョン固有の識別子 (Baajon koyū no shikibetsu-shi) | ||||
![]() ![]() ![]() |
SΣ | 1..1 | instant | リソースのバージョンが最後に変更されたとき | ||||
![]() ![]() ![]() |
Σ | 0..1 | uri | 「リソースがどこから来たかを特定する」(Risōsu ga doko kara kita ka o tokutei suru) | ||||
![]() ![]() ![]() |
SΣ | 1..* | canonical(StructureDefinition) | このリソースが適合を主張するプロファイル | ||||
![]() ![]() ![]() |
Σ | 0..* | Coding | このリソースに適用されたセキュリティラベル Binding: All Security Labels (extensible): 医療プライバシーおよびセキュリティ分類システムからのセキュリティラベル。 | ||||
![]() ![]() ![]() |
Σ | 0..* | Coding | このリソースに適用されたタグ Binding: CommonTags (example): 様々なタグを表すコードで、一般的にはワークフローに関連しています。例:「ジョーンズ博士によるレビューが必要です」。 | ||||
![]() ![]() |
?!Σ | 0..1 | uri | このコンテンツが作成されたルールのセット / A set of rules under which this content was created | ||||
![]() ![]() |
0..1 | code | リソースコンテンツの言語 / Language of the resource content Binding: CommonLanguages (preferred): 人間の言語。 / A human language.
| |||||
![]() ![]() |
0..1 | Narrative | 人間の解釈のためのリソースのテキスト概要 / Text summary of the resource, for human interpretation | |||||
![]() ![]() |
0..* | Resource | インラインリソースが含まれています / Contained, inline Resources | |||||
![]() ![]() |
0..* | Extension | 実装で定義された追加のコンテンツ / Additional content defined by implementations | |||||
![]() ![]() |
?! | 0..* | Extension | 無視できない拡張機能 / Extensions that cannot be ignored | ||||
![]() ![]() |
SΣ | 0..* | Identifier | ドキュメントの他の識別子 / Other identifiers for the document Slice: Unordered, Open by value:system | ||||
![]() ![]() ![]() |
SΣ | 0..1 | Identifier | ドキュメントの他の識別子 / Other identifiers for the document | ||||
![]() ![]() ![]() ![]() |
0..1 | string | 要素間参照のための一意のID / Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() |
0..* | Extension | 実装で定義された追加のコンテンツ / Additional content defined by implementations Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() ![]() |
?!Σ | 0..1 | code | 通常|公式|一時的|セカンダリ|古い(知られている場合) / usual | official | temp | secondary | old (If known) Binding: IdentifierUse (required): 既知の場合、この識別子の目的を識別します。 / Identifies the purpose for this identifier, if known . | ||||
![]() ![]() ![]() ![]() |
Σ | 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. | ||||
![]() ![]() ![]() ![]() |
Σ | 1..1 | uri | 識別子値の名前空間 / The namespace for the identifier value Fixed Value: http://jpfhir.jp/fhir/core/IdSystem/resourceInstance-identifier | ||||
![]() ![]() ![]() ![]() |
SΣ | 1..1 | string | 一意の値 / The value that is unique | ||||
![]() ![]() ![]() ![]() |
Σ | 0..1 | Period | IDが使用に有効だった時間期間 / Time period when id is/was valid for use | ||||
![]() ![]() ![]() ![]() |
Σ | 0..1 | Reference(Organization) | IDを発行した組織(単なるテキストである可能性があります) / Organization that issued id (may be just text) | ||||
![]() ![]() |
?!Σ | 1..1 | code | 電流|スーパー付き|エラーに入った / current | superseded | entered-in-error Binding: DocumentReferenceStatus (required): ドキュメント参照のステータス。 / The status of the document reference. Fixed Value: current | ||||
![]() ![]() |
Σ | 0..1 | code | 予備|ファイナル|修正|エラーに入った / preliminary | final | amended | entered-in-error Binding: CompositionStatus (required): 基礎となる文書のステータス。 / Status of the underlying document. Fixed Value: final | ||||
![]() ![]() |
SΣ | 0..1 | CodeableConcept | ドキュメントの種類(可能であれば泡) / Kind of document (LOINC if possible) Binding: DocumentTypeValueSet (preferred): 正確なタイプの臨床文書。 / Precise type of clinical document. | ||||
![]() ![]() |
Σ | 0..* | CodeableConcept | ドキュメントの分類 / Categorization of document Binding: DocumentClassValueSet (example): マクロレベルでの高レベルの臨床文書。 / High-level kind of a clinical document at a macro level. | ||||
![]() ![]() |
Σ | 0..1 | Reference(SEAMAT Common Patient Profile) | 誰/文書の主題は何ですか / Who/what is the subject of the document | ||||
![]() ![]() |
Σ | 0..1 | instant | このドキュメント参照が作成されたとき / When this document reference was created | ||||
![]() ![]() |
Σ | 0..* | Reference(Practitioner | PractitionerRole | Organization | Device | Patient | RelatedPerson) | 誰と/または何が文書を作成したか / Who and/or what authored the document | ||||
![]() ![]() |
0..1 | Reference(Practitioner | PractitionerRole | Organization) | 誰/何がドキュメントを認証したのか / Who/what authenticated the document | |||||
![]() ![]() |
0..1 | Reference(Organization) | ドキュメントを維持する組織 / Organization which maintains the document | |||||
![]() ![]() |
Σ | 0..* | BackboneElement | 他のドキュメントとの関係 / Relationships to other documents | ||||
![]() ![]() ![]() |
0..1 | string | 要素間参照のための一意のID / Unique id for inter-element referencing | |||||
![]() ![]() ![]() |
0..* | Extension | 実装で定義された追加のコンテンツ / Additional content defined by implementations | |||||
![]() ![]() ![]() |
?!Σ | 0..* | Extension | 認識されていなくても無視できない拡張機能 / Extensions that cannot be ignored even if unrecognized | ||||
![]() ![]() ![]() |
Σ | 1..1 | code | 交換|変換|サイン|追加 / replaces | transforms | signs | appends Binding: DocumentRelationshipType (required): ドキュメント間の関係のタイプ。 / The type of relationship between documents. | ||||
![]() ![]() ![]() |
Σ | 1..1 | Reference(DocumentReference) | 関係のターゲット / Target of the relationship | ||||
![]() ![]() |
Σ | 0..1 | string | 人間読み取り可能な説明 / Human-readable description | ||||
![]() ![]() |
Σ | 0..* | CodeableConcept | ドキュメントセキュリティタグ / Document security-tags Binding: All Security Labels (extensible): ヘルスケアプライバシーとセキュリティ分類システムからのセキュリティラベル。 / Security Labels from the Healthcare Privacy and Security Classification System. | ||||
![]() ![]() |
Σ | 1..* | BackboneElement | 参照されたドキュメント / Document referenced | ||||
![]() ![]() ![]() |
0..1 | string | 要素間参照のための一意のID / Unique id for inter-element referencing | |||||
![]() ![]() ![]() |
0..* | Extension | 実装で定義された追加のコンテンツ / Additional content defined by implementations | |||||
![]() ![]() ![]() |
?!Σ | 0..* | Extension | 認識されていなくても無視できない拡張機能 / Extensions that cannot be ignored even if unrecognized | ||||
![]() ![]() ![]() |
Σ | 1..1 | Attachment | ドキュメントにアクセスする場所 / Where to access the document | ||||
![]() ![]() ![]() ![]() |
0..1 | string | エレメント相互参照のためのユニークID | |||||
![]() ![]() ![]() ![]() |
0..* | Extension | 実装によって定義される追加コンテンツ Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() ![]() |
SΣ | 0..1 | code | コンテンツのMIMEタイプ、文字セットなど。 Binding: Mime Types (required): 添付ファイルのMIMEタイプ。有効なMIMEタイプはすべて許可されています。 Example General: text/plain; charset=UTF-8, image/png | ||||
![]() ![]() ![]() ![]() |
Σ | 0..1 | code | コンテンツの人間の言語(BCP-47) Binding: CommonLanguages (preferred): 「人間の言語。」
Example General: en-AU | ||||
![]() ![]() ![]() ![]() |
S | 1..1 | base64Binary | データインライン、Base64化された | ||||
![]() ![]() ![]() ![]() |
SΣ | 0..1 | url | データが見つかる場所の売り手 (Data ga mitsukaru basho no urite) Example General: http://www.acme.com/logo-small.png | ||||
![]() ![]() ![]() ![]() |
Σ | 0..1 | unsignedInt | コンテンツのバイト数(URLが提供された場合) | ||||
![]() ![]() ![]() ![]() |
SΣ | 0..1 | base64Binary | データのハッシュ(sha-1、base64化) | ||||
![]() ![]() ![]() ![]() |
Σ | 0..1 | string | データの代わりに表示するラベル Example General: Official Corporate Logo | ||||
![]() ![]() ![]() ![]() |
Σ | 0..1 | dateTime | 日付の添付ファイルが最初に作成された | ||||
![]() ![]() ![]() |
SΣ | 0..1 | Coding | ドキュメントのフォーマット/コンテンツルール / Format/content rules for the document Binding: DocumentReferenceFormatCodeSet (preferred): ドキュメント形式コード。 / Document Format Codes. | ||||
![]() ![]() |
Σ | 0..1 | BackboneElement | 文書の臨床コンテキスト / Clinical context of document | ||||
![]() ![]() ![]() |
0..1 | string | 要素間参照のための一意のID / Unique id for inter-element referencing | |||||
![]() ![]() ![]() |
0..* | Extension | 実装で定義された追加のコンテンツ / Additional content defined by implementations | |||||
![]() ![]() ![]() |
?!Σ | 0..* | Extension | 認識されていなくても無視できない拡張機能 / Extensions that cannot be ignored even if unrecognized | ||||
![]() ![]() ![]() |
0..* | Reference(Encounter | EpisodeOfCare) | ドキュメントコンテンツのコンテキスト / Context of the document content | |||||
![]() ![]() ![]() |
0..* | CodeableConcept | 主な臨床行為が文書化されています / Main clinical acts documented Binding: v3 Code System ActCode (example): このコードのリストは、文書化されている主要な臨床行為を表しています。 / This list of codes represents the main clinical acts being documented. | |||||
![]() ![]() ![]() |
Σ | 0..1 | Period | 文書化されているサービス時間 / Time of service that is being documented | ||||
![]() ![]() ![]() |
0..1 | CodeableConcept | 患者が見られたような施設 / Kind of facility where patient was seen Binding: FacilityTypeCodeValueSet (example): XDS施設タイプ。 / XDS Facility Type. | |||||
![]() ![]() ![]() |
0..1 | CodeableConcept | コンテンツが作成された場所に関する追加の詳細(臨床専門分野など) / Additional details about where the content was created (e.g. clinical specialty) Binding: PracticeSettingCodeValueSet (example): コンテンツが作成された場所に関する追加の詳細(臨床専門分野など)。 / Additional details about where the content was created (e.g. clinical specialty). | |||||
![]() ![]() ![]() |
0..1 | Reference(Patient) | ソースからの患者の人口統計 / Patient demographics from source | |||||
![]() ![]() ![]() |
0..* | Reference(Resource) | 関連する識別子またはリソース / Related identifiers or resources | |||||
Documentation for this format | ||||||||
Terminology バインディング
| Path | Conformance | ValueSet / Code | URI | |||
| DocumentReference.meta.security | extensible | All Security Labelshttp://hl7.org/fhir/ValueSet/security-labelsfrom the FHIR Standard | ||||
| DocumentReference.meta.tag | example | CommonTagshttp://hl7.org/fhir/ValueSet/common-tagsfrom the FHIR Standard | ||||
| DocumentReference.language | preferred | CommonLanguages
http://hl7.org/fhir/ValueSet/languagesfrom the FHIR Standard | ||||
| DocumentReference.identifier:resourceId.use | required | IdentifierUsehttp://hl7.org/fhir/ValueSet/identifier-use|4.0.1from the FHIR Standard | ||||
| DocumentReference.identifier:resourceId.type | extensible | Identifier Type Codeshttp://hl7.org/fhir/ValueSet/identifier-typefrom the FHIR Standard | ||||
| DocumentReference.status | required | Fixed Value: currenthttp://hl7.org/fhir/ValueSet/document-reference-status|4.0.1from the FHIR Standard | ||||
| DocumentReference.docStatus | required | Fixed Value: finalhttp://hl7.org/fhir/ValueSet/composition-status|4.0.1from the FHIR Standard | ||||
| DocumentReference.type | preferred | DocumentTypeValueSethttp://hl7.org/fhir/ValueSet/c80-doc-typecodesfrom the FHIR Standard | ||||
| DocumentReference.category | example | DocumentClassValueSethttp://hl7.org/fhir/ValueSet/document-classcodesfrom the FHIR Standard | ||||
| DocumentReference.relatesTo.code | required | DocumentRelationshipTypehttp://hl7.org/fhir/ValueSet/document-relationship-type|4.0.1from the FHIR Standard | ||||
| DocumentReference.securityLabel | extensible | All Security Labelshttp://hl7.org/fhir/ValueSet/security-labelsfrom the FHIR Standard | ||||
| DocumentReference.content.attachment.contentType | required | Mime Typeshttp://hl7.org/fhir/ValueSet/mimetypes|4.0.1from the FHIR Standard | ||||
| DocumentReference.content.attachment.language | preferred | CommonLanguages
http://hl7.org/fhir/ValueSet/languagesfrom the FHIR Standard | ||||
| DocumentReference.content.format | preferred | DocumentReferenceFormatCodeSet (a valid code from http://ihe.net/fhir/ValueSet/IHE.FormatCode.codesystem)http://hl7.org/fhir/ValueSet/formatcodesfrom the FHIR Standard | ||||
| DocumentReference.context.event | example | ActCodehttp://terminology.hl7.org/ValueSet/v3-ActCode | ||||
| DocumentReference.context.facilityType | example | FacilityTypeCodeValueSethttp://hl7.org/fhir/ValueSet/c80-facilitycodesfrom the FHIR Standard | ||||
| DocumentReference.context.practiceSetting | example | PracticeSettingCodeValueSethttp://hl7.org/fhir/ValueSet/c80-practice-codesfrom the FHIR Standard |
Constraints
| Id | Grade | Path(s) | Details | Requirements |
| documentreference-metaprofile | error | DocumentReference | meta.profileには、指定したプロファイルのURLの記述が存在しなければならない。 : meta.profile.where($this = 'http://jpfhir.jp/fhir/SEAMAT/StructureDefinition/JP_DocumentReference_SEAMAT').exists() | |
| dom-2 | error | DocumentReference | リソースが別のリソースに含まれている場合、ネストされたリソースを含めてはなりません / If the resource is contained in another resource, it SHALL NOT contain nested Resources : contained.contained.empty() | |
| dom-3 | error | DocumentReference | リソースが別のリソースに含まれている場合、それはリソースの他の場所から参照されるか、含有リソースを参照するものとします / 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 | DocumentReference | リソースが別のリソースに含まれている場合、meta.versionidまたはmeta.lastupdatedを持たないものとします / 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 | DocumentReference | 別のリソースにリソースが含まれている場合、セキュリティラベルはありません / If a resource is contained in another resource, it SHALL NOT have a security label : contained.meta.security.empty() | |
| dom-6 | best practice | DocumentReference | リソースには、堅牢な管理のための叙述(Narative)が必要です / A resource should have narrative for robust management : text.`div`.exists() | |
| ele-1 | error | **ALL** elements | すべてのFHIR要素には、@valueまたは子供が必要です / All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
| ext-1 | error | **ALL** extensions | 拡張機能または値[x]のいずれかが必要です。両方ではありません。 : extension.exists() != value.exists() |