OCL API 2

Build: #1639 failed

Job: Run tests was successful

Stages & jobs

  1. Build

  2. Test

  3. Deploy for testing

    Requires a user to start manually
  4. Release

    Requires a user to start manually

Job result summary

Completed
Duration
4 minutes
Revision
edf8e34b4f04aeaac0d6ed6c6313eade7f930e1f edf8e34b4f04aeaac0d6ed6c6313eade7f930e1f
Successful since
#1621 ()

Error summary

The build generated some errors. See the full build log for more details.

ok
    test_create_with_filter_and_system ... [cid: 0fbba9ec-2d1d-4b60-ba86-9af9bb5cdcf8] 2023-05-14 11:40:59,732 POST /users/username333/ValueSet/
[cid: 0fbba9ec-2d1d-4b60-ba86-9af9bb5cdcf8] 2023-05-14 11:40:59,733 {'Cookie': '', 'Content-Length': '266', 'Content-Type': 'application/json', 'Authorization': '*****'}
[cid: 0fbba9ec-2d1d-4b60-ba86-9af9bb5cdcf8] 2023-05-14 11:40:59,733 b'{"resourceType":"ValueSet","id":"c2","url":"http://c2.com","status":"draft","name":"collection1","description":"This is a test collection","compose":{"include":[{"system":"http://some/url","version":"v2","filter":[{"property":"q","op":"=","value":"concept1353"}]}]}}'
[cid: 0fbba9ec-2d1d-4b60-ba86-9af9bb5cdcf8] 2023-05-14 11:40:59,734 POST /users/username333/ValueSet/ - 201
[cid: 0fbba9ec-2d1d-4b60-ba86-9af9bb5cdcf8] 2023-05-14 11:40:59,734 {'Content-Type': 'application/json', 'Location': 'http://c2.com', 'Vary': 'Accept, Origin', 'Allow': 'GET, POST, HEAD, OPTIONS', 'X-OCL-API-VERSION': '2.3.26-dev', 'X-OCL-REQUEST-USER': 'username333', 'X-OCL-RESPONSE-TIME': '0.27124595642089844', 'X-OCL-REQUEST-URL': '/users/username333/ValueSet/', 'X-OCL-REQUEST-METHOD': 'POST', 'X-Frame-Options': 'DENY', 'X-Content-Type-Options': 'nosniff', 'Referrer-Policy': 'same-origin', 'Cross-Origin-Opener-Policy': 'same-origin', 'Content-Length': '730'}
[cid: 0fbba9ec-2d1d-4b60-ba86-9af9bb5cdcf8] 2023-05-14 11:40:59,734 b'{"resourceType":"ValueSet","id":"c2","version":"0.1","url":"http://c2.com","title":"collection1","status":"draft","meta":{"lastUpdated":"2023-05-14T11:40:59.654624Z"},"identifier":[{"system":"http://localhost:8000","value":"/users/username333/ValueSet/c2/","type":{"text":"Accession ID","coding":[{"system":"http://hl7.org/fhir/v2/0203","code":"ACSN","display":"Accession ID"}]}}],"date":null,"contact":{},"jurisdiction":{},"name":"collection1","description":"This is a test collection","publisher":null,"purpose":null,"copyright":null,"experimental":null,"immutable":null,"text":null,"compose":{"include":[{"system":"http://some/url","version":"v2","filter":[{"property":"q","op":"=","value":"concept1353"}]}],"lockedDate":null}}'
ok
    test_expand ... [cid: 9ef1dbef-cc24-43e4-a4da-f436bb24dfdf] 2023-05-14 11:41:00,287 POST /users/username334/ValueSet/
[cid: 9ef1dbef-cc24-43e4-a4da-f436bb24dfdf] 2023-05-14 11:41:00,288 {'Cookie': '', 'Content-Length': '256', 'Content-Type': 'application/json', 'Authorization': '*****'}
[cid: 9ef1dbef-cc24-43e4-a4da-f436bb24dfdf] 2023-05-14 11:41:00,288 b'{"resourceType":"ValueSet","id":"c2","url":"http://c2.com","status":"draft","version":"1","name":"collection1","description":"This is a test collection","compose":{"include":[{"system":"http://some/url","version":"v2","concept":[{"code":"concept1355"}]}]}}'
[cid: 9ef1dbef-cc24-43e4-a4da-f436bb24dfdf] 2023-05-14 11:41:00,289 POST /users/username334/ValueSet/ - 201
[cid: 9ef1dbef-cc24-43e4-a4da-f436bb24dfdf] 2023-05-14 11:41:00,289 {'Content-Type': 'application/json', 'Location': 'http://c2.com', 'Vary': 'Accept, Origin', 'Allow': 'GET, POST, HEAD, OPTIONS', 'X-OCL-API-VERSION': '2.3.26-dev', 'X-OCL-REQUEST-USER': 'username334', 'X-OCL-RESPONSE-TIME': '0.20126080513000488', 'X-OCL-REQUEST-URL': '/users/username334/ValueSet/', 'X-OCL-REQUEST-METHOD': 'POST', 'X-Frame-Options': 'DENY', 'X-Content-Type-Options': 'nosniff', 'Referrer-Policy': 'same-origin', 'Cross-Origin-Opener-Policy': 'same-origin', 'Content-Length': '719'}
[cid: 9ef1dbef-cc24-43e4-a4da-f436bb24dfdf] 2023-05-14 11:41:00,290 b'{"resourceType":"ValueSet","id":"c2","version":"1","url":"http://c2.com","title":"collection1","status":"draft","meta":{"lastUpdated":"2023-05-14T11:41:00.209818Z"},"identifier":[{"system":"http://localhost:8000","value":"/users/username334/ValueSet/c2/","type":{"text":"Accession ID","coding":[{"system":"http://hl7.org/fhir/v2/0203","code":"ACSN","display":"Accession ID"}]}}],"date":null,"contact":{},"jurisdiction":{},"name":"collection1","description":"This is a test collection","publisher":null,"purpose":null,"copyright":null,"experimental":null,"immutable":null,"text":null,"compose":{"include":[{"system":"http://some/url","version":"v2","concept":[{"code":"concept1355","display":null}]}],"lockedDate":null}}'
[cid: 5f442f2f-e796-4072-8b15-5bb7f4b7ebc3] 2023-05-14 11:41:00,575 POST /users/username334/ValueSet/c2/$expand/
[cid: 5f442f2f-e796-4072-8b15-5bb7f4b7ebc3] 2023-05-14 11:41:00,576 {'Cookie': '', 'Content-Length': '89', 'Content-Type': 'application/json', 'Authorization': '*****'}
[cid: 5f442f2f-e796-4072-8b15-5bb7f4b7ebc3] 2023-05-14 11:41:00,576 b'{"resourceType":"Parameters","parameter":[{"name":"filter","valueString":"concept1355"}]}'
[cid: 5f442f2f-e796-4072-8b15-5bb7f4b7ebc3] 2023-05-14 11:41:00,577 POST /users/username334/ValueSet/c2/$expand/ - 201
[cid: 5f442f2f-e796-4072-8b15-5bb7f4b7ebc3] 2023-05-14 11:41:00,577 {'Content-Type': 'application/json', 'Vary': 'Accept, Origin', 'Allow': 'GET, POST, HEAD, OPTIONS', 'X-OCL-API-VERSION': '2.3.26-dev', 'X-OCL-REQUEST-USER': 'username334', 'X-OCL-RESPONSE-TIME': '0.14103055000305176', 'X-OCL-REQUEST-URL': '/users/username334/ValueSet/c2/$expand/', 'X-OCL-REQUEST-METHOD': 'POST', 'X-Frame-Options': 'DENY', 'X-Content-Type-Options': 'nosniff', 'Referrer-Policy': 'same-origin', 'Cross-Origin-Opener-Policy': 'same-origin', 'Content-Length': '340'}
[cid: 5f442f2f-e796-4072-8b15-5bb7f4b7ebc3] 2023-05-14 11:41:00,577 b'{"resourceType":"ValueSet","id":131,"expansion":{"identifier":"/users/username334/collections/c2/1/expansions/131/","timestamp":"2023-05-14T11:41:00.449998Z","total":1,"offset":0,"contains":[{"code":"concept1355","display":null,"designation":[],"property":[{"code":"conceptclass","value":"Diagnosis"},{"code":"datatype","value":"None"}]}]}}'
ok
    test_public_can_find_globally ... [cid: 7601efa8-6099-4380-9255-898dc741ac8b] 2023-05-14 11:41:01,046 GET /fhir/ValueSet/?url=http://c1.com
[cid: 7601efa8-6099-4380-9255-898dc741ac8b] 2023-05-14 11:41:01,046 {'Cookie': '', 'Content-Type': 'application/octet-stream'}
[cid: 7601efa8-6099-4380-9255-898dc741ac8b] 2023-05-14 11:41:01,047 b''
[cid: 7601efa8-6099-4380-9255-898dc741ac8b] 2023-05-14 11:41:01,047 GET /fhir/ValueSet/?url=http://c1.com - 200
[cid: 7601efa8-6099-4380-9255-898dc741ac8b] 2023-05-14 11:41:01,047 {'Content-Type': 'application/json', 'num_found': '1', 'num_returned': '1', 'pages': '1', 'page_number': '1', 'Vary': 'Accept, Cookie, Origin', 'Allow': 'GET, POST, HEAD, OPTIONS', 'X-OCL-API-VERSION': '2.3.26-dev', 'X-OCL-REQUEST-USER': 'AnonymousUser', 'X-OCL-RESPONSE-TIME': '0.010424375534057617', 'X-OCL-REQUEST-URL': '/fhir/ValueSet/?url=http://c1.com', 'X-OCL-REQUEST-METHOD': 'GET', 'X-Frame-Options': 'DENY', 'X-Content-Type-Options': 'nosniff', 'Referrer-Policy': 'same-origin', 'Cross-Origin-Opener-Policy': 'same-origin', 'Content-Length': '984'}
[cid: 7601efa8-6099-4380-9255-898dc741ac8b] 2023-05-14 11:41:01,047 b'{"resourceType":"Bundle","meta":{"lastUpdated":"2023-05-14T11:37:07.911843Z"},"type":"searchset","entry":[{"resource":{"resourceType":"ValueSet","id":"c1","version":"v1","url":"http://c1.com","title":null,"status":"draft","meta":{"lastUpdated":"2023-05-14T11:41:00.888444Z"},"identifier":[{"system":"http://localhost:8000","value":"/orgs/org778/ValueSet/c1/","type":{"text":"Accession ID","coding":[{"system":"http://hl7.org/fhir/v2/0203","code":"ACSN","display":"Accession ID"}]}}],"date":null,"contact":{},"jurisdiction":{},"name":"collection136","description":"This is a test collection","publisher":null,"purpose":null,"copyright":null,"experimental":null,"immutable":null,"text":null,"compose":{"include":[{"system":"/orgs/org778/ValueSet/source996/","version":"v2","concept":[{"code":"concept1357","display":null},{"code":"concept1358","display":null}]}],"lockedDate":null}}}],"link":[{"relation":"self","url":"http://testserver/fhir/ValueSet/?url=http%3A%2F%2Fc1.com&page=1"}]}'
ok
    test_public_can_find_globally_without_compose ... [cid: 23bcf10f-dfc8-4f1b-946e-8c21e9b9d7aa] 2023-05-14 11:41:01,410 GET /fhir/ValueSet/?url=http://c1.com
[cid: 23bcf10f-dfc8-4f1b-946e-8c21e9b9d7aa] 2023-05-14 11:41:01,410 {'Cookie': '', 'Content-Type': 'application/octet-stream'}
[cid: 23bcf10f-dfc8-4f1b-946e-8c21e9b9d7aa] 2023-05-14 11:41:01,411 b''
[cid: 23bcf10f-dfc8-4f1b-946e-8c21e9b9d7aa] 2023-05-14 11:41:01,411 GET /fhir/ValueSet/?url=http://c1.com - 200
[cid: 23bcf10f-dfc8-4f1b-946e-8c21e9b9d7aa] 2023-05-14 11:41:01,411 {'Content-Type': 'application/json', 'num_found': '1', 'num_returned': '1', 'pages': '1', 'page_number': '1', 'Vary': 'Accept, Cookie, Origin', 'Allow': 'GET, POST, HEAD, OPTIONS', 'X-OCL-API-VERSION': '2.3.26-dev', 'X-OCL-REQUEST-USER': 'AnonymousUser', 'X-OCL-RESPONSE-TIME': '0.009684085845947266', 'X-OCL-REQUEST-URL': '/fhir/ValueSet/?url=http://c1.com', 'X-OCL-REQUEST-METHOD': 'GET', 'X-Frame-Options': 'DENY', 'X-Content-Type-Options': 'nosniff', 'Referrer-Policy': 'same-origin', 'Cross-Origin-Opener-Policy': 'same-origin', 'Content-Length': '808'}
[cid: 23bcf10f-dfc8-4f1b-946e-8c21e9b9d7aa] 2023-05-14 11:41:01,411 b'{"resourceType":"Bundle","meta":{"lastUpdated":"2023-05-14T11:37:07.911843Z"},"type":"searchset","entry":[{"resource":{"resourceType":"ValueSet","id":"c1","version":"v1","url":"http://c1.com","title":null,"status":"draft","meta":{"lastUpdated":"2023-05-14T11:41:01.359393Z"},"identifier":[{"system":"http://localhost:8000","value":"/orgs/org779/ValueSet/c1/","type":{"text":"Accession ID","coding":[{"system":"http://hl7.org/fhir/v2/0203","code":"ACSN","display":"Accession ID"}]}}],"date":null,"contact":{},"jurisdiction":{},"name":"collection138","description":"This is a test collection","publisher":null,"purpose":null,"copyright":null,"experimental":null,"immutable":null,"text":null,"compose":null}}],"link":[{"relation":"self","url":"http://testserver/fhir/ValueSet/?url=http%3A%2F%2Fc1.com&page=1"}]}'
ok
    test_public_can_view ... [cid: e20204bc-a3cc-4bc6-88a7-a2d21ac6f8da] 2023-05-14 11:41:01,877 GET /orgs/org780/ValueSet/c1/
[cid: e20204bc-a3cc-4bc6-88a7-a2d21ac6f8da] 2023-05-14 11:41:01,877 {'Cookie': '', 'Content-Type': 'application/octet-stream'}
[cid: e20204bc-a3cc-4bc6-88a7-a2d21ac6f8da] 2023-05-14 11:41:01,878 b''
[cid: e20204bc-a3cc-4bc6-88a7-a2d21ac6f8da] 2023-05-14 11:41:01,878 GET /orgs/org780/ValueSet/c1/ - 200
[cid: e20204bc-a3cc-4bc6-88a7-a2d21ac6f8da] 2023-05-14 11:41:01,879 {'Content-Type': 'application/json', 'Vary': 'Accept, Cookie, Origin', 'Allow': 'GET, PUT, DELETE, HEAD, OPTIONS', 'X-OCL-API-VERSION': '2.3.26-dev', 'X-OCL-REQUEST-USER': 'AnonymousUser', 'X-OCL-RESPONSE-TIME': '0.008318901062011719', 'X-OCL-REQUEST-URL': '/orgs/org780/ValueSet/c1/', 'X-OCL-REQUEST-METHOD': 'GET', 'X-Frame-Options': 'DENY', 'X-Content-Type-Options': 'nosniff', 'Referrer-Policy': 'same-origin', 'Cross-Origin-Opener-Policy': 'same-origin', 'Content-Length': '763'}
[cid: e20204bc-a3cc-4bc6-88a7-a2d21ac6f8da] 2023-05-14 11:41:01,879 b'{"resourceType":"ValueSet","id":"c1","version":"v1","url":"http://c1.com","title":null,"status":"draft","meta":{"lastUpdated":"2023-05-14T11:41:01.717539Z"},"identifier":[{"system":"http://localhost:8000","value":"/orgs/org780/ValueSet/c1/","type":{"text":"Accession ID","coding":[{"system":"http://hl7.org/fhir/v2/0203","code":"ACSN","display":"Accession ID"}]}}],"date":null,"contact":{},"jurisdiction":{},"name":"collection140","description":"This is a test collection","publisher":null,"purpose":null,"copyright":null,"experimental":null,"immutable":null,"text":null,"compose":{"include":[{"system":"/orgs/org780/ValueSet/source1002/","version":"v2","concept":[{"code":"concept1361","display":null},{"code":"concept1362","display":null}]}],"lockedDate":null}}'
ok
    test_unable_to_represent_as_fhir ... Traceback (most recent call last):
  File "/code/core/value_sets/serializers.py", line 249, in to_representation
    IdentifierSerializer.include_ocl_identifier(instance.uri, RESOURCE_TYPE, rep)
  File "/code/core/common/serializers.py", line 138, in include_ocl_identifier
    return IdentifierSerializer.parse_identifier(ident)
  File "/code/core/common/serializers.py", line 85, in parse_identifier
    raise ValidationError(
rest_framework.exceptions.ValidationError: [ErrorDetail(string='Identifier must be in a format: /{owner_type}/{owner_id}/{resourceType}/{resource_id}/, given: /invalid/uri', code='invalid')]
Failed to represent "/invalid/uri" as ValueSet
ok
    test_update_with_compose ... [cid: 0c9ff197-6f6a-4a87-af91-f00bf9805e9f] 2023-05-14 11:41:02,832 PUT /orgs/org782/ValueSet/c1/
[cid: 0c9ff197-6f6a-4a87-af91-f00bf9805e9f] 2023-05-14 11:41:02,833 {'Cookie': '', 'Content-Length': '257', 'Content-Type': 'application/json', 'Authorization': '*****'}
[cid: 0c9ff197-6f6a-4a87-af91-f00bf9805e9f] 2023-05-14 11:41:02,833 b'{"resourceType":"ValueSet","id":"c1","version":"v2","url":"http://c2.com","status":"draft","name":"collection1","description":"This is a test collection","compose":{"include":[{"system":"http://some/url","version":"v2","concept":[{"code":"concept1366"}]}]}}'
[cid: 0c9ff197-6f6a-4a87-af91-f00bf9805e9f] 2023-05-14 11:41:02,834 PUT /orgs/org782/ValueSet/c1/ - 200
[cid: 0c9ff197-6f6a-4a87-af91-f00bf9805e9f] 2023-05-14 11:41:02,834 {'Content-Type': 'application/json', 'Vary': 'Accept, Origin', 'Allow': 'GET, PUT, DELETE, HEAD, OPTIONS', 'X-OCL-API-VERSION': '2.3.26-dev', 'X-OCL-REQUEST-USER': 'username339', 'X-OCL-RESPONSE-TIME': '0.20522403717041016', 'X-OCL-REQUEST-URL': '/orgs/org782/ValueSet/c1/', 'X-OCL-REQUEST-METHOD': 'PUT', 'X-Frame-Options': 'DENY', 'X-Content-Type-Options': 'nosniff', 'Referrer-Policy': 'same-origin', 'Cross-Origin-Opener-Policy': 'same-origin', 'Content-Length': '826'}
[cid: 0c9ff197-6f6a-4a87-af91-f00bf9805e9f] 2023-05-14 11:41:02,834 b'{"resourceType":"ValueSet","id":"c1","version":"v2","url":"http://c2.com","title":"collection1","status":"draft","meta":{"lastUpdated":"2023-05-14T11:41:02.740763Z"},"identifier":[{"system":"http://localhost:8000","value":"/orgs/org782/ValueSet/c1/","type":{"text":"Accession ID","coding":[{"system":"http://hl7.org/fhir/v2/0203","code":"ACSN","display":"Accession ID"}]}}],"date":null,"contact":{},"jurisdiction":{},"name":"collection1","description":"This is a test collection","publisher":null,"purpose":null,"copyright":null,"experimental":null,"immutable":null,"text":null,"compose":{"include":[{"system":"/orgs/org782/ValueSet/source1008/","version":"v2","concept":[{"code":"concept1365","display":null}]},{"system":"http://some/url","version":"v2","concept":[{"code":"concept1366","display":null}]}],"lockedDate":null}}'
ok
    test_validate_code ... [cid: b053c7cb-eeda-416b-b0f1-683cd4d7d27f] 2023-05-14 11:41:03,310 GET /orgs/org783/ValueSet/c1/$validate-code/?system=http://some/url&systemVersion=v2&code=concept1367
[cid: b053c7cb-eeda-416b-b0f1-683cd4d7d27f] 2023-05-14 11:41:03,310 {'Cookie': '', 'Content-Type': 'application/octet-stream'}
[cid: b053c7cb-eeda-416b-b0f1-683cd4d7d27f] 2023-05-14 11:41:03,311 b''
[cid: b053c7cb-eeda-416b-b0f1-683cd4d7d27f] 2023-05-14 11:41:03,312 GET /orgs/org783/ValueSet/c1/$validate-code/?system=http://some/url&systemVersion=v2&code=concept1367 - 200
[cid: b053c7cb-eeda-416b-b0f1-683cd4d7d27f] 2023-05-14 11:41:03,312 {'Content-Type': 'application/json', 'Vary': 'Accept, Cookie, Origin', 'Allow': 'GET, POST, PUT, PATCH, DELETE, HEAD, OPTIONS', 'X-OCL-API-VERSION': '2.3.26-dev', 'X-OCL-REQUEST-USER': 'AnonymousUser', 'X-OCL-RESPONSE-TIME': '0.02015066146850586', 'X-OCL-REQUEST-URL': '/orgs/org783/ValueSet/c1/$validate-code/?system=http://some/url&systemVersion=v2&code=concept1367', 'X-OCL-REQUEST-METHOD': 'GET', 'X-Frame-Options': 'DENY', 'X-Content-Type-Options': 'nosniff', 'Referrer-Policy': 'same-origin', 'Cross-Origin-Opener-Policy': 'same-origin', 'Content-Length': '81'}
[cid: b053c7cb-eeda-416b-b0f1-683cd4d7d27f] 2023-05-14 11:41:03,312 b'{"resourceType":"Parameters","parameter":[{"name":"result","valueBoolean":true}]}'
ok
    test_validate_code_globally ... [cid: 0065b3ef-f5c7-4fda-bd55-17b575659afd] 2023-05-14 11:41:03,798 GET /fhir/ValueSet/$validate-code/?url=http://c1.com&system=http://some/url&systemVersion=v2&code=concept1369
[cid: 0065b3ef-f5c7-4fda-bd55-17b575659afd] 2023-05-14 11:41:03,798 {'Cookie': '', 'Content-Type': 'application/octet-stream'}
[cid: 0065b3ef-f5c7-4fda-bd55-17b575659afd] 2023-05-14 11:41:03,799 b''
[cid: 0065b3ef-f5c7-4fda-bd55-17b575659afd] 2023-05-14 11:41:03,799 GET /fhir/ValueSet/$validate-code/?url=http://c1.com&system=http://some/url&systemVersion=v2&code=concept1369 - 200
[cid: 0065b3ef-f5c7-4fda-bd55-17b575659afd] 2023-05-14 11:41:03,800 {'Content-Type': 'application/json', 'Vary': 'Accept, Cookie, Origin', 'Allow': 'GET, POST, PUT, PATCH, DELETE, HEAD, OPTIONS', 'X-OCL-API-VERSION': '2.3.26-dev', 'X-OCL-REQUEST-USER': 'AnonymousUser', 'X-OCL-RESPONSE-TIME': '0.023253679275512695', 'X-OCL-REQUEST-URL': '/fhir/ValueSet/$validate-code/?url=http://c1.com&system=http://some/url&systemVersion=v2&code=concept1369', 'X-OCL-REQUEST-METHOD': 'GET', 'X-Frame-Options': 'DENY', 'X-Content-Type-Options': 'nosniff', 'Referrer-Policy': 'same-origin', 'Cross-Origin-Opener-Policy': 'same-origin', 'Content-Length': '81'}
[cid: 0065b3ef-f5c7-4fda-bd55-17b575659afd] 2023-05-14 11:41:03,800 b'{"resourceType":"Parameters","parameter":[{"name":"result","valueBoolean":true}]}'
ok
    test_validate_code_globally_negative ... [cid: 2c3defae-c028-430e-8552-35998d8d56cd] 2023-05-14 11:41:04,276 GET /fhir/ValueSet/$validate-code/?url=http://c1.com&system=http://some/url&systemVersion=v2&code=non_existing
[cid: 2c3defae-c028-430e-8552-35998d8d56cd] 2023-05-14 11:41:04,276 {'Cookie': '', 'Content-Type': 'application/octet-stream'}
[cid: 2c3defae-c028-430e-8552-35998d8d56cd] 2023-05-14 11:41:04,277 b''
[cid: 2c3defae-c028-430e-8552-35998d8d56cd] 2023-05-14 11:41:04,277 GET /fhir/ValueSet/$validate-code/?url=http://c1.com&system=http://some/url&systemVersion=v2&code=non_existing - 200
[cid: 2c3defae-c028-430e-8552-35998d8d56cd] 2023-05-14 11:41:04,278 {'Content-Type': 'application/json', 'Vary': 'Accept, Cookie, Origin', 'Allow': 'GET, POST, PUT, PATCH, DELETE, HEAD, OPTIONS', 'X-OCL-API-VERSION': '2.3.26-dev', 'X-OCL-REQUEST-USER': 'AnonymousUser', 'X-OCL-RESPONSE-TIME': '0.01818704605102539', 'X-OCL-REQUEST-URL': '/fhir/ValueSet/$validate-code/?url=http://c1.com&system=http://some/url&systemVersion=v2&code=non_existing', 'X-OCL-REQUEST-METHOD': 'GET', 'X-Frame-Options': 'DENY', 'X-Content-Type-Options': 'nosniff', 'Referrer-Policy': 'same-origin', 'Cross-Origin-Opener-Policy': 'same-origin', 'Content-Length': '82'}
[cid: 2c3defae-c028-430e-8552-35998d8d56cd] 2023-05-14 11:41:04,278 b'{"resourceType":"Parameters","parameter":[{"name":"result","valueBoolean":false}]}'
ok
    test_validate_code_globally_via_post ... [cid: c02276a4-bcfb-4008-8761-fffbf6bcdf01] 2023-05-14 11:41:04,925 POST /fhir/ValueSet/$validate-code/
[cid: c02276a4-bcfb-4008-8761-fffbf6bcdf01] 2023-05-14 11:41:04,926 {'Cookie': '', 'Content-Length': '218', 'Content-Type': 'application/json'}
[cid: c02276a4-bcfb-4008-8761-fffbf6bcdf01] 2023-05-14 11:41:04,926 b'{"resourceType":"Parameters","parameter":[{"name":"url","valueUri":"http://c1.com"},{"name":"system","valueUri":"http://some/url"},{"name":"systemVersion","valueString":"v2"},{"name":"code","valueCode":"concept1373"}]}'
[cid: c02276a4-bcfb-4008-8761-fffbf6bcdf01] 2023-05-14 11:41:04,927 POST /fhir/ValueSet/$validate-code/ - 200
[cid: c02276a4-bcfb-4008-8761-fffbf6bcdf01] 2023-05-14 11:41:04,927 {'Content-Type': 'application/json', 'Vary': 'Accept, Cookie, Origin', 'Allow': 'GET, POST, PUT, PATCH, DELETE, HEAD, OPTIONS', 'X-OCL-API-VERSION': '2.3.26-dev', 'X-OCL-REQUEST-USER': 'AnonymousUser', 'X-OCL-RESPONSE-TIME': '0.02374100685119629', 'X-OCL-REQUEST-URL': '/fhir/ValueSet/$validate-code/', 'X-OCL-REQUEST-METHOD': 'POST', 'X-Frame-Options': 'DENY', 'X-Content-Type-Options': 'nosniff', 'Referrer-Policy': 'same-origin', 'Cross-Origin-Opener-Policy': 'same-origin', 'Content-Length': '81'}
[cid: c02276a4-bcfb-4008-8761-fffbf6bcdf01] 2023-05-14 11:41:04,927 b'{"resourceType":"Parameters","parameter":[{"name":"result","valueBoolean":true}]}'
ok
    test_validate_code_negative ... [cid: 95a025a6-a0c1-4700-8476-b43a1434c708] 2023-05-14 11:41:05,390 GET /orgs/org787/ValueSet/c1/$validate-code/?system=http://non/existing&systemVersion=v2&code=concept1375
[cid: 95a025a6-a0c1-4700-8476-b43a1434c708] 2023-05-14 11:41:05,391 {'Cookie': '', 'Content-Type': 'application/octet-stream'}
[cid: 95a025a6-a0c1-4700-8476-b43a1434c708] 2023-05-14 11:41:05,391 b''
[cid: 95a025a6-a0c1-4700-8476-b43a1434c708] 2023-05-14 11:41:05,392 GET /orgs/org787/ValueSet/c1/$validate-code/?system=http://non/existing&systemVersion=v2&code=concept1375 - 200
[cid: 95a025a6-a0c1-4700-8476-b43a1434c708] 2023-05-14 11:41:05,392 {'Content-Type': 'application/json', 'Vary': 'Accept, Cookie, Origin', 'Allow': 'GET, POST, PUT, PATCH, DELETE, HEAD, OPTIONS', 'X-OCL-API-VERSION': '2.3.26-dev', 'X-OCL-REQUEST-USER': 'AnonymousUser', 'X-OCL-RESPONSE-TIME': '0.005105018615722656', 'X-OCL-REQUEST-URL': '/orgs/org787/ValueSet/c1/$validate-code/?system=http://non/existing&systemVersion=v2&code=concept1375', 'X-OCL-REQUEST-METHOD': 'GET', 'X-Frame-Options': 'DENY', 'X-Content-Type-Options': 'nosniff', 'Referrer-Policy': 'same-origin', 'Cross-Origin-Opener-Policy': 'same-origin', 'Content-Length': '82'}
[cid: 95a025a6-a0c1-4700-8476-b43a1434c708] 2023-05-14 11:41:05,392 b'{"resourceType":"Parameters","parameter":[{"name":"result","valueBoolean":false}]}'
ok

----------------------------------------------------------------------
Ran 789 tests in 203.018s

OK (skipped=2)
Preserving test database for alias 'default' ('test_postgres')...
Stopping ocl-oclapi2-rt_es_1 ...
Stopping ocl-oclapi2-rt_db_1 ...
Stopping ocl-oclapi2-rt_db_1 ... done
Stopping ocl-oclapi2-rt_es_1 ... done
Removing ocl-oclapi2-rt_es_1 ...
Removing ocl-oclapi2-rt_db_1 ...
Removing ocl-oclapi2-rt_es_1 ... done
Removing ocl-oclapi2-rt_db_1 ... done
Removing network ocl-oclapi2-rt_default
Removing volume ocl-oclapi2-rt_postgres-data
Removing volume ocl-oclapi2-rt_es-data