Skip to content

Commit 7b7f2bd

Browse files
NRL-518 Add documentation for content validation
1 parent 32e1363 commit 7b7f2bd

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

swagger/producer-static/narrative.yaml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -276,7 +276,12 @@ paths:
276276
]
277277
```
278278
* `content` MUST have at least one entry.
279-
* `content[].format[]` SHOULD indicate whether the data is structured or not, e.g.
279+
* `content` MUST include an `attachment` entry.
280+
* `content` MUST include a `format` entry.
281+
* `content` MUST include the content stability extension (https://fhir.nhs.uk/England/CodeSystem/England-NRLContentStability).
282+
* `content[].attachment` MUST include a `url` to the document.
283+
* `content[].attachment` MUST include a `contentType` and be a valid MIME type, specifically `application/pdf` for documents or `text/html` for contact details.
284+
* `content[].format[]` MUST indicate whether the data is structured or not, e.g.
280285
```
281286
"format": [
282287
{

0 commit comments

Comments
 (0)