NHSDigital-Provenance

Conformance url
https://fhir.nhs.uk/StructureDefinition/NHSDigital-Provenance

NHSDigital-Provenance is used to convey the presciption digital signature.





referenceΣ I0..1string
typeΣ0..1uriBinding
useΣ ?!0..1codeBinding
typeΣ0..1CodeableConceptBinding
systemΣ1..1uri
valueΣ1..1string
periodΣ I0..1Period
assignerΣ I0..1Reference(Organization)
displayΣ0..1string
occurredPeriodPeriod
occurredDateTimedateTime
recordedΣ1..1instant
policy0..*uri
locationI0..1Reference(Location)
reason0..*CodeableConceptBinding
activity0..1CodeableConceptBinding
typeΣ0..1CodeableConceptBinding
role0..*CodeableConcept
referenceΣ I0..1string
typeΣ0..1uriBinding
useΣ ?!0..1codeBinding
typeΣ0..1CodeableConceptBinding
systemΣ1..1uri
valueΣ1..1string
periodΣ I0..1Period
assignerΣ I0..1Reference(Organization)
displayΣ0..1string
onBehalfOfI0..1Reference(Practitioner | PractitionerRole | RelatedPerson | Patient | Device | Organization)
roleΣ1..1codeBinding
whatΣ I1..1Reference(Resource)
agent0..*see (agent)
typeΣ1..*CodingBinding
whenS Σ1..1instant
referenceΣ I1..1string
typeΣ0..1uriBinding
identifierΣ0..1Identifier
displayΣ0..1string
onBehalfOfΣ I0..1Reference(Practitioner | PractitionerRole | RelatedPerson | Patient | Device | Organization)
targetFormat0..1codeBinding
sigFormat0..1codeBinding
data0..1base64Binary

referenceΣ I0..1string
typeΣ0..1uriBinding
useΣ ?!0..1codeBinding
typeΣ0..1CodeableConceptBinding
systemΣ1..1uri
valueΣ1..1string
periodΣ I0..1Period
assignerΣ I0..1Reference(Organization)
displayΣ0..1string
occurredPeriodPeriod
occurredDateTimedateTime
recordedΣ1..1instant
policy0..*uri
locationI0..1Reference(Location)
reason0..*CodeableConceptBinding
activity0..1CodeableConceptBinding
typeΣ0..1CodeableConceptBinding
role0..*CodeableConcept
referenceΣ I0..1string
typeΣ0..1uriBinding
useΣ ?!0..1codeBinding
typeΣ0..1CodeableConceptBinding
systemΣ1..1uri
valueΣ1..1string
periodΣ I0..1Period
assignerΣ I0..1Reference(Organization)
displayΣ0..1string
onBehalfOfI0..1Reference(Practitioner | PractitionerRole | RelatedPerson | Patient | Device | Organization)
roleΣ1..1codeBinding
whatΣ I1..1Reference(Resource)
agent0..*see (agent)
typeΣ1..*CodingBinding
whenS Σ1..1instant
referenceΣ I1..1string
typeΣ0..1uriBinding
identifierΣ0..1Identifier
displayΣ0..1string
onBehalfOfΣ I0..1Reference(Practitioner | PractitionerRole | RelatedPerson | Patient | Device | Organization)
targetFormat0..1codeBinding
sigFormat0..1codeBinding
data0..1base64Binary

You dot not have a license to run FQL queries.

  • Command 'pagelink' could not render: Page not found.


target

A resource reference to the target of the Provenance (i.e. the resource being signed)

"target": [
        {
            "type": "MedicationRequest",
            "identifier": {
                "system": "https://fhir.nhs.uk/Id/prescription-order-item-number",
                "value": "a54219b8-f741-4c47-b662-e4f8dfa49ab6"
            }
        }
    ]


agent.who

Actors who have responsibility for the target resource.

It is recommended practitioner professional (e.g. GMC, GMP, etc) and/or organisation ODS codes are used. However SDS id's are permitted.

This SHOULD use identifier references.

"agent": [
        {
            "who": {
                "identifier": {
                    "system": "https://fhir.hl7.org.uk/Id/gmc-number",
                    "value": "C9876543"
                }
            }
        }
    ],


signature.type

type must be provided.

"signature": [
        {
            "type": [
                {
                    "system": "urn:iso-astm:E1762-95:2013",
                    "code": "1.2.840.10065.1.12.1.1"
                }
            ]
        }
    ]


signature.when

The dateTime the signature was signed.

"signature": [
        {
            "when": "2008-02-27T11:38:00+00:00"
        }
    ]


signature.who

A resource reference to a PractitionerRole resource which is normally present in the same FHIR Message.

"signature": [
        {
            "who": {
                "reference": "urn:uuid:16708936-6397-4e03-b84f-4aaa790633e0"
            }
    ]


signature.data

Base 64 encoded signature.

"signature": [
        {
            "data": "PFNpZ25hdHVyZSB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC8wOS94bWxkc2lnIyI+PFNpZ25lZEluZm8+PENhbm9uaWNhbGl6YXRpb25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