FHIR Chat · example DocumentReference? · shorthand

Stream: shorthand

Topic: example DocumentReference?


view this post on Zulip John Keyes (Sep 02 2021 at 20:00):

If I wanted to create a dummy example DocumentReference in fsh, what would the minimum example I could create look like? It doesn't need to have any actual content. Something like...

Instance:   ex-document
InstanceOf: DocumentReference
Title:      "Dummy Document example"
Description: "Dummy Document example for completeness sake. No actual use of this resource other than an example target."
* status = #final
* content ???

view this post on Zulip John Moehrke (Sep 02 2021 at 20:07):

yup Here is mine that is part of the MHD implementation guide. Most resources can be made up of mostly useless null content. I added a bit of content.

Instance: ex-documentreference
InstanceOf: DocumentReference
Title: "Dummy DocumentReference example"
Description: "Dummy DocumentReference example for completeness sake. No actual use of this resource other than an example target"
Usage: #example
* meta.security = http://terminology.hl7.org/CodeSystem/v3-ActReason#HTEST
* status = #current
* content.attachment.title = "Hello World"
* content.attachment.contentType = #text/plain

view this post on Zulip John Keyes (Sep 02 2021 at 20:16):

Perfect, thanks John!

view this post on Zulip John Moehrke (Sep 02 2021 at 20:36):

https://github.com/IHE/ITI.MHD


Last updated: Apr 12 2022 at 19:14 UTC