Skip to content

Commit

Permalink
Addition of Provenance profile
Browse files Browse the repository at this point in the history
And associated references in CapabilityStatements
  • Loading branch information
omarisgreat committed Mar 20, 2023
1 parent 7a3edb3 commit 0b8882e
Show file tree
Hide file tree
Showing 3 changed files with 76 additions and 0 deletions.
31 changes: 31 additions & 0 deletions CapabilityStatement/CapabilityStatement-genomics-application.json
Original file line number Diff line number Diff line change
Expand Up @@ -1672,6 +1672,37 @@
"type": "reference"
}
]
},
{
"type": "Provenance",
"profile": "https://fhir.nhs.uk/StructureDefinition/NHSDigital-Specimen-Genomics",
"documentation": "For searching stored Provenance resources",
"interaction": [
{
"code": "read"
},
{
"code": "search-type"
}
],
"searchParam": [
{
"name": "agent",
"type": "reference"
},
{
"name": "entity",
"type": "reference"
},
{
"name": "target",
"type": "reference"
},
{
"name": "recorded",
"type": "date"
}
]
}
]
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -154,6 +154,10 @@
{
"type": "BodyStructure",
"profile": "http://hl7.org/fhir/StructureDefinition/BodyStructure"
},
{
"type": "Provenance",
"profile": "https://fhir.nhs.uk/StructureDefinition/NHSDigital-Provenance-Genomics"
}
]
}
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
{
"resourceType": "StructureDefinition",
"url": "https://fhir.nhs.uk/StructureDefinition/NHSDigital-Provenance-Genomics",
"name": "NHSDigital_Provenance_Genomics",
"status": "draft",
"fhirVersion": "4.0.1",
"kind": "resource",
"abstract": false,
"type": "Provenance",
"baseDefinition": "https://fhir.hl7.org.uk/StructureDefinition/UKCore-Provenance",
"derivation": "constraint",
"differential": {
"element": [
{
"id": "Provenance.occurred[x]",
"path": "Provenance.occurred[x]",
"max": "0"
},
{
"id": "Provenance.policy",
"path": "Provenance.policy",
"max": "0"
},
{
"id": "Provenance.location",
"path": "Provenance.location",
"max": "0"
},
{
"id": "Provenance.activity",
"path": "Provenance.activity",
"min": 1
},
{
"id": "Provenance.signature",
"path": "Provenance.signature",
"max": "0"
}
]
}
}

0 comments on commit 0b8882e

Please sign in to comment.