{
"description": "Captures the reason for the current state of the resource. Note that any change to the state requires the removal of any existing statusReasons, and, if appropriate, populating new statusReasons.",
"_filename": "StructureDefinition-workflow-statusReason.json",
"package_name": "synapxe.sgcdi",
"date": "2017-12-06",
"derivation": "constraint",
"publisher": "HL7 International / FHIR Infrastructure",
"fhirVersion": "5.0.0",
"jurisdiction": [ {
"coding": [ {
"code": "001",
"system": "http://unstats.un.org/unsd/methods/m49/m49.htm"
} ]
} ],
"name": "WorkflowStatusReason",
"mapping": [ {
"uri": "http://hl7.org/fhir/workflow",
"name": "Workflow Pattern",
"identity": "workflow"
}, {
"uri": "http://hl7.org/v2",
"name": "HL7 v2 Mapping",
"identity": "v2"
}, {
"uri": "http://hl7.org/v3",
"name": "RIM Mapping",
"identity": "rim"
} ],
"abstract": false,
"type": "Extension",
"experimental": "false",
"resourceType": "StructureDefinition",
"title": "Workflow Status Reason",
"package_version": "1.2.4",
"extension": [ {
"url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg",
"valueCode": "fhir"
}, {
"url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm",
"valueInteger": 2
}, {
"url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status",
"valueCode": "trial-use"
}, {
"url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-type-characteristics",
"valueCode": "can-bind"
} ],
"status": "active",
"id": "50fbb7f2-cb5b-4586-a84b-2371a3948013",
"kind": "complex-type",
"url": "http://hl7.org/fhir/StructureDefinition/workflow-statusReason",
"identifier": [ {
"value": "urn:oid:2.16.840.1.113883.4.642.5.1540",
"system": "urn:ietf:rfc:3986"
} ],
"context": [ {
"type": "element",
"expression": "DomainResource"
} ],
"version": "5.3.0",
"differential": {
"element": [ {
"id": "Extension",
"max": "*",
"min": 0,
"path": "Extension",
"short": "Why was the status changed?",
"comment": "This is generally only used for 'exception' statuses such as 'suspended' or 'cancelled'. The reason why the resource was created at all is captured in reasonCode, not here. (Distinct reason codes for different statuses can be enforced using invariants if they are universal bindings).\n\nMust only be used on resources with a 'status' element that do not already have a statusReason.",
"mapping": [ {
"map": "Event.statusReason\nRequest.statusReason",
"identity": "workflow"
} ],
"definition": "Captures the reason for the current state of the resource. Note that any change to the state requires the removal of any existing statusReasons, and, if appropriate, populating new statusReasons."
}, {
"id": "Extension.extension",
"max": "0",
"path": "Extension.extension"
}, {
"id": "Extension.url",
"path": "Extension.url",
"fixedUri": "http://hl7.org/fhir/StructureDefinition/workflow-statusReason"
}, {
"id": "Extension.value[x]",
"min": 1,
"path": "Extension.value[x]",
"type": [ {
"code": "CodeableConcept"
} ],
"binding": {
"strength": "required",
"valueSet": "https://fhir.synapxe.sg/ValueSet/status-reason",
"extension": [ {
"url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
"valueString": "EventStatusReason"
} ]
}
}, {
"id": "Extension.value[x].coding.system",
"path": "Extension.value[x].coding.system",
"patternUri": "https://fhir.synapxe.sg/CodeSystem/status-reason"
} ]
},
"contact": [ {
"telecom": [ {
"value": "http://www.hl7.org/Special/committees/fiwg",
"system": "url"
} ]
} ],
"baseDefinition": "http://hl7.org/fhir/StructureDefinition/Extension"
}