ObservationBase

VA PGHD observation base profile in xml:

<StructureDefinition xmlns="http://hl7.org/fhir">
    <id value="va-pghd-questionnaire-base-v1.0" />
    <url value="https://veteran.apps.va.gov/smart-pgd-fhir/v2/StructureDefinition/va-pghd-questionnaire-base-v1.0" />
    <version value="1.0" />
    <name value="VAPghdQuestionnaireProfileBase" />
    <title value="VA PGHD Questionnaire Base Profile for Mobile App Data" />
    <status value="active" />
    <date value="2022-09-01" />
    <description value="VA PGHD Questionnaire base profile defining the common constraints for all PGHD questionnaires. It should have a meta tag with system = &#39;https://wiki.mobilehealth.va.gov/x/Onc1C&#39;, a code, and a display value." />
    <purpose value="This is the PGHD questionnaire base profile defining the common constraints for all VA PGHD questionnaire profiles. Other PGHD questionnaire profiles should derive from this base profile." />
    <fhirVersion value="4.0.1" />
    <kind value="resource" />
    <abstract value="false" />
    <type value="Questionnaire" />
    <baseDefinition value="http://hl7.org/fhir/StructureDefinition/Questionnaire" />
    <derivation value="constraint" />
    <differential>
        <element id="Questionnaire">
            <path value="Questionnaire" />
            <short value="PGHD Governance Rules for Questionnaires" />
            <constraint>
                <key value="pghd-meta-tag-1" />
                <severity value="error" />
                <human value="A Questionnaire must have exactly one meta tag, with system = &#39;https://wiki.mobilehealth.va.gov/x/Onc1C&#39;, a code, and a display value" />
                <expression value="meta.tag.count() = 1 and meta.tag.exists(system = &#39;https://wiki.mobilehealth.va.gov/x/Onc1C&#39; and code.exists() and display.exists())" />
            </constraint>
        </element>
    </differential>
</StructureDefinition>

VA PGHD observation base profile in json:

{
    "resourceType": "StructureDefinition",
    "id": "va-pghd-questionnaire-base-v1.0",
    "url": "https://veteran.apps.va.gov/smart-pgd-fhir/v2/StructureDefinition/va-pghd-questionnaire-base-v1.0",
    "version": "1.0",
    "name": "VAPghdQuestionnaireProfileBase",
    "title": "VA PGHD Questionnaire Base Profile for Mobile App Data",
    "status": "active",
    "date": "2022-09-01",
    "description": "VA PGHD Questionnaire base profile defining the common constraints for all PGHD questionnaires. It should have a meta tag with system = 'https://wiki.mobilehealth.va.gov/x/Onc1C', a code, and a display value.",
    "purpose": "This is the PGHD questionnaire base profile defining the common constraints for all VA PGHD questionnaire profiles. Other PGHD questionnaire profiles should derive from this base profile.",
    "fhirVersion": "4.0.1",
    "kind": "resource",
    "abstract": false,
    "type": "Questionnaire",
    "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Questionnaire",
    "derivation": "constraint",
    "differential": {
        "element":  [
            {
                "id": "Questionnaire",
                "path": "Questionnaire",
                "short": "PGHD Governance Rules for Questionnaires",
                "constraint":  [
                    {
                        "key": "pghd-meta-tag-1",
                        "severity": "error",
                        "human": "A Questionnaire must have exactly one meta tag, with system = 'https://wiki.mobilehealth.va.gov/x/Onc1C', a code, and a display value",
                        "expression": "meta.tag.count() = 1 and meta.tag.exists(system = 'https://wiki.mobilehealth.va.gov/x/Onc1C' and code.exists() and display.exists())"
                    }
                ]
            }
        ]
    }
}