Skip to content

Commit e4c19fa

Browse files
authored
api post (#456)
OAS json changes
1 parent e202058 commit e4c19fa

File tree

2 files changed

+12
-26
lines changed

2 files changed

+12
-26
lines changed

sandbox/immunisation-fhir-api.json

Lines changed: 6 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -2150,12 +2150,12 @@
21502150
"system": {
21512151
"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.",
21522152
"type": "string",
2153-
"example": "urn:iso:std:iso:3166"
2153+
"example": "https://fhir.nhs.uk/Id/ods-organization-code"
21542154
},
21552155
"value": {
21562156
"description": "A code from the system to represent the location. An ODS code of X99999 represents a location where a code is not available.",
21572157
"type": "string",
2158-
"example": "GB"
2158+
"example": "X99999"
21592159
}
21602160
},
21612161
"required": [
@@ -2457,8 +2457,7 @@
24572457
"type": "object",
24582458
"required": [
24592459
"resourceType",
2460-
"id",
2461-
"birthDate"
2460+
"id"
24622461
],
24632462
"properties": {
24642463
"resourceType": {
@@ -2494,11 +2493,6 @@
24942493
}
24952494
}
24962495
}
2497-
},
2498-
"birthDate": {
2499-
"description": "Patient's date of birth.",
2500-
"type": "string",
2501-
"example": "1965-02-28"
25022496
}
25032497
}
25042498
}
@@ -2589,8 +2583,8 @@
25892583
"primarySource": true,
25902584
"location": {
25912585
"identifier": {
2592-
"system": "urn:iso:std:iso:3166",
2593-
"value": "GB"
2586+
"system": "https://fhir.nhs.uk/Id/ods-organization-code",
2587+
"value": "X99999"
25942588
}
25952589
},
25962590
"manufacturer": {
@@ -2676,8 +2670,7 @@
26762670
"system": "https://fhir.nhs.uk/Id/nhs-number",
26772671
"value": "9000000009"
26782672
}
2679-
],
2680-
"birthDate": "2014-03-25"
2673+
]
26812674
},
26822675
"search": {
26832676
"mode": "include"

specification/immunisation-fhir-api.json

Lines changed: 6 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -2150,12 +2150,12 @@
21502150
"system": {
21512151
"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.",
21522152
"type": "string",
2153-
"example": "urn:iso:std:iso:3166"
2153+
"example": "https://fhir.nhs.uk/Id/ods-organization-code"
21542154
},
21552155
"value": {
21562156
"description": "A code from the system to represent the location. An ODS code of X99999 represents a location where a code is not available.",
21572157
"type": "string",
2158-
"example": "GB"
2158+
"example": "X99999"
21592159
}
21602160
},
21612161
"required": [
@@ -2457,8 +2457,7 @@
24572457
"type": "object",
24582458
"required": [
24592459
"resourceType",
2460-
"id",
2461-
"birthDate"
2460+
"id"
24622461
],
24632462
"properties": {
24642463
"resourceType": {
@@ -2494,11 +2493,6 @@
24942493
}
24952494
}
24962495
}
2497-
},
2498-
"birthDate": {
2499-
"description": "Patient's date of birth.",
2500-
"type": "string",
2501-
"example": "1965-02-28"
25022496
}
25032497
}
25042498
}
@@ -2589,8 +2583,8 @@
25892583
"primarySource": true,
25902584
"location": {
25912585
"identifier": {
2592-
"system": "urn:iso:std:iso:3166",
2593-
"value": "GB"
2586+
"system": "https://fhir.nhs.uk/Id/ods-organization-code",
2587+
"value": "X99999"
25942588
}
25952589
},
25962590
"manufacturer": {
@@ -2676,8 +2670,7 @@
26762670
"system": "https://fhir.nhs.uk/Id/nhs-number",
26772671
"value": "9000000009"
26782672
}
2679-
],
2680-
"birthDate": "2014-03-25"
2673+
]
26812674
},
26822675
"search": {
26832676
"mode": "include"

0 commit comments

Comments
 (0)