Constrain code to a fixed value or subset ValueSet via FHIR Profile -
Constrain code to a fixed value or subset ValueSet via FHIR Profile -
would constrain particular code (defined valueset) fixed value or subset of original valueset via fhir profiles. clinical decision back upwards (cds) need 1) restrict status condition occurrence such status code cannot have value 'refuted' , 2) restrict status nonoccurrence status must 'refuted'.
the core profile condition resource this:
<element> <path value="condition.status"/> <definition> <short value="provisional | working | confirmed | refuted"/> <formal value="the clinical status of condition."/> <min value="1"/> <max value="1"/> <type> <code value="code"/> </type> <ismodifier value="true"/> <binding> <name value="conditionstatus"/> <isextensible value="false"/> <conformance value="required"/> <referenceresource> <reference value="http://hl7.org/fhir/vs/condition-status"/> </referenceresource> </binding> </definition> </element>
the status occurrence status field can contain status of values: provisional, working, or confirmed. status nonoccurrence status field can contain fixed refuted value.
given status defined isextensible="false" need valid way constrain nonextendable field conforms fhir spec.
update:
given grahame's reply below, element definition restricting code fixed value simple:
<element> <path value="condition.status"/> <definition> <short value="refuted"/> <formal value="the clinical status of status non-occurrence"/> <type> <code value="code"/> </type> <valuecode value="refuted"/> </definition> </element>
likewise, status element in status occurrence profile can define binding refers contained valueset grahame describes below appropriate concepts (i.e. refuted code removed).
condition nonoccurrence status field can contain fixed refuted value
this profile contains element status fixed value of "refuted"
the status occurrence status field can contain status of values: provisional, working, or confirmed
define value set contains codes (cmpose, include (system = "http://hl7.org/fhir/condition-status"), codes = provisional, working, or confirmed
then profile contains element status binding new value set
hl7-fhir
Comments
Post a Comment