You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
client.assert(containsIssue(issues, 20, 24, "Binding has no source, so can't be checked", "CODEINVALID", "INFORMATION"))
44
+
client.assert(issues.length === 9);
45
+
client.assert(containsIssue(issues, 20, 24, "Binding for path ClinicalDocument.realmCode[0] in profile StructureDefinition[http://hl7.org/cda/stds/core/StructureDefinition/ClinicalDocument|2.0.1-sd] has no source, so can't be checked", "CODEINVALID", "INFORMATION"))
47
46
client.assert(containsIssue(issues, 251, 184, "The OID '2.16.840.1.114222.4.11.1066' is not known, so the code can't be validated", "CODEINVALID", "WARNING"))
48
47
});
49
48
%}
50
49
51
50
52
-
### US-CDA
53
-
# @name US-CDA
54
-
# Check that a request with explicit IG settings returns an expected response
51
+
### US-CCDA
52
+
# @name US-CCDA
55
53
# @timeout 240
56
54
POST {{host}}/validate
57
55
Content-Type: application/json
@@ -66,8 +64,8 @@ Content-Type: application/json
66
64
client.test("Issues are Correct", function() {
67
65
let issues = response.body.outcomes[0].issues
68
66
client.log("issues:" + issues.length)
69
-
client.assert(issues.length === 10)
70
-
client.assert(containsIssue(issues, 20, 24, "Binding has no source, so can't be checked", "CODEINVALID", "INFORMATION"))
67
+
client.assert(issues.length === 9)
68
+
client.assert(containsIssue(issues, 20, 24, "Binding for path ClinicalDocument.realmCode[0] in profile StructureDefinition[http://hl7.org/cda/stds/core/StructureDefinition/ClinicalDocument|2.0.1-sd] has no source, so can't be checked", "CODEINVALID", "INFORMATION"))
71
69
client.assert(!containsIssue(issues, 251, 184, "The OID '2.16.840.1.113883.1.11.19830' is not known, so the code can't be validated", "CODEINVALID", "WARNING"))
client.assert(containsIssue(issues, 2, 37, "The Snomed CT code 373270004 (Substance with penicillin structure and antibacterial mechanism of action) is not a member of the IPS free set", "BUSINESSRULE", "INFORMATION"))
119
-
client.assert(containsIssue(issues, 144, 28, "This element does not match any known slice defined in the profile http://hl7.org.au/fhir/ps/StructureDefinition/au-ps-composition|0.4.0-cibuild (this may not be a problem, but you should check that it's not intended to match a slice)", "INFORMATIONAL", "INFORMATION"))
117
+
client.assert(containsIssue(issues, 144, 28, "This element does not match any known slice defined in the profile http://hl7.org.au/fhir/ps/StructureDefinition/au-ps-composition|0.5.0-cibuild (this may not be a problem, but you should check that it's not intended to match a slice)", "INFORMATIONAL", "INFORMATION"))
120
118
});
121
119
%}
122
120
123
121
### SQL-ON-FHIR
124
122
# @name SQL-ON-FHIR
125
-
# Check that a request with explicit IG settings returns an expected response
client.assert(containsIssue(issues, 20, 24, "Binding has no source, so can't be checked", "CODEINVALID", "INFORMATION"))
45
+
client.assert(issues.length === 9);
46
+
client.assert(containsIssue(issues, 20, 24, "Binding for path ClinicalDocument.realmCode[0] in profile StructureDefinition[http://hl7.org/cda/stds/core/StructureDefinition/ClinicalDocument|2.0.1-sd] has no source, so can't be checked", "CODEINVALID", "INFORMATION"))
48
47
client.assert(containsIssue(issues, 251, 184, "The OID '2.16.840.1.114222.4.11.1066' is not known, so the code can't be validated", "CODEINVALID", "WARNING"))
49
48
});
50
49
%}
51
50
52
51
53
-
### US-CDA
54
-
# @name US-CDA
55
-
# Check that a request with explicit IG settings returns an expected response
52
+
### US-CCDA
53
+
# @name US-CCDA
56
54
POST {{host}}/validate
57
55
Content-Type: application/json
58
56
@@ -66,8 +64,8 @@ Content-Type: application/json
66
64
client.test("Issues are Correct", function() {
67
65
let issues = response.body.outcomes[0].issues
68
66
client.log("issues:" + issues.length)
69
-
client.assert(issues.length === 10)
70
-
client.assert(containsIssue(issues, 20, 24, "Binding has no source, so can't be checked", "CODEINVALID", "INFORMATION"))
67
+
client.assert(issues.length === 9)
68
+
client.assert(containsIssue(issues, 20, 24, "Binding for path ClinicalDocument.realmCode[0] in profile StructureDefinition[http://hl7.org/cda/stds/core/StructureDefinition/ClinicalDocument|2.0.1-sd] has no source, so can't be checked", "CODEINVALID", "INFORMATION"))
71
69
client.assert(!containsIssue(issues, 251, 184, "The OID '2.16.840.1.113883.1.11.19830' is not known, so the code can't be validated", "CODEINVALID", "WARNING"))
client.assert(containsIssue(issues, 2, 37, "The Snomed CT code 373270004 (Substance with penicillin structure and antibacterial mechanism of action) is not a member of the IPS free set", "BUSINESSRULE", "INFORMATION"))
117
-
client.assert(containsIssue(issues, 144, 28, "This element does not match any known slice defined in the profile http://hl7.org.au/fhir/ps/StructureDefinition/au-ps-composition|0.4.0-cibuild (this may not be a problem, but you should check that it's not intended to match a slice)", "INFORMATIONAL", "INFORMATION"))
115
+
client.assert(containsIssue(issues, 144, 28, "This element does not match any known slice defined in the profile http://hl7.org.au/fhir/ps/StructureDefinition/au-ps-composition|0.5.0-cibuild (this may not be a problem, but you should check that it's not intended to match a slice)", "INFORMATIONAL", "INFORMATION"))
118
116
});
119
117
%}
120
118
121
119
### SQL-ON-FHIR
122
120
# @name SQL-ON-FHIR
123
-
# Check that a request with explicit IG settings returns an expected response
0 commit comments