{ "description": null, "_filename": "DocumentReference.StructureDefinition.json", "package_name": "digi.derm", "date": "2024-04-08T15:09:09.5090824+00:00", "derivation": "constraint", "publisher": null, "fhirVersion": "5.0.0", "name": "DocumentReference", "abstract": false, "type": "DocumentReference", "experimental": "false", "resourceType": "StructureDefinition", "title": null, "package_version": "0.1.1", "status": "active", "id": "d8757fdb-bfb3-4bc2-bc78-c94d74294228", "kind": "resource", "url": "https://api.ndp.scot/storage/digital-dermatology/StructureDefinition/DocumentReference", "version": null, "differential": { "element": [ { "id": "DocumentReference.text", "max": "0", "path": "DocumentReference.text" }, { "id": "DocumentReference.identifier", "max": "0", "path": "DocumentReference.identifier" }, { "id": "DocumentReference.basedOn", "max": "0", "path": "DocumentReference.basedOn" }, { "id": "DocumentReference.status", "path": "DocumentReference.status", "fixedCode": "completed" }, { "id": "DocumentReference.docStatus", "min": 1, "path": "DocumentReference.docStatus", "fixedCode": "unknown" }, { "id": "DocumentReference.modality", "max": "0", "path": "DocumentReference.modality" }, { "id": "DocumentReference.type", "min": 1, "path": "DocumentReference.type" }, { "id": "DocumentReference.type.coding", "max": "1", "min": 1, "path": "DocumentReference.type.coding" }, { "id": "DocumentReference.type.coding.system", "min": 1, "path": "DocumentReference.type.coding.system", "fixedUri": "http://snomed.info/sct" }, { "id": "DocumentReference.type.coding.version", "max": "0", "path": "DocumentReference.type.coding.version" }, { "id": "DocumentReference.type.coding.code", "min": 1, "path": "DocumentReference.type.coding.code", "fixedCode": "3457005" }, { "id": "DocumentReference.type.coding.display", "min": 1, "path": "DocumentReference.type.coding.display" }, { "id": "DocumentReference.type.coding.userSelected", "max": "0", "path": "DocumentReference.type.coding.userSelected" }, { "id": "DocumentReference.type.text", "max": "0", "path": "DocumentReference.type.text" }, { "id": "DocumentReference.category", "max": "1", "min": 1, "path": "DocumentReference.category" }, { "id": "DocumentReference.category.coding", "max": "1", "min": 1, "path": "DocumentReference.category.coding" }, { "id": "DocumentReference.category.coding.system", "min": 1, "path": "DocumentReference.category.coding.system", "fixedUri": "http://snomed.info/sct" }, { "id": "DocumentReference.category.coding.version", "max": "0", "path": "DocumentReference.category.coding.version" }, { "id": "DocumentReference.category.coding.code", "min": 1, "path": "DocumentReference.category.coding.code", "fixedCode": "183518005" }, { "id": "DocumentReference.category.coding.display", "min": 1, "path": "DocumentReference.category.coding.display" }, { "id": "DocumentReference.category.coding.userSelected", "max": "0", "path": "DocumentReference.category.coding.userSelected" }, { "id": "DocumentReference.category.text", "max": "0", "path": "DocumentReference.category.text" }, { "id": "DocumentReference.subject", "min": 1, "path": "DocumentReference.subject" }, { "id": "DocumentReference.subject.reference", "min": 1, "path": "DocumentReference.subject.reference", "fixedString": "https://api.ndp.scot/storage/digital-dermatology/StructureDefinition/Patient" }, { "id": "DocumentReference.subject.type", "min": 1, "path": "DocumentReference.subject.type", "fixedUri": "Patient" }, { "id": "DocumentReference.subject.identifier", "max": "0", "path": "DocumentReference.subject.identifier" }, { "id": "DocumentReference.subject.display", "max": "0", "path": "DocumentReference.subject.display" }, { "id": "DocumentReference.context", "max": "1", "min": 1, "path": "DocumentReference.context" }, { "id": "DocumentReference.context.reference", "min": 1, "path": "DocumentReference.context.reference", "fixedString": "https://api.ndp.scot/storage/digital-dermatology/StructureDefinition/Encounter" }, { "id": "DocumentReference.context.type", "min": 1, "path": "DocumentReference.context.type", "fixedUri": "Encounter" }, { "id": "DocumentReference.context.identifier", "max": "0", "path": "DocumentReference.context.identifier" }, { "id": "DocumentReference.context.display", "max": "0", "path": "DocumentReference.context.display" }, { "id": "DocumentReference.event", "max": "0", "path": "DocumentReference.event" }, { "id": "DocumentReference.bodySite", "max": "0", "path": "DocumentReference.bodySite" }, { "id": "DocumentReference.facilityType", "max": "0", "path": "DocumentReference.facilityType" }, { "id": "DocumentReference.practiceSetting", "max": "0", "path": "DocumentReference.practiceSetting" }, { "id": "DocumentReference.period", "max": "0", "path": "DocumentReference.period" }, { "id": "DocumentReference.date", "min": 1, "path": "DocumentReference.date" }, { "id": "DocumentReference.author", "max": "1", "min": 1, "path": "DocumentReference.author" }, { "id": "DocumentReference.author.reference", "min": 1, "path": "DocumentReference.author.reference", "fixedString": "https://api.ndp.scot/storage/digital-dermatology/StructureDefinition/Practitioner" }, { "id": "DocumentReference.author.type", "min": 1, "path": "DocumentReference.author.type" }, { "id": "DocumentReference.author.identifier", "max": "0", "path": "DocumentReference.author.identifier" }, { "id": "DocumentReference.author.display", "max": "0", "path": "DocumentReference.author.display" }, { "id": "DocumentReference.attester", "max": "0", "path": "DocumentReference.attester" }, { "id": "DocumentReference.custodian", "max": "0", "path": "DocumentReference.custodian" }, { "id": "DocumentReference.relatesTo", "max": "0", "path": "DocumentReference.relatesTo" }, { "id": "DocumentReference.description", "max": "0", "path": "DocumentReference.description" }, { "id": "DocumentReference.securityLabel", "max": "0", "path": "DocumentReference.securityLabel" }, { "id": "DocumentReference.content", "max": "1", "path": "DocumentReference.content", "slicing": { "rules": "open", "discriminator": [ { "path": "profile.value.code", "type": "value" } ] } }, { "id": "DocumentReference.content:THUMBNAIL", "max": "1", "min": 1, "path": "DocumentReference.content", "sliceName": "THUMBNAIL" }, { "id": "DocumentReference.content:THUMBNAIL.attachment.contentType", "min": 1, "path": "DocumentReference.content.attachment.contentType", "fixedCode": "image/jpeg" }, { "id": "DocumentReference.content:THUMBNAIL.attachment.language", "max": "0", "path": "DocumentReference.content.attachment.language" }, { "id": "DocumentReference.content:THUMBNAIL.attachment.data", "max": "0", "path": "DocumentReference.content.attachment.data" }, { "id": "DocumentReference.content:THUMBNAIL.attachment.url", "max": "0", "path": "DocumentReference.content.attachment.url" }, { "id": "DocumentReference.content:THUMBNAIL.attachment.size", "max": "0", "path": "DocumentReference.content.attachment.size" }, { "id": "DocumentReference.content:THUMBNAIL.attachment.hash", "max": "0", "path": "DocumentReference.content.attachment.hash" }, { "id": "DocumentReference.content:THUMBNAIL.attachment.title", "max": "0", "path": "DocumentReference.content.attachment.title" }, { "id": "DocumentReference.content:THUMBNAIL.attachment.creation", "max": "0", "path": "DocumentReference.content.attachment.creation" }, { "id": "DocumentReference.content:THUMBNAIL.attachment.height", "max": "0", "path": "DocumentReference.content.attachment.height" }, { "id": "DocumentReference.content:THUMBNAIL.attachment.width", "max": "0", "path": "DocumentReference.content.attachment.width" }, { "id": "DocumentReference.content:THUMBNAIL.attachment.frames", "max": "0", "path": "DocumentReference.content.attachment.frames" }, { "id": "DocumentReference.content:THUMBNAIL.attachment.duration", "max": "0", "path": "DocumentReference.content.attachment.duration" }, { "id": "DocumentReference.content:THUMBNAIL.attachment.pages", "max": "0", "path": "DocumentReference.content.attachment.pages" }, { "id": "DocumentReference.content:THUMBNAIL.profile", "max": "1", "min": 1, "path": "DocumentReference.content.profile" }, { "id": "DocumentReference.content:THUMBNAIL.profile.value[x]", "path": "DocumentReference.content.profile.value[x]", "type": [ { "code": "Coding" } ] }, { "id": "DocumentReference.content:THUMBNAIL.profile.value[x].system", "min": 1, "path": "DocumentReference.content.profile.value[x].system", "fixedUri": "https://terminology.ndp.scot/fhir/media/image-size/v1" }, { "id": "DocumentReference.content:THUMBNAIL.profile.value[x].version", "max": "0", "path": "DocumentReference.content.profile.value[x].version" }, { "id": "DocumentReference.content:THUMBNAIL.profile.value[x].code", "min": 1, "path": "DocumentReference.content.profile.value[x].code", "fixedCode": "THUMBNAIL" }, { "id": "DocumentReference.content:THUMBNAIL.profile.value[x].display", "max": "0", "path": "DocumentReference.content.profile.value[x].display" }, { "id": "DocumentReference.content:THUMBNAIL.profile.value[x].userSelected", "max": "0", "path": "DocumentReference.content.profile.value[x].userSelected" }, { "id": "DocumentReference.content:HIGH_RESOLUTION", "max": "1", "min": 1, "path": "DocumentReference.content", "sliceName": "HIGH_RESOLUTION" }, { "id": "DocumentReference.content:HIGH_RESOLUTION.attachment.contentType", "min": 1, "path": "DocumentReference.content.attachment.contentType", "fixedCode": "image/jpeg" }, { "id": "DocumentReference.content:HIGH_RESOLUTION.attachment.language", "max": "0", "path": "DocumentReference.content.attachment.language" }, { "id": "DocumentReference.content:HIGH_RESOLUTION.attachment.data", "max": "0", "path": "DocumentReference.content.attachment.data" }, { "id": "DocumentReference.content:HIGH_RESOLUTION.attachment.url", "max": "0", "path": "DocumentReference.content.attachment.url" }, { "id": "DocumentReference.content:HIGH_RESOLUTION.attachment.size", "max": "0", "path": "DocumentReference.content.attachment.size" }, { "id": "DocumentReference.content:HIGH_RESOLUTION.attachment.hash", "max": "0", "path": "DocumentReference.content.attachment.hash" }, { "id": "DocumentReference.content:HIGH_RESOLUTION.attachment.title", "max": "0", "path": "DocumentReference.content.attachment.title" }, { "id": "DocumentReference.content:HIGH_RESOLUTION.attachment.creation", "max": "0", "path": "DocumentReference.content.attachment.creation" }, { "id": "DocumentReference.content:HIGH_RESOLUTION.attachment.height", "max": "0", "path": "DocumentReference.content.attachment.height" }, { "id": "DocumentReference.content:HIGH_RESOLUTION.attachment.width", "max": "0", "path": "DocumentReference.content.attachment.width" }, { "id": "DocumentReference.content:HIGH_RESOLUTION.attachment.frames", "max": "0", "path": "DocumentReference.content.attachment.frames" }, { "id": "DocumentReference.content:HIGH_RESOLUTION.attachment.duration", "max": "0", "path": "DocumentReference.content.attachment.duration" }, { "id": "DocumentReference.content:HIGH_RESOLUTION.attachment.pages", "max": "0", "path": "DocumentReference.content.attachment.pages" }, { "id": "DocumentReference.content:HIGH_RESOLUTION.profile", "max": "1", "min": 1, "path": "DocumentReference.content.profile" }, { "id": "DocumentReference.content:HIGH_RESOLUTION.profile.value[x]", "path": "DocumentReference.content.profile.value[x]", "type": [ { "code": "Coding" } ] }, { "id": "DocumentReference.content:HIGH_RESOLUTION.profile.value[x].system", "min": 1, "path": "DocumentReference.content.profile.value[x].system", "fixedUri": "https://terminology.ndp.scot/fhir/media/image-size/v1" }, { "id": "DocumentReference.content:HIGH_RESOLUTION.profile.value[x].version", "max": "0", "path": "DocumentReference.content.profile.value[x].version" }, { "id": "DocumentReference.content:HIGH_RESOLUTION.profile.value[x].code", "min": 1, "path": "DocumentReference.content.profile.value[x].code", "fixedCode": "HIGH_RESOLUTION" }, { "id": "DocumentReference.content:HIGH_RESOLUTION.profile.value[x].display", "max": "0", "path": "DocumentReference.content.profile.value[x].display" }, { "id": "DocumentReference.content:HIGH_RESOLUTION.profile.value[x].userSelected", "max": "0", "path": "DocumentReference.content.profile.value[x].userSelected" }, { "id": "DocumentReference.content:ORIGINAL", "max": "1", "min": 1, "path": "DocumentReference.content", "sliceName": "ORIGINAL" }, { "id": "DocumentReference.content:ORIGINAL.attachment.contentType", "min": 1, "path": "DocumentReference.content.attachment.contentType", "fixedCode": "image/jpeg" }, { "id": "DocumentReference.content:ORIGINAL.attachment.language", "max": "0", "path": "DocumentReference.content.attachment.language" }, { "id": "DocumentReference.content:ORIGINAL.attachment.data", "max": "0", "path": "DocumentReference.content.attachment.data" }, { "id": "DocumentReference.content:ORIGINAL.attachment.url", "max": "0", "path": "DocumentReference.content.attachment.url" }, { "id": "DocumentReference.content:ORIGINAL.attachment.size", "max": "0", "path": "DocumentReference.content.attachment.size" }, { "id": "DocumentReference.content:ORIGINAL.attachment.hash", "max": "0", "path": "DocumentReference.content.attachment.hash" }, { "id": "DocumentReference.content:ORIGINAL.attachment.title", "max": "0", "path": "DocumentReference.content.attachment.title" }, { "id": "DocumentReference.content:ORIGINAL.attachment.creation", "max": "0", "path": "DocumentReference.content.attachment.creation" }, { "id": "DocumentReference.content:ORIGINAL.attachment.height", "max": "0", "path": "DocumentReference.content.attachment.height" }, { "id": "DocumentReference.content:ORIGINAL.attachment.width", "max": "0", "path": "DocumentReference.content.attachment.width" }, { "id": "DocumentReference.content:ORIGINAL.attachment.frames", "max": "0", "path": "DocumentReference.content.attachment.frames" }, { "id": "DocumentReference.content:ORIGINAL.attachment.duration", "max": "0", "path": "DocumentReference.content.attachment.duration" }, { "id": "DocumentReference.content:ORIGINAL.attachment.pages", "max": "0", "path": "DocumentReference.content.attachment.pages" }, { "id": "DocumentReference.content:ORIGINAL.profile", "max": "1", "min": 1, "path": "DocumentReference.content.profile" }, { "id": "DocumentReference.content:ORIGINAL.profile.value[x]", "path": "DocumentReference.content.profile.value[x]", "type": [ { "code": "Coding" } ] }, { "id": "DocumentReference.content:ORIGINAL.profile.value[x].system", "min": 1, "path": "DocumentReference.content.profile.value[x].system", "fixedUri": "https://terminology.ndp.scot/fhir/media/image-size/v1" }, { "id": "DocumentReference.content:ORIGINAL.profile.value[x].version", "max": "0", "path": "DocumentReference.content.profile.value[x].version" }, { "id": "DocumentReference.content:ORIGINAL.profile.value[x].code", "min": 1, "path": "DocumentReference.content.profile.value[x].code", "fixedCode": "ORIGINAL" }, { "id": "DocumentReference.content:ORIGINAL.profile.value[x].display", "max": "0", "path": "DocumentReference.content.profile.value[x].display" }, { "id": "DocumentReference.content:ORIGINAL.profile.value[x].userSelected", "max": "0", "path": "DocumentReference.content.profile.value[x].userSelected" } ] }, "baseDefinition": "http://hl7.org/fhir/StructureDefinition/DocumentReference" }