Stream: shorthand
Topic: Create custom identifier
Jakob Abada (Apr 06 2022 at 09:37):
I'm working on set example for patient resource
Instance: ServiceRequestExample
InstanceOf: ServiceRequest
Description: "An example of a TDL service request profile."
* identifier
* value = "A1629464498084"
* system = ZavaIdentifierCodeSystem#testkit.transactionID
CodeSystem: ZavaIdentifierCodeSystem
Id: zava-identifier-code-system
Title: "Zava code system for identifier."
Description: "Zava code system for identifier."
* #testkit.transactionID "testkit transactionId"
It always gives me an error Identifier.system must be an absolute reference, not a local reference
Any ideas?
David Pyke (Apr 06 2022 at 12:52):
It needs to be a URL for the codesystem (or urn:oid: or something). http://example.org/zavaIdentifier would work
Chris Moesel (Apr 06 2022 at 13:33):
As @David Pyke noted, the system
needs to be a URL -- and you're assigning it to a code. I'm actually surprised that SUSHI does not complain about this. I would expect SUSHI to give an error here. We'll have to look into it.
The Identifier datatype does have a type
property that accepts a CodeableConcept
. Perhaps that is what you intend to do here?
* type = ZavaIdentifierCodeSystem#testkit.transactionID
Chris Moesel (Apr 07 2022 at 14:54):
I've filed SUSHI#1062 to investigate why SUSHI doesn't emit an error in this case (because I think it should).
Last updated: Apr 12 2022 at 19:14 UTC