Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Mappings

FHIR

PKB

Notes

Resource id

[[Message.Data Point ID]]

 

Resource meta

[[Data Point.Privacy Label]] code mappings (PKB → FHIR):

  • GENERAL_HEALTH → GENERAL_HEALTH

  • MENTAL_HEALTH → MENTAL_HEALTH

  • SEXUAL_HEALTH → SEXUAL_HEALTH

  • SOCIAL_CARE → SOCIAL_CARE

 

Communication.extension

 

Communication.status

"unknown"

 

Communication.subject

  • subject: Reference

    • reference = the relative URL of the Patient resource

    • display = [[User.Title]] [[User.Given Name]] [[User.Family Name]]

 

Communication.recipient

For each [[Message->Recipient]] who was not the Communication.sender, add an entry to the recipient list.

  • recipient: Reference

    • reference = <conditional>

    • If Recipient is a Professional or a Team Coordinator:

      • reference = the relative URL of the Practitioner resource

      • display = [[User.Title]] [[User.Given Name]] [[User.Family Name]]

    • Else if Recipient is a Patient: <conditional>

      • If Recipient is same as Communication.subject:

        • reference = the relative URL of the Patient resource

        • display = [[User.Title]] [[User.Given Name]] [[User.Family Name]]

      • Else:

        • reference = a reference to a contained RelatedPerson instance (see RelatedPerson mappings)

        • display = [[User.Title]] [[User.Given Name]] [[User.Family Name]]

 

Communication.sent

[[Message.Timestamp]]

 

Communication.sender

  • sender: Reference

    • reference = <conditional>

    • If [[Message.Sender]] is a Professional or a Team Coordinator:

      • reference = the relative URL of the Practitioner resource

      • display = [[User.Title]] [[User.Given Name]] [[User.Family Name]]

    • Else if [[Message.Sender]] is a Patient: <conditional>

      • If [[Message.Sender]] is same as Communication.subject:

        • reference = the relative URL of the Patient resource

        • display = [[User.Title]] [[User.Given Name]] [[User.Family Name]]

      • Else:

        • reference = a reference to a contained RelatedPerson instance (see RelatedPerson mappings)

        • display = [[User.Title]] [[User.Given Name]] [[User.Family Name]]

 

Communication.payload

For each [[Attachment]], add an entry to the payload list:

  • payload: BackboneElement

    • contentAttachment: Attachment

      • title = [[Attachment.Filename]]

      • creation = [[Message.Persisted Timestamp]]

Only attachment metadata is returned; the content of any attachments, or of the message itself, is not currently returned.

...