description: This is a Finnish abstract base profile for the Provenance resource, used to communicate the custodian of information (*rekisterinpitäjä*). package_name: hl7.fhir.fi.base derivation: constraint name: FiBaseInformationCustodian abstract: true type: Provenance elements: agent: short: An agent with type http://terminology.hl7.org/CodeSystem/v3-ParticipationType#CST index: 0 slicing: rules: open description: An agent SHALL have the `type` `CST` from http://terminology.hl7.org/CodeSystem/v3-ParticipationType discriminator: - {path: type, type: value} min: null slices: custodian: match: type: coding: - {code: CST, system: 'http://terminology.hl7.org/CodeSystem/v3-ParticipationType'} schema: array: true min: 1 _required: true index: 1 elements: type: pattern: type: CodeableConcept value: coding: - {code: CST, system: 'http://terminology.hl7.org/CodeSystem/v3-ParticipationType'} index: 2 role: index: 3 slicing: rules: open description: At least one of the roles must have a coding with a system discriminator: - {path: coding.system, type: value} min: 1 slices: custodianRole: match: coding: {system: null} schema: array: true min: 1 _required: true index: 4 elements: coding: short: A role with type urn:oid:1.2.246.537.5.40172 index: 5 elements: system: {index: 6} required: [system] slicing: rules: open description: The information custodian agent SHALL have a role with coding of `system` `urn:oid:1.2.246.537.5.40172` ([*eArkisto - Rekisteripitäjän laji*](https://koodistopalvelu.kanta.fi/codeserver/pages/classification-view-page.xhtml?classificationKey=268&versionKey=345)), i.e., whether the provider is a public or private actor. The value for the identifier SHALL be 1 for public, 2 for private. discriminator: - {path: system, type: value} min: 1 slices: custodianRoleCoding: match: {system: 'urn:oid:1.2.246.537.5.40172'} schema: array: true min: 1 _required: true index: 7 elements: system: short: Public or private occupational healthcare provider pattern: {type: Uri, value: 'urn:oid:1.2.246.537.5.40172'} index: 8 required: [coding] who: elements: identifier: index: 9 elements: type: pattern: type: CodeableConcept value: coding: - {code: PRN, system: 'http://terminology.hl7.org/CodeSystem/v2-0203'} index: 10 required: [type] required: [identifier] required: [role, type] package_version: 1.0.0-rc23 class: profile kind: resource url: https://hl7.fi/fhir/finnish-base-profiles/StructureDefinition/fi-base-information-custodian base: https://hl7.fi/fhir/finnish-base-profiles/StructureDefinition/fi-base-provenance version: 1.0.0-rc23