hl7ch / ch-emed

FHIR Implementation Guide which defines the documents for the exchange of medication information in the context of the Swiss EPR
https://fhir.ch/ig/ch-emed/index.html
MIT License
0 stars 1 forks source link

Original representation: reference Binary in narrative (Michaela Ziegler, ahdis ag) #292

Open ziegm opened 3 weeks ago

ziegm commented 3 weeks ago

New IG publisher error:

Bundle/2-7-MedicationCard-UUIDfullUrl

Bundle (l1/c2) error Slice 'Bundle.entry:Composition': a matching slice is required, but not found (from http://fhir.ch/ig/ch-emed/StructureDefinition/ch-emed-document-medicationcard\ 5.0.0-ci-build). Note that other slices are allowed in addition to this required slice
Bundle​.entry[0]​.resource​/Composition​/d543ae7b-3a94-4a2a-a120-6ce2ee3027fc​/​.section[2]​.text​.div (l88​/c171) error Hyperlink scheme 'urn' in 'urn:uuid:d5c77e2e-798d-4437-8f73-4875c35065ef' at 'div/a' for 'Representation of the original view' is not a valid hyperlinkable scheme
Bundle​.entry[0]​.resource​.section[2]​.text​.div (l88​/c171) error Hyperlink scheme 'urn' in 'urn:uuid:d5c77e2e-798d-4437-8f73-4875c35065ef' at 'div/a' for 'Representation of the original view' is not a valid hyperlinkable scheme
ziegm commented 3 weeks ago

2-7 Medication Card document: without errors

            "text" : {
              "status" : "generated",
              "div" : "<div xmlns=\"http://www.w3.org/1999/xhtml\">Representation of the original view: <img src=\"2-7-pdf\"/></div>"
            },

2-7 Medication Card document (with references/fullUrls as UUIDs): with errors

            "text" : {
              "status" : "generated",
              "div" : "<div xmlns=\"http://www.w3.org/1999/xhtml\"><a href=\"urn:uuid:d5c77e2e-798d-4437-8f73-4875c35065ef\">Representation of the original view</a></div>"
            },

see also https://fhir.ch/ig/ch-core/StructureDefinition-ch-core-composition-epr.html

ziegm commented 2 weeks ago

@pjolo: please review

Changes:

pjolo commented 1 week ago

The changes are fine for me. Wouldn't it make sense if this guidance of the representation is linked in the IG?

I have found typos in the guidance: image