Skip to content

Commit 0c52dab

Browse files
committed
additions
1 parent 337ecec commit 0c52dab

File tree

3 files changed

+27
-27
lines changed

3 files changed

+27
-27
lines changed

delta_backend/tests/sample_data/fhir_sample.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@
8787
"patient": {
8888
"reference": "#Pat1"
8989
},
90-
"occurrenceDateTime": "2021-05-07T12:24:37+00:00",
90+
"occurrenceDateTime": "2025-04-06T13:28:17.271+02:00",
9191
"recorded": "2025-01-01T00:00:00.000000",
9292
"primarySource": "True",
9393
"manufacturer": {

sandbox/immunisation-fhir-api.json

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -415,12 +415,12 @@
415415
"system": {
416416
"description": "The system which defines the location. Typically this will be https://fhir.nhs.uk/Id/ods-organization-code for a health setting (ODS use) or https://fhir.hl7.org.uk/Id/urn-school-number for an education setting (URN use). ",
417417
"type": "string",
418-
"example": "urn:iso:std:iso:3166"
418+
"example": "https://fhir.nhs.uk/Id/ods-organization-code"
419419
},
420420
"value": {
421421
"description": "The ODS or URN code of the location where the vaccination was administered. \n1. For occupational health vaccinations administered in a hospital trust by an independent healthcare provider, this SHALL be the ODS code of the hospital trust. \n2. For school vaccinations administered by a School Aged Immunisation Service provider, this SHALL be the URN of the school where the vaccination was administered. \n3. For roving teams on care home visits, this SHALL be the ODS code of the care home, where known. \n4. For any other vaccinations, populate with the same code as provided for `performer` ODS code. \n\nWhere the ODS/URN code is unavailable, a default value of `X99999` MUST be used.",
422422
"type": "string",
423-
"example": "GB"
423+
"example": "X99999"
424424
}
425425
},
426426
"required": [
@@ -772,8 +772,8 @@
772772
},
773773
"location": {
774774
"identifier": {
775-
"value": "X99999",
776-
"system": "https://fhir.nhs.uk/Id/ods-organization-code"
775+
"system": "https://fhir.nhs.uk/Id/ods-organization-code",
776+
"value": "X99999"
777777
}
778778
},
779779
"lotNumber": "4120Z001",
@@ -1238,12 +1238,12 @@
12381238
"system": {
12391239
"description": "The system which defines the location. Typically this will be https://fhir.nhs.uk/Id/ods-organization-code for a health setting or https://fhir.hl7.org.uk/Id/urn-school-number for an education setting.",
12401240
"type": "string",
1241-
"example": "urn:iso:std:iso:3166"
1241+
"example": "https://fhir.nhs.uk/Id/ods-organization-code"
12421242
},
12431243
"value": {
12441244
"description": "A code from the system to represent the location. An ODS code of X99999 represents a location where a code is not available.",
12451245
"type": "string",
1246-
"example": "GB"
1246+
"example": "X99999"
12471247
}
12481248
},
12491249
"required": [
@@ -1671,8 +1671,8 @@
16711671
"primarySource": true,
16721672
"location": {
16731673
"identifier": {
1674-
"system": "urn:iso:std:iso:3166",
1675-
"value": "GB"
1674+
"system": "https://fhir.nhs.uk/Id/ods-organization-code",
1675+
"value": "X99999"
16761676
}
16771677
},
16781678
"manufacturer": {
@@ -3122,12 +3122,12 @@
31223122
"system": {
31233123
"description": "The system which defines the location. Typically this will be https://fhir.nhs.uk/Id/ods-organization-code for a health setting or https://fhir.hl7.org.uk/Id/urn-school-number for an education setting.",
31243124
"type": "string",
3125-
"example": "urn:iso:std:iso:3166"
3125+
"example": "https://fhir.nhs.uk/Id/ods-organization-code"
31263126
},
31273127
"value": {
31283128
"description": "A code from the system to represent the location. An ODS code of X99999 represents a location where a code is not available.",
31293129
"type": "string",
3130-
"example": "GB"
3130+
"example": "X99999"
31313131
}
31323132
},
31333133
"required": [
@@ -3505,8 +3505,8 @@
35053505
"primarySource": true,
35063506
"location": {
35073507
"identifier": {
3508-
"system": "urn:iso:std:iso:3166",
3509-
"value": "GB"
3508+
"system": "https://fhir.nhs.uk/Id/ods-organization-code",
3509+
"value": "X99999"
35103510
}
35113511
},
35123512
"manufacturer": {
@@ -3549,7 +3549,7 @@
35493549
"type": "Organization",
35503550
"identifier": {
35513551
"system": "https://fhir.nhs.uk/Id/ods-organization-code",
3552-
"value": "N2N9I"
3552+
"value": "B0C4P"
35533553
}
35543554
}
35553555
}

specification/immunisation-fhir-api.json

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -415,12 +415,12 @@
415415
"system": {
416416
"description": "The system which defines the location. Typically this will be https://fhir.nhs.uk/Id/ods-organization-code for a health setting (ODS use) or https://fhir.hl7.org.uk/Id/urn-school-number for an education setting (URN use). ",
417417
"type": "string",
418-
"example": "urn:iso:std:iso:3166"
418+
"example": "https://fhir.nhs.uk/Id/ods-organization-code"
419419
},
420420
"value": {
421421
"description": "The ODS or URN code of the location where the vaccination was administered. \n1. For occupational health vaccinations administered in a hospital trust by an independent healthcare provider, this SHALL be the ODS code of the hospital trust. \n2. For school vaccinations administered by a School Aged Immunisation Service provider, this SHALL be the URN of the school where the vaccination was administered. \n3. For roving teams on care home visits, this SHALL be the ODS code of the care home, where known. \n4. For any other vaccinations, populate with the same code as provided for `performer` ODS code. \n\nWhere the ODS/URN code is unavailable, a default value of `X99999` MUST be used.",
422422
"type": "string",
423-
"example": "GB"
423+
"example": "X99999"
424424
}
425425
},
426426
"required": [
@@ -772,8 +772,8 @@
772772
},
773773
"location": {
774774
"identifier": {
775-
"value": "X99999",
776-
"system": "https://fhir.nhs.uk/Id/ods-organization-code"
775+
"system": "https://fhir.nhs.uk/Id/ods-organization-code",
776+
"value": "X99999"
777777
}
778778
},
779779
"lotNumber": "4120Z001",
@@ -1238,12 +1238,12 @@
12381238
"system": {
12391239
"description": "The system which defines the location. Typically this will be https://fhir.nhs.uk/Id/ods-organization-code for a health setting or https://fhir.hl7.org.uk/Id/urn-school-number for an education setting.",
12401240
"type": "string",
1241-
"example": "urn:iso:std:iso:3166"
1241+
"example": "https://fhir.nhs.uk/Id/ods-organization-code"
12421242
},
12431243
"value": {
12441244
"description": "A code from the system to represent the location. An ODS code of X99999 represents a location where a code is not available.",
12451245
"type": "string",
1246-
"example": "GB"
1246+
"example": "X99999"
12471247
}
12481248
},
12491249
"required": [
@@ -1671,8 +1671,8 @@
16711671
"primarySource": true,
16721672
"location": {
16731673
"identifier": {
1674-
"system": "urn:iso:std:iso:3166",
1675-
"value": "GB"
1674+
"system": "https://fhir.nhs.uk/Id/ods-organization-code",
1675+
"value": "X99999"
16761676
}
16771677
},
16781678
"manufacturer": {
@@ -3122,12 +3122,12 @@
31223122
"system": {
31233123
"description": "The system which defines the location. Typically this will be https://fhir.nhs.uk/Id/ods-organization-code for a health setting or https://fhir.hl7.org.uk/Id/urn-school-number for an education setting.",
31243124
"type": "string",
3125-
"example": "urn:iso:std:iso:3166"
3125+
"example": "https://fhir.nhs.uk/Id/ods-organization-code"
31263126
},
31273127
"value": {
31283128
"description": "A code from the system to represent the location. An ODS code of X99999 represents a location where a code is not available.",
31293129
"type": "string",
3130-
"example": "GB"
3130+
"example": "X99999"
31313131
}
31323132
},
31333133
"required": [
@@ -3505,8 +3505,8 @@
35053505
"primarySource": true,
35063506
"location": {
35073507
"identifier": {
3508-
"system": "urn:iso:std:iso:3166",
3509-
"value": "GB"
3508+
"system": "https://fhir.nhs.uk/Id/ods-organization-code",
3509+
"value": "X99999"
35103510
}
35113511
},
35123512
"manufacturer": {
@@ -3549,7 +3549,7 @@
35493549
"type": "Organization",
35503550
"identifier": {
35513551
"system": "https://fhir.nhs.uk/Id/ods-organization-code",
3552-
"value": "N2N9I"
3552+
"value": "B0C4P"
35533553
}
35543554
}
35553555
}

0 commit comments

Comments
 (0)