| Package | nhs.fhir.lv.vvis |
| Resource Type | StructureDefinition |
| Id | VVIS-Provenance-SignatureProvenance-v1.StructureDefinition |
| FHIR Version | R4B |
| Source | https://simplifier.net/resolve?scope=nhs.fhir.lv.vvis@0.1.0-test&canonical=https://vvis.gov.lv/fhir/StructureDefinition/Provenance/SignatureProvenance-v1 |
| URL | https://vvis.gov.lv/fhir/StructureDefinition/Provenance/SignatureProvenance-v1 |
| Version | 1 |
| Status | active |
| Date | 2023-07-24 |
| Name | SignatureProvenance |
| Title | Provenance for signed request validations |
| Purpose | Payload signature validation |
| Type | Provenance |
| Kind | resource |
No resources found
No resources found
No narrative content found in resource
{
"resourceType": "StructureDefinition",
"language": "en",
"url": "https://vvis.gov.lv/fhir/StructureDefinition/Provenance/SignatureProvenance-v1",
"version": "1",
"name": "SignatureProvenance",
"title": "Provenance for signed request validations",
"status": "active",
"date": "2023-07-24",
"publisher": "NHS Latvia",
"purpose": "Payload signature validation",
"fhirVersion": "4.3.0",
"kind": "resource",
"abstract": false,
"type": "Provenance",
"baseDefinition": "http://hl7.org/fhir/StructureDefinition/Provenance",
"derivation": "constraint",
"differential": {
"element": [
{
"id": "Provenance.target.type",
"path": "Provenance.target.type",
"min": 1,
"binding": {
"strength": "required"
}
},
{
"id": "Provenance.target.identifier",
"path": "Provenance.target.identifier",
"max": "0"
},
{
"id": "Provenance.target.display",
"path": "Provenance.target.display",
"max": "0"
},
{
"id": "Provenance.occurred[x]",
"path": "Provenance.occurred[x]",
"max": "0",
"type": [
{
"code": "dateTime"
}
]
},
{
"id": "Provenance.policy",
"path": "Provenance.policy",
"max": "0"
},
{
"id": "Provenance.location",
"path": "Provenance.location",
"max": "0"
},
{
"id": "Provenance.reason",
"path": "Provenance.reason",
"max": "0"
},
{
"id": "Provenance.reason.coding.system",
"path": "Provenance.reason.coding.system",
"min": 1
},
{
"id": "Provenance.reason.coding.version",
"path": "Provenance.reason.coding.version",
"max": "0"
},
{
"id": "Provenance.reason.coding.code",
"path": "Provenance.reason.coding.code",
"min": 1
},
{
"id": "Provenance.reason.coding.display",
"path": "Provenance.reason.coding.display",
"max": "0"
},
{
"id": "Provenance.reason.coding.userSelected",
"path": "Provenance.reason.coding.userSelected",
"max": "0"
},
{
"id": "Provenance.reason.text",
"path": "Provenance.reason.text",
"max": "0"
},
{
"id": "Provenance.activity",
"path": "Provenance.activity",
"min": 1,
"binding": {
"strength": "required"
}
},
{
"id": "Provenance.activity.coding",
"path": "Provenance.activity.coding",
"min": 1,
"max": "1"
},
{
"id": "Provenance.activity.coding.system",
"path": "Provenance.activity.coding.system",
"min": 1,
"fixedUri": "http://terminology.hl7.org/CodeSystem/v3-DocumentCompletion"
},
{
"id": "Provenance.activity.coding.version",
"path": "Provenance.activity.coding.version",
"max": "0"
},
{
"id": "Provenance.activity.coding.code",
"path": "Provenance.activity.coding.code",
"min": 1,
"fixedCode": "LA"
},
{
"id": "Provenance.activity.coding.display",
"path": "Provenance.activity.coding.display",
"min": 1,
"fixedString": "legally authenticated"
},
{
"id": "Provenance.activity.coding.userSelected",
"path": "Provenance.activity.coding.userSelected",
"max": "0"
},
{
"id": "Provenance.activity.text",
"path": "Provenance.activity.text",
"max": "0"
},
{
"id": "Provenance.agent",
"path": "Provenance.agent",
"max": "1"
},
{
"id": "Provenance.agent.type",
"path": "Provenance.agent.type",
"min": 1,
"binding": {
"strength": "required"
}
},
{
"id": "Provenance.agent.type.coding",
"path": "Provenance.agent.type.coding",
"min": 1,
"max": "1"
},
{
"id": "Provenance.agent.type.coding.system",
"path": "Provenance.agent.type.coding.system",
"min": 1,
"fixedUri": "http://terminology.hl7.org/CodeSystem/provenance-participant-type"
},
{
"id": "Provenance.agent.type.coding.version",
"path": "Provenance.agent.type.coding.version",
"max": "0"
},
{
"id": "Provenance.agent.type.coding.code",
"path": "Provenance.agent.type.coding.code",
"min": 1,
"fixedCode": "author"
},
{
"id": "Provenance.agent.type.coding.display",
"path": "Provenance.agent.type.coding.display",
"min": 1,
"fixedString": "Author"
},
{
"id": "Provenance.agent.type.coding.userSelected",
"path": "Provenance.agent.type.coding.userSelected",
"max": "0"
},
{
"id": "Provenance.agent.type.text",
"path": "Provenance.agent.type.text",
"max": "0"
},
{
"id": "Provenance.agent.role",
"path": "Provenance.agent.role",
"max": "0"
},
{
"id": "Provenance.agent.role.coding.version",
"path": "Provenance.agent.role.coding.version",
"max": "0"
},
{
"id": "Provenance.agent.role.coding.display",
"path": "Provenance.agent.role.coding.display",
"max": "0"
},
{
"id": "Provenance.agent.role.coding.userSelected",
"path": "Provenance.agent.role.coding.userSelected",
"max": "0"
},
{
"id": "Provenance.agent.role.text",
"path": "Provenance.agent.role.text",
"max": "0"
},
{
"id": "Provenance.agent.who",
"path": "Provenance.agent.who",
"type": [
{
"code": "Reference",
"targetProfile": [
"http://hl7.org/fhir/StructureDefinition/Organization"
]
}
]
},
{
"id": "Provenance.agent.who.reference",
"path": "Provenance.agent.who.reference",
"min": 1
},
{
"id": "Provenance.agent.who.type",
"path": "Provenance.agent.who.type",
"max": "0"
},
{
"id": "Provenance.agent.who.identifier",
"path": "Provenance.agent.who.identifier",
"max": "0"
},
{
"id": "Provenance.agent.who.identifier.use",
"path": "Provenance.agent.who.identifier.use",
"max": "0"
},
{
"id": "Provenance.agent.who.identifier.type.coding.version",
"path": "Provenance.agent.who.identifier.type.coding.version",
"max": "0"
},
{
"id": "Provenance.agent.who.identifier.type.coding.userSelected",
"path": "Provenance.agent.who.identifier.type.coding.userSelected",
"max": "0"
},
{
"id": "Provenance.agent.who.identifier.type.text",
"path": "Provenance.agent.who.identifier.type.text",
"max": "0"
},
{
"id": "Provenance.agent.who.identifier.period",
"path": "Provenance.agent.who.identifier.period",
"max": "0"
},
{
"id": "Provenance.agent.who.identifier.assigner",
"path": "Provenance.agent.who.identifier.assigner",
"max": "0"
},
{
"id": "Provenance.agent.who.display",
"path": "Provenance.agent.who.display",
"max": "0"
},
{
"id": "Provenance.agent.onBehalfOf",
"path": "Provenance.agent.onBehalfOf",
"type": [
{
"code": "Reference",
"targetProfile": [
"http://hl7.org/fhir/StructureDefinition/PractitionerRole",
"http://hl7.org/fhir/StructureDefinition/Organization",
"http://hl7.org/fhir/StructureDefinition/Patient",
"http://hl7.org/fhir/StructureDefinition/Practitioner"
]
}
],
"constraint": [
{
"key": "obo-con-2",
"severity": "error",
"human": "Reference should be either PractitionerRole or Organization",
"expression": "reference.startsWith('PractitionerRole/') or reference.startsWith('Organization/') or reference.startsWith('Patient/') or reference.startsWith('Practitioner/')"
}
]
},
{
"id": "Provenance.agent.onBehalfOf.reference",
"path": "Provenance.agent.onBehalfOf.reference",
"min": 1,
"condition": [
"obo-con-2"
]
},
{
"id": "Provenance.agent.onBehalfOf.type",
"path": "Provenance.agent.onBehalfOf.type",
"max": "0"
},
{
"id": "Provenance.agent.onBehalfOf.identifier",
"path": "Provenance.agent.onBehalfOf.identifier",
"max": "0"
},
{
"id": "Provenance.agent.onBehalfOf.display",
"path": "Provenance.agent.onBehalfOf.display",
"max": "0"
},
{
"id": "Provenance.entity",
"path": "Provenance.entity",
"max": "0"
},
{
"id": "Provenance.signature",
"path": "Provenance.signature",
"min": 1,
"max": "1"
},
{
"id": "Provenance.signature.type",
"path": "Provenance.signature.type",
"max": "1",
"binding": {
"strength": "required"
}
},
{
"id": "Provenance.signature.type.system",
"path": "Provenance.signature.type.system",
"min": 1,
"fixedUri": "urn:iso-astm:E1762-95:2013"
},
{
"id": "Provenance.signature.type.version",
"path": "Provenance.signature.type.version",
"max": "0"
},
{
"id": "Provenance.signature.type.code",
"path": "Provenance.signature.type.code",
"min": 1,
"fixedCode": "1.2.840.10065.1.12.1.1"
},
{
"id": "Provenance.signature.type.display",
"path": "Provenance.signature.type.display",
"min": 1,
"fixedString": "Author's Signature"
},
{
"id": "Provenance.signature.type.userSelected",
"path": "Provenance.signature.type.userSelected",
"max": "0"
},
{
"id": "Provenance.signature.who",
"path": "Provenance.signature.who",
"type": [
{
"code": "Reference",
"targetProfile": [
"http://hl7.org/fhir/StructureDefinition/Organization"
]
}
]
},
{
"id": "Provenance.signature.who.reference",
"path": "Provenance.signature.who.reference",
"min": 1
},
{
"id": "Provenance.signature.who.type",
"path": "Provenance.signature.who.type",
"max": "0"
},
{
"id": "Provenance.signature.who.identifier",
"path": "Provenance.signature.who.identifier",
"max": "0"
},
{
"id": "Provenance.signature.who.display",
"path": "Provenance.signature.who.display",
"max": "0"
},
{
"id": "Provenance.signature.onBehalfOf",
"path": "Provenance.signature.onBehalfOf",
"type": [
{
"code": "Reference",
"targetProfile": [
"http://hl7.org/fhir/StructureDefinition/PractitionerRole",
"http://hl7.org/fhir/StructureDefinition/Organization",
"http://hl7.org/fhir/StructureDefinition/Patient",
"http://hl7.org/fhir/StructureDefinition/Practitioner"
]
}
],
"constraint": [
{
"key": "obo-con-1",
"severity": "error",
"human": "Reference should be either PractitionerRole or Organization",
"expression": "reference.startsWith('PractitionerRole/') or reference.startsWith('Organization/') or reference.startsWith('Patient/') or reference.startsWith('Practitioner/')"
}
]
},
{
"id": "Provenance.signature.onBehalfOf.reference",
"path": "Provenance.signature.onBehalfOf.reference",
"min": 1,
"condition": [
"obo-con-1"
]
},
{
"id": "Provenance.signature.onBehalfOf.type",
"path": "Provenance.signature.onBehalfOf.type",
"max": "0"
},
{
"id": "Provenance.signature.onBehalfOf.identifier",
"path": "Provenance.signature.onBehalfOf.identifier",
"max": "0"
},
{
"id": "Provenance.signature.onBehalfOf.display",
"path": "Provenance.signature.onBehalfOf.display",
"max": "0"
},
{
"id": "Provenance.signature.targetFormat",
"path": "Provenance.signature.targetFormat",
"min": 1,
"fixedCode": "application/fhir+json"
},
{
"id": "Provenance.signature.sigFormat",
"path": "Provenance.signature.sigFormat",
"min": 1,
"fixedCode": "application/jose"
},
{
"id": "Provenance.signature.data",
"path": "Provenance.signature.data",
"min": 1
}
]
}
}