{
  "resourceType": "StructureDefinition",
  "id": "fpar-virginalStatus",
  "url": "http://fhir.org/guides/hspc/StructureDefinition/fpar-virginalStatus",
  "version": "1.0.0",
  "name": "FPAR Virginal Status Profile",
  "status": "draft",
  "date": "2017-05-11",
  "publisher": "Healthcare Services Platform Consortium on behalf of FPAR",
  "contact": [
    {
      "telecom": [
        {
          "system": "url",
          "value": "http://healthcaresoa.org"
        }
      ]
    }
  ],
  "fhirVersion": "3.0.0",
  "mapping": [
    {
      "identity": "argonaut-dq-dstu2",
      "uri": "http://unknown.org/Argonaut DQ DSTU2",
      "name": "Argonaut DQ DSTU2"
    },
    {
      "identity": "workflow",
      "uri": "http://hl7.org/fhir/workflow",
      "name": "Workflow Mapping"
    },
    {
      "identity": "sct-concept",
      "uri": "http://snomed.info/conceptdomain",
      "name": "SNOMED CT Concept Domain Binding"
    },
    {
      "identity": "v2",
      "uri": "http://hl7.org/v2",
      "name": "HL7 v2 Mapping"
    },
    {
      "identity": "rim",
      "uri": "http://hl7.org/v3",
      "name": "RIM Mapping"
    },
    {
      "identity": "w5",
      "uri": "http://hl7.org/fhir/w5",
      "name": "W5 Mapping"
    },
    {
      "identity": "sct-attr",
      "uri": "http://snomed.info/sct",
      "name": "SNOMED CT Attribute Binding"
    }
  ],
  "kind": "resource",
  "abstract": false,
  "type": "Observation",
  "baseDefinition": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observationresults",
  "derivation": "constraint",
  "differential": {
    "element": [
      {
        "id": "Observation:fparVirginalStatusEval",
        "path": "Observation",
        "sliceName": "fparVirginalStatusEval",
        "short": "HSPC Virginal Status Eval.",
        "definition": "The FPAR Virginal Status profile is based on the HSPC Virginal Status and US Core Result Observation profiles.",
        "comment": "Used for simple observations such as device measurements, laboratory atomic results, vital signs, height, weight, smoking status, comments, etc.  Other resources are used to provide context for observations such as lab reports, etc.",
        "alias": [
          "Obs"
        ],
        "constraint": [
          {
            "key": "us-core-2",
            "severity": "error",
            "human": "If there is no component or related element then either a value[x] or a data absent reason must be present",
            "expression": "(component.empty() and related.empty()) implies (dataAbsentReason or value)",
            "xpath": "exists(f:component) or exists(f:related) or exists(f:*[starts-with(local-name(.), 'value)]) or exists(f:dataAbsentReason)"
          }
        ],
        "mustSupport": false,
        "isModifier": false,
        "mapping": [
          {
            "identity": "argonaut-dq-dstu2",
            "map": "Observation"
          }
        ]
      },
      {
        "id": "Observation:fparVirginalStatusEval.code",
        "path": "Observation.code",
        "mustSupport": false,
        "isModifier": false,
        "isSummary": false,
        "mapping": [
          {
            "identity": "argonaut-dq-dstu2",
            "map": "Observation.code"
          }
        ]
      },
      {
        "id": "Observation:fparVirginalStatusEval.subject",
        "path": "Observation.subject",
        "type": [
          {
            "code": "Reference",
            "targetProfile": "http://fhir.org/guides/hspc/StructureDefinition/hspc-patient"
          }
        ],
        "mustSupport": true,
        "isSummary": true
      },
      {
        "id": "Observation:fparVirginalStatusEval.performer",
        "path": "Observation.performer",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "Reference",
            "targetProfile": "http://fhir.org/guides/hspc/StructureDefinition/hspc-provpract"
          },
          {
            "code": "Reference",
            "targetProfile": "http://fhir.org/guides/hspc/StructureDefinition/hspc-organization"
          },
          {
            "code": "Reference",
            "targetProfile": "http://fhir.org/guides/hspc/StructureDefinition/hspc-patient"
          },
          {
            "code": "Reference",
            "targetProfile": "http://hl7.org/fhir/StructureDefinition/RelatedPerson"
          }
        ],
        "mustSupport": false,
        "isModifier": false,
        "isSummary": false
      },
      {
        "id": "Observation:fparVirginalStatusEval.valueCodeableConcept",
        "path": "Observation.valueCodeableConcept",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "CodeableConcept"
          }
        ],
        "mustSupport": true,
        "isSummary": true,
        "binding": {
          "strength": "preferred",
          "description": "A VSAC value set that describes one's sexual activity state used by FPAR.",
          "valueSetReference": {
            "reference": "https://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1166.16"
          }
        }
      },
      {
        "id": "Observation:fparVirginalStatusEval.bodySite",
        "path": "Observation.bodySite",
        "min": 0,
        "max": "0",
        "type": [
          {
            "code": "CodeableConcept"
          }
        ],
        "mustSupport": false,
        "isModifier": false,
        "isSummary": false
      },
      {
        "id": "Observation:fparVirginalStatusEval.method",
        "path": "Observation.method",
        "min": 0,
        "max": "0",
        "type": [
          {
            "code": "CodeableConcept"
          }
        ],
        "mustSupport": false,
        "isModifier": false,
        "isSummary": false
      },
      {
        "id": "Observation:fparVirginalStatusEval.specimen",
        "path": "Observation.specimen",
        "min": 0,
        "max": "0",
        "type": [
          {
            "code": "Reference"
          }
        ],
        "mustSupport": false,
        "isModifier": false,
        "isSummary": false
      },
      {
        "id": "Observation:fparVirginalStatusEval.device",
        "path": "Observation.device",
        "min": 0,
        "max": "0",
        "type": [
          {
            "code": "Reference"
          }
        ],
        "mustSupport": false,
        "isModifier": false,
        "isSummary": false
      },
      {
        "id": "Observation:fparVirginalStatusEval.referenceRange",
        "path": "Observation.referenceRange",
        "min": 0,
        "max": "0",
        "type": [
          {
            "code": "Reference"
          }
        ],
        "mustSupport": false,
        "isModifier": false,
        "isSummary": false
      },
      {
        "id": "Observation:fparVirginalStatusEval.related",
        "path": "Observation.related",
        "min": 0,
        "max": "0",
        "type": [
          {
            "code": "Reference"
          }
        ],
        "mustSupport": false,
        "isModifier": false,
        "isSummary": false
      },
      {
        "id": "Observation:fparVirginalStatusEval.component",
        "path": "Observation.component",
        "min": 0,
        "max": "0",
        "type": [
          {
            "code": "Reference"
          }
        ],
        "mustSupport": false,
        "isModifier": false,
        "isSummary": false
      },
      {
        "id": "Observation:fparVirginalStatusEval.interpretation",
        "path": "Observation.interpretation",
        "short": "High, low, normal, etc.",
        "definition": "The assessment made based on the result of the observation.  Intended as a simple compact code often placed adjacent to the result value in reports and flow sheets to signal the meaning/normalcy status of the result. Otherwise known as abnormal flag.",
        "requirements": "For some results, particularly numeric results, an interpretation is necessary to fully understand the significance of a result.",
        "alias": [
          "Abnormal Flag"
        ],
        "min": 0,
        "max": "0"
      }
    ]
  }
}