FHIR IG analytics| Package | ng.gov.nphcda.immunization |
| Resource Type | StructureMap |
| Id | registerclientmodel-to-ngimmpatient |
| FHIR Version | R4 |
| Source | http://nphcda.gov.ng/ig/immunization/https://build.fhir.org/ig/Nigeria-FHIR-Community/ImmunizationIG/StructureMap-registerclientmodel-to-ngimmpatient.html |
| URL | https://nphcda.gov.ng/immunizationIG/StructureMap/registerclientmodel-to-ngimmpatient |
| Version | 1.0.0 |
| Status | active |
| Date | 2025-08-04T10:06:52+00:00 |
| Name | RegisterClientModelToNgImmPatient |
| Title | StructureMap: RegisterClientModel to NgImmPatient |
| Description | Map logical RegisterClientModel to NgImmPatient profile |
No resources found
No resources found
Note: links and images are rebased to the (stated) source
Generated Narrative: StructureMap registerclientmodel-to-ngimmpatient
map "https://nphcda.gov.ng/immunizationIG/StructureMap/registerclientmodel-to-ngimmpatient" = "RegisterClientModelToNgImmPatient" // Map logical RegisterClientModel to NgImmPatient profile uses "https://nphcda.gov.ng/immunizationIG/StructureDefinition/register-client-model" alias RCM as source uses "https://nphcda.gov.ng/immunizationIG/StructureDefinition-NgImmPatient" alias Patient as target group RCMToNgImmPatient(source rcm : RegisterClientModel, target patient : Patient) { rcm.identifier -> patient.identifier.value = copy() "SetIdentifier"; rcm.name.given -> patient.name.given = copy() "SetGivenName"; rcm.name.family -> patient.name.family = copy() "SetFamilyName"; rcm.sex -> patient.gender = translate('https://nphcda.gov.ng/immunizationIG/ConceptMap/RCMSexToAdministrativeGender', 'code') "SetGender"; rcm.dateOfBirth -> patient.birthDate = copy() "SetBirthDate"; rcm.address.residentialAddress -> patient.address.line = copy() "SetAddressLine"; rcm.address.town -> patient.address.city = copy() "SetCity"; rcm.address.lga -> patient.address.district = copy() "SetDistrict"; rcm.address.state -> patient.address.state = copy() "SetState"; rcm.contact.name.given -> patient.contact.name.given = copy() "SetCaregiverGiven"; rcm.contact.name.family -> patient.contact.name.family = copy() "SetCaregiverFamily"; rcm.contact.telecom.value -> patient.contact.telecom.value = copy() "SetCaregiverPhone"; rcm.contact.relationship.text -> patient.contact.relationship.text = copy() "SetCaregiverRelationship"; rcm.pregnancyStatus -> patient.extension.valueCodeableConcept = 'https://nphcda.gov.ng/immunizationIG/StructureDefinition/NGPregnancyStatus' "SetPregnancyStatus"; rcm.ageInWeeks -> patient.extension.valueInteger = 'https://nphcda.gov.ng/immunizationIG/StructureDefinition/NGAgeInWeeks' "SetAgeInWeeks"; rcm.ageInMonths -> patient.extension.valueInteger = 'https://nphcda.gov.ng/immunizationIG/StructureDefinition/NGAgeInMonths' "SetAgeInMonths"; rcm.ageInYears -> patient.extension.valueInteger = 'https://nphcda.gov.ng/immunizationIG/StructureDefinition/NGAgeInYears' "SetAgeInYears"; rcm.weightAtBirth -> patient.extension.valueQuantity = 'https://nphcda.gov.ng/immunizationIG/StructureDefinition/NGBirthWeight' "SetWeightAtBirth"; rcm.hivStatus -> patient.extension.valueCodeableConcept = 'https://nphcda.gov.ng/immunizationIG/StructureDefinition/NGHIVStatus' "SetHIVStatus"; }
{
"resourceType": "StructureMap",
"id": "registerclientmodel-to-ngimmpatient",
"text": {
"status": "generated",
"div": "<!-- snip (see above) -->"
},
"url": "https://nphcda.gov.ng/immunizationIG/StructureMap/registerclientmodel-to-ngimmpatient",
"version": "1.0.0",
"name": "RegisterClientModelToNgImmPatient",
"title": "StructureMap: RegisterClientModel to NgImmPatient",
"status": "active",
"date": "2025-08-04T10:06:52+00:00",
"publisher": "https://nphcda.gov.ng",
"contact": [
{
"name": "https://nphcda.gov.ng",
"telecom": [
{
"system": "url",
"value": "https://nphcda.gov.ng"
},
{
"system": "email",
"value": "kasim.sani@nphcda.gov.ng"
}
]
},
{
"name": "Nigeria Primary Healthcare Development Agency.",
"telecom": [
{
"system": "email",
"value": "ig@nphcda.gov.ng",
"use": "work"
}
]
}
],
"description": "Map logical RegisterClientModel to NgImmPatient profile",
"jurisdiction": [
{
"coding": [
{
"system": "urn:iso:std:iso:3166",
"code": "NG",
"display": "Nigeria"
}
]
}
],
"structure": [
{
"url": "https://nphcda.gov.ng/immunizationIG/StructureDefinition/register-client-model",
"mode": "source",
"alias": "RCM"
},
{
"url": "https://nphcda.gov.ng/immunizationIG/StructureDefinition-NgImmPatient",
"mode": "target",
"alias": "Patient"
}
],
"group": [
{
"name": "RCMToNgImmPatient",
"typeMode": "none",
"input": [
{
"name": "rcm",
"type": "RegisterClientModel",
"mode": "source"
},
{
"name": "patient",
"type": "Patient",
"mode": "target"
}
],
"rule": [
{
"name": "SetIdentifier",
"source": [
{
"context": "rcm",
"element": "identifier"
}
],
"target": [
{
"context": "patient",
"contextType": "variable",
"element": "identifier.value",
"transform": "copy"
}
]
},
{
"name": "SetGivenName",
"source": [
{
"context": "rcm",
"element": "name.given"
}
],
"target": [
{
"context": "patient",
"contextType": "variable",
"element": "name.given",
"transform": "copy"
}
]
},
{
"name": "SetFamilyName",
"source": [
{
"context": "rcm",
"element": "name.family"
}
],
"target": [
{
"context": "patient",
"contextType": "variable",
"element": "name.family",
"transform": "copy"
}
]
},
{
"name": "SetGender",
"source": [
{
"context": "rcm",
"element": "sex"
}
],
"target": [
{
"context": "patient",
"contextType": "variable",
"element": "gender",
"transform": "translate",
"parameter": [
{
"valueString": "https://nphcda.gov.ng/immunizationIG/ConceptMap/RCMSexToAdministrativeGender"
},
{
"valueString": "code"
}
]
}
]
},
{
"name": "SetBirthDate",
"source": [
{
"context": "rcm",
"element": "dateOfBirth"
}
],
"target": [
{
"context": "patient",
"contextType": "variable",
"element": "birthDate",
"transform": "copy"
}
]
},
{
"name": "SetAddressLine",
"source": [
{
"context": "rcm",
"element": "address.residentialAddress"
}
],
"target": [
{
"context": "patient",
"contextType": "variable",
"element": "address.line",
"transform": "copy"
}
]
},
{
"name": "SetCity",
"source": [
{
"context": "rcm",
"element": "address.town"
}
],
"target": [
{
"context": "patient",
"contextType": "variable",
"element": "address.city",
"transform": "copy"
}
]
},
{
"name": "SetDistrict",
"source": [
{
"context": "rcm",
"element": "address.lga"
}
],
"target": [
{
"context": "patient",
"contextType": "variable",
"element": "address.district",
"transform": "copy"
}
]
},
{
"name": "SetState",
"source": [
{
"context": "rcm",
"element": "address.state"
}
],
"target": [
{
"context": "patient",
"contextType": "variable",
"element": "address.state",
"transform": "copy"
}
]
},
{
"name": "SetCaregiverGiven",
"source": [
{
"context": "rcm",
"element": "contact.name.given"
}
],
"target": [
{
"context": "patient",
"contextType": "variable",
"element": "contact.name.given",
"transform": "copy"
}
]
},
{
"name": "SetCaregiverFamily",
"source": [
{
"context": "rcm",
"element": "contact.name.family"
}
],
"target": [
{
"context": "patient",
"contextType": "variable",
"element": "contact.name.family",
"transform": "copy"
}
]
},
{
"name": "SetCaregiverPhone",
"source": [
{
"context": "rcm",
"element": "contact.telecom.value"
}
],
"target": [
{
"context": "patient",
"contextType": "variable",
"element": "contact.telecom.value",
"transform": "copy"
}
]
},
{
"name": "SetCaregiverRelationship",
"source": [
{
"context": "rcm",
"element": "contact.relationship.text"
}
],
"target": [
{
"context": "patient",
"contextType": "variable",
"element": "contact.relationship.text",
"transform": "copy"
}
]
},
{
"name": "SetPregnancyStatus",
"source": [
{
"context": "rcm",
"element": "pregnancyStatus"
}
],
"target": [
{
"context": "patient",
"contextType": "variable",
"element": "extension.valueCodeableConcept",
"transform": "copy",
"parameter": [
{
"valueString": "https://nphcda.gov.ng/immunizationIG/StructureDefinition/NGPregnancyStatus"
}
]
}
]
},
{
"name": "SetAgeInWeeks",
"source": [
{
"context": "rcm",
"element": "ageInWeeks"
}
],
"target": [
{
"context": "patient",
"contextType": "variable",
"element": "extension.valueInteger",
"transform": "copy",
"parameter": [
{
"valueString": "https://nphcda.gov.ng/immunizationIG/StructureDefinition/NGAgeInWeeks"
}
]
}
]
},
{
"name": "SetAgeInMonths",
"source": [
{
"context": "rcm",
"element": "ageInMonths"
}
],
"target": [
{
"context": "patient",
"contextType": "variable",
"element": "extension.valueInteger",
"transform": "copy",
"parameter": [
{
"valueString": "https://nphcda.gov.ng/immunizationIG/StructureDefinition/NGAgeInMonths"
}
]
}
]
},
{
"name": "SetAgeInYears",
"source": [
{
"context": "rcm",
"element": "ageInYears"
}
],
"target": [
{
"context": "patient",
"contextType": "variable",
"element": "extension.valueInteger",
"transform": "copy",
"parameter": [
{
"valueString": "https://nphcda.gov.ng/immunizationIG/StructureDefinition/NGAgeInYears"
}
]
}
]
},
{
"name": "SetWeightAtBirth",
"source": [
{
"context": "rcm",
"element": "weightAtBirth"
}
],
"target": [
{
"context": "patient",
"contextType": "variable",
"element": "extension.valueQuantity",
"transform": "copy",
"parameter": [
{
"valueString": "https://nphcda.gov.ng/immunizationIG/StructureDefinition/NGBirthWeight"
}
]
}
]
},
{
"name": "SetHIVStatus",
"source": [
{
"context": "rcm",
"element": "hivStatus"
}
],
"target": [
{
"context": "patient",
"contextType": "variable",
"element": "extension.valueCodeableConcept",
"transform": "copy",
"parameter": [
{
"valueString": "https://nphcda.gov.ng/immunizationIG/StructureDefinition/NGHIVStatus"
}
]
}
]
}
]
}
]
}