diff --git a/karate-tests/src/test/java/patients/healthcareWorker/createNewPdsRecordAtBirth/MissingValuesPayload/create-pds-record-at-birth-missing-address.json b/karate-tests/src/test/java/patients/healthcareWorker/createNewPdsRecordAtBirth/MissingValuesPayload/create-pds-record-at-birth-missing-address.json index 355cb043f..40476e00f 100644 --- a/karate-tests/src/test/java/patients/healthcareWorker/createNewPdsRecordAtBirth/MissingValuesPayload/create-pds-record-at-birth-missing-address.json +++ b/karate-tests/src/test/java/patients/healthcareWorker/createNewPdsRecordAtBirth/MissingValuesPayload/create-pds-record-at-birth-missing-address.json @@ -91,7 +91,7 @@ "code": { "coding": [ { - "system": "http://snomed.info/sct", + "system": "urn:oid:2.16.840.1.113883.2.1.3.2.4.15", "code": "364589006", "display": "Birth weight" } @@ -120,7 +120,7 @@ "code": { "coding": [ { - "system": "http://snomed.info/sct", + "system": "urn:oid:2.16.840.1.113883.2.1.3.2.4.15", "code": "237364002", "display": "Stillbirth" } @@ -152,7 +152,7 @@ "code": { "coding": [ { - "system": "http://snomed.info/sct", + "system": "urn:oid:2.16.840.1.113883.2.1.3.2.4.15", "code": "268477000", "display": "Fetal gestation at delivery" } @@ -181,7 +181,7 @@ "code": { "coding": [ { - "system": "http://snomed.info/sct", + "system": "urn:oid:2.16.840.1.113883.2.1.3.2.4.15", "code": "246435002", "display": "Number of foetuses" } @@ -205,7 +205,7 @@ "code": { "coding": [ { - "system": "http://snomed.info/sct", + "system": "urn:oid:2.16.840.1.113883.2.1.3.2.4.15", "code": "66091009", "display": "Suspected congenital abnormality" } @@ -294,7 +294,7 @@ "resourceType": "Organization", "identifier": [ { - "system": "https://fhir.nhs.uk/Id/ods-organization-code", + "system": "urn:oid:2.16.840.1.113883.2.1.4.3", "value": "A00002" } ], @@ -312,7 +312,7 @@ "status": "active", "identifier": [ { - "system": "https://fhir.nhs.uk/Id/ods-site-code", + "system": "urn:oid:1.2.826.0.1285.0.1.10", "value": "RR8G5" } ], @@ -348,7 +348,7 @@ { "coding": [ { - "system": "http://snomed.info/sct", + "system": "urn:oid:2.16.840.1.113883.2.1.3.2.4.15", "code": "788127005", "display": "Child health service" } @@ -359,27 +359,7 @@ "member": { "identifier": { "system": "https://fhir.nhs.uk/Id/ods-organization-code", - "value": "XYZ123" - } - } - }, - { - "role": [ - { - "coding": [ - { - "system": "http://snomed.info/sct", - "code": "788127005", - "display": "Child health service" - } - ], - "text": "Responsible child health" - } - ], - "member": { - "identifier": { - "system": "https://fhir.nhs.uk/Id/ods-organization-code", - "value": "Y98765" + "value": "RCB55" } } } diff --git a/karate-tests/src/test/java/patients/healthcareWorker/createNewPdsRecordAtBirth/MissingValuesPayload/create-pds-record-at-birth-missing-birthdate.json b/karate-tests/src/test/java/patients/healthcareWorker/createNewPdsRecordAtBirth/MissingValuesPayload/create-pds-record-at-birth-missing-birthdate.json index f0f995489..f67813648 100644 --- a/karate-tests/src/test/java/patients/healthcareWorker/createNewPdsRecordAtBirth/MissingValuesPayload/create-pds-record-at-birth-missing-birthdate.json +++ b/karate-tests/src/test/java/patients/healthcareWorker/createNewPdsRecordAtBirth/MissingValuesPayload/create-pds-record-at-birth-missing-birthdate.json @@ -91,7 +91,7 @@ "code": { "coding": [ { - "system": "http://snomed.info/sct", + "system": "urn:oid:2.16.840.1.113883.2.1.3.2.4.15", "code": "364589006", "display": "Birth weight" } @@ -120,7 +120,7 @@ "code": { "coding": [ { - "system": "http://snomed.info/sct", + "system": "urn:oid:2.16.840.1.113883.2.1.3.2.4.15", "code": "237364002", "display": "Stillbirth" } @@ -152,7 +152,7 @@ "code": { "coding": [ { - "system": "http://snomed.info/sct", + "system": "urn:oid:2.16.840.1.113883.2.1.3.2.4.15", "code": "268477000", "display": "Fetal gestation at delivery" } @@ -181,7 +181,7 @@ "code": { "coding": [ { - "system": "http://snomed.info/sct", + "system": "urn:oid:2.16.840.1.113883.2.1.3.2.4.15", "code": "246435002", "display": "Number of foetuses" } @@ -205,7 +205,7 @@ "code": { "coding": [ { - "system": "http://snomed.info/sct", + "system": "urn:oid:2.16.840.1.113883.2.1.3.2.4.15", "code": "66091009", "display": "Suspected congenital abnormality" } @@ -294,7 +294,7 @@ "resourceType": "Organization", "identifier": [ { - "system": "https://fhir.nhs.uk/Id/ods-organization-code", + "system": "urn:oid:2.16.840.1.113883.2.1.4.3", "value": "A00002" } ], @@ -312,7 +312,7 @@ "status": "active", "identifier": [ { - "system": "https://fhir.nhs.uk/Id/ods-site-code", + "system": "urn:oid:1.2.826.0.1285.0.1.10", "value": "RR8G5" } ], @@ -348,7 +348,7 @@ { "coding": [ { - "system": "http://snomed.info/sct", + "system": "urn:oid:2.16.840.1.113883.2.1.3.2.4.15", "code": "788127005", "display": "Child health service" } @@ -359,27 +359,7 @@ "member": { "identifier": { "system": "https://fhir.nhs.uk/Id/ods-organization-code", - "value": "XYZ123" - } - } - }, - { - "role": [ - { - "coding": [ - { - "system": "http://snomed.info/sct", - "code": "788127005", - "display": "Child health service" - } - ], - "text": "Responsible child health" - } - ], - "member": { - "identifier": { - "system": "https://fhir.nhs.uk/Id/ods-organization-code", - "value": "Y98765" + "value": "RCB55" } } } diff --git a/karate-tests/src/test/java/patients/healthcareWorker/createNewPdsRecordAtBirth/MissingValuesPayload/create-pds-record-at-birth-missing-birthweight-value.json b/karate-tests/src/test/java/patients/healthcareWorker/createNewPdsRecordAtBirth/MissingValuesPayload/create-pds-record-at-birth-missing-birthweight-value.json index 2bff9c4e2..2f8b95444 100644 --- a/karate-tests/src/test/java/patients/healthcareWorker/createNewPdsRecordAtBirth/MissingValuesPayload/create-pds-record-at-birth-missing-birthweight-value.json +++ b/karate-tests/src/test/java/patients/healthcareWorker/createNewPdsRecordAtBirth/MissingValuesPayload/create-pds-record-at-birth-missing-birthweight-value.json @@ -92,7 +92,7 @@ "code": { "coding": [ { - "system": "http://snomed.info/sct", + "system": "urn:oid:2.16.840.1.113883.2.1.3.2.4.15", "code": "364589006", "display": "Birth weight" } @@ -120,7 +120,7 @@ "code": { "coding": [ { - "system": "http://snomed.info/sct", + "system": "urn:oid:2.16.840.1.113883.2.1.3.2.4.15", "code": "237364002", "display": "Stillbirth" } @@ -152,7 +152,7 @@ "code": { "coding": [ { - "system": "http://snomed.info/sct", + "system": "urn:oid:2.16.840.1.113883.2.1.3.2.4.15", "code": "268477000", "display": "Fetal gestation at delivery" } @@ -181,7 +181,7 @@ "code": { "coding": [ { - "system": "http://snomed.info/sct", + "system": "urn:oid:2.16.840.1.113883.2.1.3.2.4.15", "code": "246435002", "display": "Number of foetuses" } @@ -205,7 +205,7 @@ "code": { "coding": [ { - "system": "http://snomed.info/sct", + "system": "urn:oid:2.16.840.1.113883.2.1.3.2.4.15", "code": "66091009", "display": "Suspected congenital abnormality" } @@ -294,7 +294,7 @@ "resourceType": "Organization", "identifier": [ { - "system": "https://fhir.nhs.uk/Id/ods-organization-code", + "system": "urn:oid:2.16.840.1.113883.2.1.4.3", "value": "A00002" } ], @@ -312,7 +312,7 @@ "status": "active", "identifier": [ { - "system": "https://fhir.nhs.uk/Id/ods-site-code", + "system": "urn:oid:1.2.826.0.1285.0.1.10", "value": "RR8G5" } ], @@ -348,7 +348,7 @@ { "coding": [ { - "system": "http://snomed.info/sct", + "system": "urn:oid:2.16.840.1.113883.2.1.3.2.4.15", "code": "788127005", "display": "Child health service" } @@ -359,27 +359,7 @@ "member": { "identifier": { "system": "https://fhir.nhs.uk/Id/ods-organization-code", - "value": "XYZ123" - } - } - }, - { - "role": [ - { - "coding": [ - { - "system": "http://snomed.info/sct", - "code": "788127005", - "display": "Child health service" - } - ], - "text": "Responsible child health" - } - ], - "member": { - "identifier": { - "system": "https://fhir.nhs.uk/Id/ods-organization-code", - "value": "Y98765" + "value": "RCB55" } } } diff --git a/karate-tests/src/test/java/patients/healthcareWorker/createNewPdsRecordAtBirth/MissingValuesPayload/create-pds-record-at-birth-missing-delivery-location-resource.json b/karate-tests/src/test/java/patients/healthcareWorker/createNewPdsRecordAtBirth/MissingValuesPayload/create-pds-record-at-birth-missing-delivery-location-resource.json index fbaa381c0..ff2fd29bd 100644 --- a/karate-tests/src/test/java/patients/healthcareWorker/createNewPdsRecordAtBirth/MissingValuesPayload/create-pds-record-at-birth-missing-delivery-location-resource.json +++ b/karate-tests/src/test/java/patients/healthcareWorker/createNewPdsRecordAtBirth/MissingValuesPayload/create-pds-record-at-birth-missing-delivery-location-resource.json @@ -92,7 +92,7 @@ "code": { "coding": [ { - "system": "http://snomed.info/sct", + "system": "urn:oid:2.16.840.1.113883.2.1.3.2.4.15", "code": "364589006", "display": "Birth weight" } @@ -121,7 +121,7 @@ "code": { "coding": [ { - "system": "http://snomed.info/sct", + "system": "urn:oid:2.16.840.1.113883.2.1.3.2.4.15", "code": "237364002", "display": "Stillbirth" } @@ -153,7 +153,7 @@ "code": { "coding": [ { - "system": "http://snomed.info/sct", + "system": "urn:oid:2.16.840.1.113883.2.1.3.2.4.15", "code": "268477000", "display": "Fetal gestation at delivery" } @@ -182,7 +182,7 @@ "code": { "coding": [ { - "system": "http://snomed.info/sct", + "system": "urn:oid:2.16.840.1.113883.2.1.3.2.4.15", "code": "246435002", "display": "Number of foetuses" } @@ -206,7 +206,7 @@ "code": { "coding": [ { - "system": "http://snomed.info/sct", + "system": "urn:oid:2.16.840.1.113883.2.1.3.2.4.15", "code": "66091009", "display": "Suspected congenital abnormality" } @@ -295,7 +295,7 @@ "resourceType": "Organization", "identifier": [ { - "system": "https://fhir.nhs.uk/Id/ods-organization-code", + "system": "urn:oid:2.16.840.1.113883.2.1.4.3", "value": "A00002" } ], @@ -320,7 +320,7 @@ { "coding": [ { - "system": "http://snomed.info/sct", + "system": "urn:oid:2.16.840.1.113883.2.1.3.2.4.15", "code": "788127005", "display": "Child health service" } @@ -331,27 +331,7 @@ "member": { "identifier": { "system": "https://fhir.nhs.uk/Id/ods-organization-code", - "value": "XYZ123" - } - } - }, - { - "role": [ - { - "coding": [ - { - "system": "http://snomed.info/sct", - "code": "788127005", - "display": "Child health service" - } - ], - "text": "Responsible child health" - } - ], - "member": { - "identifier": { - "system": "https://fhir.nhs.uk/Id/ods-organization-code", - "value": "Y98765" + "value": "RCB55" } } } diff --git a/karate-tests/src/test/java/patients/healthcareWorker/createNewPdsRecordAtBirth/MissingValuesPayload/create-pds-record-at-birth-missing-ethnicity-extension.json b/karate-tests/src/test/java/patients/healthcareWorker/createNewPdsRecordAtBirth/MissingValuesPayload/create-pds-record-at-birth-missing-ethnicity-extension.json index a0ab05a6a..fef6d6593 100644 --- a/karate-tests/src/test/java/patients/healthcareWorker/createNewPdsRecordAtBirth/MissingValuesPayload/create-pds-record-at-birth-missing-ethnicity-extension.json +++ b/karate-tests/src/test/java/patients/healthcareWorker/createNewPdsRecordAtBirth/MissingValuesPayload/create-pds-record-at-birth-missing-ethnicity-extension.json @@ -80,7 +80,7 @@ "code": { "coding": [ { - "system": "http://snomed.info/sct", + "system": "urn:oid:2.16.840.1.113883.2.1.3.2.4.15", "code": "364589006", "display": "Birth weight" } @@ -109,7 +109,7 @@ "code": { "coding": [ { - "system": "http://snomed.info/sct", + "system": "urn:oid:2.16.840.1.113883.2.1.3.2.4.15", "code": "237364002", "display": "Stillbirth" } @@ -141,7 +141,7 @@ "code": { "coding": [ { - "system": "http://snomed.info/sct", + "system": "urn:oid:2.16.840.1.113883.2.1.3.2.4.15", "code": "268477000", "display": "Fetal gestation at delivery" } @@ -170,7 +170,7 @@ "code": { "coding": [ { - "system": "http://snomed.info/sct", + "system": "urn:oid:2.16.840.1.113883.2.1.3.2.4.15", "code": "246435002", "display": "Number of foetuses" } @@ -194,7 +194,7 @@ "code": { "coding": [ { - "system": "http://snomed.info/sct", + "system": "urn:oid:2.16.840.1.113883.2.1.3.2.4.15", "code": "66091009", "display": "Suspected congenital abnormality" } @@ -283,7 +283,7 @@ "resourceType": "Organization", "identifier": [ { - "system": "https://fhir.nhs.uk/Id/ods-organization-code", + "system": "urn:oid:2.16.840.1.113883.2.1.4.3", "value": "A00002" } ], @@ -301,7 +301,7 @@ "status": "active", "identifier": [ { - "system": "https://fhir.nhs.uk/Id/ods-site-code", + "system": "urn:oid:1.2.826.0.1285.0.1.10", "value": "RR8G5" } ], @@ -337,7 +337,7 @@ { "coding": [ { - "system": "http://snomed.info/sct", + "system": "urn:oid:2.16.840.1.113883.2.1.3.2.4.15", "code": "788127005", "display": "Child health service" } @@ -348,27 +348,7 @@ "member": { "identifier": { "system": "https://fhir.nhs.uk/Id/ods-organization-code", - "value": "XYZ123" - } - } - }, - { - "role": [ - { - "coding": [ - { - "system": "http://snomed.info/sct", - "code": "788127005", - "display": "Child health service" - } - ], - "text": "Responsible child health" - } - ], - "member": { - "identifier": { - "system": "https://fhir.nhs.uk/Id/ods-organization-code", - "value": "Y98765" + "value": "RCB55" } } } diff --git a/karate-tests/src/test/java/patients/healthcareWorker/createNewPdsRecordAtBirth/MissingValuesPayload/create-pds-record-at-birth-missing-gender.json b/karate-tests/src/test/java/patients/healthcareWorker/createNewPdsRecordAtBirth/MissingValuesPayload/create-pds-record-at-birth-missing-gender.json index 814f0d589..a933e02ad 100644 --- a/karate-tests/src/test/java/patients/healthcareWorker/createNewPdsRecordAtBirth/MissingValuesPayload/create-pds-record-at-birth-missing-gender.json +++ b/karate-tests/src/test/java/patients/healthcareWorker/createNewPdsRecordAtBirth/MissingValuesPayload/create-pds-record-at-birth-missing-gender.json @@ -91,7 +91,7 @@ "code": { "coding": [ { - "system": "http://snomed.info/sct", + "system": "urn:oid:2.16.840.1.113883.2.1.3.2.4.15", "code": "364589006", "display": "Birth weight" } @@ -120,7 +120,7 @@ "code": { "coding": [ { - "system": "http://snomed.info/sct", + "system": "urn:oid:2.16.840.1.113883.2.1.3.2.4.15", "code": "237364002", "display": "Stillbirth" } @@ -152,7 +152,7 @@ "code": { "coding": [ { - "system": "http://snomed.info/sct", + "system": "urn:oid:2.16.840.1.113883.2.1.3.2.4.15", "code": "268477000", "display": "Fetal gestation at delivery" } @@ -181,7 +181,7 @@ "code": { "coding": [ { - "system": "http://snomed.info/sct", + "system": "urn:oid:2.16.840.1.113883.2.1.3.2.4.15", "code": "246435002", "display": "Number of foetuses" } @@ -205,7 +205,7 @@ "code": { "coding": [ { - "system": "http://snomed.info/sct", + "system": "urn:oid:2.16.840.1.113883.2.1.3.2.4.15", "code": "66091009", "display": "Suspected congenital abnormality" } @@ -294,7 +294,7 @@ "resourceType": "Organization", "identifier": [ { - "system": "https://fhir.nhs.uk/Id/ods-organization-code", + "system": "urn:oid:2.16.840.1.113883.2.1.4.3", "value": "A00002" } ], @@ -312,7 +312,7 @@ "status": "active", "identifier": [ { - "system": "https://fhir.nhs.uk/Id/ods-site-code", + "system": "urn:oid:1.2.826.0.1285.0.1.10", "value": "RR8G5" } ], @@ -348,7 +348,7 @@ { "coding": [ { - "system": "http://snomed.info/sct", + "system": "urn:oid:2.16.840.1.113883.2.1.3.2.4.15", "code": "788127005", "display": "Child health service" } @@ -359,27 +359,7 @@ "member": { "identifier": { "system": "https://fhir.nhs.uk/Id/ods-organization-code", - "value": "XYZ123" - } - } - }, - { - "role": [ - { - "coding": [ - { - "system": "http://snomed.info/sct", - "code": "788127005", - "display": "Child health service" - } - ], - "text": "Responsible child health" - } - ], - "member": { - "identifier": { - "system": "https://fhir.nhs.uk/Id/ods-organization-code", - "value": "Y98765" + "value": "RCB55" } } } diff --git a/karate-tests/src/test/java/patients/healthcareWorker/createNewPdsRecordAtBirth/MissingValuesPayload/create-pds-record-at-birth-missing-mother-nhs-number.json b/karate-tests/src/test/java/patients/healthcareWorker/createNewPdsRecordAtBirth/MissingValuesPayload/create-pds-record-at-birth-missing-mother-nhs-number.json index 7ed5d445d..24024897b 100644 --- a/karate-tests/src/test/java/patients/healthcareWorker/createNewPdsRecordAtBirth/MissingValuesPayload/create-pds-record-at-birth-missing-mother-nhs-number.json +++ b/karate-tests/src/test/java/patients/healthcareWorker/createNewPdsRecordAtBirth/MissingValuesPayload/create-pds-record-at-birth-missing-mother-nhs-number.json @@ -92,7 +92,7 @@ "code": { "coding": [ { - "system": "http://snomed.info/sct", + "system": "urn:oid:2.16.840.1.113883.2.1.3.2.4.15", "code": "364589006", "display": "Birth weight" } @@ -121,7 +121,7 @@ "code": { "coding": [ { - "system": "http://snomed.info/sct", + "system": "urn:oid:2.16.840.1.113883.2.1.3.2.4.15", "code": "237364002", "display": "Stillbirth" } @@ -153,7 +153,7 @@ "code": { "coding": [ { - "system": "http://snomed.info/sct", + "system": "urn:oid:2.16.840.1.113883.2.1.3.2.4.15", "code": "268477000", "display": "Fetal gestation at delivery" } @@ -182,7 +182,7 @@ "code": { "coding": [ { - "system": "http://snomed.info/sct", + "system": "urn:oid:2.16.840.1.113883.2.1.3.2.4.15", "code": "246435002", "display": "Number of foetuses" } @@ -206,7 +206,7 @@ "code": { "coding": [ { - "system": "http://snomed.info/sct", + "system": "urn:oid:2.16.840.1.113883.2.1.3.2.4.15", "code": "66091009", "display": "Suspected congenital abnormality" } @@ -294,7 +294,7 @@ "resourceType": "Organization", "identifier": [ { - "system": "https://fhir.nhs.uk/Id/ods-organization-code", + "system": "urn:oid:2.16.840.1.113883.2.1.4.3", "value": "A00002" } ], @@ -312,7 +312,7 @@ "status": "active", "identifier": [ { - "system": "https://fhir.nhs.uk/Id/ods-site-code", + "system": "urn:oid:1.2.826.0.1285.0.1.10", "value": "RR8G5" } ], @@ -348,7 +348,7 @@ { "coding": [ { - "system": "http://snomed.info/sct", + "system": "urn:oid:2.16.840.1.113883.2.1.3.2.4.15", "code": "788127005", "display": "Child health service" } @@ -359,27 +359,7 @@ "member": { "identifier": { "system": "https://fhir.nhs.uk/Id/ods-organization-code", - "value": "XYZ123" - } - } - }, - { - "role": [ - { - "coding": [ - { - "system": "http://snomed.info/sct", - "code": "788127005", - "display": "Child health service" - } - ], - "text": "Responsible child health" - } - ], - "member": { - "identifier": { - "system": "https://fhir.nhs.uk/Id/ods-organization-code", - "value": "Y98765" + "value": "RCB55" } } } diff --git a/karate-tests/src/test/java/patients/healthcareWorker/createNewPdsRecordAtBirth/MissingValuesPayload/create-pds-record-at-birth-missing-name-use.json b/karate-tests/src/test/java/patients/healthcareWorker/createNewPdsRecordAtBirth/MissingValuesPayload/create-pds-record-at-birth-missing-name-use.json index 5f68afe23..e032253fa 100644 --- a/karate-tests/src/test/java/patients/healthcareWorker/createNewPdsRecordAtBirth/MissingValuesPayload/create-pds-record-at-birth-missing-name-use.json +++ b/karate-tests/src/test/java/patients/healthcareWorker/createNewPdsRecordAtBirth/MissingValuesPayload/create-pds-record-at-birth-missing-name-use.json @@ -91,7 +91,7 @@ "code": { "coding": [ { - "system": "http://snomed.info/sct", + "system": "urn:oid:2.16.840.1.113883.2.1.3.2.4.15", "code": "364589006", "display": "Birth weight" } @@ -120,7 +120,7 @@ "code": { "coding": [ { - "system": "http://snomed.info/sct", + "system": "urn:oid:2.16.840.1.113883.2.1.3.2.4.15", "code": "237364002", "display": "Stillbirth" } @@ -152,7 +152,7 @@ "code": { "coding": [ { - "system": "http://snomed.info/sct", + "system": "urn:oid:2.16.840.1.113883.2.1.3.2.4.15", "code": "268477000", "display": "Fetal gestation at delivery" } @@ -181,7 +181,7 @@ "code": { "coding": [ { - "system": "http://snomed.info/sct", + "system": "urn:oid:2.16.840.1.113883.2.1.3.2.4.15", "code": "246435002", "display": "Number of foetuses" } @@ -205,7 +205,7 @@ "code": { "coding": [ { - "system": "http://snomed.info/sct", + "system": "urn:oid:2.16.840.1.113883.2.1.3.2.4.15", "code": "66091009", "display": "Suspected congenital abnormality" } @@ -294,7 +294,7 @@ "resourceType": "Organization", "identifier": [ { - "system": "https://fhir.nhs.uk/Id/ods-organization-code", + "system": "urn:oid:2.16.840.1.113883.2.1.4.3", "value": "A00002" } ], @@ -312,7 +312,7 @@ "status": "active", "identifier": [ { - "system": "https://fhir.nhs.uk/Id/ods-site-code", + "system": "urn:oid:1.2.826.0.1285.0.1.10", "value": "RR8G5" } ], @@ -348,7 +348,7 @@ { "coding": [ { - "system": "http://snomed.info/sct", + "system": "urn:oid:2.16.840.1.113883.2.1.3.2.4.15", "code": "788127005", "display": "Child health service" } @@ -359,27 +359,7 @@ "member": { "identifier": { "system": "https://fhir.nhs.uk/Id/ods-organization-code", - "value": "XYZ123" - } - } - }, - { - "role": [ - { - "coding": [ - { - "system": "http://snomed.info/sct", - "code": "788127005", - "display": "Child health service" - } - ], - "text": "Responsible child health" - } - ], - "member": { - "identifier": { - "system": "https://fhir.nhs.uk/Id/ods-organization-code", - "value": "Y98765" + "value": "RCB55" } } } diff --git a/karate-tests/src/test/java/patients/healthcareWorker/createNewPdsRecordAtBirth/create-pds-record-at-birth-maximal.json b/karate-tests/src/test/java/patients/healthcareWorker/createNewPdsRecordAtBirth/create-pds-record-at-birth-maximal.json index 59a3446f4..ec23397a7 100644 --- a/karate-tests/src/test/java/patients/healthcareWorker/createNewPdsRecordAtBirth/create-pds-record-at-birth-maximal.json +++ b/karate-tests/src/test/java/patients/healthcareWorker/createNewPdsRecordAtBirth/create-pds-record-at-birth-maximal.json @@ -102,7 +102,7 @@ "code": { "coding": [ { - "system": "http://snomed.info/sct", + "system": "urn:oid:2.16.840.1.113883.2.1.3.2.4.15", "code": "364589006", "display": "Birth weight" } @@ -131,7 +131,7 @@ "code": { "coding": [ { - "system": "http://snomed.info/sct", + "system": "urn:oid:2.16.840.1.113883.2.1.3.2.4.15", "code": "237364002", "display": "Stillbirth" } @@ -163,7 +163,7 @@ "code": { "coding": [ { - "system": "http://snomed.info/sct", + "system": "urn:oid:2.16.840.1.113883.2.1.3.2.4.15", "code": "268477000", "display": "Fetal gestation at delivery" } @@ -192,7 +192,7 @@ "code": { "coding": [ { - "system": "http://snomed.info/sct", + "system": "urn:oid:2.16.840.1.113883.2.1.3.2.4.15", "code": "246435002", "display": "Number of foetuses" } @@ -216,7 +216,7 @@ "code": { "coding": [ { - "system": "http://snomed.info/sct", + "system": "urn:oid:2.16.840.1.113883.2.1.3.2.4.15", "code": "66091009", "display": "Suspected congenital abnormality" } @@ -305,7 +305,7 @@ "resourceType": "Organization", "identifier": [ { - "system": "https://fhir.nhs.uk/Id/ods-organization-code", + "system": "urn:oid:2.16.840.1.113883.2.1.4.3", "value": "A00002" } ], @@ -323,7 +323,7 @@ "status": "active", "identifier": [ { - "system": "https://fhir.nhs.uk/Id/ods-site-code", + "system": "urn:oid:1.2.826.0.1285.0.1.10", "value": "RR8G5" } ], @@ -359,7 +359,7 @@ { "coding": [ { - "system": "http://snomed.info/sct", + "system": "urn:oid:2.16.840.1.113883.2.1.3.2.4.15", "code": "788127005", "display": "Child health service" } @@ -370,27 +370,7 @@ "member": { "identifier": { "system": "https://fhir.nhs.uk/Id/ods-organization-code", - "value": "XYZ123" - } - } - }, - { - "role": [ - { - "coding": [ - { - "system": "http://snomed.info/sct", - "code": "788127005", - "display": "Child health service" - } - ], - "text": "Responsible child health" - } - ], - "member": { - "identifier": { - "system": "https://fhir.nhs.uk/Id/ods-organization-code", - "value": "Y98765" + "value": "RCB55" } } } diff --git a/karate-tests/src/test/java/patients/healthcareWorker/createNewPdsRecordAtBirth/create-pds-record-at-birth.json b/karate-tests/src/test/java/patients/healthcareWorker/createNewPdsRecordAtBirth/create-pds-record-at-birth.json index 38de91ac0..95c0e148a 100644 --- a/karate-tests/src/test/java/patients/healthcareWorker/createNewPdsRecordAtBirth/create-pds-record-at-birth.json +++ b/karate-tests/src/test/java/patients/healthcareWorker/createNewPdsRecordAtBirth/create-pds-record-at-birth.json @@ -92,7 +92,7 @@ "code": { "coding": [ { - "system": "http://snomed.info/sct", + "system": "urn:oid:2.16.840.1.113883.2.1.3.2.4.15", "code": "364589006", "display": "Birth weight" } @@ -121,7 +121,7 @@ "code": { "coding": [ { - "system": "http://snomed.info/sct", + "system": "urn:oid:2.16.840.1.113883.2.1.3.2.4.15", "code": "237364002", "display": "Stillbirth" } @@ -153,7 +153,7 @@ "code": { "coding": [ { - "system": "http://snomed.info/sct", + "system": "urn:oid:2.16.840.1.113883.2.1.3.2.4.15", "code": "268477000", "display": "Fetal gestation at delivery" } @@ -182,7 +182,7 @@ "code": { "coding": [ { - "system": "http://snomed.info/sct", + "system": "urn:oid:2.16.840.1.113883.2.1.3.2.4.15", "code": "246435002", "display": "Number of foetuses" } @@ -206,7 +206,7 @@ "code": { "coding": [ { - "system": "http://snomed.info/sct", + "system": "urn:oid:2.16.840.1.113883.2.1.3.2.4.15", "code": "66091009", "display": "Suspected congenital abnormality" } @@ -295,7 +295,7 @@ "resourceType": "Organization", "identifier": [ { - "system": "https://fhir.nhs.uk/Id/ods-organization-code", + "system": "urn:oid:2.16.840.1.113883.2.1.4.3", "value": "A00002" } ], @@ -313,7 +313,7 @@ "status": "active", "identifier": [ { - "system": "https://fhir.nhs.uk/Id/ods-site-code", + "system": "urn:oid:1.2.826.0.1285.0.1.10", "value": "RR8G5" } ], @@ -349,7 +349,7 @@ { "coding": [ { - "system": "http://snomed.info/sct", + "system": "urn:oid:2.16.840.1.113883.2.1.3.2.4.15", "code": "788127005", "display": "Child health service" } @@ -360,27 +360,7 @@ "member": { "identifier": { "system": "https://fhir.nhs.uk/Id/ods-organization-code", - "value": "XYZ123" - } - } - }, - { - "role": [ - { - "coding": [ - { - "system": "http://snomed.info/sct", - "code": "788127005", - "display": "Child health service" - } - ], - "text": "Responsible child health" - } - ], - "member": { - "identifier": { - "system": "https://fhir.nhs.uk/Id/ods-organization-code", - "value": "Y98765" + "value": "RCB55" } } } diff --git a/scripts/config/gitleaks.toml b/scripts/config/gitleaks.toml index 2a0b1141d..af93182b2 100644 --- a/scripts/config/gitleaks.toml +++ b/scripts/config/gitleaks.toml @@ -46,4 +46,11 @@ paths = ['''specification/patient-demographics-service-api.yaml'''] regexTarget = "line" regexes = [ '''example:*''' -] \ No newline at end of file +] + +[[allowlists]] +description = "URN OID identifiers are non-sensitive" +regexTarget = "line" +regexes = [ + '''urn:oid:[0-9.]+''' +]