Skip to content

Commit 739d65b

Browse files
committed
NRL-478 update models
1 parent 209a507 commit 739d65b

File tree

4 files changed

+75
-62
lines changed

4 files changed

+75
-62
lines changed

api/producer/swagger.yaml

Lines changed: 72 additions & 59 deletions
Original file line numberDiff line numberDiff line change
@@ -469,9 +469,6 @@ paths:
469469
code: urn:ihe:pcc:handp:2008
470470
display: History and Physical Specification
471471
context:
472-
encounter:
473-
- identifier:
474-
value: Encounter/3495456481
475472
event:
476473
- coding:
477474
- system: http://snomed.info/sct
@@ -483,12 +480,17 @@ paths:
483480
facilityType:
484481
coding:
485482
- system: http://snomed.info/sct
486-
code: "273580000"
487-
display: London hospital pain chart assessment
483+
code: "82242000"
484+
display: Children's hospital
485+
practiceSetting:
486+
coding:
487+
- system: http://snomed.info/sct
488+
code: "390826005"
489+
display: Mental health caregiver support
488490
related:
489491
- identifier:
490-
system: https://fhir.nhs.uk/Id/ods-organization-code
491-
value: ROYAL COLLEGE OF PHYSICIANS OF LONDON
492+
system: https://fhir.nhs.uk/Id/nhsSpineASID
493+
value: "200000000610"
492494
- resource:
493495
resourceType: DocumentReference
494496
id: Y05868-1234567891
@@ -548,29 +550,28 @@ paths:
548550
code: urn:ihe:pcc:cm:2008
549551
display: Care Management
550552
context:
551-
encounter:
552-
- identifier:
553-
value: Encounter/3495456481
554553
event:
555554
- coding:
556555
- system: http://snomed.info/sct
557-
code: "713058002"
558-
display: End of life care planning
556+
code: "445627002"
557+
display: Assessment using adult early warning scoring system
559558
period:
560-
start: "2022-12-21T09:00:41+11:00"
561-
end: "2022-12-21T10:45:41+11:00"
559+
start: "2022-12-20T09:00:41+11:00"
560+
end: "2022-12-20T09:45:41+11:00"
562561
facilityType:
563562
coding:
564563
- system: http://snomed.info/sct
565-
code: "73770003"
566-
display: Hospital-based outpatient emergency care center
567-
sourcePatientInfo:
568-
identifier:
569-
value: Patient/3495456481
564+
code: "82242000"
565+
display: Children's hospital
566+
practiceSetting:
567+
coding:
568+
- system: http://snomed.info/sct
569+
code: "390826005"
570+
display: Mental health caregiver support
570571
related:
571572
- identifier:
572-
system: https://fhir.nhs.uk/Id/ods-organization-code
573-
value: TRAFFORD GENERAL HOSPITAL
573+
system: https://fhir.nhs.uk/Id/nhsSpineASID
574+
value: "200000000610"
574575
headers:
575576
X-Correlation-Id:
576577
$ref: "#/components/headers/CorrelationId"
@@ -752,9 +753,6 @@ paths:
752753
code: urn:ihe:pcc:handp:2008
753754
display: History and Physical Specification
754755
context:
755-
encounter:
756-
- identifier:
757-
value: Encounter/3495456481
758756
event:
759757
- coding:
760758
- system: http://snomed.info/sct
@@ -766,12 +764,17 @@ paths:
766764
facilityType:
767765
coding:
768766
- system: http://snomed.info/sct
769-
code: "273580000"
770-
display: London hospital pain chart assessment
767+
code: "82242000"
768+
display: Children's hospital
769+
practiceSetting:
770+
coding:
771+
- system: http://snomed.info/sct
772+
code: "390826005"
773+
display: Mental health caregiver support
771774
related:
772775
- identifier:
773-
system: https://fhir.nhs.uk/Id/ods-organization-code
774-
value: ROYAL COLLEGE OF PHYSICIANS OF LONDON
776+
system: https://fhir.nhs.uk/Id/nhsSpineASID
777+
value: "200000000610"
775778
- resource:
776779
resourceType: DocumentReference
777780
id: Y05868-1234567891
@@ -831,29 +834,28 @@ paths:
831834
code: urn:ihe:pcc:cm:2008
832835
display: Care Management
833836
context:
834-
encounter:
835-
- identifier:
836-
value: Encounter/3495456481
837837
event:
838838
- coding:
839839
- system: http://snomed.info/sct
840-
code: "713058002"
841-
display: End of life care planning
840+
code: "445627002"
841+
display: Assessment using adult early warning scoring system
842842
period:
843-
start: "2022-12-21T09:00:41+11:00"
844-
end: "2022-12-21T10:45:41+11:00"
843+
start: "2022-12-20T09:00:41+11:00"
844+
end: "2022-12-20T09:45:41+11:00"
845845
facilityType:
846846
coding:
847847
- system: http://snomed.info/sct
848-
code: "73770003"
849-
display: Hospital-based outpatient emergency care center
850-
sourcePatientInfo:
851-
identifier:
852-
value: Patient/3495456481
848+
code: "82242000"
849+
display: Children's hospital
850+
practiceSetting:
851+
coding:
852+
- system: http://snomed.info/sct
853+
code: "390826005"
854+
display: Mental health caregiver support
853855
related:
854856
- identifier:
855-
system: https://fhir.nhs.uk/Id/ods-organization-code
856-
value: TRAFFORD GENERAL HOSPITAL
857+
system: https://fhir.nhs.uk/Id/nhsSpineASID
858+
value: "200000000610"
857859
headers:
858860
X-Correlation-Id:
859861
$ref: "#/components/headers/CorrelationId"
@@ -947,26 +949,28 @@ paths:
947949
code: urn:ihe:pcc:handp:2008
948950
display: History and Physical Specification
949951
context:
950-
encounter:
951-
- identifier:
952-
value: Encounter/4409815415
953952
event:
954953
- coding:
955954
- system: http://snomed.info/sct
956-
code: "702779007"
957-
display: Emergency health care plan agreed
955+
code: "445627002"
956+
display: Assessment using adult early warning scoring system
958957
period:
959958
start: "2022-12-20T09:00:41+11:00"
960959
end: "2022-12-20T09:45:41+11:00"
961960
facilityType:
962961
coding:
963962
- system: http://snomed.info/sct
964-
code: "453121000124107"
965-
display: Emergency department healthcare professional
963+
code: "82242000"
964+
display: Children's hospital
965+
practiceSetting:
966+
coding:
967+
- system: http://snomed.info/sct
968+
code: "390826005"
969+
display: Mental health caregiver support
966970
related:
967971
- identifier:
968-
system: https://fhir.nhs.uk/Id/ods-organization-code
969-
value: EMERGENCY DEPT PRIMARY CARE STREAMING
972+
system: https://fhir.nhs.uk/Id/nhsSpineASID
973+
value: "200000000610"
970974
headers:
971975
X-Correlation-Id:
972976
$ref: "#/components/headers/CorrelationId"
@@ -1204,19 +1208,28 @@ components:
12041208
code: "urn:nhs-ic:unstructured"
12051209
display: Unstructured document
12061210
context:
1211+
event:
1212+
- coding:
1213+
- system: http://snomed.info/sct
1214+
code: "445627002"
1215+
display: Assessment using adult early warning scoring system
1216+
period:
1217+
start: "2022-12-20T09:00:41+11:00"
1218+
end: "2022-12-20T09:45:41+11:00"
1219+
facilityType:
1220+
coding:
1221+
- system: http://snomed.info/sct
1222+
code: "82242000"
1223+
display: Children's hospital
12071224
practiceSetting:
12081225
coding:
12091226
- system: http://snomed.info/sct
1210-
code: "788002001"
1211-
display: Adult mental health service
1212-
sourcePatientInfo:
1213-
identifier:
1214-
system: https://fhir.nhs.uk/Id/nhs-number
1215-
value: "6700028191"
1227+
code: "390826005"
1228+
display: Mental health caregiver support
12161229
related:
12171230
- identifier:
1218-
system: https://fhir.nhs.uk/Id/nhsSpineASID
1219-
value: 012345678910
1231+
system: https://fhir.nhs.uk/Id/nhsSpineASID
1232+
value: "200000000610"
12201233
required: true
12211234
schemas:
12221235
OperationOutcome:

layer/nrlf/consumer/fhir/r4/model.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# generated by datamodel-codegen:
22
# filename: swagger.yaml
3-
# timestamp: 2024-11-19T12:56:58+00:00
3+
# timestamp: 2024-11-20T09:21:04+00:00
44

55
from __future__ import annotations
66

layer/nrlf/producer/fhir/r4/model.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# generated by datamodel-codegen:
22
# filename: swagger.yaml
3-
# timestamp: 2024-11-19T12:56:54+00:00
3+
# timestamp: 2024-11-20T09:21:00+00:00
44

55
from __future__ import annotations
66

layer/nrlf/producer/fhir/r4/strict_model.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# generated by datamodel-codegen:
22
# filename: swagger.yaml
3-
# timestamp: 2024-11-19T12:56:56+00:00
3+
# timestamp: 2024-11-20T09:21:02+00:00
44

55
from __future__ import annotations
66

0 commit comments

Comments
 (0)