Skip to content

Commit f441137

Browse files
committed
OperationDefinition for generating DocRef
1 parent 71595be commit f441137

1 file changed

Lines changed: 75 additions & 0 deletions

File tree

Lines changed: 75 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,75 @@
1+
{
2+
"resourceType": "OperationDefinition",
3+
"id": "OperationDefinition-genomics-generate",
4+
"url": "https://fhir.nhs.uk/OperationDefinition/genomics-generate",
5+
"version": "0.0.1",
6+
"name": "GenomicsGenerate",
7+
"status": "draft",
8+
"kind": "operation",
9+
"experimental": false,
10+
"date": "2024-09-04",
11+
"publisher": "NHS England",
12+
"description": "Used to generate a DocumentReference resource for a genomic data file, optionally pulling the referenced data file to a central data store and generating a DRS url for the data file.\r\nCustomised backport of the R5 DocumentReference-generate OperationDefinition: http://hl7.org/fhir/OperationDefinition/DocumentReference-generate.\r\nSpecific profiles for input or output parameters, e.g. for certain data file types, are pending further investigation by GEL.",
13+
"affectsState": true,
14+
"code": "genomics-generate",
15+
"resource": [
16+
"DocumentReference"
17+
],
18+
"system": false,
19+
"type": true,
20+
"instance": false,
21+
"parameter": [
22+
{
23+
"name": "url",
24+
"use": "in",
25+
"min": 1,
26+
"max": "1",
27+
"documentation": "The URL to the source document. This may be a general URL or a Binary or a Composition or a Bundle.\r\nFor a Genomic Data File, MUST be either a DRS URL or a presigned URL.",
28+
"type": "uri"
29+
},
30+
{
31+
"name": "persist",
32+
"use": "in",
33+
"min": 0,
34+
"max": "1",
35+
"documentation": "Whether to store the document at the document end-point (/Document) or not, once it is generated (default is for the server to decide).\r\nFor a Genomic Data File, determines whether the data file will be pulled to a central data store, or will remain on the source server. \r\nIn all cases, the DocumentReference will be generated and stored on the server at the /DocumentReference endpoint.",
36+
"type": "boolean"
37+
},
38+
{
39+
"name": "content-type",
40+
"use": "in",
41+
"min": 1,
42+
"max": "1",
43+
"documentation": "MIME type for the file. Used to determine how the reference should be processed and which context references are required.",
44+
"type": "string"
45+
},
46+
{
47+
"name": "context-reference",
48+
"use": "in",
49+
"min": 0,
50+
"max": "*",
51+
"documentation": "Reference to FHIR resource which provide context for the DocumentReference e.g. ServiceRequest which initiated the collection of the data file, or the Specimen from which it originated.",
52+
"type": "Reference",
53+
"targetProfile": [
54+
"https://fhir.hl7.org.uk/StructureDefinition/UKCore-ServiceRequest",
55+
"https://fhir.hl7.org.uk/StructureDefinition/UKCore-Specimen"
56+
]
57+
},
58+
{
59+
"name": "author",
60+
"use": "in",
61+
"min": 1,
62+
"max": "1",
63+
"documentation": "ODS code for the author organization.",
64+
"type": "Identifier"
65+
},
66+
{
67+
"name": "return",
68+
"use": "out",
69+
"min": 1,
70+
"max": "1",
71+
"documentation": "The bundle type is \"searchset\" containing DocumentReference resource and may include a Binary. If the input url refers to another server, it is at the discretion of the server whether to retrieve it or return an error.",
72+
"type": "Bundle"
73+
}
74+
]
75+
}

0 commit comments

Comments
 (0)