Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"details": {
"coding": [
{
"system": "https://fhir.nhs.uk/R4/CodeSystem/Spine-ErrorOrWarningCode",
"system": "https://fhir.hl7.org.uk/CodeSystem/Spine-ErrorOrWarningCode",
"version": "1",
"code": "ACCESS_DENIED",
"display": "#(display)"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
{
"code": "ADDITIONAL_PROPERTIES",
"display": "Additional properties should not be included",
"system": "https://fhir.nhs.uk/R4/CodeSystem/Spine-ErrorOrWarningCode",
"system": "https://fhir.hl7.org.uk/CodeSystem/Spine-ErrorOrWarningCode",
"version": "1"
}
]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
{
"code": "FORBIDDEN_UPDATE",
"display": "Update is forbidden",
"system": "https://fhir.nhs.uk/R4/CodeSystem/Spine-ErrorOrWarningCode",
"system": "https://fhir.hl7.org.uk/CodeSystem/Spine-ErrorOrWarningCode",
"version": "1"
}
]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
{
"code": "INVALIDATED_RESOURCE",
"display": "Resource that has been marked as invalid was requested - invalid resources cannot be retrieved",
"system": "https://fhir.nhs.uk/R4/CodeSystem/Spine-ErrorOrWarningCode",
"system": "https://fhir.hl7.org.uk/CodeSystem/Spine-ErrorOrWarningCode",
"version": "1"
}
]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
{
"code": "INVALID_CREATE",
"display": "Patient create data is invalid",
"system": "https://fhir.nhs.uk/R4/CodeSystem/Spine-ErrorOrWarningCode",
"system": "https://fhir.hl7.org.uk/CodeSystem/Spine-ErrorOrWarningCode",
"version": "1"
}
]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"details": {
"coding": [
{
"system": "https://fhir.nhs.uk/R4/CodeSystem/Spine-ErrorOrWarningCode",
"system": "https://fhir.hl7.org.uk/CodeSystem/Spine-ErrorOrWarningCode",
"version": "1",
"code": "INVALID_METHOD",
"display": "#(display)"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"details": {
"coding": [
{
"system": "https://fhir.nhs.uk/R4/CodeSystem/Spine-ErrorOrWarningCode",
"system": "https://fhir.hl7.org.uk/CodeSystem/Spine-ErrorOrWarningCode",
"version": "1",
"code": "INVALID_RESOURCE_ID",
"display": "Resource Id is invalid"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
{
"code": "INVALID_SEARCH_DATA",
"display": "Search data is invalid",
"system": "https://fhir.nhs.uk/R4/CodeSystem/Spine-ErrorOrWarningCode",
"system": "https://fhir.hl7.org.uk/CodeSystem/Spine-ErrorOrWarningCode",
"version": "1"
}
]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"details": {
"coding": [
{
"system": "https://fhir.nhs.uk/R4/CodeSystem/Spine-ErrorOrWarningCode",
"system": "https://fhir.hl7.org.uk/CodeSystem/Spine-ErrorOrWarningCode",
"version": "1",
"code": "INVALID_UPDATE",
"display": "Update is invalid"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
{
"code": "INVALID_VALUE",
"display": "Provided value is invalid",
"system": "https://fhir.nhs.uk/R4/CodeSystem/Spine-ErrorOrWarningCode",
"system": "https://fhir.hl7.org.uk/CodeSystem/Spine-ErrorOrWarningCode",
"version": "1"
}
]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"details": {
"coding": [
{
"system": "https://fhir.nhs.uk/R4/CodeSystem/Spine-ErrorOrWarningCode",
"system": "https://fhir.hl7.org.uk/CodeSystem/Spine-ErrorOrWarningCode",
"version": "1",
"code": "MISSING_VALUE",
"display": "Required value is missing"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"details": {
"coding": [
{
"system": "https://fhir.nhs.uk/R4/CodeSystem/Spine-ErrorOrWarningCode",
"system": "https://fhir.hl7.org.uk/CodeSystem/Spine-ErrorOrWarningCode",
"version": "1",
"code": "PRECONDITION_FAILED",
"display": "Required condition was not fulfilled"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
{
"code": "RESOURCE_NOT_FOUND",
"display": "Resource not found",
"system": "https://fhir.nhs.uk/R4/CodeSystem/Spine-ErrorOrWarningCode",
"system": "https://fhir.hl7.org.uk/CodeSystem/Spine-ErrorOrWarningCode",
"version": "1"
}
]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
{
"code": "RESOURCE_VERSION_MISMATCH",
"display": "Resource version supplied does not match actual version",
"system": "https://fhir.nhs.uk/R4/CodeSystem/Spine-ErrorOrWarningCode",
"system": "https://fhir.hl7.org.uk/CodeSystem/Spine-ErrorOrWarningCode",
"version": "1"
}
]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
{
"code": "TOO_MANY_VALUES_SUBMITTED",
"display": "Too many values submitted",
"system": "https://fhir.nhs.uk/R4/CodeSystem/Spine-ErrorOrWarningCode",
"system": "https://fhir.hl7.org.uk/CodeSystem/Spine-ErrorOrWarningCode",
"version": "1"
}
]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"details": {
"coding": [
{
"system": "https://fhir.nhs.uk/R4/CodeSystem/Spine-ErrorOrWarningCode",
"system": "https://fhir.hl7.org.uk/CodeSystem/Spine-ErrorOrWarningCode",
"version": "1",
"code": "UNSUPPORTED_SERVICE",
"display": "Unsupported Service"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
{
"code": "MULTIPLE_MATCHES",
"display": "Multiple matches found",
"system": "https://fhir.nhs.uk/R4/CodeSystem/Spine-ErrorOrWarningCode",
"system": "https://fhir.hl7.org.uk/CodeSystem/Spine-ErrorOrWarningCode",
"version": "1"
}
]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
{
"code": "SINGLE_MATCH",
"display": "Single match found",
"system": "https://fhir.nhs.uk/R4/CodeSystem/Spine-ErrorOrWarningCode",
"system": "https://fhir.hl7.org.uk/CodeSystem/Spine-ErrorOrWarningCode",
"version": "1"
}
]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -60,11 +60,11 @@
],
"extension": [
{
"url": "https://fhir.nhs.uk/R4/StructureDefinition/Extension-UKCore-CopyCorrespondenceIndicator",
"url": "https://fhir.hl7.org.uk/StructureDefinition/Extension-UKCore-CopyCorrespondenceIndicator",
"valueBoolean":true
},
{
"url": "https://fhir.nhs.uk/R4/StructureDefinition/Extension-UKCore-ContactRank",
"url": "https://fhir.hl7.org.uk/StructureDefinition/Extension-UKCore-ContactRank",
"valuePositiveInt": 1
},
{
Expand Down Expand Up @@ -159,7 +159,7 @@
{
"code": "Guardian",
"display": "Guardian of patient",
"system": "https://fhir.nhs.uk/R4/CodeSystem/UKCore-AdditionalRelatedPersonRole"
"system": "https://fhir.hl7.org.uk/CodeSystem/UKCore-AdditionalRelatedPersonRole"
}
]
}
Expand All @@ -184,11 +184,11 @@
"active":true,
"extension": [
{
"url": "https://fhir.nhs.uk/R4/StructureDefinition/Extension-UKCore-CopyCorrespondenceIndicator",
"url": "https://fhir.hl7.org.uk/StructureDefinition/Extension-UKCore-CopyCorrespondenceIndicator",
"valueBoolean":true
},
{
"url": "https://fhir.nhs.uk/R4/StructureDefinition/Extension-UKCore-ContactRank",
"url": "https://fhir.hl7.org.uk/StructureDefinition/Extension-UKCore-ContactRank",
"valuePositiveInt": 1
},
{
Expand Down Expand Up @@ -264,7 +264,7 @@
{
"code": "Guardian",
"display": "Guardian of patient",
"system": "https://fhir.nhs.uk/R4/CodeSystem/UKCore-AdditionalRelatedPersonRole"
"system": "https://fhir.hl7.org.uk/CodeSystem/UKCore-AdditionalRelatedPersonRole"
}
]
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@
{
"coding": [
{
"system": "https://fhir.nhs.uk/R4/CodeSystem/UKCore-AdditionalRelatedPersonRole",
"system": "https://fhir.hl7.org.uk/CodeSystem/UKCore-AdditionalRelatedPersonRole",
"code": "Guardian",
"display": "Guardian of patient"
}
Expand All @@ -52,11 +52,11 @@
],
"extension": [
{
"url": "https://fhir.nhs.uk/R4/StructureDefinition/Extension-UKCore-CopyCorrespondenceIndicator",
"url": "https://fhir.hl7.org.uk/StructureDefinition/Extension-UKCore-CopyCorrespondenceIndicator",
"valueBoolean": true
},
{
"url": "https://fhir.nhs.uk/R4/StructureDefinition/Extension-UKCore-ContactRank",
"url": "https://fhir.hl7.org.uk/StructureDefinition/Extension-UKCore-ContactRank",
"valuePositiveInt": 1
},
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
{
"code": "TOO_MANY_MATCHES",
"display": "Too Many Matches",
"system": "https://fhir.nhs.uk/R4/CodeSystem/Spine-ErrorOrWarningCode",
"system": "https://fhir.hl7.org.uk/CodeSystem/Spine-ErrorOrWarningCode",
"version": "1"
}
]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -109,12 +109,12 @@ Scenario: Healthcare worker can add communication extension
* def extensionVal =
"""
{
"url": "https://fhir.nhs.uk/R4/StructureDefinition/Extension-UKCore-NHSCommunication",
"url": "https://fhir.hl7.org.uk/StructureDefinition/Extension-UKCore-NHSCommunication",
"extension": [{
"url": "language",
"valueCodeableConcept": {
"coding": [{
"system": "https://fhir.nhs.uk/R4/CodeSystem/UKCore-HumanLanguage",
"system": "https://fhir.hl7.org.uk/CodeSystem/UKCore-HumanLanguage",
"version": "1.0.0",
"code": "q4",
"display": "British Sign Language"
Expand Down Expand Up @@ -146,12 +146,12 @@ Scenario: Healthcare worker can update communication extension
* def extensionVal =
"""
{
"url": "https://fhir.nhs.uk/R4/StructureDefinition/Extension-UKCore-NHSCommunication",
"url": "https://fhir.hl7.org.uk/StructureDefinition/Extension-UKCore-NHSCommunication",
"extension": [{
"url": "language",
"valueCodeableConcept": {
"coding": [{
"system": "https://fhir.nhs.uk/R4/CodeSystem/UKCore-HumanLanguage",
"system": "https://fhir.hl7.org.uk/CodeSystem/UKCore-HumanLanguage",
"version": "1.0.0",
"code": "q3",
"display": "Australian Sign Language"
Expand Down Expand Up @@ -186,7 +186,7 @@ Scenario: Healthcare worker can update communication single itesm
"url": "language",
"valueCodeableConcept": {
"coding": [{
"system": "https://fhir.nhs.uk/R4/CodeSystem/UKCore-HumanLanguage",
"system": "https://fhir.hl7.org.uk/CodeSystem/UKCore-HumanLanguage",
"version": "1.0.0",
"code": "q3",
"display": "Australian Sign Language"
Expand All @@ -210,7 +210,7 @@ Scenario: Healthcare worker can update communication single itesm

Scenario: Healthcare worker can remove Remove Communication
* def nhsNumber = '9000000009'
* def extensionURL = "https://fhir.nhs.uk/R4/StructureDefinition/Extension-UKCore-NHSCommunication"
* def extensionURL = "https://fhir.hl7.org.uk/StructureDefinition/Extension-UKCore-NHSCommunication"
* path 'Patient', nhsNumber
* request
"""
Expand Down Expand Up @@ -242,7 +242,7 @@ Scenario: Healthcare worker can replace a Single Contact Preference
"coding": [{
"code": "3",
"display": "Telephone",
"system": "https://fhir.nhs.uk/R4/ValueSet/UKCore-PreferredContactMethod"
"system": "https://fhir.hl7.org.uk/ValueSet/UKCore-PreferredContactMethod"
}
]
}
Expand Down Expand Up @@ -271,15 +271,15 @@ Scenario: Healthcare worker can replace and remove Contact Preference
* def extensionVal =
"""
{
"url": "https://fhir.nhs.uk/R4/StructureDefinition/Extension-UKCore-ContactPreference",
"url": "https://fhir.hl7.org.uk/StructureDefinition/Extension-UKCore-ContactPreference",
"extension": [
{
"url": "PreferredContactMethod",
"valueCodeableConcept": {
"coding": [{
"code": "7",
"display": "Sign language",
"system": "https://fhir.nhs.uk/R4/ValueSet/UKCore-PreferredContactMethod"
"system": "https://fhir.hl7.org.uk/ValueSet/UKCore-PreferredContactMethod"
}
]
}
Expand Down
Loading