Skip to content

Commit 2dd64e4

Browse files
authored
Adding bindings to Task profile (#46)
* Addition of Task.code binding And correction to basedOn/focus * Addition of binding for Task.statusReason
1 parent 8da949b commit 2dd64e4

1 file changed

Lines changed: 31 additions & 23 deletions

File tree

StructureDefinition/NHSDigital-Task-Genomics.StructureDefinition.json

Lines changed: 31 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -26,23 +26,6 @@
2626
}
2727
]
2828
},
29-
{
30-
"id": "Task.basedOn",
31-
"path": "Task.basedOn",
32-
"min": 1,
33-
"max": "1",
34-
"type": [
35-
{
36-
"code": "Reference",
37-
"targetProfile": [
38-
"https://fhir.nhs.uk/StructureDefinition/NHSDigital-ServiceRequest-Genomics"
39-
],
40-
"aggregation": [
41-
"referenced"
42-
]
43-
}
44-
]
45-
},
4629
{
4730
"id": "Task.basedOn.identifier.assigner",
4831
"path": "Task.basedOn.identifier.assigner",
@@ -89,22 +72,47 @@
8972
}
9073
]
9174
},
75+
{
76+
"id": "Task.statusReason",
77+
"path": "Task.statusReason",
78+
"binding": {
79+
"strength": "preferred",
80+
"valueSet": "https://fhir.nhs.uk/ValueSet/genomics-task-statusReason"
81+
}
82+
},
9283
{
9384
"id": "Task.businessStatus",
9485
"path": "Task.businessStatus",
9586
"short": "E.g. \"Specimen Received\", \"Analysis In Progress\"",
9687
"binding": {
97-
"extension": [
98-
{
99-
"url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
100-
"valueString": "TaskBusinessStatus"
101-
}
102-
],
10388
"strength": "preferred",
10489
"description": "The domain-specific business-contextual sub-state of the task. ValueSet specific for Genomics, subject to change.",
10590
"valueSet": "https://fhir.nhs.uk/ValueSet/genomics-business-status"
10691
}
10792
},
93+
{
94+
"id": "Task.code",
95+
"path": "Task.code",
96+
"binding": {
97+
"strength": "preferred",
98+
"valueSet": "https://fhir.nhs.uk/ValueSet/genomics-task-code"
99+
}
100+
},
101+
{
102+
"id": "Task.focus",
103+
"path": "Task.focus",
104+
"type": [
105+
{
106+
"code": "Reference",
107+
"targetProfile": [
108+
"https://fhir.nhs.uk/StructureDefinition/NHSDigital-ServiceRequest-Genomics"
109+
],
110+
"aggregation": [
111+
"referenced"
112+
]
113+
}
114+
]
115+
},
108116
{
109117
"id": "Task.encounter",
110118
"path": "Task.encounter",

0 commit comments

Comments
 (0)