{
"description": null,
"_filename": "kvp-sd-valitys.json",
"package_name": "fi.kela.kanta.kvp.r4",
"date": null,
"derivation": "constraint",
"publisher": null,
"fhirVersion": "4.0.1",
"name": "Valitys",
"abstract": false,
"type": "Communication",
"experimental": null,
"resourceType": "StructureDefinition",
"title": null,
"package_version": "1.0.0-rc3",
"status": "draft",
"id": "52b6bae1-7dfd-4750-8b93-0908d1801436",
"kind": "resource",
"url": "https://kvp.kanta.fi/fhir/StructureDefinition/valitys",
"version": null,
"differential": {
"element": [ {
"id": "Communication.meta",
"min": 1,
"path": "Communication.meta"
}, {
"id": "Communication.meta.profile",
"path": "Communication.meta.profile",
"fixedCanonical": "https://kvp.kanta.fi/fhir/StructureDefinition/valitys"
}, {
"id": "Communication.implicitRules",
"max": "0",
"path": "Communication.implicitRules"
}, {
"id": "Communication.identifier",
"max": "0",
"path": "Communication.identifier"
}, {
"id": "Communication.instantiatesCanonical",
"max": "0",
"path": "Communication.instantiatesCanonical"
}, {
"id": "Communication.instantiatesUri",
"max": "0",
"path": "Communication.instantiatesUri"
}, {
"id": "Communication.basedOn",
"max": "1",
"min": 1,
"path": "Communication.basedOn",
"short": "Välityspyynnön tunniste",
"definition": "Asiakirjan välitystä varten tehdyn välityspyynnön tunniste."
}, {
"id": "Communication.basedOn.id",
"max": "0",
"path": "Communication.basedOn.id"
}, {
"id": "Communication.basedOn.reference",
"max": "0",
"path": "Communication.basedOn.reference"
}, {
"id": "Communication.basedOn.type",
"max": "0",
"path": "Communication.basedOn.type"
}, {
"id": "Communication.basedOn.identifier",
"min": 1,
"path": "Communication.basedOn.identifier"
}, {
"id": "Communication.basedOn.identifier.extension",
"max": "0",
"path": "Communication.basedOn.identifier.extension"
}, {
"id": "Communication.basedOn.identifier.use",
"max": "0",
"path": "Communication.basedOn.identifier.use"
}, {
"id": "Communication.basedOn.identifier.type",
"max": "0",
"path": "Communication.basedOn.identifier.type"
}, {
"id": "Communication.basedOn.identifier.system",
"min": 1,
"path": "Communication.basedOn.identifier.system",
"fixedUri": "urn:ietf:rfc:3986"
}, {
"id": "Communication.basedOn.identifier.value",
"min": 1,
"path": "Communication.basedOn.identifier.value",
"short": "Välityspyynnön tunniste",
"definition": "UUID-muotoinen välityspyynnön tunniste"
}, {
"id": "Communication.basedOn.identifier.period",
"max": "0",
"path": "Communication.basedOn.identifier.period"
}, {
"id": "Communication.basedOn.identifier.assigner",
"max": "0",
"path": "Communication.basedOn.identifier.assigner"
}, {
"id": "Communication.partOf",
"max": "0",
"path": "Communication.partOf"
}, {
"id": "Communication.inResponseTo",
"max": "0",
"path": "Communication.inResponseTo"
}, {
"id": "Communication.status",
"path": "Communication.status",
"definition": "Välityksen tila. \r\nKäytössä ovat seuraavat tilat: \r\nin-progress = välitykseen liittyvä asiakirja on haettu, \r\ncompleted = välitykseen liittyvä asiakirja on haettu ja vastaanottava organisaatio on kuitannut asiakirjan vastaanotetuksi, \r\nstopped = välitykseen liittyvän asiakirjan käsittely on epäonnistunut"
}, {
"id": "Communication.statusReason",
"path": "Communication.statusReason",
"short": "Tilan selite",
"definition": "Lyhyt selite (max 255 merkkiä) välityksen epäonnistumiselle. Asetetaan, kun status = stopped."
}, {
"id": "Communication.statusReason.coding",
"max": "0",
"path": "Communication.statusReason.coding"
}, {
"id": "Communication.statusReason.text",
"min": 1,
"path": "Communication.statusReason.text",
"short": "Selkokielinen syy miksi välitys ei onnistunut.",
"maxLength": 255
}, {
"id": "Communication.category",
"max": "0",
"path": "Communication.category"
}, {
"id": "Communication.priority",
"max": "0",
"path": "Communication.priority"
}, {
"id": "Communication.medium",
"max": "0",
"path": "Communication.medium"
}, {
"id": "Communication.subject",
"path": "Communication.subject",
"type": [ {
"code": "Reference",
"aggregation": [ "contained" ],
"targetProfile": [ "https://kvp.kanta.fi/fhir/StructureDefinition/KVPPatient" ]
} ],
"short": "Asiakkaan tiedot",
"definition": "Henkilö, jota välitettävä asiakirja koskee."
}, {
"id": "Communication.subject.extension",
"max": "0",
"path": "Communication.subject.extension"
}, {
"id": "Communication.subject.reference",
"min": 1,
"path": "Communication.subject.reference"
}, {
"id": "Communication.subject.type",
"max": "0",
"path": "Communication.subject.type"
}, {
"id": "Communication.subject.identifier",
"max": "0",
"path": "Communication.subject.identifier"
}, {
"id": "Communication.subject.identifier.id",
"max": "0",
"path": "Communication.subject.identifier.id"
}, {
"id": "Communication.subject.identifier.extension",
"max": "0",
"path": "Communication.subject.identifier.extension"
}, {
"id": "Communication.subject.identifier.use",
"max": "0",
"path": "Communication.subject.identifier.use"
}, {
"id": "Communication.subject.identifier.type",
"max": "0",
"path": "Communication.subject.identifier.type"
}, {
"id": "Communication.subject.identifier.system",
"path": "Communication.subject.identifier.system",
"short": "Henkilötunnuksen nimiavaruus.",
"fixedUri": "urn:oid:1.2.246.21",
"definition": "Henkilötunnuksen nimiavaruutena käytetään urn:oid:1.2.246.21."
}, {
"id": "Communication.subject.identifier.period",
"max": "0",
"path": "Communication.subject.identifier.period"
}, {
"id": "Communication.subject.identifier.assigner",
"max": "0",
"path": "Communication.subject.identifier.assigner"
}, {
"id": "Communication.subject.display",
"max": "0",
"path": "Communication.subject.display",
"short": "Asiakkaan nimitiedot"
}, {
"id": "Communication.topic",
"max": "0",
"path": "Communication.topic"
}, {
"id": "Communication.about",
"max": "0",
"path": "Communication.about"
}, {
"id": "Communication.encounter",
"max": "0",
"path": "Communication.encounter"
}, {
"id": "Communication.sent",
"max": "0",
"path": "Communication.sent"
}, {
"id": "Communication.received",
"max": "0",
"path": "Communication.received"
}, {
"id": "Communication.recipient",
"max": "1",
"min": 1,
"path": "Communication.recipient",
"short": "Asiakirjan vastaanottaja",
"definition": "Asiakirjan vastaanottavan organisaation tunnus"
}, {
"id": "Communication.recipient.id",
"max": "0",
"path": "Communication.recipient.id"
}, {
"id": "Communication.recipient.reference",
"max": "0",
"path": "Communication.recipient.reference"
}, {
"id": "Communication.recipient.type",
"max": "0",
"path": "Communication.recipient.type"
}, {
"id": "Communication.recipient.identifier",
"min": 1,
"path": "Communication.recipient.identifier"
}, {
"id": "Communication.recipient.identifier.id",
"max": "0",
"path": "Communication.recipient.identifier.id"
}, {
"id": "Communication.recipient.identifier.use",
"max": "0",
"path": "Communication.recipient.identifier.use"
}, {
"id": "Communication.recipient.identifier.type",
"max": "0",
"path": "Communication.recipient.identifier.type"
}, {
"id": "Communication.recipient.identifier.system",
"min": 1,
"path": "Communication.recipient.identifier.system",
"short": "Viestinvälitys - Sanoman vastaanottaja",
"fixedUri": "urn:ietf:rfc:3986",
"definition": "Viestinvälitys - Sanoman vastaanottaja -koodistoa käytetään Kanta-palveluiden viestinvälityksessä ohjaamaan erilaiset sanomat käsiteltäväksi oikean vastaanottajaorganisaation käsittelyjärjestelmälle."
}, {
"id": "Communication.recipient.identifier.value",
"min": 1,
"path": "Communication.recipient.identifier.value",
"short": "Asiakirjan vastaanottavan organisaation tunnus",
"binding": {
"strength": "required",
"valueSet": "https://kvp.kanta.fi/fhir/ValueSet/sanomanvastaanottaja"
},
"definition": "Asiakirjan vastaanottavan organisaation tunnus"
}, {
"id": "Communication.recipient.identifier.period",
"max": "0",
"path": "Communication.recipient.identifier.period"
}, {
"id": "Communication.recipient.identifier.assigner",
"max": "0",
"path": "Communication.recipient.identifier.assigner"
}, {
"id": "Communication.sender",
"min": 1,
"path": "Communication.sender",
"short": "Välityspyynnön tehneen palvelunantajan tunnus",
"definition": "Välitykseen liittyvän välityspyynnön tehneen palvelunantajan tunnus"
}, {
"id": "Communication.sender.id",
"max": "0",
"path": "Communication.sender.id"
}, {
"id": "Communication.sender.reference",
"max": "0",
"path": "Communication.sender.reference"
}, {
"id": "Communication.sender.type",
"max": "0",
"path": "Communication.sender.type"
}, {
"id": "Communication.sender.identifier",
"min": 1,
"path": "Communication.sender.identifier"
}, {
"id": "Communication.sender.identifier.id",
"max": "0",
"path": "Communication.sender.identifier.id"
}, {
"id": "Communication.sender.identifier.extension",
"max": "0",
"path": "Communication.sender.identifier.extension"
}, {
"id": "Communication.sender.identifier.use",
"max": "0",
"path": "Communication.sender.identifier.use"
}, {
"id": "Communication.sender.identifier.type",
"max": "0",
"path": "Communication.sender.identifier.type"
}, {
"id": "Communication.sender.identifier.system",
"min": 1,
"path": "Communication.sender.identifier.system",
"fixedUri": "urn:ietf:rfc:3986"
}, {
"id": "Communication.sender.identifier.value",
"min": 1,
"path": "Communication.sender.identifier.value",
"short": "Välityspyynnön tehneen palvelunantajan tunnus",
"definition": "Välitykseen liittyvän välityspyynnön tehneen palvelunantajan tunnus"
}, {
"id": "Communication.sender.identifier.period",
"max": "0",
"path": "Communication.sender.identifier.period"
}, {
"id": "Communication.sender.identifier.assigner",
"max": "0",
"path": "Communication.sender.identifier.assigner"
}, {
"id": "Communication.reasonCode",
"max": "1",
"min": 1,
"path": "Communication.reasonCode",
"short": "Välitysperuste",
"binding": {
"strength": "required",
"valueSet": "https://kvp.kanta.fi/fhir/ValueSet/valitysperuste"
},
"definition": "Koodiston 1.2.246.537.6.40192.2012 mukainen asiakirjan välityksen välitysperuste"
}, {
"id": "Communication.reasonCode.id",
"max": "0",
"path": "Communication.reasonCode.id"
}, {
"id": "Communication.reasonCode.extension",
"max": "0",
"path": "Communication.reasonCode.extension"
}, {
"id": "Communication.reasonCode.coding",
"max": "1",
"min": 1,
"path": "Communication.reasonCode.coding"
}, {
"id": "Communication.reasonCode.coding.id",
"max": "0",
"path": "Communication.reasonCode.coding.id"
}, {
"id": "Communication.reasonCode.coding.extension",
"max": "0",
"path": "Communication.reasonCode.coding.extension"
}, {
"id": "Communication.reasonCode.coding.system",
"min": 1,
"path": "Communication.reasonCode.coding.system",
"short": "Välitysperusteen nimiavaruus",
"fixedUri": "urn:oid:1.2.246.537.6.40192.2012",
"definition": "Välitysperusteen tunnisteen nimiavaruutena käytetään 1.2.246.537.6.40192.2012."
}, {
"id": "Communication.reasonCode.coding.version",
"max": "0",
"path": "Communication.reasonCode.coding.version"
}, {
"id": "Communication.reasonCode.coding.code",
"min": 1,
"path": "Communication.reasonCode.coding.code",
"short": "Välitysperuste",
"definition": "Asiakirjan välityksen välitysperuste"
}, {
"id": "Communication.reasonCode.coding.userSelected",
"max": "0",
"path": "Communication.reasonCode.coding.userSelected"
}, {
"id": "Communication.reasonCode.text",
"max": "0",
"path": "Communication.reasonCode.text"
}, {
"id": "Communication.reasonReference",
"max": "0",
"path": "Communication.reasonReference"
}, {
"id": "Communication.payload",
"max": "1",
"path": "Communication.payload"
}, {
"id": "Communication.payload.id",
"max": "0",
"path": "Communication.payload.id"
}, {
"id": "Communication.payload.content[x]",
"path": "Communication.payload.content[x]",
"type": [ {
"code": "Attachment"
} ]
}, {
"id": "Communication.payload.content[x].contentType",
"path": "Communication.payload.content[x].contentType",
"fixedCode": "text/xml"
}, {
"id": "Communication.payload.content[x].language",
"max": "0",
"path": "Communication.payload.content[x].language"
}, {
"id": "Communication.payload.content[x].data",
"min": 1,
"path": "Communication.payload.content[x].data",
"short": "Välitettävä asiakirja base64-muodossa",
"definition": "Välitettävä asiakirja base64-muodossa"
}, {
"id": "Communication.payload.content[x].url",
"max": "0",
"path": "Communication.payload.content[x].url"
}, {
"id": "Communication.payload.content[x].size",
"max": "0",
"path": "Communication.payload.content[x].size"
}, {
"id": "Communication.note",
"max": "0",
"path": "Communication.note",
"mustSupport": true
} ]
},
"baseDefinition": "http://hl7.org/fhir/StructureDefinition/Communication"
}