From 36c407bf2d93db3558a25ae2b557f3d2eafc5219 Mon Sep 17 00:00:00 2001 From: rmrlangford Date: Thu, 8 Feb 2024 14:06:27 +0200 Subject: [PATCH] updated --- input/fsh/capability-statement.fsh | 14 ++++++++++++++ input/fsh/operation-definition.fsh | 22 +++++++++++----------- 2 files changed, 25 insertions(+), 11 deletions(-) create mode 100644 input/fsh/capability-statement.fsh diff --git a/input/fsh/capability-statement.fsh b/input/fsh/capability-statement.fsh new file mode 100644 index 000000000..5481b641c --- /dev/null +++ b/input/fsh/capability-statement.fsh @@ -0,0 +1,14 @@ +Instance: CapabilityStatement-ZambiaImmunizations +InstanceOf: CapabilityStatement +Usage: #definition +* status = #active +* description = "Zambia Immunizations" +* date = "2024-02-08" +* kind = #instance +* fhirVersion = #5.0.0 +* format[+] = #json +* rest[+].mode = #server +* rest[=].resource.type = #StructureMap +* rest[=].resource.operation[+].definition = Canonical(StructureMap-transform) +* rest[=].resource.operation[=].name = "StructureMap-transform" +* implementation.description = "Zambia Immunizations" \ No newline at end of file diff --git a/input/fsh/operation-definition.fsh b/input/fsh/operation-definition.fsh index a1c694a85..74fdbe1aa 100644 --- a/input/fsh/operation-definition.fsh +++ b/input/fsh/operation-definition.fsh @@ -3,25 +3,25 @@ Alias: $m49.htm = http://unstats.un.org/unsd/methods/m49/m49.htm Instance: StructureMap-transform InstanceOf: OperationDefinition Usage: #definition -* extension[0].url = "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm" -* extension[=].valueInteger = 2 -* extension[+].url = "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status" -* extension[=].valueCode = #trial-use +//* extension[0].url = "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm" +//* extension[=].valueInteger = 2 +//* extension[+].url = "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status" +//* extension[=].valueCode = #trial-use * url = "http://openhie.org/fhir/zambia-immunizations/OperationDefinition/StructureMap-transform" -* version = "5.0.0" +//* version = "5.0.0" * name = "Transform" * title = "Model Instance Transformation" * status = #draft * kind = #operation * experimental = false * date = "2023-03-26T15:21:02+11:00" -* publisher = "HL7 (FHIR Project)" -* contact.telecom[0].system = #url -* contact.telecom[=].value = "http://hl7.org/fhir" -* contact.telecom[+].system = #email -* contact.telecom[=].value = "fhir@lists.hl7.org" +//* publisher = "HL7 (FHIR Project)" +//* contact.telecom[0].system = #url +//* contact.telecom[=].value = "http://hl7.org/fhir" +//* contact.telecom[+].system = #email +//* contact.telecom[=].value = "fhir@lists.hl7.org" * description = "The transform operation takes input content, applies a structure map transform, and then returns the output." -* jurisdiction = $m49.htm#001 "World" +//* jurisdiction = $m49.htm#001 "World" * affectsState = false * code = #transform * comment = "The input and return are specified as 'Resources'. In most usage of the $transform operation, either the input or return content is not a valid FHIR resource. In these cases, the return type is actually a [Binary](https://hl7.org/fhir/binary.html) resource. For this operation, the Binary resources may be encoded directly, using a mime-type, as shown in the example. Note: this specification does not yet address the means by which the servers may know the correct mime types for the various content involved"