# PRSB Headings in machine-readable form - you're welcome!

**URL:** <https://openhealthhub.org/t/prsb-headings-in-machine-readable-form-youre-welcome/1805>\
**Category:** open forum\
**Created:** [4 October 2018 15:15 UTC](https://openhealthhub.org/t/prsb-headings-in-machine-readable-form-youre-welcome/1805 "2018-10-04T15:15:21Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![pacharanero](https://openhealthhub.org/user_avatar/openhealthhub.org/pacharanero/32/1117_2.png) [@pacharanero](https://openhealthhub.org/u/pacharanero)\
**Post date:** [4 October 2018 15:15 UTC](https://openhealthhub.org/t/prsb-headings-in-machine-readable-form-youre-welcome/1805/1 "2018-10-04T15:15:22Z")

</div>

I was in a meeting today and had a few spare minutes so I collated the .xlsx and .json versions of the PRSB headings in one repo to make them easier to obtain. Not sure if it will be of any use to anyone at this stage, but here you are.

> **[pacharanero/prsb-headings](https://github.com/pacharanero/prsb-headings)**
>
> Convenient and machine-readable downloads of the PRSB standards - pacharanero/prsb-headings

I’d like to see if I can use these .json files to automatically create JSON Schema or even object models in a web framework or language. Or openEHR archetypes? Open to ideas/collaborations

M

---

<div class="post-metadata">

**Author:** ![mayfield.g.kev](https://openhealthhub.org/user_avatar/openhealthhub.org/mayfield.g.kev/32/648_2.png) [@mayfield.g.kev](https://openhealthhub.org/u/mayfield.g.kev)\
**Post date:** [4 October 2018 16:02 UTC](https://openhealthhub.org/t/prsb-headings-in-machine-readable-form-youre-welcome/1805/2 "2018-10-04T16:02:57Z")

</div>

Is their a consolidated list of headings?  
I think a lot of headings/sections are repeated, definitely the resources are.

This thread is about creating the docs, [Constructing e-Discharge Summary (FHIR) document any tool](https://www.openhealthhub.org/t/constructing-e-discharge-summary-fhir-document-any-tool/1803/2)

I think a lot of this is boiler plate code, I’m uses resources that way. We’ve built once for care connect api, the code just grabs these and assembles then according to the ‘script’ and generates the narrative.

---

<div class="post-metadata">

**Author:** ![Tharma](https://openhealthhub.org/user_avatar/openhealthhub.org/tharma/32/683_2.png) [@Tharma](https://openhealthhub.org/u/Tharma)\
**Post date:** [5 October 2018 08:44 UTC](https://openhealthhub.org/t/prsb-headings-in-machine-readable-form-youre-welcome/1805/3 "2018-10-05T08:44:47Z")

</div>

machine readable form - does it mean the format of it (e-discharge summary with PRSB heading) should be sent to MESH is .json or .xml ?

---

<div class="post-metadata">

**Author:** ![mayfield.g.kev](https://openhealthhub.org/user_avatar/openhealthhub.org/mayfield.g.kev/32/648_2.png) [@mayfield.g.kev](https://openhealthhub.org/u/mayfield.g.kev)\
**Post date:** [5 October 2018 11:50 UTC](https://openhealthhub.org/t/prsb-headings-in-machine-readable-form-youre-welcome/1805/4 "2018-10-05T11:50:17Z")

</div>

Content of FHIR Documents in transfer of care is always XML across MESH.

---

<div class="post-metadata">

**Author:** ![mayfield.g.kev](https://openhealthhub.org/user_avatar/openhealthhub.org/mayfield.g.kev/32/648_2.png) [@mayfield.g.kev](https://openhealthhub.org/u/mayfield.g.kev)\
**Post date:** [5 October 2018 11:56 UTC](https://openhealthhub.org/t/prsb-headings-in-machine-readable-form-youre-welcome/1805/5 "2018-10-05T11:56:46Z")

</div>

In this app, the PRSB docs are stored in a mongo database as Bson and the interactions are Json

[https://data.developer.nhs.uk/document-viewer/](https://data.developer.nhs.uk/document-viewer/)

They can be imported as Json but we’ve only tested with xml (as that’s how they are from MESH)  
Example patients are  
William Smith  
Julie jones

---

<div class="post-metadata">

**Author:** ![mayfield.g.kev](https://openhealthhub.org/user_avatar/openhealthhub.org/mayfield.g.kev/32/648_2.png) [@mayfield.g.kev](https://openhealthhub.org/u/mayfield.g.kev)\
**Post date:** [5 October 2018 12:00 UTC](https://openhealthhub.org/t/prsb-headings-in-machine-readable-form-youre-welcome/1805/6 "2018-10-05T12:00:07Z")

</div>

And…

In java we use hapi libraries and JavaScript @types/fhir from npm.  
Hoping to post on iOS/Mac swift soon…
