HL7 Vietnam VN Core FHIR Implementation Guide

Bộ Hướng dẫn Triển khai Core FHIR cho Việt Nam
0.3.0 - STU1 Draft Viet Nam cờ

Bộ Hướng dẫn Triển khai Core FHIR cho Việt Nam - Local Development build (v0.3.0) built by the FHIR (HL7® FHIR® Standard) Build Tools. See the Directory of published versions

Hồ sơ tài nguyên: Nguồn gốc dữ liệu và chữ ký số VN Core — VN Core Provenance Profile

URL chính thức: http://fhir.hl7.org.vn/core/StructureDefinition/vn-core-provenance Phiên bản: 0.3.0
Computable Name: VNCoreProvenance

Profile Provenance cho Việt Nam. Dùng để ghi nhận nguồn gốc tài liệu/hồ sơ y tế, tác nhân tạo lập/xác nhận, và chữ ký số. Căn cứ: TT 13/2025/TT-BYT, NĐ 137/2024/NĐ-CP, Luật Bảo vệ dữ liệu cá nhân 91/2025/QH15.

Usages:

You can also check for usages in the FHIR IG Statistics

Các dạng xem hình thức của nội dung hồ sơ

Mô tả profile, differential, snapshot và các biểu diễn liên quan.

NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. Provenance 0..* Provenance Who, What, When for a set of resources
... implicitRules ?!Σ 0..1 uri A set of rules under which this content was created
... modifierExtension ?! 0..* Extension Extensions that cannot be ignored
... target SΣ 1..* Reference(Resource) Tài nguyên đích được xác nhận
... policy S 0..* uri Chính sách/quy định tham chiếu
... reason S 0..* CodeableConcept Mục đích nghiệp vụ hoặc pháp lý
Binding: Mục đích xử lý dữ liệu y tế — VN Consent Purpose ValueSet (extensible)
... activity S 0..1 CodeableConcept Hoạt động tạo lập/xác nhận dữ liệu
Binding: ProvenanceActivityType (extensible): The activity that took place.
... agent S 1..* BackboneElement Tác nhân chịu trách nhiệm
.... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
.... who SΣ 1..1 Reference(Practitioner | PractitionerRole | RelatedPerson | Patient | Device | Organization) Người hoặc hệ thống chịu trách nhiệm
.... onBehalfOf S 0..1 Reference(Practitioner | PractitionerRole | RelatedPerson | Patient | Device | Organization) Tổ chức thay mặt
... entity S 0..* BackboneElement Nguồn dữ liệu hoặc tài liệu đầu vào
.... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
.... role SΣ 1..1 code Vai trò của nguồn
Binding: ProvenanceEntityRole (required): How an entity was used in an activity.
.... what SΣ 1..1 Reference(Resource) Tài nguyên nguồn
... signature S 0..* Signature Chữ ký số/điện tử gắn với provenance
.... type SΣ 1..* Coding Indication of the reason the entity signed the object(s)
Binding: SignatureTypeCodes (preferred): An indication of the reason that an entity signed the object.
.... when SΣ 1..1 instant When the signature was created
.... who SΣ 1..1 Reference(Practitioner | PractitionerRole | RelatedPerson | Patient | Device | Organization) Who signed
.... onBehalfOf SΣ 0..1 Reference(Practitioner | PractitionerRole | RelatedPerson | Patient | Device | Organization) The party represented
.... targetFormat S 0..1 code The technical format of the signed resources
Binding: Mime Types (required): The mime type of an attachment. Any valid mime type is allowed.
.... sigFormat S 0..1 code The technical format of the signature
Binding: Mime Types (required): The mime type of an attachment. Any valid mime type is allowed.

doco Documentation for this format

Terminology Bindings

Path Status Usage ValueSet Version Source
Provenance.reason Base extensible Mục đích xử lý dữ liệu y tế — VN Consent Purpose ValueSet 📦0.3.0 This IG
Provenance.activity Base extensible Provenance activity type 📍4.0.1 FHIR Std.
Provenance.entity.role Base required ProvenanceEntityRole 📍4.0.1 FHIR Std.
Provenance.signature.​type Base preferred Signature Type Codes 📍4.0.1 FHIR Std.
Provenance.signature.​targetFormat Base required MimeType 📍4.0.1 FHIR Std.
Provenance.signature.​sigFormat Base required MimeType 📍4.0.1 FHIR Std.

Constraints

Id Grade Path(s) Description Expression
dom-2 error Provenance If the resource is contained in another resource, it SHALL NOT contain nested Resources contained.contained.empty()
dom-3 error Provenance 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 Provenance 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 Provenance If a resource is contained in another resource, it SHALL NOT have a security label contained.meta.security.empty()
dom-6 best practice Provenance 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()

NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. Provenance 0..* Provenance Who, What, When for a set of resources
... target S 1..* Reference(Resource) Tài nguyên đích được xác nhận
... recorded S 1..1 instant Thời điểm ghi nhận provenance
... policy S 0..* uri Chính sách/quy định tham chiếu
... activity S 0..1 CodeableConcept Hoạt động tạo lập/xác nhận dữ liệu
... agent S 1..* BackboneElement Tác nhân chịu trách nhiệm
.... who S 1..1 Reference(Practitioner | PractitionerRole | RelatedPerson | Patient | Device | Organization) Người hoặc hệ thống chịu trách nhiệm
.... onBehalfOf S 0..1 Reference(Practitioner | PractitionerRole | RelatedPerson | Patient | Device | Organization) Tổ chức thay mặt
... entity S 0..* BackboneElement Nguồn dữ liệu hoặc tài liệu đầu vào
.... role S 1..1 code Vai trò của nguồn
.... what S 1..1 Reference(Resource) Tài nguyên nguồn
... signature S 0..* Signature Chữ ký số/điện tử gắn với provenance
.... type S 1..* Coding Indication of the reason the entity signed the object(s)
.... when S 1..1 instant When the signature was created
.... who S 1..1 Reference(Practitioner | PractitionerRole | RelatedPerson | Patient | Device | Organization) Who signed
.... onBehalfOf S 0..1 Reference(Practitioner | PractitionerRole | RelatedPerson | Patient | Device | Organization) The party represented
.... targetFormat S 0..1 code The technical format of the signed resources
.... sigFormat S 0..1 code The technical format of the signature

doco Documentation for this format

Terminology Bindings (Differential)

Path Status Usage ValueSet Version Source
Provenance.reason Base extensible Mục đích xử lý dữ liệu y tế — VN Consent Purpose ValueSet 📦0.3.0 This IG
NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. Provenance 0..* Provenance Who, What, When for a set of resources
... id Σ 0..1 id Logical id of this artifact
... meta Σ 0..1 Meta Metadata about the resource
... implicitRules ?!Σ 0..1 uri A set of rules under which this content was created
... 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
... extension 0..* Extension Additional content defined by implementations
... modifierExtension ?! 0..* Extension Extensions that cannot be ignored
... target SΣ 1..* Reference(Resource) Tài nguyên đích được xác nhận
... occurred[x] 0..1 When the activity occurred
.... occurredPeriod Period
.... occurredDateTime dateTime
... recorded SΣ 1..1 instant Thời điểm ghi nhận provenance
... policy S 0..* uri Chính sách/quy định tham chiếu
... location 0..1 Reference(Location) Where the activity occurred, if relevant
... reason S 0..* CodeableConcept Mục đích nghiệp vụ hoặc pháp lý
Binding: Mục đích xử lý dữ liệu y tế — VN Consent Purpose ValueSet (extensible)
... activity S 0..1 CodeableConcept Hoạt động tạo lập/xác nhận dữ liệu
Binding: ProvenanceActivityType (extensible): The activity that took place.
... agent S 1..* BackboneElement Tác nhân chịu trách nhiệm
.... id 0..1 string Unique id for inter-element referencing
.... extension 0..* Extension Additional content defined by implementations
.... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
.... type Σ 0..1 CodeableConcept How the agent participated
Binding: ProvenanceParticipantType (extensible): The type of participation that a provenance agent played with respect to the activity.
.... role 0..* CodeableConcept What the agents role was
Binding: SecurityRoleType (example): The role that a provenance agent played with respect to the activity.
.... who SΣ 1..1 Reference(Practitioner | PractitionerRole | RelatedPerson | Patient | Device | Organization) Người hoặc hệ thống chịu trách nhiệm
.... onBehalfOf S 0..1 Reference(Practitioner | PractitionerRole | RelatedPerson | Patient | Device | Organization) Tổ chức thay mặt
... entity S 0..* BackboneElement Nguồn dữ liệu hoặc tài liệu đầu vào
.... id 0..1 string Unique id for inter-element referencing
.... extension 0..* Extension Additional content defined by implementations
.... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
.... role SΣ 1..1 code Vai trò của nguồn
Binding: ProvenanceEntityRole (required): How an entity was used in an activity.
.... what SΣ 1..1 Reference(Resource) Tài nguyên nguồn
.... agent 0..* See agent (Provenance) Entity is attributed to this agent
... signature S 0..* Signature Chữ ký số/điện tử gắn với provenance
.... id 0..1 string Unique id for inter-element referencing
.... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
.... type SΣ 1..* Coding Indication of the reason the entity signed the object(s)
Binding: SignatureTypeCodes (preferred): An indication of the reason that an entity signed the object.
.... when SΣ 1..1 instant When the signature was created
.... who SΣ 1..1 Reference(Practitioner | PractitionerRole | RelatedPerson | Patient | Device | Organization) Who signed
.... onBehalfOf SΣ 0..1 Reference(Practitioner | PractitionerRole | RelatedPerson | Patient | Device | Organization) The party represented
.... targetFormat S 0..1 code The technical format of the signed resources
Binding: Mime Types (required): The mime type of an attachment. Any valid mime type is allowed.
.... sigFormat S 0..1 code The technical format of the signature
Binding: Mime Types (required): The mime type of an attachment. Any valid mime type is allowed.
.... data 0..1 base64Binary The actual signature content (XML DigSig. JWS, picture, etc.)

doco Documentation for this format

Terminology Bindings

Path Status Usage ValueSet Version Source
Provenance.language Base preferred Common Languages 📍4.0.1 FHIR Std.
Provenance.reason Base extensible Mục đích xử lý dữ liệu y tế — VN Consent Purpose ValueSet 📦0.3.0 This IG
Provenance.activity Base extensible Provenance activity type 📍4.0.1 FHIR Std.
Provenance.agent.type Base extensible Provenance participant type 📍4.0.1 FHIR Std.
Provenance.agent.role Base example SecurityRoleType 📍4.0.1 FHIR Std.
Provenance.entity.role Base required ProvenanceEntityRole 📍4.0.1 FHIR Std.
Provenance.signature.​type Base preferred Signature Type Codes 📍4.0.1 FHIR Std.
Provenance.signature.​targetFormat Base required MimeType 📍4.0.1 FHIR Std.
Provenance.signature.​sigFormat Base required MimeType 📍4.0.1 FHIR Std.

Constraints

Id Grade Path(s) Description Expression
dom-2 error Provenance If the resource is contained in another resource, it SHALL NOT contain nested Resources contained.contained.empty()
dom-3 error Provenance 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 Provenance 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 Provenance If a resource is contained in another resource, it SHALL NOT have a security label contained.meta.security.empty()
dom-6 best practice Provenance 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()

Summary

Must-Support: 18 elements

Dạng xem phần tử chính

NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. Provenance 0..* Provenance Who, What, When for a set of resources
... implicitRules ?!Σ 0..1 uri A set of rules under which this content was created
... modifierExtension ?! 0..* Extension Extensions that cannot be ignored
... target SΣ 1..* Reference(Resource) Tài nguyên đích được xác nhận
... policy S 0..* uri Chính sách/quy định tham chiếu
... reason S 0..* CodeableConcept Mục đích nghiệp vụ hoặc pháp lý
Binding: Mục đích xử lý dữ liệu y tế — VN Consent Purpose ValueSet (extensible)
... activity S 0..1 CodeableConcept Hoạt động tạo lập/xác nhận dữ liệu
Binding: ProvenanceActivityType (extensible): The activity that took place.
... agent S 1..* BackboneElement Tác nhân chịu trách nhiệm
.... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
.... who SΣ 1..1 Reference(Practitioner | PractitionerRole | RelatedPerson | Patient | Device | Organization) Người hoặc hệ thống chịu trách nhiệm
.... onBehalfOf S 0..1 Reference(Practitioner | PractitionerRole | RelatedPerson | Patient | Device | Organization) Tổ chức thay mặt
... entity S 0..* BackboneElement Nguồn dữ liệu hoặc tài liệu đầu vào
.... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
.... role SΣ 1..1 code Vai trò của nguồn
Binding: ProvenanceEntityRole (required): How an entity was used in an activity.
.... what SΣ 1..1 Reference(Resource) Tài nguyên nguồn
... signature S 0..* Signature Chữ ký số/điện tử gắn với provenance
.... type SΣ 1..* Coding Indication of the reason the entity signed the object(s)
Binding: SignatureTypeCodes (preferred): An indication of the reason that an entity signed the object.
.... when SΣ 1..1 instant When the signature was created
.... who SΣ 1..1 Reference(Practitioner | PractitionerRole | RelatedPerson | Patient | Device | Organization) Who signed
.... onBehalfOf SΣ 0..1 Reference(Practitioner | PractitionerRole | RelatedPerson | Patient | Device | Organization) The party represented
.... targetFormat S 0..1 code The technical format of the signed resources
Binding: Mime Types (required): The mime type of an attachment. Any valid mime type is allowed.
.... sigFormat S 0..1 code The technical format of the signature
Binding: Mime Types (required): The mime type of an attachment. Any valid mime type is allowed.

doco Documentation for this format

Terminology Bindings

Path Status Usage ValueSet Version Source
Provenance.reason Base extensible Mục đích xử lý dữ liệu y tế — VN Consent Purpose ValueSet 📦0.3.0 This IG
Provenance.activity Base extensible Provenance activity type 📍4.0.1 FHIR Std.
Provenance.entity.role Base required ProvenanceEntityRole 📍4.0.1 FHIR Std.
Provenance.signature.​type Base preferred Signature Type Codes 📍4.0.1 FHIR Std.
Provenance.signature.​targetFormat Base required MimeType 📍4.0.1 FHIR Std.
Provenance.signature.​sigFormat Base required MimeType 📍4.0.1 FHIR Std.

Constraints

Id Grade Path(s) Description Expression
dom-2 error Provenance If the resource is contained in another resource, it SHALL NOT contain nested Resources contained.contained.empty()
dom-3 error Provenance 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 Provenance 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 Provenance If a resource is contained in another resource, it SHALL NOT have a security label contained.meta.security.empty()
dom-6 best practice Provenance 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()

Dạng xem Differential

NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. Provenance 0..* Provenance Who, What, When for a set of resources
... target S 1..* Reference(Resource) Tài nguyên đích được xác nhận
... recorded S 1..1 instant Thời điểm ghi nhận provenance
... policy S 0..* uri Chính sách/quy định tham chiếu
... activity S 0..1 CodeableConcept Hoạt động tạo lập/xác nhận dữ liệu
... agent S 1..* BackboneElement Tác nhân chịu trách nhiệm
.... who S 1..1 Reference(Practitioner | PractitionerRole | RelatedPerson | Patient | Device | Organization) Người hoặc hệ thống chịu trách nhiệm
.... onBehalfOf S 0..1 Reference(Practitioner | PractitionerRole | RelatedPerson | Patient | Device | Organization) Tổ chức thay mặt
... entity S 0..* BackboneElement Nguồn dữ liệu hoặc tài liệu đầu vào
.... role S 1..1 code Vai trò của nguồn
.... what S 1..1 Reference(Resource) Tài nguyên nguồn
... signature S 0..* Signature Chữ ký số/điện tử gắn với provenance
.... type S 1..* Coding Indication of the reason the entity signed the object(s)
.... when S 1..1 instant When the signature was created
.... who S 1..1 Reference(Practitioner | PractitionerRole | RelatedPerson | Patient | Device | Organization) Who signed
.... onBehalfOf S 0..1 Reference(Practitioner | PractitionerRole | RelatedPerson | Patient | Device | Organization) The party represented
.... targetFormat S 0..1 code The technical format of the signed resources
.... sigFormat S 0..1 code The technical format of the signature

doco Documentation for this format

Terminology Bindings (Differential)

Path Status Usage ValueSet Version Source
Provenance.reason Base extensible Mục đích xử lý dữ liệu y tế — VN Consent Purpose ValueSet 📦0.3.0 This IG

Dạng xem SnapshotView

NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. Provenance 0..* Provenance Who, What, When for a set of resources
... id Σ 0..1 id Logical id of this artifact
... meta Σ 0..1 Meta Metadata about the resource
... implicitRules ?!Σ 0..1 uri A set of rules under which this content was created
... 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
... extension 0..* Extension Additional content defined by implementations
... modifierExtension ?! 0..* Extension Extensions that cannot be ignored
... target SΣ 1..* Reference(Resource) Tài nguyên đích được xác nhận
... occurred[x] 0..1 When the activity occurred
.... occurredPeriod Period
.... occurredDateTime dateTime
... recorded SΣ 1..1 instant Thời điểm ghi nhận provenance
... policy S 0..* uri Chính sách/quy định tham chiếu
... location 0..1 Reference(Location) Where the activity occurred, if relevant
... reason S 0..* CodeableConcept Mục đích nghiệp vụ hoặc pháp lý
Binding: Mục đích xử lý dữ liệu y tế — VN Consent Purpose ValueSet (extensible)
... activity S 0..1 CodeableConcept Hoạt động tạo lập/xác nhận dữ liệu
Binding: ProvenanceActivityType (extensible): The activity that took place.
... agent S 1..* BackboneElement Tác nhân chịu trách nhiệm
.... id 0..1 string Unique id for inter-element referencing
.... extension 0..* Extension Additional content defined by implementations
.... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
.... type Σ 0..1 CodeableConcept How the agent participated
Binding: ProvenanceParticipantType (extensible): The type of participation that a provenance agent played with respect to the activity.
.... role 0..* CodeableConcept What the agents role was
Binding: SecurityRoleType (example): The role that a provenance agent played with respect to the activity.
.... who SΣ 1..1 Reference(Practitioner | PractitionerRole | RelatedPerson | Patient | Device | Organization) Người hoặc hệ thống chịu trách nhiệm
.... onBehalfOf S 0..1 Reference(Practitioner | PractitionerRole | RelatedPerson | Patient | Device | Organization) Tổ chức thay mặt
... entity S 0..* BackboneElement Nguồn dữ liệu hoặc tài liệu đầu vào
.... id 0..1 string Unique id for inter-element referencing
.... extension 0..* Extension Additional content defined by implementations
.... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
.... role SΣ 1..1 code Vai trò của nguồn
Binding: ProvenanceEntityRole (required): How an entity was used in an activity.
.... what SΣ 1..1 Reference(Resource) Tài nguyên nguồn
.... agent 0..* See agent (Provenance) Entity is attributed to this agent
... signature S 0..* Signature Chữ ký số/điện tử gắn với provenance
.... id 0..1 string Unique id for inter-element referencing
.... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
.... type SΣ 1..* Coding Indication of the reason the entity signed the object(s)
Binding: SignatureTypeCodes (preferred): An indication of the reason that an entity signed the object.
.... when SΣ 1..1 instant When the signature was created
.... who SΣ 1..1 Reference(Practitioner | PractitionerRole | RelatedPerson | Patient | Device | Organization) Who signed
.... onBehalfOf SΣ 0..1 Reference(Practitioner | PractitionerRole | RelatedPerson | Patient | Device | Organization) The party represented
.... targetFormat S 0..1 code The technical format of the signed resources
Binding: Mime Types (required): The mime type of an attachment. Any valid mime type is allowed.
.... sigFormat S 0..1 code The technical format of the signature
Binding: Mime Types (required): The mime type of an attachment. Any valid mime type is allowed.
.... data 0..1 base64Binary The actual signature content (XML DigSig. JWS, picture, etc.)

doco Documentation for this format

Terminology Bindings

Path Status Usage ValueSet Version Source
Provenance.language Base preferred Common Languages 📍4.0.1 FHIR Std.
Provenance.reason Base extensible Mục đích xử lý dữ liệu y tế — VN Consent Purpose ValueSet 📦0.3.0 This IG
Provenance.activity Base extensible Provenance activity type 📍4.0.1 FHIR Std.
Provenance.agent.type Base extensible Provenance participant type 📍4.0.1 FHIR Std.
Provenance.agent.role Base example SecurityRoleType 📍4.0.1 FHIR Std.
Provenance.entity.role Base required ProvenanceEntityRole 📍4.0.1 FHIR Std.
Provenance.signature.​type Base preferred Signature Type Codes 📍4.0.1 FHIR Std.
Provenance.signature.​targetFormat Base required MimeType 📍4.0.1 FHIR Std.
Provenance.signature.​sigFormat Base required MimeType 📍4.0.1 FHIR Std.

Constraints

Id Grade Path(s) Description Expression
dom-2 error Provenance If the resource is contained in another resource, it SHALL NOT contain nested Resources contained.contained.empty()
dom-3 error Provenance 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 Provenance 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 Provenance If a resource is contained in another resource, it SHALL NOT have a security label contained.meta.security.empty()
dom-6 best practice Provenance 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()

Summary

Must-Support: 18 elements

 

Biểu diễn khác của hồ sơ: CSV, Excel, Schematron