Skip to content

Instantly share code, notes, and snippets.

@bkaney
Last active March 12, 2023 02:36
Show Gist options
  • Save bkaney/cf0b8c2e8b1de5a8efa6a680756a158e to your computer and use it in GitHub Desktop.
Save bkaney/cf0b8c2e8b1de5a8efa6a680756a158e to your computer and use it in GitHub Desktop.
{
"resourceType": "ValueSet",
"id": "VSPHQ9",
"meta": {
"profile": [
"http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-valueset"
]
},
"url": "http://hl7.org/fhir/uv/sdc/ValueSet/VSPHQ9",
"name": "VSPHQ9",
"status": "draft",
"description": "The answer list for questions addressing the frequency in which patient reports experiencing behaviors that are assessed in the PHQ-9 Questionnaire.",
"immutable": true,
"compose": {
"include": [
{
"system": "http://hl7.org/fhir/uv/sdc/CodeSystem/CSPHQ9",
"concept": [
{
"extension": [
{
"url": "http://hl7.org/fhir/StructureDefinition/ordinalValue",
"valueDecimal": 0
}
],
"code": "Not-at-all",
"display": "Not at all"
},
{
"extension": [
{
"url": "http://hl7.org/fhir/StructureDefinition/ordinalValue",
"valueDecimal": 1
}
],
"code": "Several-days",
"display": "Several days"
},
{
"extension": [
{
"url": "http://hl7.org/fhir/StructureDefinition/ordinalValue",
"valueDecimal": 2
}
],
"code": "More than half the days",
"display": "More than half the days"
},
{
"extension": [
{
"url": "http://hl7.org/fhir/StructureDefinition/ordinalValue",
"valueDecimal": 3
}
],
"code": "Nearly every day",
"display": "Nearly every day"
}
]
}
]
}
}
{
"resourceType": "ValueSet",
"url": "http://hl7.org/fhir/uv/sdc/ValueSet/VSPHQ9",
"status": "active",
"compose": {
"include": [ {
"system": "http://hl7.org/fhir/uv/sdc/CodeSystem/CSPHQ9",
"concept": [ {
"extension": [ {
"url": "http://hl7.org/fhir/StructureDefinition/ordinalValue",
"valueDecimal": 0
} ],
"code": "Not-at-all",
"display": "Not at all"
}, {
"extension": [ {
"url": "http://hl7.org/fhir/StructureDefinition/ordinalValue",
"valueDecimal": 1
} ],
"code": "Several-days",
"display": "Several days"
}, {
"extension": [ {
"url": "http://hl7.org/fhir/StructureDefinition/ordinalValue",
"valueDecimal": 2
} ],
"code": "More than half the days",
"display": "More than half the days"
}, {
"extension": [ {
"url": "http://hl7.org/fhir/StructureDefinition/ordinalValue",
"valueDecimal": 3
} ],
"code": "Nearly every day",
"display": "Nearly every day"
} ]
} ]
},
"expansion": {
"identifier": "9f671ee2-62db-4966-83e8-646e52b2fbf7",
"timestamp": "2023-03-10T22:21:49+00:00",
"total": 4,
"offset": 0,
"contains": [ {
"system": "http://hl7.org/fhir/uv/sdc/CodeSystem/CSPHQ9",
"code": "Not-at-all",
"display": "Not at all"
}, {
"system": "http://hl7.org/fhir/uv/sdc/CodeSystem/CSPHQ9",
"code": "Several-days",
"display": "Several days"
}, {
"system": "http://hl7.org/fhir/uv/sdc/CodeSystem/CSPHQ9",
"code": "More than half the days",
"display": "More than half the days"
}, {
"system": "http://hl7.org/fhir/uv/sdc/CodeSystem/CSPHQ9",
"code": "Nearly every day",
"display": "Nearly every day"
} ]
}
}
{
"resourceType": "ValueSet",
"url": "http://hl7.org/fhir/uv/sdc/ValueSet/VSPHQ9",
"status": "active",
"compose": {
"include": [ {
"system": "http://hl7.org/fhir/uv/sdc/CodeSystem/CSPHQ9",
"concept": [ {
"extension": [ {
"url": "http://hl7.org/fhir/StructureDefinition/ordinalValue",
"valueDecimal": 0
} ],
"code": "Not-at-all",
"display": "Not at all"
}, {
"extension": [ {
"url": "http://hl7.org/fhir/StructureDefinition/ordinalValue",
"valueDecimal": 1
} ],
"code": "Several-days",
"display": "Several days"
}, {
"extension": [ {
"url": "http://hl7.org/fhir/StructureDefinition/ordinalValue",
"valueDecimal": 2
} ],
"code": "More than half the days",
"display": "More than half the days"
}, {
"extension": [ {
"url": "http://hl7.org/fhir/StructureDefinition/ordinalValue",
"valueDecimal": 3
} ],
"code": "Nearly every day",
"display": "Nearly every day"
} ]
} ]
},
"expansion": {
"identifier": "9f671ee2-62db-4966-83e8-646e52b2fbf7",
"timestamp": "2023-03-10T22:21:49+00:00",
"total": 4,
"offset": 0,
"contains": [ {
"extension": [ {
"url": "http://hl7.org/fhir/StructureDefinition/ordinalValue",
"valueDecimal": 0
} ],
"system": "http://hl7.org/fhir/uv/sdc/CodeSystem/CSPHQ9",
"code": "Not-at-all",
"display": "Not at all"
}, {
"extension": [ {
"url": "http://hl7.org/fhir/StructureDefinition/ordinalValue",
"valueDecimal": 1
} ],
"system": "http://hl7.org/fhir/uv/sdc/CodeSystem/CSPHQ9",
"code": "Several-days",
"display": "Several days"
}, {
"extension": [ {
"url": "http://hl7.org/fhir/StructureDefinition/ordinalValue",
"valueDecimal": 2
} ],
"system": "http://hl7.org/fhir/uv/sdc/CodeSystem/CSPHQ9",
"code": "More than half the days",
"display": "More than half the days"
}, {
"extension": [ {
"url": "http://hl7.org/fhir/StructureDefinition/ordinalValue",
"valueDecimal": 3
} ],
"system": "http://hl7.org/fhir/uv/sdc/CodeSystem/CSPHQ9",
"code": "Nearly every day",
"display": "Nearly every day"
} ]
}
}
@bkaney
Copy link
Author

bkaney commented Mar 12, 2023

Note: in the desired expansion the ordinalValue extension exists in the expansion.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment