{ "description": null, "_filename": "RelatedPerson.StructureDefinition.json", "package_name": "ca.bc.bcy-ids", "date": null, "derivation": "constraint", "publisher": null, "fhirVersion": "4.0.1", "name": "RelatedPerson", "abstract": false, "type": "RelatedPerson", "experimental": null, "resourceType": "StructureDefinition", "title": null, "package_version": "1.0.0", "status": "draft", "id": "121c21f5-fc88-44b5-abbb-57455fb4a8df", "kind": "resource", "url": "http://ehealth.bc.ca/fhir/StructureDefinition/bc-bcyimmunizationdistribution/RelatedPerson", "version": null, "differential": { "element": [ { "id": "RelatedPerson.id", "min": 1, "path": "RelatedPerson.id", "comment": "See Mappings", "mapping": [ { "map": "CONSENT.CONSENT_DIRECTIVE_ID", "identity": "source-PIR" } ] }, { "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", "max": "1", "min": 1, "path": "RelatedPerson.meta.profile", "comment": "Apply \"http://ehealth.bc.ca/fhir/StructureDefinition/bc-bcyimmunizationdistribution/RelatedPerson\"" }, { "id": "RelatedPerson.meta.security", "max": "1", "path": "RelatedPerson.meta.security" }, { "id": "RelatedPerson.meta.tag", "max": "1", "path": "RelatedPerson.meta.tag" }, { "id": "RelatedPerson.identifier", "max": "1", "path": "RelatedPerson.identifier" }, { "id": "RelatedPerson.identifier.id", "max": "0", "path": "RelatedPerson.identifier.id" }, { "id": "RelatedPerson.identifier.use", "max": "0", "path": "RelatedPerson.identifier.use" }, { "id": "RelatedPerson.patient.reference", "min": 1, "path": "RelatedPerson.patient.reference", "comment": "See Mappings", "mapping": [ { "map": "fullURL + \"Patient/\" + (Patient ID)", "comment": "e.g. http://ehealth.bc.ca/panorama/fhir/Patient/59900999\"", "identity": "source-PIR" } ] }, { "id": "RelatedPerson.relationship", "max": "1", "path": "RelatedPerson.relationship" }, { "id": "RelatedPerson.relationship.id", "max": "0", "path": "RelatedPerson.relationship.id" }, { "id": "RelatedPerson.relationship.coding", "max": "1", "path": "RelatedPerson.relationship.coding", "comment": "See Mappings", "mapping": [ { "map": "Code: CONSENT.CONSENT_DIRECTIVE.WHO_GAVE_RLTNSHP_CODE_CNCPT_ID", "identity": "source-PIR-Other" }, { "map": "Text: CONSENT.CONSENT_DIRECTIVE.WHO_GAVE_RELATIONSHIP_ID", "identity": "source-PIR-RelatedClient" } ] }, { "id": "RelatedPerson.relationship.coding.id", "max": "0", "path": "RelatedPerson.relationship.coding.id" }, { "id": "RelatedPerson.relationship.coding.system", "min": 1, "code": [ { "system": "https://fhir.infoway-inforoute.ca/NamingSystem/ca-bc-panorama-code" } ], "path": "RelatedPerson.relationship.coding.system" }, { "id": "RelatedPerson.relationship.coding.version", "max": "0", "path": "RelatedPerson.relationship.coding.version" }, { "id": "RelatedPerson.relationship.coding.code", "min": 1, "path": "RelatedPerson.relationship.coding.code", "comment": "Refer to IMMS Codeset spreadsheet: Consent - ConsentGivenByRelationship. See Mappings.", "mapping": [ { "map": "CONSENT.CONSENT_DIRECTIVE.WHO_GAVE_RLTNSHP_CODE_CNCPT_ID", "identity": "source-PIR" } ] }, { "id": "RelatedPerson.relationship.coding.display", "min": 1, "path": "RelatedPerson.relationship.coding.display", "comment": "Refer to IMMS Codeset spreadsheet: Consent - ConsentGivenByRelationship" }, { "id": "RelatedPerson.relationship.coding.userSelected", "max": "0", "path": "RelatedPerson.relationship.coding.userSelected" }, { "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": [ { "map": "CONSENT.CONSENT_DIRECTIVE.WHO_GAVE_RELATIONSHIP_ID", "identity": "source-PIR-RelatedClient" } ] }, { "id": "RelatedPerson.name", "max": "1", "min": 1, "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.", "mapping": [ { "map": "CONSENT.CONSENT_DIRECTIVE.WHO_GAVE_CONSENT", "identity": "source-PIR-Other" }, { "map": "Not Specified", "identity": "source-PIR-NotSpecified" }, { "map": "CLIENT.SUBJECT_RELATIONSHIP.LEFT_SUBJECT_ID", "identity": "source-PIR-relatedClient" } ] }, { "id": "RelatedPerson.name.family", "min": 1, "path": "RelatedPerson.name.family" }, { "id": "RelatedPerson.name.given", "max": "1", "min": 1, "path": "RelatedPerson.name.given", "comment": "FIRST Name sends in first place of Given Name, MIDDLE Name sneds in second place of Given Name" }, { "id": "RelatedPerson.name.prefix", "max": "1", "path": "RelatedPerson.name.prefix" }, { "id": "RelatedPerson.name.suffix", "max": "1", "path": "RelatedPerson.name.suffix" }, { "id": "RelatedPerson.telecom", "max": "1", "path": "RelatedPerson.telecom" }, { "id": "RelatedPerson.address", "max": "1", "path": "RelatedPerson.address" }, { "id": "RelatedPerson.photo", "max": "1", "path": "RelatedPerson.photo" }, { "id": "RelatedPerson.communication", "max": "1", "path": "RelatedPerson.communication" } ] }, "baseDefinition": "http://hl7.org/fhir/StructureDefinition/RelatedPerson" }