Skip to content

Commit

Permalink
Merge pull request #22 from jembi/education-level-structure-map
Browse files Browse the repository at this point in the history
updated
  • Loading branch information
rmrlangford authored Feb 8, 2024
2 parents 3e0b341 + 36c407b commit 2c09e16
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 11 deletions.
14 changes: 14 additions & 0 deletions input/fsh/capability-statement.fsh
Original file line number Diff line number Diff line change
@@ -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"
22 changes: 11 additions & 11 deletions input/fsh/operation-definition.fsh
Original file line number Diff line number Diff line change
Expand Up @@ -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 = "[email protected]"
//* publisher = "HL7 (FHIR Project)"
//* contact.telecom[0].system = #url
//* contact.telecom[=].value = "http://hl7.org/fhir"
//* contact.telecom[+].system = #email
//* contact.telecom[=].value = "[email protected]"
* 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"
Expand Down

0 comments on commit 2c09e16

Please sign in to comment.