O‘zbekiston Raqamli sog‘liqni saqlash platformasi
0.5.0 - ci-build
Uzbekistan Digital Health Platform, published by Ministry of Health of the Republic of Uzbekistan. This guide is not an authorized publication; it is the continuous build for version 0.5.0 built by the FHIR (HL7® FHIR® Standard) CI Build. This version is based on the current content of https://github.com/uzinfocom-org/digital-health-ig/ and changes regularly. See the Directory of published versions
| Rasmiy URL: https://dhp.uz/fhir/core/StructureDefinition/uz-core-provenance | Versiya: 0.5.0 | ||||
| Active 2025-03-13 holatiga ko‘ra | Kompyuterda qayta ishlanadigan nom: UZCoreProvenance | ||||
Uzbekistan Core Provenance profile, used to digitally sign documents via oneID
Mashina tarjimasi, inson tomonidan tekshirilishi zarur. Ushbu sahifa ingliz tilidan sun'iy intellekt yordamida avtomatik tarjima qilingan va hali muharrir tomonidan tekshirilmagan. Har qanday nomuvofiqlikda asl inglizcha versiya ustuvor hisoblanadi.
UZ Core Provenance Raqamli sog'liqni saqlash platformasidagi klinik yozuvning kelib chiqishi, mualliflik va imzosini qayd etadi. Klinik jihatdan muhim bo'lgan har bir yozuvda uni kim va qachon qayd etganini ko'rsatuvchi Provenance bo'lishi kerak; imzolangan hujjatlar uchun u raqamli imzoni - shifokor DHP da joylashtirilgan iframe orqali oneID yordamida autentifikatsiyadan o'tganda olinadigan - olib boradi va imzolangan resursga havola qiladi. Tizimingiz Provenance ni u yuborayotgan ma'lumotlar bilan birga yozadi - ham yozuvni kim yaratganini qayd etish uchun, ham imzolangan hujjatlar uchun imzoni olib borish uchun.
Quyidagi elementlar har doim mavjud bo'lishi (majburiy) yoki ma'lumot mavjud bo'lganda qo'llab-quvvatlanishi kerak (Must Support) - hammasi talab qilinmaydi, lekin tizimingiz ma'lumotga ega bo'lganda har bir Must Support elementini to'ldirishi va qabul qilishda uni qayta ishlashi kerak. Bu inson o'qiy oladigan xulosa; quyidagi rasmiy ko'rinishlar aniq kardinalliklar, tiplar va terminologiya bog'lanishlarini beradi.
Ushbu profil o'zining hech qanday majburiy kardinalligini qo'shmaydi. Talab qilinadigan elementlar asosiy resursdan meros qilib olinganlar: kamida bitta target (ushbu Provenance tavsiflovchi resurs) va kamida bitta who ga ega agent (mas'ul aktor). Bu yerda target DocumentReference yoki Medication bilan, agent.who esa PractitionerRole bilan cheklangan.
Imzolangan hujjatlar uchun imzo blobi
signature.dataichida yashaydi;targetimzolangan hujjatga havola qiladi.
Siz klinik jihatdan muhim ma'lumotlarni yuborganingizda Provenance quring - uni kim yaratganini qayd etish va imzolangan hujjatlar uchun imzoni olib borish uchun. Quyidagi misollar server qabul qiladigan eng kichik yozuvdan to'liq imzolangan hujjat hodisasigacha boradi. Bittasini nusxalab oling va moslang - ko'rsatilgan har bir qiymat ushbu profilga muvofiq validatsiyadan o'tadi. To'liq nusxa - bu misol Provenance.
Provenance ga kamida bitta target (u tegishli bo'lgan yozuv) va who ga ega kamida bitta agent (mas'ul aktor) kerak. Bu yerda target DocumentReference yoki Medication bilan, agent.who esa PractitionerRole bilan cheklangan. Ham target, ham agent.who oddiy References hisoblanadi. Amalda siz shuningdek occurredDateTime (faoliyat qachon sodir bo'lgani), bajarilgan activity va u tegishli bo'lgan patient ni ham yuborasiz:
{
"resourceType": "Provenance",
"meta": { "profile": ["https://dhp.uz/fhir/core/StructureDefinition/uz-core-provenance"] },
"target": [
{ "reference": "DocumentReference/example-pdf-document" }
],
"occurredDateTime": "2025-02-05T12:58:00+05:00",
"activity": {
"coding": [{ "system": "http://terminology.hl7.org/CodeSystem/v3-DocumentCompletion", "code": "LA" }]
},
"patient": { "reference": "Patient/example-patient" },
"agent": [
{
"type": {
"coding": [{ "system": "http://terminology.hl7.org/CodeSystem/provenance-participant-type", "code": "author" }]
},
"who": { "reference": "PractitionerRole/example-practitionerrole" }
}
]
}
activity va agent.type ning har biri required bog'lanishdan foydalanadi - qiymat bog'langan qiymatlar to'plamidan kelishi kerak (quyidagi Snapshot ko'rinishi har birini sanab o'tadi). agent.who PractitionerRole ga havola qilishi kerak.
Ushbu profil mavjud bo'lishining sababi - shifokor DHP da joylashtirilgan iframe orqali oneID yordamida autentifikatsiyadan o'tgandan keyin platforma qaytaradigan raqamli imzoni olib borishdir. signature yozuvini qo'shing: uning type i u qanday yaratilganini bildiradi (required bog'lanish), when u qo'llanilgan moment, who xuddi shu PractitionerRole ga havola qiladi, sigFormat blobning media tipi, data esa base64 da kodlangan imzoning o'zi:
{
"resourceType": "Provenance",
"meta": { "profile": ["https://dhp.uz/fhir/core/StructureDefinition/uz-core-provenance"] },
"target": [
{ "reference": "DocumentReference/example-pdf-document" }
],
"occurredDateTime": "2025-02-05T12:58:00+05:00",
"activity": {
"coding": [{ "system": "http://terminology.hl7.org/CodeSystem/v3-DocumentCompletion", "code": "LA" }]
},
"patient": { "reference": "Patient/example-patient" },
"agent": [
{
"type": {
"coding": [{ "system": "http://terminology.hl7.org/CodeSystem/provenance-participant-type", "code": "author" }]
},
"who": { "reference": "PractitionerRole/example-practitionerrole" }
}
],
"signature": [
{
"type": [
{ "system": "https://terminology.dhp.uz/fhir/core/CodeSystem/signature-type-cs", "code": "biometricAuth" }
],
"when": "2025-02-05T12:58:00+05:00",
"who": { "reference": "PractitionerRole/example-practitionerrole" },
"sigFormat": "application/signature+xml",
"data": "dGhpcyBibG9iIGlzIHNuaXBwZWQ="
}
]
}
target bu yerda imzolangan DocumentReference ga havola qiladi. data qiymati - bu base64 imzo blobi (yuqorida qisqartirilgan); ishlab chiqarishda to'liq blobni yuboring.
API chaqiruvlari misollari va namunaviy yuk uchun ushbu sahifaning pastidagi Tezkor boshlash bo'limiga qarang.
Usages:
You can also check for usages in the FHIR IG Statistics
Profillar, differentsiyalar, snapshotlar va ularning tasvirlari ta’rifi.
| Name | Flags | Card. | Type | Description & Constraints Filter: ![]() ![]() |
|---|---|---|---|---|
![]() |
0..* | Provenance(5.0.0) | Who, What, When for a set of resources | |
![]() ![]() |
?!Σ | 0..1 | uri | A set of rules under which this content was created |
![]() ![]() |
0..* | Resource | Contained, inline Resources | |
![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored Constraints: ext-1 |
![]() ![]() |
SΣ | 1..* | Reference(Medication | DocumentReference) | Target Reference(s) (usually version specific) |
![]() ![]() |
0..1 | When the activity occurred Slice: Unordered, Open by type:$this | ||
![]() ![]() ![]() |
Period | |||
![]() ![]() ![]() |
dateTime | |||
![]() ![]() ![]() |
S | 0..1 | dateTime | When the activity occurred |
![]() ![]() |
S | 0..1 | CodeableConcept | Activity that occurred Binding: ProvenanceActivityTypesVS (0.5.0) (required) |
![]() ![]() |
S | 0..1 | Reference(Patient) | The patient is the subject of the data created/updated (.target) by the activity |
![]() ![]() |
SΣC | 1..* | BackboneElement | Actor involved Constraints: prov-1, prov-2, prov-3 |
![]() ![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized Constraints: ext-1 |
![]() ![]() ![]() |
SΣ | 0..1 | CodeableConcept | How the agent participated Binding: ProvenanceParticipationRoleTypeVS (0.5.0) (required) |
![]() ![]() ![]() |
SΣC | 1..1 | Reference(UZ Core PractitionerRole(0.5.0)) | The agent that participated in the event |
![]() ![]() ![]() |
C | 0..1 | Reference(Practitioner | PractitionerRole | Organization | CareTeam | Patient) | The agent that delegated |
![]() ![]() |
SΣ | 0..* | BackboneElement | An entity used in this activity |
![]() ![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized Constraints: ext-1 |
![]() ![]() ![]() |
SΣ | 1..1 | code | revision | quotation | source | instantiates | removal Binding: ProvenanceEntityRoleVS (0.5.0) (required) |
![]() ![]() ![]() |
SΣ | 1..1 | Reference(Resource) | Identity of entity |
![]() ![]() |
S | 0..* | Signature | Signature on target |
![]() ![]() ![]() |
SΣ | 0..* | Coding | Indication of the reason the entity signed the object(s) Binding: SignatureTypeVS (0.5.0) (required) |
![]() ![]() ![]() |
SΣ | 0..1 | instant | When the signature was created |
![]() ![]() ![]() |
SΣ | 0..1 | Reference(UZ Core PractitionerRole(0.5.0)) | Who signed |
![]() ![]() ![]() |
S | 0..1 | code | The technical format of the signature Binding: MimeTypes (required): BCP 13 (RFCs 2045, 2046, 2047, 4288, 4289 and 2049) |
![]() ![]() ![]() |
S | 0..1 | base64Binary | The actual signature content (XML DigSig. JWS, picture, etc.) |
Documentation for this format | ||||
| Path | Status | Usage | ValueSet | Version | Source |
| Provenance.activity | Base | required | Provenance Activity Types | 📍0.5.0 | This IG |
| Provenance.agent.type | Base | required | Provenance Participation Role Type | 📍0.5.0 | This IG |
| Provenance.entity.role | Base | required | Provenance Entity Role | 📍0.5.0 | This IG |
| Provenance.signature.type | Base | required | Signature Type | 📍0.5.0 | This IG |
| Provenance.signature.sigFormat | Base | required | Mime Types | 📍5.0.0 | FHIR Std. |
| 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().ofType(canonical) | %resource.descendants().ofType(uri) | %resource.descendants().ofType(url))) or descendants().where(reference = '#').exists() or descendants().where(ofType(canonical) = '#').exists() or descendants().where(ofType(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 | Provenance.implicitRules, Provenance.modifierExtension, Provenance.target, Provenance.occurred[x], Provenance.occurred[x]:occurredDateTime, Provenance.activity, Provenance.patient, Provenance.agent, Provenance.agent.modifierExtension, Provenance.agent.type, Provenance.agent.who, Provenance.agent.onBehalfOf, Provenance.entity, Provenance.entity.modifierExtension, Provenance.entity.role, Provenance.entity.what, Provenance.signature, Provenance.signature.type, Provenance.signature.when, Provenance.signature.who, Provenance.signature.sigFormat, Provenance.signature.data | All FHIR elements must have a @value or children |
hasValue() or (children().count() > id.count())
|
| ext-1 | error | Provenance.modifierExtension, Provenance.agent.modifierExtension, Provenance.entity.modifierExtension | Must have either extensions or value[x], not both |
extension.exists() != value.exists()
|
| prov-1 | error | Provenance.agent | Who and onBehalfOf cannot be the same |
who.resolve().exists() and onBehalfOf.resolve().exists() implies who.resolve() != onBehalfOf.resolve()
|
| prov-2 | error | Provenance.agent | If who is a PractitionerRole, onBehalfOf can't reference the same Practitioner |
who.resolve().ofType(PractitionerRole).practitioner.resolve().exists() and onBehalfOf.resolve().ofType(Practitioner).exists() implies who.resolve().practitioner.resolve() != onBehalfOf.resolve()
|
| prov-3 | error | Provenance.agent | If who is an organization, onBehalfOf can't be a PractitionerRole within that organization |
who.resolve().ofType(Organization).exists() and onBehalfOf.resolve().ofType(PractitionerRole).organization.resolve().exists() implies who.resolve() != onBehalfOf.resolve().organization.resolve()
|
| Name | Flags | Card. | Type | Description & Constraints Filter: ![]() ![]() |
|---|---|---|---|---|
![]() |
0..* | Provenance(5.0.0) | Who, What, When for a set of resources | |
![]() ![]() |
S | 1..* | Reference(Medication | DocumentReference) | Target Reference(s) (usually version specific) |
![]() ![]() |
0..1 | Period, dateTime | When the activity occurred Slice: Unordered, Open by type:$this | |
![]() ![]() ![]() |
S | 0..1 | dateTime | When the activity occurred |
![]() ![]() |
S | 0..1 | CodeableConcept | Activity that occurred Binding: ProvenanceActivityTypesVS (0.5.0) (required) |
![]() ![]() |
S | 0..1 | Reference(Patient) | The patient is the subject of the data created/updated (.target) by the activity |
![]() ![]() |
S | 1..* | BackboneElement | Actor involved |
![]() ![]() ![]() |
S | 0..1 | CodeableConcept | How the agent participated Binding: ProvenanceParticipationRoleTypeVS (0.5.0) (required) |
![]() ![]() ![]() |
S | 1..1 | Reference(UZ Core PractitionerRole(0.5.0)) | The agent that participated in the event |
![]() ![]() |
S | 0..* | BackboneElement | An entity used in this activity |
![]() ![]() ![]() |
S | 1..1 | code | revision | quotation | source | instantiates | removal Binding: ProvenanceEntityRoleVS (0.5.0) (required) |
![]() ![]() ![]() |
S | 1..1 | Reference(Resource) | Identity of entity |
![]() ![]() |
S | 0..* | Signature | Signature on target |
![]() ![]() ![]() |
S | 0..* | Coding | Indication of the reason the entity signed the object(s) Binding: SignatureTypeVS (0.5.0) (required) |
![]() ![]() ![]() |
S | 0..1 | instant | When the signature was created |
![]() ![]() ![]() |
S | 0..1 | Reference(UZ Core PractitionerRole(0.5.0)) | Who signed |
![]() ![]() ![]() |
S | 0..1 | code | The technical format of the signature |
![]() ![]() ![]() |
S | 0..1 | base64Binary | The actual signature content (XML DigSig. JWS, picture, etc.) |
Documentation for this format | ||||
| Path | Status | Usage | ValueSet | Version | Source |
| Provenance.activity | Base | required | Provenance Activity Types | 📍0.5.0 | This IG |
| Provenance.agent.type | Base | required | Provenance Participation Role Type | 📍0.5.0 | This IG |
| Provenance.entity.role | Base | required | Provenance Entity Role | 📍0.5.0 | This IG |
| Provenance.signature.type | Base | required | Signature Type | 📍0.5.0 | This IG |
| Name | Flags | Card. | Type | Description & Constraints Filter: ![]() ![]() | ||||
|---|---|---|---|---|---|---|---|---|
![]() |
0..* | Provenance(5.0.0) | Who, What, When for a set of resources | |||||
![]() ![]() |
Σ | 0..1 | id | Logical id of this artifact | ||||
![]() ![]() |
Σ | 0..1 | Meta | Metadata about the resource | ||||
![]() ![]() |
?!Σ | 0..1 | uri | A set of rules under which this content was created | ||||
![]() ![]() |
0..1 | code | Language of the resource content Binding: AllLanguages (required): IETF language tag for a human language
| |||||
![]() ![]() |
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 | |||||
![]() ![]() |
0..* | Resource | Contained, inline Resources | |||||
![]() ![]() |
0..* | Extension | Additional content defined by implementations Constraints: ext-1 | |||||
![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored Constraints: ext-1 | ||||
![]() ![]() |
SΣ | 1..* | Reference(Medication | DocumentReference) | Target Reference(s) (usually version specific) | ||||
![]() ![]() |
0..1 | When the activity occurred Slice: Unordered, Open by type:$this | ||||||
![]() ![]() ![]() |
Period | |||||||
![]() ![]() ![]() |
dateTime | |||||||
![]() ![]() ![]() |
S | 0..1 | dateTime | When the activity occurred | ||||
![]() ![]() |
Σ | 0..1 | instant | When the activity was recorded / updated | ||||
![]() ![]() |
0..* | uri | Policy or plan the activity was defined by | |||||
![]() ![]() |
0..1 | Reference(Location) | Where the activity occurred, if relevant | |||||
![]() ![]() |
0..* | CodeableReference() | Authorization (purposeOfUse) related to the event Binding: PurposeOfUse (3.1.0) (example): The authorized purposeOfUse for the activity. | |||||
![]() ![]() |
S | 0..1 | CodeableConcept | Activity that occurred Binding: ProvenanceActivityTypesVS (0.5.0) (required) | ||||
![]() ![]() |
0..* | Reference(CarePlan | DeviceRequest | ImmunizationRecommendation | MedicationRequest | NutritionOrder | ServiceRequest | Task) | Workflow authorization within which this event occurred | |||||
![]() ![]() |
S | 0..1 | Reference(Patient) | The patient is the subject of the data created/updated (.target) by the activity | ||||
![]() ![]() |
0..1 | Reference(Encounter) | Encounter within which this event occurred or which the event is tightly associated | |||||
![]() ![]() |
SΣC | 1..* | BackboneElement | Actor involved Constraints: prov-1, prov-2, prov-3 | ||||
![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Constraints: ext-1 | |||||
![]() ![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized Constraints: ext-1 | ||||
![]() ![]() ![]() |
SΣ | 0..1 | CodeableConcept | How the agent participated Binding: ProvenanceParticipationRoleTypeVS (0.5.0) (required) | ||||
![]() ![]() ![]() |
0..* | CodeableConcept | What the agents role was Binding: SecurityRoleType (example): The role that a provenance agent played with respect to the activity. | |||||
![]() ![]() ![]() |
SΣC | 1..1 | Reference(UZ Core PractitionerRole(0.5.0)) | The agent that participated in the event | ||||
![]() ![]() ![]() |
C | 0..1 | Reference(Practitioner | PractitionerRole | Organization | CareTeam | Patient) | The agent that delegated | ||||
![]() ![]() |
SΣ | 0..* | BackboneElement | An entity used in this activity | ||||
![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Constraints: ext-1 | |||||
![]() ![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized Constraints: ext-1 | ||||
![]() ![]() ![]() |
SΣ | 1..1 | code | revision | quotation | source | instantiates | removal Binding: ProvenanceEntityRoleVS (0.5.0) (required) | ||||
![]() ![]() ![]() |
SΣ | 1..1 | Reference(Resource) | Identity of entity | ||||
![]() ![]() ![]() |
0..* | See agent (Provenance) | Entity is attributed to this agent | |||||
![]() ![]() |
S | 0..* | Signature | Signature on target | ||||
![]() ![]() ![]() |
0..1 | id | Unique id for inter-element referencing | |||||
![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url Constraints: ext-1 | |||||
![]() ![]() ![]() |
SΣ | 0..* | Coding | Indication of the reason the entity signed the object(s) Binding: SignatureTypeVS (0.5.0) (required) | ||||
![]() ![]() ![]() |
SΣ | 0..1 | instant | When the signature was created | ||||
![]() ![]() ![]() |
SΣ | 0..1 | Reference(UZ Core PractitionerRole(0.5.0)) | Who signed | ||||
![]() ![]() ![]() |
Σ | 0..1 | Reference(Practitioner | PractitionerRole | RelatedPerson | Patient | Device | Organization) | The party represented | ||||
![]() ![]() ![]() |
0..1 | code | The technical format of the signed resources Binding: MimeTypes (required): BCP 13 (RFCs 2045, 2046, 2047, 4288, 4289 and 2049) | |||||
![]() ![]() ![]() |
S | 0..1 | code | The technical format of the signature Binding: MimeTypes (required): BCP 13 (RFCs 2045, 2046, 2047, 4288, 4289 and 2049) | ||||
![]() ![]() ![]() |
S | 0..1 | base64Binary | The actual signature content (XML DigSig. JWS, picture, etc.) | ||||
Documentation for this format | ||||||||
| Path | Status | Usage | ValueSet | Version | Source |
| Provenance.language | Base | required | All Languages | 📍5.0.0 | FHIR Std. |
| Provenance.authorization | Base | example | PurposeOfUse | 📍3.1.0 | THO v7.1 |
| Provenance.activity | Base | required | Provenance Activity Types | 📍0.5.0 | This IG |
| Provenance.agent.type | Base | required | Provenance Participation Role Type | 📍0.5.0 | This IG |
| Provenance.agent.role | Base | example | Security Role Type | 📍5.0.0 | FHIR Std. |
| Provenance.entity.role | Base | required | Provenance Entity Role | 📍0.5.0 | This IG |
| Provenance.signature.type | Base | required | Signature Type | 📍0.5.0 | This IG |
| Provenance.signature.targetFormat | Base | required | Mime Types | 📍5.0.0 | FHIR Std. |
| Provenance.signature.sigFormat | Base | required | Mime Types | 📍5.0.0 | FHIR Std. |
| 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().ofType(canonical) | %resource.descendants().ofType(uri) | %resource.descendants().ofType(url))) or descendants().where(reference = '#').exists() or descendants().where(ofType(canonical) = '#').exists() or descendants().where(ofType(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 | Provenance.meta, Provenance.implicitRules, Provenance.language, Provenance.text, Provenance.extension, Provenance.modifierExtension, Provenance.target, Provenance.occurred[x], Provenance.occurred[x]:occurredDateTime, Provenance.recorded, Provenance.policy, Provenance.location, Provenance.authorization, Provenance.activity, Provenance.basedOn, Provenance.patient, Provenance.encounter, Provenance.agent, Provenance.agent.extension, Provenance.agent.modifierExtension, Provenance.agent.type, Provenance.agent.role, Provenance.agent.who, Provenance.agent.onBehalfOf, Provenance.entity, Provenance.entity.extension, Provenance.entity.modifierExtension, Provenance.entity.role, Provenance.entity.what, Provenance.entity.agent, Provenance.signature, Provenance.signature.extension, Provenance.signature.type, Provenance.signature.when, Provenance.signature.who, Provenance.signature.onBehalfOf, Provenance.signature.targetFormat, Provenance.signature.sigFormat, Provenance.signature.data | All FHIR elements must have a @value or children |
hasValue() or (children().count() > id.count())
|
| ext-1 | error | Provenance.extension, Provenance.modifierExtension, Provenance.agent.extension, Provenance.agent.modifierExtension, Provenance.entity.extension, Provenance.entity.modifierExtension, Provenance.signature.extension | Must have either extensions or value[x], not both |
extension.exists() != value.exists()
|
| prov-1 | error | Provenance.agent | Who and onBehalfOf cannot be the same |
who.resolve().exists() and onBehalfOf.resolve().exists() implies who.resolve() != onBehalfOf.resolve()
|
| prov-2 | error | Provenance.agent | If who is a PractitionerRole, onBehalfOf can't reference the same Practitioner |
who.resolve().ofType(PractitionerRole).practitioner.resolve().exists() and onBehalfOf.resolve().ofType(Practitioner).exists() implies who.resolve().practitioner.resolve() != onBehalfOf.resolve()
|
| prov-3 | error | Provenance.agent | If who is an organization, onBehalfOf can't be a PractitionerRole within that organization |
who.resolve().ofType(Organization).exists() and onBehalfOf.resolve().ofType(PractitionerRole).organization.resolve().exists() implies who.resolve() != onBehalfOf.resolve().organization.resolve()
|
Summary
Must-Support: 16 elements
Structures
This structure refers to these other structures:
Slices
This structure defines the following Slices:
Asosiy elementlar ko'rinishi
| Name | Flags | Card. | Type | Description & Constraints Filter: ![]() ![]() |
|---|---|---|---|---|
![]() |
0..* | Provenance(5.0.0) | Who, What, When for a set of resources | |
![]() ![]() |
?!Σ | 0..1 | uri | A set of rules under which this content was created |
![]() ![]() |
0..* | Resource | Contained, inline Resources | |
![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored Constraints: ext-1 |
![]() ![]() |
SΣ | 1..* | Reference(Medication | DocumentReference) | Target Reference(s) (usually version specific) |
![]() ![]() |
0..1 | When the activity occurred Slice: Unordered, Open by type:$this | ||
![]() ![]() ![]() |
Period | |||
![]() ![]() ![]() |
dateTime | |||
![]() ![]() ![]() |
S | 0..1 | dateTime | When the activity occurred |
![]() ![]() |
S | 0..1 | CodeableConcept | Activity that occurred Binding: ProvenanceActivityTypesVS (0.5.0) (required) |
![]() ![]() |
S | 0..1 | Reference(Patient) | The patient is the subject of the data created/updated (.target) by the activity |
![]() ![]() |
SΣC | 1..* | BackboneElement | Actor involved Constraints: prov-1, prov-2, prov-3 |
![]() ![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized Constraints: ext-1 |
![]() ![]() ![]() |
SΣ | 0..1 | CodeableConcept | How the agent participated Binding: ProvenanceParticipationRoleTypeVS (0.5.0) (required) |
![]() ![]() ![]() |
SΣC | 1..1 | Reference(UZ Core PractitionerRole(0.5.0)) | The agent that participated in the event |
![]() ![]() ![]() |
C | 0..1 | Reference(Practitioner | PractitionerRole | Organization | CareTeam | Patient) | The agent that delegated |
![]() ![]() |
SΣ | 0..* | BackboneElement | An entity used in this activity |
![]() ![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized Constraints: ext-1 |
![]() ![]() ![]() |
SΣ | 1..1 | code | revision | quotation | source | instantiates | removal Binding: ProvenanceEntityRoleVS (0.5.0) (required) |
![]() ![]() ![]() |
SΣ | 1..1 | Reference(Resource) | Identity of entity |
![]() ![]() |
S | 0..* | Signature | Signature on target |
![]() ![]() ![]() |
SΣ | 0..* | Coding | Indication of the reason the entity signed the object(s) Binding: SignatureTypeVS (0.5.0) (required) |
![]() ![]() ![]() |
SΣ | 0..1 | instant | When the signature was created |
![]() ![]() ![]() |
SΣ | 0..1 | Reference(UZ Core PractitionerRole(0.5.0)) | Who signed |
![]() ![]() ![]() |
S | 0..1 | code | The technical format of the signature Binding: MimeTypes (required): BCP 13 (RFCs 2045, 2046, 2047, 4288, 4289 and 2049) |
![]() ![]() ![]() |
S | 0..1 | base64Binary | The actual signature content (XML DigSig. JWS, picture, etc.) |
Documentation for this format | ||||
| Path | Status | Usage | ValueSet | Version | Source |
| Provenance.activity | Base | required | Provenance Activity Types | 📍0.5.0 | This IG |
| Provenance.agent.type | Base | required | Provenance Participation Role Type | 📍0.5.0 | This IG |
| Provenance.entity.role | Base | required | Provenance Entity Role | 📍0.5.0 | This IG |
| Provenance.signature.type | Base | required | Signature Type | 📍0.5.0 | This IG |
| Provenance.signature.sigFormat | Base | required | Mime Types | 📍5.0.0 | FHIR Std. |
| 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().ofType(canonical) | %resource.descendants().ofType(uri) | %resource.descendants().ofType(url))) or descendants().where(reference = '#').exists() or descendants().where(ofType(canonical) = '#').exists() or descendants().where(ofType(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 | Provenance.implicitRules, Provenance.modifierExtension, Provenance.target, Provenance.occurred[x], Provenance.occurred[x]:occurredDateTime, Provenance.activity, Provenance.patient, Provenance.agent, Provenance.agent.modifierExtension, Provenance.agent.type, Provenance.agent.who, Provenance.agent.onBehalfOf, Provenance.entity, Provenance.entity.modifierExtension, Provenance.entity.role, Provenance.entity.what, Provenance.signature, Provenance.signature.type, Provenance.signature.when, Provenance.signature.who, Provenance.signature.sigFormat, Provenance.signature.data | All FHIR elements must have a @value or children |
hasValue() or (children().count() > id.count())
|
| ext-1 | error | Provenance.modifierExtension, Provenance.agent.modifierExtension, Provenance.entity.modifierExtension | Must have either extensions or value[x], not both |
extension.exists() != value.exists()
|
| prov-1 | error | Provenance.agent | Who and onBehalfOf cannot be the same |
who.resolve().exists() and onBehalfOf.resolve().exists() implies who.resolve() != onBehalfOf.resolve()
|
| prov-2 | error | Provenance.agent | If who is a PractitionerRole, onBehalfOf can't reference the same Practitioner |
who.resolve().ofType(PractitionerRole).practitioner.resolve().exists() and onBehalfOf.resolve().ofType(Practitioner).exists() implies who.resolve().practitioner.resolve() != onBehalfOf.resolve()
|
| prov-3 | error | Provenance.agent | If who is an organization, onBehalfOf can't be a PractitionerRole within that organization |
who.resolve().ofType(Organization).exists() and onBehalfOf.resolve().ofType(PractitionerRole).organization.resolve().exists() implies who.resolve() != onBehalfOf.resolve().organization.resolve()
|
Differensial ko‘rinish
| Name | Flags | Card. | Type | Description & Constraints Filter: ![]() ![]() |
|---|---|---|---|---|
![]() |
0..* | Provenance(5.0.0) | Who, What, When for a set of resources | |
![]() ![]() |
S | 1..* | Reference(Medication | DocumentReference) | Target Reference(s) (usually version specific) |
![]() ![]() |
0..1 | Period, dateTime | When the activity occurred Slice: Unordered, Open by type:$this | |
![]() ![]() ![]() |
S | 0..1 | dateTime | When the activity occurred |
![]() ![]() |
S | 0..1 | CodeableConcept | Activity that occurred Binding: ProvenanceActivityTypesVS (0.5.0) (required) |
![]() ![]() |
S | 0..1 | Reference(Patient) | The patient is the subject of the data created/updated (.target) by the activity |
![]() ![]() |
S | 1..* | BackboneElement | Actor involved |
![]() ![]() ![]() |
S | 0..1 | CodeableConcept | How the agent participated Binding: ProvenanceParticipationRoleTypeVS (0.5.0) (required) |
![]() ![]() ![]() |
S | 1..1 | Reference(UZ Core PractitionerRole(0.5.0)) | The agent that participated in the event |
![]() ![]() |
S | 0..* | BackboneElement | An entity used in this activity |
![]() ![]() ![]() |
S | 1..1 | code | revision | quotation | source | instantiates | removal Binding: ProvenanceEntityRoleVS (0.5.0) (required) |
![]() ![]() ![]() |
S | 1..1 | Reference(Resource) | Identity of entity |
![]() ![]() |
S | 0..* | Signature | Signature on target |
![]() ![]() ![]() |
S | 0..* | Coding | Indication of the reason the entity signed the object(s) Binding: SignatureTypeVS (0.5.0) (required) |
![]() ![]() ![]() |
S | 0..1 | instant | When the signature was created |
![]() ![]() ![]() |
S | 0..1 | Reference(UZ Core PractitionerRole(0.5.0)) | Who signed |
![]() ![]() ![]() |
S | 0..1 | code | The technical format of the signature |
![]() ![]() ![]() |
S | 0..1 | base64Binary | The actual signature content (XML DigSig. JWS, picture, etc.) |
Documentation for this format | ||||
| Path | Status | Usage | ValueSet | Version | Source |
| Provenance.activity | Base | required | Provenance Activity Types | 📍0.5.0 | This IG |
| Provenance.agent.type | Base | required | Provenance Participation Role Type | 📍0.5.0 | This IG |
| Provenance.entity.role | Base | required | Provenance Entity Role | 📍0.5.0 | This IG |
| Provenance.signature.type | Base | required | Signature Type | 📍0.5.0 | This IG |
Snapshot ko‘rinishiView
| Name | Flags | Card. | Type | Description & Constraints Filter: ![]() ![]() | ||||
|---|---|---|---|---|---|---|---|---|
![]() |
0..* | Provenance(5.0.0) | Who, What, When for a set of resources | |||||
![]() ![]() |
Σ | 0..1 | id | Logical id of this artifact | ||||
![]() ![]() |
Σ | 0..1 | Meta | Metadata about the resource | ||||
![]() ![]() |
?!Σ | 0..1 | uri | A set of rules under which this content was created | ||||
![]() ![]() |
0..1 | code | Language of the resource content Binding: AllLanguages (required): IETF language tag for a human language
| |||||
![]() ![]() |
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 | |||||
![]() ![]() |
0..* | Resource | Contained, inline Resources | |||||
![]() ![]() |
0..* | Extension | Additional content defined by implementations Constraints: ext-1 | |||||
![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored Constraints: ext-1 | ||||
![]() ![]() |
SΣ | 1..* | Reference(Medication | DocumentReference) | Target Reference(s) (usually version specific) | ||||
![]() ![]() |
0..1 | When the activity occurred Slice: Unordered, Open by type:$this | ||||||
![]() ![]() ![]() |
Period | |||||||
![]() ![]() ![]() |
dateTime | |||||||
![]() ![]() ![]() |
S | 0..1 | dateTime | When the activity occurred | ||||
![]() ![]() |
Σ | 0..1 | instant | When the activity was recorded / updated | ||||
![]() ![]() |
0..* | uri | Policy or plan the activity was defined by | |||||
![]() ![]() |
0..1 | Reference(Location) | Where the activity occurred, if relevant | |||||
![]() ![]() |
0..* | CodeableReference() | Authorization (purposeOfUse) related to the event Binding: PurposeOfUse (3.1.0) (example): The authorized purposeOfUse for the activity. | |||||
![]() ![]() |
S | 0..1 | CodeableConcept | Activity that occurred Binding: ProvenanceActivityTypesVS (0.5.0) (required) | ||||
![]() ![]() |
0..* | Reference(CarePlan | DeviceRequest | ImmunizationRecommendation | MedicationRequest | NutritionOrder | ServiceRequest | Task) | Workflow authorization within which this event occurred | |||||
![]() ![]() |
S | 0..1 | Reference(Patient) | The patient is the subject of the data created/updated (.target) by the activity | ||||
![]() ![]() |
0..1 | Reference(Encounter) | Encounter within which this event occurred or which the event is tightly associated | |||||
![]() ![]() |
SΣC | 1..* | BackboneElement | Actor involved Constraints: prov-1, prov-2, prov-3 | ||||
![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Constraints: ext-1 | |||||
![]() ![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized Constraints: ext-1 | ||||
![]() ![]() ![]() |
SΣ | 0..1 | CodeableConcept | How the agent participated Binding: ProvenanceParticipationRoleTypeVS (0.5.0) (required) | ||||
![]() ![]() ![]() |
0..* | CodeableConcept | What the agents role was Binding: SecurityRoleType (example): The role that a provenance agent played with respect to the activity. | |||||
![]() ![]() ![]() |
SΣC | 1..1 | Reference(UZ Core PractitionerRole(0.5.0)) | The agent that participated in the event | ||||
![]() ![]() ![]() |
C | 0..1 | Reference(Practitioner | PractitionerRole | Organization | CareTeam | Patient) | The agent that delegated | ||||
![]() ![]() |
SΣ | 0..* | BackboneElement | An entity used in this activity | ||||
![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Constraints: ext-1 | |||||
![]() ![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized Constraints: ext-1 | ||||
![]() ![]() ![]() |
SΣ | 1..1 | code | revision | quotation | source | instantiates | removal Binding: ProvenanceEntityRoleVS (0.5.0) (required) | ||||
![]() ![]() ![]() |
SΣ | 1..1 | Reference(Resource) | Identity of entity | ||||
![]() ![]() ![]() |
0..* | See agent (Provenance) | Entity is attributed to this agent | |||||
![]() ![]() |
S | 0..* | Signature | Signature on target | ||||
![]() ![]() ![]() |
0..1 | id | Unique id for inter-element referencing | |||||
![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url Constraints: ext-1 | |||||
![]() ![]() ![]() |
SΣ | 0..* | Coding | Indication of the reason the entity signed the object(s) Binding: SignatureTypeVS (0.5.0) (required) | ||||
![]() ![]() ![]() |
SΣ | 0..1 | instant | When the signature was created | ||||
![]() ![]() ![]() |
SΣ | 0..1 | Reference(UZ Core PractitionerRole(0.5.0)) | Who signed | ||||
![]() ![]() ![]() |
Σ | 0..1 | Reference(Practitioner | PractitionerRole | RelatedPerson | Patient | Device | Organization) | The party represented | ||||
![]() ![]() ![]() |
0..1 | code | The technical format of the signed resources Binding: MimeTypes (required): BCP 13 (RFCs 2045, 2046, 2047, 4288, 4289 and 2049) | |||||
![]() ![]() ![]() |
S | 0..1 | code | The technical format of the signature Binding: MimeTypes (required): BCP 13 (RFCs 2045, 2046, 2047, 4288, 4289 and 2049) | ||||
![]() ![]() ![]() |
S | 0..1 | base64Binary | The actual signature content (XML DigSig. JWS, picture, etc.) | ||||
Documentation for this format | ||||||||
| Path | Status | Usage | ValueSet | Version | Source |
| Provenance.language | Base | required | All Languages | 📍5.0.0 | FHIR Std. |
| Provenance.authorization | Base | example | PurposeOfUse | 📍3.1.0 | THO v7.1 |
| Provenance.activity | Base | required | Provenance Activity Types | 📍0.5.0 | This IG |
| Provenance.agent.type | Base | required | Provenance Participation Role Type | 📍0.5.0 | This IG |
| Provenance.agent.role | Base | example | Security Role Type | 📍5.0.0 | FHIR Std. |
| Provenance.entity.role | Base | required | Provenance Entity Role | 📍0.5.0 | This IG |
| Provenance.signature.type | Base | required | Signature Type | 📍0.5.0 | This IG |
| Provenance.signature.targetFormat | Base | required | Mime Types | 📍5.0.0 | FHIR Std. |
| Provenance.signature.sigFormat | Base | required | Mime Types | 📍5.0.0 | FHIR Std. |
| 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().ofType(canonical) | %resource.descendants().ofType(uri) | %resource.descendants().ofType(url))) or descendants().where(reference = '#').exists() or descendants().where(ofType(canonical) = '#').exists() or descendants().where(ofType(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 | Provenance.meta, Provenance.implicitRules, Provenance.language, Provenance.text, Provenance.extension, Provenance.modifierExtension, Provenance.target, Provenance.occurred[x], Provenance.occurred[x]:occurredDateTime, Provenance.recorded, Provenance.policy, Provenance.location, Provenance.authorization, Provenance.activity, Provenance.basedOn, Provenance.patient, Provenance.encounter, Provenance.agent, Provenance.agent.extension, Provenance.agent.modifierExtension, Provenance.agent.type, Provenance.agent.role, Provenance.agent.who, Provenance.agent.onBehalfOf, Provenance.entity, Provenance.entity.extension, Provenance.entity.modifierExtension, Provenance.entity.role, Provenance.entity.what, Provenance.entity.agent, Provenance.signature, Provenance.signature.extension, Provenance.signature.type, Provenance.signature.when, Provenance.signature.who, Provenance.signature.onBehalfOf, Provenance.signature.targetFormat, Provenance.signature.sigFormat, Provenance.signature.data | All FHIR elements must have a @value or children |
hasValue() or (children().count() > id.count())
|
| ext-1 | error | Provenance.extension, Provenance.modifierExtension, Provenance.agent.extension, Provenance.agent.modifierExtension, Provenance.entity.extension, Provenance.entity.modifierExtension, Provenance.signature.extension | Must have either extensions or value[x], not both |
extension.exists() != value.exists()
|
| prov-1 | error | Provenance.agent | Who and onBehalfOf cannot be the same |
who.resolve().exists() and onBehalfOf.resolve().exists() implies who.resolve() != onBehalfOf.resolve()
|
| prov-2 | error | Provenance.agent | If who is a PractitionerRole, onBehalfOf can't reference the same Practitioner |
who.resolve().ofType(PractitionerRole).practitioner.resolve().exists() and onBehalfOf.resolve().ofType(Practitioner).exists() implies who.resolve().practitioner.resolve() != onBehalfOf.resolve()
|
| prov-3 | error | Provenance.agent | If who is an organization, onBehalfOf can't be a PractitionerRole within that organization |
who.resolve().ofType(Organization).exists() and onBehalfOf.resolve().ofType(PractitionerRole).organization.resolve().exists() implies who.resolve() != onBehalfOf.resolve().organization.resolve()
|
Summary
Must-Support: 16 elements
Structures
This structure refers to these other structures:
Slices
This structure defines the following Slices:
Profilning boshqa ko‘rinishlari: CSV, Excel, Schematron
Mashina tarjimasi, inson tomonidan tekshirilishi zarur. Ushbu sahifa ingliz tilidan sun'iy intellekt yordamida avtomatik tarjima qilingan va hali muharrir tomonidan tekshirilmagan. Har qanday nomuvofiqlikda asl inglizcha versiya ustuvor hisoblanadi.
Ushbu profil uchun keng tarqalgan API o'zaro ta'sirlari. So'rovlar JWT kirish tokenini talab qiladi - Xavfsizlik va autentifikatsiya bo'limiga qarang. [base] - bu FHIR server bazaviy URL manzili; | belgisi kod tizimini uning qiymatidan ajratadi va %7C shaklida URL-kodlangan bo'lishi kerak.
Provenance odatda u tavsiflaydigan ma'lumotlar bilan birga uni yaratuvchi tizim tomonidan yoziladi, shuning uchun ko'pchilik mijozlar uni bevosita yaratish o'rniga yozuvning target havolasini kuzatib o'qiydi.
Server identifikatori bo'yicha o'qish
GET [base]/Provenance/[id]
Yozuvning provenance ma'lumotini yoki bemorning imzolangan yozuvlarini topish
GET [base]/Provenance?target=DocumentReference/[id]
GET [base]/Provenance?patient=Patient/[id]
GET [base]/Provenance?patient=Patient/[id]&agent=PractitionerRole/[id]
GET [base]/Provenance?patient=Patient/[id]&when=ge2025-01-01
GET [base]/Provenance?entity=DocumentReference/[id]
Yozuvni uning provenance ma'lumoti bilan birga bitta so'rovda olish uchun teskari include (reverse include) dan foydalaning, masalan GET [base]/DocumentReference?_id=[id]&_revinclude=Provenance:target.
Qo'llab-quvvatlanadigan qidiruv parametrlarining to'liq ro'yxati uchun CapabilityStatement ga qarang.