FHIR © HL7.org  |  FHIRsmith 4.0.1  |  Server Home  |  XIG Home  |  XIG Stats  | 

FHIR IG analytics

Packagetz.nhif.zhsf.claims
Resource TypeStructureMap
IdStructureMap-TZClaimSubmissionToClaim.json
FHIR VersionR5
Sourcehttps://build.fhir.org/ig/Speedykom/tanzania-nhif-zhsf-claims-ig/StructureMap-TZClaimSubmissionToClaim.html
URLhttp://build.fhir.org/ig/speedykom/tanzania-nhif-zhsf-claims-ig/StructureMap/TZClaimSubmissionToClaim
Version0.1.0
Statusdraft
Date2026-01-12T12:56:31+00:00
NameTZClaimSubmissionToClaim

Resources that use this resource

No resources found


Resources that this resource uses

No resources found


Narrative

Note: links and images are rebased to the (stated) source

Generated Narrative: StructureMap TZClaimSubmissionToClaim

/// url = 'http://build.fhir.org/ig/speedykom/tanzania-nhif-zhsf-claims-ig/StructureMap/TZClaimSubmissionToClaim'
/// name = 'TZClaimSubmissionToClaim'
/// status = 'draft'

uses "http://build.fhir.org/ig/speedykom/tanzania-nhif-zhsf-claims-ig/StructureDefinition/TZClaimSubmissionRequest" as source
uses "http://hl7.org/fhir/StructureDefinition/Claim" as target

group TZClaimSubmissionToClaim(source src : TZClaimSubmissionRequest, target tgt : Claim) {
  src -> tgt.id = uuid() "SetClaimId"; // -----------------------------
  src.claimNumber -> tgt.identifier as ident then {
    src.claimNumber -> ident.value "SetIdentifierValue";
  } "MapClaimNumber"; // -----------------------------
  src.claimType -> tgt.type as type then {
    src.claimType -> type.text "SetClaimTypeText";
  } "MapClaimType"; // -----------------------------
}


Source1

{
  "resourceType": "StructureMap",
  "id": "TZClaimSubmissionToClaim",
  "text": {
    "status": "generated",
    "div": "<!-- snip (see above) -->"
  },
  "url": "http://build.fhir.org/ig/speedykom/tanzania-nhif-zhsf-claims-ig/StructureMap/TZClaimSubmissionToClaim",
  "version": "0.1.0",
  "name": "TZClaimSubmissionToClaim",
  "status": "draft",
  "date": "2026-01-12T12:56:31+00:00",
  "publisher": "Speedykom GmbH",
  "contact": [
    {
      "name": "Speedykom GmbH",
      "telecom": [
        {
          "system": "url",
          "value": "https://www.speedykom.de"
        }
      ]
    },
    {
      "name": "Ahmed Amri",
      "telecom": [
        {
          "system": "email",
          "value": "ahmed.amri@speedykom.de",
          "use": "work"
        }
      ]
    }
  ],
  "jurisdiction": [
    {
      "coding": [
        {
          "system": "urn:iso:std:iso:3166",
          "code": "TZ",
          "display": "Tanzania"
        }
      ]
    }
  ],
  "structure": [
    {
      "url": "http://build.fhir.org/ig/speedykom/tanzania-nhif-zhsf-claims-ig/StructureDefinition/TZClaimSubmissionRequest",
      "mode": "source"
    },
    {
      "url": "http://hl7.org/fhir/StructureDefinition/Claim",
      "mode": "target"
    }
  ],
  "group": [
    {
      "name": "TZClaimSubmissionToClaim",
      "input": [
        {
          "name": "src",
          "type": "TZClaimSubmissionRequest",
          "mode": "source"
        },
        {
          "name": "tgt",
          "type": "Claim",
          "mode": "target"
        }
      ],
      "rule": [
        {
          "name": "SetClaimId",
          "source": [
            {
              "context": "src"
            }
          ],
          "target": [
            {
              "context": "tgt",
              "element": "id",
              "transform": "uuid"
            }
          ],
          "documentation": "-----------------------------"
        },
        {
          "name": "MapClaimNumber",
          "source": [
            {
              "context": "src",
              "element": "claimNumber"
            }
          ],
          "target": [
            {
              "context": "tgt",
              "element": "identifier",
              "variable": "ident"
            }
          ],
          "rule": [
            {
              "name": "SetIdentifierValue",
              "source": [
                {
                  "context": "src",
                  "element": "claimNumber",
                  "variable": "vvv"
                }
              ],
              "target": [
                {
                  "context": "ident",
                  "element": "value",
                  "variable": "vvv",
                  "transform": "create"
                }
              ],
              "dependent": [
                {
                  "name": "DefaultMappingGroupAnonymousAlias",
                  "parameter": [
                    {
                      "valueId": "vvv"
                    },
                    {
                      "valueId": "vvv"
                    }
                  ]
                }
              ]
            }
          ],
          "documentation": "-----------------------------"
        },
        {
          "name": "MapClaimType",
          "source": [
            {
              "context": "src",
              "element": "claimType"
            }
          ],
          "target": [
            {
              "context": "tgt",
              "element": "type",
              "variable": "type"
            }
          ],
          "rule": [
            {
              "name": "SetClaimTypeText",
              "source": [
                {
                  "context": "src",
                  "element": "claimType",
                  "variable": "vvv"
                }
              ],
              "target": [
                {
                  "context": "type",
                  "element": "text",
                  "variable": "vvv",
                  "transform": "create"
                }
              ],
              "dependent": [
                {
                  "name": "DefaultMappingGroupAnonymousAlias",
                  "parameter": [
                    {
                      "valueId": "vvv"
                    },
                    {
                      "valueId": "vvv"
                    }
                  ]
                }
              ]
            }
          ],
          "documentation": "-----------------------------"
        }
      ]
    }
  ]
}