Reference source · 0.1.0-dev.11
StructureDefinition-oprp-Condition.json
profiles/definitions/StructureDefinition-oprp-Condition.json · Download original file
{
"resourceType": "StructureDefinition",
"id": "oprp-Condition",
"url": "https://www.convey.care/fhir/StructureDefinition/oprp-Condition",
"version": "0.1.0-dev.11",
"name": "OprpCondition",
"title": "OPRP Experimental Condition",
"status": "draft",
"experimental": true,
"date": "2026-10-02",
"publisher": "Convey",
"description": "International base R4 constraints for OPRP. Host ownership, security policy, unsupported nested content and bounded admission are additional executable checks. This is not a US Core claim.",
"fhirVersion": "4.0.1",
"kind": "resource",
"abstract": false,
"type": "Condition",
"baseDefinition": "http://hl7.org/fhir/StructureDefinition/Condition",
"derivation": "constraint",
"differential": {
"element": [
{
"id": "Condition",
"path": "Condition",
"constraint": [
{
"key": "oprp-owner-1",
"severity": "error",
"human": "OPRP ownership uses a relative Patient reference.",
"expression": "subject.reference.matches('^Patient/[A-Za-z0-9.-]{1,64}$')"
}
]
},
{
"id": "Condition.contained",
"path": "Condition.contained",
"max": "0"
},
{
"id": "Condition.modifierExtension",
"path": "Condition.modifierExtension",
"max": "0"
},
{
"id": "Condition.subject",
"path": "Condition.subject",
"min": 1,
"type": [
{
"code": "Reference",
"targetProfile": [
"http://hl7.org/fhir/StructureDefinition/Patient"
]
}
]
},
{
"id": "Condition.code",
"path": "Condition.code",
"min": 1,
"type": [
{
"code": "CodeableConcept"
}
]
}
]
}
}