| Package | ca.bc.bcy-ids |
| Resource Type | StructureDefinition |
| Id | RelatedPerson.StructureDefinition |
| FHIR Version | R4 |
| Source | https://simplifier.net/resolve?scope=ca.bc.bcy-ids@1.0.0&canonical=http://ehealth.bc.ca/fhir/StructureDefinition/bc-bcyimmunizationdistribution/RelatedPerson |
| URL | http://ehealth.bc.ca/fhir/StructureDefinition/bc-bcyimmunizationdistribution/RelatedPerson |
| Status | draft |
| Name | RelatedPerson |
| Type | RelatedPerson |
| Kind | resource |
No resources found
No resources found
No narrative content found in resource
{
"resourceType": "StructureDefinition",
"url": "http://ehealth.bc.ca/fhir/StructureDefinition/bc-bcyimmunizationdistribution/RelatedPerson",
"name": "RelatedPerson",
"status": "draft",
"fhirVersion": "4.0.1",
"kind": "resource",
"abstract": false,
"type": "RelatedPerson",
"baseDefinition": "http://hl7.org/fhir/StructureDefinition/RelatedPerson",
"derivation": "constraint",
"differential": {
"element": [
{
"id": "RelatedPerson.id",
"path": "RelatedPerson.id",
"comment": "See Mappings",
"min": 1,
"mapping": [
{
"identity": "source-PIR",
"map": "CONSENT.CONSENT_DIRECTIVE_ID"
}
]
},
{
"id": "RelatedPerson.meta",
"path": "RelatedPerson.meta"
},
{
"id": "RelatedPerson.meta.versionId",
"path": "RelatedPerson.meta.versionId",
"comment": "Apply \"2025.01.1\". This indicates the FHIR specs as of year Jan 2025."
},
{
"id": "RelatedPerson.meta.lastUpdated",
"path": "RelatedPerson.meta.lastUpdated",
"comment": "Updated: Relax the previously crossed-out elements."
},
{
"id": "RelatedPerson.meta.profile",
"path": "RelatedPerson.meta.profile",
"comment": "Apply \"http://ehealth.bc.ca/fhir/StructureDefinition/bc-bcyimmunizationdistribution/RelatedPerson\"",
"min": 1,
"max": "1"
},
{
"id": "RelatedPerson.meta.security",
"path": "RelatedPerson.meta.security",
"max": "1"
},
{
"id": "RelatedPerson.meta.tag",
"path": "RelatedPerson.meta.tag",
"max": "1"
},
{
"id": "RelatedPerson.identifier",
"path": "RelatedPerson.identifier",
"max": "1"
},
{
"id": "RelatedPerson.identifier.id",
"path": "RelatedPerson.identifier.id",
"max": "0"
},
{
"id": "RelatedPerson.identifier.use",
"path": "RelatedPerson.identifier.use",
"max": "0"
},
{
"id": "RelatedPerson.patient.reference",
"path": "RelatedPerson.patient.reference",
"comment": "See Mappings",
"min": 1,
"mapping": [
{
"identity": "source-PIR",
"map": "fullURL + \"Patient/\" + (Patient ID)",
"comment": "e.g. http://ehealth.bc.ca/panorama/fhir/Patient/59900999\""
}
]
},
{
"id": "RelatedPerson.relationship",
"path": "RelatedPerson.relationship",
"max": "1"
},
{
"id": "RelatedPerson.relationship.id",
"path": "RelatedPerson.relationship.id",
"max": "0"
},
{
"id": "RelatedPerson.relationship.coding",
"path": "RelatedPerson.relationship.coding",
"comment": "See Mappings",
"max": "1",
"mapping": [
{
"identity": "source-PIR-Other",
"map": "Code: CONSENT.CONSENT_DIRECTIVE.WHO_GAVE_RLTNSHP_CODE_CNCPT_ID"
},
{
"identity": "source-PIR-RelatedClient",
"map": "Text: CONSENT.CONSENT_DIRECTIVE.WHO_GAVE_RELATIONSHIP_ID"
}
]
},
{
"id": "RelatedPerson.relationship.coding.id",
"path": "RelatedPerson.relationship.coding.id",
"max": "0"
},
{
"id": "RelatedPerson.relationship.coding.system",
"path": "RelatedPerson.relationship.coding.system",
"code": [
{
"system": "https://fhir.infoway-inforoute.ca/NamingSystem/ca-bc-panorama-code"
}
],
"min": 1
},
{
"id": "RelatedPerson.relationship.coding.version",
"path": "RelatedPerson.relationship.coding.version",
"max": "0"
},
{
"id": "RelatedPerson.relationship.coding.code",
"path": "RelatedPerson.relationship.coding.code",
"comment": "Refer to IMMS Codeset spreadsheet: Consent - ConsentGivenByRelationship. See Mappings.",
"min": 1,
"mapping": [
{
"identity": "source-PIR",
"map": "CONSENT.CONSENT_DIRECTIVE.WHO_GAVE_RLTNSHP_CODE_CNCPT_ID"
}
]
},
{
"id": "RelatedPerson.relationship.coding.display",
"path": "RelatedPerson.relationship.coding.display",
"comment": "Refer to IMMS Codeset spreadsheet: Consent - ConsentGivenByRelationship",
"min": 1
},
{
"id": "RelatedPerson.relationship.coding.userSelected",
"path": "RelatedPerson.relationship.coding.userSelected",
"max": "0"
},
{
"id": "RelatedPerson.relationship.text",
"path": "RelatedPerson.relationship.text",
"comment": "See Mappings: To be applied if PIR Consent Given By = Related Client. WHO_GAVE_RLTNSHP_CODE_CNCPT_ID = null and WHO_GAVE_RELATIONSHIP_ID has a value.",
"mapping": [
{
"identity": "source-PIR-RelatedClient",
"map": "CONSENT.CONSENT_DIRECTIVE.WHO_GAVE_RELATIONSHIP_ID"
}
]
},
{
"id": "RelatedPerson.name",
"path": "RelatedPerson.name",
"comment": "See Mappings. NOT SPECIFIED is applied when both WHO_GAVE_RLTNSHP_CODE_CNCPT_ID = null and WHO_GAVE_RELATIONSHIP_ID = null.",
"min": 1,
"max": "1",
"mapping": [
{
"identity": "source-PIR-Other",
"map": "CONSENT.CONSENT_DIRECTIVE.WHO_GAVE_CONSENT"
},
{
"identity": "source-PIR-NotSpecified",
"map": "Not Specified"
},
{
"identity": "source-PIR-relatedClient",
"map": "CLIENT.SUBJECT_RELATIONSHIP.LEFT_SUBJECT_ID"
}
]
},
{
"id": "RelatedPerson.name.family",
"path": "RelatedPerson.name.family",
"min": 1
},
{
"id": "RelatedPerson.name.given",
"path": "RelatedPerson.name.given",
"comment": "FIRST Name sends in first place of Given Name, MIDDLE Name sneds in second place of Given Name",
"min": 1,
"max": "1"
},
{
"id": "RelatedPerson.name.prefix",
"path": "RelatedPerson.name.prefix",
"max": "1"
},
{
"id": "RelatedPerson.name.suffix",
"path": "RelatedPerson.name.suffix",
"max": "1"
},
{
"id": "RelatedPerson.telecom",
"path": "RelatedPerson.telecom",
"max": "1"
},
{
"id": "RelatedPerson.address",
"path": "RelatedPerson.address",
"max": "1"
},
{
"id": "RelatedPerson.photo",
"path": "RelatedPerson.photo",
"max": "1"
},
{
"id": "RelatedPerson.communication",
"path": "RelatedPerson.communication",
"max": "1"
}
]
}
}