Skip to content

Commit f454ae6

Browse files
authored
Feature-IOPS-2380-Test-Order-Form-Storage-of-Material (#47)
* Add SR & Task for Storage Add SR & Task for Storage * Add SR & Task for New Request Add SR & Task for New Test Request to use the earlier stored specimen * Update SR Update SR for Storage request * Update SR, Task, Add Patient & PractitionerRole * Update: Change status of Task resource Change status of Task resource to accept specimen storage * Rename Task-TestOrderFormAccepted-StorageOfMaterial Rename Task-TestOrderFormAccepted-StorageOfMaterial
1 parent 2c0ab69 commit f454ae6

6 files changed

Lines changed: 464 additions & 0 deletions
Lines changed: 98 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,98 @@
1+
{
2+
"resourceType": "Patient",
3+
"id": "Patient-TimMclullichs-Example",
4+
"extension": [
5+
{
6+
"url": "https://fhir.hl7.org.uk/StructureDefinition/Extension-UKCore-BirthSex",
7+
"valueCode": "M"
8+
},
9+
{
10+
"url": "https://fhir.hl7.org.uk/StructureDefinition/Extension-UKCore-EthnicCategory",
11+
"valueCodeableConcept": {
12+
"coding": [
13+
{
14+
"system": "https://fhir.hl7.org.uk/CodeSystem/UKCore-EthnicCategoryEngland",
15+
"code": "A",
16+
"display": "White - British"
17+
}
18+
]
19+
}
20+
}
21+
],
22+
"identifier": [
23+
{
24+
"system": "https://fhir.nhs.uk/Id/nhs-number",
25+
"value": "8449303452",
26+
"extension": [
27+
{
28+
"url": "https://fhir.hl7.org.uk/StructureDefinition/Extension-UKCore-NHSNumberVerificationStatus",
29+
"valueCodeableConcept": {
30+
"coding": [
31+
{
32+
"system": "https://fhir.hl7.org.uk/CodeSystem/UKCore-NHSNumberVerificationStatusEngland",
33+
"version": "2.2.0",
34+
"code": "01",
35+
"display": "Number present and verified"
36+
}
37+
]
38+
}
39+
}
40+
]
41+
},
42+
{
43+
"system": "urn:oid:2.16.840.1.113883.2.1.3.2.4.18.24",
44+
"value": "RTH17845",
45+
"assigner": {
46+
"identifier": {
47+
"system": "https://fhir.nhs.uk/Id/ods-organization-code",
48+
"value": "RTH"
49+
}
50+
}
51+
}
52+
],
53+
"name": [
54+
{
55+
"given": [
56+
"Tim"
57+
],
58+
"family": "Mclullichs"
59+
}
60+
],
61+
"gender": "male",
62+
"birthDate": "1954-10-29",
63+
"deceasedBoolean": false,
64+
"address": [
65+
{
66+
"line": [
67+
"1 Outwood Road",
68+
"Crosswinds, Chipstead,"
69+
],
70+
"city": "Buckinghamshire",
71+
"postalCode": "OM10 8DF"
72+
}
73+
],
74+
"generalPractitioner": [
75+
{
76+
"identifier": {
77+
"system": "https://fhir.hl7.org.uk/Id/gmp-number",
78+
"value": "G9999999"
79+
},
80+
"display": "Dr. Aero Smith"
81+
},
82+
{
83+
"identifier": {
84+
"system": "https://fhir.hl7.org.uk/Id/ODS-code",
85+
"value": "TP123"
86+
},
87+
"display": "123 Test Practice"
88+
}
89+
],
90+
"link": [
91+
{
92+
"other": {
93+
"reference": "https://api.service.nhs.uk/personal-demographics/FHIR/R4/Patient/8449303452"
94+
},
95+
"type": "seealso"
96+
}
97+
]
98+
}
Lines changed: 49 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,49 @@
1+
{
2+
"resourceType": "PractitionerRole",
3+
"id": "PractitionerRole-OscarShields-Example",
4+
"practitioner": {
5+
"identifier": {
6+
"system": "https://fhir.nhs.uk/Id/sds-user-id",
7+
"value": "9999999999"
8+
},
9+
"display": "Dr. Oscar Shields"
10+
},
11+
"organization": {
12+
"identifier": {
13+
"system": "https://fhir.nhs.uk/Id/ods-organization-code",
14+
"value": "RTH"
15+
},
16+
"display": "Oxford University NHS Foundation Trust"
17+
},
18+
"specialty": [
19+
{
20+
"coding": [
21+
{
22+
"system": "https://fhir.hl7.org.uk/CodeSystem/UKCore-PracticeSettingCode",
23+
"code": "820",
24+
"display": "General Pathology"
25+
}
26+
]
27+
}
28+
],
29+
"telecom": [
30+
{
31+
"system": "phone",
32+
"value": "03003047777"
33+
},
34+
{
35+
"system": "email",
36+
"value": "oscar.shields@nhs.net"
37+
},
38+
{
39+
"system": "email",
40+
"value": "oxfordpathology@nhs.net",
41+
"extension": [
42+
{
43+
"url": "http://hl7.org/fhir/StructureDefinition/contactpoint-comment",
44+
"valueString": "reporting"
45+
}
46+
]
47+
}
48+
]
49+
}
Lines changed: 117 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,117 @@
1+
{
2+
"resourceType": "ServiceRequest",
3+
"id": "ServiceRequest-NonWGSTestOrderForm-UsingStoredSample-Example",
4+
"extension": [
5+
{
6+
"url": "https://fhir.hl7.org.uk/StructureDefinition/Extension-UKCore-Coverage",
7+
"valueCodeableConcept": {
8+
"coding": [
9+
{
10+
"system": "https://fhir.hl7.org.uk/CodeSystem/UKCore-FundingCategory",
11+
"code": "nhs",
12+
"display": "NHS"
13+
}
14+
]
15+
}
16+
}
17+
],
18+
"status": "active",
19+
"intent": "order",
20+
"category": [
21+
{
22+
"coding": [
23+
{
24+
"system": "https://fhir.hl7.org.uk/CodeSystem/UKCore-GenomeSequencingCategory",
25+
"code": "rare-disease-non-wgs",
26+
"display": "Rare Disease - Non-WGS"
27+
}
28+
]
29+
}
30+
],
31+
"priority": "routine",
32+
"code": {
33+
"coding": [
34+
{
35+
"system": "https://fhir.nhs.uk/CodeSystem/England-GenomicTestDirectory",
36+
"code": "R134",
37+
"display": "Familial Hypercholesterolaemia"
38+
}
39+
]
40+
},
41+
"subject": {
42+
"reference": "Patient/Patient-TimMclullichs-Example",
43+
"identifier": {
44+
"system": "https://fhir.nhs.uk/Id/nhs-number",
45+
"value": "8449303452"
46+
}
47+
},
48+
"authoredOn": "2023-11-02T11:00:00Z",
49+
"requester": {
50+
"reference": "PractitionerRole/PractitionerRole-OscarShields-Example"
51+
},
52+
"reasonCode": [
53+
{
54+
"coding": [
55+
{
56+
"system": "http://snomed.info/sct",
57+
"code": "1186936003",
58+
"display": "Storage of specimen"
59+
}
60+
]
61+
}
62+
],
63+
"supportingInfo": [
64+
{
65+
"reference": "Observation/Observation-GenomicEthnicity-Example"
66+
},
67+
{
68+
"reference": "Observation/Observation-DiseaseStatus-Example"
69+
},
70+
{
71+
"reference": "Observation/Observation-NonConsanguinousUnion-Example"
72+
},
73+
{
74+
"reference": "FamilyMemberHistory/FamilyMemberHistory-NonConsanguinousUnion-Example"
75+
},
76+
{
77+
"reference": "Observation/Observation-NoBoneMarrowTransplant-Example"
78+
},
79+
{
80+
"reference": "Observation/Observation-NoTransfusion-Example"
81+
},
82+
{
83+
"reference": "Observation/Observation-DutchLipidScore-Example"
84+
},
85+
{
86+
"reference": "Observation/Observation-QueryXanthoma-Example"
87+
},
88+
{
89+
"reference": "Observation/Observation-SimonBroomeCriteria-Example"
90+
}
91+
],
92+
"specimen": [
93+
{
94+
"reference": "Specimen/Specimen-BloodEDTA-WithCollectoinDetails-Example",
95+
"identifier": [
96+
{
97+
"system": "https://fhir.bwc.nhs.uk//Id/specimenId",
98+
"value": "RQ3-RTH-698C0-17543",
99+
"assigner": {
100+
"identifier": {
101+
"system": "https://fhir.nhs.uk/Id/ods-organization-code",
102+
"value": "RQ3"
103+
}
104+
}
105+
}
106+
]
107+
}
108+
],
109+
"note": [
110+
{
111+
"text": "No family history of genomic testing"
112+
},
113+
{
114+
"text": "Free text for diagnosis/reason for referral, relevant information including family history, phenotypic details/ HPO Terms/ patient to be tested for FH, use existing DNA sample in storage"
115+
}
116+
]
117+
}
Lines changed: 83 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,83 @@
1+
{
2+
"resourceType": "ServiceRequest",
3+
"id": "ServiceRequest-TestOrderForm-StorageOfMaterial-Example",
4+
"extension": [
5+
{
6+
"url": "https://fhir.hl7.org.uk/StructureDefinition/Extension-UKCore-Coverage",
7+
"valueCodeableConcept": {
8+
"coding": [
9+
{
10+
"system": "https://fhir.hl7.org.uk/CodeSystem/UKCore-FundingCategory",
11+
"code": "nhs",
12+
"display": "NHS"
13+
}
14+
]
15+
}
16+
}
17+
],
18+
"status": "active",
19+
"intent": "order",
20+
"priority": "routine",
21+
"code": {
22+
"coding": [
23+
{
24+
"system": "https://fhir.nhs.uk/CodeSystem/England-GenomicTestDirectory",
25+
"code": "R346",
26+
"display": "DNA to be stored"
27+
}
28+
]
29+
},
30+
"subject": {
31+
"reference": "Patient/Patient-TimMclullichs-Example",
32+
"identifier": {
33+
"system": "https://fhir.nhs.uk/Id/nhs-number",
34+
"value": "8449303452"
35+
}
36+
},
37+
"authoredOn": "2023-10-28T11:00:00Z",
38+
"requester": {
39+
"reference": "PractitionerRole/PractitionerRole-OscarShields-Example"
40+
},
41+
"reasonCode": [
42+
{
43+
"coding": [
44+
{
45+
"system": "http://snomed.info/sct",
46+
"code": "1186936003",
47+
"display": "Storage of specimen"
48+
}
49+
]
50+
}
51+
],
52+
"supportingInfo": [
53+
{
54+
"reference": "Observation/Observation-GenomicEthnicity-Example"
55+
},
56+
{
57+
"reference": "Observation/Observation-DiseaseStatus-Example"
58+
},
59+
{
60+
"reference": "Observation/Observation-NonConsanguinousUnion-Example"
61+
},
62+
{
63+
"reference": "FamilyMemberHistory/FamilyMemberHistory-NonConsanguinousUnion-Example"
64+
},
65+
{
66+
"reference": "Observation/Observation-NoBoneMarrowTransplant-Example"
67+
},
68+
{
69+
"reference": "Observation/Observation-NoTransfusion-Example"
70+
}
71+
],
72+
"note": [
73+
{
74+
"text": "Specimen will be provided at a later date"
75+
},
76+
{
77+
"text": "No family history of genomic testing"
78+
},
79+
{
80+
"text": "Free text for diagnosis/reason for referral, transplant, life status at time of request details/ E.g. DNA to be stored for future testing"
81+
}
82+
]
83+
}

0 commit comments

Comments
 (0)