Skip to content

Commit 258f585

Browse files
committed
FHIR validation fixes and dependency updates
1 parent b808b9b commit 258f585

13 files changed

Lines changed: 38 additions & 22 deletions

Bundle/Bundle-NonWGSTestOrderForm-Example.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -266,7 +266,7 @@
266266
"text": "No family history of genomic testing"
267267
},
268268
{
269-
"text": "Free text for diagnosis/reason for referral, relevant information including family history, phenotypic details/ HPO Terms<br />Patient in need of test...example"
269+
"text": "Free text for diagnosis/reason for referral, relevant information including family history, phenotypic details/ HPO Terms/Patient in need of test...example"
270270
}
271271
]
272272
},

Bundle/Bundle-WGSRoD-Example.json

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,14 @@
3131
],
3232
"sourceReference": {
3333
"reference": "QuestionnaireResponse/QuestionnaireResponse-RoD-Example"
34+
},
35+
"policyRule": {
36+
"coding": [
37+
{
38+
"system": "http://terminology.hl7.org/CodeSystem/consentpolicycodes",
39+
"code": "hipaa-research"
40+
}
41+
]
3442
}
3543
},
3644
"request": {

Bundle/Bundle-WGSTestOrderForm-Example.json

Lines changed: 14 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -205,15 +205,15 @@
205205
]
206206
},
207207
"subject": {
208-
"reference": "Patient/Patient-LindsaySorrell-Example"
208+
"reference": "Patient/Patient-LindsaySorrell-Example",
209209
"identifier": {
210210
"system": "https://fhir.nhs.uk/Id/nhs-number",
211211
"value": "9449307946"
212212
}
213213
},
214214
"authoredOn": "2023-08-08",
215215
"requester": {
216-
"reference": "PractitionerRole/PractitionerRole-HazelSmithRenal-Example"
216+
"reference": "PractitionerRole/PractitionerRole-HazelSmithRenal-Example",
217217
"identifier": {
218218
"system": "https://fhir.nhs.uk/Id/sds-user-id",
219219
"value": "9999999998"
@@ -275,7 +275,7 @@
275275
"text": "No family history of genomic testing"
276276
},
277277
{
278-
"text": "Free text for diagnosis/reason for referral, relevant information including family history, phenotypic details/ HPO Terms<br />Patient diagnoses with ADPKD (example)"
278+
"text": "Free text for diagnosis/reason for referral, relevant information including family history, phenotypic details/ HPO Terms/ Patient diagnoses with ADPKD (example)"
279279
}
280280
]
281281
},
@@ -628,7 +628,7 @@
628628
"value": "RGT03135"
629629
}
630630
],
631-
"status": "unavailable"
631+
"status": "unavailable",
632632
"type": {
633633
"coding": [
634634
{
@@ -646,7 +646,7 @@
646646
}
647647
},
648648
"request": {
649-
"reference": "ServiceRequest/ServiceRequest-NonWGSTestOrderForm-Example",
649+
"reference": "ServiceRequest/ServiceRequest-NonWGSTestOrderForm-Example"
650650
}
651651
},
652652
"request": {
@@ -679,7 +679,15 @@
679679
}
680680
]
681681
}
682-
]
682+
],
683+
"policyRule": {
684+
"coding": [
685+
{
686+
"system": "http://terminology.hl7.org/CodeSystem/consentpolicycodes",
687+
"code": "hipaa-research"
688+
}
689+
]
690+
}
683691
},
684692
"request": {
685693
"method": "POST",

ServiceRequest/ServiceRequest-SavedTestOrder-Example.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@
100100
"text": "No family history of genomic testing"
101101
},
102102
{
103-
"text": "Free text for diagnosis/reason for referral, relevant information including family history, phenotypic details/ HPO Terms<br />Patient in need of test...example"
103+
"text": "Free text for diagnosis/reason for referral, relevant information including family history, phenotypic details/ HPO Terms/ Patient in need of test...example"
104104
}
105105
]
106106
}

ServiceRequest/ServiceRequest-SavedTestOrderUpdated-Example.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@
100100
"text": "No family history of genomic testing"
101101
},
102102
{
103-
"text": "Free text for diagnosis/reason for referral, relevant information including family history, phenotypic details/ HPO Terms<br />Patient in need of test...example"
103+
"text": "Free text for diagnosis/reason for referral, relevant information including family history, phenotypic details/ HPO Terms/ Patient in need of test...example"
104104
}
105105
]
106106
}

ServiceRequest/ServiceRequest-SavedTestOrderWGS-Example.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -45,15 +45,15 @@
4545
]
4646
},
4747
"subject": {
48-
"reference": "Patient/Patient-LindsaySorrell-Example"
48+
"reference": "Patient/Patient-LindsaySorrell-Example",
4949
"identifier": {
5050
"system": "https://fhir.nhs.uk/Id/nhs-number",
5151
"value": "9449307946"
5252
}
5353
},
5454
"authoredOn": "2023-08-08",
5555
"requester": {
56-
"reference": "PractitionerRole/PractitionerRole-HazelSmithRenal-Example"
56+
"reference": "PractitionerRole/PractitionerRole-HazelSmithRenal-Example",
5757
"identifier": {
5858
"system": "https://fhir.nhs.uk/Id/sds-user-id",
5959
"value": "9999999998"
@@ -115,7 +115,7 @@
115115
"text": "No family history of genomic testing"
116116
},
117117
{
118-
"text": "Free text for diagnosis/reason for referral, relevant information including family history, phenotypic details/ HPO Terms<br />Patient diagnoses with ADPKD (example)"
118+
"text": "Free text for diagnosis/reason for referral, relevant information including family history, phenotypic details/ HPO Terms/ Patient diagnoses with ADPKD (example)"
119119
}
120120
]
121121
}

Task/Task-NonWGSRareDiseaseTestOrderHold-Example.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
"display": "Insufficient Sample"
1111
}
1212
]
13-
}
13+
},
1414
"businessStatus": {
1515
"coding": [
1616
{

Task/Task-NonWGSRareDiseaseTestOrderRejected-Example.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
"display": "Inappropriate for patient"
1111
}
1212
]
13-
}
13+
},
1414
"businessStatus": {
1515
"coding": [
1616
{

Task/Task-WGSRareDiseaseTestOrder-Example.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,15 +17,15 @@
1717
"reference": "ServiceRequest/ServiceRequest-SavedTestOrder-Example"
1818
},
1919
"for": {
20-
"reference": "Patient/Patient-LindsaySorrell-Example"
20+
"reference": "Patient/Patient-LindsaySorrell-Example",
2121
"identifier": {
2222
"system": "https://fhir.nhs.uk/Id/nhs-number",
2323
"value": "9449307946"
2424
}
2525
},
2626
"authoredOn": "2022-08-08",
2727
"requester": {
28-
"reference": "PractitionerRole/PractitionerRole-HazelSmithRenal-Example"
28+
"reference": "PractitionerRole/PractitionerRole-HazelSmithRenal-Example",
2929
"identifier": {
3030
"system": "https://fhir.nhs.uk/Id/sds-user-id",
3131
"value": "9999999998"

Task/Task-WGSRareDiseaseTestOrderAccepted-Example.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,15 +26,15 @@
2626
"reference": "ServiceRequest/ServiceRequest-SavedTestOrder-Example"
2727
},
2828
"for": {
29-
"reference": "Patient/Patient-LindsaySorrell-Example"
29+
"reference": "Patient/Patient-LindsaySorrell-Example",
3030
"identifier": {
3131
"system": "https://fhir.nhs.uk/Id/nhs-number",
3232
"value": "9449307946"
3333
}
3434
},
3535
"authoredOn": "2022-08-08",
3636
"requester": {
37-
"reference": "PractitionerRole/PractitionerRole-HazelSmithRenal-Example"
37+
"reference": "PractitionerRole/PractitionerRole-HazelSmithRenal-Example",
3838
"identifier": {
3939
"system": "https://fhir.nhs.uk/Id/sds-user-id",
4040
"value": "9999999998"

0 commit comments

Comments
 (0)