{
  "resourceType": "StructureDefinition",
  "id": "HcgSerplAcnc",
  "url": "http://fhir.org/guides/hspc/StructureDefinition/HcgSerplAcnc",
  "version": "2.0.0",
  "name": "HSPC HcgSerplAcnc Profile",
  "status": "draft",
  "date": "2017-05-05",
  "publisher": "HSPC",
  "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://fhir.org/guides/hspc/StructureDefinition/hspc-stdqty",
  "derivation": "constraint",
  "differential": {
    "element": [
      {
        "id": "Observation:hspcHcgSerplAcnc",
        "path": "Observation",
        "sliceName": "hspcHcgSerplAcnc",
        "short": "HSPC Standard Lab Obs Quantitative profile.",
        "definition": "The HSPC Standard Lab Obs Quantity profile is based on the HSPC Standard Lab Obs profile.",
        "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:hspcHcgSerplAcnc.code",
        "path": "Observation.code",
        "fixedCodeableConcept": {
          "coding": [
            {
              "system": "http://loinc.org",
              "code": "19080-1",
              "display": "Choriogonadotropin [Units/volume] in Serum or Plasma"
            }
          ]
        },
        "mustSupport": false,
        "isModifier": false,
        "isSummary": false,
        "binding": {
          "strength": "preferred",
          "description": "Standard LOINC codes",
          "valueSetReference": {
            "reference": "ValueSet/QuantitativeLabCodes"
          }
        },
        "mapping": [
          {
            "identity": "argonaut-dq-dstu2",
            "map": "Observation.code"
          }
        ]
      },
      {
        "id": "Observation:hspcHcgSerplAcnc.valueQuantity",
        "path": "Observation.valueQuantity",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "Quantity",
            "profile": "http://hl7.org/fhir/StructureDefinition/Quantity"
          }
        ],
        "mustSupport": false,
        "isModifier": false,
        "isSummary": false
      },
      {
        "id": "Observation:hspcHcgSerplAcnc.valueQuantity.value",
        "path": "Observation.valueQuantity.value",
        "min": 1,
        "max": "1",
        "mustSupport": false,
        "isModifier": false,
        "isSummary": false
      },
      {
        "id": "Observation:hspcHcgSerplAcnc.valueQuantity.unit",
        "path": "Observation.valueQuantity.unit",
        "min": 1,
        "max": "1",
        "mustSupport": false,
        "isModifier": false,
        "isSummary": false
      },
      {
        "id": "Observation:hspcHcgSerplAcnc.valueQuantity.system",
        "path": "Observation.valueQuantity.system",
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "uri",
            "profile": "http://hl7.org/fhir/StructureDefinition/uri"
          }
        ],
        "fixedUri": "http://unitsofmeasure.org",
        "mustSupport": false,
        "isModifier": false,
        "isSummary": false
      },
      {
        "id": "Observation:hspcHcgSerplAcnc.valueQuantity.code",
        "path": "Observation.valueQuantity.code",
        "comment": "The UCUM code must be comparable to the LOINC example UCUM code (e.g. the UCUM definitions allow for it to be converted).",
        "min": 1,
        "max": "1",
        "mustSupport": false,
        "isModifier": false,
        "isSummary": false
      },
      {
        "id": "Observation:hspcHcgSerplAcnc.dataAbsentReason",
        "path": "Observation.dataAbsentReason",
        "min": 0,
        "max": "1",
        "mustSupport": false,
        "isModifier": false,
        "isSummary": false
      },
      {
        "id": "Observation:hspcHcgSerplAcnc.interpretation",
        "path": "Observation.interpretation",
        "min": 0,
        "max": "1",
        "mustSupport": false,
        "isModifier": false,
        "isSummary": false,
        "binding": {
          "strength": "preferred",
          "description": "The set of codes that describe in what way a lab value is abnormal",
          "valueSetReference": {
            "reference": "ValueSet/abnInt-NumericNom"
          }
        }
      },
      {
        "id": "Observation:hspcHcgSerplAcnc.referenceRange",
        "path": "Observation.referenceRange",
        "min": 1,
        "max": "1",
        "mustSupport": false,
        "isModifier": false,
        "isSummary": false
      },
      {
        "id": "Observation:hspcHcgSerplAcnc.referenceRange.low",
        "path": "Observation.referenceRange.low",
        "min": 0,
        "max": "0",
        "mustSupport": false,
        "isModifier": false,
        "isSummary": false
      },
      {
        "id": "Observation:hspcHcgSerplAcnc.referenceRange.high",
        "path": "Observation.referenceRange.high",
        "min": 0,
        "max": "0",
        "mustSupport": false,
        "isModifier": false,
        "isSummary": false
      },
      {
        "id": "Observation:hspcHcgSerplAcnc.referenceRange.meaning",
        "path": "Observation.referenceRange.meaning",
        "min": 0,
        "max": "0",
        "mustSupport": false,
        "isModifier": false,
        "isSummary": false
      },
      {
        "id": "Observation:hspcHcgSerplAcnc.referenceRange.age",
        "path": "Observation.referenceRange.age",
        "min": 0,
        "max": "0",
        "mustSupport": false,
        "isModifier": false,
        "isSummary": false
      },
      {
        "id": "Observation:hspcHcgSerplAcnc.referenceRange.text",
        "path": "Observation.referenceRange.text",
        "min": 1,
        "max": "1",
        "mustSupport": false,
        "isModifier": false,
        "isSummary": false
      }
    ]
  }
}