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
"diagnostics": "Request body could not be parsed (content.0.attachment.contentType: String should match pattern '^(application|audio|image|message|model|multipart|text|video)/[a-zA-Z0-9!#$&^_+.-]+(;[a-zA-Z0-9!#$&^_+.-]+=[a-zA-Z0-9!#$&^_+.-]+)*$')",
729
+
"expression": [
730
+
"content.0.attachment.contentType"
731
+
]
732
+
}
733
+
"""
734
+
735
+
Scenario: Invalid contentType
736
+
Given the application 'DataShare' (ID 'z00z-y11y-x22x') is registered to access the API
737
+
And the organisation 'ANGY1' is authorised to access pointer types:
738
+
| system | value |
739
+
| http://snomed.info/sct | 736253002 |
740
+
When producer 'ANGY1' creates a DocumentReference with values:
741
+
| property | value |
742
+
| subject | 9999999999 |
743
+
| status | current |
744
+
| type | 736253002 |
745
+
| category | 734163000 |
746
+
| custodian | ANGY1 |
747
+
| author | HAR1 |
748
+
| url | https://example.org/my-doc.pdf |
749
+
| contentType | application/invalid |
750
+
Then the response status code is 400
751
+
And the response is an OperationOutcome with 1 issue
0 commit comments